/* NOE Reitsport – Base Styles */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--nps-font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--nps-text);
  background: var(--nps-bg);
  margin: 0;
  padding: 0;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--nps-font-head);
  line-height: 1.25;
  color: var(--nps-dark);
  margin-top: 0;
}
h1 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h2 { font-size: clamp(1.4rem, 2.8vw, 2rem); }
h3 { font-size: clamp(1.15rem, 2.2vw, 1.5rem); }
h4 { font-size: 1.15rem; }

p { margin: 0 0 1.2em; }

a { color: var(--nps-primary); text-decoration: none; transition: var(--nps-transition); }
a:hover { color: var(--nps-primary-dark); text-decoration: underline; }

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

ul, ol { padding-left: 1.5em; margin: 0 0 1.2em; }
li { margin-bottom: .4em; }

blockquote {
  border-left: 4px solid var(--nps-accent);
  margin: 1.5em 0;
  padding: .8em 1.2em;
  background: rgba(201,168,76,.08);
  font-style: italic;
  border-radius: 0 var(--nps-radius-sm) var(--nps-radius-sm) 0;
}

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

.nps-wrap {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.nps-main { flex: 1; min-width: 0; }
.nps-sidebar { width: 300px; flex-shrink: 0; }

/* Content area */
.nps-content-area {
  background: var(--nps-bg-card);
  border-radius: var(--nps-radius);
  padding: 36px 40px;
  border: 1px solid var(--nps-border);
}

/* Breadcrumbs */
.nps-breadcrumb {
  font-size: .85rem;
  color: var(--nps-text-muted);
  padding: 12px 0;
}
.nps-breadcrumb a { color: var(--nps-text-muted); }
.nps-breadcrumb a:hover { color: var(--nps-primary); }
.nps-breadcrumb-sep { margin: 0 .4em; }

/* Page header */
.nps-page-header {
  background: linear-gradient(145deg, var(--nps-primary) 0%, var(--nps-dark) 100%);
  padding: 56px 0 48px;
  margin-bottom: 48px;
  color: #fff;
}
.nps-page-header h1 { color: #fff; margin-bottom: .4em; }
.nps-page-header .nps-lead { color: rgba(255,255,255,.85); font-size: 1.1rem; max-width: 700px; }

/* Section divider */
.nps-section { padding: 56px 0; }
.nps-section-title {
  text-align: center;
  margin-bottom: 2.5rem;
}
.nps-section-title h2 { margin-bottom: .4em; }
.nps-section-title p { color: var(--nps-text-muted); max-width: 600px; margin: 0 auto; }

/* Tag / Badge */
.nps-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.nps-badge-green { background: rgba(74,103,65,.12); color: var(--nps-primary); }
.nps-badge-gold  { background: rgba(201,168,76,.18); color: var(--nps-secondary); }

/* Buttons */
.nps-btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: var(--nps-radius-sm);
  font-weight: 700;
  font-size: .95rem;
  cursor: pointer;
  transition: var(--nps-transition);
  text-decoration: none !important;
  border: 2px solid transparent;
  letter-spacing: .02em;
}
.nps-btn-primary {
  background: var(--nps-primary);
  color: #fff !important;
  border-color: var(--nps-primary);
}
.nps-btn-primary:hover {
  background: var(--nps-primary-dark);
  border-color: var(--nps-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(74,103,65,.3);
}
.nps-btn-outline {
  background: transparent;
  color: var(--nps-primary) !important;
  border-color: var(--nps-primary);
}
.nps-btn-outline:hover {
  background: var(--nps-primary);
  color: #fff !important;
}

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

/* Post cards */
.nps-post-card {
  background: var(--nps-bg-card);
  border: 1px solid var(--nps-border);
  border-radius: var(--nps-radius);
  overflow: hidden;
  transition: var(--nps-transition);
}
.nps-post-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--nps-shadow-hover);
  border-color: var(--nps-primary);
}
.nps-post-card-img { aspect-ratio: 16/9; overflow: hidden; }
.nps-post-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.nps-post-card:hover .nps-post-card-img img { transform: scale(1.04); }
.nps-post-card-body { padding: 20px; }
.nps-post-card-cat { font-size: .78rem; font-weight: 700; color: var(--nps-primary); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 8px; }
.nps-post-card-title { font-family: var(--nps-font-head); font-size: 1.1rem; margin-bottom: .6em; color: var(--nps-dark); line-height: 1.3; }
.nps-post-card-excerpt { color: var(--nps-text-muted); font-size: .9rem; }
.nps-post-card-meta { font-size: .8rem; color: var(--nps-text-muted); margin-top: 12px; }

/* Silo teaser cards */
.nps-silo-card {
  background: linear-gradient(145deg, var(--nps-primary) 0%, var(--nps-dark) 100%);
  border-radius: var(--nps-radius);
  padding: 28px 24px;
  color: #fff;
  transition: var(--nps-transition);
  position: relative;
  overflow: hidden;
}
.nps-silo-card::after {
  content: '';
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: rgba(255,255,255,.07);
}
.nps-silo-card:hover { transform: translateY(-3px); box-shadow: var(--nps-shadow-hover); }
.nps-silo-card-icon { font-size: 2rem; margin-bottom: 12px; }
.nps-silo-card h3 { color: #fff; font-size: 1.15rem; margin-bottom: .5em; }
.nps-silo-card p { color: rgba(255,255,255,.82); font-size: .9rem; margin: 0 0 16px; }
.nps-silo-card a { color: var(--nps-accent) !important; font-weight: 700; font-size: .9rem; }

/* Alert / Callout */
.nps-callout {
  border-left: 4px solid var(--nps-primary);
  background: rgba(74,103,65,.07);
  padding: 16px 20px;
  border-radius: 0 var(--nps-radius-sm) var(--nps-radius-sm) 0;
  margin: 1.5em 0;
}
.nps-callout-gold {
  border-color: var(--nps-accent);
  background: rgba(201,168,76,.08);
}

/* Info table */
.nps-info-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0;
}
.nps-info-table th, .nps-info-table td {
  padding: 12px 16px;
  border: 1px solid var(--nps-border);
  text-align: left;
}
.nps-info-table th {
  background: var(--nps-primary);
  color: #fff;
  font-family: var(--nps-font-head);
}
.nps-info-table tr:nth-child(even) td { background: var(--nps-bg); }

/* Pagination */
.nps-pagination { display: flex; justify-content: center; gap: 8px; margin: 40px 0; }
.nps-pagination a, .nps-pagination span {
  padding: 8px 14px;
  border: 1px solid var(--nps-border);
  border-radius: var(--nps-radius-sm);
  font-weight: 600;
  color: var(--nps-text);
  transition: var(--nps-transition);
}
.nps-pagination a:hover, .nps-pagination .current {
  background: var(--nps-primary);
  color: #fff;
  border-color: var(--nps-primary);
  text-decoration: none;
}

/* Video responsive */
.nps-video-wrap { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; margin: 1.5em 0; border-radius: var(--nps-radius); }
.nps-video-wrap iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }

/* --- Responsive --- */
@media (max-width: 992px) {
  .nps-wrap { flex-direction: column; }
  .nps-sidebar { width: 100%; }
  .nps-grid-3, .nps-grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .nps-content-area { padding: 24px 18px; }
  .nps-grid-2, .nps-grid-3, .nps-grid-4 { grid-template-columns: 1fr; }
  .nps-page-header { padding: 36px 0 32px; }
}
@media (max-width: 576px) {
  body { font-size: 16px; }
}
