/* ============ NPJ BLOG ARCHIVE STYLES ============ */

.npj-archive-hero {
  background: linear-gradient(135deg,#07182d 0%,#0b2d4d 55%,#07182d 100%);
  padding: 64px 24px 56px;
  text-align: center;
}
.npj-archive-kicker {
  display: inline-block;
  margin-bottom: 16px;
  padding: 6px 14px;
  background: linear-gradient(90deg,#c6a25a 0%,#f3dfb0 50%,#c6a25a 100%);
  color: #071a2d;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.npj-archive-hero h1 {
  font-family: 'Merriweather', Georgia, serif;
  font-size: 42px;
  color: #fff;
  font-weight: 900;
  margin: 0 0 14px;
}
.npj-archive-hero p {
  color: rgba(255,255,255,.82);
  font-size: 16px;
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
}
@media (max-width: 767px) {
  .npj-archive-hero h1 { font-size: 30px; }
}

/* CATEGORY DROPDOWN SELECTOR */
.npj-cat-selector {
  max-width: 1180px;
  margin: -28px auto 0;
  padding: 0 24px;
  position: relative;
  z-index: 5;
}
.npj-cat-selector-inner {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 18px 40px rgba(0,0,0,.14);
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.npj-cat-selector-label {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #07182d;
  white-space: nowrap;
}
.npj-cat-select-wrap {
  position: relative;
  min-width: 280px;
}
.npj-cat-select-wrap::after {
  content: "\25BC";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 10px;
  color: #c6a25a;
  pointer-events: none;
}
.npj-cat-select {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  background: #f8fafc;
  border: 2px solid #e5e7eb;
  border-radius: 6px;
  padding: 12px 40px 12px 16px;
  font-size: 14px;
  font-weight: 800;
  color: #07182d;
  cursor: pointer;
  outline: none;
  transition: border-color .18s ease;
}
.npj-cat-select:hover, .npj-cat-select:focus {
  border-color: #c6a25a;
}

@media (max-width: 600px) {
  .npj-cat-selector-inner { padding: 16px 18px; flex-direction: column; align-items: stretch; }
  .npj-cat-select-wrap { min-width: 0; }
}

/* ARTICLE GRID */
.npj-archive-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 48px 24px 70px;
}
.npj-archive-count {
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 28px;
  font-weight: 700;
}
.npj-archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 980px) {
  .npj-archive-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .npj-archive-grid { grid-template-columns: 1fr; }
}

.npj-archive-card {
  display: block;
  text-decoration: none;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  overflow: hidden;
  transition: box-shadow .2s ease, transform .2s ease;
}
.npj-archive-card:hover {
  box-shadow: 0 18px 36px rgba(0,0,0,.12);
  transform: translateY(-3px);
}
.npj-archive-img {
  height: 190px;
  overflow: hidden;
  background: linear-gradient(135deg,#07182d,#0b2d4d);
  position: relative;
}
.npj-archive-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.npj-archive-img-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: rgba(255,255,255,.3);
  font-family: 'Merriweather', Georgia, serif;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-align: center;
  padding: 0 20px;
}
.npj-archive-body {
  padding: 20px;
}
.npj-archive-cat {
  font-size: 11px;
  font-weight: 900;
  color: #c6a25a;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 10px;
}
.npj-archive-title {
  font-family: 'Merriweather', Georgia, serif;
  font-size: 18px;
  font-weight: 800;
  color: #07182d;
  line-height: 1.35;
  margin-bottom: 12px;
}
.npj-archive-read {
  font-size: 12px;
  font-weight: 800;
  color: #0b2d4d;
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* PAGINATION */
.npj-archive-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
  flex-wrap: wrap;
}
.npj-page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  border-radius: 6px;
  background: #fff;
  border: 1px solid #e5e7eb;
  color: #07182d;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transition: all .18s ease;
}
.npj-page-link:hover {
  border-color: #c6a25a;
  color: #c6a25a;
}
.npj-page-link.active {
  background: linear-gradient(90deg,#c6a25a 0%,#f3dfb0 50%,#c6a25a 100%);
  color: #071a2d;
  border-color: #c6a25a;
}
.npj-page-link.disabled {
  opacity: .35;
  pointer-events: none;
}
.npj-page-dots {
  color: #9ca3af;
  font-size: 14px;
  padding: 0 4px;
}

/* EMPTY STATE */
.npj-archive-empty {
  text-align: center;
  padding: 60px 20px;
  color: #6b7280;
}

/* BOTTOM CONTACT FORM */
.npj-archive-contact {
  background: linear-gradient(135deg,#07182d 0%,#0b2d4d 55%,#07182d 100%);
  padding: 64px 24px;
}
.npj-archive-contact-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.npj-archive-contact-kicker {
  display: inline-block;
  margin-bottom: 16px;
  padding: 6px 14px;
  background: linear-gradient(90deg,#c6a25a 0%,#f3dfb0 50%,#c6a25a 100%);
  color: #071a2d;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.npj-archive-contact h2 {
  font-family: 'Merriweather', Georgia, serif;
  color: #fff;
  font-size: 32px;
  margin: 0 0 14px;
}
.npj-archive-contact > .npj-archive-contact-inner > p {
  color: rgba(255,255,255,.8);
  max-width: 560px;
  margin: 0 auto 32px;
  line-height: 1.7;
}
.npj-archive-contact-form {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(198,162,90,.3);
  border-radius: 6px;
  padding: 32px;
  text-align: left;
}
.npj-archive-contact-row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.npj-archive-contact-form input,
.npj-archive-contact-form textarea,
.npj-archive-contact-form select {
  width: 100%;
  background: rgba(255,255,255,.06) !important;
  border: none !important;
  border-bottom: 2px solid rgba(198,162,90,.5) !important;
  padding: 12px 10px !important;
  margin: 0 0 16px !important;
  color: #fff !important;
  font-size: 15px !important;
  outline: none !important;
}
.npj-archive-contact-form select option { color: #07182d; }
.npj-archive-contact-form textarea { min-height: 100px; resize: vertical; }
.npj-archive-contact-form input::placeholder,
.npj-archive-contact-form textarea::placeholder { color: rgba(255,255,255,.55) !important; }
.npj-archive-contact-form input:focus,
.npj-archive-contact-form textarea:focus,
.npj-archive-contact-form select:focus { border-bottom-color: #fff !important; }
.npj-archive-contact-form button {
  width: 100%;
  padding: 15px;
  border: none;
  background: #c6a25a;
  color: #071a2d;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .2s ease;
}
.npj-archive-contact-form button:hover { background: #fff; }
.npj-archive-contact-form button:disabled { opacity: .6; cursor: not-allowed; }

#npj-archive-success, #npj-archive-error {
  display: none;
  margin-top: 16px;
  padding: 13px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  border-radius: 4px;
}
#npj-archive-success { background: rgba(31,108,54,.22); color: #d9ffe7; }
#npj-archive-error { background: rgba(120,20,20,.22); color: #ffd2d2; }

@media (max-width: 600px) {
  .npj-archive-contact-row2 { grid-template-columns: 1fr; }
  .npj-archive-contact-form { padding: 22px; }
}
