/* Tradies section (tradies.html + tradies-*.html). Uses tokens from styles.css only. */
.td-hero {
  background: linear-gradient(160deg, var(--mh-blue-dark) 0%, #123a5e 100%);
  color: #fff;
  padding: 64px 0 56px;
}
.td-hero h1 { color: #fff; margin: 0 0 14px; max-width: 22ch; line-height: 1.15; }
.td-hero .td-lead { font-size: 1.15rem; max-width: 62ch; color: rgba(255, 255, 255, .88); margin: 0 0 26px; }
.td-hero .td-eyebrow {
  display: inline-block; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
  color: #9fd8ee; font-weight: 700; margin-bottom: 12px;
}
.td-hero .td-phone { margin-top: 18px; font-size: .95rem; color: rgba(255, 255, 255, .8); }
.td-hero .td-phone a { color: #fff; font-weight: 600; }
.td-cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn-ghost-light { border: 1.5px solid rgba(255, 255, 255, .55); color: #fff !important; background: transparent; }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .1); }

.td-block { padding: 56px 0; }
.td-block.alt { background: var(--mh-grey-bg); }
.td-block h2 { margin-top: 0; color: var(--mh-blue-dark); }
.td-intro { max-width: 68ch; color: var(--mh-text-muted); font-size: 1.05rem; margin-bottom: 28px; }

.td-story {
  background: var(--mh-cream); border-left: 5px solid var(--mh-amber); border-radius: 12px;
  padding: 22px 26px; font-size: 1.05rem; max-width: 760px;
}
.td-story .td-sign { margin: 0; font-style: italic; color: var(--mh-text-muted); }

.td-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.td-card {
  background: #fff; border: 1px solid var(--mh-grey-light); border-radius: 16px; padding: 22px;
  display: flex; flex-direction: column; box-shadow: 0 6px 18px rgba(2, 6, 23, .05);
}
.td-card h3 { margin: 0 0 8px; font-size: 1.12rem; color: var(--mh-blue-dark); }
.td-card p { margin: 0 0 12px; flex: 1; }
.td-card .td-num {
  width: 34px; height: 34px; border-radius: 50%; background: var(--mh-blue); color: #fff; font-weight: 700;
  display: flex; align-items: center; justify-content: center; margin-bottom: 12px;
}
.td-card a.td-more { font-weight: 600; }

/* Stage sections on the hub */
.td-stage { scroll-margin-top: 7rem; }
.td-stage + .td-stage { border-top: 1px solid var(--mh-grey-border); }
.td-stage-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.td-stage-grid h3 { font-size: 1.1rem; color: var(--mh-blue-dark); margin-bottom: .5rem; }
.td-stage-grid ul { margin: 0; padding-left: 1.2rem; }
.td-stage-grid li { margin-bottom: .45rem; }
.td-stage .td-eyebrow { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--mh-blue); font-weight: 700; margin-bottom: 8px; display: block; }
@media (max-width: 800px) { .td-stage-grid { grid-template-columns: 1fr; } }

.td-jump { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; padding: 0; list-style: none; }
.td-jump a {
  display: inline-block; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--mh-blue);
  color: var(--mh-blue-dark); text-decoration: none !important; font-size: .92rem; font-weight: 600; background: #fff;
}
.td-jump a:hover { background: var(--mh-blue-soft); }

/* Article list */
.td-list { display: grid; gap: 10px; max-width: 820px; }
.td-list a {
  display: block; padding: 14px 18px; border: 1px solid var(--mh-grey-light); border-radius: 12px; background: #fff;
  text-decoration: none !important;
}
.td-list a:hover { border-color: var(--mh-blue); }
.td-list b { display: block; color: var(--mh-blue-dark); }
.td-list span { color: var(--mh-text-muted); font-size: .93rem; }

/* Articles */
.td-article { max-width: 760px; }
.td-crumbs { font-size: .9rem; color: var(--mh-text-muted); margin: 0 0 14px; }
.td-crumbs a { color: var(--mh-text-muted); }
.td-article h1 { font-size: 2.2rem; color: var(--mh-blue-dark); margin-bottom: .6rem; }
.td-article h2 { font-size: 1.4rem; color: var(--mh-blue-dark); margin: 2rem 0 .7rem; }
.td-meta { color: var(--mh-text-muted); font-size: .92rem; margin-bottom: 1.4rem; }
.td-article ul, .td-article ol { padding-left: 1.3rem; }
.td-article li { margin-bottom: .45rem; }
.td-box {
  background: var(--mh-blue-soft); border-left: 4px solid var(--mh-blue); border-radius: 12px;
  padding: 14px 18px; margin: 1.4rem 0; color: var(--mh-text-dark);
}
.td-box.warn { background: var(--mh-red-soft); border-left-color: var(--mh-red); }
.td-box p:last-child { margin-bottom: 0; }
.td-table-wrap { overflow-x: auto; border: 1px solid var(--mh-grey-light); border-radius: 14px; background: #fff; margin: 1rem 0 1.4rem; }
.td-table-wrap table { width: 100%; border-collapse: collapse; min-width: 520px; }
.td-table-wrap th, .td-table-wrap td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid #eef2f7; font-size: .96rem; }
.td-table-wrap thead th { background: #f1f5f9; color: var(--mh-blue-dark); font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; }
.td-table-wrap tr:last-child td { border-bottom: none; }

.td-cta {
  background: var(--mh-blue-dark); color: #fff; border-radius: 18px; padding: 28px; margin: 2.2rem 0;
  display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between;
}
.td-cta h2, .td-cta h3 { color: #fff; margin: 0 0 4px; font-size: 1.3rem; }
.td-cta p { margin: 0; color: rgba(255, 255, 255, .85); max-width: 56ch; }
.td-cta .btn { background: #fff; color: var(--mh-blue-dark) !important; }

.td-related { border-top: 1px solid var(--mh-grey-border); padding-top: 1.2rem; margin-top: 2rem; }
.td-related h2 { font-size: 1.1rem; margin-top: 0; }
.td-src { font-size: .85rem; color: var(--mh-text-muted); border-top: 1px solid var(--mh-grey-border); margin-top: 1.6rem; padding-top: 1rem; }
.td-src a { color: var(--mh-text-muted); }
.td-note { font-size: .88rem; color: var(--mh-text-muted); font-style: italic; }

/* Status chips: same look as the Budget pages */
.mh-status {
  display: inline-flex; align-items: center; font-size: 10px; font-weight: 700; letter-spacing: .11em;
  text-transform: uppercase; line-height: 1.2; padding: 4px 9px; border-radius: 999px;
  border: 1px solid transparent; white-space: nowrap; vertical-align: middle; margin-right: 6px;
}
.mh-status.law { background: var(--mh-cyan-soft); color: var(--mh-navy); border-color: #b3dff0; }
.mh-status.assent { background: #eef4fa; color: #234b73; border-color: #c6d8e8; }
.mh-status.parliament { background: var(--mh-amber-soft); color: var(--mh-amber); border-color: #f0d3a4; }

@media (max-width: 600px) {
  .td-hero { padding: 44px 0 40px; }
  .td-hero h1 { font-size: 2rem; }
  .td-article h1 { font-size: 1.75rem; }
  .td-block { padding: 40px 0; }
  .td-cta { padding: 22px; }
}
