/* Shared single-SOP layout. Content remains in the existing ACF fields. */
#st-sop-detail{font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;--ssd-secondary:#4b6267;--ssd-focus:#1d4d46;--ssd-on-dark:#fff;color:#0f1416;font-size:16px;line-height:1.5;background:#fff;padding-top:80px}
#st-sop-detail *{box-sizing:border-box}
#st-sop-detail .ssd-container{width:100%;max-width:1440px;padding:0 40px;margin:0 auto}
#st-sop-detail section{padding:80px 0}
#st-sop-detail h1,#st-sop-detail h2,#st-sop-detail h3{font-family:inherit;font-weight:600;letter-spacing:-.025em;color:inherit;padding:0;margin:0}
#st-sop-detail h1{font-size:48px;line-height:1.08;letter-spacing:-.03em;max-width:896px}
#st-sop-detail h2{font-size:36px;line-height:40px}
#st-sop-detail h3{font-size:20px;line-height:28px}
#st-sop-detail p{padding:0;margin:0;font-size:16px;line-height:28px;color:#607277}
#st-sop-detail a{color:#397977;text-decoration:none}
#st-sop-detail .ssd-hero{padding:64px 0;background:#f7fafa;border-bottom:1px solid #e2e9e8}
#st-sop-detail .ssd-breadcrumb{font-size:14px;line-height:20px;color:#566c74}
#st-sop-detail .ssd-breadcrumb ol{display:flex;align-items:baseline;flex-wrap:wrap;gap:8px;list-style:none;padding:0;margin:0}
#st-sop-detail .ssd-breadcrumb li{display:flex;align-items:baseline;gap:8px;min-width:0;max-width:100%}
#st-sop-detail .ssd-breadcrumb a{color:inherit}
#st-sop-detail .ssd-separator{flex-shrink:0}
#st-sop-detail .ssd-hero-grid{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:40px;align-items:start;margin-top:32px}
#st-sop-detail .ssd-tags{display:flex;gap:8px;flex-wrap:wrap;margin-top:20px}
#st-sop-detail .ssd-tags span{background:#e9eeee;color:#4d6065;font-size:12px;line-height:16px;padding:6px 12px;border-radius:3px}
#st-sop-detail .ssd-tags span:first-child{background:#e8efee;color:#2f5c5a;font-weight:600}
#st-sop-detail .ssd-description{margin-top:24px;max-width:768px;color:#53676c;font-size:18px;line-height:32px}
#st-sop-detail .ssd-description p{font:inherit;color:inherit;margin-top:16px}
#st-sop-detail .ssd-description p:first-child{margin-top:0}
#st-sop-detail .ssd-intro{padding:20px;border:1px solid #dce6e4;border-radius:12px;background:white;box-shadow:0 1px 2px #0000000d;font-size:14px;line-height:20px}
#st-sop-detail .ssd-intro p{font-size:14px;line-height:24px;margin-top:8px}
#st-sop-detail .ssd-task-grid{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:40px;align-items:start}
#st-sop-detail .ssd-template-note{font-size:14px;line-height:24px;color:var(--ssd-secondary);margin-bottom:16px}
#st-sop-detail .ssd-table-head,#st-sop-detail .ssd-task-header{display:grid;grid-template-columns:minmax(0,1fr) 120px 110px;gap:16px;padding:16px 20px;align-items:start}
#st-sop-detail .ssd-table-head{padding-top:12px;padding-bottom:12px;font-size:12px;line-height:16px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--ssd-secondary);background:#f1f6f5;border:1px solid #dfe8e6;border-radius:12px 12px 0 0}
#st-sop-detail .ssd-task-list{border:1px solid #dfe8e6;border-top:0;border-radius:0 0 12px 12px;box-shadow:0 1px 2px #0000000d}
#st-sop-detail section.ssd-task{padding:0;border-bottom:1px solid #edf1f1;min-width:0}
#st-sop-detail .ssd-task:last-child{border-bottom:0}
#st-sop-detail .ssd-task-header{padding-bottom:0}
#st-sop-detail h2.ssd-task-name{display:grid;grid-template-columns:32px minmax(0,1fr);gap:12px;font-size:16px;line-height:24px;font-weight:500;letter-spacing:normal}
#st-sop-detail .ssd-number,#st-sop-detail .ssd-assignee,#st-sop-detail .ssd-due{font-size:14px;line-height:24px;font-weight:400;color:var(--ssd-secondary)}
#st-sop-detail .ssd-number{align-self:center}
#st-sop-detail .ssd-sr-only,#st-sop-detail .ssd-field-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
#st-sop-detail summary{display:flex;align-items:center;min-height:44px;width:fit-content;max-width:calc(100% - 40px);margin:4px 20px 12px 64px;padding:8px 12px;list-style:none;cursor:pointer;border-radius:4px;font-size:14px;line-height:24px;color:var(--ssd-secondary)}
#st-sop-detail summary::-webkit-details-marker{display:none}
#st-sop-detail summary:hover,#st-sop-detail details[open]>summary{background:#f1f6f5}
#st-sop-detail .ssd-how{display:flex;align-items:center;gap:12px;color:inherit}
#st-sop-detail .ssd-how i{width:7px;height:7px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg);margin:0 4px;flex-shrink:0;transition:transform .15s}
#st-sop-detail details[open] .ssd-how i{transform:rotate(225deg)}
#st-sop-detail .ssd-task-body{border-top:1px solid #edf1f1;background:#f9fbfb;padding:20px 20px 20px 84px;font-size:14px;line-height:24px;color:var(--ssd-secondary)}
#st-sop-detail .ssd-task-body p{font-size:14px;line-height:24px;color:inherit}
#st-sop-detail .ssd-task-metadata{display:none}
#st-sop-detail .ssd-task-instructions+ol{margin-top:20px}
#st-sop-detail .ssd-task-instructions p+p{margin-top:12px}
#st-sop-detail .ssd-task-body h3{font-size:16px;line-height:24px;margin-bottom:8px}
#st-sop-detail .ssd-task-body ol{padding:0 0 0 20px;list-style:decimal}
#st-sop-detail .ssd-task-body li+li{margin-top:20px}
#st-sop-detail .ssd-task-body ul{list-style:disc;padding-left:20px}
#st-sop-detail .ssd-task-body img{max-width:100%;height:auto}
#st-sop-detail .ssd-pdf{display:inline-block;margin-top:16px;font-weight:600}
#st-sop-detail .ssd-sidebar{position:sticky;top:112px}
#st-sop-detail .ssd-sidebar-card{border-radius:16px;padding:28px;background:linear-gradient(145deg,#1b302d,#315b57 65%,#1d4d46);color:white;box-shadow:0 12px 20px #183e3429}
#st-sop-detail .ssd-icon{width:32px;height:32px;color:#a9d2cc;display:block;margin-bottom:24px}
#st-sop-detail .ssd-sidebar h2{font-size:24px;line-height:32px}
#st-sop-detail .ssd-sidebar p{font-size:14px;line-height:28px;color:#ffffffb3;margin-top:20px}
#st-sop-detail .ssd-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;margin-top:32px;padding:10px 16px;border:0;border-radius:6px;background:#397977;color:white;font-size:14px;font-weight:500;line-height:20px;box-shadow:0 1px 2px #0000000d}
#st-sop-detail .ssd-button:hover{filter:brightness(.94)}
#st-sop-detail .ssd-sidebar .ssd-button{background:white;color:#173634;width:100%}
#st-sop-detail .ssd-sidebar-benefits{list-style:none;padding:0;margin:24px 0 0;display:grid;gap:16px;font-size:14px;color:#607277}
#st-sop-detail .ssd-sidebar-benefits li{display:flex;gap:12px}
#st-sop-detail .ssd-sidebar-benefits li:before{content:'✓';color:#397977}
#st-sop-detail .ssd-conversion{background:#f7fafa;border-block:1px solid #e2e9e8}
#st-sop-detail .ssd-conversion-grid{display:grid;grid-template-columns:1fr .75fr;gap:40px;align-items:center}
#st-sop-detail .ssd-kicker{font-size:14px;line-height:20px;color:#397977;font-weight:600;margin-bottom:12px}
#st-sop-detail .ssd-lead{font-size:18px;line-height:32px;max-width:672px;margin-top:16px}
#st-sop-detail .ssd-quote{border:1px solid #dfe8e6;background:white;border-radius:16px;padding:28px;box-shadow:0 1px 2px #0000000d}
#st-sop-detail .ssd-founder{display:flex;align-items:center;gap:16px}
#st-sop-detail .ssd-founder>picture{display:block;flex:0 0 64px;width:64px;height:64px}
#st-sop-detail .ssd-founder img{width:64px;height:64px;border-radius:50%;object-fit:cover;flex-shrink:0}
#st-sop-detail .ssd-founder p{font-size:14px;line-height:20px;margin-top:4px;color:var(--ssd-secondary)}
#st-sop-detail blockquote{border:0;margin:24px 0 0;padding:0;font-size:18px;font-weight:500;line-height:32px;color:#304348}
#st-sop-detail .ssd-related-heading{display:flex;justify-content:space-between;align-items:end;gap:16px}
#st-sop-detail .ssd-related-heading h2{font-size:30px;line-height:36px}
#st-sop-detail .ssd-related-heading>a{font-size:14px;font-weight:600;white-space:nowrap}
#st-sop-detail .ssd-related-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:40px}
#st-sop-detail .ssd-related-card{border:1px solid #dfe8e6;border-radius:12px;padding:24px;display:flex;flex-direction:column;color:#0f1416;box-shadow:0 1px 2px #0000000d;transition:transform .2s}
#st-sop-detail .ssd-related-card:hover{transform:translateY(-2px);border-color:#9abdb8}
#st-sop-detail .ssd-card-meta{display:flex;justify-content:space-between;align-items:start;gap:16px;font-size:12px;line-height:16px}
#st-sop-detail .ssd-card-meta>span{background:#e8efee;padding:4px 10px;border-radius:3px;color:#2f5c5a;font-weight:600}
#st-sop-detail .ssd-card-meta small{font-size:12px;color:var(--ssd-secondary);white-space:nowrap}
#st-sop-detail .ssd-related-card h3{margin-top:20px}
#st-sop-detail .ssd-related-card p{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;margin-top:12px;color:#586a70}
#st-sop-detail .ssd-related-card>strong{margin-top:auto;padding-top:24px;font-size:14px;color:#397977}
#st-sop-detail .ssd-value-strip{padding:48px 0;border-block:1px solid #e2e9e8}
#st-sop-detail .ssd-value-strip .ssd-container{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
#st-sop-detail .ssd-value-strip .ssd-container>div{display:flex;align-items:center;gap:12px;background:#f7fafa;padding:16px;border-radius:8px;font-size:14px;font-weight:500}
#st-sop-detail .ssd-value-strip span{color:#397977;font-size:20px}
#st-sop-detail .ssd-final{background:linear-gradient(135deg,#0a2925,#1d4d47 58%,#0b312c);color:white;text-align:center}
#st-sop-detail .ssd-final .ssd-icon{margin:0 auto 20px;width:36px;height:36px}
#st-sop-detail .ssd-final h2{font-size:48px;line-height:48px}
#st-sop-detail .ssd-final p{font-size:18px;line-height:32px;color:#ffffffbf;max-width:672px;margin:16px auto 0}
#st-sop-detail .ssd-final .ssd-button{background:#ffffff1a;border:1px solid #ffffff73;padding:9px 16px;color:white}
#st-sop-detail .ssd-empty{padding:24px}
#st-sop-detail :is(a,summary,button):focus-visible{outline:3px solid var(--ssd-focus);outline-offset:3px}
#st-sop-detail :is(.ssd-sidebar-card,.ssd-final) a:focus-visible{outline-color:var(--ssd-on-dark)}
#st-sop-detail :is(a,summary,button){scroll-margin-block:112px max(180px,var(--ssd-cookie-clearance,0px))}
/* Leave room to scroll the last footer link above the fixed consent banner. */
body.single-sop-templates #page-container{padding-block-end:var(--ssd-cookie-clearance,0px)}
body.single-sop-templates #main-footer :is(a,button){scroll-margin-block:112px var(--ssd-cookie-clearance,0px)}
body.single-sop-templates #main-footer :is(a,button):focus-visible{outline:3px solid #fff;outline-offset:3px}
@media(max-height:480px){
body.single-sop-templates > .cky-consent-container.cky-banner-bottom{max-height:min(55vh,calc(100vh - 144px));max-height:min(55dvh,calc(100dvh - 144px));overflow-y:auto}
}
#st-sop-detail{overflow-wrap:anywhere;scroll-margin-top:100px}
.ssd-skip{position:fixed;top:12px;left:12px;z-index:1000000;transform:translateY(-200%);padding:12px 20px;background:#fff;color:#1d4d46;font:600 16px/24px system-ui;text-decoration:underline}
.ssd-skip:focus{transform:none;outline:3px solid #1d4d46;outline-offset:3px}
#st-sop-detail .ssd-button{min-height:44px}
#st-sop-detail .ssd-task-body a{text-decoration:underline;text-underline-offset:3px}
@media(max-width:1023px){#st-sop-detail .ssd-container{padding:0 32px}#st-sop-detail .ssd-hero-grid,#st-sop-detail .ssd-task-grid,#st-sop-detail .ssd-conversion-grid{grid-template-columns:1fr}#st-sop-detail .ssd-sidebar{position:static}#st-sop-detail .ssd-hero,#st-sop-detail .ssd-tasks-section{padding:56px 0}#st-sop-detail .ssd-final h2{font-size:36px;line-height:40px}#st-sop-detail .ssd-value-strip .ssd-container{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:767px){#st-sop-detail .ssd-table-head{display:none}#st-sop-detail .ssd-task-list{border-top:1px solid #dfe8e6;border-radius:12px}#st-sop-detail .ssd-task-header{grid-template-columns:minmax(0,1fr);gap:8px;padding:16px 16px 0}#st-sop-detail .ssd-field-label{position:static;width:auto;height:auto;padding:0;margin:0;overflow:visible;clip-path:none;white-space:normal}#st-sop-detail h2.ssd-task-name{font-size:16px;line-height:24px;letter-spacing:-.01em;grid-template-columns:32px minmax(0,1fr);gap:12px;width:calc(100% - 27px)}#st-sop-detail summary{margin-left:16px;margin-right:16px;max-width:calc(100% - 32px)}#st-sop-detail .ssd-task-body{padding:20px}#st-sop-detail .ssd-related-grid{grid-template-columns:1fr}}
@media(max-width:639px){#st-sop-detail{padding-top:64px}#st-sop-detail .ssd-container{padding:0 20px}#st-sop-detail h1{font-size:36px}#st-sop-detail h2,#st-sop-detail .ssd-final h2{font-size:30px;line-height:36px}#st-sop-detail .ssd-related-heading{flex-direction:column;align-items:start}#st-sop-detail .ssd-related-heading>a{white-space:normal}#st-sop-detail .ssd-value-strip .ssd-container{grid-template-columns:1fr}}
/* Divi already offsets normal single posts for the fixed header. */
body.single-sop-templates.et_fixed_nav.et_show_nav #page-container{padding-top:80px!important}
#st-sop-detail{padding-top:0}
@media(max-width:639px){body.single-sop-templates.et_fixed_nav.et_show_nav #page-container{padding-top:64px!important}}

/* The final section has one CTA: use the primary inverse button. */
#st-sop-detail .ssd-final .ssd-button{background:#fff;color:#2c5d5c;border:1px solid transparent;padding:11px 32px;min-height:48px;line-height:24px}
#st-sop-detail .ssd-final .ssd-button:is(:hover,:focus-visible){background:#f1f8f8;color:#2c5d5c;filter:none}

#st-sop-detail .ssd-task-grid>*,#st-sop-detail .ssd-hero-grid>*{min-width:0}

/* The native summary covers the task header, preserving the original row interaction. */
#st-sop-detail section.ssd-task{position:relative}
#st-sop-detail .ssd-task-header{position:relative;z-index:1;pointer-events:none}
#st-sop-detail .ssd-task summary{position:absolute;z-index:0;top:0;left:0;right:0;transform:none;display:flex;align-items:flex-end;width:100%;max-width:none;height:var(--ssd-task-header-height,176px);margin:0;padding:0 16px 16px;border-radius:0;background:transparent}
#st-sop-detail .ssd-task summary:hover{background:#f7fafa}
#st-sop-detail .ssd-task details[open]>summary:not(:hover){background:transparent}
#st-sop-detail .ssd-task .ssd-how{min-height:0;padding:0;justify-content:space-between}
#st-sop-detail .ssd-task-header{padding-bottom:calc(var(--ssd-how-label-height,24px) + 24px)}
#st-sop-detail .ssd-task summary:focus-visible{outline-offset:-3px}
#st-sop-detail .ssd-task:last-child details:not([open])>summary,#st-sop-detail .ssd-task:last-child .ssd-task-body{border-radius:0 0 11px 11px}
/* On mobile and tablet, put task metadata inside the native disclosure. */
@media(max-width:1023px){
#st-sop-detail .ssd-table-head{display:none}
#st-sop-detail .ssd-task-list{border-top:1px solid #dfe8e6;border-radius:12px}
#st-sop-detail .ssd-task-header{grid-template-columns:minmax(0,1fr);gap:0;padding:16px}
#st-sop-detail h2.ssd-task-name{grid-template-columns:32px minmax(0,1fr);gap:12px;width:calc(100% - 27px);letter-spacing:-.01em}
#st-sop-detail .ssd-task-header .ssd-assignee,#st-sop-detail .ssd-task-header .ssd-due{display:none}
#st-sop-detail .ssd-task .ssd-how-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
#st-sop-detail .ssd-task summary{height:var(--ssd-task-header-height,80px);align-items:center;justify-content:flex-end;padding:16px}
#st-sop-detail .ssd-task .ssd-how{width:15px;height:7px}
#st-sop-detail .ssd-task .ssd-how i{position:absolute;right:16px;top:calc(16px + var(--ssd-task-title-height,48px)/2 - 3.5px)}
#st-sop-detail .ssd-task-metadata{display:grid;gap:4px;margin:0 0 20px;padding:0 0 16px;border-bottom:1px solid #dfe8e6;font-size:14px;line-height:24px;color:var(--ssd-secondary)}
#st-sop-detail .ssd-task-metadata>div{display:flex;flex-wrap:wrap;gap:0 4px}
#st-sop-detail .ssd-task-metadata dt{font-weight:600}
#st-sop-detail .ssd-task-metadata dd{margin:0}
#st-sop-detail .ssd-task-body{padding:20px}
}
@media(min-width:1024px){
#st-sop-detail .ssd-table-head,#st-sop-detail .ssd-task{--ssd-number-width:48px;--ssd-how-width:150px;--ssd-task-gap:16px}
#st-sop-detail .ssd-table-head,#st-sop-detail .ssd-task-header,#st-sop-detail .ssd-task summary{display:grid;grid-template-columns:var(--ssd-number-width) minmax(0,1fr) 120px 100px var(--ssd-how-width);gap:var(--ssd-task-gap);align-items:center}
#st-sop-detail .ssd-task-header{padding:16px 20px;min-height:56px}
#st-sop-detail h2.ssd-task-name{grid-column:1 / span 2;grid-template-columns:var(--ssd-number-width) minmax(0,1fr);gap:var(--ssd-task-gap)}
#st-sop-detail .ssd-assignee{grid-column:3}
#st-sop-detail .ssd-due{grid-column:4}
#st-sop-detail .ssd-task summary{height:var(--ssd-task-header-height,56px);padding:16px 20px}
#st-sop-detail .ssd-task .ssd-how{grid-column:5;width:100%}
}
@media(min-width:1024px) and (max-width:1200px){
#st-sop-detail .ssd-table-head,#st-sop-detail .ssd-task{--ssd-number-width:24px;--ssd-how-width:112px;--ssd-task-gap:8px}
#st-sop-detail .ssd-table-head,#st-sop-detail .ssd-task-header,#st-sop-detail .ssd-task summary{grid-template-columns:var(--ssd-number-width) minmax(0,1fr) 96px 88px var(--ssd-how-width);padding-left:16px;padding-right:16px;align-items:start}
#st-sop-detail .ssd-number{align-self:start}
#st-sop-detail .ssd-task .ssd-how{gap:8px}
}
