/* MEDYA PRESS — EDITORIAL V50 · Milk-white newspaper visual system.
   Public-only visual skin. Does not change reader PDF renderer, authentication or feeds. */
:root{--mep-paper:#fdfcf8;--mep-canvas:#fffefa;--mep-ink:#27231f;--mep-muted:#645f59;--mep-coral:#db5a50;--mep-coral-dark:#a83f39;--mep-border:#dcd5cc;--mep-rule:#bbb2a6}
html{background:#fdfcf8}
body.mep-theme{background:#fdfcf8!important;background-image:repeating-linear-gradient(0deg,transparent 0px,transparent 30px,rgba(110,96,84,.014) 31px)!important;color:#27231f!important}
body.mep-theme .shell{max-width:1260px!important}
body.mep-theme .frontpage-v8{background:transparent!important}
/* The masthead becomes a newspaper nameplate; no navy borders or solid promo bands. */
body.mep-theme .utility{background:#f6f3ee!important;color:#554d45!important;border-bottom:1px solid #e2dcd4!important}
body.mep-theme .utility-inner{letter-spacing:1px!important}
body.mep-theme .tophead{border-bottom:3px double #302b27!important;min-height:130px!important}
body.mep-theme .tophead .mg-wordmark{letter-spacing:-2px!important}
body.mep-theme .nav{background:#fffefa!important;border-bottom:2px solid #292522!important}
body.mep-theme .nav .nav-inner{border-top:1px solid #dcd5cc!important}
body.mep-theme .nav a{color:#27231f!important;border-right:1px solid #ded6cd!important;font-size:12px!important}
body.mep-theme .nav a:hover,body.mep-theme .nav a:focus-visible{color:#fff!important;background:#db5a50!important}
body.mep-theme .mep-front-label{border-bottom:4px double #292521!important;padding-bottom:19px!important;margin-bottom:20px!important}
body.mep-theme .mep-front-label h1{font-size:clamp(33px,5vw,58px)!important}
body.mep-theme .mep-kicker:before{width:39px!important;height:3px!important}
body.mep-theme .mep-front-label .mep-date:before{content:'◆';color:#db5a50;margin-right:8px;font-size:9px}
/* Small engraved-style newspaper motifs instead of generic bars. */
body.mep-theme .v8-section-title,body.mep-theme .section-title{border-bottom:4px double #312a25!important}
body.mep-theme .v8-section-title:before{content:'◆';display:inline-flex;font-size:12px;color:#d65a51;margin-right:8px;align-self:center}
body.mep-theme .v8-section-title h2{font-size:clamp(28px,3.1vw,38px)!important}
body.mep-theme .robot-hero{border:1px solid #dbd5ca!important;border-left:4px solid #db5a50!important;background:#fffefa!important;position:relative;overflow:hidden}
body.mep-theme .robot-hero:after{content:'✦  •  ✦  •  ✦';position:absolute;right:21px;top:14px;letter-spacing:9px;color:#d0c5b9;font-size:12px;pointer-events:none}
body.mep-theme .robot-metrics{border-top:1px dotted #c9bfb2!important;color:#5f5650!important}
body.mep-theme .robot-metrics span{color:#5f5650!important}
/* Existing featured-news slider is relit as an editorial spread. */
body.mep-theme .mg-slider{background:#fffefa!important;border:1px solid #ddd5c9!important;border-top:4px solid #2b2723!important;color:#292522!important}
body.mep-theme .mg-slider-head{background:#fffefa!important;border-bottom:1px solid #ded7ce!important;color:#292522!important}
body.mep-theme .mg-slider-head strong{color:#292522!important}
body.mep-theme .mg-slider-head span{color:#756b63!important}
body.mep-theme .mg-slider-head a{color:#a84339!important}
body.mep-theme .mg-slide-text{background:#fffefa!important;border-left:1px solid #e7ded2!important;color:#292522!important;padding:34px 32px!important}
body.mep-theme .mg-slide-text h2{font-size:clamp(28px,3.1vw,43px)!important;letter-spacing:-.8px!important;color:#292522!important;margin:14px 0 10px!important}
body.mep-theme .mg-slide-text p{font-size:15px!important;color:#625b54!important;line-height:1.56!important}
body.mep-theme .mg-slide-text span{color:#aa4940!important}
body.mep-theme .mg-slide-img{filter:none!important;background-color:#f6f1e9!important}
body.mep-theme .mg-slider-actions{background:#f5f0e9!important;border-top:1px dotted #cfc6ba!important;color:#463d36!important}
body.mep-theme .mg-slider-actions button{background:#fffefa!important;border:1px solid #cfc4b8!important;color:#292522!important}
body.mep-theme .mg-slider-actions button:hover{background:#db5a50!important;color:#fff!important}
body.mep-theme .v8-breaking{background:#f7f3ec!important;border-top:1px solid #c5bcb0!important;border-bottom:1px solid #c5bcb0!important}
/* Make the lead's actual image a hero photograph/art panel, never a dark text overlay. */
body.mep-theme .v8-lead{border:1px solid #d8d0c5!important;background:#fffefa!important;min-height:0!important}
body.mep-theme .v8-lead-picture{display:grid!important;grid-template-columns:1fr!important;grid-template-rows:minmax(190px,240px) auto!important;align-items:stretch!important;background-image:none!important;background-color:#fffefa!important;min-height:0!important}
body.mep-theme .v8-lead-picture:before{content:'';display:block;grid-row:1;background-image:var(--mep-lead-image);background-repeat:no-repeat;background-position:center;background-size:cover;border-bottom:4px solid #df5b50}
body.mep-theme .v8-lead-content{grid-row:2;padding:22px 24px 25px!important;color:#292522!important;background:#fffefa!important}
body.mep-theme .v8-lead-content h1{color:#282420!important;font:900 clamp(27px,2.8vw,39px)/1.1 Georgia,serif!important;margin:12px 0!important}
body.mep-theme .v8-lead-content p{color:#625a53!important;font-size:14px!important;line-height:1.56!important}
body.mep-theme .v8-lead-content .v8-action{background:#292522!important;color:#fff!important;border:1px solid #292522!important}
body.mep-theme .v8-side-story img{filter:none!important;background:#f7f2ea!important}
body.mep-theme .v8-edition{background:#fffefa!important}
body.mep-theme .v8-cover{background:#fffefa!important}
body.mep-theme .v8-cover img{max-height:115px!important;width:88%!important;object-fit:cover!important;border:1px solid #dcd1c6!important}
body.mep-theme .v8-cover .v8-cover-mast{border-bottom:2px solid #c1b1a3!important}
body.mep-theme .v8-news-card img,body.mep-theme .news-grid .article-image img{filter:none!important}
body.mep-theme .v8-news-card{background:#fffefa!important;border-bottom:3px solid #d3c8b9!important}
body.mep-theme .v8-news-card h3{font-size:22px!important}
body.mep-theme .mg-ad-leaderboard-v45{background:#fffefa!important}
/* Section carousel replaces old fixed categories grid; draggable/touch + accessible arrows. */
body.mep-theme .mep-departments{margin:45px 0 50px!important;padding:26px 0 22px!important;border-top:5px double #302b25!important;border-bottom:3px double #302b25!important;position:relative!important;background:#fdfcf8!important}
body.mep-theme .mep-departments:before,body.mep-theme .mep-departments:after{content:'✦';position:absolute;top:-18px;font-size:16px;color:#c95851;background:#fdfcf8;padding:4px 12px;left:50%;transform:translateX(-50%)}
body.mep-theme .mep-departments:after{top:auto;bottom:-15px}
.mep-department-heading{display:flex;gap:20px;align-items:flex-end;justify-content:space-between;margin:0 0 20px}
.mep-department-heading .mep-eyebrow{font:800 12px/1.3 Arial,sans-serif!important;color:#ae483e!important;letter-spacing:1.8px}
.mep-department-heading h2{font:900 clamp(29px,3.2vw,43px)/1.1 Georgia,'Times New Roman',serif!important;color:#25211d!important;margin:10px 0 8px!important}
.mep-department-heading h2 em{color:#d5574d;font-style:normal}
.mep-department-heading p{font:14px/1.5 Arial,sans-serif!important;color:#766b62!important;margin:0!important}
.mep-department-controls{display:flex;gap:10px;align-items:center;flex-shrink:0}
body.mep-theme .mep-department-controls button{width:43px;height:43px;background:#fffefa!important;color:#2d2924!important;border:1px solid #c9bfb2!important;font-size:30px!important;line-height:1!important;cursor:pointer;border-radius:0!important}
body.mep-theme .mep-department-controls button:hover{background:#de5c50!important;color:white!important;border-color:#de5c50!important}
.mep-department-controls span{white-space:nowrap;font:800 12px Arial,sans-serif;color:#6d6158;letter-spacing:1.4px}
.mep-department-viewport{overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding:2px;scrollbar-width:thin;scrollbar-color:#bda89c transparent;overscroll-behavior-x:contain;outline-offset:3px}
.mep-department-track{display:flex;gap:18px;align-items:stretch;padding:2px 2px 12px}
body.mep-theme a.mep-department-card{flex:0 0 calc((100% - 36px)/3);min-width:0;display:flex!important;flex-direction:column!important;scroll-snap-align:start;overflow:hidden;text-decoration:none!important;border:1px solid #d8cec3!important;background:#fffefa!important;color:#292522!important;box-shadow:0 5px 0 #eae4dc!important;transition:transform .2s,border-color .2s,box-shadow .2s}
body.mep-theme a.mep-department-card:hover{transform:translateY(-4px)!important;border-color:#b8564f!important;box-shadow:0 9px 0 #eae4dc!important}
.mep-department-art{position:relative;overflow:hidden;aspect-ratio:16/9;background:#fffefa;border-bottom:1px solid #d9cfc4}
.mep-department-art img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .4s}
.mep-department-card:hover img{transform:scale(1.035)}
.mep-department-copy{flex:1;padding:17px 20px 18px;position:relative;background:#fffefa}
.mep-department-copy:after{content:'';position:absolute;top:17px;right:19px;width:6px;height:6px;border-radius:50%;background:#d55b51;box-shadow:11px 0 #d55b51,22px 0 #d55b51}
.mep-department-copy small{font:800 11px Arial,sans-serif!important;letter-spacing:1.3px!important;color:#b14d43!important}
.mep-department-copy h3{font:900 clamp(24px,2.3vw,32px)/1.1 Georgia,serif!important;color:#292522!important;margin:11px 0 8px!important}
.mep-department-copy p{font:14px/1.5 Arial,sans-serif!important;min-height:38px;margin:0 0 14px!important;color:#75695f!important}
.mep-department-copy span{font:800 11px Arial,sans-serif!important;color:#a7463d!important;letter-spacing:.7px}
.mep-department-dots{display:flex;gap:8px;align-items:center;justify-content:center;padding-top:10px;flex-wrap:wrap}
body.mep-theme .mep-department-dots button{width:9px;height:9px;padding:0;border:0;background:#c5b8a9;cursor:pointer;border-radius:100%!important}
body.mep-theme .mep-department-dots button[aria-current="true"]{width:22px;border-radius:5px!important;background:#d45c51}
/* On all public pages, typography and paper should remain consistent. */
body.mep-theme .article-page,body.mep-theme .mainspace{background:transparent!important}
body.mep-theme .article-page .story-image{background:#fdfcf8!important;border:1px solid #e0d6cb!important}
body.mep-theme .article-page h1{color:#25211f!important}
body.mep-theme .mg-about-strip{background:#292622!important}
body.mep-theme footer{background:#282522!important}
@media(max-width:1100px){body.mep-theme a.mep-department-card{flex-basis:calc((100% - 18px)/2)}}
@media(max-width:760px){
 body.mep-theme .shell{width:calc(100% - 28px)!important}
 body.mep-theme .tophead{min-height:98px!important}
 body.mep-theme .nav a{font-size:11px!important}
 body.mep-theme .mep-front-label h1{font-size:34px!important}
 body.mep-theme .mg-slides{min-height:0!important}
 body.mep-theme .mg-slide.active{min-height:0!important}
 body.mep-theme .mg-slide-img{height:205px!important;min-height:205px!important}
 body.mep-theme .mg-slide-text{padding:22px!important;min-height:0!important;border-left:0!important}
 body.mep-theme .mg-slide-text h2{font-size:29px!important;line-height:1.1!important}
 body.mep-theme .mg-slide-text p{font-size:14px!important}
 body.mep-theme .v8-lead,body.mep-theme .v8-lead-picture{min-height:0!important}
 body.mep-theme .v8-lead-picture{grid-template-rows:190px auto!important}
 body.mep-theme .v8-lead-content h1{font-size:clamp(27px,6vw,36px)!important}
 body.mep-theme .mep-departments{margin:28px 0 35px!important;padding:24px 0 21px!important}
 .mep-department-heading{align-items:flex-start;gap:14px;flex-direction:column}
 .mep-department-heading h2{font-size:35px!important}
 .mep-department-heading p{font-size:13px!important}
 .mep-department-controls{align-self:flex-end}
 body.mep-theme a.mep-department-card{flex-basis:min(86%,360px)}
 .mep-department-track{gap:12px}
 .mep-department-copy h3{font-size:28px!important}
 body.mep-theme .v8-news-card h3{font-size:23px!important}
}
@media(prefers-reduced-motion:reduce){body.mep-theme .mep-department-card,.mep-department-art img{transition:none!important}.mep-department-viewport{scroll-behavior:auto!important}}
