/* OF2go Answer Hub Styles */
/* Answer Hub Styles */
/* Scoped to answer hub content only — do not override site header/footer */
.ah-hero .container,
.ah-breadcrumb .container,
.ah-topic-wrap,
.ah-answer-wrap,
.ah-search-wrap { max-width: 1100px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }

/* Hero */
.ah-hero {
  background: linear-gradient(135deg, #565C5D 0%, #2a2a2a 100%);
  color: #fff; padding: 44px 0 36px;
  border-bottom: 4px solid #65C2CF;
  margin-bottom: 0;
}
.ah-hero h1 { font-size: 1.9rem; font-weight: 800; margin: 0 0 8px; line-height: 1.2; }
.ah-hero p { margin: 0; opacity: .85; font-size: 1rem; }

/* Breadcrumb */
.ah-breadcrumb {
  background: #f8f8f8; border-bottom: 1px solid #e5e5e5;
  padding: 10px 0; font-size: .82rem; color: #666;
}
.ah-breadcrumb a { color: #339aa8; text-decoration: none; }
.ah-breadcrumb a:hover { text-decoration: underline; }
.ah-breadcrumb .sep { margin: 0 6px; }

/* Category grid (index) */
.ah-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px; padding: 32px 0 48px;
}
.ah-card {
  background: #fff; border: 1px solid #e0e0e0; border-radius: 8px;
  padding: 20px; transition: box-shadow .2s, border-color .2s;
  display: flex; flex-direction: column;
}
.ah-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,.1); border-color: #65C2CF; }
.ah-card-icon {
  width: 40px; height: 40px; background: #EAF7F8;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: #65C2CF; font-size: 1.1rem; margin-bottom: 12px;
}
.ah-card h3 { font-size: 1.05rem; font-weight: 700; margin: 0 0 6px; color: #565C5D; }
.ah-card h3 a { color: inherit; text-decoration: none; }
.ah-card h3 a:hover { color: #65C2CF; }
.ah-card p { font-size: .875rem; color: #666; margin: 0 0 14px; flex: 1; line-height: 1.5; }
.ah-card-meta { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.btn-read {
  background: #65C2CF; color: #fff !important;
  padding: 6px 14px; border-radius: 4px; font-size: .8rem; font-weight: 700;
  text-decoration: none; white-space: nowrap;
}
.btn-read:hover { opacity: .88; }
.badge-count {
  font-size: .75rem; color: #666; border: 1px solid #e0e0e0;
  padding: 3px 9px; border-radius: 12px;
}

/* Topic cluster page */
.ah-topic-wrap { padding: 28px 0 64px; }
.ah-topic-title { font-size: 1.8rem; font-weight: 800; color: #565C5D; margin: 0 0 6px; }
.ah-topic-desc {
  font-size: 1rem; color: #555; margin: 0 0 28px;
  border-left: 4px solid #65C2CF; padding-left: 14px; line-height: 1.6;
}
.ah-qlist { display: flex; flex-direction: column; gap: 0; }
.ah-qitem {
  border-bottom: 1px solid #e8e8e8; padding: 18px 0;
}
.ah-qitem:first-child { padding-top: 0; }
.ah-qitem h3 {
  font-size: 1rem; font-weight: 700; color: #565C5D; margin: 0 0 8px;
}
.ah-qitem h3 a { color: inherit; text-decoration: none; }
.ah-qitem h3 a:hover { color: #65C2CF; }
.ah-qitem-preview {
  font-size: .9rem; color: #555; line-height: 1.55; margin: 0 0 8px;
}
.ah-qitem-link {
  font-size: .82rem; color: #339aa8; text-decoration: none; font-weight: 600;
}
.ah-qitem-link:hover { text-decoration: underline; }

/* Individual answer page */
.ah-answer-wrap { padding: 28px 0 64px; }
.ah-answer-label {
  font-size: .75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .06em; color: #65C2CF; margin-bottom: 6px;
}
.ah-question-h1 {
  font-size: 1.75rem; font-weight: 800; color: #565C5D; margin: 0 0 20px; line-height: 1.25;
}
.ah-answer-box {
  background: #EAF7F8; border-left: 4px solid #65C2CF;
  border-radius: 0 8px 8px 0; padding: 20px 22px; margin-bottom: 28px;
  font-size: 1rem; line-height: 1.7; color: #333;
}
.ah-related-qs { margin-top: 32px; }
.ah-related-qs h3 {
  font-size: .9rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .05em; color: #565C5D; margin: 0 0 14px;
  border-bottom: 2px solid #65C2CF; padding-bottom: 6px;
}
.ah-related-list { list-style: none; padding: 0; margin: 0; }
.ah-related-list li { border-bottom: 1px solid #e8e8e8; }
.ah-related-list li a {
  display: block; padding: 8px 0; font-size: .9rem; color: #339aa8; text-decoration: none;
}
.ah-related-list li a:hover { color: #65C2CF; }

/* Sidebar */
.ah-sidebar { position: sticky; top: 20px; }
.ah-sidebar-box {
  background: #fff; border: 1px solid #e0e0e0; border-radius: 8px;
  padding: 18px 16px; margin-bottom: 16px;
}
.ah-sidebar-box h4 {
  font-size: .85rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .04em; color: #565C5D; margin: 0 0 12px;
}
.btn-shop {
  display: block; background: #65C2CF; color: #fff !important;
  padding: 11px 14px; border-radius: 4px; font-size: .9rem;
  font-weight: 700; text-align: center; text-decoration: none;
}
.btn-shop:hover { opacity: .88; }
.ah-phone {
  display: block; font-size: 1.2rem; font-weight: 800;
  color: #65C2CF !important; text-decoration: none; margin-bottom: 4px;
}
.ah-hours { font-size: .8rem; color: #777; }
.ah-cat-list { list-style: none; padding: 0; margin: 0; }
.ah-cat-list li { border-bottom: 1px solid #eee; }
.ah-cat-list li:last-child { border-bottom: none; }
.ah-cat-list li a {
  display: block; padding: 6px 0; font-size: .875rem; color: #339aa8; text-decoration: none;
}
.ah-cat-list li a:hover { color: #65C2CF; }
.ah-guides-link {
  display: block; padding: 9px 14px; border-radius: 4px;
  border: 2px solid #65C2CF; color: #65C2CF !important;
  font-size: .875rem; font-weight: 700; text-align: center; text-decoration: none;
  margin-bottom: 8px;
}
.ah-guides-link:hover { background: #EAF7F8; }

/* Search */
.ah-search-wrap { padding: 20px 0 8px; }
.ah-search { width: 100%; max-width: 500px; padding: 10px 16px; font-size: .95rem;
  border: 2px solid #e0e0e0; border-radius: 4px; outline: none; }
.ah-search:focus { border-color: #65C2CF; }

/* Schema badge */
.schema-badge {
  display: inline-flex; align-items: center; gap: 5px;
  background: #f0fdf4; border: 1px solid #86efac; border-radius: 4px;
  font-size: .72rem; color: #16a34a; padding: 2px 8px; font-weight: 700;
  margin-bottom: 16px;
}

@media (max-width: 767px) {
  .ah-hero h1 { font-size: 1.4rem; }
  .ah-question-h1 { font-size: 1.35rem; }
}