/* OTRISH Studio 1.1 — native components only; preserve existing service widgets. */
body.otr-studio { --otr-teal:#245a70; --otr-gold:#ad7438; --otr-warm:#fbf4e9; --otr-muted:#edf4f7; }
.otr-main .otr-section-heading h2 { border-inline-start: 4px solid var(--otr-accent); padding-inline-start: 12px; }
.otr-method, .otr-service, .otr-card { box-shadow:0 3px 14px #14324e08; }
.otr-method { border-block-start:3px solid #d6e5ec; }
.otr-methods li:nth-child(3n+1) .otr-method-icon { background:#fbebdc; color:#91451f; }
.otr-methods li:nth-child(3n+2) .otr-method-icon { background:#e1eff0; color:#245a70; }
.otr-methods li:nth-child(3n) .otr-method-icon { background:#e7edf7; color:#294e76; }
.otr-service-main { background:linear-gradient(145deg,#fff,#fbf2e7); }
.otr-service:not(.otr-service-main) { background:linear-gradient(145deg,#fff,#eaf3f7); }
.otr-card-body { padding:16px; }
.otr-card-title { line-height:1.75; }
.otr-article-head { border-inline-start:4px solid var(--otr-accent); background:linear-gradient(120deg,#fff 60%,#edf4f7); }
.otr-reading-index details { border-color:#d1e0e8; }
.otr-reading-index summary { color:var(--otr-teal); }
.otr-prose.otr-editorial { width:100%; max-width:860px; margin-inline:auto; box-sizing:border-box; font-size:clamp(16px,1.3vw,18px); line-height:2; color:#243c50; }
.otr-editorial > :where(p,ul,ol), .otr-editorial > .wp-block-group > :where(p,ul,ol) { line-height:2; }
.otr-editorial > p { margin-block:0 1.15em; }
.otr-editorial > :where(h2,h3,h4) { color:var(--otr-deep); margin-block:1.65em .65em; line-height:1.65; }
.otr-editorial > h2 { border-inline-start:4px solid var(--otr-accent); border-block-end:1px solid #e4ebf0; padding:0 13px 10px; }
.otr-editorial > h3 { font-size:1.15em; }
.otr-editorial > :where(ul,ol) { padding-inline-start:1.5em; }
.otr-editorial > :where(ul,ol) > li { margin-block:.35em; }
.otr-editorial > :where(ul,ol) > li::marker { color:#98602e; }
.otr-editorial > blockquote { background:#edf4f7; border-inline-start:4px solid #377187; padding:16px 20px; border-radius:12px; }
.otr-editorial > blockquote > :last-child { margin-block-end:0; }
.otr-editorial :where(figcaption,.wp-caption-text) { font-size:.86em; color:#41576b; text-align:center; }
.otr-editorial > :where(figure.wp-block-table,.otr-table-scroll) { max-width:100%; overflow-x:auto; margin:1.3em 0; border:1px solid #dce5ed; border-radius:12px; }
.otr-editorial :where(.wp-block-table,.otr-table-scroll) table { width:100%; margin:0; border:0; }
.otr-editorial :where(.wp-block-table,.otr-table-scroll) :where(th,td) { padding:10px 12px; vertical-align:top; text-align:start; }
.otr-editorial :where(.wp-block-table,.otr-table-scroll) th { background:#e5eff4; color:#14324e; }
.otr-editorial :where(.wp-block-table,.otr-table-scroll) tbody tr:nth-child(even) { background:#f7fafb; }
/* Opt-in classes work in Gutenberg and Elementor without restyling surrounding widgets. */
.otr-main .otr-editorial-block { --block-tint:#edf4f7; --block-line:#36728a; --block-text:#214e63; background:var(--block-tint); border:1px solid #dce5ed; border-color:color-mix(in srgb,var(--block-line) 24%,white); border-inline-start:4px solid var(--block-line); border-radius:14px; padding:clamp(14px,2.4vw,24px); margin-block:1.5em; box-sizing:border-box; overflow-wrap:anywhere; }
.otr-main .otr-block-tip { --block-tint:#fbf4e9; --block-line:#b77c33; --block-text:#80501f; }
.otr-main .otr-block-warning { --block-tint:#fff2eb; --block-line:#b86a3b; --block-text:#894725; }
.otr-main .otr-block-legal { --block-tint:#eef1f7; --block-line:#50678d; --block-text:#354e76; }
.otr-main :is(.otr-block-checklist,.otr-block-steps,.otr-block-case) { --block-tint:#edf5f2; --block-line:#4c806e; --block-text:#285d4f; }
.otr-main .otr-editorial-block > :first-child { margin-block-start:0; }
.otr-main .otr-editorial-block > :last-child { margin-block-end:0; }
.otr-main .otr-block-label, .otr-main .otr-editorial-block > :is(h2,h3,h4):first-child { color:var(--block-text); font-weight:700; display:flex; align-items:center; gap:9px; border:0; padding:0; }
.otr-main .otr-block-icon { width:23px; height:23px; flex:none; color:var(--block-text); }
.otr-editorial > .otr-auto-note { margin-block:1.4em; }
.otr-editorial > .otr-auto-heading { color:var(--block-text,#245a70); background:#edf4f7; border:0; border-inline-start:3px solid #36728a; padding:10px 13px; border-radius:9px; display:flex; align-items:center; gap:8px; }
.otr-editorial > .otr-auto-heading.otr-block-tip { background:#fbf4e9; border-inline-start-color:#b77c33; }
.otr-editorial > .otr-auto-heading.otr-block-warning { background:#fff2eb; border-inline-start-color:#b86a3b; }
.otr-editorial > .otr-auto-heading.otr-block-legal { background:#eef1f7; border-inline-start-color:#50678d; }
.otr-editorial > .otr-auto-heading.otr-block-checklist + :is(ul,ol), .otr-editorial > .otr-auto-heading.otr-block-steps + :is(ul,ol) { background:#f2f7f5; border:1px solid #d9e8e2; padding:12px 35px 12px 18px; border-radius:11px; }
.otr-consult-card { display:grid; grid-template-columns:52px minmax(0,1fr); gap:15px; margin-block:32px 10px; padding:clamp(16px,3vw,26px); background:linear-gradient(125deg,#102b47,#245a70); border:1px solid #245a70; color:#fff; border-radius:16px; box-sizing:border-box; }
.otr-consult-icon { display:grid; place-items:center; background:#ffffff18; width:52px; height:52px; border-radius:13px; color:#ffcc9b; }
.otr-consult-icon svg { width:29px; height:29px; }
.otr-consult-card .otr-consult-title { color:#fff; font-weight:700; font-size:1.13em; margin:0 0 5px; line-height:1.65; }
.otr-consult-card .otr-consult-description { color:#e4edf5; font-size:.92em; margin:0 0 13px; }
.otr-consult-card small { display:block; margin-block-start:9px; color:#e4edf5; font-size:.78em; line-height:1.7; }
.otr-consult-card .otr-button { min-height:46px; text-decoration:none; }
.otr-consult-card .otr-button-outline { background:transparent; color:#fff; border-color:#b5c8d5; }
.otr-consult-card .otr-button-outline:hover { background:#ffffff1a; }
@media(max-width:720px) { .otr-prose.otr-editorial { padding:19px 16px; } .otr-article-head { padding:19px; } .otr-consult-card { grid-template-columns:40px minmax(0,1fr); gap:10px; } .otr-consult-icon { width:40px; height:40px; } .otr-consult-icon svg { width:23px; height:23px; } }
@media(max-width:480px) { .otr-consult-card .otr-actions { align-items:stretch; flex-direction:column; } .otr-consult-card .otr-button { width:100%; } .otr-card-body { padding:11px; } }
@media(prefers-reduced-motion:reduce) { .otr-main .otr-editorial { scroll-behavior:auto; } }

.otr-editorial > p.otr-auto-note { display:block; }
.otr-auto-note > .otr-block-icon { display:inline-block; vertical-align:middle; margin-inline-end:8px; }
.otr-editorial-widget > h2 { margin-block:1.4em .65em; }
.otr-editorial-widget > p { line-height:1.95; }
.otr-editorial-widget > .otr-auto-heading { line-height:1.65; }
.otr-consult-mid { margin-block:26px; }
@media(max-width:480px) { .otr-header-actions .otr-button svg { display:none; } .otr-editorial > :where(figure.wp-block-table,.otr-table-scroll) table { min-width:420px; } }
.otr-main .otr-editorial-block .wp-block-button__link { background:var(--otr-deep); color:#fff; font-weight:700; border-radius:10px; text-decoration:none; padding:10px 16px; min-height:44px; display:inline-flex; align-items:center; }
.otr-editorial > :is(h2,h3,h4):first-child { margin-block-start:0; }
.otr-editorial > .otr-table-scroll:focus-visible { outline-offset:2px; }
