/* OceanOfTools: 2026-11-05 screenshot-reference BLUE hero repair.
   Root cause fixed: previous header_footer.css adds a highly specific green
   .oot-standard-tool-hero rule at runtime. This stylesheet is loaded after it
   on tools/category routes and has matching specificity; no editor CSS changes.
   Visual reference: /image_tools/adjust_image_saturation_tool before that rule.
   Design: 90vw width; dark-navy/blue gradient; 20px radius; left aligned. */
:root { --oot-ref-hero-bg:linear-gradient(105deg,#10203f 0%,#163158 58%,#18446c 100%); }
html body.oot-unified-tool-page .oot-standard-tool-hero.oot-standard-tool-hero.oot-standard-tool-hero.oot-standard-tool-hero {
  box-sizing:border-box!important;
  position:relative!important;
  left:50%!important;
  transform:translateX(-50%)!important;
  display:block!important;
  flex-direction:initial!important;
  align-items:initial!important;
  justify-content:initial!important;
  grid-template-columns:none!important;
  width:90vw!important;
  max-width:90vw!important;
  min-width:0!important;
  min-height:120px!important;
  height:auto!important;
  margin:14px 0 8px!important;
  padding:16px 22px!important;
  border:1px solid rgba(255,255,255,.08)!important;
  border-radius:20px!important;
  background:var(--oot-ref-hero-bg)!important;
  background-color:#10203f!important;
  box-shadow:0 18px 44px rgba(7,20,38,.14)!important;
  color:#fff!important;
  text-align:left!important;
  overflow:hidden!important;
  isolation:isolate;
}
html body.oot-unified-tool-page .oot-standard-tool-hero.oot-standard-tool-hero.oot-standard-tool-hero.oot-standard-tool-hero::before,
html body.oot-unified-tool-page .oot-standard-tool-hero.oot-standard-tool-hero.oot-standard-tool-hero.oot-standard-tool-hero::after{
  display:none!important;
  content:none!important;
}
html body.oot-unified-tool-page .oot-standard-tool-hero.oot-standard-tool-hero.oot-standard-tool-hero.oot-standard-tool-hero :is(h1,h2){
  margin:0!important;
  padding:0!important;
  max-width:100%!important;
  color:#fff!important;
  background:none!important;
  -webkit-text-fill-color:#fff!important;
  text-shadow:none!important;
  font-size:clamp(1.62rem,2.7vw,2.28rem)!important;
  font-weight:900!important;
  line-height:1.08!important;
  letter-spacing:-.035em!important;
  text-align:left!important;
  text-transform:none!important;
  overflow-wrap:break-word!important;
}
html body.oot-unified-tool-page .oot-standard-tool-hero.oot-standard-tool-hero.oot-standard-tool-hero.oot-standard-tool-hero p:not(.is-eyebrow):not(.pfts-eyebrow):not(.seo-eyebrow):not(.oat-eyebrow):not(.mt-eyebrow){
  margin:5px 0 0!important;
  padding:0!important;
  max-width:1040px!important;
  color:#d5dfed!important;
  -webkit-text-fill-color:#d5dfed!important;
  font-size:.9rem!important;
  font-weight:400!important;
  line-height:1.45!important;
  letter-spacing:normal!important;
  text-align:left!important;
  opacity:1!important;
}
/* Keep descriptions and H1, remove non-reference icons/kickers/marketing chips.
   These are only nested inside the identified first hero, never tool controls. */
html body.oot-unified-tool-page .oot-standard-tool-hero.oot-standard-tool-hero.oot-standard-tool-hero.oot-standard-tool-hero :is(
 .hero-icon,.is-hero-icon,.filter-hero-icon,.pfts-hero-icon,.pdfc-hero-icon,
 .seo-hero-icon,.dev-hero-icon,.mt-hero-icon,.device-hero__icon,
 .rb-hero-icon,.op-hero-icon,.pa-hero-icon,.mt-hero-orb,
 .is-eyebrow,.pfts-eyebrow,.pdfc-eyebrow,.seo-eyebrow,.seo-kicker,.dev-kicker,
 .mt-eyebrow,.oat-eyebrow,.is-badges,.pfts-trust-row,.pdfc-trust-row,
 .seo-trust,.dev-trust,.mt-trust-row,.oat-trust,.pa-trust,.op-trust,
 .device-badges,.device-hero__badges,.device-hero__stats
){display:none!important;}
html body.oot-unified-tool-page .oot-standard-tool-hero.oot-standard-tool-hero.oot-standard-tool-hero.oot-standard-tool-hero :is(
 .oot-hero-head,.oot-hero-copy,.mt-hero-content,.filter-hero-copy
){display:block!important;width:auto!important;max-width:none!important;margin:0!important;padding:0!important;}
/* Some category-landing pages already use the dedicated shared hero component. */
html body.oot-unified-tool-page .oot-standard-tool-hero.oot-standard-tool-hero.oot-standard-tool-hero.oot-standard-tool-hero .oot-category-hero__copy{
  width:100%!important;
  max-width:none!important;
}
/* Existing section-specific grid/flex shells may contain a second empty column. */
html body.oot-unified-tool-page .oot-standard-tool-hero.oot-standard-tool-hero.oot-standard-tool-hero.oot-standard-tool-hero > div{
  min-width:0!important;
}
@media(max-width:720px){
 html body.oot-unified-tool-page .oot-standard-tool-hero.oot-standard-tool-hero.oot-standard-tool-hero.oot-standard-tool-hero{
  width:calc(100vw - 10px)!important;
  max-width:calc(100vw - 10px)!important;
  min-height:116px!important;
  margin:8px 0 6px!important;
  padding:13px 15px!important;
  border-radius:16px!important;
 }
 html body.oot-unified-tool-page .oot-standard-tool-hero.oot-standard-tool-hero.oot-standard-tool-hero.oot-standard-tool-hero :is(h1,h2){
  font-size:clamp(1.28rem,6.2vw,1.65rem)!important;
  line-height:1.1!important;
 }
 html body.oot-unified-tool-page .oot-standard-tool-hero.oot-standard-tool-hero.oot-standard-tool-hero.oot-standard-tool-hero p:not(.is-eyebrow):not(.pfts-eyebrow):not(.seo-eyebrow):not(.oat-eyebrow):not(.mt-eyebrow){
  font-size:.76rem!important;
  line-height:1.38!important;
  margin-top:4px!important;
 }
}
/* Respect enlarged text / long translated tool titles without clipping copy. */

/* Parent wrappers in the PDF, SEO and Developer families add different top padding.
   Compensate only the hero margin, keeping the tool workspace untouched. */
@media(min-width:721px){
 html body.oot-tool-pdf main.pfts-page > .oot-standard-tool-hero.oot-standard-tool-hero.oot-standard-tool-hero.oot-standard-tool-hero { margin-top:-14px!important; }
 html body.oot-tool-pdf main.pdfc-page > .oot-standard-tool-hero.oot-standard-tool-hero.oot-standard-tool-hero.oot-standard-tool-hero { margin-top:-10px!important; }
 html body.oot-tool-seo main.seo-page > .oot-standard-tool-hero.oot-standard-tool-hero.oot-standard-tool-hero.oot-standard-tool-hero { margin-top:0!important; }
 html body.oot-tool-dev main.dev-page > .oot-standard-tool-hero.oot-standard-tool-hero.oot-standard-tool-hero.oot-standard-tool-hero { margin-top:-8px!important; }
}
@media(max-width:720px){
 html body.oot-tool-pdf main:is(.pfts-page,.pdfc-page) > .oot-standard-tool-hero.oot-standard-tool-hero.oot-standard-tool-hero.oot-standard-tool-hero { margin-top:-2px!important; }
 html body.oot-tool-seo main.seo-page > .oot-standard-tool-hero.oot-standard-tool-hero.oot-standard-tool-hero.oot-standard-tool-hero { margin-top:0!important; }
 html body.oot-tool-dev main.dev-page > .oot-standard-tool-hero.oot-standard-tool-hero.oot-standard-tool-hero.oot-standard-tool-hero { margin-top:-2px!important; }
}
