/* ========================================
   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;
}
/* == 1. One accent color everywhere ================================ */
a.button__readmore {
  background: #6C92A2 !important;
  border-color: #6C92A2 !important;
  color: #fff !important;
}
a.button__readmore:hover {
  background: #587e8e !important;
  border-color: #587e8e !important;
}
a.post__cat {
  color: #6C92A2 !important;
}

/* == 2. Calmer footer ============================================== */
.site-footer {
  font-size: 16px;
  padding: 32px 0;
}
.site-footer .footer-logo {
  width: 150px;
  height: 150px;
  padding: 18px;
}
.site-footer .col-logo img {
  max-width: 110px;
  height: auto;
}

/* == 3. Readable excerpts on cards ================================= */
.post__excerpt {
  text-align: left;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

/* == 4. PREVIEW ONLY: slate duotone on card images ================= */
/* Delete this whole section before publishing if you don't like it  */
.post__thumb img,
.post__thumb div[style*="background-image"] {
  filter: grayscale(1) sepia(.32) hue-rotate(155deg) saturate(.55) brightness(1.02);
  transition: filter .35s ease;
}
.post__thumb:hover img,
.post__thumb:hover div[style*="background-image"] {
  filter: none;
}
.post__meta span:has(> a[title*="Comments"]),
.entry-meta a[title*="Comments"],
.entry-meta .meta-comment {
  display: none !important;
}
/* Footer subscribe band: standout version */
.site-footer .footer-subscribe {
  background: #6C92A2;
  border-top: none;
  border-bottom: none;
  padding: 26px 20px;
}
.site-footer .footer-subscribe-title {
  color: #fff;
  font-size: 1.05rem;
}
.site-footer .footer-subscribe input[type="email"] {
  border: none;
}
.site-footer .footer-subscribe button.wp-block-button__link {
  background: #2b3542 !important;
}
.site-footer .footer-subscribe button.wp-block-button__link:hover {
  background: #1c242e !important;
}
.site-footer .footer-subscribe .success,
.site-footer .footer-subscribe .error {
  color: #fff;
}