/* ========================================
   ASQ Blog Custom CSS
   ======================================== */

/* Sticky Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: white;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* Header block */
.asq-header-block {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  border-left: 4px solid #6C92A2;
  margin-bottom: 1.5em;
}
.asq-header-block p {
  margin: 0 0 0.5em 0;
}
.asq-header-block p:last-child {
  margin-bottom: 0;
}

/* Question styling */
.entry-content p > strong > em,
.entry-content p > em > strong {
  display: block;
  color: #6C92A2;
  border-left: 3px solid #6C92A2;
  padding-left: 15px;
  margin: 1.5em 0 1em 0;
}

/* Pull quotes */
.wp-block-quote {
  text-align: center !important;
  border-left: none !important;
  border-top: 2px solid #6C92A2 !important;
  border-bottom: 2px solid #6C92A2 !important;
  padding: 20px 30px !important;
  margin: 2em auto !important;
  max-width: 75% !important;
  background: transparent !important;
}
.wp-block-quote::before {
  display: none !important;
  content: none !important;
}
.wp-block-quote p {
  font-size: 1em !important;
  font-style: italic !important;
  color: #555 !important;
  margin: 0 !important;
  line-height: 1.6 !important;
}

/* Content spacing & separators */
.entry-content p {
  margin-bottom: 1.5em;
  line-height: 1.8;
}
.wp-block-separator {
  border: none !important;
  border-top: 1px solid #ddd !important;
  margin: 2em auto !important;
  width: 60% !important;
}

/* Footer subscribe band */
.site-footer .footer-subscribe {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 18px;
  padding: 22px 20px;
  margin: -40px 0 40px;
  background: #fff;
  border-top: 1px solid #e3e6e8;
  border-bottom: 1px solid #e3e6e8;
}
.site-footer .footer-subscribe-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: #333;
}
.site-footer .footer-subscribe form {
  display: flex;
  align-items: center;
  gap: 8px;
}
.site-footer .footer-subscribe form p {
  margin: 0 !important;
}
.site-footer .footer-subscribe input[type="email"] {
  width: 280px;
  max-width: 60vw;
  height: 42px;
  padding: 0 14px !important;
  font-size: 0.95rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}
.site-footer .footer-subscribe button.wp-block-button__link {
  display: inline-flex;
  align-items: center;
  height: 42px;
  padding: 0 24px !important;
  font-size: 0.95rem !important;
  border-radius: 4px !important;
  background: #6C92A2 !important;
  color: #fff !important;
  border: none;
}
.site-footer .footer-subscribe {
  font-size: 0.95rem;
}
.site-footer .footer-subscribe .success,
.site-footer .footer-subscribe .error,
.site-footer .footer-subscribe #subscribe-email-error {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  text-align: center;
}
.site-footer .footer-subscribe:has(.success) .footer-subscribe-title,
.site-footer .footer-subscribe:has(.error) .footer-subscribe-title {
  display: none;
}
.site-footer .footer-subscribe .success {
  width: 100%;
  max-width: 620px;
  color: #2e7d32;
}
.post__tags a {
  display: inline-block;
  background: #eef3f5;
  border: 1px solid #d9e1e5;
  border-radius: 3px;
  padding: 2px 10px;
  margin: 3px 4px 3px 0;
  line-height: 1.5;
}