/* Small additions for the static clone. Keeps the site's own design tokens. */

.ny-hp {
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.ny-form-status {
  margin-top: 18px;
  padding: 12px 14px;
  border-radius: 3px;
  font-size: 15px;
  line-height: 1.5;
  display: none;
}
.ny-form-status.is-visible { display: block; }
.ny-form-status.is-success {
  background: #e8f5e9;
  color: #1b5e20;
  border: 1px solid #a5d6a7;
}
.ny-form-status.is-error {
  background: #fdecea;
  color: #7f1d1d;
  border: 1px solid #f5c6c6;
}
.ny-contact-form .ny-submit-spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-left: 8px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: ny-spin .7s linear infinite;
  vertical-align: -2px;
}
@keyframes ny-spin { to { transform: rotate(360deg); } }

/* Search page */
.ny-search-header { margin-bottom: 28px; }
.ny-search-header .entry-title { margin-bottom: 18px; }
.ny-search-form {
  display: flex;
  gap: 10px;
  max-width: 680px;
}
.ny-search-form input[type="search"] {
  flex: 1 1 auto;
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid var(--nv-light-bg, #e0e0e0);
  border-radius: 3px;
  background: var(--nv-site-bg, #fff);
  color: var(--nv-text-color, #333);
  font-size: 16px;
}
.ny-search-form button {
  flex: 0 0 auto;
  padding: 12px 22px;
  border: 0;
  border-radius: 3px;
  background: var(--nv-primary-accent, #1b5e4b);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}
.ny-search-form button:hover { filter: brightness(0.92); }
.ny-search-summary { margin: 0 0 28px; color: var(--nv-text-color, #333); }
.ny-search-results {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}
.ny-search-results .content { height: 100%; }
.ny-search-results .nv-post-thumbnail-wrap img { width: 100%; }
.ny-search-results .excerpt-wrap { margin-top: 10px; }
.ny-search-empty { padding: 20px 0; }

@media (max-width: 600px) {
  .ny-search-form { flex-direction: column; }
  .ny-search-form button { width: 100%; }
}

.ny-comments-status {
  display: none;
  margin-top: 12px;
  padding: 10px 12px;
  background: #f5f5f5;
  border: 1px solid #ddd;
  border-radius: 3px;
  font-size: 15px;
}
.ny-comments-status.is-visible { display: block; }

