/* Design B: source-led data media. Scoped to the public homepage. */
.dm-home{--dm-muted:#636e76;margin:24px 0 40px;color:var(--ink,#20262d)}
.dm-accessible-title{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
/* The reading order is news, products, then context at every viewport. */
.dm-hero{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:28px;align-items:start}
.dm-home .dm-hero>.news-carousel{min-width:0;grid-column:1}
.dm-home .dm-hero>.wp-shelf{grid-column:2;min-width:0;margin:0}
.dm-home .dm-hero:not(:has(>.wp-shelf)){grid-template-columns:minmax(0,1fr)}
.dm-home-context{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr);gap:28px;align-items:start;margin-top:28px;padding-top:22px;border-top:1px solid var(--line,#d8dee2)}
.dm-home .dm-home-context>.dm-market{margin:0;min-width:0;box-sizing:border-box}
.dm-home .dm-home-context>.dm-market>.section-title{flex-wrap:wrap;align-items:baseline;gap:6px 16px}
.dm-home .dm-home-context>.dm-market .section-title h2 span{display:block;margin:5px 0 0}
.dm-home .news-carousel{margin:0;display:flex;flex-direction:column}
.dm-home .news-carousel-slides{order:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;align-items:start}
.dm-home .news-carousel-slide.news-main-lead{display:flex;flex-direction:column;gap:0;align-items:stretch;grid-area:auto}
.dm-home .news-carousel-slide[aria-hidden="true"]{display:none}
.dm-home .news-carousel-slide .news-lead-photo img{aspect-ratio:1.8;object-fit:contain;background:#f3f5f7;max-height:450px}
.dm-home .news-carousel-slide .news-lead-photo figcaption{font-size:12px;line-height:1.4;margin:6px 0;color:var(--dm-muted)}
.dm-home .news-carousel-slide .news-lead-photo figcaption span{display:inline;margin:0}
.dm-home .news-main-lead>.news-record{padding:10px 0 12px;border:0}
.dm-home .news-main-lead .news-record h3{font-size:clamp(26px,3vw,40px);line-height:1.25;margin:10px 0;letter-spacing:-.04em}
.dm-home .news-main-lead .news-record p{font-size:16px;line-height:1.6;margin:0 0 12px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.dm-home .news-main-lead .news-record-bottom{flex-direction:row;flex-wrap:wrap;gap:8px 18px;border:0;padding:0;font-size:12px}
.dm-home .news-carousel-controls{order:1;justify-content:flex-start;gap:6px;padding-top:8px;border-top:1px solid var(--line,#d8dee2)}
.dm-home .news-carousel-controls button{font-size:12px;padding:6px 9px;min-height:44px}
.dm-home .news-carousel-controls [data-carousel-toggle]{min-width:0;margin-right:auto}
.dm-home .news-carousel-help{order:2;font-size:12px;margin:6px 0 0;line-height:1.5}
.dm-home .news-home-top,.dm-home .news-home-top:has(.news-bigtech-slot:not([hidden])){display:flex;flex-direction:column;gap:18px;min-width:0}
.dm-home .news-bigtech-slot{width:100%;min-width:0}
.dm-home .news-bigtech-slot[hidden]{display:none}
.dm-home .news-bigtech-spotlight{margin:0;padding:16px;background:#f3f5f7;border-top:3px solid var(--action,#147d85);display:block}
.dm-home .news-bigtech-spotlight .news-lead-photo{display:none}
.dm-home .news-bigtech-spotlight h2{font-size:20px;line-height:1.35;margin:8px 0}
.dm-home .news-bigtech-spotlight .news-latest-summary{font-size:12px;line-height:1.55;margin:8px 0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.dm-home .news-bigtech-spotlight .news-latest-source{font-size:12px!important;margin:8px 0}
.dm-home .news-bigtech-spotlight .button{padding:0;background:none;color:var(--action);font-size:12px;min-height:44px}
.dm-home .news-bigtech-spotlight .source-link{font-size:12px;margin:6px 0}
.dm-home .news-bigtech-spotlight .news-latest-policy{font-size:12px!important;line-height:1.45;margin:6px 0 0}
.dm-home .news-bigtech-spotlight .news-latest-caveat{margin:8px 0}
.dm-home .news-bigtech-spotlight .news-latest-caveat summary{font-size:12px}
.dm-rail{width:100%}
.dm-supporting{display:grid;grid-template-columns:minmax(0,1fr) 105px;gap:16px;border-bottom:1px solid var(--line,#d8dee2);padding:16px 0}
.dm-supporting:first-child{padding-top:0}
.dm-supporting-photo{grid-column:2;grid-row:1;align-self:start}
.dm-supporting-photo img{display:block;width:100%;height:105px;object-fit:contain;background:#f3f5f7}
.dm-supporting>div{grid-column:1;grid-row:1;min-width:0}
.dm-supporting .eyebrow{color:var(--action);font-size:12px;letter-spacing:0}
.dm-supporting h3{font-size:17px;line-height:1.4;margin:7px 0;letter-spacing:-.025em}
.dm-supporting h3 a{color:inherit;text-decoration:none}
.dm-supporting h3 a:hover{text-decoration:underline}
.dm-supporting-source,.dm-photo-credit{font-size:12px;color:var(--dm-muted);line-height:1.5;margin:7px 0 0}
.dm-photo-credit summary{cursor:pointer}
.dm-photo-credit a{color:inherit}
.dm-home .dm-market{margin:28px 0;padding:18px 22px;background:#f3f5f7;border:0}
.dm-home .dm-market>.section-title{margin:0 0 8px;padding:0;border:0}
.dm-home .dm-market .section-title h2{font-size:18px}
.dm-home .dm-market .section-title h2 span{font-size:12px;margin-left:10px}
.dm-home .dm-market .section-title>a{font-size:12px}
.dm-home .market-pulse-note{font-size:12px;line-height:1.5;margin:0 0 14px}
.dm-home .market-pulse-grid{grid-template-columns:repeat(3,minmax(0,1fr));border:0;background:transparent;gap:0}
.dm-home .market-metric{padding:4px 18px;background:transparent;border-left:1px solid #cfd8de}
.dm-home .market-metric:first-child{border-left:2px solid var(--action)}
.dm-home .market-metric h3{font-size:13px;margin:5px 0 8px;line-height:1.4}
.dm-home .market-metric-period{font-size:12px}
.dm-home .market-metric-value{font-size:27px}
.dm-home .market-metric .market-metric-change{font-size:12px;color:var(--action);margin:6px 0}
.dm-home .market-metric details{margin:5px 0 8px}
.dm-home .market-metric>a{font-size:12px}
.dm-more-metrics>summary{font-size:12px;color:var(--action);cursor:pointer;padding-top:14px}
.dm-more-metrics>.market-pulse-grid{margin-top:16px;row-gap:20px}
.dm-latest{margin:30px 0}
.dm-home .dm-latest>.section-title{margin-bottom:16px;border-bottom:0}
.dm-home .dm-latest>.section-title h2{font-size:22px}
.dm-latest-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;align-items:start}
.dm-latest-grid>.news-feature-spotlight,.dm-latest-grid>.news-feature-spotlight.is-text-only{display:block;margin:0;padding:0;border:0;background:white;min-width:0}
.dm-latest-grid .news-latest-copy{padding:0}
.dm-latest-grid .news-record{border:0;padding:0}
.dm-latest-grid .news-record-top{margin:10px 0}
.dm-latest-grid .news-card-photo{order:0;margin:0 0 12px}
.dm-latest-grid .news-lead-photo img,.dm-latest-grid .news-card-photo img{width:100%;height:auto;aspect-ratio:1.8;max-height:220px;object-fit:contain;background:#f3f5f7}
.dm-latest-grid .news-lead-photo figcaption,.dm-latest-grid .news-card-photo figcaption{font-size:12px;line-height:1.4;margin-top:5px;color:var(--dm-muted)}
.dm-latest-grid .news-lead-photo figcaption span,.dm-latest-grid .news-card-photo figcaption span{display:inline}
.dm-latest-grid .news-latest-copy h2,.dm-latest-grid .news-record h3{font-size:20px;line-height:1.4;margin:10px 0}
.dm-latest-grid .news-latest-summary,.dm-latest-grid .news-record p{font-size:13px;line-height:1.65;margin:8px 0 12px}
.dm-latest-grid .news-latest-policy,.dm-latest-grid .news-latest-source{font-size:12px!important;line-height:1.5}
.dm-latest-grid .news-latest-copy .eyebrow{font-size:12px;color:var(--action);line-height:1.5;margin-top:10px}
.dm-latest-grid .news-latest-copy .button{background:transparent;color:var(--action);font-size:12px;padding:0}
.dm-latest-grid .news-latest-copy .source-link{font-size:12px}
.dm-home .news-editorial-policy{font-size:12px;margin-top:30px}
@media(max-width:1050px){.dm-hero{gap:20px}.dm-home .news-carousel-slides{gap:16px}.dm-home-context{grid-template-columns:minmax(0,1fr) minmax(0,1.5fr);gap:22px}.dm-home .dm-home-context>.dm-market .market-pulse-grid{grid-template-columns:minmax(0,1fr);gap:14px}.dm-supporting{grid-template-columns:minmax(0,1fr) 78px;gap:12px}.dm-supporting-photo img{height:85px}.dm-supporting h3{font-size:15px}}
@media(max-width:700px){
 .dm-home{margin-top:14px}.dm-hero{display:flex;flex-direction:column;gap:20px}.dm-home .dm-hero>.news-carousel,.dm-home .dm-hero>.wp-shelf,.dm-home .news-home-top{width:100%}.dm-home .news-carousel-slides{grid-template-columns:minmax(0,1fr)}.dm-home-context{display:flex;flex-direction:column;gap:22px;margin-top:24px}.dm-home .dm-home-context>.dm-market{width:100%}
 .dm-home .news-carousel-slide .news-lead-photo img{aspect-ratio:1.55;max-height:310px}.dm-home .news-main-lead .news-record h3{font-size:25px;line-height:1.32;margin:6px 0 9px}.dm-home .news-main-lead .news-record p{font-size:13px;line-height:1.6}.dm-home .news-record-top{font-size:12px;gap:5px}.dm-home .news-main-lead>.news-record{padding:7px 0 10px}
 .dm-home .news-carousel-controls{display:flex;flex-wrap:wrap}.dm-home .news-carousel-controls button{min-height:44px;font-size:12px;padding:6px}.dm-home .news-carousel-controls [data-carousel-toggle]{grid-column:auto;min-width:0;margin-right:auto}.dm-home .news-carousel-position{font-size:12px;min-width:3ch}
 .dm-supporting{grid-template-columns:88px minmax(0,1fr);gap:14px;padding:12px 0}.dm-supporting-photo{grid-column:1}.dm-supporting-photo img{height:78px}.dm-supporting>div{grid-column:2}.dm-supporting h3{font-size:15px;margin:4px 0}.dm-supporting-source{margin:4px 0 0}.dm-photo-credit{margin-top:3px}
 .dm-home .dm-market{margin:24px 0;padding:16px 12px}.dm-home .dm-market .section-title{display:flex;flex-wrap:wrap;gap:5px}.dm-home .dm-market .section-title h2{font-size:17px}.dm-home .dm-market .section-title h2 span{display:block;margin:5px 0 0}.dm-home .market-pulse-grid{grid-template-columns:1fr;gap:14px}.dm-home .market-metric{padding:0 10px 12px;border-left:2px solid var(--action);border-bottom:1px solid #d8dee2}.dm-home .market-metric h3{font-size:13px}.dm-home .market-metric-value{font-size:25px}
 .dm-latest-grid{grid-template-columns:1fr;gap:26px}.dm-latest-grid .news-lead-photo img,.dm-latest-grid .news-card-photo img{max-height:270px}.dm-home .dm-latest>.section-title h2{font-size:20px}
}
@media(prefers-reduced-motion:reduce){.dm-home *{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

.dm-home .news-latest-copy .button{display:inline-flex;align-items:center;min-height:44px;padding:6px 0;box-sizing:border-box}
.dm-home .news-carousel-slide .news-lead-photo summary{cursor:pointer}
@media(max-width:700px){.dm-supporting-source,.dm-photo-credit,.dm-home .market-metric-period,.dm-home .market-metric>a,.dm-home .market-pulse-note,.dm-home .news-carousel-help,.dm-home .news-carousel-slide .news-lead-photo figcaption,.dm-latest-grid .news-latest-policy,.dm-latest-grid .news-latest-source{font-size:13px!important}}

/* Editorial text actions: no persistent boxes; keyboard focus stays visible. */
.dm-home .news-carousel-controls button{border:0}
.dm-home .news-carousel-controls [data-carousel-prev],.dm-home .news-carousel-controls [data-carousel-next]{background:transparent;text-decoration:underline;text-underline-offset:4px}
.dm-home .news-latest-copy .button{border:0;background:transparent;color:var(--action);text-decoration:underline;text-underline-offset:4px}
.dm-home .news-latest-copy .button:hover{background:transparent;color:var(--action-hover)}
.dm-home .news-carousel-controls button:focus-visible,.dm-home .news-latest-copy .button:focus-visible{outline:3px solid var(--focus);outline-offset:3px}
.news-daily-reading .section-title{margin:0 0 10px;display:block}
.news-daily-reading .section-title h2{font-size:20px;line-height:1.35}
.news-daily-reading .section-title span{display:block;margin-top:5px;font-size:11px;font-weight:400;color:var(--muted,#64706b)}
.daily-publication-status,.news-daily-method{font-size:12px;line-height:1.55;color:var(--muted,#64706b)}
.daily-publication-status{margin:8px 0}
.news-daily-method{margin-bottom:14px}
.news-daily-method summary{cursor:pointer;text-decoration:underline;text-underline-offset:3px}

/* The hero headline and its photo are one link, visible together before the summary. */
.dm-home .news-hero-link{display:block;color:inherit;text-decoration:none}
.dm-home .news-hero-title{font-size:clamp(21px,1.8vw,27px);line-height:1.32;margin:0 0 10px;letter-spacing:-.035em;overflow-wrap:anywhere}
.dm-home .news-hero-link:hover .news-hero-title{text-decoration:underline;text-underline-offset:4px}
.dm-home .news-carousel-slide .news-hero-link img{width:100%;height:auto;max-height:none;aspect-ratio:1.6;object-fit:contain}
@media(max-width:700px){.dm-home .news-hero-title{font-size:23px;line-height:1.3;margin:0 0 10px}.dm-home .news-carousel-slide .news-hero-link img{height:auto;max-height:250px;aspect-ratio:1.6;object-fit:contain}}

/* Supporting story thumbnails also follow their own headline. */
.dm-home .dm-supporting{display:block}.dm-home .dm-supporting-photo{display:block;margin:10px 0;max-width:360px}.dm-home .dm-supporting-photo img{height:150px;object-fit:contain}

/* Compact source-led news columns; natural height keeps translated headlines intact. */
.dm-home .news-main-lead .news-record p{font-size:13px;line-height:1.6;margin-bottom:8px}
.dm-home .news-main-lead .news-record-bottom{font-size:11px;gap:5px 10px}
.dm-home .news-carousel-controls{flex-wrap:wrap;gap:4px}
.dm-home .news-carousel-controls button{font-weight:500}
.dm-home .dm-home-context .market-metric-value{overflow-wrap:anywhere}

/* Desktop context uses two compact rows, not one tall left-hand stack.
   Keep the source/mobile order intact while letting today's reading use the
   space below both the Big Tech briefing and the market indicators. */
@media(min-width:1024px){
 .dm-home .dm-home-context>.news-home-top,
 .dm-home .dm-home-context>.news-home-top:has(.news-bigtech-slot:not([hidden])){display:contents}
 .dm-home .dm-home-context .news-bigtech-slot{grid-column:1;grid-row:1}
 .dm-home .dm-home-context>.dm-market{grid-column:2;grid-row:1}
 .dm-home .dm-home-context:not(:has(.news-bigtech-slot:not([hidden])))>.dm-market{grid-column:1 / -1}
 .dm-home .dm-home-context .dm-rail{grid-column:1 / -1;grid-row:2;min-width:0}
 .dm-home .dm-home-context .news-daily-reading{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:28px;align-items:start}
 .dm-home .dm-home-context .news-daily-reading>.section-title,
 .dm-home .dm-home-context .news-daily-reading>.daily-publication-status,
 .dm-home .dm-home-context .news-daily-reading>.news-daily-method,
 .dm-home .dm-home-context .news-daily-reading>p{grid-column:1 / -1}
 .dm-home .dm-home-context .news-daily-reading>.dm-supporting{min-width:0;padding:16px 0;margin:0}
}
