/* Brand profile pages: keep the site's public header and footer intact. */
.brand-page { color: #243044; }
@media (min-width: 1200px) { .footer-copyright { position: static; } }
.brand-page a:focus-visible { outline: 3px solid rgba(232, 102, 29, .45); outline-offset: 3px; }
.brand-hero,
.brand-article,
.brand-aside-card,
.brand-related { background: #fff; border: 1px solid #e9edf2; border-radius: 12px; box-shadow: 0 4px 20px rgba(24, 38, 59, .035); }
.brand-hero { overflow: hidden; }
.brand-hero-main { display: grid; grid-template-columns: 184px minmax(0, 1fr); align-items: start; gap: 30px; padding: 32px 36px; }
.brand-logo-box { width: 184px; height: 184px; display: grid; place-items: center; padding: 18px; border: 1px solid #e8edf2; border-radius: 12px; background: #fff; }
.brand-logo-box img { display: block; width: 100%; height: 100%; object-fit: contain; }
.brand-eyebrow { display: flex; align-items: center; gap: 10px; margin: 2px 0 10px; color: #8993a2; font-size: 13px; line-height: 1.5; }
.brand-eyebrow a { color: #dd6724; }
.brand-hero h1 { margin: 0 0 14px; color: #19263a; font-size: clamp(26px, 2.5vw, 34px); font-weight: 700; line-height: 1.35; overflow-wrap: anywhere; }
.brand-lead { max-width: 830px; margin: 0; color: #546175; font-size: 15px; line-height: 1.8; }
.brand-tag-list { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.brand-tag-label { margin-right: 3px; color: #778293; font-size: 13px; }
.brand-tag-list a { display: inline-flex; align-items: center; min-height: 30px; padding: 2px 11px; border: 1px solid #e6ebf1; border-radius: 5px; background: #f8fafc; color: #556174; font-size: 13px; line-height: 1.4; transition: border-color .2s, background .2s, color .2s; }
.brand-tag-list a:hover { border-color: #f4be9b; background: #fff6f0; color: #c85b1d; }
.brand-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; border-top: 1px solid #edf0f4; background: #fbfcfd; }
.brand-fact { min-width: 0; padding: 19px 24px; }
.brand-fact + .brand-fact { border-left: 1px solid #edf0f4; }
.brand-fact dt { margin-bottom: 6px; color: #8a94a2; font-size: 12px; line-height: 1.5; }
.brand-fact dd { margin: 0; color: #253247; font-size: 14px; font-weight: 500; line-height: 1.6; overflow-wrap: anywhere; }
.brand-fact dd a { color: #253247; }
.brand-fact dd a:hover { color: #dd6724; }
.brand-fact-website dd a { color: #c85b1d; }
.brand-tabs { display: flex; align-items: stretch; gap: 34px; margin: 20px 0 22px; padding: 0 28px; background: #fff; border: 1px solid #e9edf2; border-radius: 10px; overflow-x: auto; white-space: nowrap; scrollbar-width: thin; }
.brand-tabs a { display: inline-flex; align-items: center; min-height: 54px; padding: 0 4px; border-bottom: 3px solid transparent; color: #536076; font-size: 15px; font-weight: 500; }
.brand-tabs a:hover, .brand-tabs a.is-active { color: #c75b1e; border-bottom-color: #e96924; }
.brand-tabs a[hidden] { display: none; }
.brand-content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 258px; align-items: start; gap: 22px; }
.brand-article { min-width: 0; padding: 33px 38px 30px; }
.brand-section-heading { margin-bottom: 26px; padding-bottom: 22px; border-bottom: 1px solid #edf0f4; }
.brand-section-kicker { color: #c16833; font-size: 11px; font-weight: 700; letter-spacing: .14em; line-height: 1.5; }
.brand-section-heading h2, .brand-related-heading h2 { margin: 5px 0 5px; color: #1e2a3d; font-size: 25px; font-weight: 700; line-height: 1.4; }
.brand-section-heading p { margin: 0; color: #8a95a3; font-size: 13px; }
.brand-article-body { max-width: 800px; color: #364457; font-size: 16px; line-height: 1.95; overflow-wrap: anywhere; }
.brand-article-body > h2 { position: relative; margin: 32px 0 13px; padding: 0 0 0 15px; color: #243044; font-size: 20px; font-weight: 700; line-height: 1.45; scroll-margin-top: 110px; }
.brand-article-body > h2:first-child { margin-top: 0; }
.brand-article-body > h2::before { position: absolute; top: .22em; bottom: .22em; left: 0; width: 4px; border-radius: 4px; background: #e46b27; content: ""; }
.brand-article-body > h3 { margin: 24px 0 10px; color: #253247; font-size: 18px; font-weight: 700; scroll-margin-top: 110px; }
.brand-article-body > p { margin: 0 0 16px; color: #445166; font-size: 16px; font-weight: 400; line-height: 1.95; }
.brand-article-body a { color: #b9571e; }
.brand-article-body a:hover { text-decoration: underline; }
.brand-article-body table { display: block; max-width: 100%; overflow-x: auto; }
.brand-article-body .aiwriter-published-sources { margin-top: 34px; scroll-margin-top: 110px; }
.brand-article-tools { display: flex; justify-content: flex-end; margin-top: 20px; padding-top: 18px; border-top: 1px solid #edf0f4; }
.brand-article-tools a { color: #697789; font-size: 13px; }
.brand-article-tools a:hover { color: #c75b1e; }
.brand-copyright { margin-top: 20px; padding: 17px 20px; border-radius: 7px; background: #f8fafc; color: #8290a0; font-size: 12px; line-height: 1.8; overflow-wrap: anywhere; }
.brand-copyright a { color: #647287; }
.brand-copyright a:hover { color: #c75b1e; }
.brand-aside { display: grid; gap: 18px; }
.brand-aside-card { padding: 22px 20px; }
.brand-toc-card { position: sticky; top: 96px; }
.brand-toc-card h2 { margin: 0 0 14px; color: #263348; font-size: 16px; font-weight: 700; }
.brand-toc-card nav { display: grid; gap: 2px; border-left: 1px solid #e8edf2; }
.brand-toc-card nav a { display: block; margin-left: -1px; padding: 9px 10px 9px 14px; border-left: 2px solid transparent; color: #647185; font-size: 13px; line-height: 1.45; }
.brand-toc-card nav a:hover, .brand-toc-card nav a.is-active { border-left-color: #e46b27; background: #fff8f3; color: #bf581e; }
.brand-aside-ad { padding: 10px; overflow: hidden; }
.brand-aside-ad a { display: block; }
.brand-aside-ad img { display: block; width: 100%; height: auto; border-radius: 5px; }
.brand-related { margin: 24px 0 44px; padding: 27px 30px 30px; scroll-margin-top: 100px; }
.brand-related-heading { display: flex; align-items: end; justify-content: space-between; gap: 14px; margin-bottom: 18px; }
.brand-related-heading h2 { margin-bottom: 0; font-size: 22px; }
.brand-related-heading > a { color: #7c8898; font-size: 13px; white-space: nowrap; }
.brand-related-heading > a:hover { color: #c75b1e; }
.brand-related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.brand-related-item { display: grid; grid-template-columns: 58px minmax(0, 1fr) 9px; align-items: center; gap: 12px; min-width: 0; padding: 13px; border: 1px solid #e9edf2; border-radius: 8px; background: #fff; transition: border-color .2s, box-shadow .2s, transform .2s; }
.brand-related-item:hover { transform: translateY(-2px); border-color: #efc3aa; box-shadow: 0 8px 20px rgba(44, 56, 76, .07); }
.brand-related-logo { width: 58px; height: 58px; display: grid; place-items: center; padding: 7px; border: 1px solid #eef1f5; border-radius: 6px; background: #fff; }
.brand-related-logo img { width: 100%; height: 100%; object-fit: contain; }
.brand-related-copy { min-width: 0; }
.brand-related-copy strong, .brand-related-copy small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.brand-related-copy strong { color: #253247; font-size: 14px; font-weight: 600; }
.brand-related-copy small { margin-top: 4px; color: #8a94a2; font-size: 12px; }
.brand-related-item > i { color: #aab3be; }
@media (max-width: 991px) {
  .brand-content-layout { grid-template-columns: minmax(0, 1fr); }
  .brand-aside { display: none; }
  .brand-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brand-fact:nth-child(3) { border-left: 0; }
  .brand-fact:nth-child(n+3) { border-top: 1px solid #edf0f4; }
  .brand-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .brand-page.container { padding-left: 12px; padding-right: 12px; }
  .brand-hero-main { grid-template-columns: 88px minmax(0, 1fr); gap: 15px; padding: 20px 18px 17px; }
  .brand-logo-box { width: 88px; height: 88px; padding: 8px; border-radius: 8px; }
  .brand-eyebrow { margin: 0 0 5px; font-size: 12px; }
  .brand-hero h1 { margin: 0 0 7px; font-size: 22px; }
  .brand-lead { font-size: 13px; line-height: 1.65; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
  .brand-tag-list { grid-column: 1 / -1; margin-top: 6px; }
  .brand-tag-label { width: 100%; }
  .brand-fact { padding: 13px 16px; }
  .brand-fact dt { font-size: 11px; }
  .brand-fact dd { font-size: 13px; }
  .brand-tabs { gap: 25px; margin: 12px 0; padding: 0 18px; }
  .brand-tabs a { min-height: 46px; font-size: 14px; }
  .brand-article { padding: 22px 18px; }
  .brand-section-heading { margin-bottom: 21px; padding-bottom: 17px; }
  .brand-section-heading h2 { font-size: 21px; }
  .brand-article-body > h2 { margin-top: 26px; font-size: 18px; }
  .brand-article-body > p { font-size: 15px; line-height: 1.9; }
  .brand-related { margin: 14px 0 26px; padding: 22px 18px; }
  .brand-related-grid { grid-template-columns: 1fr; }
  .brand-related-heading h2 { font-size: 20px; }
  .brand-related-heading > a { font-size: 12px; }
}
@media (max-width: 420px) {
  .brand-facts { grid-template-columns: 1fr; }
  .brand-fact + .brand-fact { border-left: 0; border-top: 1px solid #edf0f4; }
}
@media (prefers-reduced-motion: reduce) {
  .brand-tag-list a, .brand-related-item { transition: none; }
}
