.news-detail-hero { position:relative; }
html.has-news-watermark .news-detail-hero::after { content:""; position:absolute; right:16px; bottom:16px; width:clamp(65px,20%,170px); aspect-ratio:450/125; background:var(--news-watermark) center/contain no-repeat; pointer-events:none; }
html body .red-header #brandLogo { max-width:var(--brand-max-width)!important; object-fit:contain; }
@media(max-width:760px){html body .red-header #brandLogo{max-height:35px!important;width:auto!important;max-width:100%!important;}}

/* Logo settings: one consistent card system, scoped away from public pages. */
html body #panelView .branding-pane { --brand-border:#e6e8ee; --brand-ink:#293245; }
html body #panelView .branding-heading { display:flex; justify-content:space-between; align-items:center; gap:24px; padding:26px 28px; margin-bottom:16px; background:#fff; border:1px solid var(--brand-border); border-radius:16px; }
html body #panelView .branding-eyebrow { color:#cc2043; font-size:10px; font-weight:800; letter-spacing:1.8px; }
html body #panelView .branding-heading h3 { font-size:24px; color:var(--brand-ink); margin:7px 0; }
html body #panelView .branding-heading p { margin:0; font-size:13px; color:#778094; }
html body #panelView .branding-size { display:grid; gap:6px; min-width:175px; font-size:11px; color:#697386; }
html body #panelView .branding-size select { min-height:38px; border:1px solid #dfe3ec; border-radius:8px; padding:7px 12px; background:#fafbfe; font-size:13px; }
html body #panelView .branding-assets-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
html body #panelView .branding-asset { min-width:0; padding:18px!important; margin:0!important; border:1px solid var(--brand-border); border-radius:14px; background:#fff; box-shadow:0 3px 12px #25324b04; }
html body #panelView .branding-card-head { display:flex; align-items:center; flex-wrap:wrap; gap:10px; margin-bottom:14px; }
html body #panelView .branding-card-icon { width:34px; height:34px; display:grid; place-items:center; border-radius:9px; color:#c72545; background:#fcf0f3; }
html body #panelView .branding-card-icon svg { width:19px; height:19px; }
html body #panelView .branding-card-head h4 { font-size:14px!important; color:var(--brand-ink); margin:0!important; padding:0!important; border:0!important; }
html body #panelView .branding-card-head p { font-size:11px; color:#8a92a2; margin:4px 0 0; }
html body #panelView .branding-dimensions { margin-left:auto; padding:5px 8px; background:#f3f5f9; border:1px solid #edf0f5; border-radius:6px; font-size:10px; color:#65728a; white-space:nowrap; }
html body #panelView .branding-preview { width:100%; height:145px; min-height:0; box-sizing:border-box; display:grid; place-items:center; border:1px dashed #dce1ea; border-radius:10px; padding:16px; margin:0 0 14px; overflow:hidden; background-color:#fafbfd; background-image:linear-gradient(45deg,#eef1f580 25%,transparent 25%),linear-gradient(-45deg,#eef1f580 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#eef1f580 75%),linear-gradient(-45deg,transparent 75%,#eef1f580 75%); background-size:16px 16px; background-position:0 0,0 8px,8px -8px,-8px 0; }
html body #panelView .branding-preview img { display:block; width:auto; height:auto; max-width:100%; max-height:110px; object-fit:contain; }
html body #panelView .branding-preview > span { display:flex; flex-direction:column; align-items:center; gap:8px; color:#9aa3b2; font-size:12px; }
html body #panelView .branding-preview > span > svg { width:28px; height:28px; }
html body #panelView .branding-preview [hidden] { display:none!important; }
html body #panelView .branding-card-footer { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:10px; }
html body #panelView .branding-format { font-size:10px; color:#8b93a3; }
html body #panelView .branding-card-footer .btn-inline { display:flex; gap:4px; margin:0; }
html body #panelView .branding-card-footer .btn { min-height:32px; padding:6px 10px; border-radius:7px; border:1px solid #e0e5ee; background:#fff; color:#45536a; font-size:11px; cursor:pointer; }
html body #panelView .branding-card-footer :is([data-branding-upload],#uploadLogoMedia) { background:#fdf2f4; border-color:#f0dce2; color:#c32646; }
html body #panelView .branding-card-footer .btn:hover { background:#edf1f7; }
html body #panelView .branding-pane :is(button,select):focus-visible { outline:3px solid #e69bae; outline-offset:3px; }
html body #panelView .branding-card-footer button:disabled { opacity:.4; cursor:default; }
html body #panelView .branding-asset [data-branding-status] { margin:8px 0 0; font-size:11px; }
html body #panelView .branding-asset [data-branding-status]:empty { display:none; }
html body #panelView .branding-note { margin-top:14px; padding:16px 20px; border:1px solid #e3e8f1; border-radius:12px; background:#f5f7fb; color:#707e94; font-size:12px; }
html body #panelView .branding-note strong { color:#4d5e78; font-size:12px; }
html body #panelView .branding-note p { margin:4px 0 0; }
@media(max-width:900px){html body #panelView .branding-assets-grid{grid-template-columns:1fr;}html body #panelView .branding-heading{align-items:flex-start;flex-direction:column;padding:20px;}html body #panelView .branding-size{width:100%;}html body #panelView .branding-heading h3{font-size:21px;}}
html body #panelView .branding-heading h3 { font-size:24px!important; line-height:1.3!important; }
html body #panelView .branding-size select { border-radius:8px!important; }
html body #panelView .branding-card-footer .btn { border-radius:7px!important; min-width:0!important; }
html body #panelView .branding-card-footer :is([data-branding-upload],#uploadLogoMedia) { background:#fdf2f4!important; border-color:#f0dce2!important; color:#c32646!important; }
@media(max-width:900px){html body #panelView .branding-heading h3{font-size:21px!important;}}
