
.tb-guide :is(h2,h3)[id] { scroll-margin-block-start:7rem; }
.tb-guide .tb-callout { background:var(--mcui-reference, #202436); border:1px solid var(--mcui-line, rgb(175 181 207 / .12)); border-radius:var(--mcui-radius, 8px); padding:1rem 1.25rem; margin-block:1.5rem; }
.tb-guide .tb-callout > :first-child { margin-block-start:0; }
.tb-guide .tb-callout > :last-child { margin-block-end:0; }
.tb-guide .tb-scroll { max-inline-size:100%; overflow-x:auto; margin-block:1.5rem; }
.tb-guide .tb-scroll:focus-visible { outline:2px solid var(--mcui-focus, #eff0f5); outline-offset:4px; }
.tb-guide .tb-ptr { color:var(--mcui-muted, #afb5cf); font-size:.8125rem; }
.tb-guide figure > img { inline-size:100%; max-inline-size:100%; block-size:auto; border-radius:var(--mcui-radius, 8px); }
/* On phones the layout turns tables into blocks; a table-caption box then shrinks to one word per line, so the caption becomes a plain block. */
.tb-guide caption { display:block; inline-size:100%; text-align:start; }
/* Wowhead links read as text with a dotted underline, like the other WoW guides; Wowhead paints quality colours with
   !important, so only !important keeps the text readable. */
.tb-guide a.wbg-wh { color:inherit !important; text-decoration:underline dotted; text-underline-offset:.2em; }
.tb-guide a.wbg-wh:focus-visible { outline:2px solid var(--mcui-focus, #eff0f5); outline-offset:3px; }
/* Reward lists stay a two-column table on phones too (name, price), so 40 rows don't become 40 cards. */
.tb-guide table.tb-rewards { display:table; inline-size:100%; }
.tb-guide table.tb-rewards thead { display:table-header-group; }
.tb-guide table.tb-rewards tbody { display:table-row-group; }
.tb-guide table.tb-rewards tr { display:table-row; }
.tb-guide table.tb-rewards :is(th,td) { display:table-cell; }
.tb-guide table.tb-rewards td { text-align:end; white-space:nowrap; font-variant-numeric:tabular-nums; }
.tb-guide figcaption { color:var(--mcui-muted, #afb5cf); font-size:.8125rem; margin-block-start:.5rem; }
/* Class portraits: each hero stands on its own ground beside the class text. The art is transparent, so the layout's
   figure frame (raised surface, outline, radius) is switched off; one shared crop keeps the three heroes the same size. */
.tb-guide .tb-class { display:flow-root; margin-block-start:2rem; }
.tb-guide .tb-class > h3 { margin-block-start:.75rem; }
.blog-wrapper.tb-guide .tb-class > figure { float:inline-start; inline-size:12rem; margin:0; margin-inline-end:1.5rem; }
.blog-wrapper.tb-guide .tb-class > figure > img { display:block; inline-size:100%; block-size:auto; background:none; outline:0; border-radius:0; }
@media (max-width:639.98px) {
  .blog-wrapper.tb-guide .tb-class > figure { inline-size:7.5rem; margin-inline-end:1rem; }
}
