/* =========================================================
   HundCharakter — Theme-consistent UI (GeneratePress friendly)
   - clean cards, consistent radii, better typography
   - FAQ styles included (from theme shortcodes)
   ========================================================= */

.hc{
  margin: 24px 0;
  color: inherit;
}

.hc h2{
  margin: 0 0 10px;
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -0.2px;
}

.hc h3{
  margin: 16px 0 8px;
  font-weight: 850;
  line-height: 1.25;
}

.hc-lead{
  font-size: 16px;
  line-height: 1.65;
  margin: 0;
}

.hc-muted{
  opacity: .78;
  line-height: 1.65;
}

/* Base card */
.hc-card,
.hc-col,
.hc-block,
.hc-faq-item{
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 14px;
  background: #fff;
}

/* Card padding */
.hc-card{ padding: 14px; }
.hc-col{ padding: 12px; }
.hc-block{ padding: 12px; margin-top: 12px; }

/* Key/Value */
.hc-kv{ font-size: 16px; line-height: 1.5; }
.hc-k{ font-weight: 800; }

/* Form */
.hc-form{ margin-top: 12px; }

.hc-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.hc-grid label{
  display: block;
  font-weight: 800;
  font-size: 13px;
}

.hc-grid select,
.hc-grid input{
  width: 100%;
  margin-top: 6px;
  padding: 10px 10px;
  border: 1px solid rgba(0,0,0,.16);
  border-radius: 12px;
  background: #fff;
  font-size: 14px;
  line-height: 1.3;
}

.hc-grid select:focus,
.hc-grid input:focus{
  outline: none;
  border-color: rgba(0,0,0,.32);
  box-shadow: 0 0 0 3px rgba(0,0,0,.06);
}

/* Button: align with GP feel but bold */
.hc-btn{
  margin-top: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(0,0,0,.18);
  border-radius: 14px;
  background: #111;
  color: #fff;
  font-weight: 900;
  cursor: pointer;
  line-height: 1.1;
}

.hc-btn:hover{ filter: brightness(1.05); }
.hc-btn:active{ transform: translateY(1px); }

/* Result layout */
.hc-cols{
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.hc-list{
  margin: 0;
  padding-left: 18px;
  line-height: 1.7;
}

.hc-list li{ margin: 6px 0; }

/* Watchout severity markers */
.hc-list li[data-sev="high"]{ font-weight: 800; }
.hc-list li[data-sev="high"]::before{ content:"⚠ "; }
.hc-list li[data-sev="medium"]::before{ content:"• "; }

/* Mini cards (for future “similar breeds”) */
.hc-cards{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.hc-card-mini{
  display: block;
  text-decoration: none;
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 14px;
  padding: 10px;
  background: #fff;
}

.hc-card-mini:hover{
  border-color: rgba(0,0,0,.18);
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
}

.hc-mini-title{ font-weight: 900; color: inherit; }
.hc-mini-sub{ opacity: .78; margin-top: 4px; color: inherit; }

/* Error */
.hc-error{
  margin-top: 12px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(180,0,0,.25);
  background: rgba(180,0,0,.06);
  color: #700;
  font-weight: 800;
}

/* =========================================================
   FAQ Section (theme shortcode output)
   ========================================================= */

.hc-faq{
  margin: 28px 0;
}

.hc-faq h2{
  margin-bottom: 12px;
}

.hc-faq-list{
  display: grid;
  gap: 10px;
}

.hc-faq-item{
  padding: 10px 12px;
}

.hc-faq-item summary{
  cursor: pointer;
  font-weight: 900;
  line-height: 1.4;
}

.hc-faq-item summary::-webkit-details-marker{
  display: none;
}

.hc-faq-item summary:before{
  content: "+";
  display: inline-block;
  width: 18px;
  opacity: .7;
  margin-right: 6px;
}

.hc-faq-item[open] summary:before{
  content: "–";
}

.hc-faq-a{
  margin-top: 8px;
  opacity: .92;
  line-height: 1.65;
}

.hc-faq-a p{
  margin: 0;
}

/* Mobile */
@media (max-width: 840px){
  .hc-grid{ grid-template-columns: 1fr; }
  .hc-cols{ grid-template-columns: 1fr; }
  .hc-cards{ grid-template-columns: 1fr; }
}
/* HC FIX: force core UI visible */
#hc-root,
.hc-root{
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}
