/* PT. DEBE GARDA PERKASA — Company Profile
   Palette: deep navy + steel gray + gold accent (security / trust) */

:root {
  --navy-950: #0a1220;
  --navy-900: #0d1b2e;
  --navy-800: #13253d;
  --navy-700: #1b3452;
  --navy-600: #2c4a6e;
  --steel-400: #7d8ba1;
  --steel-200: #c7cfdb;
  --gold-500: #c9a34e;
  --gold-400: #ddb865;
  --gold-100: #f5e9cf;
  --white: #ffffff;
  --off-white: #f6f7f9;
  --ink: #1a2230;
  --muted: #5b6472;
  --line: #e5e8ee;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(10, 18, 32, 0.08);
  --shadow-lg: 0 20px 50px rgba(10, 18, 32, 0.18);
  --maxw: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--off-white);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 { font-family: "Georgia", "Times New Roman", serif; margin: 0 0 12px; color: var(--navy-950); line-height: 1.25; }
h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 14px; color: var(--muted); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 10px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--gold-500);
  display: inline-block;
}

.section { padding: 72px 0; }
.section--tight { padding: 48px 0; }
.section--alt { background: var(--white); }
.section--navy { background: linear-gradient(160deg, var(--navy-950), var(--navy-800)); color: var(--steel-200); }
.section--navy h2, .section--navy h3 { color: var(--white); }
.section--navy p { color: var(--steel-200); }

.center { text-align: center; }
.section-head { max-width: 640px; margin: 0 auto 40px; text-align: center; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn--gold { background: var(--gold-500); color: var(--navy-950); }
.btn--gold:hover { background: var(--gold-400); }
.btn--outline { background: transparent; border-color: rgba(255,255,255,0.4); color: var(--white); }
.btn--outline:hover { background: rgba(255,255,255,0.1); }
.btn--navy { background: var(--navy-900); color: var(--white); }
.btn--navy:hover { background: var(--navy-800); }

/* Header / Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy-950);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
}
.brand-mark {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  object-fit: contain;
  border-radius: 6px;
}
.brand-text { line-height: 1.2; }
.brand-text strong { display: block; font-family: Georgia, serif; font-size: 1.05rem; letter-spacing: 0.02em; }
.brand-text span { display: block; font-size: 0.68rem; letter-spacing: 0.12em; color: var(--gold-400); text-transform: uppercase; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  color: var(--steel-200);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 4px;
  transition: all 0.15s ease;
}
.nav-links a:hover { color: var(--white); background: rgba(255,255,255,0.06); }
.nav-links a.active { color: var(--navy-950); background: var(--gold-500); font-weight: 600; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--white); }

/* Hero */
.hero {
  position: relative;
  background: linear-gradient(160deg, var(--navy-950) 0%, var(--navy-800) 55%, var(--navy-700) 100%);
  color: var(--white);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.025) 0 2px, transparent 2px 40px);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  padding: 100px 24px 90px;
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}
.hero h1 { color: var(--white); }
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,163,78,0.15);
  border: 1px solid rgba(201,163,78,0.4);
  color: var(--gold-400);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 30px;
  margin-bottom: 20px;
}
.hero p.lead { color: var(--steel-200); font-size: 1.08rem; max-width: 520px; }
.hero-actions { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.hero-badge {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 32px;
  backdrop-filter: blur(6px);
}
.hero-badge-shield { width: 90px; margin: 0 auto 18px; object-fit: contain; border-radius: 10px; }
.hero-badge h3 { color: var(--white); text-align: center; }
.hero-badge p { text-align: center; margin-bottom: 0; }

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: -46px;
  position: relative;
  z-index: 2;
}
.stat {
  background: var(--white);
  padding: 28px 20px;
  text-align: center;
}
.stat .num { font-family: Georgia, serif; font-size: 2rem; color: var(--navy-900); font-weight: 700; }
.stat .lbl { font-size: 0.82rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; margin-top: 4px; }

/* Cards grid */
.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: var(--navy-950);
  color: var(--gold-400);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.card-icon svg { width: 24px; height: 24px; }
.card h3 { margin-bottom: 8px; }
.card p { margin-bottom: 0; font-size: 0.93rem; }

/* Values list */
.value-row {
  display: flex;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.value-row:last-child { border-bottom: none; }
.value-num {
  font-family: Georgia, serif;
  font-size: 1.6rem;
  color: var(--gold-500);
  min-width: 48px;
}
.value-row h4 { margin: 0 0 6px; color: var(--navy-950); font-family: Georgia, serif; font-size: 1.05rem; }
.value-row p { margin: 0; font-size: 0.92rem; }

/* Timeline (Tentang) */
.timeline { position: relative; margin-left: 12px; padding-left: 30px; border-left: 2px solid var(--line); }
.timeline-item { position: relative; padding-bottom: 34px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: -37px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold-500);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--gold-500);
}
.timeline-year { font-family: Georgia, serif; color: var(--navy-900); font-weight: 700; font-size: 1.1rem; }

/* Legalitas badges */
.legal-badges { display: flex; flex-wrap: wrap; gap: 12px; }
.legal-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--off-white);
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 10px 18px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--navy-800);
}
.legal-badge svg { width: 16px; height: 16px; color: var(--gold-500); flex-shrink: 0; }

/* Org chart */
.orgchart { display: flex; flex-direction: column; align-items: center; gap: 0; }
.org-level { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; position: relative; margin-bottom: 40px; }
.org-level::after { content: ""; }
.org-node {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold-500);
  border-radius: 8px;
  padding: 16px 20px;
  min-width: 190px;
  text-align: center;
  box-shadow: var(--shadow);
  position: relative;
}
.org-node.top { border-top-color: var(--navy-900); background: var(--navy-950); color: var(--white); }
.org-node.top .org-role { color: var(--gold-400); }
.org-node.top .org-name { color: var(--white); }
.org-role { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gold-500); font-weight: 700; margin-bottom: 4px; }
.org-name { font-family: Georgia, serif; font-weight: 700; color: var(--navy-950); font-size: 0.98rem; }
.org-connector { width: 2px; height: 30px; background: var(--line); margin: 0 auto; }
.org-connector-h { height: 2px; background: var(--line); }

/* Gallery */
.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 32px; justify-content: center; }
.filter-btn {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
}
.filter-btn.active { background: var(--navy-950); color: var(--white); border-color: var(--navy-950); }

.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: pointer;
  border: 1px solid var(--line);
}
.gallery-thumb {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--white);
  text-align: center;
  padding: 16px;
}
.gallery-thumb svg { width: 34px; height: 34px; opacity: 0.85; }
.gallery-thumb span { font-size: 0.85rem; font-weight: 600; opacity: 0.95; }
.gallery-item::after {
  content: attr(data-label);
  position: absolute;
  left: 0; right: 0; bottom: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.65), transparent);
  color: white;
  font-size: 0.8rem;
  padding: 30px 14px 10px;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.gallery-item:hover::after { opacity: 1; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; background: rgba(10,18,32,0.92);
  display: none; align-items: center; justify-content: center; z-index: 1000; padding: 24px;
}
.lightbox.open { display: flex; }
.lightbox-box {
  background: var(--navy-900);
  border-radius: var(--radius);
  max-width: 480px;
  width: 100%;
  padding: 40px;
  text-align: center;
  color: var(--white);
  position: relative;
}
.lightbox-close {
  position: absolute; top: 14px; right: 16px;
  background: none; border: none; color: var(--steel-200); font-size: 1.6rem; cursor: pointer; line-height: 1;
}
.lightbox-icon { width: 60px; height: 60px; margin: 0 auto 16px; color: var(--gold-400); }

/* Guestbook / Kesan Pesan */
.gb-layout { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 40px; align-items: start; }
.gb-form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--navy-900); margin-bottom: 6px; }
.field input, .field textarea, .field select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 11px 14px;
  font-size: 0.94rem;
  font-family: inherit;
  color: var(--ink);
  background: var(--off-white);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--gold-500); background: var(--white);
}
.field textarea { resize: vertical; min-height: 100px; }
.rating { display: flex; gap: 6px; }
.rating button {
  background: none; border: 1px solid var(--line); border-radius: 6px; width: 40px; height: 40px;
  font-size: 1.1rem; cursor: pointer; color: var(--steel-400);
}
.rating button.selected { background: var(--gold-500); border-color: var(--gold-500); color: var(--navy-950); }
.form-note { font-size: 0.78rem; color: var(--muted); margin-top: 10px; }

.msg-list { display: flex; flex-direction: column; gap: 16px; max-height: 640px; overflow-y: auto; padding-right: 6px; }
.msg-card { background: var(--white); border: 1px solid var(--line); border-left: 3px solid var(--gold-500); border-radius: 8px; padding: 18px 20px; }
.msg-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; gap: 10px; }
.msg-name { font-weight: 700; color: var(--navy-950); font-family: Georgia, serif; }
.msg-date { font-size: 0.76rem; color: var(--muted); white-space: nowrap; }
.msg-stars { color: var(--gold-500); font-size: 0.85rem; margin-bottom: 6px; }
.msg-text { margin: 0; font-size: 0.93rem; color: var(--ink); }
.msg-empty { text-align: center; color: var(--muted); padding: 40px 20px; border: 1px dashed var(--line); border-radius: var(--radius); }

/* Page header (non-home) */
.page-header {
  background: linear-gradient(160deg, var(--navy-950), var(--navy-800));
  color: var(--white);
  padding: 56px 0 46px;
}
.page-header .breadcrumb { font-size: 0.8rem; color: var(--gold-400); margin-bottom: 10px; text-transform: uppercase; letter-spacing: 0.08em; }
.page-header h1 { color: var(--white); margin-bottom: 8px; }
.page-header p { color: var(--steel-200); max-width: 560px; margin: 0; }

/* Contact strip */
.contact-strip {
  background: var(--navy-950);
  color: var(--steel-200);
}
.contact-strip .grid--3 { padding: 40px 0; }
.contact-item { display: flex; gap: 14px; align-items: flex-start; }
.contact-item svg { width: 22px; height: 22px; color: var(--gold-400); flex-shrink: 0; margin-top: 2px; }
.contact-item h4 { color: var(--white); margin: 0 0 4px; font-size: 0.95rem; }
.contact-item p { margin: 0; font-size: 0.86rem; color: var(--steel-200); }

/* Footer */
.site-footer { background: var(--navy-950); border-top: 1px solid rgba(255,255,255,0.08); color: var(--steel-400); padding: 34px 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 0.84rem; }
.footer-inner .brand-text strong, .footer-inner .brand-text span { color: inherit; }

/* News / Informasi */
.news-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.news-thumb {
  aspect-ratio: 16 / 10;
  width: 100%;
  object-fit: cover;
  display: block;
  background: linear-gradient(150deg, var(--navy-900), var(--navy-700));
}
.news-thumb-empty {
  aspect-ratio: 16 / 10;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(150deg, var(--navy-900), var(--navy-700));
  color: var(--gold-400);
}
.news-thumb-empty svg { width: 34px; height: 34px; opacity: 0.85; }
.news-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.news-date { font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--gold-500); font-weight: 700; margin-bottom: 8px; }
.news-body h3 { margin-bottom: 10px; font-size: 1.05rem; }
.news-body p { font-size: 0.9rem; margin-bottom: 16px; flex: 1; }
.news-body .btn { align-self: flex-start; padding: 9px 18px; font-size: 0.85rem; }

.article-cover { width: 100%; max-height: 420px; object-fit: cover; border-radius: var(--radius); margin-bottom: 28px; }
.article-body { max-width: 720px; margin: 0 auto; }
.article-body p { color: var(--ink); font-size: 1.02rem; line-height: 1.8; margin-bottom: 18px; }
.article-meta { color: var(--gold-500); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 700; margin-bottom: 14px; }

.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
.pagination a, .pagination span {
  min-width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  border: 1px solid var(--line);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy-800);
  padding: 0 10px;
}
.pagination a:hover { background: var(--off-white); }
.pagination .current { background: var(--navy-950); border-color: var(--navy-950); color: var(--white); }
.pagination .disabled { opacity: 0.4; pointer-events: none; }

/* ===================== Admin panel ===================== */
.admin-login-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, var(--navy-950), var(--navy-800));
  padding: 24px;
}
.admin-login-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 36px;
  width: 100%;
  max-width: 380px;
  box-shadow: var(--shadow-lg);
}
.admin-login-card .brand-mark { width: 52px; margin: 0 auto 14px; }
.admin-login-card h1 { font-size: 1.3rem; text-align: center; }
.admin-login-card p.sub { text-align: center; font-size: 0.86rem; margin-bottom: 26px; }
.admin-error {
  background: #fdecec;
  border: 1px solid #f3b9b9;
  color: #a4302b;
  font-size: 0.84rem;
  padding: 10px 14px;
  border-radius: 6px;
  margin-bottom: 16px;
  display: none;
}
.admin-error.show { display: block; }
.admin-hint {
  margin-top: 18px;
  font-size: 0.76rem;
  color: var(--muted);
  background: var(--off-white);
  border-radius: 6px;
  padding: 10px 12px;
  line-height: 1.5;
}

.admin-shell { display: none; min-height: 100vh; background: var(--off-white); }
.admin-shell.show { display: flex; }
.admin-sidebar {
  width: 240px;
  flex-shrink: 0;
  background: var(--navy-950);
  color: var(--steel-200);
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.admin-sidebar .brand { padding: 6px 8px 20px; }
.admin-sidebar .brand-mark { width: 36px; }
.admin-sidebar .brand-text strong { font-size: 0.92rem; }
.admin-tab-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--steel-200);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  width: 100%;
}
.admin-tab-btn:hover { background: rgba(255,255,255,0.06); }
.admin-tab-btn.active { background: var(--gold-500); color: var(--navy-950); font-weight: 700; }
.admin-tab-btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.admin-logout {
  margin-top: auto;
  padding: 11px 14px;
  border-radius: 6px;
  font-size: 0.86rem;
  color: var(--steel-400);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  cursor: pointer;
  text-align: left;
}
.admin-logout:hover { color: var(--white); }

.admin-main { flex: 1; padding: 32px 40px; overflow-y: auto; }
.admin-main h2 { margin-bottom: 4px; }
.admin-sub { color: var(--muted); font-size: 0.9rem; margin-bottom: 24px; }
.admin-panel { display: none; }
.admin-panel.active { display: block; }

.admin-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; gap: 12px; flex-wrap: wrap; }

.admin-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin-bottom: 20px; }
.admin-card h3 { font-size: 1rem; margin-bottom: 14px; }

.admin-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.admin-table th { text-align: left; color: var(--muted); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.admin-table td { padding: 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.admin-table tr:last-child td { border-bottom: none; }
.admin-thumb { width: 44px; height: 44px; border-radius: 6px; object-fit: cover; background: var(--navy-800); }
.admin-thumb-empty { width: 44px; height: 44px; border-radius: 6px; background: var(--navy-800); display: flex; align-items: center; justify-content: center; color: var(--gold-400); }
.admin-thumb-empty svg { width: 20px; height: 20px; }

.badge { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 0.74rem; font-weight: 600; background: var(--gold-100); color: #7a5c1e; }

.row-actions { display: flex; gap: 8px; }
.icon-btn {
  background: var(--off-white);
  border: 1px solid var(--line);
  border-radius: 5px;
  width: 30px; height: 30px;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--navy-800);
}
.icon-btn:hover { background: var(--line); }
.icon-btn.danger { color: #b3261e; }
.icon-btn svg { width: 15px; height: 15px; }

.admin-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.admin-form-grid .field.full { grid-column: 1 / -1; }

.file-drop {
  border: 1.5px dashed var(--line);
  border-radius: 8px;
  padding: 18px;
  text-align: center;
  cursor: pointer;
  background: var(--off-white);
  font-size: 0.85rem;
  color: var(--muted);
}
.file-drop:hover { border-color: var(--gold-500); }
.file-preview { width: 100%; max-height: 160px; object-fit: cover; border-radius: 8px; margin-top: 10px; display: none; }
.file-preview.show { display: block; }

.empty-state { text-align: center; padding: 30px; color: var(--muted); font-size: 0.88rem; }

@media (max-width: 800px) {
  .admin-shell.show { flex-direction: column; }
  .admin-sidebar { width: 100%; flex-direction: row; flex-wrap: wrap; }
  .admin-logout { margin-top: 0; }
  .admin-main { padding: 24px 18px; }
  .admin-form-grid { grid-template-columns: 1fr; }
}

/* Responsive */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); margin-top: 0; }
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gb-layout { grid-template-columns: 1fr; }
  .nav-links { position: fixed; top: 73px; left: 0; right: 0; background: var(--navy-950); flex-direction: column; align-items: stretch; padding: 10px 20px 20px; border-bottom: 1px solid rgba(255,255,255,0.08); display: none; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 10px; }
  .nav-toggle { display: flex; }
}
@media (max-width: 600px) {
  .grid--3, .grid--4, .grid--2 { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .org-level { flex-direction: column; align-items: center; }
}
