/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Cormorant Garamond', serif;
  color: rgba(255, 255, 255, 0.85);
  background: #121a12;
  min-height: 100vh;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; transition: opacity 0.3s; }
a:hover { opacity: 0.7; }
img { max-width: 100%; display: block; }

/* ===== CANVAS BACKGROUND ===== */
#bg-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  z-index: 0;
  pointer-events: none;
}
.vignette {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 50%, rgba(10,16,10,0.7) 100%);
}

/* ===== TOP NAV ===== */
.top-bar {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 28px;
  min-width: 280px;
  max-width: 1400px;
  width: calc(100% - 40px);
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(120,200,120,0.08);
  border-radius: 60px;
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.5);
}
.top-bar .brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: rgba(180,230,180,0.8);
  white-space: nowrap;
  transition: opacity 0.3s;
}
.top-bar .brand:hover { opacity: 0.7; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-links a {
  padding: 6px 16px;
  border-radius: 30px;
  transition: all 0.3s;
  font-size: 12px;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active {
  background: rgba(120,200,120,0.07);
  color: rgba(180,230,180,0.9);
  opacity: 1;
}
.nav-links .admin-link {
  opacity: 0.35;
  font-size: 11px;
}
.nav-links .admin-link:hover {
  opacity: 0.7;
  background: none;
}

/* ===== MENU TOGGLE (hamburger) ===== */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 1px solid rgba(120,200,120,0.08);
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 30px;
  z-index: 110;
  color: rgba(255,255,255,0.5);
  font-size: 18px;
  line-height: 1;
  transition: all 0.3s;
}
.menu-toggle:hover {
  background: rgba(120,200,120,0.04);
  color: rgba(180,230,180,0.8);
}

/* ===== MOBILE MENU OVERLAY ===== */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(10,16,10,0.95);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  z-index: 100;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 12px;
}
.mobile-menu.open {
  display: flex;
}
.mobile-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: 1px solid rgba(120,200,120,0.1);
  color: rgba(255,255,255,0.5);
  font-size: 18px;
  padding: 8px 14px;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s;
}
.mobile-close:hover {
  background: rgba(120,200,120,0.06);
  color: rgba(180,230,180,0.9);
}
.mobile-menu-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.mobile-menu-links a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 300;
  letter-spacing: 0.12em;
  padding: 12px 24px;
  color: rgba(255,255,255,0.6);
  transition: all 0.3s;
}
.mobile-menu-links a:hover,
.mobile-menu-links a.active {
  color: rgba(180,230,180,0.95);
  background: none;
}

/* ===== MAIN CONTENT ===== */
.main {
  position: relative;
  z-index: 10;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 120px 40px 80px 40px;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

/* ===== PAGE HEADER ===== */
.hero--small {
  text-align: center;
  margin-bottom: 40px;
  width: 100%;
  padding: 60px 20px 0;
}
.hero--small h1 {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 300;
  letter-spacing: 0.06em;
  line-height: 1.1;
  background: linear-gradient(135deg, rgba(180,230,180,0.9), rgba(120,200,120,0.6));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}
.hero-sub {
  font-family: 'Inter', sans-serif;
  font-weight: 200;
  font-size: 14px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
}

/* ===== SECTION HEADING ===== */
.section-heading {
  font-family: 'Inter', sans-serif;
  font-weight: 200;
  font-size: 14px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(120,200,120,0.3);
  margin-bottom: 28px;
  text-align: center;
  width: 100%;
}

/* ===== BANNER ===== */
.banner {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  margin-bottom: 32px;
  position: relative;
  padding-top: 0;
}
.banner::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 600px; height: 600px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(120,200,120,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.banner-inner {
  position: relative;
  z-index: 2;
  max-width: 900px;
  width: calc(100% - 80px);
  padding: 48px 32px;
  background: rgba(255,255,255,0.02);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(120,200,120,0.06);
  border-radius: 40px;
}
.banner-icon {
  font-size: 36px;
  margin-bottom: 16px;
  opacity: 0.4;
  animation: gentlePulse 3s ease-in-out infinite;
}
@keyframes gentlePulse {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.08); }
}
.banner-title {
  font-size: clamp(32px, 6vw, 56px);
  font-weight: 300;
  letter-spacing: 0.04em;
  line-height: 1.15;
  margin-bottom: 16px;
  font-style: italic;
}
.banner-sub {
  font-family: 'Inter', sans-serif;
  font-weight: 200;
  font-size: clamp(13px, 2vw, 18px);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(120,200,120,0.4);
  margin-bottom: 24px;
}
.banner-decoration {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0.2;
}
.banner-decoration span {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: rgba(120,200,120,0.4);
}

/* ===== MASONRY ===== */
.masonry {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 20px;
  width: 100%;
  max-width: 1400px;
}
.masonry-item {
  break-inside: avoid;
  position: relative;
  display: block;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(120,200,120,0.04);
  background: rgba(255,255,255,0.02);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.masonry-item:hover {
  border-color: rgba(120,200,120,0.2);
  transform: translateY(-3px);
}
.masonry-img {
  width: 100%;
  min-height: 200px;
  display: block;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  background-color: rgba(255,255,255,0.02);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.masonry-item:hover .masonry-img {
  transform: scale(1.04);
}
.masonry-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to top, rgba(10,16,10,0.92) 0%, rgba(10,16,10,0.15) 50%, transparent 100%);
  z-index: 2;
  pointer-events: none;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.masonry-overlay h3 {
  font-size: 17px;
  font-weight: 500;
  line-height: 1.25;
  color: rgba(255,255,255,0.9);
  margin: 0 0 3px 0;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.masonry-overlay time {
  display: block;
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(120,200,120,0.5);
  margin-bottom: 4px;
}
.masonry-overlay span {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 10px;
  color: rgba(255,255,255,0.3);
}
.masonry-placeholder {
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(20,40,20,0.4), rgba(15,30,15,0.4));
}
.masonry-placeholder span {
  font-size: 40px;
  color: rgba(120,200,120,0.12);
}

/* ===== MASONRY LOADER ===== */
.masonry-loader {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 40px 0;
  width: 100%;
}
.loader-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(120,200,120,0.3);
  animation: dotPulse 1.4s ease-in-out infinite;
}
.loader-dot:nth-child(2) { animation-delay: 0.2s; }
.loader-dot:nth-child(3) { animation-delay: 0.4s; }
@keyframes dotPulse {
  0%, 80%, 100% { opacity: 0.2; transform: scale(1); }
  40% { opacity: 0.8; transform: scale(1.3); }
}

/* ===== FLOATING TAG ===== */
.floating-tag {
  width: 100%;
  text-align: center;
  padding: 48px 20px 0;
  font-family: 'Inter', sans-serif;
  font-weight: 200;
  font-size: 13px;
  letter-spacing: 0.2em;
  color: rgba(120,200,120,0.2);
}

/* ===== DETAIL PAGE ===== */
.detail-back {
  width: 100%;
  margin-bottom: 24px;
  display: flex;
  gap: 16px;
}
.detail-back a {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.3);
  transition: color 0.3s;
}
.detail-back a:hover { color: rgba(180,230,180,0.7); opacity: 1; }
.detail-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  width: 100%;
  align-items: start;
}
.detail-image-col { position: sticky; top: 100px; }
.detail-image-wrapper {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(120,200,120,0.06);
  cursor: zoom-in;
  transition: border-color 0.3s;
}
.detail-image-wrapper:hover { border-color: rgba(120,200,120,0.2); }
.detail-image { width: 100%; height: auto; display: block; transition: transform 0.8s ease; }
.detail-image-wrapper:hover .detail-image { transform: scale(1.02); }
.detail-image-hint {
  position: absolute;
  bottom: 16px;
  right: 16px;
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(8px);
  padding: 5px 12px;
  border-radius: 20px;
  pointer-events: none;
}
.detail-content-col { padding: 8px 0; }
.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 16px;
}
.detail-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(120,200,120,0.5);
}
.detail-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 400;
  letter-spacing: 0.03em;
  line-height: 1.2;
  margin-bottom: 20px;
  color: rgba(255,255,255,0.9);
}
.detail-description p {
  font-size: 18px;
  line-height: 1.8;
  color: rgba(255,255,255,0.55);
  font-weight: 300;
}
.detail-story {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(120,200,120,0.05);
}
.detail-story p {
  font-size: 16px;
  line-height: 1.9;
  color: rgba(255,255,255,0.45);
  font-weight: 300;
  margin-bottom: 12px;
}

/* ===== RELATED SECTION ===== */
.related-section {
  width: 100%;
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid rgba(120,200,120,0.05);
}
.masonry--small .masonry-item {
  border-radius: 10px;
}
.masonry--small .masonry-overlay h3 {
  font-size: 15px;
}

/* ===== FULLSCREEN OVERLAY ===== */
.fullscreen-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(5,10,5,0.95);
  backdrop-filter: blur(12px);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  cursor: zoom-out;
}
.fullscreen-overlay.active { display: flex; }
.fullscreen-image {
  max-width: 92vw;
  max-height: 92vh;
  object-fit: contain;
  border-radius: 8px;
  animation: fsFadeIn 0.3s ease;
}
@keyframes fsFadeIn { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: scale(1); } }
.fullscreen-close {
  position: absolute;
  top: 24px;
  right: 28px;
  background: rgba(120,200,120,0.06);
  border: 1px solid rgba(120,200,120,0.1);
  color: rgba(255,255,255,0.6);
  font-size: 28px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}
.fullscreen-close:hover { background: rgba(120,200,120,0.12); color: rgba(180,230,180,0.9); }

.detail-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 48px;
  width: 100%;
  gap: 16px;
}
.detail-nav-link {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.3);
  transition: color 0.3s;
  max-width: 45%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.detail-nav-link:hover { color: rgba(180,230,180,0.7); opacity: 1; }

/* ===== CATEGORIES GRID ===== */
.categories-section {
  width: 100%;
  display: flex;
  justify-content: center;
}
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  width: 100%;
  max-width: 1000px;
}
.category-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  height: 220px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(120,200,120,0.05);
  background: rgba(255,255,255,0.02);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
}
.category-card:hover {
  transform: translateY(-4px);
  border-color: rgba(120,200,120,0.2);
  background: rgba(120,200,120,0.04);
}
.category-icon {
  font-size: 36px;
  color: rgba(120,200,120,0.15);
  margin-bottom: 12px;
  transition: all 0.3s;
}
.category-card:hover .category-icon {
  color: rgba(120,200,120,0.3);
}
.category-card h2 {
  font-size: 22px;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  margin-bottom: 4px;
}
.category-count {
  font-family: 'Inter', sans-serif;
  font-weight: 200;
  font-size: 12px;
  color: rgba(120,200,120,0.4);
  letter-spacing: 0.05em;
}

/* ===== SEARCH ===== */
.search-section {
  width: 100%;
  max-width: 800px;
}
.search-section .search-form {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
}
.search-section .search-input {
  flex: 1;
  padding: 14px 16px 14px 20px;
  border-radius: 40px;
  border: 1px solid rgba(120,200,120,0.08);
  background: rgba(255,255,255,0.03);
  color: rgba(255,255,255,0.85);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 300;
  outline: none;
  transition: all 0.3s;
}
.search-section .search-input:focus {
  border-color: rgba(120,200,120,0.25);
  background: rgba(255,255,255,0.05);
}
.search-section .search-input::placeholder { color: rgba(255,255,255,0.2); }
.search-btn {
  padding: 14px 28px;
  border-radius: 40px;
  border: 1px solid rgba(120,200,120,0.15);
  background: rgba(120,200,120,0.06);
  color: rgba(120,200,120,0.7);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.3s;
  white-space: nowrap;
}
.search-btn:hover {
  background: rgba(120,200,120,0.12);
  border-color: rgba(120,200,120,0.25);
  color: rgba(120,200,120,0.9);
}
.search-count {
  font-family: 'Inter', sans-serif;
  font-weight: 200;
  font-size: 13px;
  color: rgba(255,255,255,0.25);
  margin-bottom: 24px;
}

/* ===== FLASH MESSAGES ===== */
.flash-container {
  position: fixed;
  top: 80px;
  right: 20px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.flash-message {
  padding: 12px 20px;
  border-radius: 12px;
  background: rgba(120,200,120,0.06);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(120,200,120,0.08);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 300;
  color: rgba(255,255,255,0.8);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: flashIn 0.4s ease;
}
@keyframes flashIn { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: translateX(0); } }
.flash-close {
  background: none;
  border: none;
  color: rgba(255,255,255,0.3);
  cursor: pointer;
  font-size: 14px;
  padding: 2px;
}
.flash-close:hover { color: rgba(180,230,180,0.7); }
.flash-error { border-color: rgba(255,100,100,0.3); color: rgba(255,160,160,0.9); }

/* ===== LOADING ===== */
.loading-state {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 60px 0;
}
.loading-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(120,200,120,0.3);
  animation: dotPulse 1.4s ease-in-out infinite;
}
.loading-dot:nth-child(2) { animation-delay: 0.2s; }
.loading-dot:nth-child(3) { animation-delay: 0.4s; }

/* ===== EMPTY STATE ===== */
.empty-state {
  text-align: center;
  padding: 80px 20px;
  color: rgba(255,255,255,0.25);
  font-size: 16px;
}

/* ======================================================
   ADMIN PANEL — Modern Card Layout
   ====================================================== */
.admin-layout {
  display: flex;
  gap: 32px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  min-height: calc(100vh - 200px);
  font-family: 'Inter', sans-serif;
}

.admin-sidebar {
  width: 200px;
  flex-shrink: 0;
  position: sticky;
  top: 100px;
  align-self: flex-start;
}

.admin-sidebar-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: rgba(180,230,180,0.7);
  padding: 0 0 16px 0;
  margin-bottom: 8px;
  border-bottom: 1px solid rgba(120,200,120,0.05);
}

.admin-sidebar-header .logo-icon {
  font-size: 22px;
  color: rgba(120,200,120,0.4);
}

.admin-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.admin-nav-item {
  font-weight: 300;
  font-size: 13px;
  letter-spacing: 0.03em;
  padding: 10px 14px;
  border-radius: 10px;
  color: rgba(255,255,255,0.35);
  transition: all 0.25s;
}

.admin-nav-item:hover {
  color: rgba(180,230,180,0.7);
  background: rgba(120,200,120,0.04);
  opacity: 1;
}

.admin-nav-item.active {
  color: rgba(180,230,180,0.85);
  background: rgba(120,200,120,0.08);
}

.admin-logout {
  margin-top: 24px;
  border-top: 1px solid rgba(120,200,120,0.05);
  padding-top: 20px;
  color: rgba(255,120,120,0.4);
  font-size: 12px;
}

.admin-logout:hover {
  color: rgba(255,120,120,0.7) !important;
}

.admin-view-site {
  color: rgba(150,220,180,0.4);
  font-size: 12px;
}

.admin-view-site:hover {
  color: rgba(150,220,180,0.7) !important;
}

.admin-main {
  flex: 1;
  min-width: 0;
}

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

.admin-header h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.85);
  margin: 0;
}

/* Stats Cards */
.admin-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 36px;
}

.stat-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(120,200,120,0.05);
  border-radius: 14px;
  padding: 24px 20px;
  text-align: center;
  transition: border-color 0.3s;
}

.stat-card:hover {
  border-color: rgba(120,200,120,0.15);
}

.stat-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px;
  font-weight: 400;
  color: rgba(120,200,120,0.8);
  line-height: 1.1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
}

/* Moment Cards */
.admin-cards-section h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 400;
  color: rgba(180,230,180,0.6);
  margin-bottom: 20px;
  letter-spacing: 0.04em;
}

.moment-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.moment-card {
  display: flex;
  align-items: center;
  gap: 18px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(120,200,120,0.05);
  border-radius: 14px;
  padding: 14px;
  transition: all 0.3s ease;
}

.moment-card:hover {
  background: rgba(120,200,120,0.035);
  border-color: rgba(120,200,120,0.12);
}

.moment-card-thumb {
  width: 80px;
  height: 60px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  background: rgba(255,255,255,0.03);
}

.moment-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.moment-card:hover .moment-card-thumb img {
  transform: scale(1.06);
}

.moment-card-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: rgba(120,200,120,0.12);
}

.moment-card-body {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-width: 0;
}

.moment-card-info {
  min-width: 0;
  flex: 1;
}

.moment-card-info h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  margin: 0 0 5px 0;
  line-height: 1.2;
}

.moment-card-info h3 a {
  color: inherit;
}

.moment-card-info h3 a:hover {
  color: rgba(120,200,120,0.8);
  opacity: 1;
}

.moment-card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 11px;
}

.moment-card-date {
  font-weight: 300;
  color: rgba(120,200,120,0.4);
  letter-spacing: 0.04em;
}

.admin-cat-tag {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 20px;
  background: rgba(120,200,120,0.08);
  color: rgba(120,200,120,0.6);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 400;
}

.status-published {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 20px;
  background: rgba(100,220,160,0.1);
  color: rgba(100,220,160,0.6);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 400;
}

.status-draft {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 20px;
  background: rgba(255,200,100,0.08);
  color: rgba(255,200,100,0.5);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 400;
}

.moment-card-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.btn-sm {
  display: inline-block;
  padding: 7px 16px;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: all 0.25s;
  border: 1px solid transparent;
  text-decoration: none;
}

.btn-edit {
  background: rgba(120,200,120,0.1);
  border-color: rgba(120,200,120,0.15);
  color: rgba(120,200,120,0.7);
}

.btn-edit:hover {
  background: rgba(120,200,120,0.18);
  border-color: rgba(120,200,120,0.25);
  color: rgba(120,200,120,0.9);
  opacity: 1;
}

.btn-delete {
  background: rgba(255,100,100,0.08);
  border-color: rgba(255,100,100,0.12);
  color: rgba(255,100,100,0.5);
}

.btn-delete:hover {
  background: rgba(255,100,100,0.16);
  border-color: rgba(255,100,100,0.2);
  color: rgba(255,100,100,0.8);
  opacity: 1;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: all 0.25s;
  border: 1px solid transparent;
  text-decoration: none;
}

.btn-primary {
  background: rgba(120,200,120,0.12);
  border-color: rgba(120,200,120,0.2);
  color: rgba(120,200,120,0.8);
}

.btn-primary:hover {
  background: rgba(120,200,120,0.2);
  border-color: rgba(120,200,120,0.3);
  color: rgba(120,200,120,1);
  opacity: 1;
}

.btn-secondary {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.5);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.7);
  opacity: 1;
}

/* Admin Form Pages */
.admin-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(120,200,120,0.05);
  border-radius: 14px;
  padding: 28px;
}

.admin-form .form-group {
  margin-bottom: 18px;
}

.admin-form label {
  display: block;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 6px;
}

.admin-form input[type="text"],
.admin-form input[type="date"],
.admin-form input[type="number"],
.admin-form textarea,
.admin-form select {
  width: 100%;
  padding: 11px 14px;
  border-radius: 10px;
  border: 1px solid rgba(120,200,120,0.08);
  background: rgba(255,255,255,0.03);
  color: rgba(255,255,255,0.85);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 300;
  outline: none;
  transition: all 0.3s;
}

.admin-form input:focus,
.admin-form textarea:focus,
.admin-form select:focus {
  border-color: rgba(120,200,120,0.25);
  background: rgba(255,255,255,0.05);
}

.admin-form textarea {
  resize: vertical;
  min-height: 80px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.checkbox-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  text-transform: none;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,0.5);
  cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: rgba(120,200,120,0.6);
}

.form-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(120,200,120,0.05);
}

.current-image {
  margin-top: 12px;
}

.current-image p {
  font-size: 11px;
  color: rgba(255,255,255,0.3);
  margin-bottom: 6px;
}

/* Admin Table */
.admin-table-section h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 400;
  color: rgba(180,230,180,0.6);
  margin-bottom: 20px;
  letter-spacing: 0.04em;
}

.admin-table-wrap {
  overflow-x: auto;
  border-radius: 14px;
  border: 1px solid rgba(120,200,120,0.05);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.admin-table th {
  text-align: left;
  padding: 14px 18px;
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
  background: rgba(120,200,120,0.02);
  border-bottom: 1px solid rgba(120,200,120,0.05);
}

.admin-table td {
  padding: 12px 18px;
  color: rgba(255,255,255,0.5);
  border-bottom: 1px solid rgba(120,200,120,0.03);
  font-weight: 300;
}

.admin-table tr:last-child td {
  border-bottom: none;
}

.admin-table tr:hover td {
  background: rgba(120,200,120,0.02);
}

.empty-table {
  text-align: center;
  padding: 40px 18px !important;
  color: rgba(255,255,255,0.2);
  font-style: italic;
}

/* Monitor Page */
.monitor-section {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.monitor-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(120,200,120,0.05);
  border-radius: 14px;
  padding: 24px;
}

.monitor-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 400;
  color: rgba(180,230,180,0.6);
  margin-bottom: 16px;
  letter-spacing: 0.04em;
}

.monitor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}

.monitor-item {
  padding: 14px;
  border-radius: 10px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(120,200,120,0.04);
}

.monitor-label {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.2);
  margin-bottom: 4px;
}

.monitor-value {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  font-weight: 300;
}

/* === Admin Responsive === */
@media (max-width: 900px) {
  .admin-layout {
    flex-direction: column;
    gap: 20px;
  }
  .admin-sidebar {
    width: 100%;
    position: static;
  }
  .admin-sidebar-header {
    display: none;
  }
  .admin-nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 4px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(120,200,120,0.05);
    margin-bottom: 8px;
  }
  .admin-nav-item {
    font-size: 12px;
    padding: 6px 12px;
    border-radius: 8px;
  }
  .admin-logout,
  .admin-view-site {
    margin-top: 0;
    border-top: none;
    padding-top: 0;
  }
  .admin-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }
  .stat-card {
    padding: 16px 12px;
  }
  .stat-value {
    font-size: 28px;
  }
  .moment-card-body {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .moment-card-actions {
    width: 100%;
    justify-content: flex-end;
  }
}

@media (max-width: 600px) {
  .admin-header {
    flex-direction: column;
    align-items: stretch;
  }
  .admin-header .btn {
    justify-content: center;
  }
  .admin-stats {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .moment-card {
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
  }
  .moment-card-thumb {
    width: 100%;
    height: 140px;
  }
  .moment-card-actions {
    justify-content: stretch;
  }
  .moment-card-actions .btn-sm {
    flex: 1;
    text-align: center;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* ======================================================
   RESPONSIVE
   ====================================================== */
@media (max-width: 1024px) {
  .main { padding: 110px 28px 60px 28px; }
  .top-bar { top: 16px; padding: 8px 20px; width: calc(100% - 28px); }
  .top-bar .brand { font-size: 17px; }

  .masonry {
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 16px;
  }
  .masonry-img { aspect-ratio: 4 / 3; min-height: 160px; }

  .banner-inner { padding: 36px 24px; width: calc(100% - 48px); }

  .detail-image-col { position: static; }
  .detail-layout { grid-template-columns: 1fr; gap: 28px; }
  .detail-image-wrapper { max-height: 500px; }
  .detail-image-wrapper img { width: 100%; height: 100%; object-fit: cover; }

  .categories-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
  .category-card { height: 200px; padding: 36px 20px; }

  .hero--small { padding: 40px 10px 0; }
}

@media (max-width: 768px) {
  .main { padding: 100px 18px 48px 18px; }
  .top-bar { top: 12px; padding: 8px 14px; min-width: unset; width: calc(100% - 16px); border-radius: 40px; }
  .top-bar .brand { font-size: 15px; }

  .menu-toggle { display: flex; }

  .nav-links { display: none; }

  .banner-inner { padding: 28px 18px; width: calc(100% - 24px); border-radius: 24px; }

  .masonry {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .masonry-img { aspect-ratio: 4 / 3; min-height: 120px; }
  .masonry-overlay { padding: 12px; }
  .masonry-overlay h3 { font-size: 13px; }
  .masonry-overlay time { font-size: 9px; }
  .masonry-overlay span { font-size: 9px; }
  .masonry-placeholder { min-height: 120px; }
  .masonry-placeholder span { font-size: 28px; }

  .categories-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .category-card { height: 160px; padding: 24px 12px; }
  .category-card h2 { font-size: 18px; }
  .category-icon { font-size: 28px; }

  .search-section .search-form { flex-direction: column; }
  .search-btn { width: 100%; }
  .search-section .search-input { width: 100%; }

  .detail-image-hint { display: none; }
  .detail-description p { font-size: 16px; }
  .detail-back { flex-wrap: wrap; }

  .fullscreen-image { max-width: 98vw; }
  .fullscreen-close { top: 16px; right: 16px; width: 40px; height: 40px; font-size: 22px; }

  .hero--small { padding: 24px 10px 0; margin-bottom: 24px; }
  .section-heading { font-size: 12px; margin-bottom: 20px; }

  .detail-nav { flex-direction: column; align-items: center; gap: 8px; }
  .detail-nav-link { max-width: 100%; }

  .mobile-menu-links a { font-size: 20px; }

  .flash-container { top: 76px; right: 12px; left: 12px; }
}

@media (max-width: 480px) {
  .main { padding: 90px 12px 36px 12px; }

  .masonry {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .masonry-img { aspect-ratio: 16 / 10; min-height: 180px; }
  .masonry-overlay h3 { font-size: 16px; }

  .categories-grid { grid-template-columns: 1fr; gap: 10px; }
  .category-card { height: 140px; }

  .banner-inner { padding: 24px 14px; border-radius: 20px; }
  .banner-title { font-size: 28px; }

  .top-bar { top: 10px; padding: 6px 12px; }
  .top-bar .brand { font-size: 14px; }
}
