/* ==========================================================================
   CTE Specs Page (v1)
   Scope: .cte-specs only
   Reuses: .cte-wrap, .cte-card, .cte-muted from start-here-theme.css
   ========================================================================== */

.cte-specs__card{
  overflow: hidden;
}

.cte-specs__header{
  padding: clamp(16px,3vw,28px);
  border-bottom: 1px solid rgba(0,0,0,.08);
}

.cte-specs__kicker{
  font: 900 12px/1 system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  letter-spacing: .10em;
  text-transform: uppercase;
  color: rgba(0,0,0,.55);
  margin-bottom: 10px;
}

.cte-specs__title{
  margin: 0;
  font: 900 34px/1.1 system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  color: var(--cte-ink);
}

.cte-specs__subtitle{
  margin: 10px 0 0;
  font: 600 15px/1.55 system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
}

.cte-specs__body{
  padding: 18px clamp(16px,3vw,28px) 26px;
}

.cte-specs__h2{
  margin: 18px 0 10px;
  font: 950 18px/1.1 system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.cte-specs__h3{
  margin: 10px 0 14px;
  font: 900 16px/1.2 system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
}

.cte-specs__h4{
  margin: 0 0 10px;
  font: 900 16px/1.2 system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
}

.cte-specs__section{
  padding: 12px 0 6px;
}

.cte-specs__block{
  margin: 12px 0 14px;
  padding: 14px 14px;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 16px;
  background: rgba(0,0,0,.01);
}

.cte-specs__blockTitle{
  font: 900 15px/1.2 system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  color: rgba(0,0,0,.92);
}

.cte-specs__blockNote{
  margin-top: 6px;
  color: rgba(0,0,0,.60);
}

.cte-specs__list{
  margin: 10px 0 0 18px;
}

.cte-specs__list li{
  margin: 6px 0;
}

.cte-specs__hr{
  border: 0;
  height: 1px;
  background: rgba(0,0,0,.10);
  margin: 18px 0;
}

.cte-specs__tableWrap{
  overflow: hidden !important; /* CLIP header cells to radius */
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 16px;
  background: #fff;
}

.cte-specs__table{
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

.cte-specs__table th,
.cte-specs__table td{
  border-bottom: 1px solid rgba(0,0,0,.08);
  padding: 10px 12px;
  vertical-align: top;
  font: 650 13px/1.35 system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
}

.cte-specs__table thead th{
  background: rgba(0,0,0,.04);
  color: rgba(0,0,0,.92);
  font-weight: 900;
}

.cte-specs__terms h3{
  margin-top: 18px;
}

.cte-specs__terms p{
  margin: 10px 0;
}

.cte-specs a{
  text-decoration: underline;
}
.cte-specs a:hover{
  text-decoration: none;
}

/* ---- PATCH: kill theme H1 margins inside specs header ---- */
.cte-specs .cte-specs__title{
  margin: 0 !important;
}
.cte-specs .cte-specs__subtitle{
  margin-top: 8px !important;
}
.cte-specs .cte-specs__header{
  padding-top: clamp(12px,2vw,20px) !important;
  padding-bottom: clamp(12px,2vw,20px) !important;
}

/* ---- PATCH: remove table scrollbar on desktop, only allow on small screens ---- */
.cte-specs__tableWrap{
  overflow-x: visible !important;  /* no scrollbar */
}

.cte-specs__table{
  min-width: 0 !important;        /* remove forced width */
  table-layout: fixed;            /* force columns to fit container */
  width: 100%;
}

.cte-specs__table th,
.cte-specs__table td{
  white-space: normal;            /* allow wrapping */
  word-break: break-word;
}

@media (max-width: 900px){
  .cte-specs__tableWrap{
    overflow-x: auto !important;  /* only on small screens */
  }
  .cte-specs__table{
    min-width: 760px !important;  /* keep readability when narrow */
  }
}

/* ---- PATCH: kill weird header "shadow" on print table ---- */
.cte-specs .cte-specs__tableWrap,
.cte-specs .cte-specs__table,
.cte-specs .cte-specs__table thead,
.cte-specs .cte-specs__table thead th{
  box-shadow: none !important;
  filter: none !important;
  text-shadow: none !important;
}

/* Optional: ensure the rounded top edge is clean (no double border look) */
.cte-specs .cte-specs__tableWrap{
  background: #fff !important;
}
.cte-specs .cte-specs__table thead th{
  background: rgba(0,0,0,.04) !important;
  border-top: 0 !important;
}
