/*
 * Practice Library — rich body layout.
 *
 * Scoped under .sw-practice-rich so the classes below (`.wrap`, `.hero`,
 * `.btn`, `.evidence`, etc.) never leak into the rest of the theme. Each
 * of the five new Practice Library pages ships its body copy verbatim
 * from the approved source HTML, wrapped in `<div class="sw-practice-rich">`.
 * A single field controls the hero background per page: swap the fallback
 * gradient for `url(...), linear-gradient(...)` when Antonio supplies
 * photography.
 */

.sw-practice-rich{--night:#1c2330;--paper:#f5eedd;--card:#fffdf8;--ink:#2a2620;--muted:#8c8068;--line:#e0d7c2;--earth:#ad7152;--earth-deep:#8a5135;--moon:#f3e9d2;color:var(--ink);font-family:'EB Garamond',serif;font-size:17px;line-height:1.6}
.sw-practice-rich a{color:var(--earth-deep);text-decoration:none}
.sw-practice-rich h1,.sw-practice-rich h2,.sw-practice-rich h3,.sw-practice-rich h4{font-family:'Spectral',serif;font-weight:400;margin:0;line-height:1.15}
.sw-practice-rich p{margin:0 0 1rem}
.sw-practice-rich .wrap{max-width:1080px;margin:0 auto;padding:0 1.5rem}
.sw-practice-rich .eyebrow{font-family:'Cormorant SC',serif;letter-spacing:.2em;text-transform:uppercase;color:var(--earth);font-size:.72rem}
.sw-practice-rich .lab{font-family:'Cormorant SC',serif;letter-spacing:.16em;text-transform:uppercase;color:var(--muted);font-size:.7rem}
.sw-practice-rich .btn{display:inline-flex;align-items:center;gap:.5rem;font-family:'Cormorant SC',serif;letter-spacing:.12em;text-transform:uppercase;font-size:.72rem;padding:.7rem 1.4rem;border-radius:7px;cursor:pointer;border:1px solid var(--earth);background:var(--earth);color:#fff;transition:.16s;text-decoration:none}
.sw-practice-rich .btn:hover{background:var(--earth-deep);border-color:var(--earth-deep)}
.sw-practice-rich .btn-ghost{background:transparent;color:var(--earth-deep)}
.sw-practice-rich .btn-ghost:hover{background:rgba(173,113,82,.08)}
.sw-practice-rich .crumb{padding:1rem 0 .2rem}
.sw-practice-rich .crumb .wrap{font-family:'Cormorant SC',serif;letter-spacing:.12em;text-transform:uppercase;font-size:.62rem;color:var(--muted)}
.sw-practice-rich .crumb a{color:var(--muted)}
.sw-practice-rich .crumb span{color:var(--earth-deep)}

/* Hero — placeholder gradient stays as the fallback layer. To ship a real
   image, swap this rule's `background` for `background:url(/path/to.jpg)
   center/cover no-repeat,linear-gradient(140deg,#2c2431,#3a2f2a);` — one
   line, per page, via a per-post inline style or an override rule keyed
   off `body.postid-N`. */
.sw-practice-rich .hero{position:relative;height:300px;background-color:var(--night);background-size:cover;background-position:center;background-repeat:no-repeat;display:flex;align-items:flex-end}
.sw-practice-rich .hero::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(28,35,48,.15),rgba(28,35,48,.62))}
.sw-practice-rich .hero .wrap{position:relative;z-index:2;padding-bottom:1.8rem}
.sw-practice-rich .hero .eyebrow{color:#e9c9ad}
.sw-practice-rich .hero h1{color:#fff;font-size:3rem;margin:.2rem 0 .3rem}
.sw-practice-rich .hero h1 em{font-style:italic}
.sw-practice-rich .hero p{color:#eaddc4;max-width:34rem;margin:0;font-size:1.05rem}
@media(max-width:640px){.sw-practice-rich .hero{height:auto;min-height:230px;padding:1.6rem 0}.sw-practice-rich .hero h1{font-size:2rem}.sw-practice-rich .hero p{font-size:.95rem}}

.sw-practice-rich .introrow{display:grid;grid-template-columns:1.35fr .65fr;gap:2rem;padding:2.2rem 0 1rem;align-items:start}
@media(max-width:820px){.sw-practice-rich .introrow{grid-template-columns:1fr;gap:1.4rem}}
.sw-practice-rich .introrow .body p{color:#3f3a30;margin:0 0 1rem}
.sw-practice-rich .introrow .body p:first-child{font-family:'Spectral',serif;font-size:1.2rem;font-style:italic;color:#4a4234}

.sw-practice-rich .glance{background:var(--card);border:1px solid var(--line);border-radius:13px;padding:1.4rem 1.5rem;border-top:3px solid var(--earth)}
.sw-practice-rich .glance .lab{display:block;margin-bottom:.9rem}
.sw-practice-rich .glance dl{margin:0;display:grid;grid-template-columns:auto 1fr;gap:.55rem 1rem}
.sw-practice-rich .glance dt{font-family:'Cormorant SC',serif;letter-spacing:.1em;text-transform:uppercase;font-size:.58rem;color:var(--muted);padding-top:.15rem}
.sw-practice-rich .glance dd{margin:0;font-size:.96rem;color:#3f3a30}

.sw-practice-rich .midcta{display:flex;align-items:center;justify-content:space-between;gap:1.4rem;background:var(--paper);border:1px solid var(--line);border-left:3px solid var(--earth);border-radius:12px;padding:1.2rem 1.5rem;margin:.6rem 0 .2rem}
.sw-practice-rich .midcta .mtext{min-width:0}
.sw-practice-rich .midcta .eyebrow{display:block;margin-bottom:.3rem}
.sw-practice-rich .midcta .mtext p{margin:0;color:#3f3a30;font-size:.98rem}
.sw-practice-rich .midcta .btn{flex-shrink:0}
@media(max-width:640px){.sw-practice-rich .midcta{flex-direction:column;align-items:flex-start}}

.sw-practice-rich .sec{padding:2.2rem 0 .6rem}
.sw-practice-rich .sec-head{margin-bottom:1.2rem}
.sw-practice-rich .sec-head .eyebrow{display:block;margin-bottom:.35rem}
.sw-practice-rich .sec-head h2{font-size:1.7rem}
.sw-practice-rich .sec-head .sub{color:var(--muted);font-style:italic;font-family:'Spectral',serif;margin:.3rem 0 0}

.sw-practice-rich .grid3{display:grid;grid-template-columns:1fr 1fr 1fr;gap:1rem}
@media(max-width:820px){.sw-practice-rich .grid3{grid-template-columns:1fr}}
.sw-practice-rich .pcard{background:var(--card);border:1px solid var(--line);border-radius:11px;padding:1.2rem 1.3rem;border-left:3px solid var(--earth);display:flex;flex-direction:column}
.sw-practice-rich .pcard .meta{font-family:'Cormorant SC',serif;letter-spacing:.13em;text-transform:uppercase;font-size:.6rem;color:var(--earth);margin-bottom:.5rem}
.sw-practice-rich .pcard h3{font-size:1.22rem;margin-bottom:.35rem}
.sw-practice-rich .pcard p{font-size:.96rem;color:#3f3a30;margin:0}

.sw-practice-rich .subrow{display:grid;grid-template-columns:1fr 1fr;gap:1.1rem}
@media(max-width:720px){.sw-practice-rich .subrow{grid-template-columns:1fr}}
.sw-practice-rich .subcard{background:var(--card);border:1px solid var(--line);border-radius:13px;overflow:hidden;display:flex;flex-direction:column}
.sw-practice-rich .subcard .sbody{padding:1.2rem 1.4rem 1.4rem}
.sw-practice-rich .subcard .kick{font-family:'Cormorant SC',serif;letter-spacing:.16em;text-transform:uppercase;color:var(--earth);font-size:.6rem;margin-bottom:.3rem}
.sw-practice-rich .subcard h3{font-size:1.3rem;margin-bottom:.4rem}
.sw-practice-rich .subcard p{color:#3f3a30;font-size:.95rem;margin:0}

.sw-practice-rich .expect{background:var(--paper);border:1px solid var(--line);border-radius:14px;padding:1.7rem 1.9rem;display:grid;grid-template-columns:1fr 1fr 1fr;gap:1.6rem}
@media(max-width:820px){.sw-practice-rich .expect{grid-template-columns:1fr;gap:1.1rem}}
.sw-practice-rich .expect .item .n{font-family:'Spectral',serif;font-style:italic;color:var(--earth);font-size:1.1rem;margin-bottom:.25rem}
.sw-practice-rich .expect .item h4{font-size:1.05rem;margin-bottom:.3rem}
.sw-practice-rich .expect .item p{margin:0;font-size:.92rem;color:#4a4234}

.sw-practice-rich .evidence{background:var(--card);border:1px solid var(--line);border-radius:14px;border-top:3px solid var(--earth);padding:1.7rem 1.9rem}
.sw-practice-rich .evidence h2{font-size:1.5rem;margin-bottom:.2rem}
.sw-practice-rich .evidence .sub{color:var(--muted);font-style:italic;font-family:'Spectral',serif;margin:0 0 1.1rem}
.sw-practice-rich .evidence p{color:#3f3a30;font-size:.98rem}
.sw-practice-rich .evidence .care{background:var(--paper);border:1px solid var(--line);border-radius:10px;padding:1rem 1.2rem;margin:1rem 0;font-size:.94rem}
.sw-practice-rich .evidence .src{font-size:.82rem;color:var(--muted);margin-top:1rem}
.sw-practice-rich .evidence .src a{color:var(--earth-deep)}
.sw-practice-rich .evidence .rev{font-family:'Cormorant SC',serif;letter-spacing:.1em;text-transform:uppercase;font-size:.62rem;color:var(--muted);margin-top:.8rem}

.sw-practice-rich .bridge{text-align:center;padding:2.4rem 0 1rem;margin-top:1.5rem;border-top:1px solid var(--line)}
.sw-practice-rich .bridge .eyebrow{display:block;margin-bottom:.5rem}
.sw-practice-rich .bridge h2{font-size:1.6rem;margin-bottom:.4rem}
.sw-practice-rich .bridge p{color:var(--muted);font-style:italic;font-family:'Spectral',serif;max-width:34rem;margin:0 auto 1.2rem}
.sw-practice-rich .bridge .row{display:inline-flex;gap:.7rem;flex-wrap:wrap;justify-content:center}
