/* /ehs-management/ihazop-ai-hazop-software/ = the iHAZOP page (same structure) in the white theme; generated from ihazop.css. */
/* iHAZOP™ page: the original custom design, scoped to #ihazop-page (copied as-is from ihazop/new/index.html). */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700;900&family=IBM+Plex+Mono:wght@400;500&display=swap');
/* iHAZOP™ – AI HAZOP™ software · Sparrow — scoped to #ihazop-page only */
#ihazop-page,#ihazop-page *,#ihazop-page *::before,#ihazop-page *::after{box-sizing:border-box}
#ihazop-page{-webkit-text-size-adjust:100%;margin:0;background:#ffffff}
#ihazop-page img,#ihazop-page video{max-width:100%;height:auto}
#ihazop-page a{color:#1f9a55}
#ihazop-page a:hover{color:#111218}
#ihazop-page details summary{list-style:none;cursor:pointer}
#ihazop-page details summary::-webkit-details-marker{display:none}
#ihazop-page details[open] .plus{transform:rotate(45deg)}
#ihazop-page summary:focus-visible,#ihazop-page a:focus-visible{outline:2px solid #1f9a55;outline-offset:4px;border-radius:6px}
/* hero background image (same as AI PTW hero) */
#ihazop-page .ihz-hero-bg{position:absolute;inset:0;z-index:0;background-image:url('../../assets/images/pages/ihazop/bg-22.webp');background-size:cover;background-position:center;background-attachment:fixed;opacity:.13;pointer-events:none}
#ihazop-page .ihz-hero>*:not(.ihz-hero-bg){position:relative;z-index:1}
/* tour: 3 + 3 grid → 2 cols on tablet → 1 col on mobile */
@media (max-width:1024px){#ihazop-page div.ihz-tour-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media (max-width:600px){#ihazop-page div.ihz-tour-grid{grid-template-columns:1fr!important}}
/* tables scroll on small screens */
#ihazop-page table{max-width:100%}
@media (max-width:760px){
  #ihazop-page section{padding-left:16px!important;padding-right:16px!important;padding-top:56px!important;padding-bottom:56px!important}
  #ihazop-page h1{font-size:64px!important}
  #ihazop-page h2{font-size:34px!important}
  #ihazop-page table{display:block;overflow-x:auto;white-space:normal}
  #ihazop-page [style*="grid-template-columns"]{grid-template-columns:1fr!important}}
@media (prefers-reduced-motion:reduce){#ihazop-page,#ihazop-page *{transition:none!important;animation:none!important}}
/* keep the page's own fonts: site heading/text rules must not replace Lato / IBM Plex Mono */
#ihazop-page :is(h1,h2,h3,h4,h5,h6,p,li,summary,a,span,div,td,th,strong,small,figcaption){font-family:inherit}
#ihazop-page :is(h1,h2,h3,h4,h5,h6){text-wrap:inherit}

/* header + breadcrumb flow into the hero as one soft mint band (this page only) */
[data-theme="light"] body.page-ehs-management-ihazop-ai-hazop-software .nav{background:rgba(238,246,241,.92);border-bottom-color:rgba(31,154,85,.12)}
body.page-ehs-management-ihazop-ai-hazop-software .aiptw-crumbs{position:relative;z-index:3;height:56px;margin-bottom:-56px;padding-top:22px}
#ihazop-page .ihz-hero{background-color:#fff!important;background-image:linear-gradient(180deg,#eef6f1 0%,#f4faf6 30%,#fff 85%)!important;padding-top:130px!important}
#ihazop-page .ihz-hero-bg{-webkit-mask-image:linear-gradient(180deg,transparent 0%,#000 30%);mask-image:linear-gradient(180deg,transparent 0%,#000 30%)}
/* hero headline: same dark-to-green gradient as AI BBSO */
#ihazop-page .ihz-hero h1{background-image:linear-gradient(178deg,#14161e 35%,#2f6b50 100%)!important}
/* hero background: same layers as AI BBSO (mint-to-white base + bg-22 pattern at .13 + soft green glow, both faded in at the top) */
#ihazop-page .ihz-hero{overflow:hidden}
#ihazop-page .ihz-hero-bg{opacity:.13}
#ihazop-page .ihz-hero::before{content:"";position:absolute;inset:-20% -10% auto -10%;height:120%;background:radial-gradient(58% 52% at 50% 20%,rgba(31,154,85,.22),rgba(255,255,255,0) 70%);pointer-events:none;z-index:0;-webkit-mask-image:linear-gradient(180deg,transparent 0%,#000 30%);mask-image:linear-gradient(180deg,transparent 0%,#000 30%)}
