:root {
  --bg-main: #000000;
  --bg-card: rgba(10, 10, 10, 0.92);
  --bg-chip: rgba(255, 255, 255, 0.05);
  --accent: #ffb347;
  --accent-soft: rgba(255, 179, 71, 0.18);
  --text-main: #f5f5f5;
  --text-muted: #c2c2c2;
  --border-subtle: rgba(255, 255, 255, 0.09);
  --radius-lg: 20px;
  --radius-md: 12px;
  --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.7);
  --page-width: 1000px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--bg-main);
  background-image: url("/bgndc.jpg");
  background-repeat: repeat;
  background-position: center;
  color: var(--text-main);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, Verdana, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.page-wrapper {
  max-width: var(--page-width);
  margin: 0 auto;
  padding: 20px 14px 40px;
  text-align: center;
}

.page-inner {
  background: radial-gradient(circle at top, rgba(255, 255, 255, 0.06) 0, rgba(0, 0, 0, 0.95) 55%);
  border-radius: 26px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 22px 18px 26px;
  backdrop-filter: blur(10px);
}

@media (min-width: 768px) {
  .page-inner {
    padding: 26px 26px 30px;
  }
}

h1 {
  margin: 0;
  font-size: 1.8rem;
  color: wheat;
  letter-spacing: 0.02em;
}

@media (min-width: 768px) {
  h1 {
    font-size: 2.1rem;
  }
}

.page-subtitle {
  margin-top: 6px;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.top-nav {
  margin-top: 18px;
}

.top-nav ul {
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  list-style: none;
}

.top-nav li {
  margin: 0;
}

.top-nav a {
  display: inline-flex;
  align-items: center;
  padding: 6px 11px;
  border-radius: 999px;
  background: var(--bg-chip);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8rem;
  color: wheat;
  white-space: nowrap;
}

.top-nav a:hover {
  background: var(--accent-soft);
  color: #fff4da;
  text-decoration: none;
}

.card {
  margin-top: 22px;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  padding: 18px 14px 20px;
  color: var(--text-main);
}

@media (min-width: 768px) {
  .card {
    padding: 20px 20px 22px;
  }
}

.card-header-title {
  font-family: "Lucida Handwriting", "Brush Script MT", cursive;
  font-size: 1.6rem;
  font-weight: bold;
  color: #d0d0d0;
  margin-bottom: 4px;
}

.card-header-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
}

.gallery {
  margin-top: 14px;
}

.gallery-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.gallery-images {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  justify-content: center;
  align-items: stretch;
}

.gallery-images a {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: #111;
}

.gallery-images img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.gallery-images a::after {
  content: "Klik om te vergroten";
  position: absolute;
  inset: auto 0 0 0;
  padding: 4px 8px;
  font-size: 0.7rem;
  text-align: center;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: rgba(255, 255, 255, 0.75);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}

.gallery-images a:hover img {
  transform: scale(1.05);
  opacity: 0.92;
}

.gallery-images a:hover::after {
  opacity: 1;
  transform: translateY(0);
}

.bottom-prev {
  margin-top: 12px;
  font-size: 0.78rem;
}

.bottom-prev a {
  color: #a0a0a0;
  text-decoration: none;
}

.bottom-prev a:hover {
  text-decoration: underline;
}

.post-text {
  margin-top: 16px;
  text-align: left;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.post-text p {
  margin: 0 0 12px 0;
}

.model-description {
  margin-top: 16px;
  text-align: left;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

.model-description h2 {
  margin: 0 0 6px 0;
  font-size: 1.05rem;
  color: var(--text-main);
}

.model-description p {
  margin: 0 0 10px 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-muted);
}

@media (min-width: 900px) {
  .model-description p {
    font-size: 0.95rem;
  }
}


.related-posts {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
  text-align: left;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

.related-posts h3 {
  font-size: 0.95rem;
  color: var(--text-main);
  margin: 0 0 10px 0;
}

.related-posts ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.related-posts li {
  margin: 0;
}

.related-posts a {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--bg-chip);
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.7rem;
  color: var(--text-muted);
}

.related-posts a:hover {
  background: var(--accent-soft);
  color: #fff4da;
  text-decoration: none;
}

.seo-tags {
  margin-top: 16px;
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: left;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

.seo-tags strong {
  font-weight: 500;
  color: #e0e0e0;
}


.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.gallery-item {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  transition: transform 0.2s ease;
}

.gallery-item:hover {
  transform: scale(1.02);
}

.gallery-item a {
  display: block;
  text-decoration: none;
  color: var(--text-main);
}

.gallery-item img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}

.gallery-item .name {
  padding: 8px 10px;
  font-size: 0.75rem;
  text-align: center;
  color: var(--text-muted);
  font-weight: 500;
}

.gallery-item .name:hover {
  color: var(--accent);
}

.blog-description {
  margin-top: 30px;
  padding: 20px;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  text-align: left;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

.blog-description h2 {
  font-size: 1.2rem;
  color: var(--text-main);
  margin-bottom: 12px;
}

.blog-description p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.blog-description p:last-child {
  margin-bottom: 0;
}



.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 8px;
  margin-top: 16px;
}

.related-grid__item a {
  display: block;
  padding: 8px 12px;
  background: var(--bg-chip);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.related-grid__item a:hover {
  background: var(--accent-soft);
  color: #fff4da;
  text-decoration: none;
}

.card {
  max-width: 100% !important;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
  margin-top: 20px;
  width: 100%;
}