/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 17px;
  border: 1px solid var(--ink);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 0.2s, background-color 0.2s, color 0.2s;
  background: transparent;
  color: var(--ink);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--ink);
  color: var(--paper);
}

.btn-primary:hover {
  background: var(--blue-deep);
  color: var(--white);
}

.btn-blue {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.btn-blue:hover {
  background: var(--blue-deep);
  color: #fff;
}

.text-link {
  font-size: 13px;
  font-weight: 850;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 3px;
}

/* Breadcrumbs */
.breadcrumb {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 26px;
}

.breadcrumb a:hover {
  color: var(--blue);
}

/* Callouts & Notices */
.callout {
  padding: 24px 26px;
  border: 1px solid var(--rule);
  background: #fbfaf6;
  margin: 32px 0;
}

.callout.warning {
  border-left: 4px solid var(--warm);
}

.callout.info {
  border-left: 4px solid var(--blue);
}

.callout h3 {
  margin: 0 0 6px;
  font-size: 16px;
}

.callout p {
  margin: 0;
  font-size: 14px;
}

.notice-bar {
  padding: 15px 18px;
  background: #fff7ea;
  border-left: 3px solid var(--warm);
  font-size: 13px;
  margin-bottom: 28px;
}

/* Cards & Grid Panels */
.index-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--rule);
}

.index-item {
  padding: 28px;
  min-height: 185px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.25);
  transition: background-color 0.2s;
}

.index-item:hover {
  background: var(--white);
}

.index-no {
  font-family: Georgia, serif;
  color: var(--muted);
  font-size: 13px;
  font-style: italic;
}

.index-item h3 {
  font-size: 19px;
  letter-spacing: -0.02em;
  margin: 28px 0 8px;
}

.index-item p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}

.editorial-card {
  border-top: 2px solid var(--ink);
  padding-top: 20px;
}

.editorial-card h3 {
  font-family: Georgia, serif;
  font-size: 31px;
  font-weight: 500;
}

.editorial-card p {
  color: var(--ink-2);
}

/* Forms */
.contact-form {
  background: #fff;
  border: 1px solid var(--rule);
  padding: 34px;
}

.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 10px;
  font-weight: 850;
  margin-bottom: 8px;
}

.field input, .field textarea, .field select {
  width: 100%;
  border: 1px solid var(--rule);
  background: #fbfaf7;
  padding: 13px 14px;
  color: var(--ink);
  outline: none;
}

.field input:focus, .field textarea:focus {
  border-color: var(--ink);
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.micro {
  font-size: 11px;
  color: var(--muted);
}

/* Status Component */
.status-banner {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: center;
  padding: 28px 30px;
  background: #edf4ef;
  border: 1px solid #cfded5;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  display: inline-block;
  margin-right: 9px;
  box-shadow: 0 0 0 5px rgba(49, 92, 75, 0.1);
}

.status-banner strong {
  font-family: Georgia, serif;
  font-size: 25px;
  font-weight: 500;
}

.status-banner span {
  font-size: 12px;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 800;
}

.status-grid {
  margin-top: 36px;
  border-top: 1px solid var(--ink);
}

.status-row {
  display: grid;
  grid-template-columns: 1fr 170px;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--rule);
  align-items: center;
}

.status-row strong {
  font-size: 14px;
}

.status-pill {
  justify-self: end;
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 0.12em;
  font-weight: 850;
  color: var(--green);
}

/* Source Verification Block */
.verify-box {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--rule);
  margin: 32px 0;
}

.verify-status {
  display: flex;
  gap: 16px;
  align-items: center;
}

.verify-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  font-weight: 800;
  font-size: 16px;
}

.verify-meta {
  font-size: 13px;
  color: var(--muted);
}

.verify-source-link a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 13px;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
}

/* Official Sources Block */
.official-sources {
  margin: 36px 0;
  padding: 28px;
  background: #fbfaf6;
  border: 1px solid var(--rule);
}

.official-sources h4 {
  margin: 0 0 16px;
  font-size: 16px;
}

.official-sources ul {
  margin: 0;
  padding-left: 20px;
}

.official-sources li {
  margin-bottom: 8px;
}

/* Important Update Block */
.important-update-box {
  background: #fff7ea;
  border-left: 4px solid var(--warm);
  padding: 16px 20px;
  margin: 24px 0;
  font-size: 14px;
  color: var(--ink);
}

/* Related Guides Block */
.related-guides-section {
  margin: 48px 0;
  border-top: 1px solid var(--rule);
  padding-top: 36px;
}

.related-guides-section h3 {
  margin-bottom: 24px;
}

.related-guides-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.related-guide-card {
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--rule);
}

.related-guide-card h4 {
  margin: 0 0 8px;
}

.related-guide-card p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

/* Login Finder Block */
.finder {
  border: 1px solid var(--rule);
  background: #fff;
  margin: 40px 0;
}

.finder-panel {
  padding: 34px;
  border-bottom: 1px solid var(--rule);
}

.finder-group {
  margin-top: 24px;
}

.finder-label {
  display: block;
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 12px;
}

.finder-options {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}

.finder-btn {
  padding: 12px 16px;
  border: 1px solid var(--rule);
  background: var(--paper);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  text-align: left;
  transition: background-color 0.2s, border-color 0.2s;
}

.finder-btn:hover {
  background: #eeece6;
  border-color: var(--ink);
}

.finder-btn.active {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.finder-copy {
  padding: 34px;
  background: #fbfaf6;
}

.finder-copy h4 {
  margin: 0 0 12px;
}

.finder-copy p {
  margin: 0 0 20px;
  line-height: 1.6;
}

/* Reusable Alert Patterns */
.independent-notice {
  background: #f4f7f9;
  border-left: 4px solid var(--blue);
  padding: 16px 20px;
  margin: 24px 0;
  font-size: 13px;
  color: var(--ink);
}

.safety-notice {
  background: #fff7ea;
  border-left: 4px solid var(--warm);
  padding: 16px 20px;
  margin: 24px 0;
  font-size: 13px;
  color: var(--ink);
}

.quick-answer {
  background: #edf4ef;
  border-left: 4px solid var(--green);
  padding: 16px 20px;
  margin: 24px 0;
  font-size: 13px;
  color: var(--ink);
}

.troubleshooting-notice {
  background: #fff5f5;
  border-left: 4px solid #d9534f;
  padding: 16px 20px;
  margin: 24px 0;
  font-size: 13px;
  color: var(--ink);
}

/* Contact Form 7 Accessible Styling */
.contact-form-wrapper {
  margin: 32px 0;
  max-width: 640px;
}

.contact-field-group {
  margin-bottom: 20px;
}

.contact-field-group label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}

.contact-field-group .required {
  color: #c92a2a;
}

.contact-input,
.contact-textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--rule);
  background: var(--white);
  color: var(--ink);
  font-family: inherit;
  font-size: 14px;
  border-radius: 0;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}

.contact-input:focus,
.contact-textarea:focus {
  outline: 2px solid var(--blue);
  outline-offset: 1px;
  border-color: var(--blue);
}

.contact-textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form-actions {
  margin-top: 24px;
}

.contact-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--ink);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}

.contact-submit-btn:hover {
  background: var(--blue-deep);
  color: var(--white);
}

.wpcf7-not-valid-tip {
  color: #c92a2a;
  font-size: 12px;
  font-weight: 700;
  margin-top: 4px;
  display: block;
}

.wpcf7-response-output {
  margin: 24px 0 !important;
  padding: 16px 20px !important;
  font-size: 14px !important;
  border: 1px solid var(--rule) !important;
  background: #fbfaf6 !important;
}

.wpcf7 form.sent .wpcf7-response-output {
  border-left: 4px solid var(--green) !important;
  background: #edf4ef !important;
}

.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.invalid .wpcf7-response-output {
  border-left: 4px solid #c92a2a !important;
  background: #fff5f5 !important;
}

/* Reduce Motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

