/* At a glance spec sheet.

   The shortcode emits a bare <table>, so it picked up none of the panel's
   .wp-block-table treatment and read as raw HTML dropped into the article.
   This gives it its own card: a hairline frame, a quiet header strip, a fixed
   label column, zebra rows and a pink rail on hover, then collapses to stacked
   label-over-value on a phone so nothing is squeezed into a 180px column. */

.aihub-spec-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 0;
  border: 1px solid rgba(10, 10, 10, .10);
  border-radius: 14px;
  overflow: hidden;
  font-size: 14.5px;
  background: #fff;
}

.aihub-spec-table thead th {
  background: linear-gradient(180deg, #fdf4fa, #faf7fb);
  padding: 11px 16px;
  text-align: left;
  font-size: 10.5px;
  font-weight: 900;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: #65656C;
  border-bottom: 1px solid rgba(10, 10, 10, .10);
}
.aihub-spec-table thead th:first-child { width: 190px; }

.aihub-spec-table td {
  padding: 12px 16px;
  vertical-align: top;
  border-bottom: 1px solid rgba(10, 10, 10, .065);
}
.aihub-spec-table tbody tr:last-child td { border-bottom: 0; }
.aihub-spec-table tbody tr:nth-child(even) { background: rgba(10, 10, 10, .016); }

/* Label column: fixed, tight, and visually secondary to the answer. */
.aihub-spec-table td:first-child {
  width: 190px;
  border-left: 3px solid transparent;
  padding-left: 13px;
  font-size: 12.5px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -.005em;
  color: #0A0A0A;
}
.aihub-spec-table tbody tr:hover td:first-child { border-left-color: var(--pink, #F92FBB); }
.aihub-spec-table tbody tr:hover { background: rgba(249, 47, 187, .035); }

.aihub-spec-table td:last-child {
  color: #3A3A40;
  line-height: 1.55;
}
.aihub-spec-table td strong { color: #0A0A0A; font-weight: 800; }

/* Phone: label sits above its answer, full width, no 190px squeeze. */
@media (max-width: 700px) {
  .aihub-spec-table { font-size: 14px; }
  .aihub-spec-table thead { display: none; }
  .aihub-spec-table,
  .aihub-spec-table tbody,
  .aihub-spec-table tr,
  .aihub-spec-table td {
    display: block;
    width: 100%;
  }
  .aihub-spec-table tr {
    padding: 11px 0 12px;
    border-bottom: 1px solid rgba(10, 10, 10, .08);
  }
  .aihub-spec-table tbody tr:last-child { border-bottom: 0; }
  .aihub-spec-table tbody tr:nth-child(even) { background: transparent; }
  .aihub-spec-table td { border-bottom: 0; padding: 0 15px; }
  .aihub-spec-table td:first-child {
    width: auto;
    border-left: 0;
    margin-bottom: 4px;
    padding-left: 15px;
    font-size: 10.5px;
    font-weight: 900;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: #65656C;
  }
  .aihub-spec-table tbody tr:hover { background: transparent; }
}
