/* =========================================
   FORM STATUS MESSAGES
   ========================================= */
.form-status {
  padding: 12px 18px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 500;
  text-align: center;
}

.form-status--success {
  background: #DCFCE7;
  border: 1px solid #86EFAC;
  color: #166534;
}

.form-status--error {
  background: #FEE2E2;
  border: 1px solid #FCA5A5;
  color: #991B1B;
}

/* =========================================
   SINGLE PAGE / BLOG
   ========================================= */
.entry-title {
  margin-bottom: 24px;
}

.entry-content p {
  line-height: 1.8;
  margin-bottom: 1.2rem;
  color: var(--color-text);
}

.entry-content h2, .entry-content h3 {
  margin: 2rem 0 1rem;
}

.entry-content img {
  border-radius: var(--radius-md);
  margin: 24px 0;
}

/* =========================================
   ACCESSIBILITY
   ========================================= */
:focus-visible {
  outline: 2px solid var(--color-blue-light);
  outline-offset: 3px;
  border-radius: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* =========================================
   SKIP LINK
   ========================================= */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: var(--color-blue-light);
  color: var(--color-white);
  padding: 8px 16px;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  font-weight: 600;
  font-size: 0.875rem;
  z-index: 9999;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 0;
}

/* =========================================
   MENU TOGGLE ACTIVE STATE
   ========================================= */
.menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(-8px);
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* =========================================
   WORDPRESS REQUIRED CLASSES
   ========================================= */
.alignleft { float: left; margin-right: 1.5em; margin-bottom: 1em; }
.alignright { float: right; margin-left: 1.5em; margin-bottom: 1em; }
.aligncenter { display: block; margin: 0 auto 1em; }
.wp-block-image img { max-width: 100%; height: auto; }
.sticky { /* WP post class */ }
.bypostauthor { /* WP post class */ }

/* Admin bar offset */
.admin-bar .site-header {
  top: 32px;
}

@media screen and (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }
}
