/* 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;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{display:flex;align-items:center;flex-wrap:wrap;gap:8px;font-size:14px;line-height:20px;color:#566c74}
#st-sop-detail .ssd-breadcrumb a{color:inherit}
#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-table-head,#st-sop-detail summary{display:grid;grid-template-columns:48px minmax(0,1fr) 120px 100px 150px;gap:16px;padding:16px 20px;align-items:center}
#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:#718589;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;overflow:hidden;box-shadow:0 1px 2px #0000000d}
#st-sop-detail details{border-bottom:1px solid #edf1f1}
#st-sop-detail details:last-child{border-bottom:0}
#st-sop-detail summary{list-style:none;cursor:pointer;font-size:16px;line-height:24px}
#st-sop-detail summary::-webkit-details-marker{display:none}
#st-sop-detail summary:hover{background:#f7fafa}
#st-sop-detail .ssd-task-name{font-weight:500}
#st-sop-detail .ssd-number,#st-sop-detail .ssd-assignee,#st-sop-detail .ssd-due{font-size:14px;color:#91a0a3}
#st-sop-detail .ssd-how{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:14px;color:#6c7f83}
#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:#77898d}
#st-sop-detail .ssd-task-body p{font-size:14px;line-height:24px;color:inherit}
#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 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:#6b7e83}
#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:#718589;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):focus-visible{outline:3px solid #79b7ad;outline-offset:3px}
@media(max-width:1200px) and (min-width:1024px){#st-sop-detail .ssd-table-head,#st-sop-detail summary{grid-template-columns:24px minmax(0,1fr) 80px 64px 96px;gap:12px}}
@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 summary{grid-template-columns:32px minmax(0,1fr) auto;gap:12px;padding:16px}#st-sop-detail .ssd-assignee,#st-sop-detail .ssd-due,#st-sop-detail .ssd-how>span{display:none}#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-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}
