/* =====================================================
   NLA Ghana — Editorial Design System
   A bespoke, human-crafted interface for the National
   Lottery Authority Ghana. Inspired by premium lottery
   and gaming experiences, with subtle Ghanaian motifs.
   ===================================================== */

/* ---------- Design Tokens ---------- */
:root {
  /* NLA Brand — refined, premium */
  --nla-green: #0a7a4d;
  --nla-green-900: #052e1e;
  --nla-green-800: #074d31;
  --nla-green-700: #0a6b45;
  --nla-green-600: #0d8656;
  --nla-green-500: #0a7a4d;
  --nla-green-400: #3c9b73;
  --nla-green-300: #6bb996;
  --nla-green-200: #a3d6bd;
  --nla-green-100: #d4efe1;
  --nla-green-50: #f0f9f4;

  /* Ghana Gold — restrained */
  --nla-gold: #c9a227;
  --nla-gold-light: #f5e6b3;

  /* Functional */
  --nla-red: #c41e3a;
  --nla-black: #0a0b0d;
  --nla-charcoal: #141619;
  --nla-slate: #1f2125;

  /* Neutrals */
  --gray-50: #f7f8f9;
  --gray-100: #eceef1;
  --gray-200: #d8dce2;
  --gray-300: #b8bec7;
  --gray-400: #8e96a3;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --text: #16181d;
  --text-light: #5a6270;
  --text-muted: #8e96a3;
  --white: #ffffff;

  /* Effects — extremely restrained */
  --shadow-xs: 0 1px 2px rgba(10, 11, 13, 0.04);
  --shadow-sm: 0 2px 8px rgba(10, 11, 13, 0.06);
  --shadow-md: 0 8px 24px rgba(10, 11, 13, 0.08);
  --shadow-lg: 0 24px 48px rgba(10, 11, 13, 0.12);

  /* Radius — mostly sharp with one rounded family */
  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 12px;

  /* Transitions */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --transition-fast: 200ms var(--ease-out-quart);
  --transition: 400ms var(--ease-out-quart);
  --transition-slow: 700ms var(--ease-out-expo);

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Inter', var(--font-sans);
  --container: 1320px;

  /* Backward-compatible aliases for existing pages */
  --nla-green-dark: var(--nla-green-800);
  --nla-green-light: var(--nla-green-100);
  --nla-gray: var(--gray-50);
  --nla-text: var(--text);
  --nla-text-light: var(--text-light);
  --nla-yellow: var(--nla-gold);
  --shadow: var(--shadow-md);
  --shadow-hover: var(--shadow-lg);
}

/* ---------- Base Reset ---------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

::selection {
  background: var(--nla-green);
  color: var(--white);
}

:focus-visible {
  outline: 2px solid var(--nla-gold);
  outline-offset: 3px;
}

/* ---------- Grain texture overlay ---------- */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--gray-100);
}
::-webkit-scrollbar-thumb {
  background: var(--gray-400);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--nla-green);
}

/* ---------- Layout ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

@media (min-width: 1536px) {
  .container {
    max-width: 1440px;
  }
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--nla-gold);
  margin-bottom: 20px;
}

.section-label::before {
  content: '';
  width: 24px;
  height: 1px;
  background: currentColor;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 16px;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.section-title em {
  color: var(--nla-green);
  font-style: normal;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-light);
  line-height: 1.7;
  max-width: 620px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
  transition: var(--transition-fast);
  letter-spacing: 0.01em;
}

.btn-primary {
  background: var(--nla-green);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--nla-green-700);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--nla-gold);
  color: var(--nla-black);
}

.btn-secondary:hover {
  background: #b08d1f;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: currentColor;
  border: 1.5px solid currentColor;
}

.btn-outline:hover {
  background: var(--white);
  color: var(--nla-black);
  border-color: var(--white);
}

/* ---------- Top Bar ---------- */
.top-bar {
  background: var(--nla-black);
  color: var(--gray-300);
  padding: 10px 0;
  font-size: 0.78rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.top-bar a {
  color: var(--white);
  font-weight: 500;
}

.top-bar a:hover {
  color: var(--nla-gold);
}

.age-badge {
  background: transparent;
  color: var(--nla-gold);
  padding: 4px 10px;
  border: 1px solid rgba(201, 162, 39, 0.4);
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
}

/* ---------- Header ---------- */
.main-header {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition-fast);
}

.main-header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-sm);
}

.main-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 76px;
}

.logo img {
  height: 52px;
  width: auto;
  transition: var(--transition-fast);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav a {
  padding: 9px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.86rem;
  color: var(--text);
  letter-spacing: -0.01em;
}

.main-nav a:hover,
.main-nav a.active {
  background: var(--nla-green-50);
  color: var(--nla-green-700);
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: var(--nla-green);
  position: relative;
  font-size: 0;
}

.mobile-menu-btn::before,
.mobile-menu-btn::after {
  content: '';
  position: absolute;
  left: 10px;
  width: 20px;
  height: 2px;
  background: currentColor;
  transition: var(--transition-fast);
}

.mobile-menu-btn::before {
  top: 14px;
}

.mobile-menu-btn::after {
  bottom: 14px;
}

.mobile-menu-btn[aria-expanded="true"]::before {
  top: 19px;
  transform: rotate(45deg);
}

.mobile-menu-btn[aria-expanded="true"]::after {
  bottom: 19px;
  transform: rotate(-45deg);
}

/* ---------- Hero — Editorial, full-bleed ---------- */
.hero {
  position: relative;
  min-height: 90vh;
  min-height: 90dvh;
  display: flex;
  align-items: flex-end;
  background: var(--nla-black);
  color: var(--white);
  overflow: hidden;
  padding: 120px 0 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
  filter: grayscale(30%) contrast(1.1);
  transform: scale(1.05);
  animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  to { transform: scale(1.12); }
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--nla-black) 0%, rgba(10, 11, 13, 0.7) 40%, rgba(10, 11, 13, 0.2) 100%);
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(201, 162, 39, 0.03) 1px, transparent 1px),
    linear-gradient(rgba(201, 162, 39, 0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: end;
}

.hero-content {
  max-width: 720px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--nla-gold);
  margin-bottom: 24px;
}

.hero-eyebrow::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--nla-gold);
}

.hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 28px;
  letter-spacing: -0.04em;
}

.hero-content h1 span {
  color: var(--nla-gold);
}

.hero-content p {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  margin-bottom: 36px;
  opacity: 0.82;
  max-width: 520px;
  line-height: 1.65;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-meta {
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-self: end;
  padding-bottom: 8px;
}

.hero-stat {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  padding: 22px 26px;
  border-radius: var(--radius);
  min-width: 200px;
}

.hero-stat strong {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--nla-gold);
  line-height: 1;
  margin-bottom: 6px;
}

.hero-stat span {
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gray-300);
}

/* Richer latest-result card */
.hero-stat-result {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 280px;
  max-width: 340px;
}

.hero-stat-result .result-logo {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: var(--radius-sm);
  object-fit: contain;
  background: rgba(255, 255, 255, 0.1);
  padding: 4px;
  box-sizing: border-box;
}

.hero-stat-result .result-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.hero-stat-result .result-body strong {
  font-size: 1.05rem;
  margin-bottom: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-stat-result .result-meta {
  font-size: 0.7rem;
  color: var(--gray-400);
  letter-spacing: 0.03em;
}

.hero-stat-result .result-numbers {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}

.hero-stat-result .result-ball {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--white);
  color: var(--nla-black);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
}

/* ---------- Live Ticker ---------- */
.live-ticker {
  background: var(--nla-green-900);
  color: var(--white);
  padding: 14px 0;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.ticker-track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: ticker 40s linear infinite;
}

.ticker-track:hover {
  animation-play-state: paused;
}

@keyframes ticker {
  to { transform: translateX(-50%); }
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
  padding-right: 48px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.ticker-item .game-logo {
  width: 32px;
  height: 32px;
  max-width: 32px;
  max-height: 32px;
  min-width: 32px;
  min-height: 32px;
  border-radius: var(--radius-sm);
  object-fit: contain;
  background: rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
  padding: 2px;
  box-sizing: border-box;
}

.ticker-item .game-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.2;
}

.ticker-item .game-name {
  color: var(--white);
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.ticker-item .draw-no {
  color: var(--gray-400);
  font-size: 0.7rem;
  font-weight: 600;
}

.ticker-item .numbers {
  display: flex;
  gap: 6px;
}

.ticker-ball {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--white);
  color: var(--nla-black);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
}

/* ---------- Winning Numbers — Dark cinematic ---------- */
.winning-numbers {
  padding: 100px 0;
  background: var(--nla-charcoal);
  color: var(--white);
  position: relative;
}

.winning-numbers .section-title {
  color: var(--white);
}

.winning-numbers .section-subtitle {
  color: var(--gray-400);
}

.numbers-card {
  background: var(--nla-slate);
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.numbers-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 16px;
}

.numbers-header h2 {
  color: var(--white);
  font-size: 1.3rem;
  font-weight: 700;
}

.results-table {
  width: 100%;
  border-collapse: collapse;
}

.results-table th,
.results-table td {
  padding: 18px 16px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.results-table th {
  color: var(--nla-gold);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  border-bottom: 1px solid rgba(201, 162, 39, 0.3);
}

.results-table tbody tr {
  transition: var(--transition-fast);
}

.results-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.03);
}

.results-table td {
  color: var(--gray-300);
  font-size: 0.92rem;
}

.results-table td strong {
  color: var(--white);
  font-weight: 500;
}

/* ---------- Good Causes — Asymmetric editorial ---------- */
.good-causes {
  padding: 120px 0;
  background: var(--white);
  position: relative;
}

.good-causes-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
}

.good-causes-image {
  position: relative;
  order: 2;
}

.good-causes-image img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.good-causes-image::before {
  content: '';
  position: absolute;
  top: 24px;
  left: -24px;
  right: 24px;
  bottom: -24px;
  border: 1px solid var(--nla-gold);
  border-radius: var(--radius-lg);
  z-index: -1;
  opacity: 0.4;
}

.good-causes-content {
  order: 1;
}

.good-causes-content h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--text);
  margin-bottom: 24px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.good-causes-content > p {
  margin-bottom: 28px;
  color: var(--text-light);
  line-height: 1.8;
  font-size: 1.02rem;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.pillar-card {
  background: var(--gray-50);
  padding: 24px;
  border-radius: var(--radius);
  border-left: 2px solid var(--nla-gold);
  transition: var(--transition-fast);
}

.pillar-card:hover {
  background: var(--nla-green-50);
}

.news-card.pillar-card {
  background: var(--white);
  padding: 0;
  border-left: 1px solid rgba(10, 11, 13, 0.06);
}

.news-card.pillar-card:hover {
  background: var(--white);
}

.pillar-card h3 {
  color: var(--text);
  margin-bottom: 8px;
  font-size: 1rem;
  font-weight: 700;
}

.pillar-card p {
  font-size: 0.88rem;
  margin: 0;
  color: var(--text-light);
  line-height: 1.6;
}

/* ---------- Latest News — Editorial grid ---------- */
.latest-news {
  padding: 120px 0;
  background: linear-gradient(180deg, #fbfcfb 0%, var(--gray-50) 100%);
  position: relative;
}

.latest-news-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 56px;
  gap: 32px;
  flex-wrap: wrap;
}

.latest-news-heading .section-label {
  margin-bottom: 14px;
}

.latest-news-heading .section-title {
  margin-bottom: 16px;
}

.latest-news-lead {
  max-width: 560px;
  color: var(--text-light);
  font-size: 1rem;
  line-height: 1.7;
  margin: 0;
}

.latest-news-cta {
  flex-shrink: 0;
}

.news-loading {
  text-align: center;
  padding: 48px 24px;
  color: var(--text-light);
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.news-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid rgba(10, 11, 13, 0.06);
  box-shadow: 0 1px 2px rgba(10, 11, 13, 0.02);
  transition: transform 350ms var(--ease-out-expo), box-shadow 350ms var(--ease-out-expo), border-color 250ms ease;
}

.news-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(10, 11, 13, 0.08);
  border-color: rgba(10, 122, 77, 0.12);
}

.news-card > img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.news-card-image-link {
  display: block;
  color: inherit;
}

.news-card-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--gray-100);
}

.news-card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(10, 11, 13, 0.04) 100%);
  pointer-events: none;
}

.news-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--ease-out-expo);
}

.news-card:hover img {
  transform: scale(1.04);
}

.news-card-content {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.news-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.news-card-date {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--nla-green-700);
}

.news-card-date::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--nla-gold);
  flex-shrink: 0;
}

.news-card-content h3 {
  margin: 0 0 14px;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: var(--text);
}

.news-card-content h3 a {
  color: inherit;
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 0% 1px;
  transition: background-size 300ms var(--ease-out-expo), color 200ms ease;
}

.news-card-content h3 a:hover {
  color: var(--nla-green-800);
  background-size: 100% 1px;
}

.news-card-content p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0 0 24px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--nla-green-800);
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--gray-100);
  transition: color 200ms ease, gap 250ms var(--ease-out-expo);
}

.read-more svg {
  transition: transform 250ms var(--ease-out-expo);
  flex-shrink: 0;
}

.read-more:hover {
  color: var(--nla-green);
  gap: 14px;
}

.read-more:hover svg {
  transform: translateX(2px);
}

/* ---------- Page Banner ---------- */
.page-banner {
  background: var(--nla-black);
  color: var(--white);
  padding: 120px 0 90px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(201, 162, 39, 0.03) 1px, transparent 1px),
    linear-gradient(rgba(201, 162, 39, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.page-banner h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 900;
  margin-bottom: 16px;
  letter-spacing: -0.03em;
  position: relative;
  z-index: 1;
}

.page-banner p {
  font-size: 1.1rem;
  color: var(--gray-400);
  max-width: 640px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* ---------- About Page ---------- */
.about-intro {
  padding: 100px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.about-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid var(--gray-100);
  transition: var(--transition-fast);
}

.about-card:hover {
  border-color: var(--nla-gold);
}

.about-card .icon {
  width: 48px;
  height: 48px;
  background: var(--nla-green-50);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  font-size: 0;
  color: transparent;
  position: relative;
}

.about-card .icon::before {
  content: '';
  width: 14px;
  height: 14px;
  background: var(--nla-gold);
  transform: rotate(45deg);
}

.about-card h3 {
  color: var(--text);
  margin-bottom: 10px;
  font-size: 1.1rem;
  font-weight: 700;
}

.about-card p {
  color: var(--text-light);
  font-size: 0.92rem;
  line-height: 1.65;
}

.mission-vision {
  padding: 100px 0;
  background: var(--gray-50);
}

.mv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.mv-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-100);
}

.mv-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.mv-card-content {
  padding: 24px;
}

.mv-card-content h3 {
  color: var(--text);
  margin-bottom: 10px;
  font-size: 1.1rem;
  font-weight: 700;
}

.mv-card-content p {
  color: var(--text-light);
  font-size: 0.92rem;
  line-height: 1.65;
}

.history-section {
  padding: 100px 0;
}

.history-timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.history-timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--nla-gold);
}

.timeline-item {
  display: flex;
  gap: 32px;
  margin-bottom: 40px;
  padding-left: 32px;
  position: relative;
}

.timeline-year {
  flex-shrink: 0;
  width: 90px;
  font-weight: 800;
  color: var(--nla-gold);
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -5px;
  top: 6px;
  width: 11px;
  height: 11px;
  background: var(--white);
  border: 2px solid var(--nla-gold);
  border-radius: 50%;
  z-index: 1;
}

.timeline-content {
  flex: 1;
}

.timeline-content h3 {
  color: var(--text);
  margin-bottom: 6px;
  font-size: 1.1rem;
  font-weight: 700;
}

.timeline-content p {
  color: var(--text-light);
  font-size: 0.94rem;
  line-height: 1.65;
}

/* ---------- Products Page ---------- */
.products-section {
  padding: 100px 0;
}

.products-intro {
  max-width: 780px;
  margin: 0 auto 56px;
  font-size: 1.08rem;
  color: var(--text-light);
  line-height: 1.75;
  text-align: center;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--gray-100);
  transition: var(--transition-fast);
}

.product-card:hover {
  border-color: var(--nla-green-200);
  transform: translateY(-4px);
}

.product-card img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  background: var(--gray-50);
  padding: 28px;
}

.product-card-content {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card-content h3 {
  color: var(--text);
  margin-bottom: 10px;
  font-size: 1.15rem;
  font-weight: 700;
}

.product-card-content p {
  color: var(--text-light);
  font-size: 0.92rem;
  margin-bottom: 18px;
  flex: 1;
  line-height: 1.65;
}

/* ---------- Gallery Page ---------- */
.gallery-section {
  padding: 88px 0 112px;
  background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
}
.gallery-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.gallery-item { position: relative; border-radius: 20px; overflow: hidden; background: var(--gray-100); box-shadow: 0 8px 32px rgba(15,23,42,.06); transition: transform 400ms var(--ease-out-expo), box-shadow 400ms var(--ease-out-expo); grid-column: span 4; min-height: 320px; display: block; border: 0; padding: 0; text-align: left; cursor: pointer; text-decoration: none; color: inherit; }
.gallery-item:nth-child(1), .gallery-item:nth-child(6) { grid-column: span 7; min-height: 420px; }
.gallery-item:nth-child(2), .gallery-item:nth-child(7) { grid-column: span 5; min-height: 420px; }
.gallery-item:hover, .gallery-item:focus-visible { transform: translateY(-6px); box-shadow: 0 20px 48px rgba(15,23,42,.14); }
.gallery-item:focus-visible { outline: 3px solid var(--nla-gold); outline-offset: 3px; }
.gallery-item-media { position: absolute; inset: 0; }
.gallery-item-media img, .gallery-item > img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-out-expo), filter 500ms ease; }
.gallery-item:hover .gallery-item-media img, .gallery-item:hover > img, .gallery-item:focus-visible .gallery-item-media img, .gallery-item:focus-visible > img { transform: scale(1.04); filter: saturate(1.02); }
.gallery-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(7,20,14,.88) 0%, rgba(7,20,14,.35) 35%, rgba(7,20,14,.05) 65%, transparent 100%); display:flex; flex-direction:column; justify-content:flex-end; padding:28px; gap:10px; }
.gallery-badge { display:inline-flex; align-items:center; gap:6px; width:fit-content; padding:7px 12px; border-radius:999px; background:rgba(255,255,255,.14); backdrop-filter:blur(8px); color:rgba(255,255,255,.95); font-size:.72rem; font-weight:700; letter-spacing:.04em; text-transform:uppercase; border:1px solid rgba(255,255,255,.12); }
.gallery-overlay h3 { color:#fff; font-size:clamp(1.2rem,2vw,1.6rem); font-weight:700; line-height:1.2; margin:0; letter-spacing:-.02em; max-width:18ch; }
.gallery-cta { display:inline-flex; align-items:center; gap:8px; color:var(--nla-gold); font-size:.85rem; font-weight:700; margin-top:4px; opacity:.92; transition:gap 250ms ease,opacity 250ms ease; }
.gallery-item:hover .gallery-cta, .gallery-item:focus-visible .gallery-cta { gap:12px; opacity:1; }
.gallery-detail-eyebrow { font-size:.75rem; font-weight:700; letter-spacing:.14em; text-transform:uppercase; color:var(--nla-green); margin-bottom:12px; }
.gallery-detail-count { color:var(--text-light); font-size:.95rem; margin-top:8px; }
.gallery-lightbox { position:fixed; inset:0; z-index:11000; background:rgba(5,10,8,.94); display:none; align-items:center; justify-content:center; padding:24px; }
.gallery-lightbox.open { display:flex; }
.gallery-lightbox-dialog { width:min(1100px,100%); max-height:calc(100vh - 48px); display:flex; flex-direction:column; align-items:center; gap:16px; }
.gallery-lightbox-figure { margin:0; width:100%; display:flex; flex-direction:column; align-items:center; gap:14px; }
.gallery-lightbox-figure img { max-width:100%; max-height:calc(100vh - 160px); width:auto; height:auto; object-fit:contain; border-radius:12px; box-shadow:0 24px 80px rgba(0,0,0,.45); }
.gallery-lightbox-caption { color:rgba(255,255,255,.82); font-size:.9rem; text-align:center; }
.gallery-lightbox-close,.gallery-lightbox-prev,.gallery-lightbox-next { position:absolute; border:0; background:rgba(255,255,255,.1); color:#fff; width:48px; height:48px; border-radius:50%; cursor:pointer; display:inline-flex; align-items:center; justify-content:center; transition:background 200ms ease, transform 200ms ease; backdrop-filter:blur(8px); }
.gallery-lightbox-close:hover,.gallery-lightbox-prev:hover,.gallery-lightbox-next:hover,.gallery-lightbox-close:focus-visible,.gallery-lightbox-prev:focus-visible,.gallery-lightbox-next:focus-visible { background:rgba(255,255,255,.2); transform:scale(1.04); }
.gallery-lightbox-close { top:20px; right:20px; }
.gallery-lightbox-prev { left:20px; top:50%; transform:translateY(-50%); }
.gallery-lightbox-next { right:20px; top:50%; transform:translateY(-50%); }
.gallery-lightbox-prev:hover,.gallery-lightbox-next:hover,.gallery-lightbox-prev:focus-visible,.gallery-lightbox-next:focus-visible { transform:translateY(-50%) scale(1.04); }
@media (max-width: 1024px) { .gallery-item, .gallery-item:nth-child(1), .gallery-item:nth-child(2), .gallery-item:nth-child(6), .gallery-item:nth-child(7) { grid-column: span 6; min-height: 320px; } }
@media (max-width: 640px) { .gallery-grid { gap:16px; } .gallery-item, .gallery-item:nth-child(1), .gallery-item:nth-child(2), .gallery-item:nth-child(6), .gallery-item:nth-child(7) { grid-column: span 12; min-height: 280px; } .gallery-overlay { padding:22px; } .gallery-lightbox-prev,.gallery-lightbox-next { top:auto; bottom:20px; transform:none; } .gallery-lightbox-prev { left:20px; } .gallery-lightbox-next { right:20px; } .gallery-lightbox-prev:hover,.gallery-lightbox-next:hover,.gallery-lightbox-prev:focus-visible,.gallery-lightbox-next:focus-visible { transform:scale(1.04); } }

/* ---------- Responsible Gaming ---------- */
.rg-hero {
  position: relative;
  padding: 120px 0 88px;
  background: radial-gradient(ellipse 70% 60% at 70% 30%, rgba(201,162,39,0.12), transparent 60%), linear-gradient(135deg, #08140e 0%, var(--nla-green-900) 45%, #0d2418 100%);
  color: var(--white);
  overflow: hidden;
}
.rg-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 48px 48px;
}
.rg-hero .container { position: relative; z-index: 1; }
.rg-hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 56px; align-items: center; }
.rg-eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(201,162,39,0.14); color: var(--nla-gold-light); font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 24px; border: 1px solid rgba(201,162,39,0.25); }
.rg-hero h1 { font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1.05; letter-spacing: -0.04em; font-weight: 900; margin-bottom: 20px; max-width: 720px; }
.rg-hero p { font-size: 1.08rem; line-height: 1.75; color: rgba(255,255,255,.78); max-width: 680px; margin-bottom: 28px; }
.rg-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 32px; }
.rg-hero .btn-primary { background: var(--nla-gold); color: var(--nla-black); }
.rg-hero .btn-primary:hover { background: var(--nla-gold-light); }
.rg-hero .btn-outline { border-color: rgba(255,255,255,.3); color: var(--white); }
.rg-hero .btn-outline:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.5); }
.rg-hero-stats { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.rg-stat { padding: 18px 20px; border-radius: var(--radius); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); backdrop-filter: blur(8px); }
.rg-stat strong { display: block; font-size: 1.5rem; font-weight: 800; color: var(--nla-gold-light); line-height: 1; margin-bottom: 6px; letter-spacing: -0.02em; }
.rg-stat span { font-size: .8rem; color: rgba(255,255,255,.68); line-height: 1.4; }
.rg-cert-panel { background: rgba(255,255,255,.96); color: var(--text); border-radius: 24px; padding: 32px; box-shadow: 0 30px 80px rgba(0,0,0,.25); border: 1px solid rgba(255,255,255,.5); }
.rg-cert-panel-header { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--gray-100); }
.rg-cert-panel .rg-wla-logo { width: 120px; height: auto; margin: 0; }
.rg-cert-panel .rg-wla-badge { width: 84px; height: auto; margin: 0 0 0 auto; }
.rg-cert-panel h2 { font-size: 1.25rem; font-weight: 800; margin-bottom: 10px; letter-spacing: -0.02em; color: var(--text); }
.rg-cert-panel p { font-size: .92rem; color: var(--text-light); line-height: 1.7; margin-bottom: 12px; }
.rg-cert-meta { display: grid; gap: 10px; margin: 20px 0; }
.rg-cert-meta-item { display: flex; justify-content: space-between; gap: 16px; padding: 12px 14px; background: var(--gray-50); border-radius: var(--radius-sm); font-size: .84rem; }
.rg-cert-meta-item span { color: var(--text-light); }
.rg-cert-meta-item strong { color: var(--text); text-align: right; }
.rg-cert-panel .btn { width: 100%; }

.rg-section { padding: 96px 0; }
.rg-section-alt { background: var(--gray-50); }
.rg-section-dark { background: var(--nla-black); color: var(--white); }
.rg-section-head { max-width: 720px; margin-bottom: 48px; }
.rg-section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.rg-section-head .rg-eyebrow { background: var(--nla-green-100); color: var(--nla-green-800); border-color: transparent; }
.rg-section-dark .rg-section-head .rg-eyebrow { background: rgba(201,162,39,.14); color: var(--nla-gold-light); border-color: rgba(201,162,39,.25); }
.rg-section-head h2 { font-size: clamp(1.9rem, 3.5vw, 3rem); line-height: 1.1; letter-spacing: -0.03em; font-weight: 800; margin-bottom: 16px; color: var(--text); }
.rg-section-dark .rg-section-head h2, .rg-section-dark h3, .rg-section-dark h4 { color: var(--white); }
.rg-section-head p { font-size: 1.02rem; line-height: 1.75; color: var(--text-light); }
.rg-section-dark .rg-section-head p { color: rgba(255,255,255,.7); }

.rg-commit-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.rg-commit-card { background: var(--white); border: 1px solid var(--gray-100); border-radius: 20px; padding: 32px; box-shadow: var(--shadow-xs); transition: var(--transition-fast); }
.rg-commit-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--nla-green-100); }
.rg-commit-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--nla-green-50); color: var(--nla-green); margin-bottom: 20px; }
.rg-commit-icon svg { width: 24px; height: 24px; }
.rg-commit-card h3 { font-size: 1.15rem; font-weight: 750; margin-bottom: 12px; letter-spacing: -0.01em; }
.rg-commit-card p, .rg-commit-card li { color: var(--text-light); font-size: .94rem; line-height: 1.7; }
.rg-commit-card ul { list-style: none; display: grid; gap: 10px; }
.rg-commit-card li { padding-left: 18px; position: relative; }
.rg-commit-card li::before { content: ''; position: absolute; left: 0; top: .65em; width: 6px; height: 6px; border-radius: 50%; background: var(--nla-gold); }

.rg-levels-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.rg-level-card { position: relative; background: var(--white); border: 1px solid var(--gray-100); border-radius: 20px; padding: 28px; transition: var(--transition-fast); }
.rg-level-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.rg-level-num { display: inline-flex; align-items: center; justify-content: center; min-width: 48px; height: 48px; padding: 0 14px; border-radius: 12px; background: var(--gray-100); color: var(--text); font-weight: 800; font-size: .85rem; margin-bottom: 18px; }
.rg-level-card h3 { font-size: 1.05rem; font-weight: 750; margin-bottom: 10px; letter-spacing: -0.01em; }
.rg-level-card p { font-size: .9rem; line-height: 1.65; color: var(--text-light); }
.rg-level-card.is-current { border-color: rgba(201,162,39,.45); background: linear-gradient(180deg, #fffdf7 0%, #fff 100%); box-shadow: 0 12px 40px rgba(201,162,39,.12); }
.rg-level-card.is-current .rg-level-num { background: var(--nla-gold); color: var(--nla-black); }
.rg-level-current { display: inline-flex; margin-top: 16px; padding: 6px 10px; border-radius: 999px; background: var(--nla-gold-light); color: #6b5211; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }

.rg-elements-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 16px; margin-top: 48px; }
.rg-element { padding: 20px; border-radius: 16px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); }
.rg-element span { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: rgba(201,162,39,.18); color: var(--nla-gold-light); font-size: .78rem; font-weight: 800; margin-bottom: 12px; }
.rg-element h3 { font-size: .92rem; font-weight: 650; line-height: 1.4; color: rgba(255,255,255,.92); }

.rg-principles-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.rg-principle-card { background: var(--white); border: 1px solid var(--gray-100); border-radius: 20px; padding: 28px; transition: var(--transition-fast); }
.rg-principle-card:hover { border-color: var(--nla-green-100); box-shadow: var(--shadow-sm); }
.rg-principle-num { font-size: .74rem; font-weight: 800; letter-spacing: .08em; color: var(--nla-green); text-transform: uppercase; margin-bottom: 14px; }
.rg-principle-card h3 { font-size: 1.08rem; font-weight: 750; margin-bottom: 10px; letter-spacing: -0.01em; }
.rg-principle-card p { font-size: .92rem; line-height: 1.7; color: var(--text-light); }

.rg-note { margin-top: 32px; padding: 20px 24px; border-radius: 16px; background: var(--nla-green-50); color: var(--nla-green-900); font-size: .9rem; line-height: 1.7; border: 1px solid var(--nla-green-100); }
.rg-note a { color: var(--nla-green-800); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* Legacy RG layout support (products-caritas.html and other shared consumers) */
.rg-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.rg-content h2 { color: var(--text); font-size: clamp(1.8rem, 3vw, 2.5rem); margin-bottom: 20px; font-weight: 800; letter-spacing: -0.02em; }
.rg-content h3 { font-size: 1.15rem; font-weight: 700; margin: 24px 0 12px; color: var(--text); }
.rg-content p { color: var(--text-light); margin-bottom: 20px; line-height: 1.75; }
.rg-list { list-style: none; }
.rg-list li { padding: 14px 0 14px 32px; position: relative; border-bottom: 1px solid var(--gray-100); color: var(--text-light); font-size: 0.95rem; }
.rg-list li::before { content: ''; position: absolute; left: 0; top: 16px; width: 18px; height: 18px; background: var(--nla-green); border-radius: 50%; }
.rg-list li::after { content: ''; position: absolute; left: 5px; top: 21px; width: 8px; height: 4px; border-left: 2px solid var(--white); border-bottom: 2px solid var(--white); transform: rotate(-45deg); }
.rg-certification { background: var(--gray-50); border-radius: var(--radius-lg); padding: 48px; text-align: center; border: 1px solid var(--gray-100); }
.rg-certification .rg-wla-logo { display: block; max-width: 180px; width: 100%; height: auto; margin: 0 auto 24px; }
.rg-certification .rg-wla-badge { display: block; width: 132px; max-width: 100%; height: auto; margin: 0 auto 24px; }

@media (max-width: 1100px) { .rg-elements-grid { grid-template-columns: repeat(4,1fr); } }
@media (max-width: 980px) {
  .rg-hero-grid, .rg-commit-grid, .rg-principles-grid { grid-template-columns: 1fr; }
  .rg-levels-grid { grid-template-columns: repeat(2,1fr); }
  .rg-elements-grid { grid-template-columns: repeat(3,1fr); }
  .rg-cert-panel { max-width: 680px; }
}
@media (max-width: 640px) {
  .rg-hero { padding: 96px 0 64px; }
  .rg-hero-stats, .rg-levels-grid, .rg-elements-grid { grid-template-columns: 1fr; }
  .rg-section { padding: 72px 0; }
  .rg-cert-panel, .rg-commit-card, .rg-level-card, .rg-principle-card { padding: 24px; }
  .rg-cert-panel-header { flex-wrap: wrap; }
  .rg-cert-panel .rg-wla-badge { margin-left: 0; }
}

/* ---------- Contact Page ---------- */
.contact-section {
  padding: 100px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}

.contact-info h2 {
  color: var(--text);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.contact-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 16px;
  border: 1px solid var(--gray-100);
  transition: var(--transition-fast);
}

.contact-card:hover {
  border-color: var(--nla-gold);
}

.contact-card h3 {
  color: var(--text);
  margin-bottom: 10px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--nla-gold);
}

.contact-card p,
.contact-card a {
  color: var(--text-light);
  display: block;
  margin-bottom: 4px;
  font-size: 0.95rem;
}

.contact-card a:hover {
  color: var(--nla-green);
}

.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid var(--gray-100);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 7px;
  font-weight: 600;
  color: var(--text);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  transition: var(--transition-fast);
  background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--nla-green);
  box-shadow: 0 0 0 3px var(--nla-green-100);
}

.offices-grid {
  padding: 100px 0;
  background: var(--gray-50);
}

.offices-grid h2 {
  text-align: center;
  color: var(--text);
  margin-bottom: 48px;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
}

.offices-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.office-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 26px;
  border: 1px solid var(--gray-100);
  transition: var(--transition-fast);
}

.office-card:hover {
  border-color: var(--nla-green-200);
}

.office-card h3 {
  color: var(--text);
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--nla-gold);
  font-size: 1.05rem;
  font-weight: 700;
}

.office-card p {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 6px;
}

.office-card a {
  color: var(--nla-green);
  font-weight: 600;
  font-size: 0.9rem;
}

.map-container {
  margin-top: 40px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-100);
}

/* ---------- Board Members ---------- */
.board-section {
  padding: 100px 0;
  background: var(--gray-50);
}

.board-intro {
  max-width: 760px;
  margin: 0 auto 64px;
  text-align: center;
}

.board-intro h2 {
  color: var(--text);
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.03em;
}

.board-intro p {
  color: var(--text-light);
  font-size: 1.05rem;
  line-height: 1.7;
}

.board-chair {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 48px;
  align-items: center;
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 48px;
  margin-bottom: 48px;
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}

.board-chair:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.board-chair .board-photo {
  width: 100%;
  max-width: 240px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top center;
  border-radius: var(--radius-lg);
  border: 4px solid var(--nla-gold);
  box-shadow: var(--shadow);
  image-rendering: -webkit-optimize-contrast;
  filter: contrast(1.04) saturate(1.03);
}

.board-chair .board-content {
  text-align: left;
}

.board-chair .board-name {
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.board-chair .board-role {
  display: inline-block;
  background: var(--nla-gold);
  color: var(--nla-black);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.board-chair .board-bio {
  color: var(--text-light);
  font-size: 1rem;
  line-height: 1.75;
}

.board-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.board-card {
  display: flex;
  gap: 24px;
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 28px;
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
  text-align: left;
}

.board-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: var(--nla-green-200);
}

.board-card .board-photo {
  width: 100px;
  height: 100px;
  flex-shrink: 0;
  object-fit: cover;
  object-position: top center;
  border-radius: 50%;
  border: 3px solid var(--nla-gold);
  box-shadow: var(--shadow-sm);
  image-rendering: -webkit-optimize-contrast;
  filter: contrast(1.04) saturate(1.03);
}

.board-card .board-content {
  flex: 1;
  min-width: 0;
}

.board-card .board-name {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.board-card .board-role {
  display: inline-block;
  background: var(--nla-green-100);
  color: var(--nla-green);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.board-card .board-bio {
  color: var(--text-light);
  font-size: 0.92rem;
  line-height: 1.7;
}

@media (max-width: 900px) {
  .board-chair {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 32px;
  }

  .board-chair .board-photo {
    max-width: 220px;
    margin: 0 auto;
  }

  .board-chair .board-content {
    text-align: center;
  }

  .board-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .board-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .board-card .board-photo {
    width: 110px;
    height: 110px;
  }
}

/* ---------- Management Team ---------- */
.management-section {
  padding: 100px 0;
  background: var(--gray-50);
}

.management-intro {
  max-width: 760px;
  margin: 0 auto 64px;
  text-align: center;
}

.management-intro h2 {
  color: var(--text);
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.03em;
}

.management-intro p {
  color: var(--text-light);
  font-size: 1.05rem;
  line-height: 1.7;
}

.management-director {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: center;
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 48px;
  margin-bottom: 48px;
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}

.management-director:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.management-director .management-photo {
  width: 100%;
  max-width: 280px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top center;
  border-radius: var(--radius-lg);
  border: 4px solid var(--nla-gold);
  box-shadow: var(--shadow-md);
  background: var(--gray-100);
  image-rendering: auto;
  filter: none;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.management-director .management-content {
  text-align: left;
}

.management-director .management-name {
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.management-director .management-role {
  display: inline-block;
  background: var(--nla-gold);
  color: var(--nla-black);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 8px 16px;
  border-radius: 999px;
}

.management-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.management-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 32px 24px;
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}

.management-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: var(--nla-green-200);
}

.management-card .management-photo {
  width: 148px;
  height: 148px;
  object-fit: cover;
  object-position: top center;
  border-radius: 50%;
  border: 4px solid var(--nla-gold);
  box-shadow: var(--shadow-sm);
  margin-bottom: 18px;
  background: var(--gray-100);
  image-rendering: auto;
  filter: none;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.management-card .management-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.management-card .management-role {
  display: inline-block;
  background: var(--nla-green-100);
  color: var(--nla-green);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 6px 12px;
  border-radius: 999px;
  line-height: 1.4;
}

@media (max-width: 1024px) {
  .management-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .management-director {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 32px;
  }

  .management-director .management-photo {
    max-width: 220px;
    margin: 0 auto;
  }

  .management-director .management-content {
    text-align: center;
  }
}

@media (max-width: 640px) {
  .management-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Footer ---------- */
.main-footer {
  background: var(--nla-black);
  color: var(--gray-300);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}

.footer-brand img {
  height: 56px;
  margin-bottom: 20px;
  background: var(--white);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
}

.footer-brand p {
  color: var(--gray-500);
  margin-bottom: 24px;
  line-height: 1.7;
  max-width: 300px;
  font-size: 0.92rem;
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-links a {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--gray-400);
}

.social-links a:hover {
  border-color: var(--nla-gold);
  color: var(--nla-gold);
}

.footer-links h4 {
  color: var(--white);
  margin-bottom: 18px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--gray-500);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--nla-gold);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--gray-600);
  font-size: 0.8rem;
}

.footer-bottom a {
  color: var(--gray-500);
}

.footer-bottom a:hover {
  color: var(--nla-gold);
}

/* ---------- Dropdown Menus ---------- */
.dropdown {
  position: relative;
}

.dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 9px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.86rem;
  color: var(--text);
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.dropdown-toggle:hover,
.dropdown.open .dropdown-toggle,
.dropdown-toggle.active {
  background: var(--nla-green-50);
  color: var(--nla-green-700);
}

.dropdown-toggle svg,
.dropdown-toggle .chevron {
  width: 8px;
  height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.25s ease;
  font-size: 0;
  color: transparent;
}

.dropdown.open .dropdown-toggle svg,
.dropdown.open .dropdown-toggle .chevron {
  transform: rotate(-135deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 220px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: var(--transition-fast);
  z-index: 1001;
  border: 1px solid var(--gray-100);
}

.dropdown.open .dropdown-menu,
.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  color: var(--text);
  font-weight: 600;
  font-size: 0.84rem;
}

.dropdown-menu a:hover,
.dropdown-menu a.active {
  background: var(--nla-green-50);
  color: var(--nla-green-700);
}

/* ---------- Breadcrumbs ---------- */
.breadcrumbs {
  background: var(--gray-50);
  padding: 16px 0;
  font-size: 0.82rem;
  border-bottom: 1px solid var(--gray-100);
}

.breadcrumbs a {
  color: var(--nla-green);
  font-weight: 600;
}

.breadcrumbs a:hover {
  color: var(--nla-green-900);
}

.breadcrumbs span {
  color: var(--gray-300);
  margin: 0 10px;
}

/* ---------- Filter Form ---------- */
.filter-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 16px;
  align-items: flex-end;
  flex-wrap: wrap;
  margin-bottom: 32px;
  border: 1px solid var(--gray-100);
}

.filter-form .form-group {
  flex: 1;
  min-width: 180px;
  margin-bottom: 0;
}

/* ---------- Product Detail ---------- */
.product-detail {
  padding: 100px 0;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
  align-items: start;
}

.product-detail-image {
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  padding: 36px;
  position: sticky;
  top: 100px;
  border: 1px solid var(--gray-100);
}

.product-detail-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.product-detail-content h2 {
  color: var(--text);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 20px;
  font-weight: 800;
}

.product-detail-content h3 {
  color: var(--text);
  margin: 28px 0 14px;
  font-size: 1.1rem;
  font-weight: 700;
}

.product-detail-content p {
  color: var(--text-light);
  margin-bottom: 14px;
  line-height: 1.75;
}

.product-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  margin: 28px 0;
}

.product-meta-item {
  background: var(--gray-50);
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid var(--gray-100);
}

.product-meta-item strong {
  display: block;
  color: var(--nla-gold);
  margin-bottom: 4px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.product-meta-item p {
  color: var(--text);
  margin: 0;
  font-weight: 600;
}

.product-actions {
  display: flex;
  gap: 14px;
  margin-top: 28px;
  flex-wrap: wrap;
}

/* ---------- News Detail ---------- */
.news-detail {
  padding: 80px 0;
}

.news-detail-header {
  max-width: 820px;
  margin: 0 auto 36px;
  text-align: center;
}

.news-detail-header h1 {
  color: var(--text);
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  margin-bottom: 14px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.news-detail-date {
  color: var(--text-muted);
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.news-detail-image {
  max-width: 900px;
  margin: 0 auto 36px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.news-detail-image img {
  width: 100%;
  height: auto;
}

.news-detail-content {
  max-width: 720px;
  margin: 0 auto;
  font-size: 1.02rem;
  color: var(--text);
  line-height: 1.85;
}

.news-detail-content p {
  margin-bottom: 22px;
}

.news-detail-content img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  margin: 24px 0;
}

.news-detail-content figure {
  margin: 24px 0;
}

.news-detail-content figure img {
  margin: 0;
}

/* ---------- Gallery Detail ---------- */
.gallery-detail { padding: 72px 0 112px; background: linear-gradient(180deg, #fff 0%, var(--gray-50) 100%); }
.gallery-detail-header { text-align: center; margin-bottom: 44px; }
.gallery-detail-header h1 { color: var(--text); font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 10px; font-weight: 800; letter-spacing: -0.03em; }
.gallery-detail-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.gallery-detail-item { position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 4/3; border: 0; padding: 0; background: var(--gray-100); cursor: pointer; box-shadow: 0 8px 24px rgba(15,23,42,.06); transition: transform 350ms var(--ease-out-expo), box-shadow 350ms var(--ease-out-expo); }
.gallery-detail-item:hover, .gallery-detail-item:focus-visible { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(15,23,42,.12); }
.gallery-detail-item:focus-visible { outline: 3px solid var(--nla-gold); outline-offset: 3px; }
.gallery-detail-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-out-expo); display:block; }
.gallery-detail-item:hover img, .gallery-detail-item:focus-visible img { transform: scale(1.04); }
.gallery-detail-zoom { position:absolute; right:14px; bottom:14px; width:42px; height:42px; border-radius:50%; background:rgba(255,255,255,.92); color:var(--nla-black); display:inline-flex; align-items:center; justify-content:center; box-shadow:0 4px 16px rgba(0,0,0,.12); opacity:0; transform:translateY(6px); transition:all 250ms ease; }
.gallery-detail-item:hover .gallery-detail-zoom, .gallery-detail-item:focus-visible .gallery-detail-zoom { opacity:1; transform:translateY(0); }
@media (max-width: 640px) { .gallery-detail-grid { grid-template-columns: 1fr; gap: 16px; } .gallery-detail-zoom { opacity:1; transform:none; } }

/* ---------- News page ---------- */
.news-page-section {
  padding-top: 72px;
}

.news-search {
  max-width: 480px;
  margin-bottom: 28px;
}

.news-search-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 10px;
}

.news-search-input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--white);
  transition: border-color 200ms ease, box-shadow 200ms ease;
}

.news-search-input::placeholder {
  color: var(--gray-400);
}

.news-search-input:focus {
  outline: none;
  border-color: rgba(10, 122, 77, 0.35);
  box-shadow: 0 0 0 4px rgba(10, 122, 77, 0.08);
}

/* ---------- News Filters ---------- */
.news-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.news-filter-btn {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--gray-200);
  background: var(--white);
  color: var(--text-light);
  font-weight: 600;
  cursor: pointer;
  transition: all 200ms ease;
  font-size: 0.84rem;
  font-family: inherit;
}

.news-filter-btn:hover {
  color: var(--text);
  border-color: var(--gray-300);
  background: var(--gray-50);
}

.news-filter-btn.active {
  background: var(--nla-green-800);
  color: var(--white);
  border-color: var(--nla-green-800);
}

.news-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 48px;
  flex-wrap: wrap;
}

.news-pagination button {
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid var(--gray-200);
  background: var(--white);
  color: var(--text);
  font-weight: 600;
  font-size: 0.875rem;
  font-family: inherit;
  cursor: pointer;
  transition: all 200ms ease;
}

.news-pagination button:hover:not(:disabled) {
  border-color: var(--gray-300);
  background: var(--gray-50);
}

.news-pagination button.active {
  background: var(--nla-green-800);
  color: var(--white);
  border-color: var(--nla-green-800);
}

.news-pagination button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.winning-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.winning-pagination button {
  min-width: 40px;
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-200);
  background: var(--white);
  color: var(--text);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.winning-pagination button:hover:not(:disabled) {
  background: var(--nla-green-100);
  border-color: var(--nla-green);
}

.winning-pagination button.active {
  background: var(--nla-green);
  color: var(--white);
  border-color: var(--nla-green);
}

.winning-pagination button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ---------- Number balls ---------- */
.number-balls {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}

.number-ball {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--white);
  color: var(--nla-black);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.82rem;
  border: 1px solid var(--gray-200);
}

.number-ball.gold {
  background: var(--nla-gold);
  border-color: var(--nla-gold);
}

/* ---------- Utilities ---------- */
.text-center {
  text-align: center;
}

.mt-4 {
  margin-top: 24px;
}

.mb-4 {
  margin-bottom: 24px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--nla-green);
  font-weight: 700;
  margin-bottom: 20px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.back-link:hover {
  color: var(--nla-green-900);
  gap: 12px;
}

/* ---------- Scroll reveal helpers ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out-expo), transform 0.7s var(--ease-out-expo);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-meta {
    display: none;
  }

  .good-causes-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .good-causes-image {
    order: 1;
  }

  .good-causes-content {
    order: 2;
  }

  .rg-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .mv-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  .product-detail-grid {
    grid-template-columns: 1fr;
  }

  .product-detail-image {
    position: static;
  }

  .filter-form {
    flex-direction: column;
    align-items: stretch;
  }

  .filter-form .form-group {
    min-width: 100%;
  }
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .main-nav {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px;
    gap: 4px;
    box-shadow: var(--shadow-lg);
    transform: translateY(-150%);
    transition: var(--transition);
    z-index: 999;
    border-top: 1px solid var(--gray-100);
  }

  .main-nav.open {
    transform: translateY(0);
  }

  .main-nav a {
    width: 100%;
    text-align: center;
    padding: 12px;
  }

  .top-bar .container {
    flex-direction: column;
    text-align: center;
    gap: 6px;
  }

  .hero {
    min-height: auto;
    padding: 140px 0 60px;
  }

  .hero-content h1 {
    font-size: 2.4rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .pillars-grid {
    grid-template-columns: 1fr;
  }

  .news-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .news-card-content {
    padding: 24px;
  }

  .numbers-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .results-table {
    display: block;
    overflow-x: auto;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .dropdown {
    width: 100%;
  }

  .dropdown-toggle {
    width: 100%;
    justify-content: center;
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: var(--gray-50);
    display: none;
    margin-top: 6px;
    border: none;
  }

  .dropdown.open .dropdown-menu {
    display: block;
  }

  .news-detail-header h1,
  .gallery-detail-header h1 {
    font-size: 1.5rem;
  }

  .gallery-detail-grid {
    grid-template-columns: 1fr;
  }

  .latest-news-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .hero-bg img {
    transform: none;
    animation: none;
  }

  .ticker-track {
    animation: none;
  }
}

/* ---------- NLA Chatbot Widget ---------- */
.nla-chat-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 10000;
  font-family: var(--font-sans);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.nla-chat-toggle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--nla-green);
  color: var(--white);
  border: none;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-fast), background var(--transition-fast);
}

.nla-chat-toggle:hover,
.nla-chat-toggle:focus-visible {
  background: var(--nla-green-700);
  transform: scale(1.05);
}

.nla-chat-toggle svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.nla-chat-toggle[aria-expanded="true"] {
  display: none;
}

.nla-chat-window {
  width: 380px;
  max-width: calc(100vw - 32px);
  height: 560px;
  max-height: calc(100vh - 120px);
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(20px);
  opacity: 0;
  visibility: hidden;
  transition: transform var(--transition-fast), opacity var(--transition-fast), visibility var(--transition-fast);
}

.nla-chat-window.open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.nla-chat-header {
  background: var(--nla-green);
  color: var(--white);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nla-chat-header-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nla-chat-header-avatar img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.nla-chat-header-info {
  flex: 1;
  min-width: 0;
}

.nla-chat-header-info h4 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.3;
}

.nla-chat-header-info p {
  font-size: 0.75rem;
  margin: 0;
  opacity: 0.9;
}

.nla-chat-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast);
  flex-shrink: 0;
}

.nla-chat-close:hover,
.nla-chat-close:focus-visible {
  background: rgba(255, 255, 255, 0.25);
}

.nla-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--gray-50);
  scroll-behavior: smooth;
}

.nla-chat-message {
  max-width: 85%;
  padding: 12px 16px;
  border-radius: var(--radius-lg);
  font-size: 0.9rem;
  line-height: 1.5;
  word-wrap: break-word;
  animation: nla-chat-pop 0.25s var(--ease-out-quart);
}

@keyframes nla-chat-pop {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.nla-chat-message.bot {
  align-self: flex-start;
  background: var(--white);
  color: var(--text);
  border: 1px solid var(--gray-200);
  border-top-left-radius: 4px;
}

.nla-chat-message.user {
  align-self: flex-end;
  background: var(--nla-green);
  color: var(--white);
  border-top-right-radius: 4px;
}

.nla-chat-message a {
  color: inherit;
  text-decoration: underline;
  font-weight: 600;
}

.nla-chat-message ul {
  margin: 8px 0 0 18px;
  padding: 0;
}

.nla-chat-message li {
  margin-bottom: 4px;
}

.nla-chat-quick-replies {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.nla-chat-quick-reply {
  padding: 8px 14px;
  border-radius: 20px;
  background: var(--nla-green-50);
  color: var(--nla-green-800);
  border: 1px solid var(--nla-green-200);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.nla-chat-quick-reply:hover,
.nla-chat-quick-reply:focus-visible {
  background: var(--nla-green-100);
  transform: translateY(-1px);
}

.nla-chat-input-area {
  padding: 12px 16px;
  background: var(--white);
  border-top: 1px solid var(--gray-100);
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.nla-chat-input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid var(--gray-200);
  border-radius: 24px;
  font-family: inherit;
  font-size: 0.9rem;
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.nla-chat-input:focus {
  border-color: var(--nla-green-400);
  box-shadow: 0 0 0 3px rgba(10, 122, 77, 0.1);
}

.nla-chat-send {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--nla-green);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--transition-fast);
}

.nla-chat-send:hover,
.nla-chat-send:focus-visible {
  background: var(--nla-green-700);
}

.nla-chat-send:disabled {
  background: var(--gray-300);
  cursor: not-allowed;
}

.nla-chat-typing {
  align-self: flex-start;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  border-top-left-radius: 4px;
  padding: 14px 16px;
  display: flex;
  gap: 4px;
}

.nla-chat-typing span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gray-400);
  animation: nla-chat-typing 1.4s infinite ease-in-out both;
}

.nla-chat-typing span:nth-child(1) { animation-delay: -0.32s; }
.nla-chat-typing span:nth-child(2) { animation-delay: -0.16s; }

@keyframes nla-chat-typing {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.5; }
  40% { transform: scale(1); opacity: 1; }
}

@media (max-width: 480px) {
  .nla-chat-widget {
    bottom: 16px;
    right: 16px;
  }

  .nla-chat-window {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: none;
    height: 100%;
    max-height: none;
    border-radius: 0;
    z-index: 10000;
  }

  .nla-chat-window.open + .nla-chat-toggle,
  .nla-chat-window.open ~ .nla-chat-toggle {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nla-chat-message,
  .nla-chat-window,
  .nla-chat-toggle {
    animation: none;
    transition: none;
  }

  .nla-chat-typing span {
    animation: none;
  }
}

/* Quill alignment classes used in CMS-generated content */
.ql-align-center { text-align: center; }
.ql-align-right { text-align: right; }
.ql-align-justify { text-align: justify; }

/* ---------- App download section ---------- */
.app-download-section {
  padding: 96px 0;
  background: linear-gradient(135deg, var(--nla-green-900) 0%, #0a3d28 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.app-download-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(212, 168, 67, 0.12), transparent 45%);
  pointer-events: none;
}

.app-download-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.app-download-content .section-label {
  color: var(--nla-gold);
}

.app-download-content .section-title {
  color: var(--white);
  margin-bottom: 20px;
}

.app-download-content .section-title em {
  color: var(--nla-gold);
  font-style: normal;
}

.app-download-content p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.02rem;
  line-height: 1.75;
  margin-bottom: 16px;
  max-width: 560px;
}

.app-download-features {
  list-style: none;
  margin: 28px 0 32px;
  display: grid;
  gap: 12px;
}

.app-download-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
}

.app-download-features li::before {
  content: '✓';
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(212, 168, 67, 0.18);
  color: var(--nla-gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  margin-top: 1px;
}

.app-store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.app-store-badges a {
  display: inline-flex;
  border-radius: 12px;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.app-store-badges a:hover,
.app-store-badges a:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.app-store-badges img {
  height: 56px;
  width: auto;
  display: block;
}

.app-download-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.app-download-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  padding: 40px;
  max-width: 420px;
  width: 100%;
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.app-download-card .app-download-logo {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  object-fit: cover;
  display: block;
  margin: 0 auto 24px;
  box-shadow: 0 8px 24px rgba(10, 122, 77, 0.2);
}

.app-download-card .app-icon {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  background: var(--nla-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 24px;
  box-shadow: 0 8px 24px rgba(10, 122, 77, 0.35);
}

.app-download-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--white);
}

.app-download-card .app-subtitle {
  color: var(--nla-gold);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

.app-download-card p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.92rem;
  line-height: 1.7;
  margin: 0;
}

/* ---------- Legal pages ---------- */
.legal-section {
  padding: 72px 0 96px;
  background: var(--gray-50);
}

.legal-content {
  max-width: 860px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
}

.legal-updated {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--gray-100);
}

.legal-content h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--nla-black);
  margin: 36px 0 14px;
  line-height: 1.3;
}

.legal-content h2:first-of-type {
  margin-top: 0;
}

.legal-content p {
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 16px;
  font-size: 0.96rem;
}

.legal-content ul {
  margin: 0 0 20px 20px;
  color: var(--text);
  line-height: 1.8;
}

.legal-content li {
  margin-bottom: 10px;
  font-size: 0.96rem;
}

.legal-content a {
  color: var(--nla-green);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(10, 122, 77, 0.3);
  text-underline-offset: 3px;
}

.legal-content a:hover {
  color: var(--nla-green-700);
}

.legal-contact {
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 24px;
  margin-top: 20px;
}

.legal-contact p {
  margin-bottom: 8px;
}

.legal-contact p:last-child {
  margin-bottom: 0;
}

@media (max-width: 1024px) {
  .app-download-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .app-download-visual {
    justify-content: flex-start;
  }
}

@media (max-width: 768px) {
  .app-download-section {
    padding: 72px 0;
  }

  .app-download-card {
    padding: 28px;
  }

  .legal-content {
    padding: 28px 20px;
  }

  .app-store-badges img {
    height: 50px;
  }
}

/* ---------- Product Pages Redesign ---------- */
.pp-hero { position:relative; padding:120px 0 88px; background:radial-gradient(ellipse 70% 60% at 75% 25%, rgba(201,162,39,.12), transparent 60%), linear-gradient(135deg,#08140e 0%, var(--nla-green-900) 45%, #0d2418 100%); color:var(--white); overflow:hidden; }
.pp-hero::before { content:''; position:absolute; inset:0; background-image:linear-gradient(rgba(255,255,255,.03) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.03) 1px,transparent 1px); background-size:48px 48px; }
.pp-hero .container { position:relative; z-index:1; }
.pp-hero-grid { display:grid; grid-template-columns:1.15fr .85fr; gap:56px; align-items:end; }
.pp-hero-compact { padding-bottom:72px; }
.pp-breadcrumbs { margin-bottom:20px; font-size:.85rem; color:rgba(255,255,255,.62); }
.pp-breadcrumbs a { color:rgba(255,255,255,.72); }
.pp-breadcrumbs a:hover { color:var(--nla-gold-light); }
.pp-breadcrumbs span { margin:0 8px; color:rgba(255,255,255,.35); }
.pp-hero h1 { font-size:clamp(2.4rem,5vw,4rem); line-height:1.05; letter-spacing:-.04em; font-weight:900; margin-bottom:20px; max-width:760px; }
.pp-hero p { font-size:1.08rem; line-height:1.75; color:rgba(255,255,255,.78); max-width:680px; margin-bottom:28px; }
.pp-hero-stats { display:grid; gap:16px; }
.pp-section { padding:96px 0; }
.pp-section-alt { background:var(--gray-50); }
.pp-section-head { display:grid; grid-template-columns:1fr 1fr; gap:24px 48px; align-items:end; margin-bottom:48px; }
.pp-section-head h2 { font-size:clamp(1.9rem,3.5vw,3rem); line-height:1.1; letter-spacing:-.03em; font-weight:800; color:var(--text); }
.pp-section-head p { font-size:1rem; line-height:1.75; color:var(--text-light); max-width:560px; justify-self:end; }
.pp-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:24px; }
.pp-card { background:var(--white); border:1px solid var(--gray-100); border-radius:20px; overflow:hidden; display:flex; flex-direction:column; transition:transform .25s var(--ease-out-expo), box-shadow .25s ease, border-color .25s ease; box-shadow:var(--shadow-xs); }
.pp-card:hover { transform:translateY(-5px); box-shadow:var(--shadow-lg); border-color:var(--nla-green-100); }
.pp-card-media { background:linear-gradient(180deg,var(--gray-50),#fff); padding:28px; min-height:210px; display:flex; align-items:center; justify-content:center; border-bottom:1px solid var(--gray-100); }
.pp-card-media img { width:100%; height:150px; object-fit:contain; }
.pp-card-body { padding:24px; display:flex; flex-direction:column; flex:1; }
.pp-tag { display:inline-flex; width:fit-content; padding:6px 10px; border-radius:999px; background:var(--nla-green-50); color:var(--nla-green-800); font-size:.72rem; font-weight:700; letter-spacing:.04em; text-transform:uppercase; margin-bottom:14px; }
.pp-card-body h3 { font-size:1.2rem; font-weight:750; letter-spacing:-.02em; margin-bottom:10px; color:var(--text); }
.pp-card-body p { font-size:.93rem; line-height:1.7; color:var(--text-light); margin-bottom:20px; flex:1; }
.pp-card-link { display:inline-flex; align-items:center; gap:8px; color:var(--nla-green-800); font-weight:700; font-size:.88rem; margin-top:auto; }
.pp-card-link svg { width:16px; height:16px; transition:transform .2s ease; }
.pp-card-link:hover { color:var(--nla-green); }
.pp-card-link:hover svg { transform:translateX(3px); }

/* Detail layout (Caritas) */
.pp-detail-grid { display:grid; grid-template-columns:1.2fr .8fr; gap:32px; align-items:start; }
.pp-detail-main h2 { font-size:clamp(1.9rem,3.3vw,3rem); line-height:1.1; letter-spacing:-.03em; font-weight:800; margin-bottom:20px; }
.pp-detail-main p { color:var(--text-light); line-height:1.8; margin-bottom:18px; font-size:1rem; }
.pp-feature-list { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; margin-top:32px; }
.pp-feature { padding:24px; border-radius:18px; background:var(--gray-50); border:1px solid var(--gray-100); }
.pp-feature h3 { font-size:1rem; font-weight:750; margin-bottom:8px; color:var(--text); }
.pp-feature p { margin:0; font-size:.9rem; line-height:1.65; }
.pp-aside-card { background:var(--white); border:1px solid var(--gray-100); border-radius:24px; padding:32px; box-shadow:var(--shadow-sm); position:sticky; top:110px; }
.pp-aside-card h3 { font-size:1.25rem; font-weight:800; margin-bottom:10px; letter-spacing:-.02em; }
.pp-aside-card p { color:var(--text-light); font-size:.93rem; line-height:1.7; margin-bottom:20px; }
.pp-partner-chips { display:grid; grid-template-columns:repeat(2,1fr); gap:10px; }
.pp-partner-chip { padding:12px 14px; border-radius:12px; background:var(--gray-50); border:1px solid var(--gray-100); font-size:.83rem; font-weight:600; color:var(--text); }

/* Collaborators */
.pp-partner-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:20px; }
.pp-partner-card { background:var(--white); border:1px solid var(--gray-100); border-radius:20px; padding:28px 24px; text-align:center; transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease; box-shadow:var(--shadow-xs); }
.pp-partner-card:hover { transform:translateY(-4px); box-shadow:var(--shadow-md); border-color:var(--nla-green-100); }
.pp-partner-media { height:88px; display:flex; align-items:center; justify-content:center; margin-bottom:20px; }
.pp-partner-media img { max-height:80px; max-width:100%; width:auto; object-fit:contain; }
.pp-partner-initial { width:64px; height:64px; border-radius:18px; display:grid; place-items:center; background:linear-gradient(135deg,var(--nla-green-100),var(--nla-green-50)); color:var(--nla-green-800); font-size:1.5rem; font-weight:800; }
.pp-partner-card h3 { font-size:.92rem; font-weight:700; line-height:1.45; color:var(--text); letter-spacing:.01em; }

@media (max-width:1100px) { .pp-grid,.pp-partner-grid { grid-template-columns:repeat(3,1fr); } .pp-feature-list { grid-template-columns:1fr; } }
@media (max-width:980px) { .pp-hero-grid,.pp-section-head,.pp-detail-grid { grid-template-columns:1fr; } .pp-section-head p { justify-self:start; } .pp-grid,.pp-partner-grid { grid-template-columns:repeat(2,1fr); } .pp-aside-card { position:static; } }
@media (max-width:640px) { .pp-hero { padding:96px 0 64px; } .pp-section { padding:72px 0; } .pp-grid,.pp-partner-grid,.pp-partner-chips { grid-template-columns:1fr; } .pp-card-media { min-height:180px; } }


/* ---------- Modern Inner Page Theme (RG-inspired, site-wide except index/cms) ---------- */
body:not(.cms-body):not(.home-page) .page-banner {
  position: relative;
  padding: 116px 0 84px;
  text-align: left;
  background: radial-gradient(ellipse 70% 60% at 72% 28%, rgba(201,162,39,.12), transparent 60%), linear-gradient(135deg,#08140e 0%, var(--nla-green-900) 45%, #0d2418 100%);
  overflow: hidden;
}
body:not(.cms-body):not(.home-page) .page-banner::after {
  content:''; position:absolute; width:480px; height:480px; right:-120px; top:-160px; border-radius:50%; background:radial-gradient(circle, rgba(201,162,39,.18), transparent 68%); pointer-events:none;
}
body:not(.cms-body):not(.home-page) .page-banner .container { position:relative; z-index:1; }
body:not(.cms-body):not(.home-page) .page-banner h1 { max-width:860px; margin:0 0 18px; font-size:clamp(2.3rem,5vw,4rem); line-height:1.05; letter-spacing:-.04em; font-weight:900; }
body:not(.cms-body):not(.home-page) .page-banner p { margin:0; max-width:720px; font-size:1.06rem; line-height:1.75; color:rgba(255,255,255,.78); }
body:not(.cms-body):not(.home-page) .page-banner .btn, body:not(.cms-body):not(.home-page) .page-banner a.btn { margin-top:28px; }
body:not(.cms-body):not(.home-page) .breadcrumbs { background:rgba(255,255,255,.72); backdrop-filter:blur(10px); border-bottom:1px solid var(--gray-100); padding:14px 0; font-size:.84rem; color:var(--text-light); }
body:not(.cms-body):not(.home-page) .breadcrumbs .container { display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
body:not(.cms-body):not(.home-page) .breadcrumbs a { color:var(--nla-green-800); font-weight:600; }
body:not(.cms-body):not(.home-page) .breadcrumbs a:hover { color:var(--nla-green); }
body:not(.cms-body):not(.home-page) .breadcrumbs span { color:var(--gray-400); }
body:not(.cms-body):not(.home-page) .section-title { font-size:clamp(1.9rem,3.4vw,3rem); line-height:1.1; letter-spacing:-.03em; font-weight:800; margin-bottom:16px; }
body:not(.cms-body):not(.home-page) .section-subtitle { font-size:1rem; line-height:1.75; color:var(--text-light); max-width:720px; margin:0 auto 48px; }
body:not(.cms-body):not(.home-page) .latest-news, body:not(.cms-body):not(.home-page) .board-section, body:not(.cms-body):not(.home-page) .offices-grid, body:not(.cms-body):not(.home-page) .gallery-section, body:not(.cms-body):not(.home-page) .products-section, body:not(.cms-body):not(.home-page) .about-intro, body:not(.cms-body):not(.home-page) .contact-section, body:not(.cms-body):not(.home-page) .winning-numbers-section, body:not(.cms-body):not(.home-page) .news-section, body:not(.cms-body):not(.home-page) .privacy-section, body:not(.cms-body):not(.home-page) .terms-section, body:not(.cms-body):not(.home-page) .policy-section { padding:96px 0; }
body:not(.cms-body):not(.home-page) .about-card, body:not(.cms-body):not(.home-page) .news-card, body:not(.cms-body):not(.home-page) .office-card, body:not(.cms-body):not(.home-page) .contact-card, body:not(.cms-body):not(.home-page) .product-card, body:not(.cms-body):not(.home-page) .board-card, body:not(.cms-body):not(.home-page) .management-card, body:not(.cms-body):not(.home-page) .policy-card, body:not(.cms-body):not(.home-page) .value-card { background:var(--white); border:1px solid var(--gray-100); border-radius:20px; box-shadow:var(--shadow-xs); }
body:not(.cms-body):not(.home-page) .about-card:hover, body:not(.cms-body):not(.home-page) .news-card:hover, body:not(.cms-body):not(.home-page) .office-card:hover, body:not(.cms-body):not(.home-page) .product-card:hover, body:not(.cms-body):not(.home-page) .board-card:hover, body:not(.cms-body):not(.home-page) .management-card:hover { transform:translateY(-4px); box-shadow:var(--shadow-md); border-color:var(--nla-green-100); }
body:not(.cms-body):not(.home-page) .btn-primary { background:var(--nla-gold); color:var(--nla-black); border-color:var(--nla-gold); }
body:not(.cms-body):not(.home-page) .btn-primary:hover { background:var(--nla-gold-light); border-color:var(--nla-gold-light); color:var(--nla-black); }
body:not(.cms-body):not(.home-page) .btn-secondary { background:var(--nla-green); color:#fff; border-color:var(--nla-green); }
body:not(.cms-body):not(.home-page) .btn-secondary:hover { background:var(--nla-green-800); border-color:var(--nla-green-800); }
body:not(.cms-body):not(.home-page) .news-detail, body:not(.cms-body):not(.home-page) .article-detail, body:not(.cms-body):not(.home-page) .gallery-detail { padding:72px 0 96px; background:var(--gray-50); }
body:not(.cms-body):not(.home-page) .news-detail .container, body:not(.cms-body):not(.home-page) .article-detail .container { max-width:920px; }
body:not(.cms-body):not(.home-page) .news-detail-header, body:not(.cms-body):not(.home-page) .article-header { background:var(--white); border:1px solid var(--gray-100); border-radius:24px; padding:40px; margin-bottom:24px; box-shadow:var(--shadow-xs); }
body:not(.cms-body):not(.home-page) .news-detail-header h1, body:not(.cms-body):not(.home-page) .article-header h1 { font-size:clamp(2rem,4vw,3.2rem); line-height:1.12; letter-spacing:-.03em; margin-bottom:12px; }
body:not(.cms-body):not(.home-page) .news-detail-date { color:var(--text-light); font-size:.9rem; font-weight:600; }
body:not(.cms-body):not(.home-page) .news-detail-featured, body:not(.cms-body):not(.home-page) .article-featured { margin:0 0 24px; border-radius:24px; overflow:hidden; box-shadow:var(--shadow-sm); border:1px solid var(--gray-100); }
body:not(.cms-body):not(.home-page) .news-detail-featured img, body:not(.cms-body):not(.home-page) .article-featured img { width:100%; display:block; }
body:not(.cms-body):not(.home-page) .news-detail-content, body:not(.cms-body):not(.home-page) .article-content { background:var(--white); border:1px solid var(--gray-100); border-radius:24px; padding:40px; box-shadow:var(--shadow-xs); font-size:1rem; line-height:1.85; color:var(--text); }
body:not(.cms-body):not(.home-page) .news-detail-content p, body:not(.cms-body):not(.home-page) .article-content p { margin-bottom:18px; color:var(--text-light); }
body:not(.cms-body):not(.home-page) .news-detail-content h2, body:not(.cms-body):not(.home-page) .news-detail-content h3, body:not(.cms-body):not(.home-page) .article-content h2, body:not(.cms-body):not(.home-page) .article-content h3 { color:var(--text); margin:28px 0 12px; letter-spacing:-.02em; }
body:not(.cms-body):not(.home-page) .back-link { display:inline-flex; align-items:center; gap:8px; margin-bottom:20px; padding:10px 14px; border-radius:999px; background:var(--white); border:1px solid var(--gray-100); color:var(--nla-green-800); font-weight:700; font-size:.85rem; }
body:not(.cms-body):not(.home-page) .back-link:hover { border-color:var(--nla-green-100); background:var(--nla-green-50); }
@media (max-width:640px){ body:not(.cms-body):not(.home-page) .page-banner{padding:96px 0 64px;} body:not(.cms-body):not(.home-page) .news-detail-header,body:not(.cms-body):not(.home-page) .news-detail-content,body:not(.cms-body):not(.home-page) .article-header,body:not(.cms-body):not(.home-page) .article-content{padding:24px;border-radius:18px;} }


/* Product detail modern */
body:not(.cms-body):not(.home-page) .product-detail { padding:72px 0 96px; background:linear-gradient(180deg,var(--gray-50),#fff); }
body:not(.cms-body):not(.home-page) .product-detail-grid { display:grid; grid-template-columns:minmax(0,420px) minmax(0,1fr); gap:40px; align-items:start; }
body:not(.cms-body):not(.home-page) .product-detail-image { background:var(--white); border:1px solid var(--gray-100); border-radius:24px; padding:32px; box-shadow:var(--shadow-sm); position:sticky; top:110px; }
body:not(.cms-body):not(.home-page) .product-detail-image img { width:100%; height:auto; object-fit:contain; max-height:360px; }
body:not(.cms-body):not(.home-page) .product-detail-content { background:var(--white); border:1px solid var(--gray-100); border-radius:24px; padding:40px; box-shadow:var(--shadow-xs); }
body:not(.cms-body):not(.home-page) .product-detail-content h2 { font-size:clamp(2rem,3.5vw,3rem); line-height:1.1; letter-spacing:-.03em; margin-bottom:16px; }
body:not(.cms-body):not(.home-page) .product-detail-content h3 { font-size:1.15rem; font-weight:750; margin:28px 0 12px; color:var(--text); letter-spacing:-.01em; }
body:not(.cms-body):not(.home-page) .product-detail-content p, body:not(.cms-body):not(.home-page) .product-detail-content li { color:var(--text-light); line-height:1.8; font-size:.96rem; }
body:not(.cms-body):not(.home-page) .product-detail-content ul { margin:0 0 24px; padding-left:20px; display:grid; gap:8px; }
body:not(.cms-body):not(.home-page) .product-meta { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin:24px 0; }
body:not(.cms-body):not(.home-page) .product-meta-item { padding:16px 18px; border-radius:14px; background:var(--gray-50); border:1px solid var(--gray-100); font-size:.9rem; color:var(--text-light); }
body:not(.cms-body):not(.home-page) .product-meta-item strong { display:block; font-size:.72rem; text-transform:uppercase; letter-spacing:.08em; color:var(--nla-green-800); margin-bottom:6px; }
body:not(.cms-body):not(.home-page) .product-actions { display:flex; gap:12px; flex-wrap:wrap; margin-top:28px; }

/* Contact/forms modern */
body:not(.cms-body):not(.home-page) .contact-section { background:var(--gray-50); }
body:not(.cms-body):not(.home-page) .contact-grid { display:grid; grid-template-columns:1fr 1fr; gap:32px; align-items:start; }
body:not(.cms-body):not(.home-page) .contact-info h2, body:not(.cms-body):not(.home-page) .contact-form-wrapper h2 { font-size:clamp(1.8rem,3vw,2.5rem); line-height:1.15; letter-spacing:-.03em; margin-bottom:24px; }
body:not(.cms-body):not(.home-page) .contact-form { background:var(--white); border:1px solid var(--gray-100); border-radius:24px; padding:32px; box-shadow:var(--shadow-sm); }
body:not(.cms-body):not(.home-page) .form-group input, body:not(.cms-body):not(.home-page) .form-group textarea, body:not(.cms-body):not(.home-page) .form-group select { border-radius:12px; padding:14px 16px; border:1px solid var(--gray-200); background:#fff; }
body:not(.cms-body):not(.home-page) .form-group input:focus, body:not(.cms-body):not(.home-page) .form-group textarea:focus, body:not(.cms-body):not(.home-page) .form-group select:focus { border-color:rgba(15,81,50,.35); box-shadow:0 0 0 4px rgba(15,81,50,.08); outline:none; }
body:not(.cms-body):not(.home-page) .offices-list { gap:20px; }
body:not(.cms-body):not(.home-page) .office-card { padding:28px; }
body:not(.cms-body):not(.home-page) .office-card h3 { font-size:1.05rem; letter-spacing:-.01em; border-bottom-color:rgba(201,162,39,.35); }

/* Policy/news/gallery misc */
body:not(.cms-body):not(.home-page) .policy-content, body:not(.cms-body):not(.home-page) .terms-content, body:not(.cms-body):not(.home-page) .privacy-content { background:var(--white); border:1px solid var(--gray-100); border-radius:24px; padding:40px; box-shadow:var(--shadow-xs); max-width:920px; margin:0 auto; }
body:not(.cms-body):not(.home-page) .policy-content h2, body:not(.cms-body):not(.home-page) .policy-content h3, body:not(.cms-body):not(.home-page) .terms-content h2, body:not(.cms-body):not(.home-page) .terms-content h3, body:not(.cms-body):not(.home-page) .privacy-content h2, body:not(.cms-body):not(.home-page) .privacy-content h3 { margin:28px 0 12px; letter-spacing:-.02em; }
body:not(.cms-body):not(.home-page) .policy-content p, body:not(.cms-body):not(.home-page) .policy-content li, body:not(.cms-body):not(.home-page) .terms-content p, body:not(.cms-body):not(.home-page) .terms-content li, body:not(.cms-body):not(.home-page) .privacy-content p, body:not(.cms-body):not(.home-page) .privacy-content li { color:var(--text-light); line-height:1.8; }
body:not(.cms-body):not(.home-page) .gallery-detail-item { border-radius:18px; overflow:hidden; border:1px solid var(--gray-100); box-shadow:var(--shadow-xs); }
body:not(.cms-body):not(.home-page) .gallery-detail-item img { width:100%; height:100%; object-fit:cover; display:block; transition:transform .5s var(--ease-out-expo); }
body:not(.cms-body):not(.home-page) .gallery-detail-item:hover img { transform:scale(1.03); }
body:not(.cms-body):not(.home-page) .news-filters, body:not(.cms-body):not(.home-page) .filter-bar { background:var(--white); border:1px solid var(--gray-100); border-radius:16px; padding:16px; box-shadow:var(--shadow-xs); }
@media (max-width:980px){ body:not(.cms-body):not(.home-page) .product-detail-grid, body:not(.cms-body):not(.home-page) .contact-grid { grid-template-columns:1fr; } body:not(.cms-body):not(.home-page) .product-detail-image{position:static;} }
@media (max-width:640px){ body:not(.cms-body):not(.home-page) .product-detail-content, body:not(.cms-body):not(.home-page) .contact-form, body:not(.cms-body):not(.home-page) .policy-content, body:not(.cms-body):not(.home-page) .terms-content, body:not(.cms-body):not(.home-page) .privacy-content{padding:24px;border-radius:18px;} body:not(.cms-body):not(.home-page) .product-meta{grid-template-columns:1fr;} }


/* Caritas page polish */
.pp-detail-main .rg-eyebrow { margin-bottom:20px; }
.pp-detail-main h2 { color:var(--text); }
.pp-feature { background:#fff; box-shadow:var(--shadow-xs); }
.pp-feature-icon { width:44px; height:44px; border-radius:12px; display:grid; place-items:center; background:var(--nla-green-50); color:var(--nla-green); margin-bottom:16px; }
.pp-feature-icon svg { width:22px; height:22px; }
.pp-aside-card { background:linear-gradient(180deg,#fff, var(--gray-50)); }
.pp-partner-chip { background:#fff; }
.pp-gallery-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; }
.pp-gallery-item { margin:0; border-radius:20px; overflow:hidden; background:var(--gray-100); border:1px solid var(--gray-100); box-shadow:var(--shadow-xs); aspect-ratio:4/3; }
.pp-gallery-item img { width:100%; height:100%; object-fit:cover; display:block; transition:transform .55s var(--ease-out-expo), filter .4s ease; }
.pp-gallery-item:hover img { transform:scale(1.035); filter:saturate(1.03); }
@media (max-width:980px){ .pp-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));} }
@media (max-width:640px){ .pp-gallery-grid{grid-template-columns:1fr;} }


/* Modern Caritas gallery */
.pp-gallery-modern { grid-template-columns:repeat(12,minmax(0,1fr)); gap:20px; }
.pp-gallery-modern .pp-gallery-item { grid-column:span 4; min-height:280px; aspect-ratio:auto; position:relative; isolation:isolate; border-radius:24px; border:1px solid rgba(15,23,42,.06); box-shadow:0 12px 36px rgba(15,23,42,.08); }
.pp-gallery-modern .pp-gallery-item::after { content:''; position:absolute; inset:0; background:linear-gradient(to top, rgba(7,20,14,.72) 0%, rgba(7,20,14,.18) 38%, rgba(7,20,14,.02) 68%); z-index:1; pointer-events:none; }
.pp-gallery-modern .pp-gallery-item img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; transition:transform .8s var(--ease-out-expo), filter .45s ease; }
.pp-gallery-modern .pp-gallery-item:hover img { transform:scale(1.04); filter:saturate(1.02) contrast(1.02); }
.pp-gallery-modern figcaption { position:absolute; left:20px; right:20px; bottom:20px; z-index:2; color:#fff; font-size:.85rem; font-weight:700; letter-spacing:.02em; padding:10px 14px; width:fit-content; max-width:calc(100% - 40px); border-radius:999px; background:rgba(255,255,255,.12); border:1px solid rgba(255,255,255,.14); backdrop-filter:blur(10px); }
.pp-gallery-modern .pp-gallery-feature { grid-column:span 7; min-height:420px; }
.pp-gallery-modern .pp-gallery-item:nth-child(2) { grid-column:span 5; min-height:420px; }
.pp-gallery-modern .pp-gallery-item:nth-child(5), .pp-gallery-modern .pp-gallery-item:nth-child(6) { grid-column:span 6; min-height:340px; }
@media (max-width:980px){ .pp-gallery-modern .pp-gallery-item,.pp-gallery-modern .pp-gallery-feature,.pp-gallery-modern .pp-gallery-item:nth-child(2),.pp-gallery-modern .pp-gallery-item:nth-child(5),.pp-gallery-modern .pp-gallery-item:nth-child(6){grid-column:span 6; min-height:300px;} }
@media (max-width:640px){ .pp-gallery-modern .pp-gallery-item,.pp-gallery-modern .pp-gallery-feature,.pp-gallery-modern .pp-gallery-item:nth-child(2),.pp-gallery-modern .pp-gallery-item:nth-child(5),.pp-gallery-modern .pp-gallery-item:nth-child(6){grid-column:span 12; min-height:260px;} .pp-gallery-modern figcaption{left:16px;right:16px;bottom:16px;} }
