/* Detail styles are deliberately scoped so the verified homepage stays unchanged. */
.onstaz-detail #main-content { margin:0; padding:0; max-width:none; }
.onstaz-detail .wp-block-group > .wp-block-group__inner-container { display:contents; }
.onstaz-detail .wp-block-group { margin-block:0; }
.onstaz-standard.onstaz-detail .site-header { position:absolute; top:0; background:transparent; }
.onstaz-detail-section { position:relative; isolation:isolate; padding:70px 4vw; overflow:hidden; }
.onstaz-detail-section > :not(.onstaz-detail-backdrop) { position:relative; z-index:1; }
.onstaz-detail-backdrop { position:absolute!important; inset:0; width:100%; height:100%; margin:0!important; z-index:-1!important; pointer-events:none; }
.onstaz-detail-backdrop img { display:block; width:100%; height:100%; object-fit:cover; }
.onstaz-detail-section h1 { font-size:clamp(34px,4.1vw,64px); font-weight:700; line-height:1.3; margin:0 0 28px; }
.onstaz-detail-section h2 { font-size:clamp(30px,3.2vw,48px); font-weight:700; line-height:1.3; margin:0 0 30px; }
.onstaz-detail-section h3 { font-size:clamp(28px,2.6vw,42px); font-weight:700; line-height:1.4; margin:0 0 24px; }
.onstaz-detail-section p,.onstaz-detail-section li { font-size:clamp(18px,1.65vw,25px); line-height:1.75; }
.onstaz-detail-section p { margin:0 0 22px; }
.onstaz-detail-section ul { padding-left:1.3em; margin:22px 0 30px; }
.onstaz-detail-section li { margin-bottom:14px; }
.onstaz-detail-row.wp-block-columns { display:grid!important; grid-template-columns:minmax(0,1fr) minmax(0,1.8fr); gap:4vw; align-items:center; margin:0 auto; max-width:1500px; }
.onstaz-detail-row .wp-block-column { min-width:0; }
.onstaz-detail-row .wp-block-image { margin:0; }
.onstaz-detail-row img { display:block; max-width:100%; height:auto; }
mark.onstaz-detail-highlight { background:transparent; color:inherit; text-decoration:underline; text-decoration-thickness:.11em; text-underline-offset:.16em; }
.onstaz-detail-buttons { margin:30px 0 0; }
.onstaz-detail-buttons .wp-block-button__link { background:#ffc700; color:#000; border-radius:999px; min-height:58px; padding:17px 38px; font-size:18px; font-weight:500; }
.onstaz-detail-buttons .wp-block-button__link:hover { filter:brightness(.94); }
.onstaz-event-hero { padding-top:180px; padding-bottom:100px; color:#fff; background:#001012; text-align:center; }
.onstaz-event-hero .onstaz-detail-backdrop::after { content:''; position:absolute; inset:0; background:rgba(0,0,0,.15); }
.onstaz-event-hero h1 { max-width:1200px; margin:0 auto 32px; }
.onstaz-event-hero p { max-width:1080px; margin:0 auto 22px; font-weight:700; }
.onstaz-text-gold { color:#ffc700; }
.onstaz-event-hero::after { content:''; position:absolute; bottom:-1px; left:0; width:100%; height:6vw; background:#046e62; clip-path:polygon(0 0,75% 100%,100% 0,100% 100%,0 100%); z-index:2; }
.onstaz-event-packages { background:#046e62; color:#fff; }
.onstaz-event-packages>h2,.onstaz-event-packages h2 { text-align:center; }
.onstaz-package-row { padding:42px 0 50px; align-items:start!important; border-bottom:1px solid rgba(255,255,255,.4); }
.onstaz-package-row:last-child { border-bottom:0; padding-bottom:0; }
.onstaz-package-row h3 { text-align:center; }
.onstaz-package-row .wp-block-embed { margin:30px 0 0; }
.onstaz-package-row iframe { width:100%; aspect-ratio:16/9; height:auto; border:0; }
.onstaz-package-row figcaption { color:#fff; font-size:18px; text-align:left; padding:10px 0; }
.onstaz-av-hero { padding-top:155px; padding-bottom:75px; color:#000; background:#ffc700; }
.onstaz-av-hero-row.wp-block-columns { grid-template-columns:minmax(0,.85fr) minmax(0,1.3fr); }
.onstaz-av-hero-row .wp-block-column:first-child img { width:100%; max-height:500px; object-fit:contain; }
.onstaz-av-hero-row .wp-block-column:last-child { text-align:center; }
.onstaz-av-hero::after { content:''; position:absolute; bottom:-1px; left:0; width:100%; height:4vw; background:url('detail-wave.svg') center/100% 100% no-repeat; }
.onstaz-av-pain { color:#fff; background:#84178d; }
.onstaz-av-pain h2 { max-width:1380px; margin-inline:auto; }
.onstaz-av-statement { position:relative!important; display:grid; grid-template-columns:45px minmax(0,1fr); gap:24px; align-items:center; max-width:1320px; margin:22px auto!important; }
.onstaz-detail-marker { margin:0!important; width:45px; }
.onstaz-detail-marker img { width:100%; height:76px; object-fit:contain; }
.onstaz-av-statement p { margin:0; font-weight:700; }
.onstaz-av-solution { background:#fff; color:#000; }
.onstaz-av-solution-row.wp-block-columns { grid-template-columns:minmax(0,.75fr) minmax(0,1.35fr); }
.onstaz-av-solution img { width:100%; max-height:520px; object-fit:contain; }
.onstaz-av-outcome { background:#fff; color:#000; padding-top:20px; }
.onstaz-av-outcome-panel { position:relative!important; max-width:1500px; margin:auto!important; padding:75px 7%; background:url('detail-tv.svg') center/100% 100% no-repeat; }
.onstaz-av-outcome-panel h2 { text-align:center; }
.onstaz-av-services { background:#fff; color:#000; }
.onstaz-av-services>h2,.onstaz-av-services .wp-block-group__inner-container>h2 { text-align:center; }
.onstaz-av-services>.onstaz-detail-lead,.onstaz-av-services .wp-block-group__inner-container>.onstaz-detail-lead { max-width:1400px; margin-inline:auto; font-weight:700; }
.onstaz-consulting-row { padding:40px 0; align-items:start!important; }
.onstaz-consulting-row .wp-block-column:first-child { padding-top:35px; }
.onstaz-consulting-row .wp-block-image { max-width:100%; }
.onstaz-consulting-row img { width:100%; aspect-ratio:16/9; object-fit:cover; }
.onstaz-detail-service-intro { font-size:clamp(19px,1.8vw,26px)!important; font-weight:700; }
.admin-bar.onstaz-detail .site-header { top:32px; }
@media(max-width:999px) { .onstaz-event-hero{padding-top:100px;} .onstaz-av-hero{padding-top:100px;} }
@media(max-width:767px) {
 .onstaz-detail-section { padding-left:6vw; padding-right:6vw; padding-top:45px; padding-bottom:45px; }
 .onstaz-event-hero,.onstaz-av-hero { padding-top:105px; padding-bottom:60px; }
 .onstaz-detail-row.wp-block-columns { grid-template-columns:minmax(0,1fr); gap:25px; }
 .onstaz-package-row { padding-top:28px; padding-bottom:45px; }
 .onstaz-package-row .wp-block-embed { margin-top:0; }
 .onstaz-detail-section h1 { font-size:34px; }
 .onstaz-detail-section h2 { font-size:30px; }
 .onstaz-detail-section h3 { font-size:28px; }
 .onstaz-detail-section p,.onstaz-detail-section li { font-size:19px; }
 .onstaz-av-hero-row img { max-height:300px!important; }
 .onstaz-av-statement { grid-template-columns:30px minmax(0,1fr); gap:16px; }
 .onstaz-detail-marker { width:30px; }
 .onstaz-detail-marker img { height:56px; }
 .onstaz-av-outcome-panel { padding:55px 6%; }
 .onstaz-av-outcome-panel .onstaz-av-statement { margin-block:25px!important; }
 .onstaz-consulting-row { padding:25px 0; }
 .onstaz-consulting-row .wp-block-column:first-child { padding-top:0; }
 .onstaz-consulting-row .wp-block-column:empty { display:none; }
 .admin-bar.onstaz-detail .site-header { top:46px; }
}
