/* ============================================================
   destination-editorial.css
   Mr Lux · The Agency Dominican Republic — Phase 8

   Shared editorial layer for the destination pages, the Casa de
   Campo guides and /why-invest. Every rule is scoped beneath
   body.seo-editorial-page, so no other page is affected.

   Loaded after main.css, motion.css and refinements.css. It adds
   chapter layouts and quiets existing components (hairlines, sharp
   corners, no heavy shadows). It never hides content: reveal
   states only apply when motion.js has flagged html.m-js, and all
   motion is removed under prefers-reduced-motion.
   ============================================================ */

.seo-editorial-page{
  --ed-hair:rgba(17,17,17,.12);
  --ed-hair-soft:rgba(17,17,17,.07);
  --ed-hair-d:rgba(255,255,255,.14);
  --ed-gut:clamp(1.25rem,4.2vw,3rem);
  --ed-max:1240px;
  --ed-pad:clamp(3.6rem,7.5vw,7rem);
}

/* ── 1. CHAPTER SCAFFOLDING ─────────────────────────────────── */
.seo-editorial-page .ed-ch{padding:var(--ed-pad) var(--ed-gut);position:relative}
.seo-editorial-page .ed-ch--tight{padding-top:clamp(2.4rem,4.5vw,4rem);padding-bottom:clamp(2.4rem,4.5vw,4rem)}
.seo-editorial-page .ed-ch--flush-top{padding-top:0}
.seo-editorial-page .ed-ch--paper{background:var(--paper)}
.seo-editorial-page .ed-ch--dark{background:var(--blk);color:#fff}
.seo-editorial-page .ed-ch--dark::before{content:'';position:absolute;inset:0;background:radial-gradient(ellipse at 88% 0%,rgba(237,33,39,.08) 0%,transparent 55%);pointer-events:none}
.seo-editorial-page .ed-wrap{max-width:var(--ed-max);margin:0 auto;position:relative;z-index:1}
.seo-editorial-page .ed-wrap--narrow{max-width:880px}
.seo-editorial-page .ed-head{max-width:680px;margin-bottom:clamp(2rem,4vw,3.2rem)}
.seo-editorial-page .ed-head--center{text-align:center;margin-left:auto;margin-right:auto}
.seo-editorial-page .ed-head--center .rl{margin-left:auto;margin-right:auto}
.seo-editorial-page .ed-head .st{margin-bottom:.4rem}
.seo-editorial-page .ed-ch--dark .st{color:#fff}
.seo-editorial-page .ed-ch--dark .sb,.seo-editorial-page .ed-ch--dark .ed-prose p{color:rgba(255,255,255,.7)}

/* Lede and prose */
.seo-editorial-page .ed-lede{font-family:var(--fs);font-weight:400;font-size:clamp(1.22rem,2vw,1.62rem);line-height:1.48;color:var(--txt);max-width:34em;margin:0 0 1.5rem;text-wrap:pretty}
.seo-editorial-page .ed-ch--dark .ed-lede{color:rgba(255,255,255,.94)}
.seo-editorial-page .ed-prose p{font-size:.97rem;line-height:1.86;color:var(--t2);max-width:62ch;margin:0 0 1.05rem}
.seo-editorial-page .ed-prose p:last-child{margin-bottom:0}
.seo-editorial-page .ed-prose a,.seo-editorial-page .ed-list a,.seo-editorial-page .ed-rows a,.seo-editorial-page .ed-check a,.seo-editorial-page .ed-note a,.seo-editorial-page .ed-cols a,.seo-editorial-page .ed-feature a,.seo-editorial-page .fa a{color:var(--red);border-bottom:1px solid rgba(237,33,39,.32);transition:border-color .3s ease}
.seo-editorial-page .ed-prose a:hover,.seo-editorial-page .ed-list a:hover,.seo-editorial-page .ed-rows a:hover,.seo-editorial-page .ed-check a:hover,.seo-editorial-page .ed-note a:hover,.seo-editorial-page .ed-cols a:hover,.seo-editorial-page .ed-feature a:hover,.seo-editorial-page .fa a:hover{border-bottom-color:var(--red)}
.seo-editorial-page .ed-ch--dark .ed-prose a,.seo-editorial-page .ed-ch--dark .ed-cols a,.seo-editorial-page .ed-ch--dark .ed-rows a{color:#ff6b6f;border-bottom-color:rgba(255,107,111,.4)}
.seo-editorial-page .ed-note{font-size:.84rem;line-height:1.7;color:var(--t3);max-width:70ch;margin-top:1.6rem}
.seo-editorial-page .ed-ch--dark .ed-note{color:rgba(255,255,255,.5)}
.seo-editorial-page .ed-kicker-row{display:flex;align-items:center;gap:.9rem;margin-bottom:.9rem}
.seo-editorial-page .ed-kicker-row .sl{margin:0}
.seo-editorial-page .ed-kicker-row::after{content:'';flex:1;height:1px;background:var(--ed-hair);max-width:120px}
.seo-editorial-page .ed-ch--dark .ed-kicker-row::after{background:var(--ed-hair-d)}

/* ── 2. SPLIT COMPOSITIONS ───────────────────────────────────── */
.seo-editorial-page .ed-split{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:clamp(2rem,5.5vw,5.5rem);align-items:center}
.seo-editorial-page .ed-split--top{align-items:start}
.seo-editorial-page .ed-split--wide-media{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr)}
.seo-editorial-page .ed-split--flip>:first-child{order:2}
.seo-editorial-page .ed-media{position:relative;margin:0;overflow:hidden;background:#161616}
.seo-editorial-page .ed-media img{display:block;width:100%;height:100%;object-fit:cover}
.seo-editorial-page .ed-media--portrait{aspect-ratio:4/5}
.seo-editorial-page .ed-media--land{aspect-ratio:3/2}
.seo-editorial-page .ed-media--wide{aspect-ratio:16/9}
.seo-editorial-page .ed-media--pano{aspect-ratio:21/9}
.seo-editorial-page .ed-media--square{aspect-ratio:1/1}
.seo-editorial-page .ed-bg{background-size:cover;background-position:center;background-repeat:no-repeat}
.seo-editorial-page .ed-frame{position:relative;padding:0 18px 18px 0}
.seo-editorial-page .ed-frame::before{content:'';position:absolute;right:0;bottom:0;width:62%;height:70%;border-right:1px solid var(--red);border-bottom:1px solid var(--red);pointer-events:none}
.seo-editorial-page .ed-frame--left{padding:0 0 18px 18px}
.seo-editorial-page .ed-frame--left::before{right:auto;left:0;border-right:0;border-left:1px solid var(--red)}
.seo-editorial-page .ed-figcap{display:block;margin-top:.75rem;font-size:.66rem;letter-spacing:.2em;text-transform:uppercase;color:var(--t3)}
.seo-editorial-page .ed-ch--dark .ed-figcap{color:rgba(255,255,255,.45)}
/* layered pair: a large image with a smaller one overlapping */
.seo-editorial-page .ed-layer{position:relative;padding-bottom:14%}
.seo-editorial-page .ed-layer .ed-media:first-child{width:84%}
.seo-editorial-page .ed-layer .ed-media:nth-child(2){position:absolute;right:0;bottom:0;width:46%;border:8px solid var(--paper);box-sizing:content-box}
.seo-editorial-page .ed-ch:not(.ed-ch--paper) .ed-layer .ed-media:nth-child(2){border-color:#fff}
.seo-editorial-page .ed-ch--dark .ed-layer .ed-media:nth-child(2){border-color:var(--blk)}

/* ── 3. TYPOGRAPHIC STATISTICS ───────────────────────────────── */
.seo-editorial-page .ed-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-top:1px solid var(--ed-hair);margin:clamp(2.6rem,5vw,4.2rem) 0 0;padding:0}
.seo-editorial-page .ed-stats>div{padding:1.5rem 1.4rem 0 0;border-right:1px solid var(--ed-hair-soft);margin:0}
.seo-editorial-page .ed-stats>div+div{padding-left:1.4rem}
.seo-editorial-page .ed-stats>div:last-child{border-right:0}
.seo-editorial-page .ed-stats .stat-num{display:block;font-family:var(--fh);font-weight:300;font-size:clamp(2.2rem,3.9vw,3.3rem);line-height:1;letter-spacing:.02em;color:var(--txt);font-variant-numeric:tabular-nums}
.seo-editorial-page .ed-stats dd{margin:.7rem 0 0;font-size:.7rem;letter-spacing:.12em;text-transform:uppercase;line-height:1.55;color:var(--t3)}
.seo-editorial-page .ed-ch--dark .ed-stats{border-top-color:var(--ed-hair-d)}
.seo-editorial-page .ed-ch--dark .ed-stats>div{border-right-color:var(--ed-hair-d)}
.seo-editorial-page .ed-ch--dark .ed-stats .stat-num{color:#fff}
.seo-editorial-page .ed-ch--dark .ed-stats dd{color:rgba(255,255,255,.5)}
.seo-editorial-page .ed-stats--3{grid-template-columns:repeat(3,minmax(0,1fr))}

/* ── 4. NUMBERED ROWS ────────────────────────────────────────── */
.seo-editorial-page .ed-rows{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:clamp(2rem,5vw,4.5rem);border-top:1px solid var(--ed-hair)}
.seo-editorial-page .ed-rows--1{grid-template-columns:minmax(0,1fr)}
.seo-editorial-page .ed-rows--3{grid-template-columns:repeat(3,minmax(0,1fr))}
.seo-editorial-page .ed-rows>li{display:grid;grid-template-columns:2.6rem minmax(0,1fr);gap:.2rem 1rem;padding:1.55rem 0 1.5rem;border-bottom:1px solid var(--ed-hair)}
.seo-editorial-page .ed-rows .ed-num{font-family:var(--fs);font-style:italic;font-size:1.02rem;color:var(--red);line-height:1.5}
.seo-editorial-page .ed-rows h3{font-family:var(--fh);font-size:1.02rem;font-weight:500;letter-spacing:.13em;text-transform:uppercase;color:var(--txt);margin:0 0 .4rem;line-height:1.35}
.seo-editorial-page .ed-rows p{font-size:.93rem;line-height:1.78;color:var(--t2);margin:0}
.seo-editorial-page .ed-ch--dark .ed-rows{border-top-color:var(--ed-hair-d)}
.seo-editorial-page .ed-ch--dark .ed-rows>li{border-bottom-color:var(--ed-hair-d)}
.seo-editorial-page .ed-ch--dark .ed-rows h3{color:#fff}
.seo-editorial-page .ed-ch--dark .ed-rows p{color:rgba(255,255,255,.72)}
/* index variant: large serif names */
.seo-editorial-page .ed-rows--index h3{font-family:var(--fs);font-weight:400;font-size:clamp(1.3rem,2vw,1.6rem);letter-spacing:0;text-transform:none;margin-bottom:.45rem}

/* ── 5. STRUCTURED LIST (facts / amenities) ──────────────────── */
.seo-editorial-page .ed-list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:clamp(1.6rem,3.5vw,3rem);row-gap:0}
.seo-editorial-page .ed-list--2{grid-template-columns:repeat(2,minmax(0,1fr))}
.seo-editorial-page .ed-list>li{padding:1.35rem 0 1.4rem;border-top:1px solid var(--ed-hair)}
.seo-editorial-page .ed-list .ed-ic{display:inline-flex;width:22px;height:22px;margin-bottom:.7rem;color:var(--red)}
.seo-editorial-page .ed-list .ed-ic svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.3;stroke-linecap:round;stroke-linejoin:round}
.seo-editorial-page .ed-list h3{font-family:var(--fh);font-size:.92rem;font-weight:600;letter-spacing:.15em;text-transform:uppercase;color:var(--txt);margin:0 0 .45rem;line-height:1.35}
.seo-editorial-page .ed-list p{font-size:.92rem;line-height:1.75;color:var(--t2);margin:0}
.seo-editorial-page .ed-ch--dark .ed-list>li{border-top-color:var(--ed-hair-d)}
.seo-editorial-page .ed-ch--dark .ed-list h3{color:#fff}
.seo-editorial-page .ed-ch--dark .ed-list p{color:rgba(255,255,255,.72)}
.seo-editorial-page .ed-subhead{font-family:var(--fh);font-size:.78rem;font-weight:600;letter-spacing:.24em;text-transform:uppercase;color:var(--t3);margin:0 0 1rem}
.seo-editorial-page .ed-ch--dark .ed-subhead{color:rgba(255,255,255,.5)}

/* ── 6. FEATURES (image + text, alternating) ────────────────── */
.seo-editorial-page .ed-features{display:grid;gap:clamp(3rem,7vw,6rem)}
.seo-editorial-page .ed-feature{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr);gap:clamp(1.8rem,5vw,4.5rem);align-items:center}
.seo-editorial-page .ed-feature--flip .ed-feature__media{order:2}
.seo-editorial-page .ed-feature__media{position:relative;overflow:hidden;min-height:clamp(300px,34vw,500px);background-color:#161616}
.seo-editorial-page .ed-feature__media .ed-bg{position:absolute;inset:0;transition:transform 1.4s var(--m-ease,cubic-bezier(.22,1,.36,1))}
.seo-editorial-page .ed-feature__body .sl{display:block;margin-bottom:.8rem}
.seo-editorial-page .ed-feature__body h3{font-family:var(--fs);font-weight:400;font-size:clamp(1.55rem,2.5vw,2.15rem);line-height:1.16;color:var(--txt);margin:0 0 1.1rem;text-wrap:balance}
.seo-editorial-page .ed-ch--dark .ed-feature__body h3{color:#fff}
.seo-editorial-page .ed-feature__body p{font-size:.95rem;line-height:1.84;color:var(--t2);margin:0 0 1rem}
.seo-editorial-page .ed-ch--dark .ed-feature__body p{color:rgba(255,255,255,.72)}
.seo-editorial-page .ed-tags{display:block;margin-top:1.3rem;padding-top:1rem;border-top:1px solid var(--ed-hair);font-size:.66rem;letter-spacing:.2em;text-transform:uppercase;color:var(--t3);line-height:1.9}
.seo-editorial-page .ed-ch--dark .ed-tags{border-top-color:var(--ed-hair-d);color:rgba(255,255,255,.5)}
/* compact feature: text-led with a narrow image */
.seo-editorial-page .ed-feature--compact{grid-template-columns:minmax(0,.7fr) minmax(0,1.3fr)}
.seo-editorial-page .ed-feature--compact .ed-feature__media{min-height:clamp(240px,24vw,360px)}

/* ── 7. PRICE / PROPERTY-TYPE ROWS ───────────────────────────── */
.seo-editorial-page .ed-prices{list-style:none;margin:0;padding:0;border-top:1px solid var(--ed-hair)}
.seo-editorial-page .ed-prices>li{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.35rem 2rem;padding:1.3rem 0;border-bottom:1px solid var(--ed-hair)}
.seo-editorial-page .ed-prices h3{font-family:var(--fs);font-weight:400;font-size:1.28rem;line-height:1.25;color:var(--txt);margin:0}
.seo-editorial-page .ed-prices .pt-range{font-family:var(--fh);font-size:.82rem;font-weight:600;letter-spacing:.16em;text-transform:uppercase;color:var(--red);white-space:nowrap;align-self:center;text-align:right}
.seo-editorial-page .ed-prices p{grid-column:1/-1;font-size:.92rem;line-height:1.75;color:var(--t2);margin:0;max-width:62ch}
.seo-editorial-page .ed-prices .pt-note{grid-column:1/-1;display:block;font-size:.8rem;font-style:italic;color:var(--t3);line-height:1.6}
.seo-editorial-page .ed-ch--dark .ed-prices{border-top-color:var(--ed-hair-d)}
.seo-editorial-page .ed-ch--dark .ed-prices>li{border-bottom-color:var(--ed-hair-d)}
.seo-editorial-page .ed-ch--dark .ed-prices h3{color:#fff}
.seo-editorial-page .ed-ch--dark .ed-prices p{color:rgba(255,255,255,.7)}
.seo-editorial-page .ed-ch--dark .ed-prices .pt-note{color:rgba(255,255,255,.5)}

/* ── 8. COLUMNS WITH HAIRLINE SEPARATORS (dark snapshots) ────── */
.seo-editorial-page .ed-cols{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin:0;padding:0;list-style:none;border-top:1px solid var(--ed-hair)}
.seo-editorial-page .ed-cols--2{grid-template-columns:repeat(2,minmax(0,1fr))}
.seo-editorial-page .ed-cols>*{padding:1.6rem 1.6rem 0 0;margin:0}
.seo-editorial-page .ed-cols>*+*{padding-left:1.6rem;border-left:1px solid var(--ed-hair-soft)}
.seo-editorial-page .ed-cols h3{font-family:var(--fh);font-size:.9rem;font-weight:600;letter-spacing:.18em;text-transform:uppercase;color:var(--txt);margin:0 0 .6rem}
.seo-editorial-page .ed-cols p{font-size:.92rem;line-height:1.78;color:var(--t2);margin:0 0 .8rem}
.seo-editorial-page .ed-ch--dark .ed-cols{border-top-color:var(--ed-hair-d)}
.seo-editorial-page .ed-ch--dark .ed-cols>*+*{border-left-color:var(--ed-hair-d)}
.seo-editorial-page .ed-ch--dark .ed-cols h3{color:#fff}
.seo-editorial-page .ed-ch--dark .ed-cols p{color:rgba(255,255,255,.7)}

/* ── 9. CHECKLIST ────────────────────────────────────────────── */
.seo-editorial-page .ed-check{list-style:none;counter-reset:edc;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:clamp(1.6rem,4vw,3.4rem);border-top:1px solid var(--ed-hair)}
.seo-editorial-page .ed-check>li{counter-increment:edc;position:relative;padding:.95rem 0 .95rem 2.3rem;border-bottom:1px solid var(--ed-hair-soft);font-size:.92rem;line-height:1.65;color:var(--t2)}
.seo-editorial-page .ed-check>li::before{content:counter(edc,decimal-leading-zero);position:absolute;left:0;top:.95rem;font-family:var(--fh);font-size:.8rem;font-weight:600;letter-spacing:.08em;color:var(--red)}
.seo-editorial-page .ed-ch--dark .ed-check{border-top-color:var(--ed-hair-d)}
.seo-editorial-page .ed-ch--dark .ed-check>li{border-bottom-color:var(--ed-hair-d);color:rgba(255,255,255,.75)}
.seo-editorial-page .ed-actions{display:flex;flex-wrap:wrap;gap:.7rem;align-items:center;margin-top:2rem}
.seo-editorial-page .ed-actions .bred{box-shadow:none}
.seo-editorial-page .ed-textlink{font-family:var(--fh);font-size:.78rem;font-weight:600;letter-spacing:.18em;text-transform:uppercase;color:var(--txt);border-bottom:1px solid var(--red);padding-bottom:.2rem;transition:color .3s ease}
.seo-editorial-page .ed-textlink:hover{color:var(--red)}
.seo-editorial-page .ed-ch--dark .ed-textlink{color:#fff}

/* ── 10. COMPARISON TABLE (quieter) ──────────────────────────── */
.seo-editorial-page .cmp-wrap{max-width:none;margin:0}
.seo-editorial-page .cmp{width:100%;border-collapse:collapse;table-layout:fixed;background:transparent;box-shadow:none;font-size:.86rem}
.seo-editorial-page .cmp caption{caption-side:bottom;text-align:left;font-size:.72rem;letter-spacing:.02em;text-transform:none;color:var(--t3);padding-top:.9rem;line-height:1.6}
.seo-editorial-page .cmp th,.seo-editorial-page .cmp td{border:0;border-bottom:1px solid var(--ed-hair-soft);padding:.8rem .9rem .8rem 0;text-align:left;vertical-align:top;line-height:1.6;color:var(--t2)}
.seo-editorial-page .cmp thead th{font-family:var(--fh);font-size:.76rem;font-weight:600;letter-spacing:.16em;text-transform:uppercase;color:var(--txt);background:transparent;border-bottom:1px solid var(--txt);padding-bottom:.7rem}
.seo-editorial-page .cmp thead th:first-child{width:17%}
.seo-editorial-page .cmp thead th.here{color:var(--red);border-top:0;border-bottom-color:var(--red)}
.seo-editorial-page .cmp tbody th{font-family:var(--fh);font-weight:600;font-size:.76rem;letter-spacing:.14em;text-transform:uppercase;color:var(--t3);background:transparent}
.seo-editorial-page .cmp a{color:var(--red);border-bottom:1px solid rgba(237,33,39,.35)}

/* ── 11. ONWARD LINKS ────────────────────────────────────────── */
.seo-editorial-page .ed-links{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:clamp(2rem,5vw,4.5rem);border-top:1px solid var(--ed-hair)}
.seo-editorial-page .ed-links--3{grid-template-columns:repeat(3,minmax(0,1fr))}
.seo-editorial-page .ed-links>li{border-bottom:1px solid var(--ed-hair)}
.seo-editorial-page .ed-links a{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.25rem 1rem;padding:1.25rem 0;color:inherit;text-decoration:none}
.seo-editorial-page .ed-links b{font-family:var(--fs);font-weight:400;font-size:1.18rem;color:var(--txt);line-height:1.3;transition:color .3s ease}
.seo-editorial-page .ed-links .ed-arrow{grid-row:1/span 2;grid-column:2;align-self:center;color:var(--red);font-size:1.1rem;transition:transform .4s var(--m-ease,ease)}
.seo-editorial-page .ed-links span.ed-lt{font-size:.88rem;line-height:1.65;color:var(--t2)}
.seo-editorial-page .ed-links a:hover b{color:var(--red)}
.seo-editorial-page .ed-links a:hover .ed-arrow{transform:translateX(5px)}
.seo-editorial-page .ed-ch--dark .ed-links{border-top-color:var(--ed-hair-d)}
.seo-editorial-page .ed-ch--dark .ed-links>li{border-bottom-color:var(--ed-hair-d)}
.seo-editorial-page .ed-ch--dark .ed-links b{color:#fff}
.seo-editorial-page .ed-ch--dark .ed-links span.ed-lt{color:rgba(255,255,255,.6)}

/* ── 12. SOURCES & METHODOLOGY DISCLOSURE ───────────────────── */
.seo-editorial-page .ed-sources{padding:0 var(--ed-gut) clamp(2.6rem,5vw,4rem);background:inherit}
.seo-editorial-page .destination-sources{max-width:980px;margin:0 auto;border-top:1px solid var(--ed-hair);border-bottom:1px solid var(--ed-hair)}
.seo-editorial-page .destination-sources>summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1.05rem .1rem;font-family:var(--fh);font-size:.78rem;font-weight:500;letter-spacing:.22em;text-transform:uppercase;color:var(--t2)}
.seo-editorial-page .destination-sources>summary::-webkit-details-marker{display:none}
.seo-editorial-page .destination-sources>summary::after{content:'+';font-family:var(--fb);font-size:1.1rem;font-weight:300;letter-spacing:0;color:var(--red);line-height:1}
.seo-editorial-page .destination-sources[open]>summary::after{content:'\2013'}
.seo-editorial-page .destination-sources>summary:hover{color:var(--txt)}
.seo-editorial-page .destination-sources>summary:focus-visible{outline:2px solid var(--red);outline-offset:3px}
.seo-editorial-page .destination-sources__content{padding:.4rem 0 1.8rem;font-size:.8rem;line-height:1.65;color:var(--t3)}
.seo-editorial-page .destination-sources__content h3{font-family:var(--fh);font-size:.7rem;font-weight:600;letter-spacing:.2em;text-transform:uppercase;color:var(--t2);margin:1.4rem 0 .5rem}
.seo-editorial-page .destination-sources__content h3:first-child{margin-top:.4rem}
.seo-editorial-page .destination-sources__content ul{list-style:none;margin:0;padding:0}
.seo-editorial-page .destination-sources__content li{padding:.42rem 0;border-bottom:1px solid var(--ed-hair-soft)}
.seo-editorial-page .destination-sources__content li:last-child{border-bottom:0}
.seo-editorial-page .destination-sources__content a{color:var(--t2);border-bottom:1px solid var(--ed-hair);overflow-wrap:anywhere;transition:color .3s ease}
.seo-editorial-page .destination-sources__content a:hover{color:var(--red)}
.seo-editorial-page .destination-sources__content .ds-use{color:var(--t2)}
.seo-editorial-page .destination-sources__content .ds-meta{white-space:nowrap}
.seo-editorial-page .destination-sources__content em{font-style:italic}
.seo-editorial-page .destination-sources__content .ds-method{margin-top:1.4rem;padding-top:1rem;border-top:1px solid var(--ed-hair)}
.seo-editorial-page .destination-sources__content .ds-method p{margin:0 0 .6rem;max-width:80ch}

/* ── 13. QUIETER EXISTING COMPONENTS ────────────────────────── */
/* Sharp corners, hairlines and little or no shadow for template
   components that remain on these pages. Layout is unchanged.   */
.seo-editorial-page .hl-item,.seo-editorial-page .amen-item,.seo-editorial-page .zone-item,.seo-editorial-page .why-item,.seo-editorial-page .pt-item,.seo-editorial-page .ls-item,.seo-editorial-page .inv-item,.seo-editorial-page .spot-card,.seo-editorial-page .stat-box,.seo-editorial-page .fitem,.seo-editorial-page .xl-item,.seo-editorial-page .cdc-guide-card{box-shadow:none!important;border-radius:0}
.seo-editorial-page .hl-item,.seo-editorial-page .amen-item,.seo-editorial-page .zone-item,.seo-editorial-page .ls-item,.seo-editorial-page .pt-item,.seo-editorial-page .stat-box{border:1px solid var(--ed-hair-soft)}
.seo-editorial-page .hl-item:hover,.seo-editorial-page .amen-item:hover,.seo-editorial-page .zone-item:hover,.seo-editorial-page .pt-item:hover,.seo-editorial-page .ls-item:hover{transform:none}
.seo-editorial-page .spot-card{border:0;border-top:1px solid var(--ed-hair)}
.seo-editorial-page .spot-tag{border-radius:0;background:transparent;border:0;padding:0 .9rem 0 0;font-size:.64rem;letter-spacing:.18em;color:var(--t3)}
.seo-editorial-page .spot-tag+.spot-tag::before{content:'·';margin-right:.9rem;color:var(--red)}
.seo-editorial-page .bred{box-shadow:none}

/* FAQ: quieter, and long answers are never clipped */
.seo-editorial-page .faq-grid{gap:0 clamp(1.4rem,3vw,2.6rem)}
.seo-editorial-page .fitem{background:transparent;border:0;border-bottom:1px solid var(--ed-hair)}
.seo-editorial-page .faq-grid .fitem:nth-child(-n+2){border-top:1px solid var(--ed-hair)}
.seo-editorial-page .fq{padding:1.05rem .1rem;font-size:.95rem}
.seo-editorial-page .fq:focus-visible{outline:2px solid var(--red);outline-offset:2px}
.seo-editorial-page .fa{padding:0 .1rem}
.seo-editorial-page .fitem.open .fa{max-height:900px;padding:.1rem .1rem 1.2rem}
.seo-editorial-page .fa p{font-size:.92rem;line-height:1.8;color:var(--t2)}
.seo-editorial-page .farr{color:var(--red)}

/* Culture band: lighter separators */
.seo-editorial-page .culture-band{border-top:0;border-bottom:0}

/* Full-bleed band: controlled height on these pages */
.seo-editorial-page .interstitial{min-height:min(72vh,680px)}

/* Keyboard focus stays visible on everything interactive */
.seo-editorial-page main a:focus-visible,.seo-editorial-page main button:focus-visible,.seo-editorial-page main select:focus-visible,.seo-editorial-page main summary:focus-visible{outline:2px solid var(--red);outline-offset:3px}

/* ── 14. MOTION (guarded; content never depends on it) ───────── */
html.m-js .seo-editorial-page .ed-media img{transition:transform 1.4s var(--m-ease,cubic-bezier(.22,1,.36,1)),clip-path 1.25s var(--m-ease,cubic-bezier(.22,1,.36,1))}
html.m-js .seo-editorial-page .ed-mask{transition:clip-path 1.25s var(--m-ease,cubic-bezier(.22,1,.36,1))}
html.m-js .seo-editorial-page .rv:not(.v) .ed-mask,html.m-js .seo-editorial-page .rv:not(.v).ed-mask{clip-path:inset(0 0 0 100%)}
html.m-js .seo-editorial-page .rv.v .ed-mask,html.m-js .seo-editorial-page .rv.v.ed-mask{clip-path:inset(0 0 0 0)}
html.m-js .seo-editorial-page .rv:not(.v) .ed-media img{transform:scale(1.06)}
html.m-js .seo-editorial-page .ed-rule{transform-origin:left center;transition:transform 1s var(--m-ease,ease) .1s}
html.m-js .seo-editorial-page .rv:not(.v) .ed-rule{transform:scaleX(0)}
.seo-editorial-page .ed-rule{display:block;height:1px;background:var(--red);width:64px;margin:1rem 0 1.4rem}
@media(hover:hover) and (pointer:fine){
  html.m-js .seo-editorial-page .ed-media:hover img{transform:scale(1.035)}
  html.m-js .seo-editorial-page .ed-feature:hover .ed-bg{transform:scale(1.035)}
}
@media(prefers-reduced-motion:reduce){
  .seo-editorial-page .ed-mask,.seo-editorial-page .ed-media img,.seo-editorial-page .ed-bg,.seo-editorial-page .ed-rule{transition:none!important;transform:none!important;clip-path:none!important}
}

/* ── 15. RESPONSIVE ──────────────────────────────────────────── */
@media(max-width:1100px){
  .seo-editorial-page .ed-list{grid-template-columns:repeat(2,minmax(0,1fr))}
  .seo-editorial-page .ed-rows--3{grid-template-columns:repeat(2,minmax(0,1fr))}
  .seo-editorial-page .ed-links--3{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:900px){
  .seo-editorial-page .ed-split,.seo-editorial-page .ed-split--wide-media,.seo-editorial-page .ed-feature,.seo-editorial-page .ed-feature--compact{grid-template-columns:minmax(0,1fr)}
  .seo-editorial-page .ed-split--flip>:first-child,.seo-editorial-page .ed-feature--flip .ed-feature__media{order:0}
  .seo-editorial-page .ed-feature__media{min-height:clamp(240px,58vw,420px)}
  .seo-editorial-page .ed-stats,.seo-editorial-page .ed-stats--3{grid-template-columns:repeat(2,minmax(0,1fr))}
  .seo-editorial-page .ed-stats>div{padding:1.3rem 1rem 1.2rem 0;border-right:0;border-bottom:1px solid var(--ed-hair-soft)}
  .seo-editorial-page .ed-stats>div+div{padding-left:0}
  .seo-editorial-page .ed-stats>div:nth-child(even){padding-left:1rem;border-left:1px solid var(--ed-hair-soft)}
  .seo-editorial-page .ed-ch--dark .ed-stats>div{border-bottom-color:var(--ed-hair-d)}
  .seo-editorial-page .ed-ch--dark .ed-stats>div:nth-child(even){border-left-color:var(--ed-hair-d)}
  .seo-editorial-page .ed-cols,.seo-editorial-page .ed-cols--2{grid-template-columns:minmax(0,1fr)}
  .seo-editorial-page .ed-cols>*,.seo-editorial-page .ed-cols>*+*{padding:1.3rem 0;border-left:0;border-bottom:1px solid var(--ed-hair-soft)}
  .seo-editorial-page .ed-ch--dark .ed-cols>*{border-bottom-color:var(--ed-hair-d)}
  .seo-editorial-page .ed-layer{padding-bottom:18%}
  /* comparison table becomes stacked rows */
  .seo-editorial-page .cmp,.seo-editorial-page .cmp tbody,.seo-editorial-page .cmp tr,.seo-editorial-page .cmp th,.seo-editorial-page .cmp td,.seo-editorial-page .cmp caption{display:block;width:100%}
  .seo-editorial-page .cmp thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
  .seo-editorial-page .cmp tr{padding:1rem 0;border-bottom:1px solid var(--ed-hair)}
  .seo-editorial-page .cmp tbody th{border:0;padding:0 0 .5rem;color:var(--red)}
  .seo-editorial-page .cmp td{border:0;padding:.35rem 0}
  .seo-editorial-page .cmp td::before{content:attr(data-label);display:block;font-family:var(--fh);font-size:.68rem;letter-spacing:.14em;text-transform:uppercase;color:var(--txt);font-weight:600;margin-bottom:.1rem}
}
@media(max-width:700px){
  .seo-editorial-page .ed-rows,.seo-editorial-page .ed-rows--3,.seo-editorial-page .ed-list,.seo-editorial-page .ed-list--2,.seo-editorial-page .ed-check,.seo-editorial-page .ed-links,.seo-editorial-page .ed-links--3{grid-template-columns:minmax(0,1fr)}
  .seo-editorial-page .ed-prices>li{grid-template-columns:minmax(0,1fr)}
  .seo-editorial-page .ed-prices .pt-range{text-align:left}
  .seo-editorial-page .ed-frame{padding:0 10px 10px 0}
  .seo-editorial-page .ed-frame--left{padding:0 0 10px 10px}
  .seo-editorial-page .ed-layer{padding-bottom:0}
  .seo-editorial-page .ed-layer .ed-media:first-child{width:100%}
  .seo-editorial-page .ed-layer .ed-media:nth-child(2){position:relative;width:58%;margin:-18% 0 0 auto;right:auto;bottom:auto}
  .seo-editorial-page .destination-sources__content .ds-meta{white-space:normal}
  .seo-editorial-page .faq-grid .fitem:nth-child(2){border-top:0}
}

/* ── 16. ADDITIONS ───────────────────────────────────────────── */
.seo-editorial-page .ed-split--40{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr)}
.seo-editorial-page .ed-split--35{grid-template-columns:minmax(0,.7fr) minmax(0,1.3fr)}
.seo-editorial-page .ed-after{margin-top:clamp(2.6rem,5vw,4rem)}
.seo-editorial-page .ed-cols--stack{grid-template-columns:minmax(0,1fr)}
.seo-editorial-page .ed-cols--stack>*,.seo-editorial-page .ed-cols--stack>*+*{padding:1.3rem 0;border-left:0;border-bottom:1px solid var(--ed-hair-soft)}
.seo-editorial-page .ed-ch--dark .ed-cols--stack>*{border-bottom-color:var(--ed-hair-d)}
.seo-editorial-page main p a:not([class]){color:var(--red);border-bottom:1px solid rgba(237,33,39,.32);transition:border-color .3s ease}
.seo-editorial-page main p a:not([class]):hover{border-bottom-color:var(--red)}
.seo-editorial-page main .ed-ch--dark p a:not([class]){color:#ff6b6f;border-bottom-color:rgba(255,107,111,.4)}
.seo-editorial-page .ed-prose strong{color:var(--txt);font-weight:600}
@media(max-width:900px){
  .seo-editorial-page .ed-split--40,.seo-editorial-page .ed-split--35{grid-template-columns:minmax(0,1fr)}
}
.seo-editorial-page .st--sm{font-size:clamp(1.6rem,2.6vw,2.2rem)}
.seo-editorial-page .ed-head--wide{max-width:860px}
.seo-editorial-page .ed-head--center .ed-rule,.seo-editorial-page .ed-head--center .ed-lede{margin-left:auto;margin-right:auto}
.seo-editorial-page .ed-gap{margin-top:2rem}
.seo-editorial-page .ed-sources{background:var(--ir)}

/* ── 17. TILES (image-led secondary features) ───────────────── */
.seo-editorial-page .ed-tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(2.4rem,4.5vw,3.8rem) clamp(1.6rem,3.5vw,3rem)}
.seo-editorial-page .ed-tiles--3{grid-template-columns:repeat(3,minmax(0,1fr))}
.seo-editorial-page .ed-tiles--4{grid-template-columns:repeat(4,minmax(0,1fr))}
.seo-editorial-page .ed-tile__img{position:relative;overflow:hidden;aspect-ratio:16/10;margin-bottom:1.25rem;background-color:#161616}
.seo-editorial-page .ed-tile__img .ed-bg{position:absolute;inset:0;transition:transform 1.4s var(--m-ease,cubic-bezier(.22,1,.36,1))}
.seo-editorial-page .ed-tile .sl{display:block;margin-bottom:.55rem}
.seo-editorial-page .ed-tile h3{font-family:var(--fs);font-weight:400;font-size:clamp(1.25rem,1.8vw,1.5rem);line-height:1.22;color:var(--txt);margin:0 0 .75rem}
.seo-editorial-page .ed-tile p{font-size:.92rem;line-height:1.78;color:var(--t2);margin:0 0 .8rem}
.seo-editorial-page .ed-ch--dark .ed-tile h3{color:#fff}
.seo-editorial-page .ed-ch--dark .ed-tile p{color:rgba(255,255,255,.7)}
@media(hover:hover) and (pointer:fine){html.m-js .seo-editorial-page .ed-tile:hover .ed-bg{transform:scale(1.04)}}
@media(max-width:1100px){.seo-editorial-page .ed-tiles--4{grid-template-columns:repeat(2,minmax(0,1fr))}.seo-editorial-page .ed-tiles--3{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.seo-editorial-page .ed-tiles,.seo-editorial-page .ed-tiles--3,.seo-editorial-page .ed-tiles--4{grid-template-columns:minmax(0,1fr)}}
@media(prefers-reduced-motion:reduce){.seo-editorial-page .ed-tile__img .ed-bg{transition:none!important;transform:none!important}}
.seo-editorial-page .ed-tags>span{white-space:nowrap}
.seo-editorial-page .ed-tags>span+span::before{content:'\00b7';margin:0 .7em;color:var(--red)}
.seo-editorial-page .ed-rows--compact>li{padding:1rem 0}
.seo-editorial-page .ed-rows--compact h3{font-size:.9rem}
.seo-editorial-page .ed-rows--compact p{font-size:.88rem}
.seo-editorial-page .ed-rows--years>li{grid-template-columns:4.4rem minmax(0,1fr)}
.seo-editorial-page .ed-rows--years .ed-num{font-family:var(--fh);font-style:normal;font-weight:300;font-size:1.6rem;letter-spacing:.04em;line-height:1.05}
.seo-editorial-page figure.ed-after{margin-top:clamp(2.4rem,5vw,3.6rem)}
.seo-editorial-page .ed-cols--4{grid-template-columns:repeat(4,minmax(0,1fr))}
.seo-editorial-page .ed-num-lg{display:block;font-family:var(--fh);font-weight:300;font-size:2.2rem;line-height:1;color:var(--red);margin-bottom:.9rem;letter-spacing:.02em}
.seo-editorial-page .ed-mb0{margin-bottom:0}
.seo-editorial-page .ed-ch--dark .gb-line{color:rgba(255,255,255,.92)}
.seo-editorial-page .ed-ch:not(.ed-ch--dark) .gb-line{color:var(--txt)}
@media(max-width:1100px){.seo-editorial-page .ed-cols--4{grid-template-columns:repeat(2,minmax(0,1fr))}.seo-editorial-page .ed-cols--4>*:nth-child(3){border-left:0;padding-left:0}}
@media(max-width:900px){.seo-editorial-page .ed-cols--4{grid-template-columns:minmax(0,1fr)}}
.seo-editorial-page .ed-links--1{grid-template-columns:minmax(0,1fr)}

/* Narrow split columns: long single words (e.g. NEIGHBORHOODS) must never overflow */
.seo-editorial-page .ed-split--40 .st,.seo-editorial-page .ed-split--35 .st{font-size:clamp(1.9rem,3vw,2.9rem);overflow-wrap:break-word;hyphens:auto}
.seo-editorial-page .ed-head .st,.seo-editorial-page .ed-split .st{overflow-wrap:break-word}

/* Comparison tables: long row labels wrap instead of overflowing at tablet widths */
.seo-editorial-page .cmp tbody th{overflow-wrap:break-word;hyphens:auto}
@media(max-width:1100px){.seo-editorial-page .cmp tbody th,.seo-editorial-page .cmp thead th{letter-spacing:.06em}.seo-editorial-page .cmp thead th:first-child{width:21%}}

/* ── 17b. WHY INVEST — the investment case as an editorial report ── */
/* Alternating paper chapters (inline backgrounds are white) */
.seo-editorial-page.ed-invest #market-data,.seo-editorial-page.ed-invest #ownership,.seo-editorial-page.ed-invest #destinations,.seo-editorial-page.ed-invest #residency,.seo-editorial-page.ed-invest #guide,.seo-editorial-page.ed-invest #faq{background:var(--paper)!important}
.seo-editorial-page.ed-invest #snapshot,.seo-editorial-page.ed-invest #fundamentals,.seo-editorial-page.ed-invest #thesis,.seo-editorial-page.ed-invest #costs,.seo-editorial-page.ed-invest #risks,.seo-editorial-page.ed-invest #lawyers{background:#fff}
.seo-editorial-page.ed-invest .h3e{font-size:1.2rem;font-weight:400;margin-bottom:.9rem}
/* Cards lose their lift: the tilt script's inline transform is neutralised on hover only */
.seo-editorial-page.ed-invest .ov-card:hover,.seo-editorial-page.ed-invest .stat-box:hover,.seo-editorial-page.ed-invest .lawcard:hover{transform:none!important;box-shadow:none!important}

/* Snapshot: eight figures set as a typographic ledger */
.seo-editorial-page.ed-invest #snapshot .stat-strip{max-width:1180px;margin:0 auto!important;gap:0;border-top:1px solid var(--ed-hair)}
.seo-editorial-page.ed-invest #snapshot .stat-strip+.stat-strip{border-top:1px solid var(--ed-hair-soft);border-bottom:1px solid var(--ed-hair)}
.seo-editorial-page.ed-invest #snapshot .stat-box{background:transparent;border:0;border-right:1px solid var(--ed-hair-soft);padding:1.7rem 1.4rem 1.8rem;text-align:left}
.seo-editorial-page.ed-invest #snapshot .stat-box:last-child{border-right:0}
.seo-editorial-page.ed-invest #snapshot .stat-box:first-child{padding-left:0}
.seo-editorial-page.ed-invest #snapshot .stat-num{font-weight:300;font-size:clamp(2rem,3.3vw,2.85rem);letter-spacing:.01em}
.seo-editorial-page.ed-invest #snapshot .stat-lbl{display:block;margin-top:.75rem;font-size:.66rem;letter-spacing:.18em;color:var(--t2)}
.seo-editorial-page.ed-invest #snapshot .stat-src{margin-top:.8rem;font-size:.7rem;line-height:1.55;color:var(--t3);opacity:1}

/* Charts: open panels on a hairline, no boxes */
.seo-editorial-page.ed-invest .data-grid{max-width:1180px;margin:0 auto;gap:clamp(2rem,5vw,4.5rem)}
.seo-editorial-page.ed-invest .wi-chart-box{background:transparent;border:0;border-top:1px solid var(--ed-hair);box-shadow:none;padding:1.5rem 0 0}
.seo-editorial-page.ed-invest .ctab th,.seo-editorial-page.ed-invest .ctab td{border:0;border-bottom:1px solid var(--ed-hair-soft);padding:.55rem .6rem .55rem 0}
.seo-editorial-page.ed-invest .ctab thead th{background:transparent;border-bottom-color:var(--ed-hair)}

/* Fundamentals: four findings on hairlines, two columns */
.seo-editorial-page.ed-invest #fundamentals .overview-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 clamp(2rem,5vw,4.5rem);max-width:1080px!important}
.seo-editorial-page.ed-invest #fundamentals .ov-card{background:transparent;border:0;border-top:1px solid var(--ed-hair);box-shadow:none;padding:1.6rem 0 2rem}
.seo-editorial-page.ed-invest .ov-card h3{font-family:var(--fs);font-weight:400;font-size:1.25rem;margin-bottom:.7rem}
.seo-editorial-page.ed-invest .ov-card p{font-size:.95rem;line-height:1.8}

/* Thesis: six numbered reasons */
.seo-editorial-page.ed-invest #thesis .overview-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:0 clamp(1.8rem,4vw,3.6rem);counter-reset:wit;max-width:1180px!important}
.seo-editorial-page.ed-invest #thesis .ov-card{counter-increment:wit;background:transparent;border:0;border-top:1px solid var(--ed-hair);box-shadow:none;padding:1.5rem 0 2.1rem}
.seo-editorial-page.ed-invest #thesis .ov-card::before{content:counter(wit,decimal-leading-zero);display:block;font-family:var(--fh);font-size:.78rem;letter-spacing:.2em;color:var(--red);margin-bottom:1rem}

/* Image band and relief map */
.seo-editorial-page.ed-invest .wi-band{height:clamp(240px,38vw,520px);margin:0}
.seo-editorial-page.ed-invest .wi-band img{object-position:center 62%}
.seo-editorial-page.ed-invest .wi-dest-head{max-width:1180px;margin:0 auto clamp(1.6rem,3vw,2.4rem);display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:clamp(2rem,5vw,4.5rem);align-items:center}
.seo-editorial-page.ed-invest .wi-dest-copy{text-align:left}
.seo-editorial-page.ed-invest .wi-dest-copy .rl{margin-left:0!important}
.seo-editorial-page.ed-invest .wi-dest-copy .sb{text-align:left;margin-left:0;margin-right:0}
.seo-editorial-page.ed-invest #confotur>div[style*="880px"]{max-width:1080px!important}
.seo-editorial-page.ed-invest .wi-map{margin:0;aspect-ratio:2200/1228;overflow:hidden}
.seo-editorial-page.ed-invest .wi-map img{display:block;width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply}

/* Comparison tables: rules only */
.seo-editorial-page.ed-invest .dcomp{background:transparent;box-shadow:none}
.seo-editorial-page.ed-invest .dcomp th,.seo-editorial-page.ed-invest .dcomp td{border:0;border-bottom:1px solid var(--ed-hair-soft);padding:.85rem 1rem .85rem 0}
.seo-editorial-page.ed-invest .dcomp thead th{background:transparent;border-bottom:1px solid var(--ed-hair)}
.seo-editorial-page.ed-invest .dcomp tbody th{font-family:var(--fs);font-weight:400;font-size:.98rem}
.seo-editorial-page.ed-invest .dcomp tbody tr{transition:background .3s ease}
.seo-editorial-page.ed-invest .dcomp tbody tr:hover{background:rgba(17,17,17,.025)}

/* CONFOTUR: numbered statute notes, title left, text right */
.seo-editorial-page.ed-invest #confotur .inv-row{gap:0!important;counter-reset:wic;border-top:1px solid var(--ed-hair-d)}
.seo-editorial-page.ed-invest #confotur .inv-item{counter-increment:wic;background:transparent;border:0;border-bottom:1px solid var(--ed-hair-d);padding:1.7rem 0;display:grid;grid-template-columns:minmax(0,15rem) minmax(0,1fr);column-gap:clamp(1.6rem,4vw,3.4rem);align-items:start}
.seo-editorial-page.ed-invest #confotur .inv-item>b{grid-column:1;grid-row:1 / span 6;font-weight:400;font-size:1.18rem;line-height:1.35}
.seo-editorial-page.ed-invest #confotur .inv-item>b::before{content:counter(wic,decimal-leading-zero);display:block;font-family:var(--fh);font-size:.74rem;letter-spacing:.2em;color:var(--red);margin-bottom:.7rem}
.seo-editorial-page.ed-invest #confotur .inv-item>*:not(b){grid-column:2}
.seo-editorial-page.ed-invest #confotur .inv-item p{font-size:.95rem;line-height:1.82}
.seo-editorial-page.ed-invest .note-box-d{background:transparent;border-left:1px solid var(--red);padding:.3rem 0 .3rem 1.3rem;margin-top:2rem}

/* Notes: a red rule, no panel */
.seo-editorial-page.ed-invest .note-box{background:transparent;border-left:1px solid var(--red);padding:.3rem 0 .3rem 1.3rem;margin-top:2.4rem}

/* Risks: a numbered due-diligence index */
.seo-editorial-page.ed-invest .risk-grid{gap:0 clamp(1.8rem,4vw,3.4rem);counter-reset:wir;border-top:1px solid var(--ed-hair)}
.seo-editorial-page.ed-invest .risk-item{counter-increment:wir;background:transparent;border:0;border-bottom:1px solid var(--ed-hair-soft);box-shadow:none;padding:1.35rem 0 1.4rem 2.6rem;position:relative}
.seo-editorial-page.ed-invest .risk-item::before{content:counter(wir,decimal-leading-zero);position:absolute;left:0;top:1.45rem;font-family:var(--fh);font-size:.74rem;letter-spacing:.14em;color:var(--red)}
.seo-editorial-page.ed-invest .risk-item b{font-weight:400;font-size:1.05rem}

/* Legal advisors: three columns on hairlines, left-aligned */
.seo-editorial-page.ed-invest .law-grid{gap:0;border-top:1px solid var(--ed-hair);max-width:1180px;margin-left:auto;margin-right:auto}
.seo-editorial-page.ed-invest .lawcard{background:transparent;border:0;box-shadow:none;text-align:left;padding:1.8rem 1.8rem 1.9rem;border-right:1px solid var(--ed-hair-soft)}
.seo-editorial-page.ed-invest .lawcard:first-child{padding-left:0}
.seo-editorial-page.ed-invest .lawcard:last-child{border-right:0}
.seo-editorial-page.ed-invest .lawcard::before{content:none}
.seo-editorial-page.ed-invest .law-icon{width:auto;height:auto;background:none;border:0;border-radius:0;justify-content:flex-start;margin:0 0 1.1rem}
.seo-editorial-page.ed-invest .law-name{font-weight:400;font-size:1.3rem}
.seo-editorial-page.ed-invest .law-tags{justify-content:flex-start;gap:0}
.seo-editorial-page.ed-invest .law-tag{background:transparent;border:0;padding:0 .8rem 0 0;font-size:.64rem;letter-spacing:.18em;color:var(--t3)}
.seo-editorial-page.ed-invest .law-tag+.law-tag::before{content:'·';margin-right:.8rem;color:var(--red)}
.seo-editorial-page.ed-invest .law-link{background:transparent;color:var(--txt);padding:0 0 .25rem;border-bottom:1px solid var(--red)}
.seo-editorial-page.ed-invest .law-link:hover{background:transparent;color:var(--red)}

/* Inline citations: folded into a native disclosure */
.seo-editorial-page .ed-cite{margin-top:.9rem}
.seo-editorial-page .ed-cite>summary{list-style:none;cursor:pointer;display:inline-flex;align-items:center;gap:.5rem;font-family:var(--fh);font-size:.66rem;font-weight:500;letter-spacing:.2em;text-transform:uppercase;color:var(--t3);padding:.25rem 0;transition:color .3s ease}
.seo-editorial-page .ed-cite>summary::-webkit-details-marker{display:none}
.seo-editorial-page .ed-cite>summary::before{content:'+';font-family:var(--fb);font-size:.95rem;font-weight:300;letter-spacing:0;color:var(--red);line-height:1}
.seo-editorial-page .ed-cite[open]>summary::before{content:'\2013'}
.seo-editorial-page .ed-cite>summary:hover{color:var(--txt)}
.seo-editorial-page .ed-cite>summary:focus-visible{outline:2px solid var(--red);outline-offset:3px}
.seo-editorial-page .ed-cite .src{margin-top:.45rem}
.seo-editorial-page .ed-cite--d>summary{color:rgba(255,255,255,.5)}
.seo-editorial-page .ed-cite--d>summary:hover{color:#fff}

/* Sources: the table sits inside the shared disclosure */
.seo-editorial-page.ed-invest .ed-sources--invest{padding-top:clamp(2.6rem,5vw,4rem);background:#fff}
.seo-editorial-page.ed-invest .ed-sources--invest .destination-sources{max-width:1180px}
.seo-editorial-page.ed-invest .ed-sources--invest .dcomp-wrap{max-width:none;margin:.3rem 0 0}
.seo-editorial-page.ed-invest .ed-sources--invest .dcomp{font-size:.8rem}
.seo-editorial-page.ed-invest .ed-sources--invest .dcomp caption{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.seo-editorial-page.ed-invest .ed-sources--invest .dcomp td,.seo-editorial-page.ed-invest .ed-sources--invest .dcomp th{padding:.55rem .9rem .55rem 0;color:var(--t2)}
.seo-editorial-page.ed-invest .ed-sources--invest .wi-src-note{font-size:.72rem;letter-spacing:.06em;color:var(--t3)}
.seo-editorial-page.ed-invest .ed-sources--invest .reviewed{max-width:1180px;border-top:0;padding-top:0}

@media(max-width:1080px){
  .seo-editorial-page.ed-invest #thesis .overview-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .seo-editorial-page.ed-invest .wi-dest-head{grid-template-columns:1fr}
}
@media(max-width:900px){
  .seo-editorial-page.ed-invest .lawcard,.seo-editorial-page.ed-invest .lawcard:first-child{padding:1.6rem 0;border-right:0;border-bottom:1px solid var(--ed-hair-soft)}
  .seo-editorial-page.ed-invest #confotur .inv-item{grid-template-columns:1fr}
  .seo-editorial-page.ed-invest #confotur .inv-item>b{grid-row:auto;margin-bottom:.6rem}
  .seo-editorial-page.ed-invest #confotur .inv-item>*:not(b){grid-column:1}
}
@media(max-width:700px){
  .seo-editorial-page.ed-invest #fundamentals .overview-grid,.seo-editorial-page.ed-invest #thesis .overview-grid{grid-template-columns:1fr}
  .seo-editorial-page.ed-invest #snapshot .stat-box{padding:1.3rem 1rem 1.4rem 0;border-right:0;border-bottom:1px solid var(--ed-hair-soft)}
  .seo-editorial-page.ed-invest #snapshot .stat-box:nth-child(even){padding-left:1rem;border-left:1px solid var(--ed-hair-soft)}
  .seo-editorial-page.ed-invest #snapshot .stat-strip+.stat-strip{border-top:0}
}

/* ── 18. CASA DE CAMPO GUIDES (moved from each page's inline <style>, Phase 8) ── */
.seo-editorial-page.ed-guide .phero{position:relative;min-height:62vh;display:flex;align-items:flex-end;overflow:hidden;padding:9rem 2.8rem 3.5rem}
.seo-editorial-page.ed-guide .phero-bg{position:absolute;inset:0;background-size:cover;background-position:center}
.seo-editorial-page.ed-guide .phero-ov{position:absolute;inset:0}
.seo-editorial-page.ed-guide .phero-in{position:relative;z-index:2;max-width:700px}
.seo-editorial-page.ed-guide .phero-in h1{font-family:"Noto Serif Display",serif;font-size:clamp(2.2rem,5vw,3.8rem);font-weight:700;color:#fff;line-height:1.08;margin-bottom:.9rem}
.seo-editorial-page.ed-guide .phero-in h1 em{font-style:italic;color:var(--red)}
.seo-editorial-page.ed-guide .phero-sub{font-size:.96rem;color:rgba(255,255,255,.75);line-height:1.8;max-width:580px;margin-bottom:1.6rem}
.seo-editorial-page.ed-guide .phero-cta{display:flex;gap:0.5rem;flex-wrap:wrap}
.seo-editorial-page.ed-guide .breadcrumb{font-size:.82rem;letter-spacing:.1em;text-transform:uppercase;color:rgba(255,255,255,.5);margin-bottom:1rem}
.seo-editorial-page.ed-guide .breadcrumb a{color:rgba(255,255,255,.7);transition:var(--transition)}
.seo-editorial-page.ed-guide .breadcrumb a:hover{color:var(--red)}
.seo-editorial-page.ed-guide .gd-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:3.5rem;align-items:start}
.seo-editorial-page.ed-guide .nb-item{background:#fff;border:1px solid var(--ir3);border-bottom:3px solid var(--red);padding:1.5rem;box-shadow:var(--sh);transition:var(--transition)}
.seo-editorial-page.ed-guide .nb-item:hover{transform:translateY(-4px);box-shadow:var(--sh2)}
.seo-editorial-page.ed-guide .nb-item h3{font-family:"Noto Serif Display",serif;font-size:1.05rem;color:var(--txt);margin-bottom:.3rem}
.seo-editorial-page.ed-guide .nb-tag{font-size:.86rem;color:var(--red);font-weight:600;letter-spacing:.04em;text-transform:uppercase;display:block;margin-bottom:.6rem}
.seo-editorial-page.ed-guide .nb-item p{font-size:.95rem;color:var(--t2);line-height:1.75}
.seo-editorial-page.ed-guide .nb-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:0.7rem}
.seo-editorial-page.ed-guide .step-row{display:flex;gap:1rem;align-items:flex-start;padding:1.1rem 0;border-bottom:1px solid var(--ir3)}
.seo-editorial-page.ed-guide .step-row:last-child{border-bottom:none}
.seo-editorial-page.ed-guide .step-n{font-family:"Noto Serif Display",serif;font-size:1.5rem;color:var(--red);flex-shrink:0;min-width:2.6rem}
.seo-editorial-page.ed-guide .step-row b{display:block;font-size:.98rem;color:var(--txt);margin-bottom:.35rem}
.seo-editorial-page.ed-guide .step-row p{font-size:.95rem;color:var(--t2);line-height:1.75}
.seo-editorial-page.ed-guide .lf-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:0.7rem}
.seo-editorial-page.ed-guide .lf-item{background:var(--ir);border:1px solid var(--ir3);padding:1.4rem;box-shadow:var(--sh)}
.seo-editorial-page.ed-guide .lf-item b{display:block;font-family:"Noto Serif Display",serif;font-size:1rem;color:var(--txt);margin-bottom:.4rem}
.seo-editorial-page.ed-guide .lf-item p{font-size:.94rem;color:var(--t2);line-height:1.7}
.seo-editorial-page.ed-guide .cluster-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:0.7rem}
.seo-editorial-page.ed-guide .cl-card{background:#fff;border:1px solid var(--ir3);padding:1.5rem;box-shadow:var(--sh);transition:var(--transition);display:block}
.seo-editorial-page.ed-guide .cl-card:hover{transform:translateY(-4px);box-shadow:var(--sh2)}
.seo-editorial-page.ed-guide .cl-card span.sl{display:block;margin-bottom:.4rem}
.seo-editorial-page.ed-guide .cl-card b{display:block;font-family:"Noto Serif Display",serif;font-size:1.05rem;color:var(--txt);margin-bottom:.45rem}
.seo-editorial-page.ed-guide .cl-card p{font-size:.93rem;color:var(--t2);line-height:1.7}
.seo-editorial-page.ed-guide .note-box{background:var(--ir);border-left:3px solid var(--red);padding:1.2rem 1.4rem;margin-top:1.4rem}
.seo-editorial-page.ed-guide .note-box p{font-size:.93rem;color:var(--t2);line-height:1.75}
@media(max-width:1080px){
.seo-editorial-page.ed-guide .gd-grid,.seo-editorial-page.ed-guide .nb-grid{grid-template-columns:1fr}
.seo-editorial-page.ed-guide .lf-grid,.seo-editorial-page.ed-guide .cluster-grid{grid-template-columns:1fr 1fr}
.seo-editorial-page.ed-guide .phero{padding:8rem 1.4rem 2.5rem}
}
@media(max-width:700px){
.seo-editorial-page.ed-guide .lf-grid,.seo-editorial-page.ed-guide .cluster-grid{grid-template-columns:1fr}
}

/* ── 19. CASA DE CAMPO GUIDES — editorial refinement ─────────── */
/* Intro: text and image share the chapter instead of leaving a gap */
.seo-editorial-page.ed-guide .gd-grid{align-items:center;gap:clamp(2rem,5vw,4.5rem)}
.seo-editorial-page.ed-guide .gd-grid{align-items:stretch}
.seo-editorial-page.ed-guide .gd-grid > .dov-media{margin:0;grid-column:2;grid-row:1;align-self:stretch;min-height:clamp(320px,32vw,500px)!important}
.seo-editorial-page.ed-guide .gd-grid > .dov-media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
@media(max-width:1080px){.seo-editorial-page.ed-guide .gd-grid > .dov-media{grid-column:1;grid-row:auto;min-height:0!important;aspect-ratio:16/9}}
@media(max-width:700px){.seo-editorial-page.ed-guide .gd-grid > .dov-media{aspect-ratio:4/3}}
/* Day / feature grids become a structured list with hairlines */
.seo-editorial-page.ed-guide .lf-grid{gap:0 clamp(1.4rem,3vw,2.6rem)}
.seo-editorial-page.ed-guide .lf-item{background:transparent;border:0;border-top:1px solid var(--ed-hair);box-shadow:none;padding:1.4rem 0 1.5rem}
.seo-editorial-page.ed-guide .lf-item b{font-size:1.15rem;margin-bottom:.5rem}
/* Neighborhood cards: hairline, sharp, no lift */
.seo-editorial-page.ed-guide .nb-grid{gap:0 clamp(1.6rem,3.5vw,3rem)}
.seo-editorial-page.ed-guide .nb-item{background:transparent;border:0;border-top:1px solid var(--ed-hair);box-shadow:none;padding:1.6rem 0 1.7rem}
.seo-editorial-page.ed-guide .nb-item:hover{transform:none;box-shadow:none}
.seo-editorial-page.ed-guide .nb-item h3{font-size:1.4rem;font-weight:400;margin-bottom:.45rem}
.seo-editorial-page.ed-guide .nb-tag{font-size:.68rem;letter-spacing:.2em}
/* "Continue" cards become onward-link rows */
.seo-editorial-page.ed-guide .cluster-grid{gap:0 clamp(1.4rem,3vw,2.6rem);border-top:1px solid var(--ed-hair)}
.seo-editorial-page.ed-guide .cl-card{background:transparent;border:0;border-bottom:1px solid var(--ed-hair);box-shadow:none;padding:1.3rem 1.8rem 1.3rem 0;position:relative}
.seo-editorial-page.ed-guide .cl-card::after{content:'\2192';position:absolute;right:0;top:50%;transform:translateY(-50%);color:var(--red);transition:transform .4s var(--m-ease,ease)}
.seo-editorial-page.ed-guide .cl-card:hover{transform:none;box-shadow:none}
.seo-editorial-page.ed-guide .cl-card:hover::after{transform:translate(5px,-50%)}
.seo-editorial-page.ed-guide .cl-card:hover b{color:var(--red)}
.seo-editorial-page.ed-guide .cl-card b{font-size:1.15rem;font-weight:400;transition:color .3s ease}
/* Numbered steps and notes: quieter */
.seo-editorial-page.ed-guide .step-row{border-bottom-color:var(--ed-hair)}
.seo-editorial-page.ed-guide .note-box{background:transparent;border-left:1px solid var(--red);padding:.4rem 0 .4rem 1.2rem}
.seo-editorial-page.ed-guide .note-box p{font-size:.86rem;color:var(--t3)}
.seo-editorial-page.ed-guide #contact-form-section .note-box p{color:rgba(255,255,255,.55)}
@media(max-width:700px){.seo-editorial-page.ed-guide .cl-card{padding-right:1.6rem}}
