/* ============================================================
   HMI Corporate — gutenberg-brand.css
   Default Gutenberg blocks -> Heritage Editorial brand.
   Specificity strategy: body :where(...) = (0,0,1) utility-safe.
   ============================================================ */

/* ---------- Headings ---------- */
body :where(.wp-block-heading):where(h1,h2,h3,h4,h5,h6){
  font-family:'Montserrat',sans-serif;
  font-weight:800;
  color:#1E3940;
  letter-spacing:-.01em;
  line-height:1.15;
  margin:0 0 18px;
}
body :where(.wp-block-heading):where(h2){font-size:clamp(1.6rem,3vw,2.1rem)}
body :where(.wp-block-heading):where(h3){font-size:1.25rem;color:#18343C}
body :where(.wp-block-heading):where(h4){font-size:1.05rem;font-weight:700}

/* ---------- Paragraph ---------- */
body :where(.wp-block-paragraph){
  font-family:'Open Sans',sans-serif;
  color:#4B636D;
  font-size:1rem;
  line-height:1.75;
  margin:0 0 18px;
}

/* ---------- List ---------- */
body :where(.wp-block-list){
  margin:0 0 20px;
  padding-left:22px;
  list-style:none;
}
body :where(.wp-block-list) li{
  position:relative;
  padding-left:6px;
  margin-bottom:10px;
  color:#4B636D;
  line-height:1.65;
}
body :where(.wp-block-list) li::before{
  content:'';
  position:absolute;
  left:-16px;top:.62em;
  width:7px;height:7px;
  border-radius:50%;
  background:#DAB795;
}

/* ---------- Blockquote ---------- */
body :where(.wp-block-quote){
  margin:26px 0;
  padding:22px 26px;
  background:#F5F4F0;
  border-left:3px solid #DAB795;
  border-radius:0 var(--r-md,6px) var(--r-md,6px) 0;
}
body :where(.wp-block-quote) p{
  font-family:'Montserrat',sans-serif;
  font-weight:600;
  color:#1E3940;
  font-style:normal;
  margin-bottom:10px;
}
body :where(.wp-block-quote) cite{
  font-family:'Open Sans',sans-serif;
  font-size:.85rem;
  color:#A4A8A8;
  font-style:normal;
}

/* ---------- Image ---------- */
body :where(.wp-block-image img){
  border-radius:var(--r-md,6px);
  height:auto;
}
body :where(.wp-block-image figcaption){
  font-size:.8rem;
  color:#A4A8A8;
  text-align:center;
  margin-top:8px;
}

/* ---------- Separator: gold/teal capsule ---------- */
body :where(.wp-block-separator){
  border:none;
  height:6px;
  width:64px;
  border-radius:999px;
  background:linear-gradient(90deg,#DAB795 0 50%,#18343C 50% 100%);
  margin:22px auto;
  opacity:1;
}
body :where(.wp-block-separator.is-style-wide){width:100%}

/* ---------- Button ---------- */
body :where(.wp-block-button__link){
  border-radius:999px;
  font-family:'Montserrat',sans-serif;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.12em;
  font-size:.8rem;
  padding:16px 28px;
  transition:transform .25s,box-shadow .25s;
}
body :where(.wp-block-button__link):hover{transform:translateY(-2px)}

/* ---------- Table ---------- */
body :where(.wp-block-table) table{
  width:100%;
  border-collapse:collapse;
  font-family:'Open Sans',sans-serif;
  font-size:.92rem;
}
body :where(.wp-block-table) thead th{
  background:#18343C;
  color:#F5F4F0;
  font-family:'Montserrat',sans-serif;
  font-weight:700;
  text-align:left;
  padding:12px 16px;
}
body :where(.wp-block-table) td{
  padding:11px 16px;
  border-bottom:1px solid rgba(24,52,60,.12);
  color:#4B636D;
}

/* ---------- Code / Pre ---------- */
body :where(.wp-block-code){
  background:#EFEDE8;
  border-radius:6px;
  padding:16px;
  font-size:.85rem;
  color:#1E3940;
}
