/* Iron Republic PH: category hub pages (/structural-steel, /steel-plates, ...). Generated by scripts/hub.mjs. */
.mark { background: linear-gradient(transparent 58%, var(--y) 58%, var(--y) 92%, transparent 92%); padding-inline: .06em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }

/* Hero */
.hub-hero .wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.hub-copy .crumbs { margin-bottom: 14px; }
.hub-copy .eyebrow { margin-bottom: 16px; }
.hub-copy .lead { max-width: 46ch; }
.hub-art { position: relative; display: grid; place-items: center; min-height: 260px; }
.hub-art .xmarks { position: absolute; left: 0; top: 0; }
.hub-art img { width: 100%; max-width: 440px; height: auto; max-height: 360px; }

/* Intro + what we supply */
.hub-intro-in { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.hub-text h2 { margin-bottom: 20px; }
.hub-text p { max-width: 64ch; color: var(--ink-2); }
.hub-text p + p { margin-top: 14px; }
.hub-aside { padding: clamp(20px, 3vw, 28px); border: 2px solid var(--k); border-radius: var(--r); background: var(--w); }
.hub-aside h2 { margin-bottom: 12px; }
.hub-supply { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; margin: 0; padding: 0; list-style: none; }
.hub-supply li { padding: 8px 0; border-bottom: 1px solid var(--g-2); line-height: 1.3; }
.hub-supply a { color: var(--k); font-weight: 700; text-decoration: none; }
.hub-supply a:hover { text-decoration: underline; }
.hub-supply small { display: block; margin-top: 2px; color: var(--ink-3); font-size: .78rem; }
.hub-note { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-weight: 600; font-size: .9rem; }

/* Section heads */
.hub-sec-h { margin-bottom: clamp(20px, 3vw, 32px); }
.hub-sec-h .muted { margin-top: 10px; max-width: 60ch; }

/* Size tables */
.hub-tbls { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; }
.hub-tbl { overflow-x: auto; border: 2px solid var(--k); border-radius: var(--r); background: var(--w); -webkit-overflow-scrolling: touch; }
.hub-tbl table { width: 100%; border-collapse: collapse; font-size: .92rem; line-height: 1.45; }
.hub-tbl caption { padding: 12px 16px; background: var(--k); color: var(--y); text-align: left; font: 800 .8rem/1.2 var(--f-display); font-stretch: 112%; letter-spacing: .04em; text-transform: uppercase; }
.hub-tbl th, .hub-tbl td { padding: 11px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--g-2); }
.hub-tbl tbody tr:last-child > * { border-bottom: 0; }
.hub-tbl th { width: 38%; font-weight: 700; }
.hub-tbl tbody tr:nth-child(even) { background: #fafafa; }

/* Base plate + anchor bolt set */
.hub-set-in { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(24px, 4vw, 44px); border: 3px solid var(--k); border-radius: var(--r); background: var(--y); }
.hub-set-in .eyebrow { margin-bottom: 14px; }
.hub-set-in .lead { margin-top: 14px; max-width: 58ch; }
.hub-set-in .chips { margin-top: 18px; list-style: none; padding: 0; }
.hub-set-acts { display: grid; gap: 14px; justify-items: start; }

/* FAQ */
.hub-faq-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.hub-call { margin: 16px 0 8px; font-weight: 600; }
.hub-call .num { display: inline-flex; align-items: center; min-height: 44px; font-size: 1.4rem; color: var(--k); }
.hub-gh { margin-top: 18px; font-size: 1rem; }
.hub-guides { display: grid; gap: 4px; margin: 8px 0 0; padding: 0; list-style: none; }
.hub-guides .link { min-height: 44px; }
.hub-faq-i { border-top: 2px solid var(--k); }
.hub-faq-i:last-child { border-bottom: 2px solid var(--k); }
.hub-faq-i summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; cursor: pointer; list-style: none; }
.hub-faq-i summary::-webkit-details-marker { display: none; }
.hub-faq-i summary h3 { font-size: clamp(.95rem, 1.4vw, 1.1rem); font-stretch: 112%; line-height: 1.15; }
.hub-faq-i summary i { flex: none; font-size: 22px; transition: transform .2s var(--ease); }
.hub-faq-i[open] summary i { transform: rotate(45deg); }
.hub-faq-i p { max-width: 60ch; padding-bottom: 22px; color: var(--ink-2); }

/* Other hubs */
.hub-more h2 { margin-bottom: 16px; }
.hub-more .chips { margin: 0; padding: 0; list-style: none; }

@media (max-width: 900px) {
  .hub-hero .wrap, .hub-intro-in, .hub-faq-in, .hub-set-in, .hub-tbls { grid-template-columns: minmax(0, 1fr); }
  .hub-art { min-height: 0; }
  .hub-art img { max-width: 320px; max-height: 240px; }
}
@media (max-width: 560px) {
  .hub-supply { grid-template-columns: minmax(0, 1fr); }
  .hub-tbl th { width: 42%; }
  .hub-art img { max-width: 240px; max-height: 180px; }
}
