@font-face{font-family:"Noto Sans Oriya";src:url("assets/fonts/NotoSansOriya-Regular.ttf") format("truetype");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Noto Sans Oriya";src:url("assets/fonts/NotoSansOriya-Bold.ttf") format("truetype");font-weight:700;font-style:normal;font-display:swap}
@font-face{font-family:"Noto Sans Oriya";src:url("assets/fonts/NotoSansOriya-Bold.ttf") format("truetype");font-weight:800 900;font-style:normal;font-display:swap}
/*
Theme Name: Ramesh e-paper
Theme URI: https://example.com/
Author: Ramesh Kumarr Mallik
Description: Standalone WordPress newspaper ePaper theme with PDF editions, page/clip mapping, civic forwarding workflow, authority directory, and application builder.
Version: 7.1.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: civic-epaper
*/
:root{--ep-primary:#0f5d2e;--ep-accent:#c9a227;--ep-bg:#f5f5f4;--ep-card:#fff;--ep-border:#e5e7eb;--ep-muted:#6b7280;--ep-radius:12px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--ep-bg);color:#111;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans Oriya",sans-serif;line-height:1.5}
a{color:inherit;text-decoration:none}.ep-header{position:sticky;top:0;z-index:100;background:#fff;border-bottom:1px solid var(--ep-border)}.ep-header-inner{max-width:1400px;margin:auto;padding:12px 18px;display:flex;align-items:center;gap:20px}.ep-brand{font-size:20px;font-weight:800;white-space:nowrap}.ep-nav{display:flex;gap:8px;overflow:auto;scrollbar-width:none}.ep-nav::-webkit-scrollbar{display:none}.ep-nav a{padding:9px 12px;border-radius:9px;font-size:14px}.ep-nav a:hover{background:#f3f4f6}.ep-spacer{flex:1}.ep-wrap{max-width:1400px;margin:0 auto;padding:24px 18px}.ep-hero{background:#fff;border:1px solid var(--ep-border);border-radius:16px;padding:24px;margin-bottom:20px}.ep-grid{display:grid;grid-template-columns:260px minmax(0,1fr) 250px;gap:16px}.ep-panel{background:#fff;border:1px solid var(--ep-border);border-radius:14px;padding:14px}.ep-thumbs{display:flex;flex-direction:column;gap:10px;max-height:75vh;overflow:auto}.ep-thumb{border:2px solid transparent;border-radius:9px;padding:4px;background:#fafafa;cursor:pointer}.ep-thumb.active{border-color:var(--ep-accent)}.ep-thumb img{display:block;width:100%;height:auto}.ep-viewer{background:#222;min-height:70vh;border-radius:14px;padding:16px;display:flex;justify-content:center;align-items:flex-start;overflow:auto}.ep-page{position:relative;display:inline-block;max-width:100%;box-shadow:0 8px 30px rgba(0,0,0,.35)}.ep-page>img{display:block;max-width:100%;height:auto}.ep-hotspot{position:absolute;border:1px solid transparent;background:transparent;cursor:pointer}.ep-hotspot:hover,.ep-debug .ep-hotspot{border-color:rgba(185,28,28,.75);background:rgba(185,28,28,.08)}.ep-toolbar{display:flex;flex-wrap:wrap;gap:8px}.ep-btn,button,input[type=submit]{border:0;background:var(--ep-primary);color:#fff;border-radius:9px;padding:10px 13px;cursor:pointer;font:inherit}.ep-btn.secondary{background:#e5e7eb;color:#111}.ep-btn.accent{background:var(--ep-accent)}.ep-card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:16px}.ep-card{background:#fff;border:1px solid var(--ep-border);border-radius:14px;overflow:hidden}.ep-card img{width:100%;display:block}.ep-card-body{padding:14px}.ep-meta{font-size:13px;color:var(--ep-muted)}.ep-modal{display:none;position:fixed;inset:0;background:rgba(0,0,0,.7);z-index:1000;padding:20px;align-items:center;justify-content:center}.ep-modal.open{display:flex}.ep-modal-card{background:#fff;border-radius:16px;max-width:900px;width:100%;max-height:92vh;overflow:auto;padding:20px}.ep-modal-card img{max-width:100%;height:auto}.ep-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.ep-field{display:flex;flex-direction:column;gap:6px}.ep-field.full{grid-column:1/-1}.ep-field input,.ep-field textarea,.ep-field select{width:100%;padding:10px;border:1px solid #d1d5db;border-radius:8px;background:#fff;font:inherit}.ep-step{display:none}.ep-step.active{display:block}.ep-steps{display:flex;gap:6px;overflow:auto;margin-bottom:18px}.ep-step-pill{padding:8px 11px;background:#f3f4f6;border-radius:999px;white-space:nowrap;font-size:13px}.ep-step-pill.active{background:var(--ep-primary);color:#fff}.ep-a4{background:#fff;width:min(794px,100%);min-height:1123px;margin:auto;padding:55px;box-shadow:0 5px 30px rgba(0,0,0,.15);font-family:Arial,"Noto Sans Oriya",sans-serif}.ep-a4 hr{border:0;border-top:1px solid #bbb}.ep-admin-editor{display:grid;grid-template-columns:220px minmax(0,1fr) 330px;gap:12px}.ep-map-stage{background:#222;overflow:auto;padding:15px;text-align:center}.ep-map-page{position:relative;display:inline-block}.ep-map-page img{display:block;max-width:none}.ep-map-box{position:absolute;border:2px solid #b91c1c;background:rgba(185,28,28,.12);cursor:move}.ep-admin-table{width:100%;border-collapse:collapse}.ep-admin-table th,.ep-admin-table td{padding:9px;border-bottom:1px solid #ddd;text-align:left}.notice.ep-success{border-left-color:#16a34a}.ep-footer{margin-top:40px;padding:25px 18px;background:#111827;color:#fff}.ep-footer-inner{max-width:1400px;margin:auto}@media(max-width:1000px){.ep-grid{grid-template-columns:1fr}.ep-thumbs{flex-direction:row;max-height:none;overflow:auto}.ep-thumb{min-width:100px}.ep-admin-editor{grid-template-columns:1fr}.ep-form-grid{grid-template-columns:1fr}.ep-a4{padding:30px;min-height:auto}}@media(max-width:640px){.ep-header-inner{gap:10px}.ep-brand{font-size:17px}.ep-wrap{padding:14px 10px}.ep-toolbar .ep-btn{min-height:44px}.ep-viewer{padding:7px;min-height:55vh}.ep-modal{padding:8px}.ep-modal-card{padding:14px}.ep-a4{padding:20px;font-size:13px}.ep-hotspot{min-width:12px;min-height:12px}}
@media print{body *{visibility:hidden!important}.ep-print-area,.ep-print-area *{visibility:visible!important}.ep-print-area{position:absolute;left:0;top:0;width:100%}}

.ep-map-box{z-index:5;min-width:12px;min-height:12px}.ep-map-box.selected{outline:3px solid #2271b1}.ep-map-box span{position:absolute;left:0;top:-22px;background:#111;color:#fff;font-size:11px;padding:2px 5px;white-space:nowrap;max-width:220px;overflow:hidden;text-overflow:ellipsis}.ep-authority-results{display:flex;flex-wrap:wrap;gap:5px}

/* V2.1 mapping editor: keep the newspaper inside the WordPress admin viewport */
body.toplevel_page_epaper-clip-mapping .wrap{max-width:none;margin-right:20px}
body.toplevel_page_epaper-clip-mapping #wpbody-content{overflow-x:hidden}
.ep-admin-editor{display:grid;grid-template-columns:190px minmax(0,1fr) 320px;gap:14px;align-items:start}
.ep-map-workspace{min-width:0}
.ep-map-toolbar{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin:0 0 10px;padding:8px;background:#fff;border:1px solid #dcdcde;border-radius:6px;position:sticky;top:32px;z-index:20}
.ep-map-toolbar .button{margin:0}
.ep-map-stage{background:#202124;overflow:auto;max-height:calc(100vh - 230px);min-height:420px;padding:14px;text-align:center;border-radius:6px}
.ep-map-page{position:relative;display:inline-block;max-width:100%;line-height:0;vertical-align:top}
.ep-map-page img{display:block;width:auto;max-width:100%;height:auto;max-height:none;user-select:none;-webkit-user-drag:none}
.ep-map-box{position:absolute;z-index:5;border:2px solid #d63638;background:rgba(214,54,56,.16);cursor:move;box-sizing:border-box}
.ep-map-box:hover,.ep-map-box.selected{border-color:#2271b1;background:rgba(34,113,177,.16)}
.ep-map-box span{position:absolute;left:0;top:-23px;max-width:240px;background:#1d2327;color:#fff;font-size:11px;line-height:1.2;padding:4px 6px;border-radius:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;pointer-events:none}
.ep-map-help{font-size:12px;color:#50575e;margin:8px 0 0}
.ep-map-side{position:sticky;top:42px}
.ep-map-side .card{margin-top:0}
@media(max-width:1200px){.ep-admin-editor{grid-template-columns:150px minmax(0,1fr) 280px}}
@media(max-width:900px){.ep-admin-editor{grid-template-columns:1fr}.ep-map-side{position:static}.ep-map-stage{max-height:70vh}.ep-map-toolbar{position:static}}

.ep-edition-bar{display:flex;justify-content:space-between;align-items:center;background:#fff;border:1px solid var(--ep-border);padding:10px 14px;border-radius:8px;margin-bottom:10px}.ep-edition-bar select{min-width:240px;padding:8px;border:1px solid #d1d5db;border-radius:6px}.ep-muted,.ep-reader-date{color:#6b7280}.ep-reader-title{display:flex;justify-content:space-between;align-items:center;margin:10px 0}.ep-reader-title h1{font-size:24px;margin:0}.ep-reader-toolbar{display:flex;align-items:center;gap:8px;background:#fff;border:1px solid var(--ep-border);padding:8px;border-radius:8px;margin-bottom:10px}.ep-reader-toolbar .ep-reader-date{margin-left:auto}.ep-forward-page .ep-hero.compact{padding:18px}.ep-back{font-size:13px;color:#b91c1c}.ep-forward-grid{display:grid;grid-template-columns:minmax(280px,.85fr) minmax(420px,1.15fr);gap:16px}.ep-selected-news img{width:100%;max-height:420px;object-fit:contain;background:#222}.ep-authority-results{display:flex;flex-direction:column;gap:5px;margin-top:6px}.ep-authority-result{background:#f8fafc;border:1px solid #d1d5db;border-radius:7px;padding:8px;text-align:left;cursor:pointer}.ep-forward-preview-wrap{margin-top:18px;background:#e5e7eb;border:1px solid var(--ep-border);border-radius:14px;padding:14px}.ep-forward-preview-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.ep-forward-preview-head h2{margin:0;font-size:18px}.ep-forward-preview-head span{font-size:12px;color:#6b7280}.ep-one-page{width:794px;min-height:1123px;max-width:100%;margin:auto;padding:0;overflow:hidden}.ep-a4-inner{padding:28px 36px;min-height:1067px;background:#fff;font-family:Arial,sans-serif}.ep-doc-head{display:flex;justify-content:space-between;border-bottom:1px solid #999;padding-bottom:8px;font-size:15px}.ep-doc-head span{font-size:10px;color:#666}.ep-doc-to{font-size:10px;line-height:1.35;margin-top:12px}.ep-doc-subject{font-size:10px;margin-top:9px}.ep-doc-clip{display:flex;gap:10px;align-items:center;border:1px solid #bbb;padding:6px;margin:10px 0}.ep-doc-clip img{width:155px;height:85px;object-fit:contain;background:#222}.ep-doc-clip b{font-size:10px}.ep-doc-clip small{display:block;font-size:8px;color:#666;margin-top:3px}.ep-doc-body{font-size:9.5px;line-height:1.35;margin-top:8px}.ep-doc-sign{font-size:9px;line-height:1.4;margin-top:16px}.ep-success-box{margin-top:10px;padding:12px;border:1px solid #86efac;background:#f0fdf4;border-radius:8px}.ep-error{color:#b91c1c}.ep-clip-head{display:flex;justify-content:space-between;align-items:center}.ep-clip-preview>img{display:block;width:100%;max-height:65vh;object-fit:contain;background:#111;margin:8px 0}@media(max-width:900px){.ep-forward-grid{grid-template-columns:1fr}.ep-one-page{width:100%;min-height:auto}.ep-a4-inner{min-height:auto}}@media print{body *{visibility:hidden!important}.ep-one-page,.ep-one-page *{visibility:visible!important}.ep-one-page{position:absolute;left:0;top:0;width:794px;box-shadow:none!important}.ep-forward-page .ep-hero,.ep-forward-grid,.ep-forward-preview-head{display:none!important}}


/* V3.4 edition administration */
.ep-editions-admin-table td{vertical-align:middle}.ep-edition-actions{display:flex;gap:6px;align-items:center;flex-wrap:wrap}.ep-edition-actions .button-link-delete{color:#b32d2e}.ep-edition-edit-grid{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:18px;max-width:1200px}.ep-edition-edit-grid .card{background:#fff;border:1px solid #dcdcde;padding:18px;box-sizing:border-box}.ep-edition-edit-grid .card h2{margin-top:0}.ep-edition-edit-summary{height:max-content;position:sticky;top:42px}@media(max-width:900px){.ep-edition-edit-grid{grid-template-columns:1fr}.ep-edition-edit-summary{position:static}}

/* V4 direct-PDF reader and mapper */
.ep-pdf-viewer{background:#1f2937;min-height:72vh;overflow:auto;align-items:flex-start}
.ep-pdf-page{position:relative;display:inline-block;background:#fff;box-shadow:0 10px 35px rgba(0,0,0,.38);line-height:0}
.ep-pdf-page canvas{display:block;background:#fff}
.ep-pdf-hotspots{position:absolute;inset:0;pointer-events:none}
.ep-pdf-hotspots .ep-hotspot{pointer-events:auto;box-sizing:border-box}
.ep-pdf-loading{position:absolute;inset:18px auto auto 18px;background:rgba(255,255,255,.95);color:#111827;border-radius:8px;padding:9px 12px;font-size:13px;line-height:1.3;z-index:4;box-shadow:0 2px 10px rgba(0,0,0,.15)}
.ep-thumb{display:flex;flex-direction:column;align-items:center;gap:5px}
.ep-thumb-canvas{display:block;max-width:100%;height:auto;background:#fff}
.ep-map-page-v4{background:#fff;line-height:0;display:inline-block;position:relative}
#ep-admin-map-canvas{display:block;background:#fff}
#ep-admin-map-overlay{position:absolute;inset:0;pointer-events:none}
.ep-map-page-v4 .ep-map-box{pointer-events:auto;line-height:normal}
.ep-map-stage-v4{background:#1f2937}
.ep-map-workspace-v4{min-width:0}
.ep-admin-editor-v4{grid-template-columns:190px minmax(0,1fr) 320px}
@media(max-width:1100px){.ep-admin-editor-v4{grid-template-columns:1fr}.ep-admin-editor-v4>.card:first-child{order:1}.ep-admin-editor-v4>.ep-map-workspace{order:2}.ep-admin-editor-v4>#ep-clip-form{order:3}}

/* V5 polygon hotspots */
.ep-pdf-hotspots .ep-hotspot-svg{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;overflow:visible;z-index:8}.ep-pdf-hotspots .ep-hotspot{fill:rgba(185,28,28,.025);stroke:rgba(185,28,28,.18);stroke-width:.55;cursor:pointer;vector-effect:non-scaling-stroke;pointer-events:all!important;touch-action:manipulation}.ep-debug .ep-pdf-hotspots .ep-hotspot{fill:rgba(185,28,28,.12);stroke:rgba(185,28,28,.75)}.ep-pdf-hotspots .ep-hotspot:hover,.ep-pdf-hotspots .ep-hotspot:focus{fill:rgba(34,113,177,.14);stroke:rgba(34,113,177,.9);outline:none}.ep-pdf-hotspots .ep-hotspot-svg + .ep-hotspot-svg{display:block}


/* V5.2 frontend navigation, responsive layout and clip rendering */
.ep-brand{display:inline-flex;align-items:baseline;gap:5px;min-width:0}.ep-brand-name{overflow:hidden;text-overflow:ellipsis}.ep-brand-suffix{font-weight:500;color:var(--ep-muted);font-size:.82em}.ep-header{box-shadow:0 1px 0 rgba(0,0,0,.03)}.ep-header-inner{min-height:62px}.ep-nav{flex:0 1 auto;align-items:center;overflow:visible}.ep-nav a{white-space:nowrap}.ep-nav-forward{background:var(--ep-accent);color:#fff!important}.ep-nav-forward:hover{background:#991b1b!important}.ep-mobile-menu-toggle{display:none;margin-left:auto;background:#111827;color:#fff;border:0;border-radius:9px;padding:9px 11px;align-items:center;gap:7px;font-size:13px}.ep-menu-icon{display:inline-flex;flex-direction:column;gap:3px;width:18px}.ep-menu-icon span{height:2px;width:18px;background:#fff;border-radius:2px;display:block}.ep-mobile-menu-label{font-weight:700}.ep-reader-controls{display:flex;align-items:center;justify-content:flex-start;gap:4px;margin:0 0 6px!important;padding:4px 0}.ep-reader-controls>.ep-btn{padding:8px 11px;line-height:1.1}.ep-reader-controls>[data-action="zoomin"],.ep-reader-controls>[data-action="zoomout"]{min-width:38px}.ep-reader-controls>[data-action="fit"],.ep-reader-controls>[data-action="fullscreen"],.ep-reader-controls .ep-btn.accent{margin-left:0}.ep-pdf-viewer{margin-top:0}.ep-clip-image-wrap{background:#fff;border:1px solid #e5e7eb;border-radius:10px;padding:8px;margin:10px 0}.ep-clip-image{display:block;width:100%;max-width:100%;max-height:68vh;object-fit:contain;background:#fff!important}.ep-clip-no-image{padding:18px;border:1px dashed #cbd5e1;border-radius:10px;background:#f8fafc;color:#64748b}.ep-clip-actions{margin-top:6px}.ep-selected-news img,.ep-doc-clip img{background:#fff!important}.ep-grid{align-items:start}.ep-thumbs{overscroll-behavior:contain}.ep-thumb-canvas{background:#fff!important}.ep-reader-title{gap:12px}.ep-reader-title h1{font-size:clamp(22px,2.2vw,30px)}.ep-edition-bar form{margin:0}.ep-edition-bar select{max-width:100%}
@media(max-width:980px){.ep-header-inner{padding:10px 14px;position:relative}.ep-mobile-menu-toggle{display:inline-flex}.ep-nav{position:absolute;left:10px;right:10px;top:calc(100% + 6px);display:none;flex-direction:column;align-items:stretch;background:#fff;border:1px solid var(--ep-border);border-radius:12px;box-shadow:0 10px 30px rgba(0,0,0,.12);padding:7px;gap:3px;z-index:1100;max-height:calc(100vh - 90px);overflow:auto}.ep-nav.is-open{display:flex}.ep-nav a{padding:12px 13px;border-radius:8px}.ep-nav a:hover{background:#f3f4f6}.ep-nav-forward{margin-top:3px;text-align:center}.ep-spacer{display:none}.ep-header{z-index:1100}.ep-edition-bar{flex-direction:column;align-items:stretch;gap:8px}.ep-edition-bar form,.ep-edition-bar select{width:100%;min-width:0}.ep-reader-title{align-items:flex-start}.ep-grid{grid-template-columns:1fr}.ep-grid>aside:first-child{order:2}.ep-grid>main{order:1}.ep-grid>aside:last-child{order:3}.ep-thumbs{flex-direction:row;max-height:none;overflow-x:auto;overflow-y:hidden;padding-bottom:3px}.ep-thumb{min-width:94px;max-width:120px;flex:0 0 auto}.ep-reader-controls{flex-wrap:wrap}.ep-reader-controls>[data-action="prev"],.ep-reader-controls>[data-action="next"]{min-width:74px}.ep-viewer{min-height:58vh}.ep-modal-card{max-height:94vh}}
@media(max-width:620px){body.ep-menu-open{overflow:hidden}.ep-wrap{padding:12px 8px}.ep-header-inner{min-height:56px}.ep-brand{font-size:17px}.ep-brand-name{max-width:62vw}.ep-reader-title{margin:8px 0;flex-direction:column;gap:2px}.ep-reader-title h1{font-size:22px}.ep-reader-title>span{font-size:12px}.ep-reader-toolbar{padding:5px;margin-bottom:6px}.ep-reader-toolbar .ep-btn{padding:8px 10px}.ep-reader-controls{padding:2px 0;gap:3px}.ep-reader-controls>[data-action="prev"],.ep-reader-controls>[data-action="next"]{flex:1 1 calc(50% - 3px);min-width:0}.ep-reader-controls>[data-action="fit"],.ep-reader-controls>[data-action="fullscreen"],.ep-reader-controls .ep-btn.accent{flex:1 1 auto}.ep-pdf-viewer{padding:5px;min-height:55vh;border-radius:10px}.ep-panel{padding:10px}.ep-modal{padding:6px}.ep-modal-card{padding:12px;border-radius:12px}.ep-clip-image{max-height:55vh}.ep-clip-actions{gap:5px}.ep-clip-actions .ep-btn{padding:8px 10px}.ep-footer{margin-top:24px}.ep-edition-bar{padding:10px}.ep-nav{left:6px;right:6px}.ep-pdf-page{box-shadow:0 5px 18px rgba(0,0,0,.24)}}


/* V5.3 compact reader header + truly responsive PDF canvas */
.ep-reader-page{padding-top:18px}
.ep-reader-topbar{display:grid;grid-template-columns:minmax(0,1fr) minmax(240px,320px);gap:16px;align-items:center;background:linear-gradient(180deg,#fff,#fafafa);border:1px solid var(--ep-border);border-radius:16px;padding:14px 16px;box-shadow:0 6px 22px rgba(15,23,42,.05);margin-bottom:12px}
.ep-reader-topbar-left{min-width:0}.ep-reader-kicker{display:inline-flex;align-items:center;gap:7px;font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--ep-accent);margin-bottom:2px}.ep-reader-kicker:before{content:"";width:7px;height:7px;border-radius:50%;background:currentColor}.ep-reader-edition-line{display:flex;align-items:baseline;gap:10px;min-width:0}.ep-reader-edition-line strong{font-size:18px;line-height:1.2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ep-reader-edition-line span{font-size:12px;color:var(--ep-muted);white-space:nowrap}.ep-reader-select{min-width:0}.ep-reader-select label{display:block;font-size:11px;color:var(--ep-muted);font-weight:700;margin-bottom:5px}.ep-reader-select select{display:block;width:100%;min-width:0;height:42px;padding:0 12px;border:1px solid #cfd5dd;border-radius:10px;background:#fff;font:inherit;color:#111827;outline:none}.ep-reader-select select:focus{border-color:#64748b;box-shadow:0 0 0 3px rgba(59,130,246,.12)}
.ep-reader-title{display:flex;justify-content:space-between;align-items:flex-end;gap:14px;margin:10px 0 10px;padding:2px 2px 0}.ep-reader-title h1{font-size:clamp(28px,4vw,46px);line-height:1.02;letter-spacing:-.02em;margin:0}.ep-reader-title>span{font-size:13px;color:var(--ep-muted);padding-bottom:4px;white-space:nowrap}
.ep-reader-toolbar{display:flex;align-items:center;gap:7px;background:rgba(255,255,255,.96);border:1px solid var(--ep-border);padding:7px;border-radius:12px;margin-bottom:8px;box-shadow:0 4px 14px rgba(15,23,42,.04)}
.ep-reader-toolbar .ep-btn{padding:8px 11px}.ep-reader-toolbar .ep-reader-date{margin-left:auto;font-size:13px;font-weight:700;color:#475569;padding:0 7px}
.ep-reader-controls{width:100%;display:flex;align-items:center;gap:5px;margin:0 0 7px!important;padding:0!important}.ep-reader-controls .ep-btn{min-height:42px}.ep-reader-controls>[data-action="prev"],.ep-reader-controls>[data-action="next"]{font-weight:800}.ep-reader-controls .ep-reader-control-spacer{flex:1 1 auto}
.ep-pdf-viewer{width:100%;min-width:0;overflow:auto;padding:8px;background:linear-gradient(180deg,#1d2635,#111827);border-radius:14px;display:flex;justify-content:center;align-items:flex-start}
.ep-pdf-page{max-width:none;flex:0 0 auto;margin:0 auto;position:relative;display:block;width:max-content;background:#fff;line-height:0}.ep-pdf-page.ep-pdf-fit{max-width:100%}.ep-pdf-page.ep-pdf-fit canvas{max-width:100%;height:auto}.ep-pdf-page.ep-pdf-zoomed{margin-left:auto;margin-right:auto}.ep-pdf-page canvas{display:block;background:#fff}
@media(max-width:900px){.ep-reader-topbar{grid-template-columns:1fr;gap:10px;padding:12px}.ep-reader-edition-line strong{font-size:17px}.ep-reader-title{margin:8px 0}.ep-reader-title h1{font-size:clamp(25px,7vw,34px)}.ep-reader-toolbar{margin-bottom:7px}.ep-grid{gap:10px}.ep-pdf-viewer{min-height:52vh}.ep-reader-controls{flex-wrap:wrap}.ep-reader-controls .ep-reader-control-spacer{display:none}}
@media(max-width:620px){.ep-reader-page{padding-top:10px}.ep-reader-topbar{border-radius:13px;padding:10px;box-shadow:0 4px 16px rgba(15,23,42,.04)}.ep-reader-kicker{font-size:10px}.ep-reader-edition-line{gap:7px}.ep-reader-edition-line strong{font-size:16px}.ep-reader-edition-line span{font-size:11px}.ep-reader-select label{font-size:10px}.ep-reader-select select{height:40px;font-size:13px;border-radius:9px}.ep-reader-title{padding:0 2px;margin:8px 0 9px;gap:4px}.ep-reader-title h1{font-size:28px}.ep-reader-title>span{font-size:11px;padding-bottom:0}.ep-reader-toolbar{gap:5px;padding:6px;border-radius:10px}.ep-reader-toolbar .ep-btn{padding:7px 9px;font-size:12px}.ep-reader-toolbar .ep-reader-date{font-size:12px;padding:0 4px}.ep-reader-controls{gap:4px}.ep-reader-controls>.ep-btn{min-height:40px;padding:8px 9px}.ep-reader-controls>[data-action="prev"],.ep-reader-controls>[data-action="next"]{flex:1 1 calc(50% - 2px);min-width:0}.ep-reader-controls>[data-action="zoomout"],.ep-reader-controls>[data-action="zoomin"]{flex:0 0 40px}.ep-reader-controls>[data-action="fit"],.ep-reader-controls>[data-action="fullscreen"]{flex:1 1 auto}.ep-reader-controls>.ep-btn.accent{flex:1 1 auto}.ep-pdf-viewer{padding:4px;min-height:48vh;border-radius:11px;display:block}.ep-pdf-page.ep-pdf-fit{width:100%;max-width:100%}.ep-pdf-page.ep-pdf-fit canvas{width:100%!important;height:auto!important;max-width:100%}.ep-pdf-page.ep-pdf-zoomed{margin:0 auto}.ep-pdf-page.ep-pdf-zoomed canvas{max-width:none}.ep-pdf-loading{left:8px;top:8px;font-size:12px}}


/* V5.4 mobile-first reader/header refinement */
html,body{max-width:100%;overflow-x:hidden}
.ep-header{z-index:1200}.ep-header-inner{position:relative;min-width:0}.ep-brand-mobile{display:none}.ep-brand-desktop{display:inline-flex;align-items:baseline;gap:5px;min-width:0}.ep-nav-backdrop{display:none}.ep-nav-edition{display:flex;align-items:center;gap:7px;margin-right:2px}.ep-nav-edition-label{font-size:11px;color:#64748b;font-weight:800;text-transform:uppercase;letter-spacing:.05em}.ep-nav-edition-form{margin:0}.ep-nav-edition-form select{height:36px;min-width:185px;padding:0 10px;border:1px solid #d1d5db;border-radius:9px;background:#fff;color:#111827;font:inherit;font-size:13px}
.ep-reader-compact-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:4px 0 8px;padding:4px 2px;color:#475569}.ep-reader-compact-head>div{display:flex;align-items:baseline;gap:9px;min-width:0}.ep-reader-compact-head strong{font-size:15px;color:#111827;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ep-reader-compact-head>span{font-size:12px;white-space:nowrap}.ep-reader-compact-head .ep-reader-kicker{font-size:10px;margin:0;flex:0 0 auto}.ep-reader-compact-head .ep-reader-kicker:before{width:6px;height:6px}
.ep-grid>main{min-width:0;width:100%}.ep-grid>aside{min-width:0}.ep-pdf-viewer{position:relative;box-sizing:border-box;width:100%;max-width:100%;min-width:0;overflow:auto;overscroll-behavior:contain}.ep-pdf-page{box-sizing:border-box;max-width:100%;min-width:0}.ep-pdf-page.ep-pdf-fit{width:100%!important;max-width:100%!important}.ep-pdf-page.ep-pdf-fit canvas{display:block;width:100%!important;max-width:100%!important;height:auto!important}.ep-pdf-page.ep-pdf-zoomed{max-width:none}.ep-pdf-hotspots{max-width:100%;overflow:visible}.ep-floating-page-nav{position:absolute;top:50%;transform:translateY(-50%);z-index:30;width:46px;height:46px;border-radius:50%;display:flex;align-items:center;justify-content:center;border:1px solid rgba(255,255,255,.7);background:rgba(17,24,39,.78);color:#fff;font-size:34px;line-height:1;padding:0;box-shadow:0 8px 24px rgba(0,0,0,.22);backdrop-filter:blur(4px);cursor:pointer}.ep-floating-page-nav:hover{background:rgba(17,24,39,.92)}.ep-floating-page-nav:disabled{opacity:.2;pointer-events:none}.ep-floating-prev{left:10px}.ep-floating-next{right:10px}

@media(max-width:980px){
  .ep-brand-desktop{display:none}.ep-brand-mobile{display:inline;font-size:17px;font-weight:800;white-space:nowrap}
  .ep-header-inner{min-height:58px;padding:9px 12px}.ep-mobile-menu-toggle{display:inline-flex;margin-left:auto}
  .ep-nav{position:fixed;left:0;right:0;top:58px;display:none;flex-direction:column;align-items:stretch;background:#fff;border:0;border-top:1px solid var(--ep-border);border-radius:0 0 16px 16px;box-shadow:0 18px 42px rgba(15,23,42,.18);padding:10px;gap:4px;max-height:calc(100svh - 58px);overflow:auto;z-index:1250}
  .ep-nav.is-open{display:flex}.ep-nav-backdrop{position:fixed;inset:58px 0 0;background:rgba(15,23,42,.34);z-index:1240}.ep-nav-backdrop.is-open{display:block}
  .ep-nav a{padding:12px 13px;font-size:15px}.ep-nav-forward{margin-top:4px;text-align:center}.ep-nav-edition{display:block;margin:0 0 6px;padding:10px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px}.ep-nav-edition-label{margin-bottom:5px;font-size:10px}.ep-nav-edition-form select{width:100%;height:42px;font-size:14px}
  .ep-wrap{padding:10px 8px}.ep-reader-compact-head{margin:2px 0 7px}.ep-reader-compact-head strong{font-size:14px}.ep-reader-compact-head>span{font-size:11px}
  .ep-grid{display:block}.ep-grid>aside:first-child{margin-top:10px}.ep-grid>aside:last-child{margin-top:10px}.ep-panel{width:100%}
  .ep-thumbs{flex-direction:row;max-height:none;overflow-x:auto;overflow-y:hidden}.ep-thumb{min-width:86px;max-width:104px}
  .ep-reader-toolbar{margin-bottom:6px}.ep-reader-controls{gap:4px}.ep-reader-controls .ep-reader-control-spacer{display:none}
  .ep-pdf-viewer{padding:4px;border-radius:12px;min-height:0;height:calc(100svh - 205px);max-height:calc(100svh - 205px);background:#172033;display:flex;justify-content:center;align-items:flex-start;overflow:auto}
  .ep-pdf-page.ep-pdf-fit{margin:0 auto!important;width:100%!important}.ep-pdf-page.ep-pdf-fit canvas{width:100%!important;height:auto!important;max-width:100%!important}
  .ep-floating-page-nav{width:44px;height:44px;font-size:32px}.ep-floating-prev{left:7px}.ep-floating-next{right:7px}
}

@media(max-width:620px){
  .ep-header-inner{min-height:54px;padding:8px 10px}.ep-nav{top:54px;max-height:calc(100svh - 54px)}.ep-nav-backdrop{inset:54px 0 0}.ep-brand-mobile{font-size:16px}.ep-mobile-menu-toggle{padding:8px 10px}
  .ep-reader-page{padding-top:7px}.ep-reader-compact-head{padding:2px 1px;margin:0 0 6px}.ep-reader-compact-head .ep-reader-kicker{font-size:9px}.ep-reader-compact-head strong{font-size:13px}.ep-reader-compact-head>span{font-size:10px}
  .ep-reader-toolbar{padding:5px;gap:4px}.ep-reader-toolbar .ep-btn{padding:7px 8px;font-size:11px}.ep-reader-toolbar .ep-reader-date{font-size:11px}
  .ep-reader-controls{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) 40px 40px minmax(52px,.8fr) minmax(84px,1fr) minmax(82px,1fr);gap:4px;align-items:stretch;overflow-x:hidden}
  .ep-reader-controls>.ep-btn{min-width:0;min-height:38px;padding:7px 6px;font-size:12px;white-space:nowrap}.ep-reader-controls>[data-action="prev"],.ep-reader-controls>[data-action="next"]{flex:none}.ep-reader-controls>[data-action="zoomout"],.ep-reader-controls>[data-action="zoomin"]{flex:none}.ep-reader-controls>[data-action="fit"],.ep-reader-controls>[data-action="fullscreen"],.ep-reader-controls>.ep-btn.accent{flex:none}
  .ep-pdf-viewer{height:calc(100svh - 194px);max-height:calc(100svh - 194px);padding:3px;border-radius:10px}
  .ep-pdf-page.ep-pdf-fit,.ep-pdf-page.ep-pdf-fit canvas{max-width:100%!important;width:100%!important}.ep-pdf-page canvas{display:block}.ep-floating-page-nav{width:42px;height:42px;font-size:31px;background:rgba(15,23,42,.8)}.ep-floating-prev{left:5px}.ep-floating-next{right:5px}
  body.ep-menu-open{overflow:hidden}
}

@media(min-width:981px){.ep-brand-mobile{display:none!important}.ep-floating-page-nav{opacity:.78}.ep-pdf-viewer{max-height:calc(100vh - 220px)}}


/* V5.4.1 final mobile polish */
.ep-reader-page{padding-top:10px}.ep-reader-page>.ep-reader-compact-head{display:none!important}
.ep-grid,.ep-grid>main,.ep-grid>aside,.ep-pdf-viewer,.ep-pdf-page{min-width:0}
.ep-pdf-viewer{scrollbar-gutter:stable both-edges}
.ep-pdf-loading{position:absolute;left:12px;top:12px;z-index:40;padding:6px 9px;border-radius:8px;background:rgba(255,255,255,.95);color:#334155;font-size:12px;box-shadow:0 3px 12px rgba(0,0,0,.1)}
.ep-current-edition-badge{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:700;color:#475569;margin-right:auto;padding:0 5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ep-current-edition-badge:before{content:"";width:6px;height:6px;border-radius:50%;background:var(--ep-accent);flex:0 0 auto}
@media(max-width:980px){.ep-reader-page{padding:7px 8px 12px}.ep-reader-page>.ep-grid{margin-top:0}.ep-reader-toolbar{border-radius:11px}.ep-reader-toolbar .ep-reader-date{margin-left:auto}.ep-current-edition-badge{max-width:40%;font-size:11px}}
@media(max-width:620px){
  .ep-reader-controls{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 40px 40px minmax(0,1fr) minmax(0,1fr) minmax(0,1.15fr);grid-template-rows:auto auto}
  .ep-reader-controls>[data-action="prev"]{grid-column:1 / span 2}.ep-reader-controls>[data-action="next"]{grid-column:3 / span 5}
  .ep-reader-controls>[data-action="zoomout"]{grid-column:1}.ep-reader-controls>[data-action="zoomin"]{grid-column:2}.ep-reader-controls>[data-action="fit"]{grid-column:3 / span 1}.ep-reader-controls>[data-action="fullscreen"]{grid-column:4 / span 2}.ep-reader-controls>.ep-btn.accent{grid-column:6 / span 2}
  .ep-reader-controls>[data-action="prev"],.ep-reader-controls>[data-action="next"]{font-size:12px}
  .ep-reader-controls>.ep-btn{min-height:38px}
  .ep-current-edition-badge{display:none}
  .ep-pdf-viewer{height:calc(100svh - 184px);max-height:calc(100svh - 184px);min-height:360px}
}
@media(max-width:390px){
  .ep-mobile-menu-toggle{font-size:12px}.ep-brand-mobile{font-size:15px}
  .ep-reader-toolbar .ep-btn{font-size:10.5px;padding-left:7px;padding-right:7px}
  .ep-pdf-viewer{height:calc(100svh - 178px);max-height:calc(100svh - 178px)}
}


/* =========================================================
   V5.5 reader, mobile and application polish
   ========================================================= */
.ep-viewer-shell-v55{grid-template-columns:minmax(0,1fr)!important;display:grid!important;gap:0!important}
.ep-viewer-shell-v55>main{grid-column:1/-1;min-width:0}
.ep-reader-toolbar-top{display:flex;align-items:center;gap:6px;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none}
.ep-reader-toolbar-top::-webkit-scrollbar{display:none}
.ep-reader-toolbar-top .ep-btn{white-space:nowrap;min-height:40px;padding:8px 11px}
.ep-reader-toolbar-top .ep-reader-date{margin-left:auto;white-space:nowrap;font-weight:800}
.ep-reader-toolbar-top .ep-btn.accent{white-space:nowrap}
.ep-pages-strip{margin-top:14px;background:#fff;border:1px solid var(--ep-border);border-radius:14px;padding:10px 12px;box-shadow:0 4px 18px rgba(15,23,42,.04)}
.ep-pages-strip-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px}
.ep-pages-strip-head>div{display:flex;align-items:baseline;gap:8px}
.ep-pages-strip-head strong{font-size:15px}.ep-pages-strip-head span{font-size:12px;color:var(--ep-muted)}
.ep-pages-strip-list{display:flex;gap:8px;overflow-x:auto;overflow-y:hidden;padding:2px 1px 4px;scrollbar-width:thin}
.ep-strip-thumb{flex:0 0 auto;width:88px;padding:3px;border:2px solid transparent;border-radius:9px;background:#f8fafc;cursor:pointer}
.ep-strip-thumb.active{border-color:var(--ep-accent);box-shadow:0 0 0 2px rgba(185,28,28,.08)}
.ep-strip-thumb canvas{display:block;width:100%!important;height:auto!important;max-height:138px;background:#fff;border-radius:5px}
.ep-strip-thumb small{display:block;padding:4px 2px 2px;font-size:11px;font-weight:700}
.ep-pdf-viewer{background:#182235}
.ep-pdf-page{box-shadow:0 8px 30px rgba(0,0,0,.25)}
.ep-pdf-hotspots{position:absolute;inset:0;pointer-events:none;z-index:8}
.ep-hotspot-svg{pointer-events:none;overflow:visible;position:absolute;inset:0;width:100%;height:100%;z-index:8}
.ep-hotspot{pointer-events:all!important;fill:rgba(185,28,28,.025);stroke:rgba(185,28,28,.18);stroke-width:.55;cursor:pointer;vector-effect:non-scaling-stroke;touch-action:manipulation}
.ep-hotspot:focus{outline:none}
.ep-debug .ep-hotspot{fill:rgba(185,28,28,.11);stroke:rgba(185,28,28,.75)}
.ep-floating-page-nav{width:48px;height:48px;font-size:36px}
.ep-mobile-menu-toggle{position:relative}
.ep-menu-close{display:none;font-size:26px;line-height:18px;font-weight:400}
.ep-mobile-menu-toggle.is-open .ep-menu-icon{display:none}
.ep-mobile-menu-toggle.is-open .ep-menu-close{display:inline-block}
.ep-mobile-menu-toggle.is-open{background:#111827}
.ep-nav-backdrop[hidden]{display:none!important}

.ep-clip-head{display:flex;align-items:center;justify-content:space-between;gap:15px;padding-bottom:10px;border-bottom:1px solid #e5e7eb}
.ep-clip-kicker{display:block;font-size:10px;font-weight:900;letter-spacing:.12em;color:var(--ep-accent);margin-bottom:2px}
.ep-clip-head strong{display:block;font-size:16px;line-height:1.3}
.ep-modal-close{width:38px;height:38px;border:0;border-radius:50%;background:#eef2f7;color:#111827;font-size:26px;line-height:1;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto}
.ep-modal-close:hover{background:#e2e8f0}
.ep-clip-meta{margin:10px 0}
.ep-clip-image-wrap{background:#fff!important;border:1px solid #e2e8f0;border-radius:12px;padding:8px;box-shadow:inset 0 0 0 1px rgba(15,23,42,.02)}
.ep-clip-image{display:block;width:100%;height:auto;max-height:none;object-fit:contain;background:#fff!important}
.ep-clip-actions{gap:7px;margin-top:10px}
.ep-clip-actions .ep-btn{min-height:42px}

.ep-forward-layout-v55{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(300px,.85fr);gap:16px;align-items:start}
.ep-forward-form-card,.ep-forward-selected-card{padding:18px}
.ep-forward-section-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:13px}
.ep-forward-section-head>div{display:flex;align-items:center;gap:9px}
.ep-forward-section-head>div>span{display:inline-flex;width:28px;height:28px;border-radius:50%;align-items:center;justify-content:center;background:#111827;color:#fff;font-size:11px;font-weight:900}
.ep-forward-section-head h2{margin:0;font-size:18px}
.ep-authority-search-box{padding:10px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:11px;margin-bottom:14px}
.ep-authority-search-box label{display:block;font-size:11px;font-weight:800;color:#475569;margin-bottom:5px}
.ep-authority-search-box label small{font-weight:600;color:#94a3b8}
.ep-authority-search-box input{width:100%;padding:10px 11px;border:1px solid #cbd5e1;border-radius:9px;background:#fff;font:inherit}
.ep-application-fields-v55{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.ep-application-fields-v55>label{display:flex;flex-direction:column;gap:6px}
.ep-application-fields-v55>label.full{grid-column:1/-1}
.ep-application-fields-v55 label>span{font-size:12px;font-weight:800;color:#334155}
.ep-application-fields-v55 input,.ep-application-fields-v55 textarea{width:100%;padding:10px 11px;border:1px solid #cbd5e1;border-radius:9px;background:#fff;font:inherit;line-height:1.45}
.ep-application-fields-v55 input:focus,.ep-application-fields-v55 textarea:focus{outline:none;border-color:#64748b;box-shadow:0 0 0 3px rgba(59,130,246,.1)}
.ep-application-news-preview,.ep-applicant-box{border-top:1px solid #e5e7eb;padding-top:12px}
.ep-form-label-row{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:7px}
.ep-form-label-row span{font-size:13px;font-weight:900;color:#111827}
.ep-form-label-row small{font-size:10px;color:#64748b}
.ep-application-news-preview>img{display:block;width:100%;height:auto;background:#fff;border:1px solid #e2e8f0;border-radius:10px}
.ep-applicant-box{display:grid;grid-template-columns:1fr;gap:11px}
.ep-forward-actions-v55{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap;margin-top:14px}
.ep-forward-actions-v55 .ep-btn{min-height:44px}
.ep-selected-news-v55{margin:10px 0}
.ep-selected-news-v55 img{display:block;width:100%;height:auto;border:1px solid #e2e8f0;border-radius:10px;background:#fff}
.ep-one-page{width:794px;min-height:1123px;background:#fff}
.ep-a4-inner{min-height:1123px;padding:34px 42px;background:#fff;font-family:Arial,"Noto Sans Oriya",sans-serif;color:#111827}
.ep-doc-date{font-size:10px;text-align:right;margin-top:-17px}
.ep-doc-subject{margin-top:12px;padding-bottom:6px;border-bottom:1px solid #cbd5e1}
.ep-doc-body{font-size:10px;line-height:1.45;margin-top:9px}
.ep-doc-clip-full{margin-top:12px;border:1px solid #cbd5e1;border-radius:6px;padding:5px;background:#fff}
.ep-doc-clip-full img{display:block;width:100%;height:auto;max-height:390px;object-fit:contain}
.ep-doc-clip-caption{padding:5px 3px 0;font-size:8px}.ep-doc-clip-caption small{display:block;color:#64748b;margin-top:2px}
.ep-doc-sign-box{margin-top:12px;border:1px solid #cbd5e1;border-radius:6px;padding:9px;font-size:9px;line-height:1.45}
.ep-doc-sign-name{font-weight:800;margin:3px 0}
.ep-success-box{margin-top:10px}

.ep-settings-page .ep-masthead-setting{display:grid;grid-template-columns:220px minmax(0,1fr);gap:18px;align-items:center;margin-top:14px;padding:14px;border:1px solid #e2e8f0;border-radius:12px;background:#f8fafc}
.ep-masthead-preview{display:flex;align-items:center;justify-content:center;min-height:130px;padding:10px;background:#fff;border:1px solid #e2e8f0;border-radius:10px}
.ep-masthead-preview img{display:block;max-width:100%;max-height:115px;width:auto;height:auto}
.ep-masthead-placeholder{font-size:12px;color:#94a3b8}
.ep-masthead-copy strong{display:block;font-size:14px}.ep-masthead-copy p{margin:4px 0 10px;color:#64748b}
.ep-inline-check{display:block;margin-top:9px;font-size:12px}
.ep-settings-help{margin-top:12px;padding:11px 12px;border-left:3px solid var(--ep-accent);background:#fff7f7;border-radius:8px}
.ep-settings-help strong{display:block;font-size:12px}.ep-settings-help span{display:block;font-size:11px;color:#64748b;margin-top:2px}
.ep-check-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:14px}

@media(max-width:980px){
  .ep-reader-toolbar-top{gap:5px}
  .ep-reader-toolbar-top .ep-btn{padding:8px 10px;font-size:12px}
  .ep-reader-toolbar-top .ep-reader-date{margin-left:0}
  .ep-pages-strip{margin-top:10px}
  .ep-forward-layout-v55{grid-template-columns:1fr}
  .ep-settings-page .ep-masthead-setting{grid-template-columns:1fr}
}
@media(max-width:620px){
  .ep-header-inner{min-height:54px;padding:8px 10px}
  .ep-brand-mobile{font-size:15px}
  .ep-mobile-menu-toggle{padding:8px 10px;min-width:72px;justify-content:center}
  .ep-nav{top:54px;max-height:calc(100svh - 54px);padding:8px}
  .ep-nav a{padding:11px 12px}
  .ep-nav-edition{margin-bottom:6px;padding:9px}
  .ep-nav-edition-form select{height:40px;font-size:13px}
  .ep-wrap{padding:8px 6px 12px}
  .ep-reader-toolbar-top{padding:5px;border-radius:10px;overflow-x:auto}
  .ep-reader-toolbar-top .ep-btn{font-size:11px;min-height:38px;padding:7px 9px}
  .ep-reader-toolbar-top .ep-reader-date{font-size:11px}
  .ep-pdf-viewer{padding:3px;border-radius:10px;height:auto;max-height:none;min-height:0;overflow:auto;background:#182235}
  .ep-pdf-page.ep-pdf-fit{width:100%!important;max-width:100%!important}
  .ep-pdf-page.ep-pdf-fit canvas{width:100%!important;height:auto!important;max-width:100%!important}
  .ep-floating-page-nav{width:40px;height:40px;font-size:30px}
  .ep-floating-prev{left:4px}.ep-floating-next{right:4px}
  .ep-pages-strip{padding:9px;border-radius:11px}
  .ep-pages-strip-head span:last-child{display:none}
  .ep-pages-strip-list{gap:7px}
  .ep-strip-thumb{width:74px}
  .ep-strip-thumb canvas{max-height:108px}
  .ep-modal{padding:5px;align-items:flex-end}
  .ep-modal-card{width:100%;max-width:none;max-height:94svh;border-radius:16px 16px 0 0;padding:12px}
  .ep-clip-head strong{font-size:14px}
  .ep-clip-image-wrap{padding:5px}
  .ep-clip-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}
  .ep-clip-actions .ep-btn{min-width:0;padding:9px 6px;font-size:11px}
  .ep-application-fields-v55{grid-template-columns:1fr}
  .ep-application-fields-v55>label.full{grid-column:auto}
  .ep-forward-form-card,.ep-forward-selected-card{padding:13px}
  .ep-one-page{width:100%;min-height:0}
  .ep-a4-inner{min-height:0;padding:20px 18px}
}


/* V5.6: compact reader toolbar and robust mobile menu close control */
.ep-reader-toolbar-top{display:flex;align-items:center;gap:5px;flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;scrollbar-width:none}
.ep-reader-toolbar-top .ep-btn{flex:0 0 auto}
.ep-reader-toolbar-top .ep-reader-date{margin-left:auto}
.ep-mobile-menu-toggle .ep-menu-close{display:none!important}
.ep-mobile-menu-toggle.is-open .ep-menu-icon{display:none!important}
.ep-mobile-menu-toggle.is-open .ep-menu-close{display:inline-flex!important;align-items:center;justify-content:center;width:18px;height:18px;font-size:25px;line-height:18px;font-weight:400}
.ep-mobile-menu-toggle.is-open .ep-mobile-menu-label{display:none}
@media(max-width:620px){
  .ep-reader-toolbar-top{gap:4px;padding:5px}
  .ep-reader-toolbar-top .ep-btn{min-height:38px;padding:7px 9px;font-size:12px}
  .ep-reader-toolbar-top .ep-reader-date{font-size:11px;margin-left:auto}
  .ep-pages-strip{margin-top:10px;padding:8px 9px;border-radius:12px}
  .ep-pages-strip-head{margin-bottom:6px}
  .ep-pages-strip-head strong{font-size:14px}.ep-pages-strip-head span{font-size:11px}
  .ep-strip-thumb{width:76px}.ep-strip-thumb canvas{max-height:110px}
  .ep-floating-page-nav{width:40px;height:40px;font-size:29px}
}

/* =========================================================
   V5.7 edition hub, archive, collage and robust reader
   ========================================================= */
.ep-header{z-index:1500}
.ep-header-inner{max-width:1440px}
.ep-edition-strip{background:#202020;border-top:3px solid var(--ep-accent);overflow:hidden}
.ep-edition-strip-inner{max-width:1440px;margin:0 auto;display:flex;align-items:center;gap:0;overflow-x:auto;scrollbar-width:none;white-space:nowrap}
.ep-edition-strip-inner::-webkit-scrollbar{display:none}
.ep-edition-strip-inner a{color:#fff;padding:8px 13px;font-size:13px;text-transform:uppercase;letter-spacing:.015em}
.ep-edition-strip-inner a:hover{background:#3a3a3a}
.ep-edition-strip-home{font-size:18px!important;font-weight:900;padding-inline:17px!important}

.ep-editions-page,.ep-archive-page,.ep-clips-page{padding-top:18px}
.ep-editions-hero,.ep-archive-hero,.ep-clips-hero{display:flex;justify-content:space-between;align-items:flex-end;gap:22px;background:#fff;border:1px solid var(--ep-border);border-radius:16px;padding:22px 24px;margin-bottom:18px;box-shadow:0 5px 20px rgba(15,23,42,.04)}
.ep-editions-hero h1,.ep-archive-hero h1,.ep-clips-hero h1{font-size:clamp(25px,3vw,36px);line-height:1.1;margin:3px 0 6px}
.ep-editions-hero p,.ep-archive-hero p,.ep-clips-hero p{margin:0;color:#64748b;max-width:740px}
.ep-section-kicker{display:block;font-size:10px;font-weight:900;letter-spacing:.14em;color:var(--ep-accent)}
.ep-section-block{background:#fff;border:1px solid var(--ep-border);border-radius:14px;padding:16px;margin-top:16px;box-shadow:0 4px 18px rgba(15,23,42,.035)}
.ep-section-title{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}
.ep-section-title>span:last-child,.ep-section-title>a{font-size:12px;color:#64748b}
.ep-red-tab{display:inline-flex;align-items:center;padding:7px 15px;background:var(--ep-accent);color:#fff;font:700 18px Georgia,serif;border-radius:0}
.ep-red-tab.secondary{font-size:16px;padding:6px 13px}
.ep-text-link{font-weight:800;color:var(--ep-accent)!important}

.ep-edition-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px}
.ep-edition-grid-compact{grid-template-columns:repeat(5,minmax(0,1fr))}
.ep-edition-tile{background:#fff;border:1px solid #d8dce2;box-shadow:0 3px 12px rgba(15,23,42,.08);overflow:hidden;min-width:0}
.ep-edition-cover{display:block;position:relative;background:#e9ecef;aspect-ratio:3 / 4.2;overflow:hidden}
.ep-edition-preview{display:block;width:100%;height:100%;background:#fff;object-fit:cover}
.ep-edition-open{position:absolute;left:10px;right:10px;bottom:10px;text-align:center;background:rgba(17,24,39,.84);color:#fff;padding:8px 10px;font-size:12px;font-weight:800;border-radius:6px;opacity:0;transform:translateY(5px);transition:.18s ease}
.ep-edition-cover:hover .ep-edition-open,.ep-edition-cover:focus-visible .ep-edition-open{opacity:1;transform:none}
.ep-edition-info{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 11px;border-top:3px solid var(--ep-accent);background:#fff}
.ep-edition-info h2{font-size:15px;margin:0 0 2px;line-height:1.25}
.ep-edition-info span,.ep-edition-info small{display:block;font-size:11px;color:#6b7280}
.ep-edition-info small{white-space:nowrap}
.ep-edition-tile.compact .ep-edition-info{padding:8px 9px}.ep-edition-tile.compact .ep-edition-info h2{font-size:14px}

.ep-archive-hero,.ep-clips-hero{align-items:center}
.ep-filterbar{display:flex;align-items:flex-end;justify-content:flex-end;gap:8px;flex-wrap:wrap;min-width:min(100%,640px)}
.ep-filterbar label{display:flex;flex-direction:column;gap:4px;min-width:175px}
.ep-filterbar label span{font-size:10px;text-transform:uppercase;letter-spacing:.06em;font-weight:900;color:#64748b}
.ep-filterbar select{height:42px;border:1px solid #d1d5db;background:#fff;border-radius:8px;padding:0 10px;font:inherit;min-width:175px}
.ep-filterbar .ep-btn{height:42px}
.ep-archive-list{display:flex;flex-direction:column;gap:22px}
.ep-archive-date-group{padding-top:2px}.ep-archive-date{font:700 19px Georgia,serif;color:#202020;padding:0 0 8px;border-bottom:2px solid var(--ep-accent);margin-bottom:11px}
.ep-archive-edition-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}
.ep-empty-public{border:1px dashed #cbd5e1;border-radius:11px;padding:22px;text-align:center;background:#f8fafc;color:#64748b}.ep-empty-public strong{display:block;color:#111827;margin-bottom:3px}

.ep-clips-collage-section{padding-bottom:18px}
.ep-clips-collage{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;align-items:start}
.ep-clip-collage-card{min-width:0;background:#fff;border:1px solid #d8dce2;box-shadow:0 5px 18px rgba(15,23,42,.08);overflow:hidden}
.ep-clip-collage-card.is-wide{grid-column:span 2}
.ep-clip-photo{display:block;width:100%;padding:0;border:0;background:#eef1f4;color:inherit;position:relative;cursor:pointer;overflow:hidden}
.ep-clip-card-canvas{display:block;width:100%;height:auto;min-height:170px;background:#fff;object-fit:cover}
.ep-clip-photo-fallback{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;color:#94a3b8;font-size:12px;background:linear-gradient(135deg,#f8fafc,#e2e8f0)}
.ep-clip-photo .ep-clip-card-canvas:not([width="640"])+.ep-clip-photo-fallback{display:none}
.ep-clip-issue-badge{position:absolute;right:8px;top:8px;display:flex;flex-direction:column;align-items:flex-end;gap:2px;padding:6px 8px;border-radius:7px;background:rgba(17,24,39,.84);color:#fff;text-align:right;line-height:1.15}
.ep-clip-issue-badge b{font-size:11px}.ep-clip-issue-badge span{font-size:9px;color:#e5e7eb}
.ep-clip-collage-caption{padding:10px 11px 11px}.ep-clip-collage-caption h2{font-size:16px;line-height:1.25;margin:0 0 5px}.ep-clip-collage-caption>span{display:block;color:#64748b;font-size:11px;margin-bottom:9px}.ep-clip-collage-caption .ep-btn{padding:7px 9px;font-size:11px}

.ep-reader-component{max-width:1440px;margin:0 auto}
.ep-reader-identity{display:flex;justify-content:space-between;align-items:flex-end;gap:12px;margin:0 0 8px;padding:4px 2px}.ep-reader-identity h1{margin:2px 0 1px;font-size:22px;line-height:1.2}.ep-reader-identity>div>span:last-child{font-size:12px;color:#64748b}
.ep-reader-toolbar-top{margin-bottom:7px!important;border:1px solid var(--ep-border);box-shadow:0 2px 10px rgba(15,23,42,.03)}
.ep-reader-toolbar-top .ep-btn[disabled]{opacity:.45;cursor:not-allowed}
.ep-viewer-shell-v57{display:block!important}
.ep-viewer-shell-v57>main{display:block!important;width:100%}
.ep-viewer-shell-v57 .ep-pdf-viewer{min-height:70vh}
.ep-viewer-shell-v57 .ep-pdf-page{margin:0 auto}
.ep-pages-strip{position:relative}
.ep-pages-strip-list{scroll-snap-type:x proximity}
.ep-strip-thumb{scroll-snap-align:start}
.ep-strip-thumb:focus-visible{outline:3px solid rgba(185,28,28,.3);outline-offset:1px}
.ep-clip-meta-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:10px 0}.ep-clip-meta-grid span{display:flex;flex-direction:column;padding:8px 9px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;font-size:12px;color:#475569}.ep-clip-meta-grid b{font-size:9px;text-transform:uppercase;letter-spacing:.05em;color:#94a3b8;margin-bottom:2px}
.ep-clip-loading-card{min-height:240px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:7px;color:#475569;text-align:center}.ep-clip-loading-card strong{color:#111827}.ep-clip-loading-card small{font-size:11px}.ep-spinner{width:30px;height:30px;border:3px solid #e2e8f0;border-top-color:var(--ep-accent);border-radius:50%;animation:ep-spin .8s linear infinite}@keyframes ep-spin{to{transform:rotate(360deg)}}
.ep-clip-save-note{display:block;margin:8px 0;color:#64748b;font-size:11px}.ep-clip-description{color:#475569}.ep-clip-image{background:#fff!important}

@media(max-width:1200px){.ep-edition-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.ep-edition-grid-compact{grid-template-columns:repeat(4,minmax(0,1fr))}.ep-archive-edition-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:900px){
  .ep-edition-strip{display:none}
  .ep-editions-hero,.ep-archive-hero,.ep-clips-hero{flex-direction:column;align-items:stretch}
  .ep-filterbar{min-width:0;justify-content:stretch}.ep-filterbar label{flex:1 1 180px}.ep-filterbar .ep-btn{flex:0 0 auto}
  .ep-edition-grid,.ep-edition-grid-compact,.ep-archive-edition-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .ep-clips-collage{grid-template-columns:repeat(2,minmax(0,1fr))}.ep-clip-collage-card.is-wide{grid-column:span 2}
  .ep-reader-identity{padding-inline:5px}
}
@media(max-width:620px){
  .ep-editions-page,.ep-archive-page,.ep-clips-page{padding:10px 7px 16px}.ep-editions-hero,.ep-archive-hero,.ep-clips-hero{padding:16px 14px;border-radius:13px}.ep-editions-hero h1,.ep-archive-hero h1,.ep-clips-hero h1{font-size:24px}.ep-editions-hero p,.ep-archive-hero p,.ep-clips-hero p{font-size:12px}
  .ep-section-block{padding:10px;border-radius:12px}.ep-red-tab{font-size:16px;padding:6px 11px}.ep-red-tab.secondary{font-size:14px}.ep-section-title{margin-bottom:9px}
  .ep-edition-grid,.ep-edition-grid-compact,.ep-archive-edition-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.ep-edition-info{padding:8px}.ep-edition-info h2{font-size:13px}.ep-edition-info span,.ep-edition-info small{font-size:10px}.ep-edition-info small{display:none}
  .ep-filterbar{display:grid;grid-template-columns:1fr 1fr;gap:7px}.ep-filterbar label{min-width:0}.ep-filterbar select{min-width:0;width:100%;height:40px;font-size:12px}.ep-filterbar .ep-btn,.ep-filterbar>a{height:40px;display:flex;align-items:center;justify-content:center}
  .ep-clips-collage{grid-template-columns:1fr 1fr;gap:8px}.ep-clip-collage-card.is-wide{grid-column:span 2}.ep-clip-collage-caption{padding:8px}.ep-clip-collage-caption h2{font-size:13px}.ep-clip-collage-caption>span{font-size:10px}.ep-clip-collage-caption .ep-btn{width:100%;font-size:10px;padding:7px 5px}.ep-clip-issue-badge{right:5px;top:5px;padding:4px 6px}.ep-clip-issue-badge b{font-size:9px}.ep-clip-issue-badge span{font-size:8px}
  .ep-reader-identity{align-items:center;margin-bottom:5px}.ep-reader-identity h1{font-size:17px}.ep-reader-identity>div>span:last-child{font-size:10px}.ep-reader-identity>.ep-btn{padding:7px 9px;font-size:11px}.ep-reader-toolbar-top{overflow-x:auto}.ep-reader-toolbar-top .ep-btn{font-size:11px;padding:7px 8px;min-height:38px}.ep-reader-toolbar-top .ep-reader-date{font-size:10px}.ep-viewer-shell-v57 .ep-pdf-viewer{height:calc(100svh - 218px);max-height:calc(100svh - 218px);min-height:340px;padding:3px;border-radius:10px}.ep-pages-strip{margin-top:9px;padding:8px}.ep-strip-thumb{width:76px}.ep-strip-thumb canvas{max-height:108px}.ep-pages-strip-head strong{font-size:14px}.ep-pages-strip-head span{font-size:10px}
  .ep-clip-meta-grid{grid-template-columns:1fr 1fr 1fr;gap:5px}.ep-clip-meta-grid span{padding:6px;font-size:10px}.ep-clip-meta-grid b{font-size:8px}.ep-modal-card{max-height:95svh;padding:11px}.ep-clip-actions{display:grid;grid-template-columns:repeat(4,1fr);gap:5px}.ep-clip-actions .ep-btn{padding:9px 4px;font-size:10px;min-width:0}
}
.ep-edition-cover-name{position:absolute;left:10px;right:10px;bottom:34px;text-align:center;color:#fff;text-shadow:0 2px 6px rgba(0,0,0,.85);font:700 18px Georgia,serif;z-index:2;pointer-events:none}
@media(max-width:620px){.ep-edition-cover-name{font-size:14px;bottom:30px}}

/* V5.8 wide website logo */
.ep-brand{display:flex;align-items:center;min-width:0}
.ep-brand-logo-wrap{display:flex;align-items:center;width:150px;max-width:18vw;aspect-ratio:16/9;overflow:hidden;background:#fff}
.ep-brand-logo{display:block;width:100%;height:100%;object-fit:contain}
.ep-brand-logo-wrap + .ep-brand-desktop{display:none}
.ep-logo-setting{display:grid;grid-template-columns:220px minmax(0,1fr);gap:18px;align-items:center;margin:14px 0;padding:14px;border:1px solid #e2e8f0;border-radius:12px;background:#f8fafc}
.ep-logo-preview-wrap{display:flex;align-items:center;justify-content:center;width:100%;aspect-ratio:16/9;padding:10px;background:#fff;border:1px solid #e2e8f0;border-radius:10px;overflow:hidden}
.ep-logo-preview-wrap img{display:block;width:100%;height:100%;object-fit:contain}
.ep-logo-placeholder{font-size:12px;color:#94a3b8;text-align:center}
.ep-section-subtitle{display:inline-block;margin-left:8px;font-size:12px;color:#64748b;vertical-align:middle}
.ep-editions-latest-block{margin-top:0}
@media(max-width:900px){.ep-logo-setting{grid-template-columns:1fr}.ep-brand-logo-wrap{width:122px;max-width:42vw}}
@media(max-width:620px){.ep-brand-logo-wrap{width:112px;max-width:40vw}.ep-section-subtitle{display:none}}

.ep-editions-hero{display:none!important}


/* V5.9 logo controls and compact edition metadata */
.ep-brand{gap:10px}.ep-brand-logo-wrap{flex:0 0 150px;width:150px;max-width:none;aspect-ratio:16/9;background:#fff;border-radius:5px}.ep-brand-copy{display:flex;flex-direction:column;justify-content:center;min-width:0}.ep-brand-copy.has-logo .ep-brand-desktop{font-size:17px}.ep-brand-tagline{display:block;font-size:11px;line-height:1.25;color:var(--ep-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:300px}.ep-edition-info{min-height:48px;padding:7px 9px!important}.ep-edition-info .ep-edition-name{font-size:14px!important;line-height:1.15!important;font-weight:800!important;margin:0!important}.ep-edition-info span{font-size:10px!important;line-height:1.15}.ep-edition-info small{font-size:9px!important}.ep-logo-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:8px}.ep-logo-actions .button{display:inline-flex;align-items:center;justify-content:center}.ep-logo-display-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:10px}.ep-logo-display-options .ep-check-card{margin:0!important}.ep-logo-display-options .ep-check-card small{display:block;color:#64748b;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media(max-width:980px){.ep-brand-logo-wrap{flex-basis:122px;width:122px}.ep-brand-copy.has-logo .ep-brand-desktop{font-size:15px}.ep-brand-tagline{max-width:220px}.ep-logo-display-options{grid-template-columns:1fr}}
@media(max-width:620px){.ep-brand-logo-wrap{flex-basis:112px;width:112px}.ep-brand-copy.has-logo .ep-brand-desktop{font-size:13px}.ep-brand-tagline{font-size:9px;max-width:160px}.ep-edition-info{min-height:43px}.ep-edition-info .ep-edition-name{font-size:12px!important}.ep-edition-info span{font-size:9px!important}.ep-logo-actions .button{font-size:12px;padding:6px 9px}.ep-logo-display-options{grid-template-columns:1fr}}

/* V6.1 edition/issue architecture and compact reader/archive UI */
.ep-nav-paper-selectors{display:flex;align-items:center;gap:8px;flex:0 0 auto}.ep-nav-paper-form{display:flex;align-items:center;gap:7px;margin:0}.ep-nav-paper-field{display:flex;align-items:center;gap:5px}.ep-nav-paper-label{font-size:10px;color:#64748b;font-weight:900;text-transform:uppercase;letter-spacing:.05em}.ep-nav-paper-field select{height:36px;min-width:145px;max-width:185px;padding:0 9px;border:1px solid #d1d5db;border-radius:8px;background:#fff;color:#111827;font:inherit;font-size:12px}.ep-nav-paper-field+ .ep-nav-paper-field select{min-width:125px}
.ep-compact-page-hero{padding:14px 18px!important;min-height:auto;align-items:center!important;margin-bottom:12px!important}.ep-compact-page-hero h1{font-size:24px!important;margin:1px 0 3px!important;line-height:1.05!important}.ep-compact-page-hero p{font-size:12px!important;line-height:1.35}.ep-compact-page-hero .ep-section-kicker{font-size:10px}.ep-compact-page-hero .ep-filterbar{gap:6px}.ep-compact-page-hero .ep-filterbar label{min-width:155px}.ep-compact-page-hero .ep-filterbar select,.ep-compact-page-hero .ep-filterbar .ep-btn{height:38px}
.ep-edition-info h2.ep-edition-name,.ep-edition-info .ep-edition-name{font-size:15px!important;line-height:1.15!important;font-weight:800!important;letter-spacing:0!important;margin:0 0 2px!important}.ep-edition-tile.compact .ep-edition-info h2.ep-edition-name{font-size:14px!important}.ep-edition-info span{font-size:10px!important}.ep-edition-info small{font-size:10px!important}.ep-edition-cover-name{font-size:15px!important;bottom:28px!important}
.ep-archive-edition-grid-flat{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.ep-archive-page .ep-section-block{padding:13px}.ep-archive-list{gap:0}
.ep-map-selects{display:flex;align-items:flex-end;gap:8px;flex-wrap:wrap}.ep-map-selects label{display:flex;flex-direction:column;gap:4px}.ep-map-selects label>span{font-size:10px;font-weight:800;text-transform:uppercase;color:#64748b}.ep-map-selects select{min-width:145px;height:34px}
@media(max-width:1100px){.ep-nav-paper-label{display:none}.ep-nav-paper-field select{min-width:125px}.ep-archive-edition-grid-flat{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:980px){.ep-nav-paper-selectors{display:block;padding:8px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:9px}.ep-nav-paper-form{display:grid;grid-template-columns:1fr 1fr;gap:7px}.ep-nav-paper-field{display:block}.ep-nav-paper-label{display:block;margin-bottom:4px}.ep-nav-paper-field select,.ep-nav-paper-field+ .ep-nav-paper-field select{width:100%;max-width:none;min-width:0;height:40px}.ep-compact-page-hero{flex-direction:column;align-items:stretch!important}.ep-compact-page-hero .ep-filterbar{justify-content:flex-start}.ep-archive-edition-grid-flat{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:620px){.ep-compact-page-hero{padding:11px 12px!important;border-radius:11px!important}.ep-compact-page-hero h1{font-size:20px!important}.ep-compact-page-hero p{font-size:11px!important}.ep-compact-page-hero .ep-filterbar{grid-template-columns:1fr 1fr}.ep-compact-page-hero .ep-filterbar label:first-child{grid-column:span 2}.ep-archive-edition-grid-flat{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.ep-edition-info h2.ep-edition-name,.ep-edition-tile.compact .ep-edition-info h2.ep-edition-name{font-size:12px!important}.ep-edition-cover-name{font-size:12px!important;bottom:26px!important}}

/* V6.1.1 ultra-compact archive heading, matching the compact archive-label scale requested */
.ep-archive-hero.ep-compact-page-hero{
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:18px!important;
  padding:12px 16px!important;
  min-height:0!important;
  margin-bottom:10px!important;
}
.ep-archive-title-row{min-width:0;flex:1 1 auto}
.ep-archive-title-row>div{display:flex;align-items:baseline;gap:9px;flex-wrap:wrap}
.ep-archive-hero .ep-section-kicker{font-size:10px!important;line-height:1!important;font-weight:900!important;letter-spacing:.12em!important;white-space:nowrap}
.ep-archive-hero h1{font-size:13px!important;line-height:1!important;font-weight:900!important;letter-spacing:.02em!important;margin:0!important;white-space:nowrap;color:#111827}
.ep-archive-hero p{font-size:10px!important;line-height:1.25!important;margin:3px 0 0!important;color:#64748b}
.ep-archive-hero .ep-filterbar{flex:0 0 auto;display:flex!important;align-items:flex-end!important;gap:6px!important;margin:0!important}
.ep-archive-hero .ep-filterbar label{min-width:145px!important}
.ep-archive-hero .ep-filterbar label span{font-size:9px!important;line-height:1!important}
.ep-archive-hero .ep-filterbar select,.ep-archive-hero .ep-filterbar .ep-btn{height:34px!important;font-size:11px!important}
.ep-archive-hero .ep-filterbar .ep-btn{padding:0 12px!important}
@media(max-width:980px){
  .ep-archive-hero.ep-compact-page-hero{display:grid!important;grid-template-columns:1fr!important;gap:9px!important;align-items:start!important}
  .ep-archive-title-row>div{gap:7px}
  .ep-archive-hero p{width:100%}
  .ep-archive-hero .ep-filterbar{width:100%;justify-content:flex-start!important}
}
@media(max-width:620px){
  .ep-archive-hero.ep-compact-page-hero{padding:9px 11px!important;gap:7px!important;border-radius:10px!important}
  .ep-archive-title-row>div{gap:6px;align-items:center}
  .ep-archive-hero .ep-section-kicker,.ep-archive-hero h1{font-size:10px!important}
  .ep-archive-hero p{font-size:9px!important;margin-top:2px!important}
  .ep-archive-hero .ep-filterbar{display:grid!important;grid-template-columns:1fr 1fr auto!important;gap:5px!important}
  .ep-archive-hero .ep-filterbar label{min-width:0!important;width:100%}
  .ep-archive-hero .ep-filterbar select,.ep-archive-hero .ep-filterbar .ep-btn{width:100%;height:32px!important;font-size:10px!important}
  .ep-archive-hero .ep-filterbar .ep-btn{padding:0 8px!important}
}


/* V6.3 compact page-title system */
.ep-search-page .ep-search-hero{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:12px 16px!important;margin-bottom:12px!important}
.ep-search-page .ep-search-hero .ep-archive-title-row{min-width:0;flex:1 1 auto}
.ep-search-page .ep-search-hero .ep-archive-title-row>div{display:flex;align-items:baseline;gap:9px;flex-wrap:wrap}
.ep-search-page .ep-search-hero h1{font-size:13px!important;line-height:1!important;font-weight:900!important;letter-spacing:.02em!important;margin:0!important;white-space:nowrap;color:#111827}
.ep-search-page .ep-search-hero p{font-size:10px!important;line-height:1.25!important;margin:3px 0 0!important;color:#64748b}
.ep-search-inline-form{flex:0 0 min(620px,52%);margin:0}
.ep-search-inline-form .ep-field{display:flex;flex-direction:row;align-items:center;gap:6px}
.ep-search-inline-form .ep-field input{height:34px!important;padding:0 10px!important;font-size:11px!important}
.ep-search-inline-form .ep-field .ep-btn{height:34px!important;padding:0 13px!important;font-size:11px!important}
.ep-forward-title .ep-forward-back{flex:0 0 auto}
.ep-forward-title{padding:12px 16px!important;margin-bottom:12px!important}
.ep-forward-title .ep-archive-title-row>div{display:flex;align-items:baseline;gap:9px;flex-wrap:wrap}
.ep-forward-title h1{font-size:13px!important;line-height:1!important;font-weight:900!important;margin:0!important;white-space:nowrap}
.ep-forward-title p{font-size:10px!important;line-height:1.25!important;margin:3px 0 0!important;color:#64748b}
.ep-forward-title .ep-back{font-size:11px;font-weight:700;color:var(--ep-accent)}
.ep-clip-form-v5 .description{display:block;margin-top:4px;color:#64748b;font-size:11px;line-height:1.3}
.ep-clip-form-v5 label em{font-style:normal;font-weight:500;color:#64748b}
.ep-clip-form-v5 #ep-title[readonly]{background:#f8fafc;cursor:default}
.ep-read-here{background:#2563eb!important;color:#fff!important}
.ep-read-here:hover{background:#1d4ed8!important}
@media(max-width:760px){
  .ep-search-page .ep-search-hero,.ep-forward-title{display:grid!important;grid-template-columns:1fr!important;gap:7px!important;align-items:start!important}
  .ep-search-inline-form{width:100%;max-width:none}
  .ep-search-inline-form .ep-field{display:grid;grid-template-columns:1fr auto}
  .ep-search-inline-form .ep-field input,.ep-search-inline-form .ep-field .ep-btn{height:32px!important}
  .ep-search-page .ep-search-hero h1,.ep-forward-title h1{font-size:10px!important}
  .ep-search-page .ep-search-hero p,.ep-forward-title p{font-size:9px!important}
  .ep-forward-title .ep-back{font-size:10px}
}

/* V6.3: use the same compact public heading scale throughout system pages and reader */
.ep-reader-identity{padding:2px 0!important;margin:0 0 7px!important;align-items:center!important}
.ep-reader-identity h1{font-size:13px!important;line-height:1!important;font-weight:900!important;letter-spacing:.02em!important;margin:0!important;white-space:nowrap}
.ep-reader-identity>div>span:last-child{font-size:10px!important;line-height:1.2!important}
.ep-reader-identity .ep-section-kicker{font-size:10px!important;line-height:1!important}
.ep-page-main .ep-panel>h1,main.ep-page-main .ep-panel>h1{font-size:13px!important;line-height:1!important;font-weight:900!important;letter-spacing:.02em!important;margin:0 0 6px!important}

/* V6.4 viewport-fit reader, custom public colors and editable footer */
.ep-pdf-viewer{overflow:hidden!important;align-items:center!important;justify-content:center!important}
.ep-pdf-page{margin:auto!important}
.ep-strip-thumb{cursor:pointer!important;pointer-events:auto!important;user-select:none}
.ep-strip-thumb canvas,.ep-strip-thumb small{pointer-events:none}
.ep-footer-content{font-size:14px;line-height:1.6;color:rgba(255,255,255,.92)}
.ep-footer-content p{margin:0 0 7px}.ep-footer-content p:last-child{margin-bottom:0}
.ep-color-input{width:64px!important;height:40px!important;padding:3px!important;cursor:pointer;border:1px solid #c3c4c7!important;border-radius:7px!important;background:#fff!important}
.ep-admin-card .ep-color-input+small{display:block;margin-top:5px;color:#646970}

/* V6.4: News Clips heading uses the same compact EPAPER ARCHIVE title scale */
.ep-clips-page .ep-clips-hero.ep-compact-page-hero{
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:18px!important;
  padding:12px 16px!important;
  min-height:0!important;
  margin-bottom:10px!important;
}
.ep-clips-page .ep-clips-hero>div:first-child{min-width:0;flex:1 1 auto}
.ep-clips-page .ep-clips-hero .ep-section-kicker{font-size:10px!important;line-height:1!important;font-weight:900!important;letter-spacing:.12em!important;white-space:nowrap}
.ep-clips-page .ep-clips-hero h1{font-size:13px!important;line-height:1!important;font-weight:900!important;letter-spacing:.02em!important;margin:0!important;white-space:nowrap;color:#111827}
.ep-clips-page .ep-clips-hero p{font-size:10px!important;line-height:1.25!important;margin:3px 0 0!important;color:#64748b}
.ep-clips-page .ep-clips-hero .ep-filterbar{flex:0 0 auto;display:flex!important;align-items:flex-end!important;gap:6px!important;margin:0!important}
.ep-clips-page .ep-clips-hero .ep-filterbar label{min-width:145px!important}
.ep-clips-page .ep-clips-hero .ep-filterbar label span{font-size:9px!important;line-height:1!important}
.ep-clips-page .ep-clips-hero .ep-filterbar select,.ep-clips-page .ep-clips-hero .ep-filterbar .ep-btn{height:34px!important;font-size:11px!important}
.ep-clips-page .ep-clips-hero .ep-filterbar .ep-btn{padding:0 12px!important}
@media(max-width:980px){
  .ep-clips-page .ep-clips-hero.ep-compact-page-hero{display:grid!important;grid-template-columns:1fr!important;gap:9px!important;align-items:start!important}
  .ep-clips-page .ep-clips-hero .ep-filterbar{width:100%;justify-content:flex-start!important}
}
@media(max-width:620px){
  .ep-clips-page .ep-clips-hero.ep-compact-page-hero{padding:9px 11px!important;gap:7px!important;border-radius:10px!important}
  .ep-clips-page .ep-clips-hero .ep-section-kicker,.ep-clips-page .ep-clips-hero h1{font-size:10px!important}
  .ep-clips-page .ep-clips-hero p{font-size:9px!important;margin-top:2px!important}
  .ep-clips-page .ep-clips-hero .ep-filterbar{display:grid!important;grid-template-columns:1fr 1fr auto!important;gap:5px!important}
  .ep-clips-page .ep-clips-hero .ep-filterbar label{min-width:0!important;width:100%}
  .ep-clips-page .ep-clips-hero .ep-filterbar select,.ep-clips-page .ep-clips-hero .ep-filterbar .ep-btn{width:100%;height:32px!important;font-size:10px!important}
  .ep-clips-page .ep-clips-hero .ep-filterbar .ep-btn{padding:0 8px!important}
}



/* V6.9.230: Non-destructive empty-state for front-end Mapping selectors. */
.ep-map-selection-empty{margin-top:10px!important;text-align:left}
.ep-map-selection-empty h2{margin:3px 0 4px!important;font-size:18px!important}
.ep-map-selection-empty p{margin:0!important;color:#64748b!important;font-size:12px!important;line-height:1.5!important}
@media(max-width:620px){.ep-map-selection-empty{padding:12px!important}.ep-map-selection-empty h2{font-size:15px!important}.ep-map-selection-empty p{font-size:10px!important}}

/* V6.9.1: clean application letter PDF/preview, employee area and footer controls */
.ep-application-authority-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:12px}
.ep-application-authority-grid>label,.ep-small-grid>label{display:flex;flex-direction:column;gap:5px}
.ep-application-authority-grid label>span,.ep-small-grid label>span{font-size:11px;font-weight:800;color:#334155}
.ep-application-authority-grid label em,.ep-small-grid label em{font-style:normal;font-weight:500;color:#64748b}
.ep-application-authority-grid input,.ep-application-authority-grid textarea,.ep-small-grid input,.ep-small-grid textarea{width:100%;padding:10px 11px;border:1px solid #cbd5e1;border-radius:9px;background:#fff;font:inherit;line-height:1.35}
.ep-small-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.ep-a4-inner{padding:34px 52px 34px 72px!important;min-height:1123px;background:#fff;color:#111827;font-family:"Noto Sans Oriya","Noto Sans",Arial,sans-serif}
.ep-doc-head{display:none!important}.ep-doc-logo{display:none!important}.ep-doc-rule{display:none!important}
.ep-doc-meta-grid{display:grid;grid-template-columns:minmax(0,1fr) 120px;gap:14px;align-items:start}
.ep-doc-to{font-size:10px!important;line-height:1.45!important}
.ep-doc-date-top{font-size:10px;text-align:right;padding-top:2px;white-space:nowrap}
.ep-doc-subject{font-size:10px!important;margin-top:9px!important;padding-bottom:6px;border-bottom:1px solid #cbd5e1}
.ep-doc-body{font-size:9.8px!important;line-height:1.42!important;margin-top:9px!important}
.ep-doc-clip-full{margin-top:11px!important;border:1px solid #cbd5e1;border-radius:6px;padding:5px;background:#fff}
.ep-doc-clip-full img{display:block;width:100%;height:auto;max-height:370px;object-fit:contain;background:#fff}
.ep-doc-sign-box{margin-top:12px!important;border:0!important;border-radius:0!important;padding:8px 0 0!important;display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,42%);gap:25px;font-size:9px;line-height:1.45}
.ep-doc-place-date{text-align:left;align-self:end}
.ep-doc-sign-right{text-align:right;justify-self:end;max-width:100%}
.ep-doc-sign-right strong,.ep-doc-sign-right .ep-doc-sign-name,.ep-doc-sign-right div{display:block}
.ep-doc-sign-name{font-weight:800;margin:3px 0}
.ep-footer-line{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:15px;padding-top:12px;border-top:1px solid rgba(255,255,255,.18);font-size:12px;color:rgba(255,255,255,.82)}
.ep-footer-login{display:flex;align-items:center;gap:14px;white-space:nowrap}
.ep-footer-login a{text-decoration:none;color:#fff;font-weight:700}
.ep-footer-login a:hover{text-decoration:underline}
.ep-employee-login .ep-public-card,.ep-employee-dashboard .ep-public-card{margin-bottom:12px}
.ep-compact-public-head{padding:14px 16px!important}
.ep-compact-public-head h1{font-size:22px;margin:2px 0 4px;line-height:1.1}
.ep-compact-public-head p{margin:0;color:#64748b;font-size:12px}
.ep-login-card{max-width:520px;margin:0 auto 20px}
.ep-login-card form{display:grid;gap:12px}
.ep-login-card label,.ep-employee-upload-form label{display:flex;flex-direction:column;gap:5px}
.ep-login-card label>span,.ep-employee-upload-form label>span{font-size:12px;font-weight:800}
.ep-login-card input,.ep-employee-upload-form input,.ep-employee-upload-form select,.ep-employee-upload-form textarea{padding:10px 11px;border:1px solid #cbd5e1;border-radius:9px;background:#fff;font:inherit}
.ep-check-inline{display:flex!important;align-items:center;flex-direction:row!important;gap:6px!important;font-size:12px}
.ep-check-inline input{width:auto}
.ep-employee-dashboard-head{display:flex;justify-content:space-between;align-items:center;gap:15px}
.ep-dashboard-actions{display:flex;flex-wrap:wrap;gap:7px;justify-content:flex-end}
.ep-employee-upload-form{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.ep-employee-upload-form .full{grid-column:1/-1}
.ep-employee-issue-list{overflow:auto}
.ep-employee-issue-list table{width:100%;border-collapse:collapse;font-size:12px}
.ep-employee-issue-list th,.ep-employee-issue-list td{padding:9px 8px;border-bottom:1px solid #e5e7eb;text-align:left;vertical-align:top}
.ep-public-alert{padding:10px 12px;border-radius:9px;margin:0 0 12px;font-size:12px}
.ep-public-alert.ep-error{background:#fef2f2;border:1px solid #fecaca;color:#991b1b}
.ep-public-alert.ep-success{background:#f0fdf4;border:1px solid #bbf7d0;color:#166534}
@media(max-width:760px){
  .ep-application-authority-grid,.ep-small-grid,.ep-employee-upload-form{grid-template-columns:1fr}
  .ep-a4-inner{padding:26px 26px 26px 58px!important}
  .ep-doc-meta-grid{grid-template-columns:1fr}
  .ep-doc-date-top{text-align:left}
  .ep-doc-sign-box{grid-template-columns:1fr;gap:12px}
  .ep-doc-sign-right{text-align:right;justify-self:stretch}
  .ep-footer-line{align-items:flex-start;flex-direction:column}
  .ep-footer-login{flex-wrap:wrap;white-space:normal}
  .ep-employee-dashboard-head{align-items:flex-start;flex-direction:column}
  .ep-dashboard-actions{justify-content:flex-start}
}
@media(max-width:480px){
  .ep-a4-inner{padding:22px 20px 22px 42px!important}
  .ep-doc-logo{max-width:250px;height:54px}
}


/* =========================================================
   V6.6 reader consistency, mobile access, editable strip and employee UX
   ========================================================= */
.ep-edition-strip-inner{align-items:center}
.ep-edition-strip-inner .menu-item{display:inline-flex;align-items:center}
.ep-edition-strip-inner .menu-item a{display:block;color:#fff;padding:8px 13px;font-size:13px;text-transform:uppercase;letter-spacing:.015em}
.ep-edition-strip-inner .menu-item a:hover{background:rgba(255,255,255,.08)}
.ep-edition-strip-inner .menu-item-has-children{position:relative}
.ep-edition-strip-inner .sub-menu{display:none}
.ep-pdf-viewer{position:relative;overflow:hidden!important;align-items:center!important;justify-content:center!important}
.ep-pdf-page{position:relative;display:block;max-width:100%;max-height:100%;margin:auto;line-height:0;background:#fff}
.ep-pdf-page canvas{display:block;position:absolute;max-width:none!important;height:auto!important;background:#fff}
.ep-pdf-hotspots{pointer-events:none}
.ep-pages-strip{margin-top:8px;padding:8px 10px}
.ep-pages-strip-head{margin-bottom:6px}
.ep-strip-thumb{width:72px;padding:2px;border-width:2px}
.ep-strip-thumb canvas{max-height:102px}
.ep-strip-thumb small{font-size:10px;padding:3px 1px 1px}
.ep-menu-settings-box{background:#f8fafc;border:1px solid #dbe2ea;border-radius:10px;padding:12px 14px;color:#475569}
.ep-menu-settings-box p{margin:0 0 5px}.ep-menu-settings-box p:last-child{margin-bottom:0}.ep-menu-settings-box a{color:#135e96;font-weight:700}
.ep-employee-dashboard .ep-public-card,.ep-employee-login .ep-public-card{width:100%}
.ep-employee-upload-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.ep-employee-upload-form>label{display:flex;flex-direction:column;gap:6px}.ep-employee-upload-form>label.full{grid-column:1/-1}
.ep-employee-upload-form input,.ep-employee-upload-form select,.ep-employee-upload-form textarea{width:100%;max-width:100%;padding:11px;border:1px solid #cbd5e1;border-radius:9px;background:#fff;font:inherit}
.ep-employee-upload-form input[type=file]{padding:8px}
.ep-employee-upload-form .ep-btn{justify-self:start}
.ep-employee-issue-list{overflow-x:auto;-webkit-overflow-scrolling:touch}
.ep-employee-issue-list table{min-width:720px}
.ep-dashboard-actions{display:flex;gap:7px;flex-wrap:wrap}
@media(max-width:782px){
  .ep-employee-upload-form{grid-template-columns:1fr}
  .ep-employee-upload-form>label.full{grid-column:auto}
  .ep-dashboard-actions .ep-btn{flex:1 1 140px;text-align:center}
  .ep-employee-dashboard .ep-public-card,.ep-employee-login .ep-public-card{padding:13px}
}
@media(max-width:620px){
  .ep-pages-strip{padding:7px 8px;margin-top:6px}
  .ep-pages-strip-head strong{font-size:12px}.ep-pages-strip-head span{font-size:9px}
  .ep-strip-thumb{width:58px;padding:2px;border-radius:7px}
  .ep-strip-thumb canvas{max-height:84px;border-radius:4px}
  .ep-strip-thumb small{font-size:9px;line-height:1.15}
  .ep-pages-strip-list{gap:5px;padding-bottom:2px}
  .ep-viewer-shell-v57 .ep-pdf-viewer{min-height:320px}
  .ep-employee-upload-form input,.ep-employee-upload-form select,.ep-employee-upload-form textarea{font-size:16px;min-height:44px}
  .ep-employee-upload-form textarea{min-height:96px}
  .ep-employee-upload-form .ep-btn{width:100%;min-height:46px}
  .ep-employee-issue-list table{font-size:12px}
  .ep-edition-strip-inner .menu-item a{padding:8px 11px;font-size:12px}
}

/* V6.6 touch mapping and compact mobile reader access */
.ep-map-canvas-wrap #ep-map-svg{touch-action:none;user-select:none;-webkit-user-select:none}
@media(max-width:782px){
  body.toplevel_page_epaper-clip-mapping .wrap{margin-right:0}
  .ep-map-selects{width:100%;display:grid;grid-template-columns:1fr;gap:8px}
  .ep-map-selects label,.ep-map-selects select{width:100%;min-width:0}
  .ep-map-nav{width:100%;font-size:11px}
}


/* V6.7 frontend employee mapping + mobile secondary strip + footer columns */
.ep-footer-columns{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;padding-bottom:18px;margin-bottom:14px;border-bottom:1px solid rgba(255,255,255,.18)}
.ep-footer-column{min-width:0}.ep-footer-widget h3{margin:0 0 7px;font-size:15px;color:#fff}.ep-footer-widget p{margin:0 0 7px}.ep-footer-widget a{text-decoration:underline;text-underline-offset:2px}.ep-footer-line{display:flex;justify-content:space-between;align-items:center;gap:12px}.ep-footer-login{display:flex;gap:14px;flex-wrap:wrap;font-weight:700}.ep-footer-login a{color:#fff}
.ep-front-map-card{background:#fff;border:1px solid var(--ep-border);border-radius:14px;overflow:hidden;box-shadow:0 4px 18px rgba(15,23,42,.035)}
.ep-map-front-head{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:14px 16px}.ep-map-front-head h1{font-size:22px;margin:2px 0}.ep-map-front-head p{margin:0;color:#64748b;font-size:12px}.ep-map-front-selects{display:flex;justify-content:space-between;align-items:flex-end;gap:12px;padding:10px 12px}.ep-map-front-selects .ep-map-selects{display:flex;flex-wrap:wrap;gap:8px;align-items:flex-end}.ep-map-front-selects label{display:flex;flex-direction:column;gap:4px}.ep-map-front-selects label>span{font-size:10px;text-transform:uppercase;letter-spacing:.05em;font-weight:900;color:#64748b}.ep-map-front-selects select{min-width:190px;height:40px;border:1px solid #cbd5e1;border-radius:8px;padding:0 10px;background:#fff;font:inherit}.ep-map-front-selects .ep-map-nav{display:flex;align-items:center;gap:7px;font-size:12px;color:#64748b}.ep-map-front-selects .is-disabled{opacity:.45;pointer-events:none}.ep-front-map-grid{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:0;align-items:start}.ep-front-map-grid .ep-map-main{min-width:0;border:0;border-right:1px solid #e5e7eb;border-radius:0}.ep-front-map-grid .ep-map-canvas-wrap{min-height:0;max-height:none;overflow:visible;padding:8px;background:#fff;position:relative;text-align:center}.ep-front-map-grid #ep-map-page{position:relative;display:block;line-height:0;background:#fff;box-shadow:0 8px 24px rgba(0,0,0,.12);touch-action:none;max-width:100%;margin:0 auto}.ep-front-map-grid #ep-map-page canvas{display:block;background:#fff;max-width:100%;height:auto}.ep-front-map-grid #ep-map-svg{position:absolute;inset:0;width:100%;height:100%;display:block;overflow:visible;touch-action:none}.ep-front-map-side{border:0;border-radius:0;max-height:calc(100vh - 250px);overflow:auto}.ep-front-map-side .ep-clip-list{max-height:220px}.ep-front-map-side .ep-clip-form-v5{padding:14px}.ep-front-map-card .ep-map-toolbar-v5{position:sticky;top:0;z-index:8}.ep-front-map-card .button{min-height:40px;border:1px solid #c3c4c7;background:#fff;color:#1d2327;border-radius:8px;padding:8px 11px;cursor:pointer}.ep-front-map-card .button-primary{background:var(--ep-primary);border-color:var(--ep-primary);color:#fff}.ep-front-map-card .button-link-delete{color:#b32d2e;background:#fff}.ep-front-map-card .ep-map-canvas-wrap{touch-action:pan-x pan-y}.ep-front-map-card #ep-map-svg{touch-action:none}.ep-employee-dashboard .ep-employee-upload-form{scroll-margin-top:90px}
@media(max-width:900px){
  .ep-footer-columns{grid-template-columns:1fr;gap:14px}
  .ep-footer-line{flex-direction:column;align-items:flex-start}
  .ep-map-front-head,.ep-map-front-selects{flex-direction:column;align-items:stretch}
  .ep-map-front-selects .ep-map-selects{display:grid;grid-template-columns:1fr;gap:8px}.ep-map-front-selects select{width:100%;min-width:0}
  .ep-map-front-selects .ep-map-nav{justify-content:space-between}
  .ep-front-map-grid{grid-template-columns:1fr}.ep-front-map-grid .ep-map-main{border-right:0;border-bottom:1px solid #e5e7eb}.ep-front-map-side{max-height:none}
  .ep-front-map-grid .ep-map-canvas-wrap{min-height:420px;max-height:58svh;padding:7px;overflow:auto;-webkit-overflow-scrolling:touch}
  .ep-front-map-card .ep-map-toolbar-v5{position:static}.ep-front-map-card .ep-map-tools-left,.ep-front-map-card .ep-map-tools-right{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}.ep-front-map-card .ep-map-tools-left .button,.ep-front-map-card .ep-map-tools-right .button{width:100%}
}
@media(max-width:620px){
  .ep-header{position:sticky;top:0}.ep-edition-strip{order:2;border-top:2px solid var(--ep-accent)}
  .ep-edition-strip-inner{gap:0;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;justify-content:flex-start}
  .ep-edition-strip-inner a{flex:0 0 auto;scroll-snap-align:start;padding:5px 10px;font-size:10px;line-height:1.2;min-height:30px;display:flex;align-items:center}
  .ep-edition-strip-home{padding-inline:11px!important;font-size:14px!important}
  .ep-footer{padding:18px 12px}.ep-footer-columns{gap:12px}.ep-footer-widget h3{font-size:14px}.ep-footer-content{font-size:13px}
  .ep-map-front-head{padding:12px}.ep-map-front-head h1{font-size:16px}.ep-map-front-head p{font-size:10px}.ep-map-front-head .ep-dashboard-actions{display:grid;grid-template-columns:1fr 1fr}
  .ep-front-map-card .ep-map-tools-left,.ep-front-map-card .ep-map-tools-right{grid-template-columns:repeat(2,minmax(0,1fr))}.ep-front-map-card .ep-map-toolbar-v5{padding:7px}.ep-front-map-card .button{min-height:44px;font-size:13px}.ep-front-map-side .ep-clip-form-v5 input,.ep-front-map-side .ep-clip-form-v5 select,.ep-front-map-side .ep-clip-form-v5 textarea{font-size:16px;min-height:44px}
}


/* V6.8 frontend employee workflow, persistent mobile strip and quick clip save */
.ep-front-save-top{margin-left:auto!important;background:var(--ep-primary)!important;color:#fff!important}
.ep-create-blog-link{color:#fff!important;background:#2563eb!important;border-color:#2563eb!important;text-decoration:none!important}
.ep-front-post-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.ep-front-post-form>label{display:flex;flex-direction:column;gap:6px}
.ep-front-post-form>label.full{grid-column:1/-1}
.ep-front-post-form label>span,.ep-front-post-thumbnail-field>span{font-size:12px;font-weight:800;color:#334155}
.ep-front-post-form input,.ep-front-post-form select,.ep-front-post-form textarea{width:100%;max-width:100%;padding:11px;border:1px solid #cbd5e1;border-radius:9px;background:#fff;font:inherit}
.ep-front-post-form input[type=file]{padding:8px}
.ep-front-post-thumbnail-field{display:flex;flex-direction:column;gap:7px;min-width:0}
.ep-front-post-thumbnail-field img{display:block;width:160px;max-width:100%;height:auto;border:1px solid #dbe2ea;border-radius:9px}
.ep-post-no-thumbnail{min-height:44px;padding:11px;border:1px dashed #cbd5e1;border-radius:9px;color:#64748b;background:#f8fafc}
.ep-front-post-actions{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:8px;padding-top:4px}
.ep-front-post-list{overflow-x:auto;-webkit-overflow-scrolling:touch}
.ep-front-post-list table{width:100%;min-width:720px;border-collapse:collapse;font-size:12px}
.ep-front-post-list th,.ep-front-post-list td{padding:9px 8px;border-bottom:1px solid #e5e7eb;text-align:left;vertical-align:top}
.ep-front-post-list .ep-btn{padding:6px 9px;font-size:11px}
.ep-map-toolbar-v5{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.ep-map-toolbar-v5 .ep-auto-clip-slot{display:flex;align-items:center;gap:6px;flex:0 0 auto;margin:0}
.ep-map-toolbar-v5 .ep-clear-all-button{color:#b32d2e!important;border-color:#d7a0a0!important;background:#fff!important;font-weight:700}
.ep-map-toolbar-v5 .ep-clear-all-button:disabled{opacity:.55!important;cursor:wait!important}
.ep-map-toolbar-v5 .ep-front-save-top{margin-left:0!important}

/* Keep the secondary strip available on phones and make it a compact touch scroller. */
.ep-edition-strip{display:block!important;position:relative;z-index:1498}
.ep-edition-strip-inner{display:flex!important;flex-wrap:nowrap!important;touch-action:pan-x!important;justify-content:flex-start!important;align-items:center!important;gap:0!important;overflow-x:auto!important;overflow-y:hidden!important;white-space:nowrap!important;scrollbar-width:none!important;-webkit-overflow-scrolling:touch!important;scroll-behavior:smooth!important;overscroll-behavior-x:contain;touch-action:pan-x}
.ep-edition-strip-inner::-webkit-scrollbar{display:none!important}
.ep-edition-strip-inner>a,.ep-edition-strip-inner .menu-item,.ep-edition-strip-inner .menu-item a{flex:0 0 auto!important}
@media(max-width:900px){
  .ep-edition-strip{display:block!important}
  .ep-header-inner{min-width:0}
  .ep-edition-strip-inner{padding:0!important;min-height:32px}
  .ep-edition-strip-inner>a,.ep-edition-strip-inner .menu-item>a{padding:6px 11px!important;font-size:11px!important;min-height:32px!important;line-height:1!important;display:inline-flex!important;align-items:center!important;white-space:nowrap!important}
  .ep-edition-strip-home{font-size:15px!important;padding-inline:12px!important}
}
@media(max-width:620px){
  .ep-front-post-form{grid-template-columns:1fr}
  .ep-front-post-form>label.full{grid-column:auto}
  .ep-front-post-actions{grid-column:auto;display:grid;grid-template-columns:1fr;gap:7px}
  .ep-front-post-actions .ep-btn{width:100%;min-height:46px;text-align:center}
  .ep-front-post-form input,.ep-front-post-form select,.ep-front-post-form textarea{font-size:16px;min-height:44px}
  .ep-front-post-form textarea{min-height:110px}
  .ep-front-post-thumbnail-field img{width:140px}
  .ep-front-save-top{display:inline-flex!important;position:sticky!important;right:0!important}
  .ep-front-map-card .ep-map-toolbar-v5{position:sticky;top:0;z-index:25;background:#fff;border-bottom:1px solid #e5e7eb;padding:6px}
  .ep-front-map-card .ep-map-toolbar-v5 .ep-front-save-top{grid-column:1/-1;flex-basis:100%;min-height:44px}
  .ep-front-map-card .ep-clip-form-actions{position:sticky;bottom:0;z-index:30;background:#fff;border-top:1px solid #dbe2ea;padding:9px;margin:0 -14px -14px}.ep-front-map-card .ep-top-clip-actions{display:flex;gap:6px;padding:7px 9px;border-bottom:1px solid #dbe2ea;background:#fff}.ep-front-map-card .ep-top-clip-actions .button{min-height:40px;flex:1;justify-content:center}
  .ep-front-map-card .ep-clip-form-actions .button{min-height:44px}
  .ep-edition-strip-inner>a,.ep-edition-strip-inner .menu-item>a{padding:5px 10px!important;font-size:10px!important;min-height:30px!important}
  .ep-edition-strip-home{padding-inline:11px!important;font-size:14px!important}
}

/* V6.9 reader zoom controls + mobile header/secondary-strip stabilization */
.ep-reader-toolbar-top .ep-zoom-button{min-width:38px;text-align:center;font-weight:900;padding-inline:10px}
.ep-reader-toolbar-top .ep-zoom-level{flex:0 0 auto;min-width:48px;text-align:center;font-size:12px;font-weight:900;color:#475569;padding:0 2px}
.ep-pdf-viewer.ep-pdf-zoom-active{overflow:auto!important;align-items:flex-start!important;justify-content:flex-start!important}
.ep-pdf-viewer.ep-pdf-zoom-active .ep-pdf-page{margin:0 auto!important}

@media(max-width:980px){
  /* Main mobile menu expands inside the header and pushes the secondary strip/content down.
     This prevents the old fixed overlay from covering the page. */
  .ep-header-inner{flex-wrap:wrap;align-content:flex-start}
  .ep-header .ep-nav{position:static!important;left:auto!important;right:auto!important;top:auto!important;width:100%!important;flex:1 0 100%!important;order:3;display:none!important;max-height:none!important;overflow:visible!important;background:#fff;border:0!important;border-top:1px solid var(--ep-border)!important;border-radius:0!important;box-shadow:none!important;padding:7px 0 5px!important}
  .ep-header .ep-nav.is-open{display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;align-items:center!important;gap:4px!important}
  .ep-header .ep-nav-paper-selectors{flex:1 0 100%;width:100%;margin:0 0 4px!important;padding:8px!important;background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px}
  .ep-header .ep-nav-paper-form{width:100%;display:grid!important;grid-template-columns:1fr 1fr;gap:6px!important}
  .ep-header .ep-nav a{flex:0 0 auto!important;padding:9px 11px!important;font-size:13px!important;border-radius:8px!important;background:#f6f7f9}
  .ep-header .ep-nav-forward{margin:0!important;text-align:center!important;background:var(--ep-accent)!important;color:#fff!important}
  .ep-header .ep-nav-backdrop{display:none!important}
  .ep-header + *{position:relative;z-index:1}
  .ep-edition-strip{position:relative!important;z-index:2!important;width:100%;border-top:2px solid var(--ep-accent)!important}
  .ep-edition-strip-inner{width:100%;max-width:none!important;overflow-x:auto!important;overflow-y:hidden!important;white-space:nowrap!important;display:flex!important;flex-wrap:nowrap!important;justify-content:flex-start!important;align-items:center!important;scroll-snap-type:x proximity!important;overscroll-behavior-x:contain!important;touch-action:pan-x!important;-webkit-overflow-scrolling:touch!important;scrollbar-width:none!important;cursor:grab}
  .ep-edition-strip-inner:active{cursor:grabbing}
  .ep-edition-strip-inner>a,.ep-edition-strip-inner>.menu-item,.ep-edition-strip-inner>.menu-item>a{flex:0 0 auto!important;scroll-snap-align:start!important}
}

@media(max-width:620px){
  .ep-mobile-menu-toggle{z-index:20}
  .ep-header .ep-nav{padding:6px 0 4px!important}
  .ep-header .ep-nav-paper-selectors{padding:7px!important}
  .ep-header .ep-nav-paper-form{grid-template-columns:1fr 1fr!important}
  .ep-header .ep-nav a{padding:7px 9px!important;font-size:11px!important;line-height:1.15!important}
  .ep-edition-strip-inner>a,.ep-edition-strip-inner>.menu-item>a{font-size:10px!important;min-height:30px!important;padding:5px 9px!important}
  .ep-edition-strip-home{padding-inline:10px!important;font-size:14px!important}
  .ep-reader-toolbar-top{overflow-x:auto!important;flex-wrap:nowrap!important;-webkit-overflow-scrolling:touch;scrollbar-width:none}
  .ep-reader-toolbar-top::-webkit-scrollbar{display:none}
  .ep-reader-toolbar-top .ep-zoom-button{min-width:36px;padding-inline:8px!important;font-size:15px!important}
  .ep-reader-toolbar-top .ep-zoom-level{min-width:44px;font-size:10px}
  .ep-pdf-viewer.ep-pdf-zoom-active{touch-action:pan-x pan-y!important;overflow:auto!important;justify-content:flex-start!important}
}



/* V6.9.4 professional forward-news application */
.ep-professional-letter{box-sizing:border-box!important;width:794px!important;height:1123px!important;min-height:1123px!important;padding:72px 64px 58px 92px!important;color:#111827!important;background:#fff!important;font-family:"Noto Sans Oriya","Noto Sans",Arial,sans-serif!important;overflow:hidden!important}
.ep-letter-top{display:grid;grid-template-columns:minmax(0,1fr) 150px;gap:18px;align-items:start;font-size:14px;line-height:1.55}
.ep-letter-to>strong{display:block;font-size:18px;margin-bottom:8px}
.ep-letter-to>div{font-size:14px;line-height:1.5}
.ep-letter-date{text-align:right;font-size:14px;white-space:nowrap;padding-top:2px}
.ep-letter-rule{height:1px;background:#cbd5e1;margin:22px 0 18px}
.ep-professional-letter .ep-doc-subject{font-size:15px!important;line-height:1.45!important;margin:0!important;padding:0 0 12px!important;border:0!important;font-weight:400!important}
.ep-professional-letter .ep-doc-body{font-size:14px!important;line-height:1.62!important;margin:4px 0 16px!important;color:#111827!important}
.ep-professional-letter .ep-doc-clip-full{margin:14px 0 0!important;border:1px solid #cbd5e1!important;border-radius:5px!important;padding:6px!important;background:#fff!important}
.ep-professional-letter .ep-doc-clip-full img{display:block;width:100%!important;height:auto!important;max-height:335px!important;object-fit:contain!important;background:#fff!important}
.ep-professional-letter .ep-doc-clip-caption{display:flex;justify-content:space-between;gap:12px;margin-top:6px;font-size:11px;line-height:1.3;color:#334155}
.ep-professional-letter .ep-doc-clip-caption small{font-size:10px;color:#64748b;text-align:right}
.ep-professional-letter .ep-doc-sign-box{margin-top:20px!important;padding-top:12px!important;border-top:1px solid #e2e8f0!important;display:grid!important;grid-template-columns:1fr 1fr!important;gap:24px!important;font-size:14px!important;line-height:1.5!important}
.ep-professional-letter .ep-doc-place-date{align-self:end!important}
.ep-professional-letter .ep-doc-sign-right{font-size:14px!important;text-align:right!important;justify-self:end!important;max-width:100%!important}
.ep-professional-letter .ep-doc-sign-right strong{font-size:14px!important}
.ep-professional-letter .ep-doc-sign-name{font-size:14px!important;font-weight:800!important;margin:4px 0!important}
@media(max-width:900px){.ep-professional-letter{width:100%!important;height:auto!important;min-height:0!important;padding:48px 28px 42px 58px!important}.ep-letter-top{grid-template-columns:1fr}.ep-letter-date{text-align:left}.ep-professional-letter .ep-doc-sign-box{grid-template-columns:1fr!important}.ep-professional-letter .ep-doc-sign-right{text-align:right!important;justify-self:stretch!important}}

/* V6.9.4: right-side live application preview and fast download controls */
.ep-right-live-preview{margin-top:18px;padding-top:16px;border-top:1px solid #e2e8f0}
.ep-right-live-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:10px}
.ep-right-live-head strong{display:block;font-size:15px;color:#0f172a}
.ep-right-live-head small{display:block;margin-top:2px;font-size:10px;color:#64748b}
.ep-right-live-head>span{font-size:10px;font-weight:800;color:#64748b;background:#f1f5f9;border-radius:999px;padding:4px 7px}
.ep-right-live-preview #ep-a4-live{width:100%;overflow:auto;background:#eef2f7;border:1px solid #dbe2ea;border-radius:8px;padding:7px;box-sizing:border-box}
.ep-right-live-preview .ep-a4{width:100%!important;height:auto!important;min-height:0!important;display:block!important}
.ep-right-live-preview .ep-professional-letter{width:100%!important;height:auto!important;min-height:0!important;aspect-ratio:794 / 1123;padding:28px 22px 24px 34px!important;overflow:hidden!important;box-sizing:border-box!important}
.ep-right-live-preview .ep-letter-top{font-size:8px;line-height:1.35;grid-template-columns:minmax(0,1fr) 75px;gap:8px}
.ep-right-live-preview .ep-letter-to>strong{font-size:10px;margin-bottom:3px}
.ep-right-live-preview .ep-letter-to>div,.ep-right-live-preview .ep-letter-date{font-size:8px;line-height:1.3}
.ep-right-live-preview .ep-letter-rule{margin:9px 0 8px}
.ep-right-live-preview .ep-professional-letter .ep-doc-subject{font-size:8.5px!important;padding-bottom:6px!important}
.ep-right-live-preview .ep-professional-letter .ep-doc-body{font-size:8px!important;line-height:1.35!important;margin:3px 0 7px!important}
.ep-right-live-preview .ep-professional-letter .ep-doc-clip-full{margin:7px 0 0!important;padding:3px!important}
.ep-right-live-preview .ep-professional-letter .ep-doc-clip-full img{max-height:190px!important}
.ep-right-live-preview .ep-professional-letter .ep-doc-clip-caption{font-size:6px!important;margin-top:2px}
.ep-right-live-preview .ep-professional-letter .ep-doc-clip-caption small{font-size:5.5px!important}
.ep-right-live-preview .ep-professional-letter .ep-doc-sign-box{margin-top:7px!important;padding-top:5px!important;font-size:7px!important;line-height:1.3!important;gap:8px!important}
.ep-right-live-preview .ep-professional-letter .ep-doc-sign-right,.ep-right-live-preview .ep-professional-letter .ep-doc-sign-right strong,.ep-right-live-preview .ep-professional-letter .ep-doc-sign-name{font-size:7px!important}
.ep-app-downloads{display:flex;gap:7px;flex-wrap:wrap;margin-top:10px}
.ep-app-downloads .ep-btn{flex:1 1 130px;text-align:center;text-decoration:none}
.ep-app-generating{display:block;width:100%;padding:9px 10px;border-radius:8px;background:#f8fafc;border:1px solid #e2e8f0;color:#475569;font-size:11px;text-align:center}
.ep-app-result-right{margin-top:7px;font-size:10px}
.ep-app-result-right p{margin:0}
.ep-app-result-right .ep-success-box{padding:8px 9px;background:#f0fdf4;border:1px solid #bbf7d0;border-radius:8px;color:#166534}
@media(max-width:900px){
  .ep-forward-layout-v55{grid-template-columns:1fr!important}
  .ep-right-live-preview .ep-professional-letter{padding:42px 34px 32px 52px!important}
  .ep-right-live-preview .ep-professional-letter .ep-doc-clip-full img{max-height:360px!important}
  .ep-right-live-preview .ep-letter-top{font-size:12px;grid-template-columns:minmax(0,1fr) 120px;gap:14px}
  .ep-right-live-preview .ep-letter-to>strong{font-size:16px}
  .ep-right-live-preview .ep-letter-to>div,.ep-right-live-preview .ep-letter-date{font-size:12px}
  .ep-right-live-preview .ep-professional-letter .ep-doc-subject{font-size:13px!important}
  .ep-right-live-preview .ep-professional-letter .ep-doc-body{font-size:12px!important;line-height:1.5!important}
  .ep-right-live-preview .ep-professional-letter .ep-doc-sign-box,.ep-right-live-preview .ep-professional-letter .ep-doc-sign-right,.ep-right-live-preview .ep-professional-letter .ep-doc-sign-right strong,.ep-right-live-preview .ep-professional-letter .ep-doc-sign-name{font-size:11px!important}
}

/* V6.9.6 application letter refinements */
.ep-right-live-preview .ep-professional-letter{padding-top:58px!important}
.ep-right-live-preview .ep-letter-to>div{padding-left:5pt!important}
.ep-right-live-preview .ep-professional-letter .ep-doc-subject{font-weight:800!important}
.ep-right-live-preview .ep-professional-letter .ep-doc-body p{margin:0 0 10px!important;text-indent:5mm!important}


/* V6.9.7: application preview must match the generated letter. */
.ep-right-live-preview .ep-professional-letter .ep-doc-salutation{display:block!important;margin:0 0 10px!important;text-indent:0!important;font-size:8px!important;line-height:1.35!important}
.ep-professional-letter .ep-doc-footer{position:absolute;left:92px;right:64px;bottom:25px;padding-top:6px;border-top:1px solid #cbd5e1;display:flex;justify-content:space-between;gap:12px;font-size:8px;line-height:1.3;color:#64748b}
.ep-professional-letter{position:relative}
.ep-right-live-preview .ep-professional-letter .ep-doc-footer{left:34px;right:22px;bottom:12px;font-size:5.5px!important;padding-top:3px!important}
@media(max-width:900px){.ep-right-live-preview .ep-professional-letter .ep-doc-footer{left:52px;right:34px;bottom:14px;font-size:7px!important}}

/* V6.9.10: browser-rendered application downloads */
.ep-app-downloads .ep-btn[disabled]{opacity:.55;cursor:not-allowed}
.ep-app-downloads .ep-app-download-pdf{background:var(--ep-accent)}
.ep-app-downloads .ep-app-download-jpg{background:#e5e7eb;color:#111}
.ep-app-rendering{display:block;width:100%;padding:9px 10px;border-radius:8px;background:#fff7ed;border:1px solid #fed7aa;color:#9a3412;font-size:11px;text-align:center}

/* V6.9.10: applicant email location and black application reference footer. */
.ep-applicant-box .ep-form-spacer{display:block;min-height:1px}
.ep-professional-letter .ep-doc-footer{color:#000!important;font-size:8px!important;line-height:1.35!important;display:block!important}
.ep-professional-letter .ep-doc-footer-top{display:flex;align-items:baseline;justify-content:space-between;gap:12px;color:#000!important;white-space:nowrap}
.ep-professional-letter .ep-doc-footer-top strong{font-weight:900!important;color:#000!important}
.ep-professional-letter .ep-doc-footer-top span{color:#000!important}
.ep-professional-letter .ep-doc-footer-link{margin-top:3px;color:#000!important;overflow-wrap:anywhere;word-break:break-word}
.ep-professional-letter .ep-doc-footer-link a{color:#000!important;text-decoration:underline!important;font-weight:600!important}
.ep-right-live-preview .ep-professional-letter .ep-doc-footer{font-size:5.5px!important;color:#000!important}
.ep-right-live-preview .ep-professional-letter .ep-doc-footer-top{gap:5px}
.ep-right-live-preview .ep-professional-letter .ep-doc-footer-link{margin-top:2px}
@media(max-width:900px){.ep-right-live-preview .ep-professional-letter .ep-doc-footer{font-size:7px!important}}

/* V6.9.11: Landing-page blog posts. Edition section stays first, then all published posts, then the theme footer. */
.ep-home-landing-page{padding-bottom:8px}
.ep-home-blog-section{margin-top:26px;padding:20px;background:#fff;border:1px solid var(--ep-border);border-radius:16px}
.ep-home-blog-heading{margin-bottom:16px}
.ep-home-blog-list{display:flex;flex-direction:column;gap:14px}
.ep-home-blog-item{display:grid;grid-template-columns:minmax(190px,270px) minmax(0,1fr);gap:20px;align-items:stretch;padding:14px;background:linear-gradient(180deg,#fff,#fbfbfa);border:1px solid #e7e9e7;border-radius:14px;box-shadow:0 3px 14px rgba(17,24,39,.05);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.ep-home-blog-item:hover{transform:translateY(-1px);border-color:#d8ddd9;box-shadow:0 7px 24px rgba(17,24,39,.08)}
.ep-home-blog-thumb{display:block;min-height:172px;height:100%;overflow:hidden;border-radius:10px;background:#eef2ef;position:relative}
.ep-home-blog-thumb img{display:block;width:100%;height:100%;min-height:172px;object-fit:cover}
.ep-home-blog-thumb-placeholder{display:flex;align-items:center;justify-content:center;width:100%;height:100%;min-height:172px;background:linear-gradient(135deg,#e8efe9,#f4f6f4);color:var(--ep-primary);font-size:44px;font-weight:800}
.ep-home-blog-thumb-placeholder span{display:grid;place-items:center;width:76px;height:76px;border-radius:18px;background:#fff;border:1px solid #dfe6e1;box-shadow:0 6px 18px rgba(15,93,46,.08)}
.ep-home-blog-body{display:flex;flex-direction:column;align-items:flex-start;min-width:0;padding:3px 4px 3px 0}
.ep-home-blog-meta{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:700;letter-spacing:.02em;color:#68706c;text-transform:uppercase;margin-bottom:7px}
.ep-home-blog-dot{opacity:.45}
.ep-home-blog-body h2{margin:0 0 8px;font-size:clamp(20px,2vw,28px);line-height:1.2;letter-spacing:-.01em}
.ep-home-blog-body h2 a:hover{text-decoration:underline;text-underline-offset:3px}
.ep-home-blog-excerpt{font-size:15px;line-height:1.7;color:#4d5551;margin-bottom:14px;max-width:900px}
.ep-home-blog-readmore{display:inline-flex;align-items:center;gap:8px;margin-top:auto;padding:9px 13px;font-size:13px;font-weight:700}
@media(max-width:760px){
  .ep-home-blog-section{padding:14px;border-radius:14px}
  .ep-home-blog-item{grid-template-columns:112px minmax(0,1fr);gap:12px;padding:10px}
  .ep-home-blog-thumb,.ep-home-blog-thumb img,.ep-home-blog-thumb-placeholder{min-height:118px;height:118px}
  .ep-home-blog-thumb-placeholder{font-size:28px}
  .ep-home-blog-thumb-placeholder span{width:54px;height:54px;border-radius:14px}
  .ep-home-blog-body h2{font-size:18px}
  .ep-home-blog-excerpt{font-size:13px;line-height:1.55;margin-bottom:10px}
  .ep-home-blog-meta{font-size:10px;margin-bottom:5px}
  .ep-home-blog-readmore{padding:7px 10px;font-size:12px}
}
@media(max-width:480px){
  .ep-home-blog-item{grid-template-columns:96px minmax(0,1fr);gap:10px}
  .ep-home-blog-thumb,.ep-home-blog-thumb img,.ep-home-blog-thumb-placeholder{min-height:104px;height:104px}
  .ep-home-blog-body h2{font-size:16px}
  .ep-home-blog-excerpt{font-size:12px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
}

.ep-dynamic-application-field{display:flex;flex-direction:column;gap:6px}.ep-dynamic-application-field.full{grid-column:1/-1}.ep-dynamic-application-field>span{font-size:13px;font-weight:700;color:#172033}.ep-dynamic-application-field>span b{color:#b91c1c}.ep-dynamic-letter-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:12px}.ep-dynamic-letter-fields .full{grid-column:1/-1}.ep-applicant-dynamic-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.ep-applicant-dynamic-grid .full{grid-column:1/-1}.ep-doc-extra-wrap{margin:0 0 7px}.ep-doc-extra{font-size:10px;margin:2px 0}.ep-doc-extra b{font-weight:800}@media(max-width:760px){.ep-dynamic-letter-fields,.ep-applicant-dynamic-grid{grid-template-columns:1fr}.ep-dynamic-application-field.full{grid-column:auto}}

.ep-application-authority-grid>label.full,.ep-applicant-dynamic-grid>label.full{grid-column:1/-1}.ep-application-authority-grid textarea{min-height:90px}.ep-applicant-dynamic-grid textarea{min-height:85px}


/* V6.9.14 Issue Clip Gallery */
.ep-quick-clips-toggle{display:none;align-items:center;justify-content:center;gap:7px;margin-left:auto;background:#111827;color:#fff;border:0;border-radius:10px;padding:8px 10px;font:700 12px/1 system-ui,sans-serif;cursor:pointer;box-shadow:0 5px 16px rgba(15,23,42,.16)}
.ep-quick-clips-toggle:active{transform:scale(.97)}
.ep-quick-clips-icon{display:grid;grid-template-columns:repeat(3,4px);grid-auto-rows:4px;gap:2px;padding:1px}
.ep-quick-clips-icon i{display:block;width:4px;height:4px;border-radius:1px;background:#fff}
.ep-edition-info-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}
.ep-btn-clip-issue{padding:7px 9px!important;font-size:11px!important;line-height:1!important;background:#111827!important;color:#fff!important;white-space:nowrap}
.ep-btn-clip-issue b{font-size:10px;opacity:.78}
.ep-clip-gallery-modal{padding:0!important;background:rgba(3,7,18,.96)!important;align-items:stretch!important;justify-content:stretch!important;z-index:5000!important}
.ep-clip-gallery-shell{width:100%;height:100%;min-height:100dvh;display:grid;grid-template-rows:auto minmax(0,1fr) auto auto;background:#05070b;color:#fff;overflow:hidden}
.ep-clip-gallery-topbar{height:64px;display:grid;grid-template-columns:100px minmax(0,1fr) 210px;align-items:center;gap:12px;padding:8px 16px;background:linear-gradient(180deg,#10141b,#0b0e13);border-bottom:1px solid rgba(255,255,255,.09)}
.ep-clip-gallery-counter{display:flex;align-items:baseline;gap:5px;font-size:13px;color:#aab4c4}
.ep-clip-gallery-counter strong{font-size:20px;color:#fff}
.ep-clip-gallery-title{text-align:center;min-width:0}
.ep-clip-gallery-title .ep-section-kicker{display:block;color:#c9a227;font-size:9px;margin-bottom:1px}
.ep-clip-gallery-title strong{display:block;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ep-clip-gallery-top-actions{display:flex;justify-content:flex-end;align-items:center;gap:5px}
.ep-gallery-tool{width:34px;height:34px;border:0;border-radius:8px;background:#1b2330;color:#fff;font-size:20px;cursor:pointer}
.ep-clip-gallery-top-actions>span{min-width:40px;text-align:center;font-size:11px;color:#aab4c4}
.ep-gallery-close{width:38px;height:38px;border:0;background:transparent;color:#fff;font-size:30px;line-height:1;cursor:pointer;border-radius:8px}
.ep-gallery-close:hover,.ep-gallery-tool:hover{background:#293241}
.ep-clip-gallery-stage{position:relative;min-height:0;display:flex;align-items:center;justify-content:center;background:radial-gradient(circle at center,#1b2330 0,#0a0d12 48%,#030406 100%);overflow:hidden}
.ep-clip-gallery-viewport{position:relative;width:100%;height:100%;display:flex;align-items:center;justify-content:center;overflow:hidden;touch-action:none;overscroll-behavior:contain}
.ep-clip-gallery-image-wrap{position:relative;width:100%;height:100%;display:flex;align-items:center;justify-content:center}
.ep-clip-gallery-image{display:block;max-width:none;max-height:none;object-fit:contain;box-shadow:0 16px 60px rgba(0,0,0,.45);user-select:none;-webkit-user-drag:none;transform-origin:center center;will-change:transform}
.ep-gallery-arrow{position:absolute;z-index:5;top:50%;transform:translateY(-50%);width:48px;height:72px;border:1px solid rgba(255,255,255,.12);background:rgba(17,24,39,.72);color:#fff;font-size:46px;line-height:1;border-radius:10px;cursor:pointer;backdrop-filter:blur(5px)}
.ep-gallery-arrow:hover{background:rgba(17,24,39,.92)}
.ep-gallery-arrow:disabled{opacity:.22;cursor:default}
.ep-gallery-prev{left:16px}.ep-gallery-next{right:16px}
.ep-clip-gallery-bottombar{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:11px 18px;background:#0d1118;border-top:1px solid rgba(255,255,255,.08)}
.ep-gallery-story{min-width:0;display:flex;flex-direction:column;gap:2px}
.ep-gallery-story .ep-clip-kicker{color:#c9a227;font-size:9px;letter-spacing:.09em}
.ep-gallery-story strong{font-size:15px;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ep-gallery-story span:last-child{font-size:11px;color:#8f9bad}
.ep-gallery-actions{display:flex;gap:7px;flex:none}
.ep-gallery-actions .ep-btn{font-size:12px;padding:8px 11px}
.ep-gallery-hint{text-align:center;padding:5px 10px 7px;background:#080b10;color:#667085;font-size:10px}
.ep-clip-gallery-loading,.ep-clip-gallery-empty,.ep-clip-gallery-error{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;text-align:center;color:#cbd5e1;padding:30px}
.ep-clip-gallery-loading strong,.ep-clip-gallery-empty strong,.ep-clip-gallery-error strong{font-size:15px;color:#fff}
.ep-clip-gallery-loading small,.ep-clip-gallery-empty span,.ep-clip-gallery-error span{font-size:11px;color:#8490a3}
.ep-spinner{display:inline-block;width:25px;height:25px;border:3px solid rgba(255,255,255,.2);border-top-color:#c9a227;border-radius:50%;animation:epSpin .75s linear infinite}
@keyframes epSpin{to{transform:rotate(360deg)}}
body.ep-gallery-open{overflow:hidden}
@media(min-width:981px){
  .ep-quick-clips-toggle{display:inline-flex;margin-left:0}
}
@media(max-width:980px){
  .ep-header-inner{gap:9px}
  .ep-quick-clips-toggle{display:inline-flex}
  .ep-mobile-menu-toggle{margin-left:0}
}
@media(max-width:620px){
  .ep-quick-clips-toggle{padding:8px 9px}
  .ep-quick-clips-toggle>span:last-child{display:none}
  .ep-quick-clips-icon{transform:scale(1.15)}
  .ep-clip-gallery-topbar{height:56px;grid-template-columns:55px minmax(0,1fr) 142px;padding:6px 8px;gap:5px}
  .ep-clip-gallery-counter strong{font-size:17px}
  .ep-clip-gallery-title strong{font-size:11px}
  .ep-gallery-tool{width:30px;height:30px;font-size:18px}
  .ep-gallery-close{width:32px;height:32px;font-size:27px}
  .ep-clip-gallery-stage{min-height:0}
  .ep-gallery-arrow{width:38px;height:58px;font-size:38px;background:rgba(17,24,39,.55)}
  .ep-gallery-prev{left:5px}.ep-gallery-next{right:5px}
  .ep-clip-gallery-bottombar{padding:9px 10px;gap:8px}
  .ep-gallery-story strong{font-size:12px}
  .ep-gallery-story span:last-child{font-size:9px}
  .ep-gallery-actions .ep-btn{padding:7px 8px;font-size:10px}
  .ep-gallery-hint{font-size:9px}
  .ep-edition-info-actions{justify-content:flex-start}
  .ep-btn-clip-issue{margin-top:3px}
}

/* V6.9.15: mobile gallery controls, fast icon styling and safe-area support */
.ep-clip-gallery-back-group{display:flex;align-items:center;gap:8px;min-width:0}
.ep-gallery-back{display:inline-flex;align-items:center;gap:3px;border:1px solid rgba(255,255,255,.12);background:#151b24;color:#fff;border-radius:8px;height:36px;padding:0 8px;cursor:pointer;white-space:nowrap}
.ep-gallery-back span{font-size:24px;line-height:1;margin-top:-2px}
.ep-gallery-back b{font-size:11px;font-weight:700}
.ep-quick-clips-icon{width:18px;height:18px;display:grid;place-items:center;padding:0;overflow:hidden}
.ep-quick-clips-icon img{display:block;width:18px;height:18px;object-fit:contain;border-radius:3px}
.ep-quick-clips-symbol{display:block;font-size:18px;line-height:18px;color:#fff;font-family:system-ui,sans-serif}
.ep-clip-gallery-topbar{padding-top:max(8px,env(safe-area-inset-top));min-height:64px;height:auto}
.ep-gallery-close{position:relative;z-index:20;flex:none}
.ep-clip-gallery-modal{padding:0!important}

@media(max-width:620px){
  .ep-clip-gallery-shell{min-height:100svh;height:100svh}
  .ep-clip-gallery-topbar{
    min-height:68px;
    grid-template-columns:minmax(62px,76px) minmax(0,1fr) minmax(118px,128px);
    padding:calc(env(safe-area-inset-top) + 7px) 7px 7px;
    gap:4px;
  }
  .ep-clip-gallery-back-group{gap:4px}
  .ep-gallery-back{height:34px;padding:0 6px}
  .ep-gallery-back b{display:none}
  .ep-gallery-back span{font-size:26px}
  .ep-clip-gallery-counter{gap:3px;font-size:11px}
  .ep-clip-gallery-counter strong{font-size:16px}
  .ep-clip-gallery-title .ep-section-kicker{font-size:7px}
  .ep-clip-gallery-title strong{font-size:10px}
  .ep-clip-gallery-top-actions{gap:3px}
  .ep-gallery-tool{width:28px;height:30px;font-size:17px;border-radius:7px}
  .ep-clip-gallery-top-actions>span{min-width:31px;font-size:9px}
  .ep-gallery-close{
    position:fixed;
    top:calc(env(safe-area-inset-top) + 8px);
    right:8px;
    width:40px;
    height:40px;
    border-radius:10px;
    background:rgba(17,24,39,.94);
    border:1px solid rgba(255,255,255,.18);
    box-shadow:0 4px 16px rgba(0,0,0,.35);
    font-size:29px;
  }
  .ep-clip-gallery-stage{min-height:0}
  .ep-gallery-arrow{width:36px;height:56px;font-size:36px}
  .ep-gallery-prev{left:4px}.ep-gallery-next{right:4px}
  .ep-clip-gallery-bottombar{padding:8px 9px;gap:6px}
  .ep-gallery-story{max-width:62%}
  .ep-gallery-story strong{font-size:11px}
  .ep-gallery-story span:last-child{font-size:8px}
  .ep-gallery-actions{gap:4px}
  .ep-gallery-actions .ep-btn{padding:6px 7px;font-size:9px}
  .ep-gallery-hint{padding-bottom:max(6px,env(safe-area-inset-bottom));font-size:8px}
  .ep-quick-clips-toggle{min-width:38px;padding:8px 8px}
}


/* V6.9.16: responsive Read Clips header button and mobile gallery controls */
.ep-quick-clips-toggle{min-height:40px;padding:8px 11px;gap:7px}
.ep-quick-clips-label{display:inline-block;font-size:12px;font-weight:800;white-space:nowrap;line-height:1}
.ep-quick-clips-icon{width:26px;height:26px;min-width:26px;display:grid;grid-template-columns:1fr;grid-template-rows:1fr;gap:0;place-items:center;overflow:hidden;flex:none}
.ep-quick-clips-icon img{grid-column:1/-1;grid-row:1/-1;width:auto!important;height:auto!important;max-width:26px;max-height:26px;min-width:0;min-height:0;object-fit:contain;border-radius:4px;display:block}
.ep-quick-clips-symbol{font-size:22px;line-height:1}
.ep-clip-button-icon{display:inline-grid;place-items:center;width:18px;height:18px;min-width:18px;overflow:hidden;line-height:1}
.ep-clip-button-icon img{grid-column:1/-1;grid-row:1/-1;max-width:18px;max-height:18px;width:auto;height:auto;object-fit:contain;border-radius:3px;display:block}
.ep-clip-button-icon i{width:3px;height:3px;background:currentColor;border-radius:1px;display:block}
.ep-clip-button-icon{grid-template-columns:repeat(3,3px);grid-auto-rows:3px;gap:1.5px}
.ep-clip-button-label{white-space:nowrap}
.ep-btn-clip-issue{display:inline-flex!important;align-items:center;justify-content:center;gap:5px}
.ep-btn-clip-issue b{font-size:10px!important;margin-left:1px}

@media(max-width:620px){
  .ep-header-inner{gap:7px}
  .ep-quick-clips-toggle{min-width:94px;max-width:108px;padding:8px 9px;gap:5px;border-radius:10px}
  .ep-quick-clips-label{font-size:10px}
  .ep-quick-clips-icon{width:23px;height:23px;min-width:23px;grid-template-columns:1fr;grid-template-rows:1fr;gap:0}
  .ep-quick-clips-icon img{max-width:23px;max-height:23px;grid-column:1/-1;grid-row:1/-1}

  /* Gallery: two clean rows. Back stays at far left, close never overlaps +/−. */
  .ep-clip-gallery-topbar{
    min-height:104px!important;
    height:auto!important;
    grid-template-columns:78px minmax(0,1fr) 42px!important;
    grid-template-rows:44px 38px!important;
    grid-template-areas:"back title close" "zoomout zoomlevel zoomin"!important;
    padding:calc(env(safe-area-inset-top) + 6px) 7px 7px!important;
    gap:5px!important;
    align-items:center!important;
  }
  .ep-clip-gallery-back-group{grid-area:back!important;min-width:0!important;gap:4px!important}
  .ep-gallery-back{height:36px!important;min-width:54px!important;padding:0 8px!important;gap:4px!important}
  .ep-gallery-back b{display:inline!important;font-size:10px!important}
  .ep-gallery-back span{font-size:23px!important}
  .ep-clip-gallery-counter{font-size:10px!important;gap:2px!important;white-space:nowrap}
  .ep-clip-gallery-counter strong{font-size:15px!important}
  .ep-clip-gallery-title{grid-area:title!important;min-width:0!important;text-align:center!important;padding:0 3px}
  .ep-clip-gallery-title .ep-section-kicker{font-size:7px!important}
  .ep-clip-gallery-title strong{font-size:10px!important}
  .ep-clip-gallery-top-actions{display:contents!important}
  .ep-clip-gallery-top-actions .ep-gallery-tool:first-child{grid-area:zoomout!important;width:34px!important;height:32px!important;justify-self:end!important}
  .ep-clip-gallery-top-actions>span{grid-area:zoomlevel!important;min-width:0!important;font-size:9px!important;text-align:center!important}
  .ep-clip-gallery-top-actions .ep-gallery-tool:nth-child(3){grid-area:zoomin!important;width:34px!important;height:32px!important;justify-self:start!important}
  .ep-gallery-close{grid-area:close!important;position:static!important;width:38px!important;height:38px!important;border-radius:9px!important;background:rgba(17,24,39,.96)!important;border:1px solid rgba(255,255,255,.18)!important;font-size:28px!important;justify-self:end!important;box-shadow:0 4px 14px rgba(0,0,0,.3)}
  .ep-gallery-close:hover,.ep-gallery-tool:hover{background:#293241!important}
  .ep-clip-gallery-stage{min-height:0!important}
  .ep-clip-gallery-bottombar{padding:8px 8px!important;gap:6px!important}
  .ep-gallery-story{max-width:60%!important}
  .ep-gallery-actions .ep-btn{padding:7px 8px!important;font-size:9px!important}
  .ep-gallery-hint{font-size:8px!important}
}

@media(max-width:390px){
  .ep-quick-clips-toggle{min-width:88px;max-width:96px;padding-inline:7px}
  .ep-quick-clips-label{font-size:9px}
  .ep-quick-clips-icon{width:21px;height:21px;min-width:21px;grid-template-columns:1fr;grid-template-rows:1fr;gap:0}
  .ep-quick-clips-icon img{max-width:21px;max-height:21px;grid-column:1/-1;grid-row:1/-1}
  .ep-clip-gallery-topbar{grid-template-columns:70px minmax(0,1fr) 40px!important;grid-template-rows:43px 36px!important;min-height:102px!important}
  .ep-gallery-back{min-width:50px!important;padding-inline:6px!important}
  .ep-gallery-back b{font-size:9px!important}
  .ep-clip-gallery-counter{display:none!important}
}


/* V6.9.17: mobile clip carousel + robust header icon/image placement */
.ep-quick-clips-toggle{flex:0 0 auto;white-space:nowrap;}
.ep-quick-clips-label{order:1;display:inline-block!important;visibility:visible!important;opacity:1!important;}
.ep-quick-clips-icon{order:2;display:grid!important;visibility:visible!important;opacity:1!important;flex:0 0 auto;}
.ep-quick-clips-icon img{display:block!important;visibility:visible!important;opacity:1!important;width:auto!important;height:auto!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;}
.ep-quick-clips-symbol{display:block!important;visibility:visible!important;}
.ep-clip-gallery-mobile-thumbs{display:none;align-items:center;gap:5px;overflow-x:auto;overflow-y:hidden;padding:5px 8px 6px;background:#080b10;border-bottom:1px solid rgba(255,255,255,.07);scrollbar-width:none;overscroll-behavior-x:contain;scroll-snap-type:x proximity;}
.ep-clip-gallery-mobile-thumbs::-webkit-scrollbar{display:none}
.ep-gallery-thumb{position:relative;flex:0 0 48px;width:48px;height:38px;padding:2px;border:1px solid rgba(255,255,255,.13);border-radius:6px;background:#151b24;overflow:hidden;scroll-snap-align:center;cursor:pointer;box-shadow:none}
.ep-gallery-thumb img{display:block;width:100%;height:100%;object-fit:cover;background:#fff;border-radius:4px;}
.ep-gallery-thumb span{position:absolute;right:2px;bottom:2px;min-width:14px;height:14px;padding:0 2px;border-radius:7px;background:rgba(0,0,0,.78);color:#fff;font:700 8px/14px system-ui,sans-serif;text-align:center;}
.ep-gallery-thumb.is-active{border-color:#c9a227;box-shadow:0 0 0 1px #c9a227 inset;}
@media(max-width:620px){
  .ep-brand{flex:1 1 auto;min-width:0;overflow:hidden;}
  .ep-brand-logo-wrap{flex-basis:100px!important;width:100px!important;max-width:100px!important;}
  .ep-quick-clips-toggle{min-width:112px!important;max-width:118px!important;height:40px!important;padding:7px 8px!important;gap:5px!important;justify-content:center!important;}
  .ep-quick-clips-label{font-size:10px!important;line-height:1!important;}
  .ep-quick-clips-icon{width:24px!important;height:24px!important;min-width:24px!important;}
  .ep-quick-clips-icon img{max-width:24px!important;max-height:24px!important;}
  .ep-mobile-menu-toggle{flex:0 0 auto;min-width:98px;padding:8px 9px!important;}
  .ep-clip-gallery-mobile-thumbs{display:flex;min-height:50px;}
  .ep-clip-gallery-topbar{grid-template-rows:44px 36px!important;min-height:80px!important;}
}
@media(max-width:390px){
  .ep-brand-logo-wrap{flex-basis:92px!important;width:92px!important;max-width:92px!important;}
  .ep-quick-clips-toggle{min-width:106px!important;max-width:108px!important;padding-inline:7px!important;}
  .ep-quick-clips-label{font-size:9px!important;}
  .ep-quick-clips-icon{width:22px!important;height:22px!important;min-width:22px!important;}
  .ep-quick-clips-icon img{max-width:22px!important;max-height:22px!important;}
  .ep-mobile-menu-toggle{min-width:92px;padding-inline:7px!important;}
  .ep-gallery-thumb{flex-basis:44px;width:44px;height:35px;}
}


/* V6.9.18: make mobile clip viewer height independent of thumbnail count/aspect ratio */
@media(max-width:620px){
  .ep-clip-gallery-shell{
    grid-template-rows:auto auto minmax(0,1fr) auto auto!important;
    min-height:100svh!important;
    height:100svh!important;
  }
  .ep-clip-gallery-mobile-thumbs{
    grid-row:auto!important;
    min-height:50px!important;
    max-height:56px!important;
    height:50px!important;
    align-self:stretch!important;
  }
  .ep-clip-gallery-stage{
    min-height:0!important;
    height:auto!important;
    align-self:stretch!important;
  }
  .ep-clip-gallery-viewport,
  .ep-clip-gallery-image-wrap{
    width:100%!important;
    height:100%!important;
    min-height:0!important;
  }
  .ep-clip-gallery-image{
    max-width:calc(100vw - 28px)!important;
    max-height:calc(100% - 28px)!important;
    object-fit:contain!important;
    object-position:center center!important;
  }

  /* Keep the custom Read Clips image and label in one predictable row. */
  .ep-quick-clips-toggle{
    display:inline-flex!important;
    flex-direction:row!important;
    align-items:center!important;
    justify-content:center!important;
    flex-wrap:nowrap!important;
    overflow:hidden!important;
  }
  .ep-quick-clips-label{
    flex:0 1 auto!important;
    min-width:0!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  .ep-quick-clips-icon{
    flex:0 0 24px!important;
    width:24px!important;
    height:24px!important;
    min-width:24px!important;
    min-height:24px!important;
    overflow:hidden!important;
    place-items:center!important;
  }
  .ep-quick-clips-icon img{
    width:100%!important;
    height:100%!important;
    max-width:100%!important;
    max-height:100%!important;
    object-fit:contain!important;
    object-position:center center!important;
  }
}

@media(max-width:390px){
  .ep-clip-gallery-shell{
    grid-template-rows:auto auto minmax(0,1fr) auto auto!important;
  }
  .ep-clip-gallery-mobile-thumbs{
    height:48px!important;
    min-height:48px!important;
  }
  .ep-quick-clips-icon{
    flex-basis:22px!important;
    width:22px!important;
    height:22px!important;
    min-width:22px!important;
    min-height:22px!important;
  }
}

/* V6.9.19: Read Clips typography, color, icon and mobile rectangle controls */
.ep-clips-customized-button{
  --ep-clips-font-family:"Noto Sans Oriya",sans-serif;
  --ep-clips-font-size:14px;
  --ep-clips-font-weight:800;
  --ep-clips-text-color:#fff;
  --ep-clips-button-bg:#111827;
  --ep-clips-button-border:#111827;
  --ep-clips-button-radius:10px;
  --ep-clips-icon-bg:#1b2330;
  --ep-clips-icon-size:24px;
  --ep-clips-icon-position:right;
}
.ep-quick-clips-toggle.ep-clips-customized-button{
  font-family:var(--ep-clips-font-family)!important;
  font-size:var(--ep-clips-font-size)!important;
  font-weight:var(--ep-clips-font-weight)!important;
  color:var(--ep-clips-text-color)!important;
  background:var(--ep-clips-button-bg)!important;
  border:1px solid var(--ep-clips-button-border)!important;
  border-radius:var(--ep-clips-button-radius)!important;
  min-width:0!important;
  width:auto!important;
  max-width:none!important;
  box-sizing:border-box!important;
}
.ep-quick-clips-toggle.ep-clips-customized-button .ep-quick-clips-label{
  font-family:inherit!important;
  font-size:inherit!important;
  font-weight:inherit!important;
  color:inherit!important;
  line-height:1.1!important;
}
.ep-quick-clips-toggle.ep-clips-icon-left{flex-direction:row!important}
.ep-quick-clips-toggle.ep-clips-icon-right{flex-direction:row!important}
.ep-quick-clips-toggle .ep-quick-clips-icon{
  width:var(--ep-clips-icon-size)!important;
  height:var(--ep-clips-icon-size)!important;
  min-width:var(--ep-clips-icon-size)!important;
  min-height:var(--ep-clips-icon-size)!important;
  flex:0 0 var(--ep-clips-icon-size)!important;
  background:var(--ep-clips-icon-bg)!important;
  border-radius:max(4px,calc(var(--ep-clips-button-radius) - 3px))!important;
  padding:2px!important;
  box-sizing:border-box!important;
  place-items:center!important;
  overflow:hidden!important;
}
.ep-quick-clips-toggle .ep-quick-clips-icon img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  max-height:none!important;
  object-fit:contain!important;
  object-position:center!important;
  border-radius:3px!important;
}
.ep-quick-clips-toggle .ep-quick-clips-symbol{font-family:inherit!important;font-size:calc(var(--ep-clips-icon-size) - 3px)!important;line-height:1!important;color:var(--ep-clips-text-color)!important}
.ep-quick-clips-toggle.ep-clips-icon-left .ep-quick-clips-icon{order:1!important}
.ep-quick-clips-toggle.ep-clips-icon-left .ep-quick-clips-label{order:2!important}
.ep-quick-clips-toggle.ep-clips-icon-right .ep-quick-clips-label{order:1!important}
.ep-quick-clips-toggle.ep-clips-icon-right .ep-quick-clips-icon{order:2!important}
.ep-btn-clip-issue.ep-clips-customized-button{
  font-family:var(--ep-clips-font-family)!important;
  font-size:clamp(11px,var(--ep-clips-font-size),18px)!important;
  font-weight:var(--ep-clips-font-weight)!important;
  color:var(--ep-clips-text-color)!important;
  background:var(--ep-clips-button-bg)!important;
  border:1px solid var(--ep-clips-button-border)!important;
  border-radius:var(--ep-clips-button-radius)!important;
}
.ep-btn-clip-issue.ep-clips-customized-button .ep-clip-button-label{font:inherit!important;color:inherit!important}
.ep-btn-clip-issue.ep-clips-customized-button .ep-clip-button-icon{background:var(--ep-clips-icon-bg)!important;width:calc(var(--ep-clips-icon-size) - 4px)!important;height:calc(var(--ep-clips-icon-size) - 4px)!important;min-width:calc(var(--ep-clips-icon-size) - 4px)!important;min-height:calc(var(--ep-clips-icon-size) - 4px)!important;padding:2px!important;border-radius:5px!important;place-items:center!important;overflow:hidden!important}
.ep-btn-clip-issue.ep-clips-customized-button .ep-clip-button-icon img{width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;object-fit:contain!important}
.ep-clips-style-setting{margin-top:14px;padding:14px 16px;border:1px solid #e2e8f0;border-radius:12px;background:#f8fafc}
.ep-clips-style-setting>strong{display:block;font-size:14px;color:#172033}
.ep-clips-style-setting>p{margin:4px 0 12px;color:#667085;font-size:12px}
@media(max-width:620px){
  .ep-quick-clips-toggle.ep-clips-customized-button{
    flex:0 1 auto!important;
    min-width:112px!important;
    max-width:min(44vw,180px)!important;
    height:40px!important;
    padding:5px 8px!important;
    gap:6px!important;
    overflow:hidden!important;
  }
  .ep-quick-clips-toggle.ep-clips-customized-button .ep-quick-clips-label{
    min-width:0!important;
    max-width:100%!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  .ep-quick-clips-toggle.ep-clips-customized-button .ep-quick-clips-icon{
    flex-basis:var(--ep-clips-icon-size)!important;
  }
}
@media(max-width:390px){
  .ep-quick-clips-toggle.ep-clips-customized-button{min-width:104px!important;max-width:46vw!important;height:38px!important}
}


/* V6.9.20: clean, auto-sizing Read Clips control. Mobile uses content-driven sizing,
   a transparent icon frame by default, stronger focus/active states and collision-safe header layout. */
.ep-clips-customized-button{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:clamp(6px,.55em,10px)!important;
  box-sizing:border-box!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  vertical-align:middle!important;
  text-decoration:none!important;
  transition:background-color .16s ease,border-color .16s ease,box-shadow .16s ease,transform .12s ease!important;
}
.ep-clips-customized-button:focus-visible{
  outline:3px solid #c9a227!important;
  outline-offset:2px!important;
}
.ep-clips-customized-button:active{transform:translateY(1px) scale(.985)!important}
.ep-quick-clips-toggle.ep-clips-customized-button{
  width:max-content!important;
  max-width:clamp(120px,42vw,240px)!important;
  min-width:0!important;
  flex:0 1 auto!important;
  padding:8px 12px!important;
}
.ep-quick-clips-toggle.ep-clips-customized-button .ep-quick-clips-label{
  flex:0 1 auto!important;
  min-width:0!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}
.ep-quick-clips-toggle .ep-quick-clips-icon{
  background:var(--ep-clips-icon-bg)!important;
  border:0!important;
  border-radius:clamp(4px,calc(var(--ep-clips-button-radius) - 4px),12px)!important;
  padding:0!important;
  box-shadow:none!important;
  flex:0 0 auto!important;
  display:grid!important;
  place-items:center!important;
  overflow:hidden!important;
}
.ep-quick-clips-toggle .ep-quick-clips-icon.ep-quick-clips-icon-image{
  width:auto!important;height:var(--ep-clips-icon-size)!important;min-width:0!important;max-width:3.2em!important;
  aspect-ratio:auto!important;
}
.ep-quick-clips-toggle .ep-quick-clips-icon.ep-quick-clips-icon-image img{
  width:auto!important;height:auto!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;border-radius:inherit!important;
}
.ep-quick-clips-toggle .ep-quick-clips-icon.ep-quick-clips-icon-symbol,
.ep-quick-clips-toggle .ep-quick-clips-icon.ep-quick-clips-icon-grid{
  width:var(--ep-clips-icon-size)!important;height:var(--ep-clips-icon-size)!important;min-width:var(--ep-clips-icon-size)!important;
}
.ep-quick-clips-toggle .ep-quick-clips-symbol{font-weight:inherit!important;display:block!important;line-height:1!important}
.ep-btn-clip-issue.ep-clips-customized-button{
  width:max-content!important;
  min-width:0!important;
  max-width:100%!important;
  flex:0 1 auto!important;
  padding:7px 10px!important;
}
.ep-btn-clip-issue.ep-clips-customized-button .ep-clip-button-label{min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
.ep-btn-clip-issue.ep-clips-customized-button .ep-clip-button-icon,
.ep-reader-read-clips-button .ep-clip-button-icon{
  background:var(--ep-clips-icon-bg)!important;
  border:0!important;
  box-shadow:none!important;
  display:grid!important;
  place-items:center!important;
  flex:0 0 auto!important;
  overflow:hidden!important;
  color:var(--ep-clips-text-color)!important;
}
.ep-btn-clip-issue.ep-clips-customized-button .ep-clip-button-icon-image,
.ep-reader-read-clips-button .ep-clip-button-icon-image{
  width:auto!important;height:1.55em!important;min-width:0!important;max-width:3.2em!important;aspect-ratio:auto!important;
}
.ep-btn-clip-issue.ep-clips-customized-button .ep-clip-button-icon-image img,
.ep-reader-read-clips-button .ep-clip-button-icon-image img{
  width:auto!important;height:auto!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;border-radius:inherit!important;
}
.ep-reader-read-clips-button{width:max-content!important;min-width:0!important;max-width:100%!important}
.ep-reader-read-clips-button .ep-clip-button-label{flex:0 1 auto!important;min-width:0!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.ep-reader-read-clips-button .ep-clip-button-icon-symbol,
.ep-reader-read-clips-button .ep-clip-button-icon-grid{width:1.55em!important;height:1.55em!important;min-width:1.55em!important;font-size:1em!important}
.ep-reader-read-clips-button .ep-clip-button-icon-symbol{font-weight:inherit!important}
.ep-reader-read-clips-button .ep-clip-button-icon-grid{grid-template-columns:repeat(3,.3em)!important;grid-auto-rows:.3em!important;gap:.08em!important}
.ep-reader-read-clips-button .ep-clip-button-icon-grid i{width:.3em!important;height:.3em!important;background:currentColor!important;border-radius:.08em!important}

@media(max-width:980px){
  .ep-header-inner{min-width:0!important;flex-wrap:nowrap!important;gap:clamp(6px,1.6vw,12px)!important}
  .ep-brand{flex:1 1 auto!important;min-width:0!important;max-width:none!important;overflow:hidden!important}
  .ep-mobile-menu-toggle{flex:0 0 auto!important;white-space:nowrap!important;min-width:0!important}
  .ep-quick-clips-toggle.ep-clips-customized-button{margin-left:0!important}
}
@media(max-width:620px){
  .ep-quick-clips-toggle.ep-clips-customized-button{
    min-width:0!important;
    width:max-content!important;
    max-width:calc(49vw - 8px)!important;
    min-height:42px!important;
    height:auto!important;
    padding:7px clamp(9px,2.2vw,13px)!important;
    gap:clamp(5px,1.6vw,8px)!important;
    border-radius:clamp(8px,var(--ep-clips-button-radius),16px)!important;
  }
  .ep-quick-clips-toggle.ep-clips-customized-button .ep-quick-clips-label{
    font-size:var(--ep-clips-mobile-font-size)!important;
    line-height:1.05!important;
    font-weight:var(--ep-clips-font-weight)!important;
    min-width:0!important;
    max-width:100%!important;
  }
  .ep-quick-clips-toggle .ep-quick-clips-icon.ep-quick-clips-icon-symbol,
  .ep-quick-clips-toggle .ep-quick-clips-icon.ep-quick-clips-icon-grid{
    width:var(--ep-clips-mobile-icon-size)!important;height:var(--ep-clips-mobile-icon-size)!important;min-width:var(--ep-clips-mobile-icon-size)!important;
  }
  .ep-quick-clips-toggle .ep-quick-clips-icon.ep-quick-clips-icon-image{
    height:var(--ep-clips-mobile-icon-size)!important;max-width:min(26vw,84px)!important;
  }
  .ep-quick-clips-toggle .ep-quick-clips-symbol{font-size:calc(var(--ep-clips-mobile-icon-size) * .72)!important}
  .ep-header-inner .ep-mobile-menu-toggle{min-height:42px!important;padding:8px 11px!important}
  .ep-btn-clip-issue.ep-clips-customized-button,
  .ep-reader-read-clips-button{font-size:var(--ep-clips-mobile-font-size)!important;max-width:100%!important}
}
@media(max-width:390px){
  .ep-quick-clips-toggle.ep-clips-customized-button{max-width:calc(50vw - 10px)!important;padding-inline:8px!important}
  .ep-header-inner{gap:5px!important}
}

/* V6.9.21: prevent Odia glyph descender clipping on mobile Read Clips controls. */
.ep-clips-customized-button .ep-quick-clips-label,
.ep-clips-customized-button .ep-clip-button-label{
  line-height:1.28!important;
  overflow:visible!important;
  text-overflow:clip!important;
  padding-top:.04em!important;
  padding-bottom:.12em!important;
  box-sizing:border-box!important;
}
@media(max-width:620px){
  .ep-quick-clips-toggle.ep-clips-customized-button{
    align-items:flex-start!important;
    min-height:46px!important;
    padding-top:8px!important;
    padding-bottom:8px!important;
  }
  .ep-quick-clips-toggle.ep-clips-customized-button .ep-quick-clips-label{
    align-self:flex-start!important;
    line-height:1.32!important;
    padding-top:.02em!important;
    padding-bottom:.16em!important;
    margin-top:0!important;
    white-space:nowrap!important;
    overflow:visible!important;
    text-overflow:clip!important;
  }
  .ep-quick-clips-toggle.ep-clips-customized-button .ep-quick-clips-icon{
    align-self:center!important;
  }
  .ep-btn-clip-issue.ep-clips-customized-button,
  .ep-reader-read-clips-button{
    align-items:flex-start!important;
  }
  .ep-btn-clip-issue.ep-clips-customized-button .ep-clip-button-label,
  .ep-reader-read-clips-button .ep-clip-button-label{
    align-self:flex-start!important;
    line-height:1.32!important;
    padding-top:.02em!important;
    padding-bottom:.16em!important;
    overflow:visible!important;
    text-overflow:clip!important;
  }
}


/* V6.9.22: definitive mobile Odia glyph-safe Read Clips layout.
   Uses the real supplied Odia bold face, content-driven height, visible overflow on the
   outer button, and generous vertical line box so conjuncts/diacritics never get clipped. */
.ep-clips-customized-button,
.ep-clips-customized-button .ep-quick-clips-label,
.ep-clips-customized-button .ep-clip-button-label{
  -webkit-font-smoothing:antialiased!important;
  text-rendering:geometricPrecision!important;
  font-synthesis:none!important;
}
.ep-clips-customized-button .ep-quick-clips-label,
.ep-clips-customized-button .ep-clip-button-label{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  line-height:1.5!important;
  height:auto!important;
  min-height:1.5em!important;
  padding:3px 0 6px!important;
  margin:0!important;
  box-sizing:content-box!important;
  overflow:visible!important;
  text-overflow:clip!important;
  white-space:nowrap!important;
  transform:none!important;
}
.ep-clips-customized-button{
  height:auto!important;
  min-height:48px!important;
  padding:7px 12px 8px!important;
  overflow:visible!important;
  align-items:center!important;
  line-height:normal!important;
}
.ep-clips-customized-button .ep-quick-clips-icon,
.ep-clips-customized-button .ep-clip-button-icon{
  flex:0 0 auto!important;
  align-self:center!important;
}
@media(max-width:620px){
  .ep-quick-clips-toggle.ep-clips-customized-button{
    min-height:48px!important;
    height:auto!important;
    max-height:none!important;
    padding:6px 10px 9px!important;
    overflow:visible!important;
    align-items:center!important;
    line-height:normal!important;
    max-width:calc(100vw - 150px)!important;
  }
  .ep-quick-clips-toggle.ep-clips-customized-button .ep-quick-clips-label{
    flex:0 1 auto!important;
    min-width:0!important;
    max-width:none!important;
    line-height:1.5!important;
    min-height:1.5em!important;
    padding:3px 0 6px!important;
    overflow:visible!important;
    white-space:nowrap!important;
    text-overflow:clip!important;
  }
  .ep-quick-clips-toggle.ep-clips-customized-button .ep-quick-clips-icon{
    align-self:center!important;
  }
  .ep-btn-clip-issue.ep-clips-customized-button,
  .ep-reader-read-clips-button{
    min-height:46px!important;
    height:auto!important;
    padding:6px 10px 8px!important;
    overflow:visible!important;
    align-items:center!important;
    line-height:normal!important;
  }
  .ep-btn-clip-issue.ep-clips-customized-button .ep-clip-button-label,
  .ep-reader-read-clips-button .ep-clip-button-label{
    line-height:1.5!important;
    min-height:1.5em!important;
    padding:3px 0 6px!important;
    overflow:visible!important;
    white-space:nowrap!important;
    text-overflow:clip!important;
  }
}
@media(max-width:390px){
  .ep-quick-clips-toggle.ep-clips-customized-button{
    min-height:47px!important;
    padding-inline:8px!important;
    max-width:calc(100vw - 138px)!important;
  }
  .ep-btn-clip-issue.ep-clips-customized-button,
  .ep-reader-read-clips-button{min-height:45px!important}
}


/* V6.9.22 patch: extra-safe Odia text box for Android/WebView rendering.
   Do not force the glyph into a short 40px line. The text gets its own measured line box,
   with overflow allowed and more vertical room than the font metrics require. */
.ep-quick-clips-toggle.ep-clips-customized-button .ep-quick-clips-label,
.ep-btn-clip-issue.ep-clips-customized-button .ep-clip-button-label,
.ep-reader-read-clips-button .ep-clip-button-label{
  font-family:var(--ep-clips-font-family)!important;
  font-weight:var(--ep-clips-font-weight)!important;
  font-size:var(--ep-clips-font-size)!important;
  line-height:1.72!important;
  min-height:1.72em!important;
  height:auto!important;
  padding:4px 0 8px!important;
  margin:0!important;
  overflow:visible!important;
  clip:unset!important;
  clip-path:none!important;
  vertical-align:top!important;
  position:relative!important;
  z-index:1!important;
}
.ep-quick-clips-toggle.ep-clips-customized-button,
.ep-btn-clip-issue.ep-clips-customized-button,
.ep-reader-read-clips-button{
  overflow:visible!important;
  clip:unset!important;
  clip-path:none!important;
  height:auto!important;
  min-height:52px!important;
  line-height:normal!important;
  padding:6px 12px 10px!important;
}
@media(max-width:620px){
  .ep-quick-clips-toggle.ep-clips-customized-button{
    min-height:52px!important;
    height:auto!important;
    padding:5px 10px 10px!important;
    max-height:none!important;
    align-items:center!important;
  }
  .ep-quick-clips-toggle.ep-clips-customized-button .ep-quick-clips-label{
    font-size:var(--ep-clips-mobile-font-size)!important;
    line-height:1.72!important;
    min-height:1.72em!important;
    padding:4px 0 8px!important;
    align-self:center!important;
  }
  .ep-btn-clip-issue.ep-clips-customized-button,
  .ep-reader-read-clips-button{
    min-height:50px!important;
    height:auto!important;
    padding:5px 10px 9px!important;
  }
  .ep-btn-clip-issue.ep-clips-customized-button .ep-clip-button-label,
  .ep-reader-read-clips-button .ep-clip-button-label{
    font-size:var(--ep-clips-mobile-font-size)!important;
    line-height:1.72!important;
    min-height:1.72em!important;
    padding:4px 0 8px!important;
    align-self:center!important;
  }
}
@media(max-width:390px){
  .ep-quick-clips-toggle.ep-clips-customized-button{min-height:51px!important;padding-inline:8px!important}
  .ep-btn-clip-issue.ep-clips-customized-button,
  .ep-reader-read-clips-button{min-height:49px!important}
}


/* V6.9.24: mobile header Clips button now follows the same visual language as Menu.
   This also avoids Android clipping of Odia text by using the header's system font stack
   and a roomy, content-sized line box. Custom desktop styling remains available. */
@media(max-width:620px){
  .ep-header-inner .ep-quick-clips-toggle.ep-clips-customized-button{
    font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans Oriya",sans-serif!important;
    font-weight:700!important;
    font-synthesis:weight style!important;
    text-rendering:auto!important;
    -webkit-font-smoothing:antialiased!important;
    min-height:42px!important;
    height:auto!important;
    width:max-content!important;
    max-width:46vw!important;
    padding:8px 11px!important;
    gap:7px!important;
    border-radius:9px!important;
    overflow:visible!important;
    align-items:center!important;
    justify-content:center!important;
    flex:0 1 auto!important;
    box-shadow:none!important;
  }
  .ep-header-inner .ep-quick-clips-toggle.ep-clips-customized-button .ep-quick-clips-label{
    font-family:inherit!important;
    font-size:clamp(13px,var(--ep-clips-mobile-font-size),18px)!important;
    font-weight:700!important;
    line-height:1.2!important;
    min-height:0!important;
    height:auto!important;
    padding:4px 0 6px!important;
    margin:0!important;
    overflow:visible!important;
    text-overflow:clip!important;
    white-space:nowrap!important;
    display:block!important;
    align-self:center!important;
    flex:0 1 auto!important;
  }
  .ep-header-inner .ep-quick-clips-toggle.ep-clips-customized-button .ep-quick-clips-icon{
    background:transparent!important;
    border:0!important;
    box-shadow:none!important;
    border-radius:0!important;
    padding:0!important;
    margin:0!important;
    width:24px!important;
    height:24px!important;
    min-width:24px!important;
    min-height:24px!important;
    align-self:center!important;
    display:grid!important;
    place-items:center!important;
    overflow:visible!important;
  }
  .ep-header-inner .ep-quick-clips-toggle.ep-clips-customized-button .ep-quick-clips-icon img{
    display:block!important;
    width:auto!important;
    height:auto!important;
    max-width:24px!important;
    max-height:24px!important;
    object-fit:contain!important;
    border-radius:0!important;
  }
  .ep-header-inner .ep-quick-clips-toggle.ep-clips-customized-button .ep-quick-clips-symbol{
    display:block!important;
    font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans Oriya",sans-serif!important;
    font-size:21px!important;
    line-height:1!important;
    font-weight:700!important;
    color:currentColor!important;
  }
  .ep-header-inner .ep-quick-clips-toggle.ep-clips-customized-button .ep-quick-clips-icon i{
    background:currentColor!important;
  }
  .ep-header-inner .ep-quick-clips-toggle.ep-clips-customized-button[style*="--ep-clips-mobile-match-menu:1"]{
    background:#111827!important;
    border-color:#111827!important;
    color:#fff!important;
  }
  .ep-header-inner .ep-quick-clips-toggle.ep-clips-customized-button[style*="--ep-clips-mobile-match-menu:1"] .ep-quick-clips-label{
    color:#fff!important;
  }
}
@media(max-width:390px){
  .ep-header-inner .ep-quick-clips-toggle.ep-clips-customized-button{
    max-width:45vw!important;
    padding:8px 9px!important;
    gap:6px!important;
  }
  .ep-header-inner .ep-quick-clips-toggle.ep-clips-customized-button .ep-quick-clips-label{
    font-size:14px!important;
  }
  .ep-header-inner .ep-quick-clips-toggle.ep-clips-customized-button .ep-quick-clips-icon{
    width:22px!important;
    height:22px!important;
    min-width:22px!important;
    min-height:22px!important;
  }
}


/* V6.9.24: Clips button = same compact mobile Menu treatment. Icon is always left; No Icon is text-only. */
.ep-header-inner .ep-quick-clips-toggle.ep-clips-customized-button{
  display:inline-flex!important;
  flex:0 0 auto!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:center!important;
  gap:7px!important;
  min-width:98px!important;
  width:98px!important;
  max-width:98px!important;
  min-height:42px!important;
  height:42px!important;
  padding:9px 11px!important;
  margin-left:0!important;
  border:0!important;
  border-radius:9px!important;
  background:#111827!important;
  color:#fff!important;
  box-shadow:none!important;
  overflow:visible!important;
  font:700 13px/1 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
  white-space:nowrap!important;
}
.ep-header-inner .ep-quick-clips-toggle.ep-clips-customized-button .ep-quick-clips-icon{
  order:1!important;
  width:18px!important;
  height:18px!important;
  min-width:18px!important;
  min-height:18px!important;
  flex:0 0 18px!important;
  background:transparent!important;
  border:0!important;
  padding:0!important;
  margin:0!important;
  border-radius:0!important;
  display:grid!important;
  place-items:center!important;
  overflow:visible!important;
}
.ep-header-inner .ep-quick-clips-toggle.ep-clips-customized-button .ep-quick-clips-icon img{
  width:18px!important;height:18px!important;max-width:18px!important;max-height:18px!important;object-fit:contain!important;border-radius:0!important;
}
.ep-header-inner .ep-quick-clips-toggle.ep-clips-customized-button .ep-quick-clips-symbol{font-size:18px!important;line-height:1!important;color:#fff!important;font-weight:700!important}
.ep-header-inner .ep-quick-clips-toggle.ep-clips-customized-button .ep-quick-clips-icon i{width:3px!important;height:3px!important;background:#fff!important;border-radius:1px!important}
.ep-header-inner .ep-quick-clips-toggle.ep-clips-customized-button .ep-quick-clips-label{
  order:2!important;
  display:block!important;
  flex:1 1 auto!important;
  min-width:0!important;
  max-width:100%!important;
  margin:0!important;
  padding:0!important;
  color:#fff!important;
  font:700 13px/1 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  text-align:center!important;
}
/* With no icon, center the label exactly like the Menu label. */
.ep-header-inner .ep-quick-clips-toggle.ep-clips-customized-button .ep-quick-clips-label:only-child{flex:1 1 100%!important}

/* All issue/reader Read Clips buttons keep the same left-icon ordering. */
.ep-btn-clip-issue.ep-clips-customized-button,
.ep-reader-read-clips-button.ep-clips-customized-button{
  flex-direction:row!important;
}
.ep-btn-clip-issue.ep-clips-customized-button .ep-clip-button-icon,
.ep-reader-read-clips-button.ep-clips-customized-button .ep-clip-button-icon{
  order:1!important;
  background:transparent!important;
}
.ep-btn-clip-issue.ep-clips-customized-button .ep-clip-button-label,
.ep-reader-read-clips-button.ep-clips-customized-button .ep-clip-button-label{order:2!important}

@media(max-width:620px){
  .ep-header-inner .ep-quick-clips-toggle.ep-clips-customized-button,
  .ep-header-inner .ep-mobile-menu-toggle{
    width:98px!important;
    min-width:98px!important;
    max-width:98px!important;
    height:42px!important;
    min-height:42px!important;
    padding:9px 11px!important;
    border-radius:9px!important;
    gap:7px!important;
  }
  .ep-header-inner .ep-quick-clips-toggle.ep-clips-customized-button .ep-quick-clips-label{
    font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
    font-size:13px!important;
    font-weight:700!important;
    line-height:1!important;
    padding:0!important;
  }
  .ep-header-inner .ep-quick-clips-toggle.ep-clips-customized-button .ep-quick-clips-icon{width:18px!important;height:18px!important;min-width:18px!important;min-height:18px!important}
}
@media(max-width:390px){
  .ep-header-inner .ep-quick-clips-toggle.ep-clips-customized-button,
  .ep-header-inner .ep-mobile-menu-toggle{
    width:92px!important;
    min-width:92px!important;
    max-width:92px!important;
    padding-inline:8px!important;
  }
  .ep-header-inner .ep-quick-clips-toggle.ep-clips-customized-button .ep-quick-clips-label{font-size:12px!important}
}

/* Backend: keep advanced appearance controls available but collapsed; primary choices are Text + Icon. */
.ep-clips-style-setting{margin-top:10px}
.ep-clips-style-setting>strong:before{content:"Advanced styling (optional)"}
.ep-clips-style-setting>strong{font-size:0}
.ep-clips-style-setting>strong:before{font-size:13px}

/* V6.9.30: keep Read Clips text optically centered in the exact button rectangle.
   The icon is anchored to the left edge so it does not shift the label center. */
.ep-header .ep-clips-header-button{
  position:relative!important;
  justify-content:center!important;
  align-items:center!important;
  padding:8px 11px!important;
}
.ep-header .ep-clips-header-button .ep-quick-clips-icon{
  position:absolute!important;
  left:11px!important;
  top:50%!important;
  transform:translateY(-50%)!important;
  margin:0!important;
  z-index:2!important;
}
.ep-header .ep-clips-header-button .ep-quick-clips-label{
  position:relative!important;
  left:auto!important;
  flex:0 0 auto!important;
  width:100%!important;
  max-width:100%!important;
  padding:0 20px 0 24px!important;
  margin:0!important;
  text-align:center!important;
  box-sizing:border-box!important;
  z-index:1!important;
}
.ep-header .ep-clips-header-button .ep-quick-clips-label:only-child{
  padding-inline:0!important;
}
@media(max-width:620px){
  .ep-header .ep-clips-header-button .ep-quick-clips-icon{left:10px!important}
  .ep-header .ep-clips-header-button .ep-quick-clips-label{padding-left:22px!important;padding-right:18px!important}
}

/* V6.9.25 FINAL HEADER ACTION NORMALIZATION
   Read Clips is deliberately built on the same geometry as the main Menu action.
   The two controls share width/height/padding/radius/typography so they remain
   visually identical on phones. The Clips icon is always on the LEFT. */
.ep-header .ep-header-action-button{
  box-sizing:border-box!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex:0 0 98px!important;
  width:98px!important;
  min-width:98px!important;
  max-width:98px!important;
  height:42px!important;
  min-height:42px!important;
  max-height:42px!important;
  margin:0!important;
  padding:8px 11px!important;
  border:0!important;
  border-radius:9px!important;
  background:#111827!important;
  color:#fff!important;
  box-shadow:none!important;
  font:700 13px/1 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
  white-space:nowrap!important;
}
.ep-header .ep-clips-header-button{
  background:var(--ep-clips-button-bg,#111827)!important;
  border-color:var(--ep-clips-button-border,var(--ep-clips-button-bg,#111827))!important;
  flex-direction:row!important;
  gap:7px!important;
  overflow:hidden!important;
}
.ep-header .ep-clips-header-button .ep-quick-clips-icon{
  order:1!important;
  flex:0 0 18px!important;
  width:18px!important;
  height:18px!important;
  min-width:18px!important;
  min-height:18px!important;
  max-width:18px!important;
  max-height:18px!important;
  display:grid!important;
  place-items:center!important;
  padding:0!important;
  margin:0!important;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  overflow:hidden!important;
  color:#fff!important;
}
.ep-header .ep-clips-header-button .ep-quick-clips-icon img{
  display:block!important;
  width:auto!important;
  height:auto!important;
  max-width:18px!important;
  max-height:18px!important;
  object-fit:contain!important;
  border:0!important;
  border-radius:0!important;
}
.ep-header .ep-clips-header-button .ep-quick-clips-symbol{
  display:block!important;
  margin:0!important;
  padding:0!important;
  font:700 17px/1 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
  color:#fff!important;
}
.ep-header .ep-clips-header-button .ep-quick-clips-icon i{
  width:3px!important;
  height:3px!important;
  background:#fff!important;
  border-radius:1px!important;
}
.ep-header .ep-clips-header-button .ep-quick-clips-label{
  order:2!important;
  display:block!important;
  flex:1 1 auto!important;
  min-width:0!important;
  max-width:100%!important;
  margin:0!important;
  padding:0!important;
  color:#fff!important;
  font:700 13px/1 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  text-align:center!important;
}
/* Text-only mode keeps the exact same button geometry as Menu. */
.ep-header .ep-clips-header-button .ep-quick-clips-label:only-child{
  flex:1 1 100%!important;
  text-align:center!important;
}
.ep-header .ep-clips-header-button:hover,
.ep-header .ep-clips-header-button:focus-visible{
  background:var(--ep-clips-button-bg,#111827)!important;
  color:#fff!important;
}
/* Desktop: keep the Clips action visible beside the brand/navigation. */
@media(min-width:981px){
  .ep-header .ep-clips-header-button{display:inline-flex!important;}
  .ep-header .ep-mobile-menu-toggle{display:none!important;}
}
/* Tablet/mobile: the two header controls are exactly the same size. */
@media(max-width:980px){
  .ep-header .ep-header-inner{flex-wrap:nowrap!important;gap:9px!important;min-width:0!important;}
  .ep-header .ep-brand{flex:1 1 auto!important;min-width:0!important;overflow:hidden!important;}
  .ep-header .ep-clips-header-button,
  .ep-header .ep-mobile-menu-toggle{
    flex:0 0 98px!important;
    width:98px!important;
    min-width:98px!important;
    max-width:98px!important;
    height:42px!important;
    min-height:42px!important;
    max-height:42px!important;
    padding:8px 11px!important;
    border-radius:9px!important;
  }
}
@media(max-width:390px){
  .ep-header .ep-clips-header-button,
  .ep-header .ep-mobile-menu-toggle{
    flex-basis:92px!important;
    width:92px!important;
    min-width:92px!important;
    max-width:92px!important;
    height:42px!important;
    min-height:42px!important;
    max-height:42px!important;
    padding-inline:8px!important;
    gap:6px!important;
  }
  .ep-header .ep-clips-header-button .ep-quick-clips-label{
    font-size:12px!important;
  }
  .ep-header .ep-clips-header-button .ep-quick-clips-icon{
    flex-basis:18px!important;
    width:18px!important;
    min-width:18px!important;
    max-width:18px!important;
    height:18px!important;
    min-height:18px!important;
    max-height:18px!important;
  }
}



/* V6.9.26 FINAL: unified news-clip gallery layout + centered desktop edition cards.
   This intentionally overrides the accumulated gallery patches above so the layout is
   deterministic on desktop, tablets and small mobile screens. */
.ep-clip-gallery-shell{
  width:100%;
  height:100%;
  min-height:100dvh;
  display:grid;
  grid-template-rows:68px minmax(0,1fr) auto auto;
  background:#05070b;
  color:#fff;
  overflow:hidden;
}
.ep-clip-gallery-topbar{
  position:relative;
  z-index:30;
  width:100%;
  min-width:0;
  height:68px;
  min-height:68px;
  display:grid!important;
  grid-template-columns:minmax(180px,1fr) minmax(260px,1.5fr) minmax(300px,1fr)!important;
  grid-template-rows:1fr!important;
  grid-template-areas:none!important;
  align-items:center!important;
  gap:12px!important;
  padding:8px 14px!important;
  box-sizing:border-box;
  background:linear-gradient(180deg,#111722 0%,#0a0e14 100%);
  border-bottom:1px solid rgba(255,255,255,.10);
}
.ep-clip-gallery-back-group{display:flex!important;align-items:center;justify-content:flex-start;gap:9px;min-width:0}
.ep-gallery-back{
  flex:0 0 auto;
  height:40px!important;
  min-width:78px!important;
  padding:0 12px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:5px!important;
  border:1px solid rgba(255,255,255,.15)!important;
  border-radius:9px!important;
  background:#151d29!important;
  color:#fff!important;
  box-shadow:0 4px 15px rgba(0,0,0,.22);
}
.ep-gallery-back span{font-size:25px!important;line-height:1!important;margin-top:-1px!important}
.ep-gallery-back b{font-size:13px!important;line-height:1!important}
.ep-clip-gallery-counter{display:flex!important;align-items:baseline;gap:5px;white-space:nowrap;color:#9aa6b8;font-size:13px!important}
.ep-clip-gallery-counter strong{font-size:20px!important;color:#fff!important}
.ep-clip-gallery-title{min-width:0!important;text-align:center!important;padding:0 8px!important}
.ep-clip-gallery-title .ep-section-kicker{font-size:9px!important;line-height:1.1!important;margin-bottom:3px!important;color:#d0ac2e!important}
.ep-clip-gallery-title strong{display:block;min-width:0;font-size:15px!important;line-height:1.2!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#fff!important}
.ep-clip-gallery-top-actions{display:flex!important;align-items:center;justify-content:flex-end;gap:7px;min-width:0!important}
.ep-gallery-tool{width:40px!important;height:40px!important;min-width:40px!important;border-radius:9px!important;background:#172131!important;border:1px solid rgba(255,255,255,.06)!important;color:#fff!important;font-size:23px!important;line-height:1!important}
.ep-clip-gallery-top-actions>span{min-width:50px!important;font-size:12px!important;color:#aab4c4!important;text-align:center}
.ep-gallery-close{flex:0 0 42px!important;width:42px!important;height:42px!important;min-width:42px!important;border:1px solid rgba(255,255,255,.14)!important;border-radius:10px!important;background:#151d29!important;color:#fff!important;font-size:31px!important;line-height:1!important}
.ep-clip-gallery-stage{
  position:relative;
  min-width:0!important;
  min-height:0!important;
  width:100%;
  height:auto!important;
  display:flex;
  align-items:center;
  justify-content:center;
  background:radial-gradient(circle at center,#18212d 0,#0a0d12 45%,#030406 100%);
  overflow:hidden!important;
}
.ep-clip-gallery-viewport{width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;display:flex;align-items:center;justify-content:center;overflow:hidden!important;touch-action:none!important}
.ep-clip-gallery-image-wrap{width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;display:flex!important;align-items:center!important;justify-content:center!important}
.ep-clip-gallery-image{
  display:block!important;
  box-sizing:border-box!important;
  max-width:calc(100% - 88px)!important;
  max-height:calc(100% - 28px)!important;
  box-shadow:0 18px 60px rgba(0,0,0,.46)!important;
  background:#fff!important;
  object-fit:contain!important;
  object-position:center center!important;
  user-select:none!important;
  -webkit-user-drag:none!important;
}
.ep-gallery-arrow{
  position:absolute!important;
  z-index:20!important;
  top:50%!important;
  width:54px!important;
  height:78px!important;
  transform:translateY(-50%)!important;
  border:1px solid rgba(255,255,255,.15)!important;
  border-radius:11px!important;
  background:rgba(13,20,31,.76)!important;
  color:#fff!important;
  font-size:48px!important;
  line-height:1!important;
  backdrop-filter:blur(6px);
}
.ep-gallery-prev{left:14px!important}.ep-gallery-next{right:14px!important}
.ep-gallery-arrow:disabled{opacity:.18!important}
.ep-clip-gallery-bottombar{min-width:0;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:11px 16px!important;background:#0d121a;border-top:1px solid rgba(255,255,255,.08)}
.ep-gallery-story{min-width:0!important;display:flex;flex-direction:column;gap:2px}
.ep-gallery-story .ep-clip-kicker{color:#d0ac2e!important;font-size:10px!important;letter-spacing:.10em!important}
.ep-gallery-story strong{font-size:15px!important;line-height:1.25!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ep-gallery-story span:last-child{font-size:11px!important;color:#8d99aa!important}
.ep-gallery-actions{display:flex!important;align-items:center;gap:7px!important;flex:0 0 auto}
.ep-gallery-actions .ep-btn{font-size:12px!important;padding:8px 11px!important}
.ep-gallery-hint{padding:5px 10px 7px!important;background:#080b10;color:#657187;font-size:10px!important;text-align:center}

/* Mobile: one clean control row, one compact thumbnail carousel row, then the full viewer. */
@media(max-width:620px){
  .ep-clip-gallery-shell{
    grid-template-rows:104px 54px minmax(0,1fr) auto auto!important;
    min-height:100svh!important;
    height:100svh!important;
  }
  .ep-clip-gallery-topbar{
    height:104px!important;
    min-height:104px!important;
    grid-template-columns:82px minmax(0,1fr) 42px!important;
    grid-template-rows:46px 44px!important;
    grid-template-areas:"back title close" "zoomout zoomlevel zoomin"!important;
    gap:4px!important;
    padding:calc(env(safe-area-inset-top) + 6px) 7px 6px!important;
  }
  .ep-clip-gallery-back-group{grid-area:back!important;gap:5px!important;min-width:0!important;overflow:visible!important}
  .ep-gallery-back{height:38px!important;min-width:74px!important;padding:0 10px!important;border-radius:9px!important}
  .ep-gallery-back span{font-size:24px!important}
  .ep-gallery-back b{font-size:11px!important}
  .ep-clip-gallery-counter{font-size:10px!important;gap:3px!important}
  .ep-clip-gallery-counter strong{font-size:17px!important}
  .ep-clip-gallery-title{grid-area:title!important;padding:0 3px!important;min-width:0!important}
  .ep-clip-gallery-title .ep-section-kicker{font-size:7px!important;margin-bottom:2px!important}
  .ep-clip-gallery-title strong{font-size:11px!important;line-height:1.2!important}
  .ep-clip-gallery-top-actions{display:contents!important}
  .ep-clip-gallery-top-actions .ep-gallery-tool:first-child{grid-area:zoomout!important;justify-self:end!important;width:38px!important;height:36px!important;min-width:38px!important}
  .ep-clip-gallery-top-actions>span{grid-area:zoomlevel!important;min-width:0!important;font-size:10px!important}
  .ep-clip-gallery-top-actions .ep-gallery-tool:nth-child(3){grid-area:zoomin!important;justify-self:start!important;width:38px!important;height:36px!important;min-width:38px!important}
  .ep-gallery-close{grid-area:close!important;width:38px!important;height:38px!important;min-width:38px!important;font-size:29px!important}
  .ep-clip-gallery-mobile-thumbs{
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:5px!important;
    height:54px!important;
    min-height:54px!important;
    max-height:54px!important;
    padding:5px 8px!important;
    background:#070a0f!important;
    border-bottom:1px solid rgba(255,255,255,.10)!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
  }
  .ep-gallery-thumb{
    flex:0 0 58px!important;
    width:58px!important;
    height:43px!important;
    min-width:58px!important;
    padding:2px!important;
    border-radius:7px!important;
    background:#131a25!important;
  }
  .ep-gallery-thumb img{width:100%!important;height:100%!important;object-fit:contain!important;background:#fff!important}
  .ep-gallery-thumb span{min-width:15px!important;height:15px!important;line-height:15px!important;font-size:8px!important;right:2px!important;bottom:2px!important}
  .ep-clip-gallery-stage{min-height:0!important}
  .ep-clip-gallery-image{
    max-width:calc(100vw - 72px)!important;
    max-height:calc(100% - 22px)!important;
  }
  .ep-gallery-arrow{width:42px!important;height:64px!important;font-size:41px!important;border-radius:10px!important;background:rgba(13,20,31,.62)!important}
  .ep-gallery-prev{left:6px!important}.ep-gallery-next{right:6px!important}
  .ep-clip-gallery-bottombar{padding:8px 9px!important;gap:8px!important}
  .ep-gallery-story{max-width:70%!important}
  .ep-gallery-story strong{font-size:12px!important}
  .ep-gallery-story span:last-child{font-size:9px!important}
  .ep-gallery-actions .ep-btn{font-size:10px!important;padding:7px 9px!important}
  .ep-gallery-hint{font-size:8px!important;padding:5px 8px 6px!important}
}
@media(max-width:390px){
  .ep-clip-gallery-shell{grid-template-rows:102px 50px minmax(0,1fr) auto auto!important}
  .ep-clip-gallery-topbar{height:102px!important;min-height:102px!important;grid-template-columns:76px minmax(0,1fr) 40px!important;grid-template-rows:44px 43px!important}
  .ep-gallery-back{min-width:68px!important}
  .ep-gallery-close{width:36px!important;height:36px!important;min-width:36px!important;font-size:27px!important}
  .ep-clip-gallery-mobile-thumbs{height:50px!important;min-height:50px!important;max-height:50px!important;padding-block:4px!important}
  .ep-gallery-thumb{flex-basis:54px!important;width:54px!important;height:40px!important;min-width:54px!important}
  .ep-clip-gallery-image{max-width:calc(100vw - 66px)!important;max-height:calc(100% - 18px)!important}
  .ep-gallery-arrow{width:38px!important;height:58px!important;font-size:37px!important}
}

/* Desktop edition hub: center a small number of cards and let additional editions
   fill outward naturally as more cards are added. Mobile retains the existing 2-column layout. */
@media(min-width:981px){
  .ep-home-landing-page .ep-edition-grid,
  .ep-archive-page .ep-edition-grid,
  .ep-archive-edition-grid-flat{
    grid-template-columns:repeat(auto-fit,minmax(210px,260px))!important;
    justify-content:center!important;
    align-items:start!important;
    justify-items:stretch!important;
    column-gap:16px!important;
    row-gap:16px!important;
    width:100%!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }
}


/* V6.9.27: isolate the new Clips feature from the original reader controls.
   The header Clips action may use the backend text setting, but the original
   reader toolbar must not inherit the Read Clips typography/spacing rules. */
.ep-card-clip-button{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:6px!important;
  flex:0 1 auto!important;
  width:auto!important;
  min-width:0!important;
  max-width:100%!important;
  min-height:38px!important;
  height:38px!important;
  padding:8px 11px!important;
  border-radius:9px!important;
  white-space:nowrap!important;
  overflow:visible!important;
  line-height:1.1!important;
  font:inherit!important;
}
.ep-card-clip-button .ep-clip-button-label{display:inline!important;padding:0!important;margin:0!important;line-height:1.1!important;overflow:visible!important;white-space:nowrap!important}
.ep-card-clip-button b{font-size:.82em!important;opacity:.78!important;margin-left:1px!important}

/* Do not style the original reader toolbar as a Read Clips control. */
.ep-reader-toolbar-top .ep-reader-read-clips-button{display:none!important}

/* Header Clips button: one isolated sibling to Menu, never affecting other .ep-btn controls. */
.ep-header .ep-clips-header-button{
  box-sizing:border-box!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex:0 0 98px!important;
  width:98px!important;
  min-width:98px!important;
  max-width:98px!important;
  height:42px!important;
  min-height:42px!important;
  max-height:42px!important;
  margin:0!important;
  padding:9px 11px!important;
  border:0!important;
  border-radius:9px!important;
  background:#111827!important;
  color:#fff!important;
  box-shadow:none!important;
  font:700 13px/1 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  flex-direction:row!important;
  gap:7px!important;
}
.ep-header .ep-clips-header-button .ep-quick-clips-icon{
  order:1!important;flex:0 0 18px!important;width:18px!important;height:18px!important;min-width:18px!important;min-height:18px!important;
  display:grid!important;place-items:center!important;padding:0!important;margin:0!important;background:transparent!important;border:0!important;border-radius:0!important;overflow:hidden!important;color:#fff!important;
}
.ep-header .ep-clips-header-button .ep-quick-clips-icon img{display:block!important;width:auto!important;height:auto!important;max-width:18px!important;max-height:18px!important;object-fit:contain!important;border:0!important;border-radius:0!important}
.ep-header .ep-clips-header-button .ep-quick-clips-symbol{display:block!important;margin:0!important;padding:0!important;font:700 17px/1 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;color:#fff!important}
.ep-header .ep-clips-header-button .ep-quick-clips-icon i{width:3px!important;height:3px!important;background:#fff!important;border-radius:1px!important}
.ep-header .ep-clips-header-button .ep-quick-clips-label{order:2!important;display:block!important;flex:1 1 auto!important;min-width:0!important;max-width:100%!important;margin:0!important;padding:0!important;color:#fff!important;font:700 13px/1 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;text-align:center!important}
.ep-header .ep-clips-header-button .ep-quick-clips-label:only-child{flex:1 1 100%!important;text-align:center!important}
@media(max-width:980px){
  .ep-header .ep-clips-header-button,.ep-header .ep-mobile-menu-toggle{box-sizing:border-box!important;flex:0 0 98px!important;width:98px!important;min-width:98px!important;max-width:98px!important;height:42px!important;min-height:42px!important;max-height:42px!important;padding:9px 11px!important;border-radius:9px!important}
}
@media(max-width:390px){
  .ep-header .ep-clips-header-button,.ep-header .ep-mobile-menu-toggle{flex-basis:92px!important;width:92px!important;min-width:92px!important;max-width:92px!important;padding-inline:8px!important;gap:6px!important}
  .ep-header .ep-clips-header-button .ep-quick-clips-label{font-size:12px!important}
}


/* V6.9.29: keep edition-card clip control compact and independent from Read/reader controls. */
.ep-home-landing-page .ep-card-clip-button,
.ep-edition-tile .ep-card-clip-button{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:42px!important;
  min-width:42px!important;
  max-width:42px!important;
  height:38px!important;
  min-height:38px!important;
  max-height:38px!important;
  padding:0!important;
  gap:4px!important;
  border-radius:9px!important;
  box-sizing:border-box!important;
  line-height:1!important;
  overflow:visible!important;
}
.ep-home-landing-page .ep-card-clip-button .ep-clip-button-label,
.ep-edition-tile .ep-card-clip-button .ep-clip-button-label{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:auto!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  font:900 22px/1 Arial,sans-serif!important;
  white-space:nowrap!important;
  overflow:visible!important;
  text-overflow:clip!important;
}
.ep-home-landing-page .ep-card-clip-button b,
.ep-edition-tile .ep-card-clip-button b{
  font-size:10px!important;
  line-height:1!important;
  margin:0!important;
  opacity:.82!important;
}
@media(max-width:620px){
  .ep-home-landing-page .ep-card-clip-button,
  .ep-edition-tile .ep-card-clip-button{
    width:40px!important;
    min-width:40px!important;
    max-width:40px!important;
    height:36px!important;
    min-height:36px!important;
    max-height:36px!important;
    border-radius:8px!important;
  }
  .ep-home-landing-page .ep-card-clip-button .ep-clip-button-label,
  .ep-edition-tile .ep-card-clip-button .ep-clip-button-label{font-size:20px!important}
}

/* V6.9.29: edition cards use a clean arrow-only clip trigger.
   Keep the control clickable, but remove the dark pill/button treatment. */
.ep-home-landing-page .ep-card-clip-button,
.ep-edition-tile .ep-card-clip-button{
  appearance:none!important;
  -webkit-appearance:none!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:32px!important;
  min-width:32px!important;
  max-width:32px!important;
  height:32px!important;
  min-height:32px!important;
  max-height:32px!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:50%!important;
  background:transparent!important;
  box-shadow:none!important;
  color:var(--ep-accent,#b8860b)!important;
  line-height:1!important;
  font-size:0!important;
  gap:0!important;
  overflow:visible!important;
  vertical-align:middle!important;
}
.ep-home-landing-page .ep-card-clip-button:hover,
.ep-home-landing-page .ep-card-clip-button:focus-visible,
.ep-edition-tile .ep-card-clip-button:hover,
.ep-edition-tile .ep-card-clip-button:focus-visible{
  background:rgba(184,134,11,.08)!important;
  color:var(--ep-accent,#b8860b)!important;
  box-shadow:none!important;
  outline:2px solid rgba(184,134,11,.28)!important;
  outline-offset:2px!important;
}
.ep-home-landing-page .ep-card-clip-button .ep-clip-button-label,
.ep-edition-tile .ep-card-clip-button .ep-clip-button-label{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:auto!important;
  height:auto!important;
  margin:0!important;
  padding:0!important;
  color:currentColor!important;
  font:900 24px/1 Arial,sans-serif!important;
  white-space:nowrap!important;
  overflow:visible!important;
  transform:translateY(-1px)!important;
}
.ep-home-landing-page .ep-card-clip-button b,
.ep-edition-tile .ep-card-clip-button b,
.ep-home-landing-page .ep-card-clip-button .ep-clip-button-icon,
.ep-edition-tile .ep-card-clip-button .ep-clip-button-icon{
  display:none!important;
}
@media(max-width:620px){
  .ep-home-landing-page .ep-card-clip-button,
  .ep-edition-tile .ep-card-clip-button{
    width:30px!important;
    min-width:30px!important;
    max-width:30px!important;
    height:30px!important;
    min-height:30px!important;
    max-height:30px!important;
  }
  .ep-home-landing-page .ep-card-clip-button .ep-clip-button-label,
  .ep-edition-tile .ep-card-clip-button .ep-clip-button-label{
    font-size:22px!important;
  }
}

/* V6.9.31: Mobile News Clips layout follows the supplied reference design.
   One compact control row, a larger full-width thumbnail carousel directly beneath it,
   then the maximum remaining area for the clipping itself. Desktop layout is untouched. */
@media (max-width:620px){
  .ep-clip-gallery-shell{
    grid-template-rows:84px 132px minmax(0,1fr) auto auto!important;
    height:100svh!important;
    min-height:100svh!important;
  }

  /* One-row header: Back | count | − | zoom | + | centered title | Close */
  .ep-clip-gallery-topbar{
    position:relative!important;
    display:grid!important;
    grid-template-columns:76px 30px 36px 38px 36px minmax(0,1fr) 40px!important;
    grid-template-rows:1fr!important;
    grid-template-areas:"back counter zoomout zoomlevel zoomin title close"!important;
    align-items:center!important;
    gap:5px!important;
    width:100%!important;
    min-height:84px!important;
    height:84px!important;
    padding:calc(env(safe-area-inset-top) + 7px) 8px 7px!important;
    box-sizing:border-box!important;
  }

  .ep-clip-gallery-back-group{
    display:contents!important;
  }
  .ep-gallery-back{
    grid-area:back!important;
    width:76px!important;
    min-width:76px!important;
    max-width:76px!important;
    height:42px!important;
    min-height:42px!important;
    padding:0 8px!important;
    justify-self:start!important;
    align-self:center!important;
    box-sizing:border-box!important;
  }
  .ep-gallery-back span{font-size:25px!important;line-height:1!important}
  .ep-gallery-back b{display:inline!important;font-size:11px!important;line-height:1!important}

  .ep-clip-gallery-counter{
    grid-area:counter!important;
    justify-self:center!important;
    align-self:center!important;
    display:flex!important;
    align-items:baseline!important;
    justify-content:center!important;
    gap:2px!important;
    min-width:30px!important;
    white-space:nowrap!important;
    font-size:10px!important;
  }
  .ep-clip-gallery-counter strong{font-size:18px!important;line-height:1!important}

  .ep-clip-gallery-title{
    grid-area:title!important;
    min-width:0!important;
    max-width:none!important;
    padding:0 3px!important;
    margin:0!important;
    text-align:center!important;
    align-self:center!important;
    justify-self:stretch!important;
    overflow:hidden!important;
    pointer-events:none!important;
  }
  .ep-clip-gallery-title .ep-section-kicker{
    display:block!important;
    margin:0 0 2px!important;
    font-size:8px!important;
    line-height:1!important;
    white-space:nowrap!important;
  }
  .ep-clip-gallery-title strong{
    display:block!important;
    min-width:0!important;
    font-size:11px!important;
    line-height:1.2!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }

  .ep-clip-gallery-top-actions{display:contents!important}
  .ep-clip-gallery-top-actions .ep-gallery-tool:first-child{
    grid-area:zoomout!important;
    width:36px!important;
    min-width:36px!important;
    max-width:34px!important;
    height:38px!important;
    min-height:38px!important;
    justify-self:center!important;
    align-self:center!important;
  }
  .ep-clip-gallery-top-actions>span{
    grid-area:zoomlevel!important;
    width:38px!important;
    min-width:38px!important;
    max-width:38px!important;
    text-align:center!important;
    font-size:10px!important;
    line-height:1!important;
    justify-self:center!important;
    align-self:center!important;
    white-space:nowrap!important;
  }
  .ep-clip-gallery-top-actions .ep-gallery-tool:nth-child(3){
    grid-area:zoomin!important;
    width:36px!important;
    min-width:36px!important;
    max-width:36px!important;
    height:38px!important;
    min-height:38px!important;
    justify-self:center!important;
    align-self:center!important;
  }
  .ep-gallery-close{
    grid-area:close!important;
    position:static!important;
    width:40px!important;
    min-width:40px!important;
    max-width:40px!important;
    height:40px!important;
    min-height:40px!important;
    max-height:40px!important;
    justify-self:end!important;
    align-self:center!important;
    font-size:28px!important;
    line-height:1!important;
    margin:0!important;
  }

  /* Larger horizontal carousel. It consumes a dedicated row and never pushes into the viewer. */
  .ep-clip-gallery-mobile-thumbs{
    display:flex!important;
    width:100%!important;
    height:132px!important;
    min-height:132px!important;
    max-height:132px!important;
    box-sizing:border-box!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:9px!important;
    padding:8px 12px!important;
    margin:0!important;
    background:#070a0f!important;
    border-top:1px solid rgba(255,255,255,.06)!important;
    border-bottom:1px solid rgba(255,255,255,.12)!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    -webkit-overflow-scrolling:touch!important;
    scroll-snap-type:x proximity!important;
    overscroll-behavior-x:contain!important;
  }
  .ep-gallery-thumb{
    position:relative!important;
    flex:0 0 116px!important;
    width:116px!important;
    min-width:116px!important;
    max-width:116px!important;
    height:112px!important;
    min-height:112px!important;
    max-height:112px!important;
    padding:3px!important;
    border-radius:9px!important;
    box-sizing:border-box!important;
    background:#111823!important;
    border:1px solid rgba(255,255,255,.18)!important;
    overflow:hidden!important;
    scroll-snap-align:center!important;
  }
  .ep-gallery-thumb img{
    display:block!important;
    width:100%!important;
    height:100%!important;
    object-fit:contain!important;
    object-position:center!important;
    background:#fff!important;
    border-radius:6px!important;
  }
  .ep-gallery-thumb span{
    right:4px!important;
    bottom:4px!important;
    min-width:20px!important;
    height:20px!important;
    line-height:20px!important;
    padding:0 4px!important;
    border-radius:10px!important;
    font-size:10px!important;
  }
  .ep-gallery-thumb.is-active{
    border-color:#c9a227!important;
    box-shadow:0 0 0 2px rgba(201,162,39,.95) inset!important;
  }

  .ep-clip-gallery-stage{
    position:relative!important;
    width:100%!important;
    min-height:0!important;
    height:auto!important;
    align-self:stretch!important;
    overflow:hidden!important;
  }
  .ep-clip-gallery-viewport,
  .ep-clip-gallery-image-wrap{
    width:100%!important;
    height:100%!important;
    min-height:0!important;
  }
  .ep-clip-gallery-image{
    max-width:calc(100vw - 82px)!important;
    max-height:calc(100% - 20px)!important;
    width:auto!important;
    height:auto!important;
    object-fit:contain!important;
    object-position:center center!important;
  }
  .ep-gallery-arrow{
    width:44px!important;
    min-width:44px!important;
    height:68px!important;
    font-size:44px!important;
    border-radius:11px!important;
  }
  .ep-gallery-prev{left:5px!important}
  .ep-gallery-next{right:5px!important}
}

@media(max-width:390px){
  .ep-clip-gallery-shell{grid-template-rows:78px 118px minmax(0,1fr) auto auto!important}
  .ep-clip-gallery-topbar{
    min-height:78px!important;
    height:78px!important;
    grid-template-columns:64px 26px 32px 34px 32px minmax(0,1fr) 36px!important;
    gap:3px!important;
    padding:calc(env(safe-area-inset-top) + 5px) 6px 5px!important;
  }
  .ep-gallery-back{width:64px!important;min-width:64px!important;max-width:64px!important;height:38px!important;min-height:38px!important;padding-inline:6px!important}
  .ep-gallery-back span{font-size:23px!important}
  .ep-gallery-back b{font-size:10px!important}
  .ep-clip-gallery-counter{font-size:9px!important;min-width:26px!important}
  .ep-clip-gallery-counter strong{font-size:16px!important}
  .ep-clip-gallery-top-actions .ep-gallery-tool:first-child,
  .ep-clip-gallery-top-actions .ep-gallery-tool:nth-child(3){width:32px!important;min-width:32px!important;max-width:32px!important;height:34px!important;min-height:34px!important}
  .ep-clip-gallery-top-actions>span{width:34px!important;min-width:34px!important;max-width:34px!important;font-size:9px!important}
  .ep-gallery-close{width:36px!important;min-width:36px!important;max-width:36px!important;height:36px!important;min-height:36px!important;font-size:26px!important}
  .ep-clip-gallery-mobile-thumbs{height:118px!important;min-height:118px!important;max-height:118px!important;gap:7px!important;padding:7px 9px!important}
  .ep-gallery-thumb{flex-basis:102px!important;width:102px!important;min-width:102px!important;max-width:102px!important;height:100px!important;min-height:100px!important;max-height:100px!important}
  .ep-gallery-thumb span{min-width:18px!important;height:18px!important;line-height:18px!important;font-size:9px!important}
}


/* V6.9.32: Use the same News Clips gallery structure on desktop and mobile.
   The desktop viewer now gets the same one-row controls followed immediately
   by the horizontal clip carousel, with the remaining space reserved for the
   selected clipping. This is structural only and does not alter the original
   ePaper reader toolbar. */
@media(min-width:621px){
  .ep-clip-gallery-shell{
    grid-template-rows:84px 132px minmax(0,1fr) auto auto!important;
    min-height:100dvh!important;
    height:100dvh!important;
  }
  .ep-clip-gallery-topbar{
    position:relative!important;
    display:grid!important;
    grid-template-columns:82px 36px 42px 48px 42px minmax(0,1fr) 48px!important;
    grid-template-rows:1fr!important;
    grid-template-areas:"back counter zoomout zoomlevel zoomin title close"!important;
    align-items:center!important;
    gap:8px!important;
    width:100%!important;
    min-height:84px!important;
    height:84px!important;
    padding:10px 14px!important;
    box-sizing:border-box!important;
  }
  .ep-clip-gallery-back-group{display:contents!important}
  .ep-gallery-back{
    grid-area:back!important;
    width:82px!important;
    min-width:82px!important;
    max-width:82px!important;
    height:42px!important;
    min-height:42px!important;
    padding:0 10px!important;
    justify-self:start!important;
    align-self:center!important;
    box-sizing:border-box!important;
  }
  .ep-gallery-back span{font-size:25px!important;line-height:1!important}
  .ep-gallery-back b{display:inline!important;font-size:12px!important;line-height:1!important}
  .ep-clip-gallery-counter{
    grid-area:counter!important;
    justify-self:center!important;
    align-self:center!important;
    display:flex!important;
    align-items:baseline!important;
    justify-content:center!important;
    gap:3px!important;
    min-width:36px!important;
    white-space:nowrap!important;
    font-size:11px!important;
  }
  .ep-clip-gallery-counter strong{font-size:19px!important;line-height:1!important}
  .ep-clip-gallery-title{
    grid-area:title!important;
    min-width:0!important;
    max-width:none!important;
    padding:0 10px!important;
    margin:0!important;
    text-align:center!important;
    align-self:center!important;
    justify-self:stretch!important;
    overflow:hidden!important;
    pointer-events:none!important;
  }
  .ep-clip-gallery-title .ep-section-kicker{
    display:block!important;
    margin:0 0 3px!important;
    font-size:9px!important;
    line-height:1!important;
    white-space:nowrap!important;
  }
  .ep-clip-gallery-title strong{
    display:block!important;
    min-width:0!important;
    font-size:14px!important;
    line-height:1.2!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  .ep-clip-gallery-top-actions{display:contents!important}
  .ep-clip-gallery-top-actions .ep-gallery-tool:first-child{
    grid-area:zoomout!important;
    width:42px!important;min-width:42px!important;max-width:42px!important;
    height:40px!important;min-height:40px!important;
    justify-self:center!important;align-self:center!important;
  }
  .ep-clip-gallery-top-actions>span{
    grid-area:zoomlevel!important;
    width:48px!important;min-width:48px!important;max-width:48px!important;
    text-align:center!important;font-size:11px!important;line-height:1!important;
    justify-self:center!important;align-self:center!important;white-space:nowrap!important;
  }
  .ep-clip-gallery-top-actions .ep-gallery-tool:nth-child(3){
    grid-area:zoomin!important;
    width:42px!important;min-width:42px!important;max-width:42px!important;
    height:40px!important;min-height:40px!important;
    justify-self:center!important;align-self:center!important;
  }
  .ep-gallery-close{
    grid-area:close!important;position:static!important;
    width:46px!important;min-width:46px!important;max-width:46px!important;
    height:46px!important;min-height:46px!important;max-height:46px!important;
    justify-self:end!important;align-self:center!important;
    font-size:31px!important;line-height:1!important;margin:0!important;
  }
  .ep-clip-gallery-mobile-thumbs{
    display:flex!important;
    width:100%!important;
    height:132px!important;min-height:132px!important;max-height:132px!important;
    box-sizing:border-box!important;
    align-items:center!important;justify-content:flex-start!important;
    gap:9px!important;padding:8px 14px!important;margin:0!important;
    background:#070a0f!important;
    border-top:1px solid rgba(255,255,255,.06)!important;
    border-bottom:1px solid rgba(255,255,255,.12)!important;
    overflow-x:auto!important;overflow-y:hidden!important;
    -webkit-overflow-scrolling:touch!important;
    scroll-snap-type:x proximity!important;
    overscroll-behavior-x:contain!important;
  }
  .ep-gallery-thumb{
    position:relative!important;
    flex:0 0 116px!important;width:116px!important;min-width:116px!important;max-width:116px!important;
    height:112px!important;min-height:112px!important;max-height:112px!important;
    padding:3px!important;border-radius:9px!important;box-sizing:border-box!important;
    background:#111823!important;border:1px solid rgba(255,255,255,.18)!important;
    overflow:hidden!important;scroll-snap-align:center!important;
  }
  .ep-gallery-thumb img{
    display:block!important;width:100%!important;height:100%!important;
    object-fit:contain!important;object-position:center!important;background:#fff!important;
    border-radius:6px!important;
  }
  .ep-gallery-thumb span{
    right:4px!important;bottom:4px!important;min-width:20px!important;height:20px!important;
    line-height:20px!important;padding:0 4px!important;border-radius:10px!important;font-size:10px!important;
  }
  .ep-gallery-thumb.is-active{border-color:#c9a227!important;box-shadow:0 0 0 2px rgba(201,162,39,.95) inset!important}
  .ep-clip-gallery-stage{
    position:relative!important;width:100%!important;min-width:0!important;min-height:0!important;
    height:auto!important;align-self:stretch!important;overflow:hidden!important;
  }
  .ep-clip-gallery-viewport,.ep-clip-gallery-image-wrap{
    width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;
  }
  .ep-clip-gallery-image{
    max-width:calc(100vw - 120px)!important;max-height:calc(100% - 24px)!important;
    width:auto!important;height:auto!important;object-fit:contain!important;object-position:center center!important;
  }
  .ep-gallery-arrow{width:54px!important;min-width:54px!important;height:76px!important;font-size:48px!important;border-radius:11px!important}
  .ep-gallery-prev{left:14px!important}.ep-gallery-next{right:14px!important}
}


/* V6.9.33: hide/show clipping thumbnail carousel from a compact round arrow
   positioned directly beneath the live zoom percentage. Works on desktop and mobile. */
.ep-clip-gallery-topbar{overflow:visible!important;z-index:40!important}
.ep-gallery-thumbs-toggle{
  position:absolute!important;
  z-index:60!important;
  width:28px!important;
  height:28px!important;
  min-width:28px!important;
  min-height:28px!important;
  max-width:28px!important;
  max-height:28px!important;
  padding:0!important;
  margin:0!important;
  display:grid!important;
  place-items:center!important;
  border:1px solid rgba(255,255,255,.20)!important;
  border-radius:50%!important;
  background:#151d29!important;
  color:#fff!important;
  box-shadow:0 4px 14px rgba(0,0,0,.30)!important;
  font:800 16px/1 system-ui,sans-serif!important;
  cursor:pointer!important;
  transform:none!important;
  box-sizing:border-box!important;
}
.ep-gallery-thumbs-toggle span{display:block!important;line-height:1!important;transform:translateY(-1px)}
.ep-gallery-thumbs-toggle:hover{background:#202b3a!important}
.ep-gallery-thumbs-toggle:focus-visible{outline:2px solid #c9a227!important;outline-offset:2px!important}
.ep-clip-gallery-shell.is-thumbs-hidden{grid-template-rows:84px 0 minmax(0,1fr) auto auto!important}
.ep-clip-gallery-shell.is-thumbs-hidden .ep-clip-gallery-mobile-thumbs{
  display:flex!important;
  height:0!important;
  min-height:0!important;
  max-height:0!important;
  padding:0!important;
  margin:0!important;
  border-top:0!important;
  border-bottom:0!important;
  overflow:hidden!important;
}
@media(max-width:620px){
  .ep-gallery-thumbs-toggle{width:26px!important;height:26px!important;min-width:26px!important;min-height:26px!important;font-size:15px!important}
  .ep-clip-gallery-shell.is-thumbs-hidden{grid-template-rows:84px 0 minmax(0,1fr) auto auto!important}
}
@media(max-width:390px){
  .ep-gallery-thumbs-toggle{width:24px!important;height:24px!important;min-width:24px!important;min-height:24px!important;font-size:14px!important}
  .ep-clip-gallery-shell.is-thumbs-hidden{grid-template-rows:78px 0 minmax(0,1fr) auto auto!important}
}


/* V6.9.34: Mobile menu must occupy its own full-width row below the header actions.
   Earlier gallery/header patches forced .ep-header-inner to nowrap, which caused the
   open menu (Edition/Issue + links) to remain on the right side and overflow off-screen. */
@media(max-width:980px){
  .ep-header .ep-header-inner{
    flex-wrap:wrap!important;
    align-content:flex-start!important;
    min-width:0!important;
    width:100%!important;
    box-sizing:border-box!important;
  }
  .ep-header .ep-nav{
    order:99!important;
    flex:0 0 100%!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
    position:static!important;
    left:auto!important;
    right:auto!important;
    top:auto!important;
    margin:0!important;
  }
  .ep-header .ep-nav.is-open{
    display:flex!important;
    flex-direction:row!important;
    flex-wrap:wrap!important;
    align-items:center!important;
    align-content:flex-start!important;
    justify-content:flex-start!important;
    width:100%!important;
  }
  .ep-header .ep-nav-paper-selectors{
    flex:1 0 100%!important;
    width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
    margin:0 0 4px!important;
  }
  .ep-header .ep-nav-paper-form{
    width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
  }
  .ep-header .ep-nav>a{
    flex:0 0 auto!important;
    min-width:0!important;
    max-width:100%!important;
  }
  .ep-header .ep-nav-forward{flex:0 0 auto!important;max-width:100%!important;}
}
@media(max-width:620px){
  .ep-header .ep-header-inner{gap:6px!important;}
  .ep-header .ep-nav{padding:6px 0 4px!important;}
  .ep-header .ep-nav-paper-selectors{padding:7px!important;}
  .ep-header .ep-nav-paper-form{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;}
  .ep-header .ep-nav>a{padding:8px 9px!important;line-height:1.15!important;}
}
@media(max-width:390px){
  .ep-header .ep-nav-paper-form{grid-template-columns:1fr!important;}
  .ep-header .ep-nav>a{width:auto!important;max-width:100%!important;}
}


/* V6.9.36: backend-controlled normal + hover appearance for the header Read Clips button.
   Keep geometry stable, but let admins edit text/font/colors without hover rewriting
   the normal state. These rules are intentionally scoped to the Clips header control. */
.ep-header .ep-clips-header-button{
  font-family:var(--ep-clips-font-family,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif)!important;
  font-size:var(--ep-clips-font-size,13px)!important;
  font-weight:var(--ep-clips-font-weight,700)!important;
  color:var(--ep-clips-text-color,#fff)!important;
  background:var(--ep-clips-button-bg,#111827)!important;
  border:1px solid var(--ep-clips-button-border,#111827)!important;
  border-radius:var(--ep-clips-button-radius,9px)!important;
  transition:background-color .16s ease,color .16s ease,border-color .16s ease,box-shadow .16s ease,transform .05s ease!important;
}
.ep-header .ep-clips-header-button .ep-quick-clips-label{
  font-family:var(--ep-clips-font-family,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif)!important;
  font-size:var(--ep-clips-font-size,13px)!important;
  font-weight:var(--ep-clips-font-weight,700)!important;
  color:var(--ep-clips-text-color,#fff)!important;
}
.ep-header .ep-clips-header-button .ep-quick-clips-icon,
.ep-header .ep-clips-header-button .ep-quick-clips-symbol,
.ep-header .ep-clips-header-button .ep-quick-clips-icon i{
  color:var(--ep-clips-icon-color,var(--ep-clips-text-color,#fff))!important;
}
.ep-header .ep-clips-header-button .ep-quick-clips-icon{
  background:var(--ep-clips-icon-bg,transparent)!important;
}
.ep-header .ep-clips-header-button .ep-quick-clips-icon i{background:currentColor!important}
.ep-header .ep-clips-header-button:hover,
.ep-header .ep-clips-header-button:focus-visible{
  background:var(--ep-clips-button-hover-bg,#0b1220)!important;
  border-color:var(--ep-clips-button-hover-border,#0b1220)!important;
  color:var(--ep-clips-text-hover-color,#fff)!important;
  box-shadow:none!important;
}
.ep-header .ep-clips-header-button:hover .ep-quick-clips-label,
.ep-header .ep-clips-header-button:focus-visible .ep-quick-clips-label,
.ep-header .ep-clips-header-button:hover .ep-quick-clips-symbol,
.ep-header .ep-clips-header-button:focus-visible .ep-quick-clips-symbol,
.ep-header .ep-clips-header-button:hover .ep-quick-clips-icon,
.ep-header .ep-clips-header-button:focus-visible .ep-quick-clips-icon{
  color:var(--ep-clips-text-hover-color,var(--ep-clips-icon-hover-color,#fff))!important;
}
.ep-header .ep-clips-header-button:hover .ep-quick-clips-icon i,
.ep-header .ep-clips-header-button:focus-visible .ep-quick-clips-icon i{
  background:var(--ep-clips-icon-hover-color,#fff)!important;
}
@media(max-width:980px){
  .ep-header .ep-clips-header-button .ep-quick-clips-label{
    font-size:var(--ep-clips-mobile-font-size,var(--ep-clips-font-size,13px))!important;
  }
}


/* V6.9.37: saved Read Clips colors are applied server-side with a final inline stylesheet. */
.ep-header .ep-clips-header-button{box-sizing:border-box!important;}

/* V6.9.38: final News Clips gallery control layout.
   The zoom percentage is removed. The thumbnail toggle occupies that position and
   carries both an arrow and text. The title is centered independently of the Back
   button so the left control cannot steal horizontal space from the title. */
.ep-clip-gallery-shell{
  grid-template-rows:78px 122px minmax(0,1fr) auto auto!important;
}
.ep-clip-gallery-topbar{
  position:relative!important;
  display:block!important;
  width:100%!important;
  height:78px!important;
  min-height:78px!important;
  padding:8px 14px!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
}
.ep-clip-gallery-back-group{
  position:absolute!important;
  left:14px!important;
  top:50%!important;
  transform:translateY(-50%)!important;
  display:flex!important;
  align-items:center!important;
  gap:7px!important;
  min-width:0!important;
  z-index:3!important;
}
.ep-gallery-back{
  height:38px!important;
  min-width:74px!important;
  width:auto!important;
  padding:0 10px!important;
  gap:4px!important;
  border-radius:9px!important;
}
.ep-gallery-back span{font-size:24px!important;line-height:1!important}
.ep-gallery-back b{font-size:12px!important;line-height:1!important}
.ep-clip-gallery-counter{font-size:11px!important;gap:3px!important}
.ep-clip-gallery-counter strong{font-size:19px!important;line-height:1!important}
.ep-clip-gallery-title{
  position:absolute!important;
  left:50%!important;
  top:8px!important;
  width:min(42vw,420px)!important;
  max-width:42vw!important;
  transform:translateX(-50%)!important;
  margin:0!important;
  padding:0 6px!important;
  text-align:center!important;
  min-width:0!important;
  z-index:2!important;
  pointer-events:none!important;
}
.ep-clip-gallery-title .ep-section-kicker{font-size:9px!important;line-height:1.05!important;margin:0 0 2px!important}
.ep-clip-gallery-title strong{font-size:15px!important;line-height:1.15!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;display:block!important}
.ep-clip-gallery-top-actions{
  position:absolute!important;
  left:50%!important;
  bottom:7px!important;
  transform:translateX(-50%)!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:7px!important;
  min-width:0!important;
  z-index:4!important;
}
.ep-clip-gallery-top-actions .ep-gallery-tool{
  width:42px!important;
  min-width:42px!important;
  max-width:42px!important;
  height:38px!important;
  min-height:38px!important;
  border-radius:9px!important;
  font-size:22px!important;
}
.ep-gallery-thumbs-toggle{
  position:static!important;
  width:auto!important;
  min-width:92px!important;
  max-width:none!important;
  height:38px!important;
  min-height:38px!important;
  max-height:38px!important;
  margin:0!important;
  padding:0 12px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:5px!important;
  transform:none!important;
  border:1px solid rgba(255,255,255,.18)!important;
  border-radius:9px!important;
  background:#151d29!important;
  color:#fff!important;
  box-shadow:0 4px 14px rgba(0,0,0,.28)!important;
  font:700 12px/1 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
  box-sizing:border-box!important;
  cursor:pointer!important;
}
.ep-gallery-thumbs-toggle span{display:inline-block!important;line-height:1!important;transform:translateY(-1px)!important;font-size:14px!important}
.ep-gallery-thumbs-toggle b{display:inline-block!important;line-height:1!important;font-size:12px!important;font-weight:700!important;white-space:nowrap!important}
.ep-gallery-thumbs-toggle:hover{background:#202b3a!important}
.ep-gallery-thumbs-toggle:focus-visible{outline:2px solid #c9a227!important;outline-offset:2px!important}
.ep-gallery-close{
  position:absolute!important;
  right:14px!important;
  top:50%!important;
  transform:translateY(-50%)!important;
  width:44px!important;
  min-width:44px!important;
  max-width:44px!important;
  height:44px!important;
  min-height:44px!important;
  z-index:5!important;
}
.ep-clip-gallery-mobile-thumbs{
  width:100%!important;
  height:122px!important;
  min-height:122px!important;
  max-height:122px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:9px!important;
  padding:8px 14px!important;
  box-sizing:border-box!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  background:#070a0f!important;
  border-top:1px solid rgba(255,255,255,.06)!important;
  border-bottom:1px solid rgba(255,255,255,.12)!important;
  scrollbar-width:none!important;
  -webkit-overflow-scrolling:touch!important;
  overscroll-behavior-x:contain!important;
  scroll-snap-type:x proximity!important;
}
.ep-clip-gallery-mobile-thumbs::-webkit-scrollbar{display:none!important}
.ep-clip-gallery-shell.is-thumbs-hidden{
  grid-template-rows:78px 0 minmax(0,1fr) auto auto!important;
}
.ep-clip-gallery-shell.is-thumbs-hidden .ep-clip-gallery-mobile-thumbs{
  display:flex!important;
  width:100%!important;
  height:0!important;
  min-height:0!important;
  max-height:0!important;
  padding:0!important;
  margin:0!important;
  border:0!important;
  overflow:hidden!important;
}

@media(max-width:620px){
  .ep-clip-gallery-shell{
    grid-template-rows:90px 118px minmax(0,1fr) auto auto!important;
    min-height:100svh!important;
    height:100svh!important;
  }
  .ep-clip-gallery-topbar{
    height:90px!important;
    min-height:90px!important;
    padding:calc(env(safe-area-inset-top) + 5px) 8px 5px!important;
  }
  .ep-clip-gallery-back-group{
    left:8px!important;
    top:26px!important;
    transform:none!important;
    gap:5px!important;
  }
  .ep-gallery-back{
    height:37px!important;
    min-width:72px!important;
    padding:0 9px!important;
  }
  .ep-gallery-back span{font-size:23px!important}
  .ep-gallery-back b{font-size:11px!important}
  .ep-clip-gallery-counter{font-size:10px!important;gap:2px!important}
  .ep-clip-gallery-counter strong{font-size:17px!important}
  .ep-clip-gallery-title{
    top:10px!important;
    width:145px!important;
    max-width:145px!important;
    padding:0 2px!important;
  }
  .ep-clip-gallery-title .ep-section-kicker{font-size:8px!important;margin-bottom:2px!important}
  .ep-clip-gallery-title strong{font-size:11px!important;line-height:1.18!important}
  .ep-gallery-close{
    right:8px!important;
    top:26px!important;
    transform:none!important;
    width:38px!important;
    min-width:38px!important;
    max-width:38px!important;
    height:38px!important;
    min-height:38px!important;
    max-height:38px!important;
    font-size:28px!important;
  }
  .ep-clip-gallery-top-actions{
    left:50%!important;
    bottom:7px!important;
    gap:5px!important;
  }
  .ep-clip-gallery-top-actions .ep-gallery-tool{
    width:38px!important;
    min-width:38px!important;
    max-width:38px!important;
    height:35px!important;
    min-height:35px!important;
    max-height:35px!important;
    font-size:21px!important;
  }
  .ep-gallery-thumbs-toggle{
    min-width:88px!important;
    height:35px!important;
    min-height:35px!important;
    max-height:35px!important;
    padding:0 10px!important;
    gap:4px!important;
  }
  .ep-gallery-thumbs-toggle span{font-size:13px!important}
  .ep-gallery-thumbs-toggle b{font-size:11px!important}
  .ep-clip-gallery-mobile-thumbs{
    height:118px!important;
    min-height:118px!important;
    max-height:118px!important;
    gap:7px!important;
    padding:7px 9px!important;
  }
  .ep-gallery-thumb{
    flex:0 0 102px!important;
    width:102px!important;
    min-width:102px!important;
    max-width:102px!important;
    height:100px!important;
    min-height:100px!important;
    max-height:100px!important;
  }
  .ep-clip-gallery-shell.is-thumbs-hidden{grid-template-rows:90px 0 minmax(0,1fr) auto auto!important}
}
@media(max-width:390px){
  .ep-clip-gallery-shell{grid-template-rows:88px 110px minmax(0,1fr) auto auto!important}
  .ep-clip-gallery-topbar{height:88px!important;min-height:88px!important}
  .ep-clip-gallery-back-group{top:24px!important}
  .ep-gallery-back{min-width:68px!important;height:36px!important;min-height:36px!important}
  .ep-clip-gallery-counter strong{font-size:16px!important}
  .ep-clip-gallery-title{top:9px!important;width:132px!important;max-width:132px!important}
  .ep-gallery-close{top:24px!important;width:36px!important;min-width:36px!important;height:36px!important;min-height:36px!important;font-size:27px!important}
  .ep-clip-gallery-top-actions{bottom:5px!important;gap:4px!important}
  .ep-clip-gallery-top-actions .ep-gallery-tool{width:35px!important;min-width:35px!important;height:33px!important;min-height:33px!important}
  .ep-gallery-thumbs-toggle{min-width:82px!important;height:33px!important;min-height:33px!important;padding:0 8px!important}
  .ep-gallery-thumbs-toggle b{font-size:10px!important}
  .ep-clip-gallery-mobile-thumbs{height:110px!important;min-height:110px!important;max-height:110px!important}
  .ep-gallery-thumb{flex-basis:94px!important;width:94px!important;min-width:94px!important;max-width:94px!important;height:92px!important;min-height:92px!important;max-height:92px!important}
  .ep-clip-gallery-shell.is-thumbs-hidden{grid-template-rows:88px 0 minmax(0,1fr) auto auto!important}
}

/* V6.9.39: Remove duplicate gallery header title. Edition/issue text is already shown in the bottom clip information. */
.ep-clip-gallery-title{display:none!important;}


/* V6.9.40: final compact gallery geometry.
 * The gallery title is already duplicated in the bottom information panel, so
 * the upper bar is now a compact single control row. Back/count stay left,
 * zoom and thumbnail toggle stay centered, and Close stays right. The clip
 * carousel is tightened to remove unused vertical space and its items are
 * aligned on a common baseline. */
.ep-clip-gallery-title{display:none!important}
.ep-clip-gallery-shell{
  grid-template-rows:62px 108px minmax(0,1fr) auto auto!important;
}
.ep-clip-gallery-topbar{
  position:relative!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)!important;
  grid-template-areas:"back tools close"!important;
  align-items:center!important;
  width:100%!important;
  height:62px!important;
  min-height:62px!important;
  padding:6px 10px!important;
  gap:8px!important;
  box-sizing:border-box!important;
  overflow:visible!important;
  z-index:40!important;
}
.ep-clip-gallery-back-group{
  position:static!important;
  grid-area:back!important;
  display:flex!important;
  align-items:center!important;
  justify-self:start!important;
  gap:6px!important;
  min-width:0!important;
  transform:none!important;
  z-index:2!important;
}
.ep-gallery-back{
  position:static!important;
  width:auto!important;
  min-width:74px!important;
  max-width:none!important;
  height:38px!important;
  min-height:38px!important;
  padding:0 10px!important;
  margin:0!important;
  border-radius:9px!important;
  box-sizing:border-box!important;
  align-self:center!important;
}
.ep-gallery-back span{font-size:24px!important;line-height:1!important}
.ep-gallery-back b{display:inline!important;font-size:12px!important;line-height:1!important}
.ep-clip-gallery-counter{font-size:11px!important;line-height:1!important;gap:3px!important}
.ep-clip-gallery-counter strong{font-size:19px!important;line-height:1!important}
.ep-clip-gallery-top-actions{
  position:static!important;
  grid-area:tools!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  justify-self:center!important;
  gap:7px!important;
  min-width:0!important;
  transform:none!important;
  z-index:3!important;
}
.ep-clip-gallery-top-actions .ep-gallery-tool{
  width:40px!important;
  min-width:40px!important;
  max-width:40px!important;
  height:38px!important;
  min-height:38px!important;
  max-height:38px!important;
  border-radius:9px!important;
  font-size:22px!important;
  line-height:1!important;
  margin:0!important;
}
.ep-gallery-thumbs-toggle{
  position:static!important;
  width:auto!important;
  min-width:96px!important;
  max-width:none!important;
  height:38px!important;
  min-height:38px!important;
  max-height:38px!important;
  padding:0 12px!important;
  margin:0!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:5px!important;
  border-radius:9px!important;
  box-sizing:border-box!important;
  transform:none!important;
  font-size:12px!important;
  line-height:1!important;
}
.ep-gallery-thumbs-toggle span{font-size:14px!important;line-height:1!important;transform:none!important}
.ep-gallery-thumbs-toggle b{font-size:12px!important;line-height:1!important;white-space:nowrap!important}
.ep-gallery-close{
  position:static!important;
  grid-area:close!important;
  justify-self:end!important;
  align-self:center!important;
  width:44px!important;
  min-width:44px!important;
  max-width:44px!important;
  height:44px!important;
  min-height:44px!important;
  max-height:44px!important;
  margin:0!important;
  transform:none!important;
  font-size:31px!important;
  line-height:1!important;
  border-radius:10px!important;
  z-index:4!important;
}
.ep-clip-gallery-mobile-thumbs{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  width:100%!important;
  height:108px!important;
  min-height:108px!important;
  max-height:108px!important;
  padding:6px 12px!important;
  margin:0!important;
  gap:8px!important;
  box-sizing:border-box!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  border-top:1px solid rgba(255,255,255,.05)!important;
  border-bottom:1px solid rgba(255,255,255,.10)!important;
  scrollbar-width:none!important;
  -webkit-overflow-scrolling:touch!important;
  scroll-snap-type:x proximity!important;
}
.ep-clip-gallery-mobile-thumbs::-webkit-scrollbar{display:none!important}
.ep-gallery-thumb{
  flex:0 0 94px!important;
  width:94px!important;
  min-width:94px!important;
  max-width:94px!important;
  height:94px!important;
  min-height:94px!important;
  max-height:94px!important;
  padding:3px!important;
  margin:0!important;
  border-radius:8px!important;
  box-sizing:border-box!important;
  display:block!important;
  align-self:center!important;
}
.ep-gallery-thumb img{
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
  object-position:center center!important;
  display:block!important;
}
.ep-gallery-thumb span{
  right:3px!important;
  bottom:3px!important;
  min-width:19px!important;
  height:19px!important;
  line-height:19px!important;
  font-size:9px!important;
}
.ep-clip-gallery-stage{
  min-height:0!important;
  height:auto!important;
  margin:0!important;
  padding:0!important;
  align-self:stretch!important;
}
.ep-clip-gallery-bottombar{margin:0!important}
.ep-gallery-hint{margin:0!important}
.ep-clip-gallery-shell.is-thumbs-hidden{
  grid-template-rows:62px 0 minmax(0,1fr) auto auto!important;
}

@media(max-width:620px){
  .ep-clip-gallery-shell{
    grid-template-rows:60px 100px minmax(0,1fr) auto auto!important;
    height:100svh!important;
    min-height:100svh!important;
  }
  .ep-clip-gallery-topbar{
    height:60px!important;
    min-height:60px!important;
    padding:4px 7px!important;
    gap:4px!important;
  }
  .ep-clip-gallery-back-group{gap:4px!important}
  .ep-gallery-back{
    min-width:70px!important;
    height:36px!important;
    min-height:36px!important;
    padding:0 8px!important;
  }
  .ep-gallery-back span{font-size:23px!important}
  .ep-gallery-back b{font-size:11px!important}
  .ep-clip-gallery-counter{font-size:10px!important;gap:2px!important}
  .ep-clip-gallery-counter strong{font-size:17px!important}
  .ep-clip-gallery-top-actions{gap:4px!important}
  .ep-clip-gallery-top-actions .ep-gallery-tool{
    width:36px!important;
    min-width:36px!important;
    max-width:36px!important;
    height:34px!important;
    min-height:34px!important;
    max-height:34px!important;
    font-size:21px!important;
  }
  .ep-gallery-thumbs-toggle{
    min-width:86px!important;
    height:34px!important;
    min-height:34px!important;
    max-height:34px!important;
    padding:0 9px!important;
  }
  .ep-gallery-thumbs-toggle span{font-size:13px!important}
  .ep-gallery-thumbs-toggle b{font-size:11px!important}
  .ep-gallery-close{
    width:38px!important;
    min-width:38px!important;
    max-width:38px!important;
    height:38px!important;
    min-height:38px!important;
    max-height:38px!important;
    font-size:28px!important;
  }
  .ep-clip-gallery-mobile-thumbs{
    height:100px!important;
    min-height:100px!important;
    max-height:100px!important;
    padding:5px 8px!important;
    gap:7px!important;
  }
  .ep-gallery-thumb{
    flex-basis:88px!important;
    width:88px!important;
    min-width:88px!important;
    max-width:88px!important;
    height:88px!important;
    min-height:88px!important;
    max-height:88px!important;
  }
  .ep-gallery-thumb span{min-width:18px!important;height:18px!important;line-height:18px!important}
  .ep-clip-gallery-shell.is-thumbs-hidden{grid-template-rows:60px 0 minmax(0,1fr) auto auto!important}
}
@media(max-width:390px){
  .ep-clip-gallery-shell{grid-template-rows:56px 92px minmax(0,1fr) auto auto!important}
  .ep-clip-gallery-topbar{height:56px!important;min-height:56px!important;padding:3px 6px!important;gap:3px!important}
  .ep-gallery-back{min-width:66px!important;height:34px!important;min-height:34px!important;padding:0 7px!important}
  .ep-gallery-back span{font-size:22px!important}
  .ep-gallery-back b{font-size:10px!important}
  .ep-clip-gallery-counter strong{font-size:16px!important}
  .ep-clip-gallery-top-actions{gap:3px!important}
  .ep-clip-gallery-top-actions .ep-gallery-tool{width:33px!important;min-width:33px!important;height:32px!important;min-height:32px!important}
  .ep-gallery-thumbs-toggle{min-width:80px!important;height:32px!important;min-height:32px!important;padding:0 7px!important}
  .ep-gallery-thumbs-toggle b{font-size:10px!important}
  .ep-gallery-close{width:34px!important;min-width:34px!important;height:34px!important;min-height:34px!important;font-size:26px!important}
  .ep-clip-gallery-mobile-thumbs{height:92px!important;min-height:92px!important;max-height:92px!important;padding:4px 7px!important;gap:6px!important}
  .ep-gallery-thumb{flex-basis:82px!important;width:82px!important;min-width:82px!important;height:82px!important;min-height:82px!important}
  .ep-clip-gallery-shell.is-thumbs-hidden{grid-template-rows:56px 0 minmax(0,1fr) auto auto!important}
}


/* V6.9.41: clean full-page landing reader and Sambad-style clipping detail view. */
.ep-reader-full-mode{display:block!important;width:100%!important;max-width:none!important}
.ep-full-reader-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;width:100%;padding:10px 14px 12px;background:#fff;border:1px solid var(--ep-border);border-radius:12px;margin:0 0 10px;box-sizing:border-box}
.ep-full-reader-heading-main{min-width:0}
.ep-full-reader-heading-main .ep-section-kicker{display:block;margin-bottom:2px}
.ep-full-reader-heading-main h1{margin:0;font-size:clamp(20px,2.4vw,30px);line-height:1.05}
.ep-full-reader-heading-main>span:last-child{display:block;margin-top:3px;color:#64748b;font-size:13px}
.ep-full-reader-heading-page{flex:0 0 auto;white-space:nowrap;color:#64748b;font-size:13px}
.ep-full-reader-heading-page strong{font-size:18px;color:#111827}
.ep-full-reader-hidden-toolbar{display:none!important}
.ep-reader-full-mode .ep-viewer-shell{display:block!important;width:100%!important;max-width:none!important}
.ep-reader-full-mode .ep-viewer-shell>main{width:100%!important;min-width:0!important}
.ep-reader-full-mode .ep-pdf-viewer{min-height:calc(100vh - 170px)!important;border-radius:10px!important;padding:8px!important;background:#0b0d11!important;display:flex!important;align-items:center!important;justify-content:center!important;overflow:hidden!important}
.ep-reader-full-mode .ep-pdf-page{box-shadow:0 8px 32px rgba(0,0,0,.30)!important;background:#fff!important}
.ep-reader-full-mode .ep-floating-page-nav{width:48px!important;height:48px!important}
.ep-reader-full-mode .ep-pages-strip{display:none!important}
.ep-reader-full-mode .ep-pdf-hotspots .ep-hotspot{fill:rgba(17,24,39,.001)!important;stroke:rgba(17,24,39,.08)!important;stroke-width:.6!important;pointer-events:all!important}
.ep-reader-full-mode .ep-pdf-hotspots .ep-hotspot:hover,.ep-reader-full-mode .ep-pdf-hotspots .ep-hotspot:focus{fill:rgba(34,113,177,.09)!important;stroke:rgba(34,113,177,.55)!important}

.ep-reader-clip-modal{padding:0!important;align-items:stretch!important;justify-content:stretch!important;background:rgba(5,8,12,.92)!important;z-index:4900!important}
.ep-reader-clip-modal .ep-modal-card{width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;padding:0!important;border-radius:0!important;overflow:auto!important;background:#fff!important}
.ep-reader-clip-modal .ep-clip-content{min-height:100%;background:#fff}
.ep-clip-detail{min-height:100%;display:flex;flex-direction:column;background:#fff;color:#111827}
.ep-clip-detail-topbar{position:sticky;top:0;z-index:5;min-height:58px;display:grid;grid-template-columns:1fr minmax(0,2fr) 58px;align-items:center;gap:10px;padding:7px 14px;background:#fff;border-bottom:1px solid #e5e7eb;box-shadow:0 2px 10px rgba(15,23,42,.05)}
.ep-clip-detail-masthead{text-align:left;min-width:0}
.ep-clip-detail-masthead img{display:block;max-width:150px;max-height:42px;width:auto;height:auto;object-fit:contain}
.ep-clip-detail-title{text-align:center;min-width:0}
.ep-clip-detail-title .ep-clip-kicker{display:block;color:#c9a227;font-size:10px;letter-spacing:.08em}
.ep-clip-detail-title strong{display:block;font-size:14px;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ep-reader-clip-modal .ep-modal-close{justify-self:end;width:42px;height:42px;border-radius:9px;background:#111827;color:#fff;font-size:28px;line-height:1}
.ep-clip-detail-meta{padding:8px 16px;text-align:center;color:#64748b;font-size:12px;border-bottom:1px solid #eef0f2}
.ep-clip-detail-image-wrap{display:flex;align-items:center;justify-content:center;padding:14px 14px 6px;background:#fff}
.ep-clip-detail-image{display:block;width:auto;max-width:min(100%,1100px);height:auto;max-height:none;object-fit:contain;background:#fff;box-shadow:0 8px 30px rgba(15,23,42,.12)}
.ep-clip-detail-actions{justify-content:center!important;padding:12px 14px 16px;border-top:1px solid #e5e7eb;background:#fff}
.ep-clip-detail-actions .ep-btn{min-width:72px;text-align:center}
.ep-clip-detail .ep-clip-description{max-width:1000px;margin:10px auto;padding:0 16px;line-height:1.65;color:#475569}
.ep-clip-detail .ep-clip-save-note{display:block;text-align:center;padding:0 16px 8px;color:#64748b}

@media(max-width:620px){
  .ep-full-reader-heading{padding:8px 10px 9px;margin-bottom:6px;border-radius:10px}
  .ep-full-reader-heading-main h1{font-size:19px}
  .ep-full-reader-heading-main>span:last-child{font-size:11px}
  .ep-full-reader-heading-page{font-size:11px}
  .ep-full-reader-heading-page strong{font-size:16px}
  .ep-reader-full-mode .ep-pdf-viewer{min-height:calc(100svh - 150px)!important;height:calc(100svh - 150px)!important;padding:4px!important;border-radius:0!important}
  .ep-reader-full-mode .ep-floating-page-nav{width:42px!important;height:58px!important;border-radius:10px!important}
  .ep-clip-detail-topbar{grid-template-columns:72px minmax(0,1fr) 42px;min-height:52px;padding:6px 8px;gap:5px}
  .ep-clip-detail-masthead img{max-width:72px;max-height:32px}
  .ep-clip-detail-title .ep-clip-kicker{font-size:8px}
  .ep-clip-detail-title strong{font-size:11px}
  .ep-reader-clip-modal .ep-modal-close{width:38px;height:38px;font-size:25px}
  .ep-clip-detail-meta{font-size:10px;padding:6px 8px}
  .ep-clip-detail-image-wrap{padding:6px 6px 4px}
  .ep-clip-detail-image{width:100%;max-width:100%;box-shadow:none}
  .ep-clip-detail-actions{gap:6px!important;padding:8px 8px calc(10px + env(safe-area-inset-bottom))!important;flex-wrap:wrap}
  .ep-clip-detail-actions .ep-btn{flex:1 1 66px;min-width:0;padding:8px 9px;font-size:11px}
}

/* V6.9.42: compact full-page landing reader heading + horizontal page picker. */
.ep-reader-full-mode .ep-full-reader-heading{
  width:100%!important;
  margin:3px 0 4px!important;
  padding:5px 8px!important;
  border:0!important;
  border-radius:7px!important;
  background:#fff!important;
  box-shadow:none!important;
  min-height:30px!important;
  box-sizing:border-box;
}
.ep-reader-full-mode .ep-full-reader-heading-main{
  display:flex!important;
  align-items:baseline!important;
  gap:7px!important;
  min-width:0!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  line-height:1.1!important;
}
.ep-reader-full-mode .ep-full-reader-heading-main .ep-section-kicker{
  display:inline!important;
  flex:0 0 auto!important;
  margin:0!important;
  font-size:9px!important;
  letter-spacing:.08em!important;
}
.ep-reader-full-mode .ep-full-reader-edition{
  flex:0 1 auto!important;
  min-width:0!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  font-size:13px!important;
  line-height:1.1!important;
  color:#111827!important;
}
.ep-reader-full-mode .ep-full-reader-date{
  flex:0 0 auto!important;
  color:#64748b!important;
  font-size:10px!important;
  line-height:1.1!important;
}
.ep-reader-full-mode .ep-full-reader-heading-page{
  flex:0 0 auto!important;
  font-size:10px!important;
  line-height:1.1!important;
  color:#64748b!important;
  white-space:nowrap!important;
}
.ep-reader-full-mode .ep-full-reader-heading-page strong{font-size:13px!important;color:#111827!important}
.ep-reader-full-mode .ep-full-page-pages-strip{
  display:block!important;
  margin:0 0 5px!important;
  padding:3px 6px!important;
  border:1px solid #e5e7eb!important;
  border-radius:8px!important;
  background:#fff!important;
  box-shadow:none!important;
  box-sizing:border-box!important;
}
.ep-reader-full-mode .ep-full-page-pages-strip .ep-pages-strip-head{display:none!important}
.ep-reader-full-mode .ep-full-page-pages-strip .ep-pages-strip-list{
  width:100%!important;
  display:flex!important;
  align-items:flex-end!important;
  gap:7px!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  padding:1px 1px 3px!important;
  scrollbar-width:thin!important;
  -webkit-overflow-scrolling:touch!important;
}
.ep-reader-full-mode .ep-full-page-pages-strip .ep-strip-thumb{
  flex:0 0 auto!important;
  width:78px!important;
  padding:2px!important;
  border-width:2px!important;
  border-radius:7px!important;
  background:#f8fafc!important;
}
.ep-reader-full-mode .ep-full-page-pages-strip .ep-strip-thumb canvas{
  width:100%!important;
  height:auto!important;
  max-height:112px!important;
  display:block!important;
  background:#fff!important;
  border-radius:4px!important;
}
.ep-reader-full-mode .ep-full-page-pages-strip .ep-strip-thumb small{
  display:block!important;
  padding:2px 1px 1px!important;
  font-size:9px!important;
  line-height:1.15!important;
  white-space:nowrap!important;
}
.ep-reader-full-mode .ep-full-page-pages-strip .ep-strip-thumb.active{
  border-color:var(--ep-accent)!important;
  box-shadow:0 0 0 2px rgba(185,28,28,.08)!important;
}
/* The page picker is now above the full-page viewer; do not reserve extra space below it. */
@media (min-width:621px){
  .ep-reader-full-mode .ep-full-page-pages-strip .ep-strip-thumb{width:86px!important}
  .ep-reader-full-mode .ep-full-page-pages-strip .ep-strip-thumb canvas{max-height:120px!important}
}
@media (max-width:620px){
  .ep-reader-full-mode .ep-full-reader-heading{margin:2px 0 3px!important;padding:4px 7px!important;min-height:28px!important}
  .ep-reader-full-mode .ep-full-reader-heading-main{gap:5px!important}
  .ep-reader-full-mode .ep-full-reader-heading-main .ep-section-kicker{font-size:8px!important}
  .ep-reader-full-mode .ep-full-reader-edition{font-size:12px!important}
  .ep-reader-full-mode .ep-full-reader-date{font-size:9px!important}
  .ep-reader-full-mode .ep-full-reader-heading-page{font-size:9px!important}
  .ep-reader-full-mode .ep-full-reader-heading-page strong{font-size:12px!important}
  .ep-reader-full-mode .ep-full-page-pages-strip{margin-bottom:4px!important;padding:2px 5px!important;border-radius:7px!important}
  .ep-reader-full-mode .ep-full-page-pages-strip .ep-pages-strip-list{gap:5px!important;padding-bottom:2px!important}
  .ep-reader-full-mode .ep-full-page-pages-strip .ep-strip-thumb{width:64px!important;border-radius:6px!important}
  .ep-reader-full-mode .ep-full-page-pages-strip .ep-strip-thumb canvas{max-height:92px!important;border-radius:3px!important}
  .ep-reader-full-mode .ep-full-page-pages-strip .ep-strip-thumb small{font-size:8px!important;padding-top:2px!important}
}


/* V6.9.44: viewport-fitted full-page reader. Page thumbnails remain at the
   bottom and only the thumbnail row may scroll horizontally. */
.ep-reader-page.ep-full-page-entry{
  padding-top:4px!important;
  padding-bottom:0!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
}
.ep-reader-full-mode{
  height:calc(100dvh - 4px)!important;
  min-height:0!important;
  max-height:calc(100dvh - 4px)!important;
  display:flex!important;
  flex-direction:column!important;
  overflow:hidden!important;
  gap:5px!important;
}
.ep-reader-full-mode .ep-full-reader-heading{
  flex:0 0 30px!important;
  height:30px!important;
  min-height:30px!important;
  margin:0!important;
  padding:3px 8px!important;
}
.ep-reader-full-mode .ep-viewer-shell{
  order:2!important;
  flex:1 1 auto!important;
  min-height:0!important;
  height:auto!important;
  width:100%!important;
  display:flex!important;
  overflow:hidden!important;
}
.ep-reader-full-mode .ep-viewer-shell>main{
  flex:1 1 auto!important;
  min-height:0!important;
  width:100%!important;
  display:flex!important;
}
.ep-reader-full-mode .ep-pdf-viewer{
  flex:1 1 auto!important;
  width:100%!important;
  min-height:0!important;
  height:auto!important;
  max-height:none!important;
  margin:0!important;
  padding:4px!important;
  border-radius:8px!important;
  overflow:hidden!important;
}
.ep-reader-full-mode .ep-full-page-pages-strip{
  order:3!important;
  flex:0 0 126px!important;
  height:126px!important;
  min-height:126px!important;
  max-height:126px!important;
  margin:0!important;
  padding:4px 6px!important;
  width:100%!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
}
.ep-reader-full-mode .ep-full-page-pages-strip .ep-pages-strip-list{
  width:100%!important;
  height:100%!important;
  max-height:none!important;
  min-height:0!important;
  display:flex!important;
  align-items:flex-start!important;
  gap:7px!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  padding:0 1px 2px!important;
  -webkit-overflow-scrolling:touch!important;
}
.ep-reader-full-mode .ep-full-page-pages-strip .ep-strip-thumb{
  flex:0 0 86px!important;
  width:86px!important;
  min-width:86px!important;
  max-width:86px!important;
  height:116px!important;
  min-height:116px!important;
  max-height:116px!important;
  padding:2px!important;
  box-sizing:border-box!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:flex-start!important;
}
.ep-reader-full-mode .ep-full-page-pages-strip .ep-strip-thumb canvas{
  display:block!important;
  width:100%!important;
  height:auto!important;
  max-height:97px!important;
  flex:0 0 auto!important;
}
.ep-reader-full-mode .ep-full-page-pages-strip .ep-strip-thumb small{
  display:block!important;
  height:13px!important;
  line-height:13px!important;
  padding:1px!important;
  overflow:hidden!important;
}
@media(max-width:620px){
  .ep-reader-page.ep-full-page-entry{padding-top:2px!important}
  .ep-reader-full-mode{
    height:calc(100dvh - 2px)!important;
    max-height:calc(100dvh - 2px)!important;
    gap:3px!important;
  }
  .ep-reader-full-mode .ep-full-reader-heading{
    flex-basis:28px!important;
    height:28px!important;
    min-height:28px!important;
    padding:2px 6px!important;
  }
  .ep-reader-full-mode .ep-full-page-pages-strip{
    flex-basis:102px!important;
    height:102px!important;
    min-height:102px!important;
    max-height:102px!important;
    padding:3px 5px!important;
  }
  .ep-reader-full-mode .ep-full-page-pages-strip .ep-pages-strip-list{gap:5px!important}
  .ep-reader-full-mode .ep-full-page-pages-strip .ep-strip-thumb{
    flex-basis:72px!important;
    width:72px!important;
    min-width:72px!important;
    max-width:72px!important;
    height:94px!important;
    min-height:94px!important;
    max-height:94px!important;
    padding:2px!important;
  }
  .ep-reader-full-mode .ep-full-page-pages-strip .ep-strip-thumb canvas{max-height:78px!important}
  .ep-reader-full-mode .ep-full-page-pages-strip .ep-strip-thumb small{font-size:7px!important;height:11px!important;line-height:11px!important}
  .ep-reader-full-mode .ep-pdf-viewer{padding:2px!important;border-radius:6px!important}
}

/* V6.9.44: desktop full-page reader uses a left vertical page rail,
   centered newspaper viewer, and an optional right advertisement widget. */
.ep-reader-full-mode .ep-full-page-pages-strip{display:block!important}
.ep-reader-full-mode .ep-reader-ad-sidebar{display:none}
@media (min-width:981px){
  .ep-reader-full-mode{
    display:grid!important;
    grid-template-columns:minmax(128px,170px) minmax(0,1fr) minmax(220px,320px)!important;
    grid-template-rows:30px minmax(0,1fr)!important;
    column-gap:10px!important;
    row-gap:6px!important;
    height:calc(100dvh - 4px)!important;
    max-height:calc(100dvh - 4px)!important;
    min-height:0!important;
    overflow:hidden!important;
    align-items:stretch!important;
  }
  .ep-reader-full-mode .ep-full-reader-heading{
    grid-column:1/-1!important;
    grid-row:1!important;
    width:100%!important;
    margin:0!important;
    height:30px!important;
    min-height:30px!important;
    padding:3px 8px!important;
  }
  .ep-reader-full-mode .ep-full-page-pages-strip{
    grid-column:1!important;
    grid-row:2!important;
    width:100%!important;
    height:100%!important;
    min-height:0!important;
    max-height:none!important;
    margin:0!important;
    padding:5px!important;
    border:1px solid #e5e7eb!important;
    border-radius:8px!important;
    overflow:hidden!important;
    box-sizing:border-box!important;
    background:#fff!important;
  }
  .ep-reader-full-mode .ep-full-page-pages-strip .ep-pages-strip-list{
    width:100%!important;
    height:100%!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:stretch!important;
    justify-content:flex-start!important;
    gap:7px!important;
    overflow-x:hidden!important;
    overflow-y:auto!important;
    padding:1px 2px 4px!important;
    scrollbar-width:thin!important;
    -webkit-overflow-scrolling:touch!important;
  }
  .ep-reader-full-mode .ep-full-page-pages-strip .ep-strip-thumb{
    flex:0 0 auto!important;
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    padding:2px!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:stretch!important;
    justify-content:flex-start!important;
    border:2px solid transparent!important;
    border-radius:7px!important;
    background:#f8fafc!important;
    box-sizing:border-box!important;
  }
  .ep-reader-full-mode .ep-full-page-pages-strip .ep-strip-thumb canvas{
    display:block!important;
    width:100%!important;
    height:auto!important;
    max-height:none!important;
    flex:0 0 auto!important;
    background:#fff!important;
    border-radius:4px!important;
  }
  .ep-reader-full-mode .ep-full-page-pages-strip .ep-strip-thumb small{
    display:block!important;
    height:15px!important;
    line-height:15px!important;
    padding:1px 2px!important;
    font-size:9px!important;
    text-align:center!important;
    white-space:nowrap!important;
    color:#64748b!important;
  }
  .ep-reader-full-mode .ep-viewer-shell{
    grid-column:2/-1!important;
    grid-row:2!important;
    width:100%!important;
    height:100%!important;
    min-height:0!important;
    max-height:none!important;
    display:grid!important;
    grid-template-columns:minmax(0,1fr) minmax(220px,320px)!important;
    gap:12px!important;
    overflow:hidden!important;
    margin:0!important;
  }
  .ep-reader-full-mode .ep-viewer-shell>main{
    min-width:0!important;
    width:100%!important;
    height:100%!important;
    min-height:0!important;
    display:flex!important;
  }
  .ep-reader-full-mode .ep-pdf-viewer{
    width:100%!important;
    height:100%!important;
    min-height:0!important;
    max-height:none!important;
    padding:4px!important;
    border-radius:8px!important;
    margin:0!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    overflow:hidden!important;
  }
  .ep-reader-full-mode .ep-reader-ad-sidebar{
    display:flex!important;
    flex-direction:column!important;
    min-width:0!important;
    height:100%!important;
    min-height:0!important;
    overflow:auto!important;
    padding:8px!important;
    box-sizing:border-box!important;
    background:#fff!important;
    border-left:1px solid #eef0f2!important;
  }
  .ep-reader-full-mode .ep-reader-ad-sidebar:empty{display:block!important}
  .ep-reader-full-mode .ep-reader-ad-sidebar .widget{margin:0 0 12px!important}
  .ep-reader-full-mode .ep-reader-ad-widget-title{margin:0 0 8px!important;font-size:12px!important}
}
@media (min-width:981px) and (max-width:1250px){
  .ep-reader-full-mode{grid-template-columns:minmax(112px,145px) minmax(0,1fr) minmax(180px,240px)!important}
  .ep-reader-full-mode .ep-viewer-shell{grid-template-columns:minmax(0,1fr) minmax(180px,240px)!important}
}
@media (max-width:980px){
  .ep-reader-full-mode .ep-reader-ad-sidebar{display:none!important}
}


/* V6.9.45: white desktop full-page reader. Do not use a black viewer well.
   The newspaper page fills the available center column by width and may
   scroll vertically when its natural page height exceeds the viewport. */
@media (min-width:981px){
  .ep-reader-full-mode .ep-viewer-shell,
  .ep-reader-full-mode .ep-viewer-shell>main,
  .ep-reader-full-mode .ep-pdf-viewer{
    background:#fff!important;
  }
  .ep-reader-full-mode .ep-viewer-shell{
    overflow:visible!important;
  }
  .ep-reader-full-mode .ep-viewer-shell>main{
    overflow:hidden!important;
    min-height:0!important;
  }
  .ep-reader-full-mode .ep-pdf-viewer{
    align-items:flex-start!important;
    justify-content:flex-start!important;
    overflow:auto!important;
    padding:0!important;
    border-radius:8px!important;
    box-shadow:none!important;
    scrollbar-width:thin;
  }
  .ep-reader-full-mode .ep-pdf-page{
    width:100%!important;
    max-width:none!important;
    margin:0 auto!important;
    box-shadow:0 1px 8px rgba(15,23,42,.08)!important;
  }
  .ep-reader-full-mode .ep-pdf-canvas{
    max-width:none!important;
  }
  .ep-reader-full-mode .ep-floating-page-nav{
    top:45%!important;
  }
  .ep-reader-full-mode .ep-reader-ad-sidebar{
    background:#fff!important;
  }
}
@media (max-width:980px){
  .ep-reader-full-mode .ep-pdf-viewer{
    background:#fff!important;
  }
}


/* V6.9.47: full-page reader is viewport-fitted, white, and scrollbar-free. */
body.ep-full-reader-active{overflow:hidden!important}
.ep-reader-page.ep-full-page-entry{overflow:hidden!important;margin-bottom:0!important}
.ep-reader-full-mode{overflow:hidden!important;background:#fff!important}
.ep-reader-full-mode .ep-viewer-shell,
.ep-reader-full-mode .ep-viewer-shell>main,
.ep-reader-full-mode .ep-pdf-viewer,
.ep-reader-full-mode .ep-pdf-page{background:#fff!important}
.ep-reader-full-mode .ep-viewer-shell{overflow:hidden!important}
.ep-reader-full-mode .ep-viewer-shell>main{overflow:hidden!important}
.ep-reader-full-mode .ep-pdf-viewer{overflow:hidden!important;scrollbar-width:none!important}
.ep-reader-full-mode .ep-pdf-viewer::-webkit-scrollbar{display:none!important;width:0!important;height:0!important}
.ep-reader-full-mode .ep-pdf-page{width:max-content!important;max-width:none!important;overflow:visible!important;box-shadow:none!important}
.ep-reader-full-mode .ep-pdf-canvas{display:block!important;background:#fff!important}
@media (min-width:981px){
  .ep-reader-full-mode .ep-viewer-shell{background:#fff!important}
  .ep-reader-full-mode .ep-reader-ad-sidebar{background:#fff!important;border-left:1px solid #eef0f2!important;overflow:hidden!important}
  .ep-reader-full-mode .ep-full-page-pages-strip .ep-pages-strip-list{overflow-y:auto!important;overflow-x:hidden!important;scrollbar-width:thin!important}
}
@media (max-width:980px){
  .ep-reader-full-mode .ep-full-page-pages-strip .ep-pages-strip-list{overflow-x:auto!important;overflow-y:hidden!important}
}


/* V6.9.48: Full-page reader uses the original PDF.js render, never a
   server-rasterized ImageMagick JPEG. The page fills the center column by
   width; the right column remains a white advertisement/widget area. The
   reader itself may be scrolled vertically when a full-width newspaper page
   is taller than the viewport, but scrollbar chrome is hidden. */
.ep-reader-full-mode .ep-viewer-shell,
.ep-reader-full-mode .ep-viewer-shell>main,
.ep-reader-full-mode .ep-pdf-viewer{
  background:#fff!important;
}
.ep-reader-full-mode .ep-viewer-shell{
  overflow:hidden!important;
}
.ep-reader-full-mode .ep-viewer-shell>main{
  overflow:hidden!important;
}
.ep-reader-full-mode .ep-pdf-viewer{
  display:flex!important;
  align-items:flex-start!important;
  justify-content:center!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  scrollbar-width:none!important;
  padding:0!important;
  border-radius:0!important;
  box-shadow:none!important;
}
.ep-reader-full-mode .ep-pdf-viewer::-webkit-scrollbar{
  width:0!important;
  height:0!important;
}
.ep-reader-full-mode .ep-pdf-page{
  display:block!important;
  width:max-content!important;
  max-width:none!important;
  margin:0 auto!important;
  background:#fff!important;
  box-shadow:none!important;
}
.ep-reader-full-mode .ep-pdf-canvas{
  display:block!important;
  background:#fff!important;
}
.ep-reader-full-mode .ep-reader-ad-sidebar{
  background:#fff!important;
}


/* =========================================================
   V6.9.49: Natural document scrolling + full-width desktop page
   The full-page ePaper view behaves like a normal long page, similar to a
   newspaper ePaper site: no nested vertical scrollbar and no viewport clamp.
   Desktop keeps left page navigation + center page + right ad space.
   Mobile keeps the existing bottom horizontal page strip.
   ========================================================= */
html,body{max-width:100%;overflow-x:hidden}
body.ep-full-reader-active{overflow-x:hidden!important;overflow-y:auto!important}
.ep-reader-page.ep-full-page-entry{height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important;margin-bottom:0!important}
.ep-reader-full-mode{height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important;background:#fff!important;display:block!important}
.ep-reader-full-mode .ep-full-reader-heading{position:relative!important;z-index:2!important;background:#fff!important}
.ep-reader-full-mode .ep-viewer-shell{height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important;background:#fff!important}
.ep-reader-full-mode .ep-viewer-shell>main{height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important;display:block!important;background:#fff!important}
.ep-reader-full-mode .ep-pdf-viewer{height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important;overflow-x:visible!important;overflow-y:visible!important;background:#fff!important;padding:0!important;border-radius:0!important;display:block!important;box-shadow:none!important}
.ep-reader-full-mode .ep-pdf-page{display:block!important;position:relative!important;width:100%!important;max-width:100%!important;height:auto!important;margin:0 auto!important;background:#fff!important;box-shadow:none!important;overflow:visible!important}
.ep-reader-full-mode .ep-pdf-page canvas{display:block!important;width:100%!important;max-width:100%!important;height:auto!important;background:#fff!important;position:relative!important;left:auto!important;top:auto!important}
.ep-reader-full-mode .ep-pdf-hotspots{overflow:visible!important}
.ep-reader-full-mode .ep-reader-ad-sidebar{background:#fff!important;min-height:0!important;overflow:visible!important;border-left:1px solid #eef0f2!important}

@media (min-width:981px){
  .ep-reader-full-mode{display:grid!important;grid-template-columns:minmax(125px,175px) minmax(0,1fr) minmax(250px,330px)!important;grid-template-rows:auto!important;column-gap:12px!important;row-gap:8px!important;align-items:start!important}
  .ep-reader-full-mode .ep-full-reader-heading{grid-column:1/-1!important;grid-row:1!important}
  .ep-reader-full-mode .ep-full-page-pages-strip{grid-column:1!important;grid-row:2!important;position:sticky!important;top:12px!important;width:100%!important;height:calc(100vh - 70px)!important;max-height:calc(100vh - 70px)!important;min-height:180px!important;margin:0!important;overflow:hidden!important;background:#fff!important;border:1px solid #e5e7eb!important;border-radius:8px!important;padding:5px!important;box-sizing:border-box!important}
  .ep-reader-full-mode .ep-full-page-pages-strip .ep-pages-strip-list{height:100%!important;max-height:none!important;overflow-y:auto!important;overflow-x:hidden!important;display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:7px!important;padding:1px 2px 6px!important;scrollbar-width:none!important;-ms-overflow-style:none!important}
  .ep-reader-full-mode .ep-full-page-pages-strip .ep-pages-strip-list::-webkit-scrollbar{display:none!important;width:0!important;height:0!important}
  .ep-reader-full-mode .ep-full-page-pages-strip .ep-strip-thumb{width:100%!important;max-width:none!important;min-width:0!important;height:auto!important;max-height:none!important;display:flex!important;flex-direction:column!important;align-items:stretch!important;background:#f8fafc!important}
  .ep-reader-full-mode .ep-full-page-pages-strip .ep-strip-thumb canvas{display:block!important;width:100%!important;height:auto!important;max-width:100%!important;background:#fff!important}
  .ep-reader-full-mode .ep-viewer-shell{grid-column:2/-1!important;grid-row:2!important;display:grid!important;grid-template-columns:minmax(0,1fr) minmax(250px,330px)!important;gap:12px!important;align-items:start!important;width:100%!important}
  .ep-reader-full-mode .ep-viewer-shell>main{grid-column:1!important;width:100%!important}
  .ep-reader-full-mode .ep-reader-ad-sidebar{grid-column:2!important;width:100%!important;min-width:0!important;position:sticky!important;top:12px!important;padding:8px!important;box-sizing:border-box!important}
  .ep-reader-full-mode .ep-floating-page-nav{position:fixed!important;top:50vh!important;transform:translateY(-50%)!important}
  .ep-reader-full-mode .ep-floating-prev{left:calc(175px + 20px)!important}
  .ep-reader-full-mode .ep-floating-next{right:calc(330px + 20px)!important}
}

@media (max-width:980px){
  .ep-reader-full-mode .ep-full-reader-heading{display:flex!important}
  .ep-reader-full-mode .ep-viewer-shell{display:block!important;width:100%!important;height:auto!important;overflow:visible!important}
  .ep-reader-full-mode .ep-reader-ad-sidebar{display:none!important}
  .ep-reader-full-mode .ep-pdf-viewer{width:100%!important;height:auto!important;overflow:visible!important}
  .ep-reader-full-mode .ep-pdf-page{width:100%!important;max-width:100%!important}
  .ep-reader-full-mode .ep-pdf-page canvas{width:100%!important;height:auto!important}
}

@media (max-width:620px){
  .ep-reader-page.ep-full-page-entry{padding-bottom:8px!important}
  .ep-reader-full-mode .ep-full-page-pages-strip{display:block!important;position:static!important;width:100%!important;height:auto!important;max-height:none!important;min-height:0!important;margin:4px 0!important;padding:3px 5px!important;overflow:hidden!important}
  .ep-reader-full-mode .ep-full-page-pages-strip .ep-pages-strip-list{width:100%!important;height:auto!important;max-height:none!important;overflow-x:auto!important;overflow-y:hidden!important;display:flex!important;flex-direction:row!important;align-items:flex-start!important;gap:5px!important;scrollbar-width:none!important}
  .ep-reader-full-mode .ep-full-page-pages-strip .ep-pages-strip-list::-webkit-scrollbar{display:none!important}
  .ep-reader-full-mode .ep-full-page-pages-strip .ep-strip-thumb{flex:0 0 72px!important;width:72px!important;min-width:72px!important;max-width:72px!important;height:auto!important}
  .ep-reader-full-mode .ep-full-page-pages-strip .ep-strip-thumb canvas{width:100%!important;height:auto!important;max-height:none!important}
  .ep-reader-full-mode .ep-full-page-pages-strip .ep-strip-thumb small{font-size:8px!important;line-height:12px!important;height:12px!important}
  .ep-reader-full-mode .ep-floating-page-nav{position:absolute!important;top:50%!important;transform:translateY(-50%)!important}
  .ep-reader-full-mode .ep-floating-prev{left:5px!important}
  .ep-reader-full-mode .ep-floating-next{right:5px!important}
}


/* V6.9.50: full-page navigation arrows stay inside the visible newspaper page edge. */
.ep-reader-full-mode .ep-floating-page-nav{
  position:fixed!important;
  top:50vh!important;
  transform:translateY(-50%)!important;
  width:44px!important;
  height:56px!important;
  min-width:44px!important;
  min-height:56px!important;
  padding:0!important;
  border-radius:50%!important;
  box-sizing:border-box!important;
  background:rgba(17,24,39,.58)!important;
  color:#fff!important;
  border:1px solid rgba(17,24,39,.14)!important;
  box-shadow:0 4px 16px rgba(15,23,42,.12)!important;
  pointer-events:auto!important;
}
.ep-reader-full-mode .ep-floating-page-nav:hover{background:rgba(17,24,39,.74)!important}
@media(max-width:980px){
  .ep-reader-full-mode .ep-floating-page-nav{width:38px!important;height:52px!important;min-width:38px!important;min-height:52px!important}
}

/* V6.9.50: clipping detail is a normal document view with natural browser scrolling. */
body.ep-natural-clip-open{overflow-x:hidden!important;overflow-y:auto!important;background:#fff!important}
body.ep-natural-clip-open>*:not(.ep-natural-clip-modal){display:none!important}
.ep-natural-clip-modal{position:static!important;inset:auto!important;display:none!important;align-items:initial!important;justify-content:initial!important;width:100%!important;max-width:none!important;padding:0!important;background:#fff!important;z-index:auto!important}
.ep-natural-clip-modal.open{display:block!important}
.ep-natural-clip-modal .ep-modal-card{width:100%!important;min-height:100vh!important;max-width:none!important;max-height:none!important;margin:0!important;padding:0!important;border-radius:0!important;overflow:visible!important;background:#fff!important;box-shadow:none!important}
.ep-natural-clip-modal .ep-clip-content{min-height:100vh!important;background:#fff!important}
.ep-natural-clip-modal .ep-clip-detail{min-height:100vh!important;background:#fff!important;color:#111827!important}
.ep-natural-clip-modal .ep-clip-detail-topbar{position:sticky!important;top:0!important;z-index:20!important;background:#fff!important}
.ep-natural-clip-modal .ep-clip-detail-image-wrap{width:100%!important;padding:18px 18px 8px!important;background:#fff!important;box-sizing:border-box!important}
.ep-natural-clip-modal .ep-clip-detail-image{display:block!important;width:100%!important;max-width:1400px!important;height:auto!important;max-height:none!important;object-fit:contain!important;margin:0 auto!important;box-shadow:none!important;background:#fff!important}
.ep-natural-clip-modal .ep-clip-detail-actions{position:relative!important;background:#fff!important;justify-content:center!important}
@media(max-width:760px){
  .ep-natural-clip-modal .ep-clip-detail-image-wrap{padding:8px 8px 4px!important}
  .ep-natural-clip-modal .ep-clip-detail-image{width:100%!important;max-width:none!important}
  .ep-natural-clip-modal .ep-clip-detail-topbar{position:sticky!important;top:0!important}
}


/* V6.9.52: Desktop news-clipping view matches the proven mobile behavior.
 * Fit the clipping to the browser viewport width, preserve its aspect ratio,
 * and let the normal website document provide vertical scrolling. Never create
 * a horizontal/inner scrollbar for the clipping itself. */
body.ep-natural-clip-open{
  overflow-x:hidden!important;
  overflow-y:auto!important;
}
html.ep-natural-clip-open,
html body.ep-natural-clip-open{
  max-width:100vw!important;
  width:100%!important;
}
.ep-natural-clip-modal,
.ep-natural-clip-modal.open{
  width:100vw!important;
  max-width:100vw!important;
  margin:0!important;
  padding:0!important;
  overflow:visible!important;
}
.ep-natural-clip-modal .ep-modal-card,
.ep-natural-clip-modal .ep-clip-content,
.ep-natural-clip-modal .ep-clip-detail{
  width:100%!important;
  max-width:none!important;
  overflow:visible!important;
}
.ep-natural-clip-modal .ep-clip-detail-image-wrap{
  width:100vw!important;
  max-width:100vw!important;
  padding:12px 0 8px!important;
  margin:0!important;
  box-sizing:border-box!important;
  overflow:visible!important;
}
.ep-natural-clip-modal .ep-clip-detail-image{
  display:block!important;
  width:auto!important;
  height:auto!important;
  max-width:calc(100vw - 24px)!important;
  min-width:0!important;
  margin:0 auto!important;
  object-fit:contain!important;
  object-position:center top!important;
  box-sizing:border-box!important;
  box-shadow:none!important;
  background:#fff!important;
}
@media(min-width:621px){
  .ep-natural-clip-modal .ep-clip-detail-image{
    max-width:calc(100vw - 32px)!important;
  }
  .ep-natural-clip-modal .ep-clip-detail-image-wrap{
    padding-left:0!important;
    padding-right:0!important;
  }
}
@media(max-width:620px){
  .ep-natural-clip-modal .ep-clip-detail-image{
    width:100%!important;
    max-width:100%!important;
  }
}


/* V6.9.54: Desktop page thumbnail rail follows the full newspaper page height.
 * The rail is part of the normal document flow instead of being a viewport-height
 * sticky box. It stretches alongside the main page, with only its thumbnail list
 * scrolling internally when the number of pages exceeds the available rail height.
 */
@media (min-width:981px){
  .ep-reader-full-mode{
    align-items:stretch!important;
  }
  .ep-reader-full-mode .ep-full-page-pages-strip{
    position:static!important;
    top:auto!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    align-self:stretch!important;
    display:flex!important;
    flex-direction:column!important;
    overflow:hidden!important;
    box-sizing:border-box!important;
  }
  .ep-reader-full-mode .ep-full-page-pages-strip .ep-pages-strip-list{
    flex:1 1 auto!important;
    min-height:0!important;
    height:auto!important;
    max-height:none!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    overscroll-behavior:contain!important;
    -webkit-overflow-scrolling:touch!important;
  }
  .ep-reader-full-mode .ep-viewer-shell{
    align-self:stretch!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
  }
  .ep-reader-full-mode .ep-viewer-shell>main{
    height:auto!important;
    min-height:0!important;
  }
  .ep-reader-full-mode .ep-reader-ad-sidebar{
    height:auto!important;
    min-height:0!important;
    position:sticky!important;
    top:12px!important;
    align-self:start!important;
  }
}

/* V6.9.54: Desktop page thumbnails are an open rail, not a bordered box.
 * The rail itself follows the exact height of the main newspaper content. */
@media (min-width:981px){
  .ep-reader-full-mode .ep-full-page-pages-strip{
    background:transparent!important;
    border:0!important;
    border-radius:0!important;
    padding:0!important;
    margin:0!important;
    box-shadow:none!important;
    overflow:visible!important;
    align-self:stretch!important;
    height:100%!important;
    min-height:100%!important;
    max-height:none!important;
    box-sizing:border-box!important;
  }
  .ep-reader-full-mode .ep-full-page-pages-strip .ep-pages-strip-list{
    width:100%!important;
    height:100%!important;
    max-height:none!important;
    min-height:0!important;
    padding:0 2px 0 0!important;
    margin:0!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    background:transparent!important;
  }
  .ep-reader-full-mode .ep-full-page-pages-strip .ep-strip-thumb{
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    margin:0 0 8px 0!important;
    padding:3px!important;
    border:1px solid transparent!important;
    border-radius:8px!important;
    background:#f8fafc!important;
    box-shadow:none!important;
    box-sizing:border-box!important;
  }
  .ep-reader-full-mode .ep-full-page-pages-strip .ep-strip-thumb:last-child{margin-bottom:0!important;}
  .ep-reader-full-mode .ep-full-page-pages-strip .ep-strip-thumb.active{
    border-color:var(--ep-accent)!important;
  }
  .ep-reader-full-mode .ep-full-page-pages-strip .ep-strip-thumb canvas{
    width:100%!important;
    height:auto!important;
    max-width:100%!important;
    display:block!important;
    background:#fff!important;
  }
}


/* V6.9.55: Desktop page rail height is synchronized to the actual main
 * newspaper page height. The open rail ends exactly with the newspaper page. */
@media (min-width:981px){
  .ep-reader-full-mode .ep-full-page-pages-strip{
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    align-self:start!important;
    background:transparent!important;
    border:0!important;
    border-radius:0!important;
    padding:0!important;
    margin:0!important;
    box-shadow:none!important;
    overflow:hidden!important;
    box-sizing:border-box!important;
  }
  .ep-reader-full-mode .ep-full-page-pages-strip .ep-pages-strip-list{
    height:100%!important;
    max-height:none!important;
    min-height:0!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    background:transparent!important;
    scrollbar-width:none!important;
  }
  .ep-reader-full-mode .ep-full-page-pages-strip .ep-pages-strip-list::-webkit-scrollbar{display:none!important;width:0!important;height:0!important}
}

/* V6.9.56: Full-page compact selection bar. Four dropdowns replace the old
   issue heading while preserving the same single-line footprint. */
.ep-reader-full-mode .ep-full-reader-select-bar{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  align-items:center!important;
  gap:7px!important;
  width:100%!important;
  height:30px!important;
  min-height:30px!important;
  margin:0!important;
  padding:3px 6px!important;
  border:0!important;
  border-radius:6px!important;
  background:#fff!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
}
.ep-reader-full-mode .ep-full-reader-select-group{
  min-width:0!important;
  width:100%!important;
}
.ep-reader-full-mode .ep-full-reader-select{
  display:block!important;
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  height:24px!important;
  min-height:24px!important;
  margin:0!important;
  padding:1px 7px!important;
  border:1px solid #d7dde5!important;
  border-radius:5px!important;
  background:#fff!important;
  color:#1f2937!important;
  font-family:inherit!important;
  font-size:11px!important;
  font-weight:600!important;
  line-height:20px!important;
  box-sizing:border-box!important;
  appearance:auto!important;
  -webkit-appearance:auto!important;
}
.ep-reader-full-mode .ep-full-reader-select:focus{
  outline:2px solid rgba(14,116,144,.18)!important;
  outline-offset:1px!important;
  border-color:#94a3b8!important;
}
@media(max-width:980px){
  .ep-reader-full-mode .ep-full-reader-select-bar{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:4px!important;
    height:28px!important;
    min-height:28px!important;
    padding:2px 4px!important;
  }
  .ep-reader-full-mode .ep-full-reader-select{
    height:23px!important;
    min-height:23px!important;
    padding:1px 5px!important;
    font-size:9px!important;
    font-weight:600!important;
  }
}
@media(max-width:420px){
  .ep-reader-full-mode .ep-full-reader-select-bar{gap:3px!important;padding:2px 3px!important}
  .ep-reader-full-mode .ep-full-reader-select{font-size:8.5px!important;padding-inline:4px!important}
}



/* V6.9.57: Four selector bar inside the News Clips gallery, identical in density
 * to the full-page reader selector bar and positioned directly above Back/zoom/close. */
.ep-clip-gallery-shell{
  grid-template-rows:30px 68px 108px minmax(0,1fr) auto auto!important;
}
.ep-clip-gallery-selection-bar{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  align-items:center!important;
  gap:7px!important;
  width:100%!important;
  height:30px!important;
  min-height:30px!important;
  margin:0!important;
  padding:3px 6px!important;
  background:#fff!important;
  border-bottom:1px solid #e5e7eb!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
  color:#1f2937!important;
}
.ep-clip-gallery-select-group{min-width:0!important;width:100%!important;}
.ep-clip-gallery-select{
  display:block!important;
  width:100%!important;
  min-width:0!important;
  height:24px!important;
  min-height:24px!important;
  margin:0!important;
  padding:1px 7px!important;
  border:1px solid #d7dde5!important;
  border-radius:5px!important;
  background:#fff!important;
  color:#1f2937!important;
  font-family:inherit!important;
  font-size:11px!important;
  font-weight:600!important;
  line-height:20px!important;
  box-sizing:border-box!important;
}
.ep-clip-gallery-select:focus{outline:2px solid rgba(14,116,144,.18)!important;outline-offset:1px!important;border-color:#94a3b8!important;}
@media(max-width:620px){
  .ep-clip-gallery-shell{grid-template-rows:30px 104px 54px minmax(0,1fr) auto auto!important;}
  .ep-clip-gallery-selection-bar{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:4px!important;height:30px!important;min-height:30px!important;padding:2px 4px!important;}
  .ep-clip-gallery-select{height:23px!important;min-height:23px!important;padding:1px 5px!important;font-size:9px!important;font-weight:600!important;}
}
@media(max-width:420px){
  .ep-clip-gallery-selection-bar{gap:3px!important;padding:2px 3px!important;}
  .ep-clip-gallery-select{font-size:8.5px!important;padding-inline:4px!important;}
}
/* When thumbnails are hidden, keep the selector bar + control bar and give the stage all freed space. */
.ep-clip-gallery-shell.is-thumbs-hidden{grid-template-rows:30px 68px minmax(0,1fr) auto auto!important;}
@media(max-width:620px){.ep-clip-gallery-shell.is-thumbs-hidden{grid-template-rows:30px 104px 0 minmax(0,1fr) auto auto!important;}}


/* V6.9.63: stable full-page surface. Keep the page white and avoid the dark
 * viewer background while the PDF canvas is rendered. The document itself
 * remains naturally scrollable when a page is taller than the viewport. */
.ep-reader-full-mode .ep-pdf-viewer{
  background:#fff!important;
  overflow:visible!important;
  align-items:flex-start!important;
  justify-content:center!important;
  min-height:0!important;
  padding:0!important;
  border-radius:0!important;
}
.ep-reader-full-mode .ep-pdf-page{
  background:#fff!important;
  box-shadow:none!important;
  overflow:visible!important;
}
.ep-reader-full-mode .ep-pdf-canvas{
  background:#fff!important;
  display:block!important;
}
@media(max-width:620px){
  .ep-reader-full-mode .ep-pdf-viewer{min-height:0!important;height:auto!important;max-height:none!important;}
}
@media(min-width:981px){
  .ep-reader-full-mode .ep-pdf-viewer{min-height:0!important;height:auto!important;max-height:none!important;}
}

/* V6.9.64: Hide desktop full-reader page thumbnails that do not belong to the selected Regional Page. */
.ep-reader-full-mode .ep-full-page-pages-strip .ep-strip-thumb.is-region-hidden{display:none!important;}


/* V6.9.66: desktop vertical page-rail numbering uses a clear compact button label. */
@media (min-width:981px){
  .ep-reader-full-mode .ep-full-page-pages-strip .ep-strip-thumb small{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:100%!important;
    min-height:26px!important;
    height:auto!important;
    line-height:1.15!important;
    margin:4px 0 0!important;
    padding:5px 6px!important;
    box-sizing:border-box!important;
    border:1px solid #d5dbe3!important;
    border-radius:7px!important;
    background:#eef2f7!important;
    color:#111827!important;
    font-size:11px!important;
    font-weight:800!important;
    letter-spacing:.1px!important;
    text-align:center!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  .ep-reader-full-mode .ep-full-page-pages-strip .ep-strip-thumb:hover small{
    background:#e2e8f0!important;
    border-color:#cbd5e1!important;
  }
  .ep-reader-full-mode .ep-full-page-pages-strip .ep-strip-thumb.active small{
    background:var(--ep-accent)!important;
    border-color:var(--ep-accent)!important;
    color:#fff!important;
    font-weight:900!important;
  }
}

/* V6.9.66: compact responsive frontend workspace + employee entry UI */
.ep-public-card{box-sizing:border-box}
.ep-dashboard-actions{display:flex;gap:7px;flex-wrap:wrap;align-items:center}
.ep-employee-dashboard .ep-wrap,.ep-employee-mapping .ep-wrap{max-width:1500px;padding-top:14px;padding-bottom:18px}
.ep-employee-dashboard-head,.ep-map-front-head{padding:14px 16px!important}
.ep-employee-dashboard-head h1,.ep-map-front-head h1{font-size:22px!important;line-height:1.15!important;margin:2px 0 3px!important}
.ep-employee-dashboard-head p,.ep-map-front-head p{font-size:11px!important;line-height:1.35!important}
.ep-employee-dashboard .ep-public-card{margin-bottom:10px!important}
.ep-employee-upload-form{display:grid;grid-template-columns:1.15fr .9fr .65fr;gap:9px!important;align-items:end}
.ep-employee-upload-form>label{display:flex;flex-direction:column;gap:4px;min-width:0}
.ep-employee-upload-form label>span{font-size:10px;font-weight:800;color:#334155}
.ep-employee-upload-form input,.ep-employee-upload-form select,.ep-employee-upload-form textarea{width:100%;min-width:0;box-sizing:border-box;padding:9px 10px;border:1px solid #cbd5e1;border-radius:8px;background:#fff;font:inherit}
.ep-employee-upload-form textarea{min-height:70px}
.ep-employee-upload-form label.full{grid-column:1/-1}
.ep-employee-upload-form>button{grid-column:1/-1;justify-self:end;min-height:38px}
.ep-employee-issue-list{overflow-x:auto}
.ep-employee-issue-list table{min-width:680px;font-size:11px}
.ep-employee-issue-list th,.ep-employee-issue-list td{padding:7px 8px}

/* Front-end mapping: selectors and tools sit close to the map without tall empty blocks. */
.ep-frontend-map-wrap{padding-top:10px!important}
.ep-map-front-head{display:flex!important;justify-content:space-between!important;align-items:center!important;gap:10px!important}
.ep-map-front-selects{padding:8px 10px!important}
.ep-map-front-selects .ep-map-selects{gap:7px!important}
.ep-map-front-selects label{gap:3px!important}
.ep-map-front-selects label>span{font-size:9px!important}
.ep-map-front-selects select{min-width:170px!important;height:36px!important;padding:0 8px!important;font-size:12px!important}
.ep-map-front-selects .ep-map-nav{font-size:10px!important}
.ep-front-map-card{border-radius:10px!important}
.ep-front-map-card .ep-map-toolbar-v5{padding:6px 7px!important;gap:5px!important}
.ep-front-map-card .button{min-height:34px!important;padding:6px 8px!important;font-size:11px!important}
.ep-front-map-grid{grid-template-columns:minmax(0,1fr) 310px!important}
.ep-front-map-grid .ep-map-canvas-wrap{height:calc(100vh - 285px)!important;min-height:360px!important;max-height:none!important;overflow:auto!important;padding:8px!important;background:#f3f4f6!important}
.ep-front-map-side{max-height:calc(100vh - 245px)!important;overflow:auto!important}
.ep-front-map-side .ep-clip-list{max-height:150px!important}
.ep-front-map-side .ep-clip-form-v5{padding:10px!important}
.ep-front-map-side .ep-clip-form-v5 label{gap:4px!important;margin-top:7px!important}
.ep-front-map-side .ep-clip-form-v5 label>span{font-size:10px!important}
.ep-front-map-side .ep-clip-form-v5 input,.ep-front-map-side .ep-clip-form-v5 select,.ep-front-map-side .ep-clip-form-v5 textarea{min-height:34px!important;font-size:12px!important}
.ep-front-map-side .ep-clip-form-v5 textarea{min-height:70px!important}

@media(max-width:1050px){
  .ep-front-map-grid{grid-template-columns:1fr!important}
  .ep-front-map-side{max-height:none!important;overflow:visible!important}
  .ep-front-map-grid .ep-map-canvas-wrap{height:min(66svh,720px)!important}
}
@media(max-width:782px){
  .ep-employee-dashboard .ep-wrap,.ep-employee-mapping .ep-wrap{padding:9px 9px 14px!important}
  .ep-map-front-head{flex-direction:column!important;align-items:flex-start!important}
  .ep-map-front-head .ep-dashboard-actions{width:100%}
  .ep-dashboard-actions .ep-btn{min-height:40px}
  .ep-employee-upload-form{grid-template-columns:1fr!important}
  .ep-employee-upload-form label.full{grid-column:auto}
  .ep-employee-upload-form>button{grid-column:auto;justify-self:stretch}
  .ep-map-front-selects .ep-map-selects{display:grid!important;grid-template-columns:1fr 1fr!important;width:100%!important}
  .ep-map-front-selects select{min-width:0!important;width:100%!important}
  .ep-map-front-selects .ep-map-nav{width:100%;justify-content:space-between}
  .ep-front-map-grid .ep-map-canvas-wrap{height:58svh!important;min-height:330px!important}
  .ep-front-map-card .ep-map-toolbar-v5{grid-template-columns:1fr 1fr!important;display:grid!important}
  .ep-front-map-card .ep-map-tools-left,.ep-front-map-card .ep-map-tools-right{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;width:100%!important}
  .ep-front-map-card .ep-map-tools-left .button,.ep-front-map-card .ep-map-tools-right .button{width:100%!important}
}
@media(max-width:520px){
  .ep-map-front-selects .ep-map-selects{grid-template-columns:1fr!important}
  .ep-front-map-card .ep-map-toolbar-v5{grid-template-columns:1fr!important}
  .ep-front-map-card .ep-map-tools-left,.ep-front-map-card .ep-map-tools-right{grid-template-columns:1fr 1fr!important}
}


/* V6.9.67: compact, responsive Regional Page assignment in front-end Mapping. */
.ep-regional-front-notice{margin:6px 0 8px!important;padding:8px 10px!important;font-size:12px!important}
.ep-map-selects-four{grid-template-columns:repeat(4,minmax(0,1fr))!important;align-items:end!important}
.ep-regional-front-field{display:flex;flex-direction:column;gap:6px;min-width:0}.ep-regional-front-field>span{font-size:12px;font-weight:700;color:#2c3338}.ep-regional-front-assign{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px;align-items:center;margin:0}
.ep-regional-front-assign select{min-width:0!important;width:100%!important}
.ep-regional-front-assign .ep-btn{min-height:36px!important;padding:7px 11px!important;white-space:nowrap}
@media(max-width:900px){.ep-map-selects-four{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:520px){.ep-map-selects-four{grid-template-columns:1fr!important}.ep-regional-front-assign{grid-template-columns:minmax(0,1fr) auto}}

/* v6.9.70 frontend mapping overrides */
.ep-front-select-row{display:grid!important;grid-template-columns:minmax(150px,1fr) minmax(150px,1fr) minmax(150px,1fr) minmax(190px,1.15fr)!important;align-items:end!important;width:100%!important;gap:8px!important}
.ep-front-select-row>label,.ep-front-select-row .ep-regional-front-field{min-width:0!important;width:100%!important}
.ep-front-select-row select{width:100%!important;min-width:0!important;height:40px!important}
.ep-front-select-row .ep-regional-front-field>span{display:block;font-size:10px;text-transform:uppercase;letter-spacing:.05em;font-weight:900;color:#64748b;margin-bottom:4px}
.ep-regional-front-assign{display:grid!important;grid-template-columns:minmax(0,1fr) auto;gap:6px;align-items:end}
.ep-regional-front-assign select{width:100%!important;min-width:0!important;height:40px!important;border:1px solid #cbd5e1;border-radius:8px;padding:0 10px;background:#fff;font:inherit}
.ep-regional-front-assign .ep-btn{height:40px;display:inline-flex;align-items:center;justify-content:center;padding:0 13px;white-space:nowrap}
.ep-clip-list-head .ep-clip-head-actions{display:flex;align-items:center;gap:6px}
.ep-clip-list-head #ep-delete-box{order:1}
.ep-clip-list-head #ep-new-clip{order:2}
.ep-top-clip-actions{display:flex!important;gap:6px;padding:7px 9px;border-bottom:1px solid #eee;background:#fafafa}
.ep-top-clip-actions .button{min-height:34px;flex:1;justify-content:center}
@media(max-width:960px){.ep-front-select-row{grid-template-columns:repeat(2,minmax(0,1fr))!important}.ep-front-select-row .ep-regional-front-field{grid-column:1/-1}}
@media(max-width:640px){.ep-front-select-row{grid-template-columns:1fr!important}.ep-front-select-row .ep-regional-front-field{grid-column:auto}}


/* V6.9.73 frontend mapping header + compact selector refinement. */
.ep-map-front-head{display:flex!important;justify-content:space-between!important;align-items:flex-start!important;gap:12px!important;padding:7px 10px!important;min-height:0!important}
.ep-front-map-identity{display:flex!important;align-items:baseline!important;gap:8px!important;min-width:0!important;flex:1 1 auto!important;white-space:nowrap!important;overflow:hidden!important}
.ep-front-map-label{font-size:9px!important;font-weight:900!important;letter-spacing:.08em!important;color:#c79a00!important;flex:0 0 auto!important}
.ep-front-map-identity>strong{font-size:17px!important;line-height:1.1!important;color:#111827!important;flex:0 0 auto!important}
.ep-front-map-meta{font-size:10px!important;line-height:1.2!important;color:#64748b!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;min-width:0!important}
.ep-map-front-head .ep-dashboard-actions{display:flex!important;align-items:flex-start!important;gap:6px!important;flex:0 0 auto!important;margin-top:-4px!important}
.ep-map-front-head .ep-dashboard-actions .ep-btn{min-height:34px!important;padding:6px 11px!important;font-size:11px!important;line-height:1!important}
.ep-front-select-row{grid-template-columns:minmax(0,1.05fr) minmax(0,1fr) minmax(0,1fr) minmax(210px,1.15fr)!important;gap:7px!important}
.ep-map-front-selects{padding:6px 8px!important;gap:8px!important}
.ep-front-select-row label>span,.ep-regional-front-field>span{font-size:9px!important;line-height:1!important;margin-bottom:3px!important}
.ep-front-select-row select,.ep-regional-front-assign select{height:35px!important;min-height:35px!important;font-size:12px!important;padding:0 8px!important}
.ep-regional-front-assign{gap:5px!important}
.ep-regional-front-assign .ep-btn{height:35px!important;min-height:35px!important;padding:0 10px!important;font-size:11px!important}
.ep-map-front-selects .ep-map-nav{font-size:10px!important}
@media (max-width:1100px){
  .ep-front-select-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1fr) minmax(190px,1.1fr)!important}
}
@media (max-width:900px){
  .ep-map-front-head{padding:7px 9px!important}
  .ep-front-map-identity{white-space:normal!important;flex-wrap:wrap!important;row-gap:2px!important}
  .ep-front-map-identity>strong{font-size:16px!important}
  .ep-front-map-meta{flex:1 1 100%!important}
}
@media (max-width:620px){
  .ep-map-front-head{gap:7px!important}
  .ep-map-front-head .ep-dashboard-actions{margin-top:-2px!important}
  .ep-map-front-head .ep-dashboard-actions .ep-btn{min-height:32px!important;padding:6px 9px!important;font-size:10px!important}
  .ep-front-map-label{font-size:8px!important}
  .ep-front-map-identity>strong{font-size:15px!important}
  .ep-front-map-meta{font-size:10px!important}
  .ep-map-front-selects{padding:5px 7px!important}
}

/* V6.9.74: employee dashboard compact identity + half-width issue upload + live progress. */
.ep-employee-dashboard-head .ep-employee-dashboard-identity{display:flex!important;align-items:baseline!important;gap:10px!important;min-width:0!important;flex:1 1 auto!important;white-space:nowrap!important}
.ep-employee-dashboard-head .ep-employee-dashboard-identity .ep-section-kicker{margin:0!important;font-size:9px!important;line-height:1!important;flex:0 0 auto!important}
.ep-employee-dashboard-head .ep-employee-dashboard-identity h1{font-size:19px!important;line-height:1.1!important;margin:0!important;flex:0 0 auto!important}
.ep-employee-dashboard-head .ep-employee-dashboard-identity p{font-size:10px!important;line-height:1.2!important;margin:0!important;color:#64748b!important;overflow:hidden!important;text-overflow:ellipsis!important;min-width:0!important}
.ep-employee-dashboard-head .ep-dashboard-actions{align-self:flex-start!important;margin-top:-6px!important;flex:0 0 auto!important}
.ep-employee-dashboard #upload-issue{width:50%!important;max-width:760px!important}
.ep-upload-progress-box{margin-top:7px;padding:8px 10px;border:1px solid #d7dde5;border-radius:9px;background:#f8fafc}
.ep-upload-file-line,.ep-upload-progress-meta{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:10px;line-height:1.25}
.ep-upload-file-name{font-size:11px;color:#172033;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}.ep-upload-file-size{color:#64748b;flex:0 0 auto}
.ep-upload-progress-track{height:7px;background:#e5e7eb;border-radius:999px;overflow:hidden;margin:6px 0 4px}.ep-upload-progress-fill{display:block;height:100%;width:0;background:var(--ep-accent);border-radius:999px;transition:width .12s linear}
.ep-upload-progress-label{color:#64748b}.ep-upload-progress-percent{font-weight:800;color:#334155}.ep-upload-progress-box.is-success{border-color:#b7dfbf;background:#f3fbf5}.ep-upload-progress-box.is-success .ep-upload-progress-fill{background:#15803d}.ep-upload-progress-box.is-error{border-color:#efb3b3;background:#fff7f7}.ep-upload-progress-box.is-error .ep-upload-progress-fill{background:#dc2626}.ep-upload-progress-box.is-processing .ep-upload-progress-fill{background:#2563eb;animation:epUploadPulse 1.2s ease-in-out infinite}.ep-upload-refresh{margin-left:6px;font-weight:700;color:#2271b1;text-decoration:none}
@keyframes epUploadPulse{0%,100%{opacity:.55}50%{opacity:1}}
@media(max-width:980px){.ep-employee-dashboard #upload-issue{width:100%!important;max-width:none!important}}
@media(max-width:782px){.ep-employee-dashboard-head .ep-employee-dashboard-identity{flex-wrap:wrap!important;row-gap:2px!important;white-space:normal!important}.ep-employee-dashboard-head .ep-employee-dashboard-identity p{flex:1 1 100%!important}.ep-employee-dashboard-head .ep-dashboard-actions{margin-top:0!important}}
\n\n/* V6.9.75: stable News Clips gallery row placement. Keep the selector bar,\n   controls, thumbnail carousel and clipping stage in explicit grid rows so\n   later responsive rules cannot collapse the selector controls. */\n.ep-clip-gallery-shell{\n  position:relative!important;\n  grid-template-rows:30px 68px minmax(0,1fr) auto auto!important;\n}\n.ep-clip-gallery-selection-bar{\n  grid-row:1!important;\n  display:grid!important;\n  visibility:visible!important;\n  opacity:1!important;\n  position:relative!important;\n  z-index:70!important;\n}\n.ep-clip-gallery-topbar{grid-row:2!important;}\n.ep-clip-gallery-mobile-thumbs{grid-row:3!important;}\n.ep-clip-gallery-stage{grid-row:4!important;position:relative!important;z-index:1!important;}\n.ep-clip-gallery-bottombar{grid-row:5!important;}\n.ep-gallery-hint{grid-row:6!important;}\n.ep-clip-gallery-mobile-thumbs{display:flex!important;}\n.ep-clip-gallery-selection-bar select{\n  pointer-events:auto!important;\n  cursor:pointer!important;\n}\n@media(max-width:620px){\n  .ep-clip-gallery-shell{\n    grid-template-rows:30px 104px 54px minmax(0,1fr) auto auto!important;\n  }\n  .ep-clip-gallery-selection-bar{grid-row:1!important;}\n  .ep-clip-gallery-topbar{grid-row:2!important;}\n  .ep-clip-gallery-mobile-thumbs{grid-row:3!important;}\n  .ep-clip-gallery-stage{grid-row:4!important;}\n  .ep-clip-gallery-bottombar{grid-row:5!important;}\n  .ep-gallery-hint{grid-row:6!important;}\n}\n\n\n.ep-clip-gallery-shell.is-thumbs-hidden{\n  grid-template-rows:30px 68px 0 minmax(0,1fr) auto auto!important;\n}\n@media(max-width:620px){\n  .ep-clip-gallery-shell.is-thumbs-hidden{\n    grid-template-rows:30px 104px 0 minmax(0,1fr) auto auto!important;\n  }\n}\n\n/* V6.9.75: keep the mobile menu control above the backdrop. */\n@media(max-width:980px){\n  .ep-header{z-index:1400!important;}\n  .ep-header .ep-mobile-menu-toggle{\n    position:relative!important;\n    z-index:1402!important;\n    pointer-events:auto!important;\n  }\n  .ep-header .ep-nav{z-index:1401!important;}\n  .ep-header .ep-nav-backdrop{z-index:1400!important;}\n}\n

/* V6.9.76: Desktop full-page thumbnail rail follows the real newspaper row. */
@media (min-width:981px){
  .ep-reader-full-mode{align-items:stretch!important;}
  .ep-reader-full-mode .ep-full-page-pages-strip{
    align-self:stretch!important;height:100%!important;min-height:0!important;max-height:none!important;
    position:relative!important;top:auto!important;margin:0!important;padding:0!important;
    background:transparent!important;border:0!important;box-shadow:none!important;overflow:hidden!important;
  }
  .ep-reader-full-mode .ep-full-page-pages-strip .ep-pages-strip-list{
    height:100%!important;min-height:0!important;max-height:none!important;
    overflow-y:auto!important;overflow-x:hidden!important;padding:0 2px 0 0!important;margin:0!important;
    scrollbar-width:none!important;-ms-overflow-style:none!important;
  }
  .ep-reader-full-mode .ep-full-page-pages-strip .ep-pages-strip-list::-webkit-scrollbar{display:none!important;width:0!important;height:0!important;}
}

/* V6.9.76: Make the mobile Menu control reliably tappable and keep its expanded
   navigation in a full-width row directly below the header action row. */
@media (max-width:980px){
  .ep-header{position:sticky!important;top:0!important;z-index:1600!important;}
  .ep-header .ep-header-inner{position:relative!important;z-index:1601!important;width:100%!important;box-sizing:border-box!important;overflow:visible!important;}
  .ep-header .ep-mobile-menu-toggle{
    display:inline-flex!important;position:relative!important;z-index:1605!important;pointer-events:auto!important;
    touch-action:manipulation!important;-webkit-tap-highlight-color:transparent!important;cursor:pointer!important;
  }
  .ep-header .ep-nav{
    order:100!important;flex:0 0 100%!important;width:100%!important;max-width:100%!important;min-width:0!important;
    box-sizing:border-box!important;position:relative!important;left:auto!important;right:auto!important;top:auto!important;
    z-index:1602!important;margin:0!important;
  }
  .ep-header .ep-nav:not(.is-open){display:none!important;visibility:hidden!important;pointer-events:none!important;}
  .ep-header .ep-nav.is-open{display:flex!important;visibility:visible!important;pointer-events:auto!important;}
  .ep-header .ep-nav-backdrop{display:none!important;visibility:hidden!important;pointer-events:none!important;}
  body.ep-menu-open{overflow-x:hidden!important;}
}


/* V6.9.77: final responsive reader/gallery geometry and universal desktop Menu.
 * Keep the mobile clip thumbnail rail immediately below the controls with no
 * oversized grid row, and make the header Menu button functional on desktop
 * as well as mobile without changing the secondary green navigation strip. */
@media (min-width:981px){
  .ep-header{z-index:1700!important;overflow:visible!important;}
  .ep-header-inner{position:relative!important;overflow:visible!important;}
  .ep-header .ep-mobile-menu-toggle{
    display:inline-flex!important;
    position:relative!important;
    flex:0 0 auto!important;
    min-width:108px!important;
    height:42px!important;
    min-height:42px!important;
    padding:8px 12px!important;
    align-items:center!important;
    justify-content:center!important;
    gap:7px!important;
    margin-left:0!important;
    z-index:1705!important;
    pointer-events:auto!important;
    touch-action:manipulation!important;
    cursor:pointer!important;
    box-sizing:border-box!important;
  }
  .ep-header .ep-nav{
    position:absolute!important;
    left:0!important;
    right:0!important;
    top:100%!important;
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    display:none!important;
    flex:0 0 auto!important;
    flex-wrap:wrap!important;
    align-items:center!important;
    gap:8px!important;
    padding:10px 18px!important;
    background:#fff!important;
    border:1px solid var(--ep-border)!important;
    border-top:0!important;
    border-radius:0 0 12px 12px!important;
    box-shadow:0 12px 30px rgba(15,23,42,.14)!important;
    overflow:auto!important;
    z-index:1704!important;
    box-sizing:border-box!important;
  }
  .ep-header .ep-nav.is-open{
    display:flex!important;
    visibility:visible!important;
    pointer-events:auto!important;
  }
  .ep-header .ep-nav:not(.is-open){
    visibility:hidden!important;
    pointer-events:none!important;
  }
  .ep-header .ep-nav-backdrop{display:none!important;}
}

@media (max-width:620px){
  /* Keep the clip thumbnail carousel directly under the compact control bar. */
  .ep-clip-gallery-shell{
    grid-template-rows:30px 78px 86px minmax(0,1fr) auto auto!important;
  }
  .ep-clip-gallery-selection-bar{grid-row:1!important;height:30px!important;min-height:30px!important;}
  .ep-clip-gallery-topbar{
    grid-row:2!important;
    height:78px!important;
    min-height:78px!important;
    max-height:78px!important;
    padding:4px 7px!important;
    align-self:start!important;
  }
  .ep-clip-gallery-mobile-thumbs{
    grid-row:3!important;
    align-self:start!important;
    height:86px!important;
    min-height:86px!important;
    max-height:86px!important;
    margin:0!important;
    padding:4px 8px!important;
    gap:7px!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
  }
  .ep-gallery-thumb{
    flex:0 0 78px!important;
    width:78px!important;
    min-width:78px!important;
    max-width:78px!important;
    height:78px!important;
    min-height:78px!important;
    max-height:78px!important;
    align-self:center!important;
  }
  .ep-clip-gallery-stage{grid-row:4!important;min-height:0!important;}
  .ep-clip-gallery-shell.is-thumbs-hidden{
    grid-template-rows:30px 78px 0 minmax(0,1fr) auto auto!important;
  }
}
@media (max-width:390px){
  .ep-clip-gallery-shell{grid-template-rows:30px 72px 80px minmax(0,1fr) auto auto!important;}
  .ep-clip-gallery-topbar{height:72px!important;min-height:72px!important;max-height:72px!important;}
  .ep-clip-gallery-mobile-thumbs{height:80px!important;min-height:80px!important;max-height:80px!important;padding:3px 7px!important;}
  .ep-gallery-thumb{flex-basis:72px!important;width:72px!important;min-width:72px!important;max-width:72px!important;height:72px!important;min-height:72px!important;max-height:72px!important;}
  .ep-clip-gallery-shell.is-thumbs-hidden{grid-template-rows:30px 72px 0 minmax(0,1fr) auto auto!important;}
}

/* Keep the open full-page mobile thumbnail rail compact and immediately after
 * the reader selector bar. */
@media (max-width:980px){
  .ep-reader-full-mode .ep-full-page-pages-strip{
    margin:2px 0!important;
    padding:2px 4px!important;
  }
  .ep-reader-full-mode .ep-full-page-pages-strip .ep-pages-strip-list{
    margin:0!important;
    padding:0 2px 2px!important;
  }
}

/* V6.9.78: harden the main header Menu action for all desktop/mobile layouts. */
.ep-header .ep-mobile-menu-toggle{
  position:relative!important;
  z-index:1805!important;
  pointer-events:auto!important;
  cursor:pointer!important;
  touch-action:manipulation!important;
  user-select:none!important;
}
.ep-header .ep-mobile-menu-toggle *{pointer-events:none!important;}
@media(min-width:981px){
  .ep-header .ep-mobile-menu-toggle{display:inline-flex!important;}
  .ep-header .ep-nav{z-index:1804!important;}
  .ep-header .ep-nav.is-open{display:flex!important;pointer-events:auto!important;visibility:visible!important;}
}
@media(max-width:980px){
  .ep-header .ep-mobile-menu-toggle{display:inline-flex!important;}
  .ep-header .ep-nav.is-open{display:flex!important;pointer-events:auto!important;visibility:visible!important;}
}

/* V6.9.79: restore reliable native navigation for the green category strip. */
.ep-edition-strip,
.ep-edition-strip-inner{position:relative!important;z-index:30!important;pointer-events:auto!important;}
.ep-edition-strip-inner>a,
.ep-edition-strip-inner>.menu-item>a{pointer-events:auto!important;cursor:pointer!important;}

/* V6.9.81: Mapping canvas uses the natural document scroll. The newspaper page is fitted to available width; no nested page scrollbar. */
.ep-mapping-layout .ep-map-canvas-wrap,.ep-front-map-grid .ep-map-canvas-wrap{height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important;background:#fff!important;padding:8px!important}
.ep-front-map-side{max-height:none!important;overflow:visible!important}
.ep-mapping-layout .ep-map-main,.ep-front-map-grid .ep-map-main{min-width:0;overflow:visible!important}
.ep-mapping-layout #ep-map-page,.ep-front-map-grid #ep-map-page{width:100%!important;max-width:100%!important;margin:0 auto!important;display:block!important}
.ep-mapping-layout #ep-admin-map-canvas,.ep-front-map-grid #ep-admin-map-canvas{display:block!important;width:100%!important;height:auto!important;max-width:100%!important}
.ep-mapping-layout #ep-map-svg,.ep-front-map-grid #ep-map-svg{width:100%!important;height:100%!important}
/* Automatic fit-width mapping: hide manual zoom controls while keeping the actual Fit renderer internal. */
.ep-map-toolbar-v5 #ep-fit-map,.ep-map-toolbar-v5 #ep-zoom-out,.ep-map-toolbar-v5 #ep-zoom-in,.ep-map-toolbar-v5 #ep-zoom-label{display:none!important}
/* Enlarged invisible hit target makes thin/dotted polygon borders much easier to select. */
.ep-admin-shape-hit{fill:none!important;stroke:#111827!important;stroke-opacity:0!important;stroke-width:3px!important;vector-effect:non-scaling-stroke;pointer-events:stroke;cursor:move}
.ep-admin-shape-group.is-selected .ep-admin-shape-hit{stroke-opacity:0!important;stroke-width:4px!important}


/* V6.9.83: full-page mapping workspace. Keep the complete newspaper page visible without
 * a nested scrollbar; use the browser's normal document scrolling when necessary. */
.ep-mapping-layout .ep-map-canvas-wrap,
.ep-front-map-grid .ep-map-canvas-wrap{
  height:auto!important;
  max-height:none!important;
  min-height:280px!important;
  overflow:visible!important;
  padding:6px!important;
  background:#fff!important;
}
.ep-mapping-layout #ep-map-page,
.ep-front-map-grid #ep-map-page{
  width:auto!important;
  max-width:100%!important;
  height:auto!important;
  margin:0 auto!important;
}
.ep-mapping-layout #ep-admin-map-canvas,
.ep-front-map-grid #ep-admin-map-canvas{
  width:auto!important;
  max-width:100%!important;
  height:auto!important;
}
.ep-mapping-layout #ep-map-svg,
.ep-front-map-grid #ep-map-svg{
  width:100%!important;
  height:100%!important;
}
/* Keep the story form accessible near the top on both layouts. */
.ep-map-properties,
.ep-front-map-side{overflow:visible!important;max-height:none!important}
/* Toolbar zoom controls are intentionally hidden. Fit is automatic. */
.ep-map-toolbar-v5 #ep-fit-map,
.ep-map-toolbar-v5 #ep-zoom-out,
.ep-map-toolbar-v5 #ep-zoom-in,
.ep-map-toolbar-v5 #ep-zoom-label{display:none!important}
@media(max-width:980px){
  .ep-front-map-grid .ep-map-canvas-wrap,
  .ep-mapping-layout .ep-map-canvas-wrap{min-height:240px!important;padding:4px!important}
  .ep-front-map-grid #ep-map-page,
  .ep-mapping-layout #ep-map-page{max-width:100%!important}
}


/* V6.9.84: Shared mapping dashboard layout.
 * Desktop: compact clip essentials sit immediately left of the fitted newspaper.
 * The main mapped-story panel remains on the right. Backend retains its Pages rail.
 * Mobile/tablet: essentials move above the full newspaper for easy access.
 * Undo/Redo/Labels use compact symbol buttons in both mapping interfaces.
 */
.ep-symbol-button{
  width:38px!important;
  min-width:38px!important;
  height:34px!important;
  min-height:34px!important;
  padding:0!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  border-radius:8px!important;
  font-size:18px!important;
  font-weight:800!important;
  line-height:1!important;
}
.ep-map-toolbar-v5 .ep-symbol-button[aria-label="Undo"],
.ep-map-toolbar-v5 .ep-symbol-button[aria-label="Redo"]{font-size:20px!important}
.ep-map-toolbar-v5 .ep-symbol-button[aria-label="Show or hide labels"]{font-size:16px!important}

/* Frontend: 3-column desktop grid, essential clip fields in the left column. */
@media (min-width:1101px){
  .ep-front-map-grid{
    display:grid!important;
    grid-template-columns:minmax(210px,240px) minmax(0,1fr) minmax(290px,320px)!important;
    gap:0!important;
    align-items:start!important;
  }
  .ep-front-map-grid .ep-map-main{grid-column:2!important;grid-row:1!important;min-width:0!important}
  .ep-front-map-grid .ep-map-main .ep-map-canvas-wrap{width:100%!important;overflow:visible!important}
  .ep-front-map-grid .ep-front-map-side{display:contents!important}
  .ep-front-map-grid .ep-clip-list-panel{grid-column:3!important;grid-row:1!important;width:100%!important}
  .ep-front-map-grid .ep-clip-form-v5{display:contents!important}
  .ep-front-map-grid .ep-clip-form-v5 > label:nth-of-type(-n+3){grid-column:1!important;grid-row:auto!important;margin:0!important;padding:9px 10px!important;align-self:start!important}
  .ep-front-map-grid .ep-clip-form-v5 > label:nth-of-type(n+4),
  .ep-front-map-grid .ep-clip-form-v5 > .ep-small-grid,
  .ep-front-map-grid .ep-clip-form-v5 > .ep-more-fields,
  .ep-front-map-grid .ep-clip-form-v5 > #ep-save-msg{grid-column:3!important}
  .ep-front-map-grid .ep-clip-form-v5 > .ep-side-head{grid-column:3!important;margin:0!important;padding:10px!important}
  .ep-front-map-grid .ep-clip-form-v5 > label:nth-of-type(-n+3){background:#fff;border:0;border-right:1px solid #e5e7eb}
  .ep-front-map-grid .ep-clip-form-v5 > label:nth-of-type(-n+3) > span{font-size:10px!important;text-transform:uppercase;letter-spacing:.04em;font-weight:900;color:#64748b}
  .ep-front-map-grid .ep-clip-form-v5 > label:nth-of-type(-n+3) input,
  .ep-front-map-grid .ep-clip-form-v5 > label:nth-of-type(-n+3) select{min-height:36px!important;font-size:12px!important}

  /* Backend: Pages | clip essentials | newspaper | mapped stories/details. */
  .ep-mapping-layout{
    display:grid!important;
    grid-template-columns:minmax(150px,180px) minmax(200px,235px) minmax(0,1fr) minmax(285px,315px)!important;
    gap:0!important;
    align-items:start!important;
  }
  .ep-mapping-layout .ep-map-pages-panel{grid-column:1!important;grid-row:1!important}
  .ep-mapping-layout .ep-map-main{grid-column:3!important;grid-row:1!important;min-width:0!important}
  .ep-mapping-layout .ep-map-properties{display:contents!important}
  .ep-mapping-layout .ep-clip-list-panel{grid-column:4!important;grid-row:1!important;width:100%!important}
  .ep-mapping-layout .ep-clip-form-v5{display:contents!important}
  .ep-mapping-layout .ep-clip-form-v5 > label:nth-of-type(-n+3){grid-column:2!important;grid-row:auto!important;margin:0!important;padding:9px 10px!important;align-self:start!important}
  .ep-mapping-layout .ep-clip-form-v5 > label:nth-of-type(n+4),
  .ep-mapping-layout .ep-clip-form-v5 > .ep-small-grid,
  .ep-mapping-layout .ep-clip-form-v5 > .ep-more-fields,
  .ep-mapping-layout .ep-clip-form-v5 > #ep-save-msg{grid-column:4!important}
  .ep-mapping-layout .ep-clip-form-v5 > .ep-side-head{grid-column:4!important;margin:0!important;padding:10px!important}
  .ep-mapping-layout .ep-clip-form-v5 > label:nth-of-type(-n+3){background:#fff;border-right:1px solid #e5e7eb}
  .ep-mapping-layout .ep-clip-form-v5 > label:nth-of-type(-n+3) > span{font-size:10px!important;text-transform:uppercase;letter-spacing:.04em;font-weight:900;color:#64748b}
  .ep-mapping-layout .ep-clip-form-v5 > label:nth-of-type(-n+3) input,
  .ep-mapping-layout .ep-clip-form-v5 > label:nth-of-type(-n+3) select{min-height:36px!important;font-size:12px!important}
}

@media (min-width:783px) and (max-width:1100px){
  .ep-front-map-grid{grid-template-columns:minmax(0,1fr) 300px!important}
  .ep-front-map-grid .ep-map-main{grid-column:1!important}
  .ep-front-map-side{display:block!important}
  .ep-front-map-side .ep-clip-form-v5{display:block!important}
  .ep-front-map-side .ep-clip-form-v5 > label:nth-of-type(-n+3){display:block!important}
}

@media (max-width:782px){
  /* Essentials are above the newspaper on mobile, with compact spacing. */
  .ep-front-map-grid,.ep-mapping-layout{display:flex!important;flex-direction:column!important;gap:0!important}
  .ep-front-map-grid .ep-map-main,.ep-mapping-layout .ep-map-main{order:20!important;width:100%!important}
  .ep-front-map-grid .ep-front-map-side,.ep-mapping-layout .ep-map-properties{order:10!important;width:100%!important;display:block!important}
  .ep-mapping-layout .ep-map-pages-panel{order:30!important;width:100%!important}
  .ep-front-map-grid .ep-clip-form-v5,
  .ep-mapping-layout .ep-clip-form-v5{display:block!important}
  .ep-front-map-grid .ep-clip-form-v5 > label:nth-of-type(-n+3),
  .ep-mapping-layout .ep-clip-form-v5 > label:nth-of-type(-n+3){display:block!important;width:100%!important;margin:0!important;padding:7px 9px!important;border-right:0!important;border-bottom:1px solid #e5e7eb!important;background:#fff!important}
  .ep-front-map-grid .ep-clip-form-v5 > label:nth-of-type(-n+3) > span,
  .ep-mapping-layout .ep-clip-form-v5 > label:nth-of-type(-n+3) > span{font-size:10px!important}
  .ep-map-toolbar-v5 .ep-symbol-button{width:42px!important;min-width:42px!important;height:40px!important;min-height:40px!important}
}

/* V6.9.86: mapping dashboard cleanup. Eliminate side whitespace, keep essentials at top-left,
 * keep mapped story details directly under the story list, and place utility symbols on one row
 * immediately beneath drawing tools. */
.ep-front-map-dashboard-card{overflow:visible!important}
.ep-front-map-dashboard-grid{display:grid!important;grid-template-columns:minmax(200px,220px) minmax(0,1fr) minmax(300px,330px)!important;gap:8px!important;align-items:start!important}
.ep-front-map-left-fields{grid-column:1!important;grid-row:1!important;display:flex!important;flex-direction:column!important;gap:7px!important;min-width:0!important}
.ep-front-map-left-fields label{display:flex!important;flex-direction:column!important;gap:4px!important;margin:0!important;padding:0!important}
.ep-front-map-left-fields label>span,.ep-front-detail-form label>span{font-size:10px!important;text-transform:uppercase!important;letter-spacing:.04em!important;font-weight:900!important;color:#64748b!important}
.ep-front-map-left-fields select,.ep-front-map-left-fields input{min-height:36px!important;font-size:12px!important}
.ep-front-map-dashboard-grid .ep-map-main{grid-column:2!important;grid-row:1!important;min-width:0!important;margin:0!important}
.ep-front-map-dashboard-grid .ep-front-map-side{grid-column:3!important;grid-row:1!important;display:block!important;min-width:0!important;margin:0!important;overflow:visible!important}
.ep-front-map-dashboard-grid .ep-clip-list-panel{width:100%!important;margin:0!important}
.ep-front-map-dashboard-grid .ep-front-detail-form{padding:8px!important;margin:0!important}
.ep-front-detail-form label{margin:7px 0 0!important}
.ep-front-detail-form label:first-of-type{margin-top:0!important}
.ep-front-detail-form input,.ep-front-detail-form select,.ep-front-detail-form textarea{min-height:34px!important;font-size:12px!important}
.ep-front-map-dashboard-grid .ep-clip-list{max-height:220px!important}
.ep-map-toolbar-stacked{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:5px!important;padding:7px 8px!important}
.ep-map-toolbar-stacked .ep-map-tools-left{display:flex!important;gap:5px!important;flex-wrap:wrap!important;align-items:center!important}
.ep-map-toolbar-stacked .ep-map-tools-right.ep-map-utility-row{display:flex!important;gap:5px!important;align-items:center!important;justify-content:flex-start!important;flex-wrap:nowrap!important;min-height:34px!important}
.ep-map-toolbar-stacked .ep-map-utility-row .ep-symbol-button{flex:0 0 38px!important}
.ep-map-toolbar-stacked .ep-map-tools-left .button{white-space:nowrap!important}
.ep-front-map-dashboard-grid .ep-map-canvas-wrap{margin:0!important;padding:4px!important}
.ep-front-map-dashboard-grid .ep-map-statusbar{padding:6px 8px!important}
@media (max-width:1100px){
  .ep-front-map-dashboard-grid{grid-template-columns:minmax(180px,1fr) minmax(0,1fr)!important}
  .ep-front-map-left-fields{grid-column:1 / -1!important;grid-row:1!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px!important}
  .ep-front-map-dashboard-grid .ep-map-main{grid-column:1 / -1!important;grid-row:2!important}
  .ep-front-map-dashboard-grid .ep-front-map-side{grid-column:1 / -1!important;grid-row:3!important}
}
@media (max-width:640px){
  .ep-front-map-left-fields{grid-template-columns:1fr!important}
  .ep-map-toolbar-stacked .ep-map-tools-left{width:100%!important}
  .ep-map-toolbar-stacked .ep-map-tools-left .button{flex:1 1 auto!important}
  .ep-map-toolbar-stacked .ep-map-tools-right.ep-map-utility-row{justify-content:flex-start!important}
}


/* V6.9.87: Unified mapping dashboard controls and responsive newspaper fit.
 * All drawing/utility actions stay on one centered symbol row. The same
 * treatment is shared by backend Clip Mapping and frontend Employee Mapping.
 * Newspaper pages fit the available mapping column width and use natural
 * page scrolling instead of a nested scroll area.
 */
.ep-map-toolbar-v5.ep-map-toolbar-stacked{
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:center!important;
  gap:6px!important;
  padding:6px 8px!important;
  min-height:50px!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  scrollbar-width:none!important;
  -ms-overflow-style:none!important;
  white-space:nowrap!important;
  position:relative!important;
}
.ep-map-toolbar-v5.ep-map-toolbar-stacked::-webkit-scrollbar{display:none!important}
.ep-map-toolbar-stacked .ep-map-tools-left,
.ep-map-toolbar-stacked .ep-map-tools-right.ep-map-utility-row{
  display:flex!important;
  flex:0 0 auto!important;
  align-items:center!important;
  justify-content:center!important;
  gap:6px!important;
  flex-wrap:nowrap!important;
  min-height:0!important;
}
.ep-map-toolbar-stacked .ep-map-tools-left .button,
.ep-map-toolbar-stacked .ep-map-utility-row .ep-symbol-button{
  flex:0 0 42px!important;
  width:42px!important;
  min-width:42px!important;
  height:40px!important;
  min-height:40px!important;
  padding:0!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  border-radius:9px!important;
  font-size:19px!important;
  line-height:1!important;
  white-space:nowrap!important;
}
.ep-map-toolbar-stacked .ep-map-tools-left .button kbd{display:none!important}
.ep-map-toolbar-stacked .ep-map-tools-left .button#ep-finish-polygon{font-size:20px!important}
.ep-map-toolbar-stacked .ep-map-tools-right{margin-left:0!important}

/* Keep all mapping canvases width-fitted, centered, and naturally scrollable. */
.ep-mapping-layout .ep-map-canvas-wrap,
.ep-front-map-grid .ep-map-canvas-wrap,
.ep-front-map-dashboard-grid .ep-map-canvas-wrap{
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  overflow:visible!important;
  overflow-x:visible!important;
  overflow-y:visible!important;
  background:#fff!important;
  padding:8px!important;
}
.ep-mapping-layout #ep-map-page,
.ep-front-map-grid #ep-map-page,
.ep-front-map-dashboard-grid #ep-map-page{
  width:auto!important;
  max-width:100%!important;
  margin:0 auto!important;
  position:relative!important;
  display:block!important;
  background:#fff!important;
  line-height:0!important;
  box-shadow:0 6px 20px rgba(0,0,0,.10)!important;
}
.ep-mapping-layout #ep-admin-map-canvas,
.ep-front-map-grid #ep-admin-map-canvas,
.ep-front-map-dashboard-grid #ep-admin-map-canvas{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  height:auto!important;
  margin:0 auto!important;
  background:#fff!important;
}
.ep-mapping-layout #ep-map-svg,
.ep-front-map-grid #ep-map-svg,
.ep-front-map-dashboard-grid #ep-map-svg{
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  pointer-events:auto!important;
}

/* Backend dashboard parity: slim Pages rail + left clip essentials + page + story panel. */
@media (min-width:1101px){
  .ep-mapping-layout{
    display:grid!important;
    grid-template-columns:minmax(145px,165px) minmax(190px,220px) minmax(0,1fr) minmax(285px,315px)!important;
    gap:8px!important;
    align-items:start!important;
  }
  .ep-mapping-layout .ep-map-pages-panel{grid-column:1!important;grid-row:1!important;min-width:0!important}
  .ep-mapping-layout .ep-map-main{grid-column:3!important;grid-row:1!important;min-width:0!important;margin:0!important}
  .ep-mapping-layout .ep-map-properties{display:contents!important;min-width:0!important}
  .ep-mapping-layout .ep-clip-list-panel{grid-column:4!important;grid-row:1!important;min-width:0!important;width:100%!important;margin:0!important}
  .ep-mapping-layout .ep-clip-form-v5{display:contents!important}
  .ep-mapping-layout .ep-clip-form-v5 > label:nth-of-type(-n+3){grid-column:2!important;grid-row:auto!important;margin:0!important;padding:7px 8px!important;align-self:start!important}
  .ep-mapping-layout .ep-clip-form-v5 > label:nth-of-type(n+4),
  .ep-mapping-layout .ep-clip-form-v5 > .ep-small-grid,
  .ep-mapping-layout .ep-clip-form-v5 > .ep-more-fields,
  .ep-mapping-layout .ep-clip-form-v5 > #ep-save-msg{grid-column:4!important}
  .ep-mapping-layout .ep-clip-form-v5 > .ep-side-head{grid-column:4!important;margin:0!important;padding:8px!important}
  .ep-mapping-layout .ep-clip-form-v5 > label:nth-of-type(-n+3){background:#fff!important;border-right:1px solid #e5e7eb!important}
}

@media (min-width:783px) and (max-width:1100px){
  .ep-mapping-layout{grid-template-columns:minmax(145px,1fr) minmax(0,1fr)!important;gap:8px!important}
  .ep-mapping-layout .ep-map-pages-panel{grid-column:1!important;grid-row:1!important}
  .ep-mapping-layout .ep-map-main{grid-column:2!important;grid-row:1!important}
  .ep-mapping-layout .ep-map-properties{grid-column:1 / -1!important;grid-row:2!important;display:block!important}
  .ep-map-toolbar-stacked .ep-map-tools-left .button,
  .ep-map-toolbar-stacked .ep-map-utility-row .ep-symbol-button{width:40px!important;min-width:40px!important;flex-basis:40px!important}
}

@media (max-width:782px){
  .ep-map-toolbar-v5.ep-map-toolbar-stacked{
    justify-content:center!important;
    gap:5px!important;
    padding:5px 6px!important;
    min-height:48px!important;
  }
  .ep-map-toolbar-stacked .ep-map-tools-left,
  .ep-map-toolbar-stacked .ep-map-tools-right.ep-map-utility-row{gap:5px!important}
  .ep-map-toolbar-stacked .ep-map-tools-left .button,
  .ep-map-toolbar-stacked .ep-map-utility-row .ep-symbol-button{
    width:40px!important;
    min-width:40px!important;
    flex-basis:40px!important;
    height:38px!important;
    min-height:38px!important;
    font-size:18px!important;
  }
  .ep-mapping-layout .ep-map-canvas-wrap,
  .ep-front-map-grid .ep-map-canvas-wrap,
  .ep-front-map-dashboard-grid .ep-map-canvas-wrap{padding:5px!important}
  .ep-mapping-layout .ep-map-main,
  .ep-front-map-grid .ep-map-main,
  .ep-front-map-dashboard-grid .ep-map-main{width:100%!important;order:20!important}
}


/* V6.9.87: final unified mapping dashboard layout.
 * Shared by backend Clip Mapping and frontend Employee Mapping.
 * The drawing controls are symbol-only and remain on one centered row.
 * Newspaper pages fit the available column width and grow naturally in height.
 */
.ep-map-toolbar-v5.ep-map-toolbar-stacked{
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:center!important;
  gap:4px!important;
  padding:5px 6px!important;
  min-height:46px!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  white-space:nowrap!important;
  scrollbar-width:none!important;
  -ms-overflow-style:none!important;
}
.ep-map-toolbar-v5.ep-map-toolbar-stacked::-webkit-scrollbar{display:none!important}
.ep-map-toolbar-stacked .ep-map-tools-left,
.ep-map-toolbar-stacked .ep-map-tools-right.ep-map-utility-row{
  display:flex!important;
  flex:0 0 auto!important;
  align-items:center!important;
  justify-content:center!important;
  gap:4px!important;
  flex-wrap:nowrap!important;
  width:auto!important;
  min-height:0!important;
}
.ep-map-toolbar-stacked .ep-map-tools-left .button,
.ep-map-toolbar-stacked .ep-map-utility-row .ep-symbol-button{
  width:38px!important;
  min-width:38px!important;
  flex:0 0 38px!important;
  height:38px!important;
  min-height:38px!important;
  margin:0!important;
  padding:0!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  border-radius:8px!important;
  font-size:18px!important;
  line-height:1!important;
  white-space:nowrap!important;
}
.ep-map-toolbar-stacked .ep-map-tools-left .button kbd{display:none!important}
.ep-map-toolbar-stacked .ep-map-tools-left .button#ep-finish-polygon{font-size:18px!important}

.ep-mapping-layout .ep-map-canvas-wrap,
.ep-front-map-grid .ep-map-canvas-wrap,
.ep-front-map-dashboard-grid .ep-map-canvas-wrap{
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  overflow:visible!important;
  overflow-x:visible!important;
  overflow-y:visible!important;
  background:#fff!important;
  padding:6px!important;
  position:relative!important;
  text-align:center!important;
}
.ep-mapping-layout #ep-map-page,
.ep-front-map-grid #ep-map-page,
.ep-front-map-dashboard-grid #ep-map-page{
  position:relative!important;
  display:block!important;
  width:auto!important;
  max-width:100%!important;
  height:auto!important;
  margin:0 auto!important;
  background:#fff!important;
  line-height:0!important;
  box-shadow:0 5px 18px rgba(15,23,42,.12)!important;
}
.ep-mapping-layout #ep-admin-map-canvas,
.ep-front-map-grid #ep-admin-map-canvas,
.ep-front-map-dashboard-grid #ep-admin-map-canvas{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  height:auto!important;
  margin:0 auto!important;
  background:#fff!important;
}
.ep-mapping-layout #ep-map-svg,
.ep-front-map-grid #ep-map-svg,
.ep-front-map-dashboard-grid #ep-map-svg{
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  pointer-events:auto!important;
}

/* Backend matches the frontend dashboard proportions, with the Pages rail retained. */
@media (min-width:1101px){
  .ep-mapping-layout{
    display:grid!important;
    grid-template-columns:minmax(150px,165px) minmax(190px,220px) minmax(0,1fr) minmax(285px,315px)!important;
    gap:8px!important;
    align-items:start!important;
  }
  .ep-mapping-layout .ep-map-pages-panel{grid-column:1!important;grid-row:1!important}
  .ep-mapping-layout .ep-map-main{grid-column:3!important;grid-row:1!important;min-width:0!important}
  .ep-mapping-layout .ep-map-properties{display:contents!important}
  .ep-mapping-layout .ep-clip-list-panel{grid-column:4!important;grid-row:1!important;width:100%!important}
  .ep-mapping-layout .ep-clip-form-v5{display:contents!important}
  .ep-mapping-layout .ep-clip-form-v5 > label:nth-of-type(-n+3){grid-column:2!important;grid-row:auto!important;margin:0!important;padding:7px 8px!important;align-self:start!important;background:#fff!important;border-right:1px solid #e5e7eb!important}
  .ep-mapping-layout .ep-clip-form-v5 > label:nth-of-type(-n+3) > span{font-size:10px!important;text-transform:uppercase!important;letter-spacing:.04em!important;font-weight:900!important;color:#64748b!important}
  .ep-mapping-layout .ep-clip-form-v5 > label:nth-of-type(-n+3) input,
  .ep-mapping-layout .ep-clip-form-v5 > label:nth-of-type(-n+3) select{min-height:36px!important;font-size:12px!important}
  .ep-mapping-layout .ep-clip-form-v5 > label:nth-of-type(n+4),
  .ep-mapping-layout .ep-clip-form-v5 > .ep-small-grid,
  .ep-mapping-layout .ep-clip-form-v5 > .ep-more-fields,
  .ep-mapping-layout .ep-clip-form-v5 > #ep-save-msg{grid-column:4!important}
  .ep-mapping-layout .ep-clip-form-v5 > .ep-side-head{grid-column:4!important;padding:8px!important;margin:0!important}
}

/* Frontend uses the same center page / right story dashboard proportions. */
@media (min-width:1101px){
  .ep-front-map-dashboard-grid{
    display:grid!important;
    grid-template-columns:minmax(190px,220px) minmax(0,1fr) minmax(285px,315px)!important;
    gap:8px!important;
    align-items:start!important;
  }
  .ep-front-map-dashboard-grid .ep-front-map-left-fields{grid-column:1!important;grid-row:1!important;min-width:0!important}
  .ep-front-map-dashboard-grid .ep-map-main{grid-column:2!important;grid-row:1!important;min-width:0!important}
  .ep-front-map-dashboard-grid .ep-front-map-side{grid-column:3!important;grid-row:1!important;min-width:0!important}
}

@media (min-width:783px) and (max-width:1100px){
  .ep-mapping-layout{display:grid!important;grid-template-columns:minmax(145px,1fr) minmax(0,1fr)!important;gap:8px!important}
  .ep-mapping-layout .ep-map-pages-panel{grid-column:1!important;grid-row:1!important}
  .ep-mapping-layout .ep-map-main{grid-column:2!important;grid-row:1!important}
  .ep-mapping-layout .ep-map-properties{grid-column:1/-1!important;grid-row:2!important;display:block!important}
  .ep-front-map-dashboard-grid{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important}
  .ep-front-map-dashboard-grid .ep-front-map-left-fields{grid-column:1/-1!important;grid-row:1!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px!important}
  .ep-front-map-dashboard-grid .ep-map-main{grid-column:1/-1!important;grid-row:2!important}
  .ep-front-map-dashboard-grid .ep-front-map-side{grid-column:1/-1!important;grid-row:3!important}
}

@media (max-width:782px){
  .ep-map-toolbar-v5.ep-map-toolbar-stacked{justify-content:center!important;gap:4px!important;padding:4px 5px!important;min-height:44px!important}
  .ep-map-toolbar-stacked .ep-map-tools-left,
  .ep-map-toolbar-stacked .ep-map-tools-right.ep-map-utility-row{gap:4px!important;width:auto!important;display:flex!important;flex-wrap:nowrap!important}
  .ep-map-toolbar-stacked .ep-map-tools-left .button,
  .ep-map-toolbar-stacked .ep-map-utility-row .ep-symbol-button{width:38px!important;min-width:38px!important;flex-basis:38px!important;height:36px!important;min-height:36px!important;font-size:17px!important}
  .ep-mapping-layout,.ep-front-map-dashboard-grid{display:flex!important;flex-direction:column!important;gap:0!important}
  .ep-mapping-layout .ep-map-properties,.ep-front-map-dashboard-grid .ep-front-map-side{order:10!important;width:100%!important;display:block!important}
  .ep-mapping-layout .ep-map-main,.ep-front-map-dashboard-grid .ep-map-main{order:20!important;width:100%!important}
  .ep-mapping-layout .ep-map-pages-panel{order:30!important;width:100%!important}
  .ep-mapping-layout .ep-map-canvas-wrap,.ep-front-map-dashboard-grid .ep-map-canvas-wrap{padding:5px!important}
  .ep-front-map-dashboard-grid .ep-front-map-left-fields{order:10!important;width:100%!important;display:grid!important;grid-template-columns:1fr!important;gap:6px!important}
}


/* V6.9.89: Mobile/tablet mapping reading order. Desktop is intentionally unchanged. */
.ep-mobile-map-nav{display:none!important;text-decoration:none!important;align-items:center!important;justify-content:center!important;flex:0 0 32px!important;width:32px!important;min-width:32px!important;height:34px!important;min-height:34px!important;border:1px solid #cbd5e1!important;border-radius:8px!important;background:#fff!important;color:#111827!important;font-size:25px!important;line-height:1!important;font-weight:700!important;box-sizing:border-box!important;}
.ep-mobile-map-nav[aria-disabled="true"]{opacity:.35!important;pointer-events:none!important}
@media (max-width:1100px){
  /* Selector bar: Edition + Date on row 1, Page + Regional Page on row 2. */
  .ep-map-front-selects{padding:5px 7px!important;gap:5px!important}
  .ep-front-select-row{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:6px!important;width:100%!important;}
  .ep-front-select-row>label,.ep-front-select-row .ep-regional-front-field{width:100%!important;min-width:0!important}
  .ep-front-select-row select,.ep-regional-front-assign select{height:33px!important;min-height:33px!important;font-size:11px!important;padding:0 7px!important}
  .ep-front-select-row label>span,.ep-regional-front-field>span{font-size:8.5px!important;line-height:1!important;margin-bottom:2px!important}
  .ep-front-select-row .ep-regional-front-field{grid-column:2!important}
  .ep-front-select-row .ep-regional-front-assign{grid-template-columns:minmax(0,1fr) auto!important;gap:5px!important}
  .ep-regional-front-assign .ep-btn{height:33px!important;min-height:33px!important;padding:0 9px!important;font-size:10px!important}
  .ep-map-front-selects .ep-map-nav{display:none!important}

  /* Put the compact icon toolbar immediately before the newspaper page. */
  .ep-map-toolbar-v5.ep-map-toolbar-stacked{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:center!important;gap:4px!important;flex-wrap:nowrap!important;overflow:hidden!important;white-space:nowrap!important;padding:5px 6px!important;min-height:44px!important;}
  .ep-map-toolbar-stacked .ep-map-tools-left,.ep-map-toolbar-stacked .ep-map-tools-right.ep-map-utility-row{display:flex!important;align-items:center!important;justify-content:center!important;gap:4px!important;flex:0 0 auto!important;flex-wrap:nowrap!important;min-width:0!important;margin:0!important}
  .ep-map-toolbar-stacked .ep-map-tools-left .button,.ep-map-toolbar-stacked .ep-map-utility-row .ep-symbol-button{flex:0 0 32px!important;width:32px!important;min-width:32px!important;height:34px!important;min-height:34px!important;padding:0!important;border-radius:8px!important;font-size:17px!important;line-height:1!important;display:inline-flex!important;align-items:center!important;justify-content:center!important}
  .ep-map-toolbar-stacked .ep-map-tools-left .button#ep-finish-polygon{font-size:18px!important}
  .ep-map-toolbar-stacked .ep-map-utility-row .ep-symbol-button[aria-label="Undo"],.ep-map-toolbar-stacked .ep-map-utility-row .ep-symbol-button[aria-label="Redo"]{font-size:18px!important}
  .ep-map-toolbar-stacked .ep-map-utility-row .ep-symbol-button[aria-label="Show or hide labels"]{font-size:14px!important}
  .ep-mobile-map-nav{display:inline-flex!important}

  /* Frontend: toolbar -> newspaper -> details. No extra gap before the page. */
  .ep-front-map-dashboard-grid{display:flex!important;flex-direction:column!important;gap:0!important}
  .ep-front-map-dashboard-grid .ep-map-main{order:1!important;width:100%!important;margin:0!important}
  .ep-front-map-dashboard-grid .ep-front-map-left-fields{order:2!important;width:100%!important}
  .ep-front-map-dashboard-grid .ep-front-map-side{order:3!important;width:100%!important}
  .ep-front-map-dashboard-grid .ep-map-canvas-wrap{width:100%!important;overflow:visible!important;min-height:0!important;padding:4px!important;background:#fff!important}
  .ep-front-map-dashboard-grid #ep-map-page{width:100%!important;max-width:100%!important;margin:0 auto!important;height:auto!important}
  .ep-front-map-dashboard-grid #ep-admin-map-canvas{width:100%!important;max-width:100%!important;height:auto!important}

  /* Backend: same reading order after the controls. */
  .ep-mapping-layout{display:flex!important;flex-direction:column!important;gap:0!important}
  .ep-mapping-layout .ep-map-main{order:1!important;width:100%!important;min-width:0!important}
  .ep-mapping-layout .ep-map-properties{order:2!important;width:100%!important}
  .ep-mapping-layout .ep-map-pages-panel{order:3!important;width:100%!important}
  .ep-mapping-layout .ep-map-canvas-wrap{width:100%!important;overflow:visible!important;min-height:0!important;padding:4px!important;background:#fff!important}
  .ep-mapping-layout #ep-map-page{width:100%!important;max-width:100%!important;margin:0 auto!important;height:auto!important}
  .ep-mapping-layout #ep-admin-map-canvas{width:100%!important;max-width:100%!important;height:auto!important}
}
@media (max-width:782px){
  .ep-front-select-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:5px!important}
  .ep-front-select-row .ep-regional-front-field{grid-column:2!important}
  .ep-map-front-selects{padding:4px 6px!important}
  .ep-map-toolbar-v5.ep-map-toolbar-stacked{gap:3px!important;padding:4px 4px!important;min-height:42px!important}
  .ep-map-toolbar-stacked .ep-map-tools-left,.ep-map-toolbar-stacked .ep-map-tools-right.ep-map-utility-row{gap:3px!important}
  .ep-map-toolbar-stacked .ep-map-tools-left .button,.ep-map-toolbar-stacked .ep-map-utility-row .ep-symbol-button,.ep-mobile-map-nav{flex-basis:30px!important;width:30px!important;min-width:30px!important;height:32px!important;min-height:32px!important;border-radius:7px!important}
  .ep-map-toolbar-stacked .ep-map-tools-left .button,.ep-map-toolbar-stacked .ep-map-utility-row .ep-symbol-button{font-size:16px!important}
  .ep-mobile-map-nav{font-size:22px!important}
}
@media (max-width:420px){
  .ep-front-select-row select,.ep-regional-front-assign select{font-size:10.5px!important;padding-left:6px!important;padding-right:6px!important}
  .ep-map-toolbar-stacked .ep-map-tools-left,.ep-map-toolbar-stacked .ep-map-tools-right.ep-map-utility-row{gap:2px!important}
  .ep-map-toolbar-stacked .ep-map-tools-left .button,.ep-map-toolbar-stacked .ep-map-utility-row .ep-symbol-button,.ep-mobile-map-nav{flex-basis:28px!important;width:28px!important;min-width:28px!important;height:31px!important;min-height:31px!important}
  .ep-map-toolbar-stacked .ep-map-tools-left .button{font-size:15px!important}
  .ep-map-toolbar-stacked .ep-map-utility-row .ep-symbol-button{font-size:15px!important}
  .ep-mobile-map-nav{font-size:21px!important}
}

/* V6.9.89: Mobile/tablet mapping order lock.
 * Keep the full newspaper page immediately below the icon toolbar and directly
 * above Status. Desktop layout is intentionally untouched.
 */
@media (max-width:1100px){
  .ep-front-map-dashboard-card > .ep-map-toolbar-v5.ep-map-toolbar-stacked{
    order:0!important;
  }
  .ep-front-map-dashboard-grid{
    display:flex!important;
    flex-direction:column!important;
    align-items:stretch!important;
    justify-content:flex-start!important;
    width:100%!important;
    gap:0!important;
  }
  .ep-front-map-dashboard-grid > .ep-map-main{
    order:1!important;
    display:block!important;
    flex:0 0 auto!important;
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
    padding:0!important;
  }
  .ep-front-map-dashboard-grid > .ep-map-main .ep-map-canvas-wrap{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-height:0!important;
    height:auto!important;
    margin:0!important;
    padding:4px!important;
    overflow:visible!important;
    background:#fff!important;
  }
  .ep-front-map-dashboard-grid > .ep-map-main #ep-map-page,
  .ep-front-map-dashboard-grid > .ep-map-main #ep-admin-map-canvas{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    height:auto!important;
    margin:0 auto!important;
  }
  .ep-front-map-dashboard-grid > .ep-front-map-left-fields{
    order:2!important;
    display:flex!important;
    flex-direction:column!important;
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
    padding:0!important;
    gap:5px!important;
  }
  .ep-front-map-dashboard-grid > .ep-front-map-left-fields > label{
    width:100%!important;
    margin:0!important;
    padding:6px 8px!important;
  }
  .ep-front-map-dashboard-grid > .ep-front-map-side{
    order:3!important;
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
  }
  .ep-front-map-dashboard-grid > .ep-front-map-side .ep-clip-list-panel,
  .ep-front-map-dashboard-grid > .ep-front-map-side .ep-front-detail-form{
    width:100%!important;
    max-width:100%!important;
  }

  .ep-mapping-layout{
    display:flex!important;
    flex-direction:column!important;
    align-items:stretch!important;
    width:100%!important;
    gap:0!important;
  }
  .ep-mapping-layout > .ep-map-main{
    order:1!important;
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
    padding:0!important;
  }
  .ep-mapping-layout > .ep-map-properties{order:2!important;width:100%!important;max-width:100%!important;margin:0!important}
  .ep-mapping-layout > .ep-map-pages-panel{order:3!important;width:100%!important;max-width:100%!important;margin:0!important}
}

@media (min-width:783px) and (max-width:1100px){
  .ep-front-map-dashboard-grid > .ep-front-map-left-fields{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
    column-gap:6px!important;
    row-gap:5px!important;
  }
  .ep-front-map-dashboard-grid > .ep-front-map-left-fields > label{min-width:0!important}
}


/* V6.9.90: Definitive mobile/tablet employee mapping order.
 * Requested order:
 * toolbar -> full newspaper page -> Status -> Blog Post -> Blog Post URL -> mapped stories/details.
 * This override intentionally affects <=1100px only. Desktop is unchanged.
 */
@media (max-width:1100px){
  .ep-front-map-dashboard-card{
    display:flex!important;
    flex-direction:column!important;
    align-items:stretch!important;
    width:100%!important;
    min-width:0!important;
  }
  .ep-front-map-dashboard-card > .ep-map-toolbar-v5.ep-map-toolbar-stacked{
    order:1!important;
    position:relative!important;
    width:100%!important;
    flex:0 0 auto!important;
    z-index:50!important;
  }
  /* Flatten the inner grid so its three major children participate directly
     in the card's flex order. This prevents legacy grid rules from putting
     Status/Blog fields before the newspaper. */
  .ep-front-map-dashboard-card > .ep-front-map-dashboard-grid{
    display:contents!important;
  }
  .ep-front-map-dashboard-card > .ep-front-map-dashboard-grid > .ep-map-main{
    order:2!important;
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    flex:0 0 auto!important;
    margin:0!important;
    padding:0!important;
  }
  .ep-front-map-dashboard-card > .ep-front-map-dashboard-grid > .ep-map-main .ep-map-canvas-wrap{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    height:auto!important;
    min-height:0!important;
    overflow:visible!important;
    margin:0!important;
    padding:4px!important;
    background:#fff!important;
  }
  .ep-front-map-dashboard-card > .ep-front-map-dashboard-grid > .ep-map-main #ep-map-page{
    display:block!important;
    position:relative!important;
    width:100%!important;
    max-width:100%!important;
    height:auto!important;
    margin:0 auto!important;
  }
  .ep-front-map-dashboard-card > .ep-front-map-dashboard-grid > .ep-map-main #ep-admin-map-canvas{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    height:auto!important;
    margin:0 auto!important;
  }
  .ep-front-map-dashboard-card > .ep-front-map-dashboard-grid > .ep-front-map-left-fields{
    order:3!important;
    display:flex!important;
    flex-direction:column!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    flex:0 0 auto!important;
    margin:0!important;
    padding:0!important;
    gap:5px!important;
  }
  .ep-front-map-dashboard-card > .ep-front-map-dashboard-grid > .ep-front-map-left-fields > label{
    width:100%!important;
    margin:0!important;
    padding:6px 8px!important;
  }
  .ep-front-map-dashboard-card > .ep-front-map-dashboard-grid > .ep-front-map-side{
    order:4!important;
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    flex:0 0 auto!important;
    margin:0!important;
  }
  .ep-front-map-dashboard-card > .ep-front-map-dashboard-grid > .ep-front-map-side .ep-clip-list-panel,
  .ep-front-map-dashboard-card > .ep-front-map-dashboard-grid > .ep-front-map-side .ep-front-detail-form{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
  }
}

/* V6.9.93: definitive small-mobile Employee Mapping order.
 * The previous display:contents rule caused the clip-field labels to become
 * direct flex items before the newspaper. Small mobile must be: toolbar ->
 * full newspaper -> status/blog fields -> mapped stories. Tablet unchanged. */
@media (max-width: 782px){
  .ep-front-map-dashboard-card{
    display:flex!important;
    flex-direction:column!important;
    width:100%!important;
    min-width:0!important;
  }
  .ep-front-map-dashboard-card > .ep-map-toolbar-v5.ep-map-toolbar-stacked{
    order:1!important;
    display:flex!important;
    width:100%!important;
    flex:0 0 auto!important;
  }
  .ep-front-map-dashboard-card > .ep-front-map-dashboard-grid{
    display:flex!important;
    flex-direction:column!important;
    width:100%!important;
    min-width:0!important;
    gap:0!important;
  }
  .ep-front-map-dashboard-card > .ep-front-map-dashboard-grid > .ep-map-main{
    order:1!important;
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    flex:0 0 auto!important;
    margin:0!important;
    padding:0!important;
  }
  .ep-front-map-dashboard-card > .ep-front-map-dashboard-grid > .ep-map-main .ep-map-canvas-wrap{
    display:block!important;
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    overflow:visible!important;
    margin:0!important;
    padding:4px!important;
    background:#fff!important;
  }
  .ep-front-map-dashboard-card > .ep-front-map-dashboard-grid > .ep-map-main #ep-map-page,
  .ep-front-map-dashboard-card > .ep-front-map-dashboard-grid > .ep-map-main #ep-admin-map-canvas{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    height:auto!important;
    margin:0 auto!important;
  }
  .ep-front-map-dashboard-card > .ep-front-map-dashboard-grid > .ep-front-map-left-fields{
    order:2!important;
    display:flex!important;
    flex-direction:column!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    flex:0 0 auto!important;
    margin:0!important;
    padding:0!important;
    gap:5px!important;
  }
  .ep-front-map-dashboard-card > .ep-front-map-dashboard-grid > .ep-front-map-left-fields > label{
    display:flex!important;
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
    padding:6px 8px!important;
  }
  .ep-front-map-dashboard-card > .ep-front-map-dashboard-grid > .ep-front-map-side{
    order:3!important;
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    flex:0 0 auto!important;
    margin:0!important;
  }
}

/* V6.9.95: compact Employee Mapping identity line + selector proportions. */
.ep-employee-mapping .ep-map-front-head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;min-width:0!important}
.ep-employee-mapping .ep-front-map-identity{display:flex!important;align-items:baseline!important;gap:7px!important;min-width:0!important;flex:1 1 auto!important;white-space:nowrap!important;overflow:hidden!important}
.ep-employee-mapping .ep-front-map-label{display:inline-block!important;flex:0 0 auto!important;font-size:9px!important;line-height:1!important;letter-spacing:.07em!important;font-weight:900!important;color:var(--ep-accent)!important;margin:0!important;text-transform:uppercase!important}
.ep-employee-mapping .ep-front-map-identity>strong{display:inline-block!important;flex:0 0 auto!important;font-size:14px!important;line-height:1.05!important;font-weight:800!important;margin:0!important;white-space:nowrap!important}
.ep-employee-mapping .ep-front-map-meta{display:inline-block!important;min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;font-size:9.5px!important;line-height:1!important;color:#64748b!important;white-space:nowrap!important}
.ep-employee-mapping .ep-dashboard-actions{flex:0 0 auto!important;align-items:center!important;margin-top:0!important}
.ep-employee-mapping .ep-dashboard-actions .ep-btn{min-height:36px!important;padding:7px 12px!important;font-size:11px!important}

/* Give the page-number selector slightly less width and give Regional + Save more room. */
@media (min-width:783px){
  .ep-employee-mapping .ep-front-select-row{grid-template-columns:minmax(145px,1fr) minmax(145px,1fr) minmax(125px,.82fr) minmax(240px,1.28fr)!important;gap:8px!important}
}
.ep-employee-mapping .ep-front-select-row>label:nth-child(3){min-width:0!important}
.ep-employee-mapping .ep-regional-front-field{min-width:0!important}
.ep-employee-mapping #ep-regional-front-assign{grid-template-columns:minmax(0,1fr) auto!important;gap:6px!important}
.ep-employee-mapping #ep-regional-front-save{background:var(--ep-primary)!important;color:#fff!important;border-color:var(--ep-primary)!important;font-weight:800!important;min-width:48px!important;padding:0 12px!important;box-shadow:0 1px 0 rgba(0,0,0,.06)!important}
.ep-employee-mapping #ep-regional-front-save:hover{filter:brightness(.94)!important}

@media (max-width:782px){
  .ep-employee-mapping .ep-map-front-head{display:block!important;padding:8px 10px!important}
  .ep-employee-mapping .ep-front-map-identity{width:100%!important;gap:5px!important;margin-bottom:7px!important}
  .ep-employee-mapping .ep-front-map-label{font-size:8px!important}
  .ep-employee-mapping .ep-front-map-identity>strong{font-size:12px!important}
  .ep-employee-mapping .ep-front-map-meta{font-size:8.5px!important}
  .ep-employee-mapping .ep-dashboard-actions{width:100%!important;display:flex!important;gap:6px!important}
  .ep-employee-mapping .ep-dashboard-actions .ep-btn{flex:1 1 0!important;min-height:34px!important;font-size:10px!important;padding:6px 8px!important}
  .ep-employee-mapping .ep-front-select-row{grid-template-columns:minmax(0,.88fr) minmax(0,1.12fr)!important;gap:7px!important}
  .ep-employee-mapping .ep-front-select-row select{height:36px!important;font-size:12px!important;padding:0 8px!important}
  .ep-employee-mapping .ep-front-select-row .ep-regional-front-field>span{font-size:9px!important;margin-bottom:3px!important}
  .ep-employee-mapping #ep-regional-front-assign{grid-template-columns:minmax(0,1fr) 48px!important}
  .ep-employee-mapping #ep-regional-front-save{min-width:48px!important;width:48px!important;padding:0!important}
}

/* V6.9.96: unified page navigation in mapping toolbar.
 * Previous/Next are now always beside the mapping symbol tools on desktop,
 * tablet and mobile. The duplicate navigation row above the toolbar is hidden.
 */
.ep-map-front-selects .ep-map-nav,
.ep-map-topbar .ep-map-nav{
  display:none!important;
}

.ep-map-toolbar-v5.ep-map-toolbar-stacked{
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:center!important;
  flex-wrap:nowrap!important;
  gap:6px!important;
  width:100%!important;
  box-sizing:border-box!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  scrollbar-width:none!important;
  -ms-overflow-style:none!important;
  white-space:nowrap!important;
}
.ep-map-toolbar-v5.ep-map-toolbar-stacked::-webkit-scrollbar{display:none!important}

/* Put navigation at the two ends of the same compact toolbar row. */
.ep-map-toolbar-v5 .ep-mobile-map-nav{
  display:inline-flex!important;
  order:0!important;
  flex:0 0 38px!important;
  width:38px!important;
  min-width:38px!important;
  height:38px!important;
  min-height:38px!important;
  margin:0!important;
  padding:0!important;
  align-items:center!important;
  justify-content:center!important;
  border:1px solid #cbd5e1!important;
  border-radius:9px!important;
  background:#fff!important;
  color:#111827!important;
  font-size:22px!important;
  line-height:1!important;
  font-weight:800!important;
  text-decoration:none!important;
  box-sizing:border-box!important;
}
.ep-map-toolbar-v5 .ep-mobile-map-nav[aria-disabled="true"]{
  opacity:.35!important;
  pointer-events:none!important;
}
.ep-map-toolbar-v5 .ep-map-tools-left,
.ep-map-toolbar-v5 .ep-map-tools-right.ep-map-utility-row{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex:0 0 auto!important;
  flex-wrap:nowrap!important;
  gap:5px!important;
  min-width:0!important;
  margin:0!important;
}
.ep-map-toolbar-v5 .ep-map-tools-left .button,
.ep-map-toolbar-v5 .ep-map-tools-right.ep-map-utility-row .ep-symbol-button{
  flex:0 0 40px!important;
  width:40px!important;
  min-width:40px!important;
  height:38px!important;
  min-height:38px!important;
  padding:0!important;
  margin:0!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  border-radius:9px!important;
  font-size:18px!important;
  line-height:1!important;
  box-sizing:border-box!important;
}

/* The next arrow stays at the far side of the same row. */
.ep-map-toolbar-v5 .ep-mobile-map-next{order:99!important}
.ep-map-toolbar-v5 .ep-mobile-map-prev{order:1!important}
.ep-map-toolbar-v5 .ep-map-tools-left{order:2!important}
.ep-map-toolbar-v5 .ep-map-tools-right.ep-map-utility-row{order:3!important}
.ep-map-toolbar-v5 .ep-mobile-map-next{order:4!important}

@media (max-width:782px){
  .ep-map-toolbar-v5.ep-map-toolbar-stacked{
    gap:3px!important;
    padding:4px!important;
  }
  .ep-map-toolbar-v5 .ep-mobile-map-nav{
    flex-basis:30px!important;
    width:30px!important;
    min-width:30px!important;
    height:32px!important;
    min-height:32px!important;
    border-radius:7px!important;
    font-size:20px!important;
  }
  .ep-map-toolbar-v5 .ep-map-tools-left,
  .ep-map-toolbar-v5 .ep-map-tools-right.ep-map-utility-row{gap:3px!important}
  .ep-map-toolbar-v5 .ep-map-tools-left .button,
  .ep-map-toolbar-v5 .ep-map-tools-right.ep-map-utility-row .ep-symbol-button{
    flex-basis:30px!important;
    width:30px!important;
    min-width:30px!important;
    height:32px!important;
    min-height:32px!important;
    border-radius:7px!important;
    font-size:15px!important;
  }
}
@media (max-width:360px){
  .ep-map-toolbar-v5.ep-map-toolbar-stacked{gap:2px!important;padding:3px!important}
  .ep-map-toolbar-v5 .ep-mobile-map-nav{
    flex-basis:27px!important;width:27px!important;min-width:27px!important;
    height:29px!important;min-height:29px!important;font-size:18px!important
  }
  .ep-map-toolbar-v5 .ep-map-tools-left,
  .ep-map-toolbar-v5 .ep-map-tools-right.ep-map-utility-row{gap:2px!important}
  .ep-map-toolbar-v5 .ep-map-tools-left .button,
  .ep-map-toolbar-v5 .ep-map-tools-right.ep-map-utility-row .ep-symbol-button{
    flex-basis:27px!important;width:27px!important;min-width:27px!important;
    height:29px!important;min-height:29px!important;font-size:14px!important
  }
}

/* V6.9.97: definitive all-device Employee Mapping header/selector sizing. */
.ep-employee-mapping .ep-map-front-head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;min-width:0!important;box-sizing:border-box!important}
.ep-employee-mapping .ep-front-map-identity{display:flex!important;align-items:baseline!important;flex-wrap:nowrap!important;gap:5px!important;min-width:0!important;flex:1 1 auto!important;white-space:nowrap!important;overflow:hidden!important;line-height:1!important}
.ep-employee-mapping .ep-front-map-label{flex:0 0 auto!important;font-size:8px!important;line-height:1!important;letter-spacing:.06em!important;margin:0!important;white-space:nowrap!important}
.ep-employee-mapping .ep-front-map-identity>strong{flex:0 0 auto!important;font-size:12px!important;line-height:1!important;margin:0!important;white-space:nowrap!important}
.ep-employee-mapping .ep-front-map-meta{display:block!important;flex:1 1 auto!important;min-width:0!important;max-width:none!important;overflow:hidden!important;text-overflow:ellipsis!important;font-size:8px!important;line-height:1!important;white-space:nowrap!important}
.ep-employee-mapping .ep-dashboard-actions{flex:0 0 auto!important;display:flex!important;align-items:center!important;gap:6px!important;width:auto!important;margin:0!important}
.ep-employee-mapping .ep-dashboard-actions .ep-btn{min-height:30px!important;padding:5px 10px!important;font-size:10px!important;line-height:1!important;white-space:nowrap!important}

/* Keep the four selectors compact and consistently ordered. */
.ep-employee-mapping .ep-front-select-row{display:grid!important;grid-template-columns:minmax(130px,1fr) minmax(130px,1fr) minmax(105px,.68fr) minmax(240px,1.42fr)!important;gap:7px!important;align-items:end!important;width:100%!important;box-sizing:border-box!important}
.ep-employee-mapping .ep-front-select-row>label,
.ep-employee-mapping .ep-front-select-row .ep-regional-front-field{min-width:0!important;width:100%!important;box-sizing:border-box!important}
.ep-employee-mapping .ep-front-select-row select{width:100%!important;min-width:0!important;box-sizing:border-box!important;height:36px!important;padding:0 8px!important;font-size:12px!important}
.ep-employee-mapping #ep-regional-front-assign{display:grid!important;grid-template-columns:minmax(0,1fr) 58px!important;gap:6px!important;align-items:center!important;width:100%!important;box-sizing:border-box!important}
.ep-employee-mapping #ep-regional-front-assign select{min-width:0!important;width:100%!important}
.ep-employee-mapping #ep-regional-front-save{width:58px!important;min-width:58px!important;height:36px!important;min-height:36px!important;padding:0!important;background:#0f5d2e!important;color:#fff!important;border:1px solid #0f5d2e!important;border-radius:9px!important;font-size:11px!important;font-weight:800!important;box-shadow:none!important;opacity:1!important}
.ep-employee-mapping #ep-regional-front-save:hover{background:#0b4d26!important;color:#fff!important}

@media (max-width:900px){
  .ep-employee-mapping .ep-front-select-row{grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr) minmax(0,.78fr) minmax(0,1.22fr)!important}
}
@media (max-width:782px){
  .ep-employee-mapping .ep-map-front-head{display:block!important;padding:6px 8px!important}
  .ep-employee-mapping .ep-front-map-identity{width:100%!important;margin:0 0 6px!important;gap:3px!important}
  .ep-employee-mapping .ep-front-map-label{font-size:7px!important}
  .ep-employee-mapping .ep-front-map-identity>strong{font-size:10px!important}
  .ep-employee-mapping .ep-front-map-meta{font-size:7px!important}
  .ep-employee-mapping .ep-dashboard-actions{width:100%!important;display:flex!important;gap:5px!important}
  .ep-employee-mapping .ep-dashboard-actions .ep-btn{flex:1 1 0!important;min-height:28px!important;font-size:9px!important;padding:5px 7px!important}
  .ep-employee-mapping .ep-front-select-row{grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr)!important;gap:6px!important}
  .ep-employee-mapping .ep-front-select-row select{height:34px!important;min-height:34px!important;font-size:11px!important;padding:0 6px!important}
  .ep-employee-mapping .ep-front-select-row>label:nth-child(3){grid-column:1!important}
  .ep-employee-mapping .ep-regional-front-field{grid-column:2!important}
  .ep-employee-mapping #ep-regional-front-assign{grid-template-columns:minmax(0,1fr) 58px!important;gap:5px!important}
  .ep-employee-mapping #ep-regional-front-save{width:58px!important;min-width:58px!important;height:34px!important;min-height:34px!important;font-size:10px!important}
}
@media (max-width:380px){
  .ep-employee-mapping .ep-front-map-label{font-size:6.5px!important}
  .ep-employee-mapping .ep-front-map-identity>strong{font-size:9px!important}
  .ep-employee-mapping .ep-front-map-meta{font-size:6.5px!important}
  .ep-employee-mapping .ep-front-select-row{grid-template-columns:minmax(0,.78fr) minmax(0,1.22fr)!important;gap:5px!important}
  .ep-employee-mapping #ep-regional-front-assign{grid-template-columns:minmax(0,1fr) 54px!important}
  .ep-employee-mapping #ep-regional-front-save{width:54px!important;min-width:54px!important;font-size:9.5px!important}
}

/* V6.9.98: Mobile-only page-first Employee Mapping flow.
 * Desktop and tablet layouts remain unchanged.
 * Mobile: Header -> mapping toolbar -> full newspaper page -> selectors -> clip details.
 */
@media (max-width:600px){
  .ep-employee-mapping .ep-frontend-map-wrap{
    display:flex!important;
    flex-direction:column!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
  }

  /* Flatten only the mobile mapping card/grid so their children can be ordered directly. */
  .ep-employee-mapping .ep-front-map-dashboard-card,
  .ep-employee-mapping .ep-front-map-dashboard-grid{
    display:contents!important;
  }

  .ep-employee-mapping .ep-map-front-head{order:1!important;width:100%!important}

  .ep-employee-mapping .ep-front-map-dashboard-card > .ep-map-toolbar-v5.ep-map-toolbar-stacked{
    order:2!important;
    width:100%!important;
    flex:0 0 auto!important;
    box-sizing:border-box!important;
  }

  .ep-employee-mapping .ep-front-map-dashboard-grid > .ep-map-main{
    order:3!important;
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:0!important;
    padding:0!important;
    box-sizing:border-box!important;
    border:0!important;
    flex:0 0 auto!important;
  }

  .ep-employee-mapping .ep-front-map-dashboard-grid > .ep-map-main .ep-map-canvas-wrap{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-height:0!important;
    height:auto!important;
    max-height:none!important;
    overflow:visible!important;
    padding:4px!important;
    margin:0!important;
    box-sizing:border-box!important;
    background:#fff!important;
  }

  .ep-employee-mapping .ep-front-map-dashboard-grid > .ep-map-main #ep-map-page,
  .ep-employee-mapping .ep-front-map-dashboard-grid > .ep-map-main #ep-admin-map-canvas{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    height:auto!important;
    margin:0 auto!important;
    box-sizing:border-box!important;
  }

  .ep-employee-mapping .ep-map-front-selects{
    order:4!important;
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
    box-sizing:border-box!important;
  }

  .ep-employee-mapping .ep-front-map-dashboard-grid > .ep-front-map-left-fields{
    order:5!important;
    display:flex!important;
    flex-direction:column!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:0!important;
    padding:0!important;
    box-sizing:border-box!important;
  }

  .ep-employee-mapping .ep-front-map-dashboard-grid > .ep-front-map-side{
    order:6!important;
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    max-height:none!important;
    overflow:visible!important;
    margin:0!important;
    box-sizing:border-box!important;
  }

  .ep-employee-mapping .ep-mapping-help{order:7!important;width:100%!important;box-sizing:border-box!important}
}

/* V6.9.99: Employee Mapping page-title and responsive spacing/order fixes.
 * The WordPress page title "Employee Mapping" is intentionally not rendered by page.php.
 * Keep the mapping workspace close to the header on desktop/tablet/mobile.
 * On mobile only, keep the full newspaper page first, then the four page selectors,
 * then the Status/clip fields.
 */
body.page .ep-page-main:has(.ep-employee-mapping){padding-top:0!important}
.ep-page-main .ep-employee-mapping .ep-frontend-map-wrap{
  padding-top:8px!important;
}

@media (max-width:782px){
  .ep-page-main .ep-employee-mapping .ep-frontend-map-wrap{
    padding-top:6px!important;
  }
}

@media (max-width:600px){
  .ep-page-main .ep-employee-mapping .ep-frontend-map-wrap{
    padding-top:4px!important;
    display:flex!important;
    flex-direction:column!important;
  }

  /* DOM is kept intact for JS and accessibility. CSS controls the mobile flow. */
  .ep-page-main .ep-employee-mapping .ep-map-front-head{order:1!important}
  .ep-page-main .ep-employee-mapping .ep-front-map-dashboard-card{order:2!important;display:contents!important}
  .ep-page-main .ep-employee-mapping .ep-map-front-selects{order:4!important;width:100%!important}
  .ep-page-main .ep-employee-mapping .ep-front-map-dashboard-grid{display:contents!important}
  .ep-page-main .ep-employee-mapping .ep-front-map-dashboard-grid > .ep-map-main{order:3!important}
  .ep-page-main .ep-employee-mapping .ep-front-map-dashboard-grid > .ep-front-map-left-fields{order:5!important}
  .ep-page-main .ep-employee-mapping .ep-front-map-dashboard-grid > .ep-front-map-side{order:6!important}
  .ep-page-main .ep-employee-mapping .ep-mapping-help{order:7!important}

  .ep-page-main .ep-employee-mapping .ep-map-front-selects{
    margin-top:0!important;
    margin-bottom:0!important;
  }
}



/* V6.9.100: definitive Employee Mapping layout.
 *
 * Requirements:
 * 1. Never print the WordPress page title "Employee Mapping".
 * 2. Tighten the top of the mapping workspace on every device.
 * 3. Mobile only: toolbar -> complete newspaper page -> Edition/Date/Page
 *    Number/Regional Page Assignment -> Status/clip controls.
 * 4. Tablet and desktop retain the normal selector-before-map layout.
 */
.ep-employee-page-main{
  padding-top:0!important;
  margin-top:0!important;
}
.ep-employee-page-main > .ep-employee-mapping{
  margin-top:0!important;
  padding-top:0!important;
}
.ep-employee-page-main .ep-frontend-map-wrap{
  margin-top:0!important;
  padding-top:4px!important;
}

@media (min-width:601px){
  .ep-employee-page-main .ep-frontend-map-wrap{
    padding-top:4px!important;
  }
}

@media (max-width:600px){
  .ep-employee-page-main .ep-frontend-map-wrap{
    display:flex!important;
    flex-direction:column!important;
    align-items:stretch!important;
    gap:0!important;
    padding-top:2px!important;
    margin:0!important;
  }

  /* Keep the compact EMPLOYEE AREA / Front-end Mapping identity line first. */
  .ep-employee-page-main .ep-frontend-map-wrap > .ep-map-front-head{
    order:1!important;
    margin:0!important;
  }

  /* The whole mapping card comes next. Do NOT use display:contents here. */
  .ep-employee-page-main .ep-frontend-map-wrap > .ep-front-map-dashboard-card{
    order:2!important;
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:0!important;
    padding:0!important;
    border-radius:0!important;
    box-sizing:border-box!important;
  }

  /* Toolbar is the first child of the mapping card. */
  .ep-employee-page-main .ep-front-map-dashboard-card > .ep-map-toolbar-v5.ep-map-toolbar-stacked{
    order:initial!important;
    width:100%!important;
    margin:0!important;
    box-sizing:border-box!important;
  }

  /* The inner grid is a real vertical flex container on phones. */
  .ep-employee-page-main .ep-front-map-dashboard-card > .ep-front-map-dashboard-grid{
    display:flex!important;
    flex-direction:column!important;
    width:100%!important;
    min-width:0!important;
    gap:0!important;
    margin:0!important;
    padding:0!important;
    box-sizing:border-box!important;
  }

  /* Complete newspaper page immediately follows the toolbar. */
  .ep-employee-page-main .ep-front-map-dashboard-grid > .ep-map-main{
    order:1!important;
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    box-sizing:border-box!important;
  }
  .ep-employee-page-main .ep-front-map-dashboard-grid > .ep-map-main .ep-map-canvas-wrap{
    width:100%!important;
    max-width:100%!important;
    min-height:0!important;
    height:auto!important;
    max-height:none!important;
    overflow:visible!important;
    margin:0!important;
    padding:0!important;
    background:#fff!important;
    box-sizing:border-box!important;
  }
  .ep-employee-page-main .ep-front-map-dashboard-grid > .ep-map-main #ep-map-page{
    display:block!important;
    position:relative!important;
    width:100%!important;
    max-width:100%!important;
    height:auto!important;
    margin:0 auto!important;
    box-sizing:border-box!important;
  }
  .ep-employee-page-main .ep-front-map-dashboard-grid > .ep-map-main #ep-admin-map-canvas{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    height:auto!important;
    margin:0 auto!important;
    box-sizing:border-box!important;
  }

  /* The four page controls are deliberately outside the map card and are
     placed immediately after the full newspaper page. */
  .ep-employee-page-main .ep-frontend-map-wrap > .ep-map-front-selects{
    order:3!important;
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:0!important;
    box-sizing:border-box!important;
  }

  /* Only after Edition/Date/Page/Regional assignment show clip Status etc. */
  .ep-employee-page-main .ep-front-map-dashboard-grid > .ep-front-map-left-fields{
    order:2!important;
    display:flex!important;
    flex-direction:column!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:0!important;
    padding:0!important;
    gap:0!important;
  }
  .ep-employee-page-main .ep-front-map-dashboard-grid > .ep-front-map-side{
    order:3!important;
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:0!important;
  }

  .ep-employee-page-main .ep-mapping-help{
    order:4!important;
    width:100%!important;
    box-sizing:border-box!important;
  }
}

/* V6.9.100 final DOM-order enforcement after the responsive JS move.
 * On phones the selector block is physically moved inside the mapping grid,
 * between the newspaper canvas and the Status/clip controls. */
@media (max-width:600px){
  .ep-employee-page-main .ep-frontend-map-wrap > .ep-front-map-dashboard-card{
    display:block!important;
  }
  .ep-employee-page-main .ep-front-map-dashboard-card > .ep-front-map-dashboard-grid{
    display:flex!important;
    flex-direction:column!important;
    width:100%!important;
    min-width:0!important;
    gap:0!important;
  }
  .ep-employee-page-main .ep-front-map-dashboard-grid > .ep-map-main{
    order:1!important;
  }
  .ep-employee-page-main .ep-front-map-dashboard-grid > .ep-map-front-selects,
  .ep-employee-page-main .ep-front-map-dashboard-grid > .ep-map-front-selects{
    order:2!important;
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:0!important;
  }
  .ep-employee-page-main .ep-front-map-dashboard-grid > .ep-front-map-left-fields{
    order:3!important;
  }
  .ep-employee-page-main .ep-front-map-dashboard-grid > .ep-front-map-side{
    order:4!important;
  }
}


/* V6.9.101: Front-end Mapping Studio visual parity with the approved frontend design.
 * This is the final cascade layer for the employee mapping workspace.
 * Desktop/tablet: identity -> four selectors -> single toolbar -> 3-column workspace.
 * Phone: identity -> toolbar/full newspaper -> four selectors -> clip fields -> stories.
 */
.ep-employee-page-main .ep-employee-mapping,
.ep-employee-page-main .ep-employee-mapping *{box-sizing:border-box}

.ep-employee-page-main .ep-frontend-map-wrap{
  width:100%!important;
  max-width:1600px!important;
  margin:0 auto!important;
  padding:4px 0 16px!important;
}
.ep-employee-page-main .ep-map-front-head{
  display:flex!important;
  justify-content:space-between!important;
  align-items:center!important;
  gap:12px!important;
  padding:5px 10px!important;
  margin:0!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
}
.ep-employee-page-main .ep-front-map-identity{
  display:flex!important;
  align-items:baseline!important;
  gap:6px!important;
  min-width:0!important;
  flex:1 1 auto!important;
  white-space:nowrap!important;
  overflow:hidden!important;
}
.ep-employee-page-main .ep-front-map-label{
  flex:0 0 auto!important;
  font-size:9px!important;
  line-height:1!important;
  font-weight:900!important;
  letter-spacing:.08em!important;
  color:#c79a00!important;
}
.ep-employee-page-main .ep-front-map-identity>strong{
  flex:0 0 auto!important;
  font-size:16px!important;
  line-height:1.1!important;
  color:#111827!important;
}
.ep-employee-page-main .ep-front-map-meta{
  min-width:0!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  font-size:9px!important;
  line-height:1.2!important;
  color:#64748b!important;
}
.ep-employee-page-main .ep-map-front-head .ep-dashboard-actions{
  display:flex!important;
  align-items:center!important;
  gap:6px!important;
  flex:0 0 auto!important;
  margin:0!important;
}
.ep-employee-page-main .ep-map-front-head .ep-dashboard-actions .ep-btn{
  min-height:34px!important;
  padding:6px 12px!important;
  font-size:11px!important;
  line-height:1!important;
}

/* Four selectors: one compact row on desktop. */
.ep-employee-page-main .ep-map-front-selects{
  display:flex!important;
  align-items:flex-end!important;
  justify-content:space-between!important;
  gap:8px!important;
  width:100%!important;
  padding:5px 10px 7px!important;
  margin:0!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
}
.ep-employee-page-main .ep-front-select-row{
  display:grid!important;
  grid-template-columns:minmax(150px,1.05fr) minmax(150px,1fr) minmax(150px,1fr) minmax(220px,1.2fr)!important;
  gap:8px!important;
  width:100%!important;
  align-items:end!important;
}
.ep-employee-page-main .ep-front-select-row>label,
.ep-employee-page-main .ep-front-select-row .ep-regional-front-field{
  width:100%!important;
  min-width:0!important;
}
.ep-employee-page-main .ep-front-select-row label>span,
.ep-employee-page-main .ep-regional-front-field>span{
  display:block!important;
  margin:0 0 3px!important;
  font-size:9px!important;
  line-height:1!important;
  text-transform:uppercase!important;
  letter-spacing:.05em!important;
  font-weight:900!important;
  color:#64748b!important;
}
.ep-employee-page-main .ep-front-select-row select,
.ep-employee-page-main .ep-regional-front-assign select{
  width:100%!important;
  min-width:0!important;
  height:40px!important;
  min-height:40px!important;
  padding:0 10px!important;
  border:1px solid #cbd5e1!important;
  border-radius:8px!important;
  background:#fff!important;
  font-size:12px!important;
}
.ep-employee-page-main .ep-regional-front-assign{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  gap:6px!important;
  align-items:end!important;
  margin:0!important;
}
.ep-employee-page-main .ep-regional-front-assign .ep-btn{
  height:40px!important;
  min-height:40px!important;
  padding:0 13px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  white-space:nowrap!important;
  font-size:11px!important;
}
.ep-employee-page-main .ep-map-front-selects .ep-map-nav{display:none!important}

/* Main frontend dashboard: Status | newspaper | Mapped Stories. */
.ep-employee-page-main .ep-front-map-dashboard-card{
  width:100%!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:#fff!important;
  box-shadow:none!important;
  overflow:visible!important;
}
.ep-employee-page-main .ep-front-map-dashboard-card>.ep-map-toolbar-v5.ep-map-toolbar-stacked{
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:center!important;
  gap:5px!important;
  width:100%!important;
  min-height:48px!important;
  padding:5px 7px!important;
  border-top:1px solid #e5e7eb!important;
  border-bottom:1px solid #e5e7eb!important;
  background:#fff!important;
  overflow:hidden!important;
  position:relative!important;
  box-shadow:none!important;
}
.ep-employee-page-main .ep-map-toolbar-stacked .ep-map-tools-left,
.ep-employee-page-main .ep-map-toolbar-stacked .ep-map-tools-right.ep-map-utility-row{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:5px!important;
  flex:0 0 auto!important;
  flex-wrap:nowrap!important;
}
.ep-employee-page-main .ep-map-toolbar-stacked .ep-map-tools-left .button,
.ep-employee-page-main .ep-map-toolbar-stacked .ep-map-utility-row .ep-symbol-button,
.ep-employee-page-main .ep-map-toolbar-stacked .ep-mobile-map-nav{
  width:40px!important;
  min-width:40px!important;
  height:38px!important;
  min-height:38px!important;
  flex:0 0 40px!important;
  padding:0!important;
  border-radius:9px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  font-size:18px!important;
  line-height:1!important;
}
.ep-employee-page-main .ep-map-toolbar-stacked .ep-map-tools-left .button.button-primary{background:#2878b8!important;border-color:#2878b8!important;color:#fff!important}

.ep-employee-page-main .ep-front-map-dashboard-grid{
  display:grid!important;
  grid-template-columns:260px minmax(0,1fr) 350px!important;
  gap:8px!important;
  width:100%!important;
  align-items:start!important;
  margin:0!important;
  padding:0!important;
}
.ep-employee-page-main .ep-front-map-dashboard-grid>.ep-front-map-left-fields{
  grid-column:1!important;
  grid-row:1!important;
  display:flex!important;
  flex-direction:column!important;
  gap:8px!important;
  width:100%!important;
  min-width:0!important;
  padding:7px 0 0!important;
  margin:0!important;
}
.ep-employee-page-main .ep-front-map-left-fields>label{margin:0!important;padding:0!important}
.ep-employee-page-main .ep-front-map-left-fields label>span{
  display:block!important;
  margin:0 0 4px!important;
  font-size:9px!important;
  line-height:1!important;
  text-transform:uppercase!important;
  letter-spacing:.04em!important;
  font-weight:900!important;
  color:#64748b!important;
}
.ep-employee-page-main .ep-front-map-left-fields select,
.ep-employee-page-main .ep-front-map-left-fields input{
  width:100%!important;
  min-height:38px!important;
  font-size:12px!important;
}
.ep-employee-page-main .ep-front-map-dashboard-grid>.ep-map-main{
  grid-column:2!important;
  grid-row:1!important;
  width:100%!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  background:#fff!important;
  overflow:visible!important;
}
.ep-employee-page-main .ep-front-map-dashboard-grid>.ep-map-main .ep-map-canvas-wrap{
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  overflow:visible!important;
  padding:8px!important;
  margin:0!important;
  background:#fff!important;
  text-align:center!important;
}
.ep-employee-page-main .ep-front-map-dashboard-grid>.ep-map-main #ep-map-page{
  display:block!important;
  width:auto!important;
  max-width:100%!important;
  height:auto!important;
  margin:0 auto!important;
  position:relative!important;
  background:#fff!important;
  box-shadow:0 8px 24px rgba(0,0,0,.12)!important;
}
.ep-employee-page-main .ep-front-map-dashboard-grid>.ep-map-main #ep-admin-map-canvas{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  height:auto!important;
  margin:0 auto!important;
}
.ep-employee-page-main .ep-front-map-dashboard-grid>.ep-front-map-side{
  grid-column:3!important;
  grid-row:1!important;
  width:100%!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  border-left:1px solid #e5e7eb!important;
  border-radius:0!important;
  background:#fff!important;
  box-shadow:none!important;
  overflow:visible!important;
}
.ep-employee-page-main .ep-front-map-side .ep-clip-list-panel{width:100%!important}
.ep-employee-page-main .ep-front-map-side .ep-clip-form-v5{padding:10px!important}
.ep-employee-page-main .ep-front-map-side .ep-clip-list{max-height:190px!important}
.ep-employee-page-main .ep-front-map-side .ep-clip-form-v5 input,
.ep-employee-page-main .ep-front-map-side .ep-clip-form-v5 select,
.ep-employee-page-main .ep-front-map-side .ep-clip-form-v5 textarea{font-size:12px!important;min-height:34px!important}
.ep-employee-page-main .ep-front-map-dashboard-card .ep-map-statusbar{display:none!important}
.ep-employee-page-main .ep-mapping-help{margin-top:7px!important}

/* Tablet: preserve the frontend visual language while stacking safely. */
@media (max-width:1100px){
  .ep-employee-page-main .ep-front-map-dashboard-grid{grid-template-columns:220px minmax(0,1fr)!important}
  .ep-employee-page-main .ep-front-map-dashboard-grid>.ep-front-map-left-fields{grid-column:1/-1!important;grid-row:1!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;padding:7px 0!important}
  .ep-employee-page-main .ep-front-map-dashboard-grid>.ep-map-main{grid-column:1/-1!important;grid-row:2!important}
  .ep-employee-page-main .ep-front-map-dashboard-grid>.ep-front-map-side{grid-column:1/-1!important;grid-row:3!important;border-left:0!important;border-top:1px solid #e5e7eb!important}
  .ep-employee-page-main .ep-front-select-row{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .ep-employee-page-main .ep-front-select-row .ep-regional-front-field{grid-column:1/-1!important}
}

/* Phone: toolbar/full newspaper first, then the four selectors, then status and stories. */
@media (max-width:600px){
  .ep-employee-page-main .ep-frontend-map-wrap{padding:2px 0 12px!important}
  .ep-employee-page-main .ep-map-front-head{padding:4px 7px!important;align-items:center!important}
  .ep-employee-page-main .ep-front-map-identity{gap:4px!important;white-space:normal!important;flex-wrap:wrap!important;row-gap:2px!important}
  .ep-employee-page-main .ep-front-map-label{font-size:8px!important}
  .ep-employee-page-main .ep-front-map-identity>strong{font-size:14px!important}
  .ep-employee-page-main .ep-front-map-meta{flex:1 1 100%!important;font-size:9px!important}
  .ep-employee-page-main .ep-map-front-head .ep-dashboard-actions .ep-btn{min-height:31px!important;padding:6px 9px!important;font-size:10px!important}

  .ep-employee-page-main .ep-front-map-dashboard-card{order:2!important}
  .ep-employee-page-main .ep-front-map-dashboard-card>.ep-map-toolbar-v5.ep-map-toolbar-stacked{
    min-height:43px!important;padding:4px!important;gap:3px!important;border-top:1px solid #e5e7eb!important;border-bottom:1px solid #e5e7eb!important;
  }
  .ep-employee-page-main .ep-map-toolbar-stacked .ep-map-tools-left,
  .ep-employee-page-main .ep-map-toolbar-stacked .ep-map-tools-right.ep-map-utility-row{gap:3px!important}
  .ep-employee-page-main .ep-map-toolbar-stacked .ep-map-tools-left .button,
  .ep-employee-page-main .ep-map-toolbar-stacked .ep-map-utility-row .ep-symbol-button,
  .ep-employee-page-main .ep-map-toolbar-stacked .ep-mobile-map-nav{width:31px!important;min-width:31px!important;height:32px!important;min-height:32px!important;flex-basis:31px!important;border-radius:7px!important;font-size:15px!important}

  .ep-employee-page-main .ep-front-map-dashboard-grid{display:flex!important;flex-direction:column!important;gap:0!important;width:100%!important}
  .ep-employee-page-main .ep-front-map-dashboard-grid>.ep-map-main{order:1!important;width:100%!important}
  .ep-employee-page-main .ep-front-map-dashboard-grid>.ep-map-main .ep-map-canvas-wrap{padding:0!important;overflow:visible!important}
  .ep-employee-page-main .ep-front-map-dashboard-grid>.ep-map-main #ep-map-page{width:100%!important;max-width:100%!important;box-shadow:none!important}
  .ep-employee-page-main .ep-front-map-dashboard-grid>.ep-front-map-left-fields{order:3!important;display:flex!important;flex-direction:column!important;width:100%!important;padding:5px 7px!important;gap:5px!important}
  .ep-employee-page-main .ep-front-map-dashboard-grid>.ep-front-map-side{order:4!important;width:100%!important;border-left:0!important;border-top:1px solid #e5e7eb!important}

  /* JS moves this block into the dashboard grid on phones. */
  .ep-employee-page-main .ep-front-map-dashboard-grid>.ep-map-front-selects{order:2!important;display:block!important;width:100%!important;padding:5px 7px!important;margin:0!important}
  .ep-employee-page-main .ep-front-select-row{grid-template-columns:1fr 1fr!important;gap:5px!important}
  .ep-employee-page-main .ep-front-select-row .ep-regional-front-field{grid-column:1/-1!important}
  .ep-employee-page-main .ep-front-select-row label>span,
  .ep-employee-page-main .ep-regional-front-field>span{font-size:8px!important;margin-bottom:2px!important}
  .ep-employee-page-main .ep-front-select-row select,
  .ep-employee-page-main .ep-regional-front-assign select{height:34px!important;min-height:34px!important;font-size:11px!important;padding:0 7px!important}
  .ep-employee-page-main .ep-regional-front-assign .ep-btn{height:34px!important;min-height:34px!important;font-size:10px!important;padding:0 9px!important}
  .ep-employee-page-main .ep-map-front-selects .ep-map-nav{display:none!important}
}


/* V6.9.104: Mapping rendering and overlay hardening.
 * The SVG interaction polygon must never paint a black rectangle over the PDF.
 * The PDF canvas keeps its exact JS-calculated dimensions so high-DPI rendering
 * is not resampled by an admin stylesheet forcing width:100%.
 */
.ep-backend-frontend-map #ep-map-svg,
.ep-backend-frontend-map #ep-map-svg svg,
.ep-backend-frontend-map #ep-map-svg polygon,
.ep-backend-frontend-map #ep-map-svg polyline,
.ep-backend-frontend-map #ep-map-svg line,
.ep-backend-frontend-map #ep-map-svg circle{
  background:transparent!important;
}
.ep-backend-frontend-map #ep-admin-map-canvas{
  background:#fff!important;
  width:auto!important;
  max-width:none!important;
  height:auto!important;
  display:block!important;
  image-rendering:auto!important;
}
.ep-backend-frontend-map .ep-admin-shape{
  fill:rgba(214,54,56,.13)!important;
  stroke:#d63638!important;
}
.ep-backend-frontend-map .ep-admin-shape-hit{
  fill:transparent!important;
  fill-opacity:0!important;
  stroke:transparent!important;
  stroke-opacity:0!important;
  pointer-events:stroke!important;
}
.ep-backend-frontend-map .ep-admin-shape-label{
  fill:#fff!important;
  paint-order:stroke!important;
  stroke:#111827!important;
}
.ep-backend-frontend-map .ep-map-canvas-wrap{
  background:#fff!important;
}


/* V6.9.107: Never paint saved mapping polygons over the newspaper.
 * Saved clips are interaction outlines only. This prevents a malformed or
 * legacy clip style from creating an opaque/black rectangle over the PDF. */
body.toplevel_page_epaper-clip-mapping .ep-backend-frontend-map #ep-map-svg .ep-admin-shape,
body.toplevel_page_epaper-clip-mapping .ep-backend-frontend-map #ep-map-svg .ep-admin-shape-group .ep-admin-shape {
  fill: transparent !important;
  fill-opacity: 0 !important;
  background: transparent !important;
  mix-blend-mode: normal !important;
  filter: none !important;
  opacity: 1 !important;
  pointer-events: all !important;
}
body.toplevel_page_epaper-clip-mapping .ep-backend-frontend-map #ep-map-svg .ep-admin-shape-group:hover .ep-admin-shape,
body.toplevel_page_epaper-clip-mapping .ep-backend-frontend-map #ep-map-svg .ep-admin-shape-group.is-selected .ep-admin-shape {
  fill: transparent !important;
  fill-opacity: 0 !important;
  background: transparent !important;
}
body.toplevel_page_epaper-clip-mapping .ep-backend-frontend-map #ep-map-svg .ep-admin-shape-hit {
  fill: transparent !important;
  fill-opacity: 0 !important;
  stroke: transparent !important;
  stroke-opacity: 0 !important;
  background: transparent !important;
  filter: none !important;
}


/* V6.9.107: Mobile mapping gutters and compact Employee Blog Posts header.
 * Give the mapping canvas a clear left/right gutter so the newspaper never
 * sits flush against the phone edges while drawing/editing clips. The JS now
 * measures the actual content width after padding so the page remains fitted. */
@media (max-width: 600px){
  .ep-employee-mapping .ep-front-map-dashboard-card > .ep-front-map-dashboard-grid > .ep-map-main .ep-map-canvas-wrap{
    padding-left:16px!important;
    padding-right:16px!important;
    padding-top:0!important;
    padding-bottom:12px!important;
    box-sizing:border-box!important;
    text-align:center!important;
  }
  .ep-employee-mapping .ep-front-map-dashboard-card > .ep-front-map-dashboard-grid > .ep-map-main #ep-map-page,
  .ep-employee-mapping .ep-front-map-dashboard-card > .ep-front-map-dashboard-grid > .ep-map-main #ep-admin-map-canvas{
    margin-left:auto!important;
    margin-right:auto!important;
  }
}

.ep-employee-posts .ep-employee-post-actions-head{
  display:flex!important;
  justify-content:flex-end!important;
  align-items:center!important;
  min-height:0!important;
  padding:6px 10px!important;
  margin-bottom:8px!important;
}
.ep-employee-posts .ep-employee-post-actions-head .ep-dashboard-actions{
  margin:0!important;
  justify-content:flex-end!important;
  gap:6px!important;
}
.ep-employee-posts .ep-employee-post-actions-head .ep-btn{
  min-height:34px!important;
  padding:6px 11px!important;
  font-size:11px!important;
  line-height:1!important;
}
@media (max-width: 600px){
  .ep-employee-posts .ep-employee-post-actions-head{
    padding:4px 7px!important;
    margin-bottom:6px!important;
  }
  .ep-employee-posts .ep-employee-post-actions-head .ep-btn{
    min-height:32px!important;
    padding:6px 10px!important;
    font-size:10px!important;
  }
}

/* V6.9.107: Employee Blog Posts navigation buttons stay on one horizontal line. */
.ep-employee-posts .ep-employee-post-actions-head{
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:flex-end!important;
  width:100%!important;
}
.ep-employee-posts .ep-employee-post-actions-head .ep-dashboard-actions{
  display:flex!important;
  flex-direction:row!important;
  flex-wrap:nowrap!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:6px!important;
  width:auto!important;
  max-width:100%!important;
  margin:0!important;
}
.ep-employee-posts .ep-employee-post-actions-head .ep-dashboard-actions .ep-btn{
  display:inline-flex!important;
  flex:0 0 140px!important;
  width:140px!important;
  max-width:140px!important;
  min-width:0!important;
  align-items:center!important;
  justify-content:center!important;
  white-space:nowrap!important;
}
@media (max-width:360px){
  .ep-employee-posts .ep-employee-post-actions-head .ep-dashboard-actions .ep-btn{
    flex-basis:calc((100vw - 54px)/2)!important;
    width:calc((100vw - 54px)/2)!important;
    max-width:calc((100vw - 54px)/2)!important;
  }
}


/* V6.9.108: Mapping page touch gutters and desktop presentation.
 * The newspaper gets a safe left/right gutter so a finger can start a vertical
 * scroll outside the drawing surface. The same treatment gives desktop the
 * requested breathing room and a clean paper shadow. */
.ep-map-canvas-wrap,
.ep-mapping-layout .ep-map-canvas-wrap,
.ep-front-map-grid .ep-map-canvas-wrap,
.ep-front-map-dashboard-grid .ep-map-canvas-wrap{
  background:#f3f5f8!important;
  box-shadow:inset 0 0 0 1px rgba(15,23,42,.05)!important;
  padding:14px 28px 18px!important;
  text-align:center!important;
  touch-action:pan-y!important;
}
.ep-map-canvas-wrap #ep-map-page,
.ep-mapping-layout #ep-map-page,
.ep-front-map-grid #ep-map-page,
.ep-front-map-dashboard-grid #ep-map-page{
  margin-left:auto!important;
  margin-right:auto!important;
  background:#fff!important;
  border:1px solid rgba(15,23,42,.09)!important;
  border-radius:2px!important;
  box-shadow:0 12px 32px rgba(15,23,42,.18),0 2px 6px rgba(15,23,42,.08)!important;
}

/* Public employee mapping: keep a visible finger-safe gutter on phones and
 * retain a light stage around the page on larger screens. */
.ep-employee-mapping .ep-front-map-dashboard-card > .ep-front-map-dashboard-grid > .ep-map-main .ep-map-canvas-wrap{
  background:#f3f5f8!important;
  touch-action:pan-y!important;
  padding:14px 28px 18px!important;
}
.ep-employee-mapping .ep-front-map-dashboard-card > .ep-front-map-dashboard-grid > .ep-map-main #ep-map-page{
  border:1px solid rgba(15,23,42,.09)!important;
  border-radius:2px!important;
  box-shadow:0 12px 32px rgba(15,23,42,.18),0 2px 6px rgba(15,23,42,.08)!important;
}

/* Backend Mapping Studio mirror. */
.ep-backend-frontend-map .ep-backend-map-grid>.ep-map-main .ep-map-canvas-wrap{
  background:#f3f5f8!important;
  touch-action:pan-y!important;
  padding:14px 28px 18px!important;
}
.ep-backend-frontend-map .ep-backend-map-grid>.ep-map-main #ep-map-page{
  border:1px solid rgba(15,23,42,.09)!important;
  border-radius:2px!important;
  box-shadow:0 12px 32px rgba(15,23,42,.18),0 2px 6px rgba(15,23,42,.08)!important;
}

@media(max-width:600px){
  .ep-employee-mapping .ep-front-map-dashboard-card > .ep-front-map-dashboard-grid > .ep-map-main .ep-map-canvas-wrap{
    padding:8px 24px 14px!important;
    overflow:visible!important;
    background:#f3f5f8!important;
  }
  .ep-employee-mapping .ep-front-map-dashboard-card > .ep-front-map-dashboard-grid > .ep-map-main #ep-map-page{
    width:auto!important;
    max-width:100%!important;
    margin:0 auto!important;
    box-shadow:0 10px 26px rgba(15,23,42,.18),0 2px 5px rgba(15,23,42,.08)!important;
  }

  .ep-backend-frontend-map .ep-backend-map-grid>.ep-map-main .ep-map-canvas-wrap{
    padding:8px 24px 14px!important;
    overflow:visible!important;
    background:#f3f5f8!important;
  }
  .ep-backend-frontend-map .ep-backend-map-grid>.ep-map-main #ep-map-page{
    width:auto!important;
    max-width:100%!important;
    margin:0 auto!important;
    box-shadow:0 10px 26px rgba(15,23,42,.18),0 2px 5px rgba(15,23,42,.08)!important;
  }

  /* Keep the gutter itself scrollable/touch-friendly. */
  .ep-employee-mapping .ep-front-map-dashboard-card > .ep-front-map-dashboard-grid > .ep-map-main .ep-map-canvas-wrap,
  .ep-backend-frontend-map .ep-backend-map-grid>.ep-map-main .ep-map-canvas-wrap{
    -webkit-overflow-scrolling:touch!important;
  }
}


/* V6.9.109: Keep the Read Clips gallery below the WordPress admin bar so the
 * four navigation dropdowns remain visible and tappable for logged-in users. */
.ep-clip-gallery-modal{z-index:50000!important;}
body.admin-bar .ep-clip-gallery-modal{
  top:32px!important;
  bottom:auto!important;
  height:calc(100vh - 32px)!important;
  max-height:calc(100vh - 32px)!important;
}
@media(max-width:782px){
  body.admin-bar .ep-clip-gallery-modal{
    top:46px!important;
    height:calc(100vh - 46px)!important;
    max-height:calc(100vh - 46px)!important;
  }
}
@media(max-width:620px){
  /* Keep the selectors fully interactive on phones. */
  .ep-clip-gallery-selection-bar{
    z-index:100!important;
    pointer-events:auto!important;
    overflow:visible!important;
  }
  .ep-clip-gallery-selection-bar select{
    position:relative!important;
    z-index:101!important;
    pointer-events:auto!important;
  }
}

/* v6.9.110: Main Edition administration control */
.ep-main-edition-toggle{grid-column:1/-1;display:flex!important;align-items:flex-start;gap:10px;padding:12px 14px;border:1px solid #e2e8f0;border-radius:12px;background:#f8fafc;box-sizing:border-box}
.ep-main-edition-toggle input{margin:3px 0 0!important;width:18px!important;height:18px!important;flex:0 0 auto}
.ep-main-edition-toggle span{display:flex;flex-direction:column;gap:3px;min-width:0}
.ep-main-edition-toggle strong{font-size:14px;color:#0f172a}
.ep-main-edition-toggle small{font-size:12px;line-height:1.45;color:#64748b;font-weight:600}
.ep-main-badge{display:inline-flex;align-items:center;padding:4px 8px;border-radius:999px;background:#0f6b38;color:#fff;font-size:11px;font-weight:800;white-space:nowrap}

/* v6.9.110: Keep Edition / Issue / Regional selectors in one compact row. */
.ep-nav-paper-form.ep-nav-paper-form-three{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr) minmax(0,1fr);gap:7px;align-items:center;width:100%}
.ep-nav-paper-form.ep-nav-paper-form-three .ep-nav-paper-field{min-width:0}
.ep-nav-paper-form.ep-nav-paper-form-three .ep-nav-paper-field select{min-width:0;max-width:none;width:100%}
@media(max-width:980px){
  .ep-header .ep-nav-paper-form.ep-nav-paper-form-three{display:grid!important;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr) minmax(0,1fr)!important;gap:6px!important;align-items:center}
  .ep-header .ep-nav-paper-form.ep-nav-paper-form-three .ep-nav-paper-field{display:block;min-width:0}
  .ep-header .ep-nav-paper-form.ep-nav-paper-form-three .ep-nav-paper-label{display:none!important}
  .ep-header .ep-nav-paper-form.ep-nav-paper-form-three .ep-nav-paper-field select{width:100%!important;min-width:0!important;max-width:none!important;height:38px!important;padding:0 7px!important;font-size:11px!important;border-radius:8px!important}
}
@media(max-width:360px){
  .ep-header .ep-nav-paper-form.ep-nav-paper-form-three{gap:4px!important}
  .ep-header .ep-nav-paper-form.ep-nav-paper-form-three .ep-nav-paper-field select{font-size:10px!important;padding-left:5px!important;padding-right:5px!important}
}


/* V6.9.113: mobile navigation is independently configurable from the backend. */
.ep-nav-links-mobile{display:none;}
.ep-nav-links-desktop{display:flex;align-items:center;gap:8px;overflow:visible;}
.ep-nav-links{min-width:0;}
.ep-nav-links a{flex:0 0 auto;}
@media (max-width: 767px){
  .ep-header .ep-nav-links-desktop a:nth-child(2),
  .ep-header .ep-nav-links-desktop a:nth-child(4){display:none!important;}
  .ep-header .ep-nav-links-desktop{display:none!important;}
  .ep-header .ep-nav-links-mobile{display:flex!important;flex:1 1 100%;width:100%;min-width:0;gap:5px!important;overflow-x:auto!important;overflow-y:hidden!important;flex-wrap:nowrap!important;scrollbar-width:none;padding:1px 0 5px!important;}
  .ep-header .ep-nav-links-mobile::-webkit-scrollbar{display:none!important;}
  .ep-header .ep-nav-links-mobile a{white-space:nowrap!important;flex:0 0 auto!important;padding:8px 10px!important;font-size:12px!important;line-height:1.15!important;border-radius:8px!important;background:#f6f7f9;}
  .ep-header .ep-nav-links-mobile .ep-nav-forward{background:var(--ep-accent)!important;color:#fff!important;}
  .ep-header .ep-nav-links-mobile .ep-nav-custom{background:#f6f7f9!important;color:inherit!important;}
}
@media (max-width: 420px){
  .ep-header .ep-nav-links-mobile{gap:4px!important;}
  .ep-header .ep-nav-links-mobile a{padding:7px 8px!important;font-size:11px!important;}
}

/* V6.9.113: responsive landing-page Edition / Latest Issues hub. */
.ep-home-edition-hub{padding:14px 16px 16px!important;overflow:hidden}
.ep-home-hub-grid{display:grid;gap:16px;align-items:start}
.ep-home-edition-hub.is-one .ep-home-hub-grid{grid-template-columns:minmax(230px,.82fr) minmax(0,1.38fr)}
.ep-home-edition-hub.is-two .ep-home-hub-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.ep-home-edition-hub.is-three-plus .ep-home-hub-grid{grid-template-columns:minmax(0,1.9fr) minmax(300px,1fr)}
.ep-home-hub-pane{min-width:0}
.ep-home-hub-title{margin-bottom:12px;min-height:40px;align-items:center}
.ep-home-hub-title .ep-red-tab.secondary{font-size:16px;padding:7px 13px}
.ep-home-latest-issue-button{min-height:36px;padding:7px 12px!important;border-radius:8px!important;background:var(--ep-accent)!important;color:#fff!important;border:1px solid var(--ep-accent)!important;font-weight:800!important;white-space:nowrap}
.ep-home-latest-issue-button:hover,.ep-home-latest-issue-button:focus-visible{filter:brightness(.95)}
.ep-home-edition-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.ep-home-edition-hub.is-one .ep-home-edition-grid{grid-template-columns:1fr;max-width:260px;margin-inline:auto}
.ep-home-edition-hub.is-two .ep-home-edition-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.ep-home-edition-card{width:100%}
.ep-home-issues-carousel{display:flex;gap:12px;overflow-x:auto;overflow-y:hidden;padding:1px 1px 8px;scroll-snap-type:x mandatory;scroll-behavior:smooth;overscroll-behavior-x:contain;scrollbar-width:thin}
.ep-home-issue-slide{flex:1 1 0;min-width:0;scroll-snap-align:start}
.ep-home-edition-hub.is-one .ep-home-issues-carousel .ep-home-issue-slide{min-width:0}
.ep-home-issue-card{width:100%}
.ep-home-issue-card .ep-edition-cover{aspect-ratio:3/4.1}
.ep-home-issue-card .ep-edition-info{padding:8px 9px!important}
.ep-home-issue-card .ep-edition-name{font-size:13px!important}
.ep-home-issue-card .ep-edition-info span{font-size:10px!important}
.ep-home-two-issue-panels{display:grid;grid-template-rows:auto auto;gap:12px}
.ep-home-issue-panel,.ep-home-main-issue-panel{border:1px solid var(--ep-border);border-radius:11px;padding:10px;background:#fff;min-width:0}
.ep-home-issue-panel-head{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:8px}
.ep-home-issue-panel-head>div{min-width:0}
.ep-home-issue-panel-head strong,.ep-home-issue-panel-head span{display:block}
.ep-home-issue-panel-head strong{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ep-home-issue-panel-head span{font-size:10px;color:#64748b;margin-top:2px}
.ep-home-mini-latest-link{font-size:10px;font-weight:800;color:var(--ep-accent);white-space:nowrap;text-decoration:none}
.ep-home-mini-issue-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.ep-home-main-issue-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.ep-home-edition-hub.is-three-plus .ep-home-main-issue-panel{height:100%}

@media(max-width:980px) and (min-width:621px){
  .ep-home-edition-hub.is-one .ep-home-hub-grid,
  .ep-home-edition-hub.is-two .ep-home-hub-grid,
  .ep-home-edition-hub.is-three-plus .ep-home-hub-grid{grid-template-columns:1fr 1fr}
  .ep-home-edition-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ep-home-edition-hub.is-one .ep-home-edition-grid{max-width:none}
  .ep-home-two-issue-panels{gap:8px}
  .ep-home-mini-issue-grid,.ep-home-main-issue-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:620px){
  .ep-home-edition-hub{padding:10px 9px 12px!important}
  .ep-home-edition-hub.is-one .ep-home-hub-grid{grid-template-columns:minmax(112px,.72fr) minmax(0,1.28fr);gap:9px}
  .ep-home-edition-hub.is-two .ep-home-hub-grid,
  .ep-home-edition-hub.is-three-plus .ep-home-hub-grid{grid-template-columns:1fr}

  .ep-home-hub-title{margin-bottom:8px;min-height:34px}
  .ep-home-hub-title .ep-red-tab{font-size:14px;padding:5px 8px}
  .ep-home-hub-title .ep-red-tab.secondary{font-size:13px;padding:5px 8px}
  .ep-home-hub-title .ep-section-subtitle{font-size:9px}
  .ep-home-latest-issue-button{font-size:10px!important;padding:6px 8px!important;min-height:32px}

  .ep-home-edition-hub.is-one .ep-home-editions-pane .ep-home-edition-grid{grid-template-columns:1fr;gap:7px;margin:0;max-width:none}
  .ep-home-edition-hub.is-one .ep-home-edition-card .ep-edition-info{padding:7px!important}
  .ep-home-edition-hub.is-one .ep-home-edition-card .ep-edition-name{font-size:12px!important}
  .ep-home-edition-hub.is-one .ep-home-edition-card .ep-edition-info span{font-size:9px!important}
  .ep-home-edition-hub.is-one .ep-home-edition-card .ep-edition-open{display:none}

  /* With 2+ editions, the landing page shows the editions only on phones. */
  .ep-home-edition-hub.is-two .ep-home-issues-pane,
  .ep-home-edition-hub.is-three-plus .ep-home-issues-pane{display:none!important}
  .ep-home-edition-hub.is-two .ep-home-edition-grid,
  .ep-home-edition-hub.is-three-plus .ep-home-edition-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}

  /* One-edition phone layout: edition on the left, swipeable latest-issues carousel on the right. */
  .ep-home-edition-hub.is-one .ep-home-issues-pane{display:block;min-width:0}
  .ep-home-edition-hub.is-one .ep-home-issues-carousel{gap:7px;padding-bottom:5px;scrollbar-width:none}
  .ep-home-edition-hub.is-one .ep-home-issues-carousel::-webkit-scrollbar{display:none}
  .ep-home-edition-hub.is-one .ep-home-issue-slide{flex:0 0 100%;min-width:100%;}
  .ep-home-edition-hub.is-one .ep-home-issue-card .ep-edition-cover{aspect-ratio:3/4.15}
  .ep-home-edition-hub.is-one .ep-home-issue-card .ep-edition-info{padding:7px!important}
  .ep-home-edition-hub.is-one .ep-home-issue-card .ep-edition-name{font-size:12px!important}
  .ep-home-edition-hub.is-one .ep-home-issue-card .ep-edition-info span{font-size:9px!important}
  .ep-home-edition-hub.is-one .ep-home-issue-card .ep-edition-open{display:none}
}


/* V6.9.116: deterministic landing-page geometry.
 * 1 edition = 1 edition + 3 latest issues; 2 = 2 editions + 2 Main Edition issues;
 * 3 = 3 editions + 1 Main Edition issue; 4 = four editions only; 5+ = edition carousel.
 * Newspaper tiles use the same visual family and never stretch into half-cut cards. */
.ep-home-landing-page .ep-home-hub-grid{align-items:start!important}
.ep-home-landing-page .ep-home-edition-grid,.ep-home-landing-page .ep-home-issues-fixed-grid{align-items:start!important}
.ep-home-landing-page .ep-home-issue-card,.ep-home-landing-page .ep-home-edition-card{width:100%!important;max-width:none!important}
.ep-home-landing-page .ep-home-issue-card .ep-edition-cover,.ep-home-landing-page .ep-home-edition-card .ep-edition-cover{aspect-ratio:3/4.2!important}
.ep-home-issues-fixed-grid{display:grid!important;gap:16px!important;overflow:visible!important;padding:1px 0 10px!important}
.ep-home-issues-fixed-grid .ep-home-issue-slide{min-width:0!important}

@media(min-width:1201px){
  .ep-home-edition-hub.is-one .ep-home-hub-grid{grid-template-columns:minmax(360px,1fr) minmax(0,2.15fr)!important;gap:24px!important}
  .ep-home-edition-hub.is-one .ep-home-edition-grid{display:flex!important;justify-content:center!important;gap:16px!important;margin:0!important}
  .ep-home-edition-hub.is-one .ep-home-edition-card{flex:0 0 280px!important;width:280px!important;max-width:280px!important}
  .ep-home-edition-hub.is-one .ep-home-issues-fixed-grid{grid-template-columns:repeat(3,280px)!important;justify-content:center!important}
  .ep-home-edition-hub.is-one .ep-home-issue-slide,.ep-home-edition-hub.is-one .ep-home-issue-card{width:280px!important;max-width:280px!important}

  .ep-home-edition-hub.is-two .ep-home-hub-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:24px!important}
  .ep-home-edition-hub.is-two .ep-home-edition-grid{grid-template-columns:repeat(2,280px)!important;justify-content:center!important;gap:16px!important}
  .ep-home-edition-hub.is-two .ep-home-edition-card{width:280px!important;max-width:280px!important}
  .ep-home-edition-hub.is-two .ep-home-issues-fixed-grid{grid-template-columns:repeat(2,280px)!important;justify-content:center!important}
  .ep-home-edition-hub.is-two .ep-home-issue-slide,.ep-home-edition-hub.is-two .ep-home-issue-card{width:280px!important;max-width:280px!important}

  .ep-home-edition-hub.is-three .ep-home-hub-grid{grid-template-columns:minmax(0,2.45fr) minmax(300px,.95fr)!important;gap:24px!important}
  .ep-home-edition-hub.is-three .ep-home-edition-grid{grid-template-columns:repeat(3,280px)!important;justify-content:center!important;gap:16px!important}
  .ep-home-edition-hub.is-three .ep-home-edition-card{width:280px!important;max-width:280px!important}
  .ep-home-edition-hub.is-three .ep-home-issues-fixed-grid{grid-template-columns:280px!important;justify-content:center!important}
  .ep-home-edition-hub.is-three .ep-home-issue-slide,.ep-home-edition-hub.is-three .ep-home-issue-card{width:280px!important;max-width:280px!important}

  .ep-home-edition-hub.is-four .ep-home-hub-grid{grid-template-columns:1fr!important}
  .ep-home-edition-hub.is-four .ep-home-edition-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:16px!important;justify-content:center!important}
  .ep-home-edition-hub.is-four .ep-home-edition-card{width:100%!important;max-width:280px!important;justify-self:center!important}

  .ep-home-edition-hub.is-five-plus .ep-home-hub-grid{grid-template-columns:1fr!important}
  .ep-home-edition-hub.is-five-plus .ep-home-edition-grid.ep-home-edition-carousel-track{
    display:flex!important;gap:16px!important;overflow-x:auto!important;overflow-y:hidden!important;padding:2px 2px 12px!important;
    scroll-snap-type:x mandatory!important;scroll-padding-inline:2px!important;scrollbar-width:thin!important;justify-content:flex-start!important;
  }
  .ep-home-edition-hub.is-five-plus .ep-home-edition-grid.ep-home-edition-carousel-track .ep-home-edition-card{
    flex:0 0 min(280px, calc((100% - 48px) / 4))!important;width:min(280px, calc((100% - 48px) / 4))!important;max-width:none!important;
    scroll-snap-align:start!important;scroll-snap-stop:always!important;
  }
}

@media(min-width:621px) and (max-width:1200px){
  .ep-home-edition-hub.is-one .ep-home-hub-grid{grid-template-columns:minmax(290px,1fr) minmax(0,2.1fr)!important;gap:18px!important}
  .ep-home-edition-hub.is-one .ep-home-edition-grid{display:flex!important;justify-content:center!important;gap:10px!important}
  .ep-home-edition-hub.is-one .ep-home-edition-card{flex:0 0 220px!important;width:220px!important;max-width:220px!important}
  .ep-home-edition-hub.is-one .ep-home-issues-fixed-grid{grid-template-columns:repeat(3,220px)!important;justify-content:center!important;gap:10px!important}
  .ep-home-edition-hub.is-one .ep-home-issue-slide,.ep-home-edition-hub.is-one .ep-home-issue-card{width:220px!important;max-width:220px!important}

  .ep-home-edition-hub.is-two .ep-home-hub-grid{grid-template-columns:1fr 1fr!important;gap:18px!important}
  .ep-home-edition-hub.is-two .ep-home-edition-grid{grid-template-columns:repeat(2,220px)!important;justify-content:center!important;gap:10px!important}
  .ep-home-edition-hub.is-two .ep-home-edition-card{width:220px!important;max-width:220px!important}
  .ep-home-edition-hub.is-two .ep-home-issues-fixed-grid{grid-template-columns:repeat(2,220px)!important;justify-content:center!important;gap:10px!important}
  .ep-home-edition-hub.is-two .ep-home-issue-slide,.ep-home-edition-hub.is-two .ep-home-issue-card{width:220px!important;max-width:220px!important}

  .ep-home-edition-hub.is-three .ep-home-hub-grid{grid-template-columns:minmax(0,2.35fr) minmax(245px,.8fr)!important;gap:18px!important}
  .ep-home-edition-hub.is-three .ep-home-edition-grid{grid-template-columns:repeat(3,220px)!important;justify-content:center!important;gap:10px!important}
  .ep-home-edition-hub.is-three .ep-home-edition-card{width:220px!important;max-width:220px!important}
  .ep-home-edition-hub.is-three .ep-home-issues-fixed-grid{grid-template-columns:220px!important;justify-content:center!important}
  .ep-home-edition-hub.is-three .ep-home-issue-slide,.ep-home-edition-hub.is-three .ep-home-issue-card{width:220px!important;max-width:220px!important}

  .ep-home-edition-hub.is-four .ep-home-hub-grid{grid-template-columns:1fr!important}
  .ep-home-edition-hub.is-four .ep-home-edition-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:10px!important}
  .ep-home-edition-hub.is-four .ep-home-edition-card{width:100%!important;max-width:220px!important;justify-self:center!important}

  .ep-home-edition-hub.is-five-plus .ep-home-hub-grid{grid-template-columns:1fr!important}
  .ep-home-edition-hub.is-five-plus .ep-home-edition-grid.ep-home-edition-carousel-track{
    display:flex!important;gap:10px!important;overflow-x:auto!important;overflow-y:hidden!important;padding:2px 2px 10px!important;
    scroll-snap-type:x mandatory!important;scroll-padding-inline:2px!important;justify-content:flex-start!important;scrollbar-width:thin!important;
  }
  .ep-home-edition-hub.is-five-plus .ep-home-edition-grid.ep-home-edition-carousel-track .ep-home-edition-card{
    flex:0 0 min(220px, calc((100% - 30px) / 4))!important;width:min(220px, calc((100% - 30px) / 4))!important;max-width:none!important;
    scroll-snap-align:start!important;scroll-snap-stop:always!important;
  }
}

@media(max-width:620px){
  .ep-home-landing-page .ep-home-hub-grid{gap:10px!important}
  .ep-home-edition-hub.is-one .ep-home-hub-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:10px!important}
  .ep-home-edition-hub.is-one .ep-home-edition-grid{display:grid!important;grid-template-columns:1fr!important;gap:8px!important;margin:0!important}
  .ep-home-edition-hub.is-one .ep-home-edition-card{width:100%!important;max-width:none!important}
  .ep-home-edition-hub.is-one .ep-home-issues-fixed-grid{display:flex!important;gap:8px!important;overflow-x:auto!important;overflow-y:hidden!important;scroll-snap-type:x mandatory!important;scrollbar-width:none!important;padding:1px 1px 8px!important}
  .ep-home-edition-hub.is-one .ep-home-issues-fixed-grid::-webkit-scrollbar{display:none!important}
  .ep-home-edition-hub.is-one .ep-home-issues-fixed-grid .ep-home-issue-slide{flex:0 0 100%!important;width:100%!important;scroll-snap-align:start!important;scroll-snap-stop:always!important}
  .ep-home-edition-hub.is-one .ep-home-issue-card{width:100%!important;max-width:none!important}
  .ep-home-edition-hub.is-one .ep-home-hub-title .ep-section-subtitle{display:none!important}

  .ep-home-edition-hub.is-two .ep-home-issues-pane,.ep-home-edition-hub.is-three .ep-home-issues-pane{display:none!important}
  .ep-home-edition-hub.is-two .ep-home-edition-grid,.ep-home-edition-hub.is-three .ep-home-edition-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
  .ep-home-edition-hub.is-two .ep-home-edition-card,.ep-home-edition-hub.is-three .ep-home-edition-card{width:100%!important;max-width:none!important}

  .ep-home-edition-hub.is-four .ep-home-edition-grid.ep-home-edition-carousel-track,
  .ep-home-edition-hub.is-five-plus .ep-home-edition-grid.ep-home-edition-carousel-track{
    display:flex!important;gap:9px!important;overflow-x:auto!important;overflow-y:hidden!important;padding:1px 2px 10px!important;
    scroll-snap-type:x mandatory!important;scroll-padding-inline:2px!important;scrollbar-width:none!important;justify-content:flex-start!important;
  }
  .ep-home-edition-hub.is-four .ep-home-edition-grid.ep-home-edition-carousel-track::-webkit-scrollbar,
  .ep-home-edition-hub.is-five-plus .ep-home-edition-grid.ep-home-edition-carousel-track::-webkit-scrollbar{display:none!important}
  .ep-home-edition-hub.is-four .ep-home-edition-grid.ep-home-edition-carousel-track .ep-home-edition-card,
  .ep-home-edition-hub.is-five-plus .ep-home-edition-grid.ep-home-edition-carousel-track .ep-home-edition-card{
    flex:0 0 100%!important;width:100%!important;max-width:none!important;scroll-snap-align:start!important;scroll-snap-stop:always!important;
  }
}

@media(max-width:390px){.ep-home-edition-hub{padding-inline:8px!important}}

/* V6.9.117: final landing-page centering pass.
 * Keep the newspaper card family at one consistent size and center the complete
 * composition for every desktop/tablet edition-count scenario. This prevents the
 * large empty/odd right-side gap visible when only one issue remains in the
 * Latest Issues pane.
 */
@media(min-width:1201px){
  .ep-home-landing-page .ep-home-hub-grid{display:grid!important;justify-content:center!important;align-items:start!important}
  .ep-home-landing-page .ep-home-editions-pane,
  .ep-home-landing-page .ep-home-issues-pane{width:max-content!important;max-width:none!important}

  /* One, two and three editions each resolve to exactly four fixed-size cards
     across the combined hub, so the visual rhythm and outer spacing stay identical. */
  .ep-home-edition-hub.is-one .ep-home-hub-grid,
  .ep-home-edition-hub.is-two .ep-home-hub-grid,
  .ep-home-edition-hub.is-three .ep-home-hub-grid{
    grid-template-columns:max-content max-content!important;
    column-gap:24px!important;
  }
  .ep-home-edition-hub.is-one .ep-home-edition-grid{display:grid!important;grid-template-columns:280px!important;gap:16px!important;justify-content:center!important}
  .ep-home-edition-hub.is-one .ep-home-issues-fixed-grid{display:grid!important;grid-template-columns:repeat(3,280px)!important;gap:16px!important;justify-content:center!important}
  .ep-home-edition-hub.is-two .ep-home-edition-grid{display:grid!important;grid-template-columns:repeat(2,280px)!important;gap:16px!important;justify-content:center!important}
  .ep-home-edition-hub.is-two .ep-home-issues-fixed-grid{display:grid!important;grid-template-columns:repeat(2,280px)!important;gap:16px!important;justify-content:center!important}
  .ep-home-edition-hub.is-three .ep-home-edition-grid{display:grid!important;grid-template-columns:repeat(3,280px)!important;gap:16px!important;justify-content:center!important}
  .ep-home-edition-hub.is-three .ep-home-issues-fixed-grid{display:grid!important;grid-template-columns:280px!important;gap:16px!important;justify-content:center!important}

  .ep-home-landing-page .ep-home-edition-card,
  .ep-home-landing-page .ep-home-issue-card,
  .ep-home-landing-page .ep-home-issue-slide{width:280px!important;max-width:280px!important}

  /* Four editions: editions only, four cards centered as one clean row. */
  .ep-home-edition-hub.is-four .ep-home-hub-grid{grid-template-columns:max-content!important;justify-content:center!important}
  .ep-home-edition-hub.is-four .ep-home-edition-grid{display:grid!important;grid-template-columns:repeat(4,280px)!important;gap:16px!important;justify-content:center!important}
  .ep-home-edition-hub.is-four .ep-home-edition-card{width:280px!important;max-width:280px!important;justify-self:center!important}

  /* Five or more editions: first view contains four complete cards, centered
     inside the viewport. Additional cards continue in the same horizontal track. */
  .ep-home-edition-hub.is-five-plus .ep-home-hub-grid{grid-template-columns:minmax(0,1fr)!important;justify-content:center!important}
  .ep-home-edition-hub.is-five-plus .ep-home-edition-grid.ep-home-edition-carousel-track{
    display:grid!important;
    grid-auto-flow:column!important;
    grid-auto-columns:280px!important;
    grid-template-rows:auto!important;
    gap:16px!important;
    justify-content:start!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    overscroll-behavior-x:contain!important;
    padding:2px max(0px, calc((100% - 1168px)/2)) 14px!important;
    scroll-padding-inline:max(0px, calc((100% - 1168px)/2))!important;
    scroll-snap-type:x mandatory!important;
  }
  .ep-home-edition-hub.is-five-plus .ep-home-edition-grid.ep-home-edition-carousel-track .ep-home-edition-card{
    width:280px!important;max-width:280px!important;min-width:280px!important;
    scroll-snap-align:start!important;scroll-snap-stop:always!important;
  }
}

@media(min-width:621px) and (max-width:1200px){
  .ep-home-landing-page .ep-home-hub-grid{display:grid!important;justify-content:center!important;align-items:start!important}
  .ep-home-landing-page .ep-home-editions-pane,
  .ep-home-landing-page .ep-home-issues-pane{width:max-content!important;max-width:none!important}

  .ep-home-edition-hub.is-one .ep-home-hub-grid,
  .ep-home-edition-hub.is-two .ep-home-hub-grid,
  .ep-home-edition-hub.is-three .ep-home-hub-grid{
    grid-template-columns:max-content max-content!important;
    column-gap:18px!important;
  }
  .ep-home-edition-hub.is-one .ep-home-edition-grid{display:grid!important;grid-template-columns:220px!important;gap:10px!important;justify-content:center!important}
  .ep-home-edition-hub.is-one .ep-home-issues-fixed-grid{display:grid!important;grid-template-columns:repeat(3,220px)!important;gap:10px!important;justify-content:center!important}
  .ep-home-edition-hub.is-two .ep-home-edition-grid{display:grid!important;grid-template-columns:repeat(2,220px)!important;gap:10px!important;justify-content:center!important}
  .ep-home-edition-hub.is-two .ep-home-issues-fixed-grid{display:grid!important;grid-template-columns:repeat(2,220px)!important;gap:10px!important;justify-content:center!important}
  .ep-home-edition-hub.is-three .ep-home-edition-grid{display:grid!important;grid-template-columns:repeat(3,220px)!important;gap:10px!important;justify-content:center!important}
  .ep-home-edition-hub.is-three .ep-home-issues-fixed-grid{display:grid!important;grid-template-columns:220px!important;gap:10px!important;justify-content:center!important}

  .ep-home-landing-page .ep-home-edition-card,
  .ep-home-landing-page .ep-home-issue-card,
  .ep-home-landing-page .ep-home-issue-slide{width:220px!important;max-width:220px!important}

  .ep-home-edition-hub.is-four .ep-home-hub-grid{grid-template-columns:max-content!important;justify-content:center!important}
  .ep-home-edition-hub.is-four .ep-home-edition-grid{display:grid!important;grid-template-columns:repeat(4,220px)!important;gap:10px!important;justify-content:center!important}
  .ep-home-edition-hub.is-four .ep-home-edition-card{width:220px!important;max-width:220px!important;justify-self:center!important}

  .ep-home-edition-hub.is-five-plus .ep-home-hub-grid{grid-template-columns:minmax(0,1fr)!important;justify-content:center!important}
  .ep-home-edition-hub.is-five-plus .ep-home-edition-grid.ep-home-edition-carousel-track{
    display:grid!important;grid-auto-flow:column!important;grid-auto-columns:220px!important;grid-template-rows:auto!important;gap:10px!important;
    justify-content:start!important;overflow-x:auto!important;overflow-y:hidden!important;
    padding:2px max(0px, calc((100% - 910px)/2)) 12px!important;
    scroll-padding-inline:max(0px, calc((100% - 910px)/2))!important;
    scroll-snap-type:x mandatory!important;overscroll-behavior-x:contain!important;
  }
  .ep-home-edition-hub.is-five-plus .ep-home-edition-grid.ep-home-edition-carousel-track .ep-home-edition-card{
    width:220px!important;max-width:220px!important;min-width:220px!important;scroll-snap-align:start!important;scroll-snap-stop:always!important;
  }
}

@media(max-width:620px){
  /* Keep the clean centered card treatment on phones without changing the
     established one-edition side-by-side and 2/3-edition mobile behavior. */
  .ep-home-landing-page .ep-home-editions-pane .ep-home-hub-title,
  .ep-home-landing-page .ep-home-issues-pane .ep-home-hub-title{display:flex!important;justify-content:center!important}
  .ep-home-landing-page .ep-home-edition-grid,
  .ep-home-landing-page .ep-home-issues-fixed-grid{justify-content:center!important}

  .ep-home-edition-hub.is-four .ep-home-edition-grid.ep-home-edition-carousel-track,
  .ep-home-edition-hub.is-five-plus .ep-home-edition-grid.ep-home-edition-carousel-track{
    padding-left:max(8px, calc((100% - 280px)/2))!important;
    padding-right:max(8px, calc((100% - 280px)/2))!important;
    scroll-padding-inline:max(8px, calc((100% - 280px)/2))!important;
  }
}


/* V6.9.118: compact landing buttons and drag/drop structure order. */
.ep-home-landing-page{display:flex!important;flex-direction:column!important}
.ep-home-landing-page .ep-home-edition-hub{order:var(--ep-home-hub-order,0)}
.ep-home-landing-page .ep-home-blog-section{order:var(--ep-home-articles-order,99)}
.ep-home-landing-page .ep-home-hub-title{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:36px!important;margin-bottom:10px!important}
.ep-home-landing-page .ep-home-hub-title>div{display:flex;align-items:center;gap:9px;min-width:0}
.ep-home-landing-page .ep-home-landing-button{display:inline-flex!important;align-items:center;justify-content:center;white-space:nowrap;border-radius:var(--ep-home-btn-radius,8px)!important;background:var(--ep-home-btn-bg)!important;color:var(--ep-home-btn-color)!important;padding:7px 12px!important;min-height:36px!important;font:800 var(--ep-home-btn-font-size,13px)/1 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;text-decoration:none!important;box-shadow:none!important;border:1px solid var(--ep-home-btn-bg)!important;cursor:default}
.ep-home-landing-page .ep-home-landing-button:hover{background:var(--ep-home-btn-hover)!important;border-color:var(--ep-home-btn-hover)!important;color:var(--ep-home-btn-color)!important}
.ep-home-landing-page .ep-home-latest-issue-button{display:inline-flex!important;align-items:center;justify-content:center;white-space:nowrap;min-height:36px;padding:7px 12px!important;border-radius:var(--ep-home-btn-radius,8px)!important;background:var(--ep-home-btn-bg)!important;color:var(--ep-home-btn-color)!important;border:1px solid var(--ep-home-btn-bg)!important;font:800 var(--ep-home-btn-font-size,13px)/1 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;text-decoration:none!important}
.ep-home-landing-page .ep-home-latest-issue-button:hover,.ep-home-landing-page .ep-home-latest-issue-button:focus-visible{background:var(--ep-home-btn-hover)!important;border-color:var(--ep-home-btn-hover)!important;color:var(--ep-home-btn-color)!important}
@media(max-width:620px){
  .ep-home-landing-page .ep-home-hub-title{min-height:34px!important;gap:6px!important}
  .ep-home-landing-page .ep-home-hub-title>div{gap:6px!important}
  .ep-home-landing-page .ep-home-landing-button,.ep-home-landing-page .ep-home-latest-issue-button{padding:6px 9px!important;min-height:32px!important;font-size:12px!important}
}
.ep-landing-builder{margin:0 0 16px;padding:14px;border:1px solid #dfe3e8;border-radius:12px;background:#f8fafc}
.ep-landing-builder-head{display:flex;flex-direction:column;gap:3px;margin-bottom:10px}.ep-landing-builder-head strong{font-size:14px}.ep-landing-builder-head span{font-size:12px;color:#667085}
.ep-landing-block-list{display:flex;flex-direction:column;gap:7px}.ep-landing-block-row{display:grid;grid-template-columns:38px minmax(0,1fr) auto auto;align-items:center;gap:9px;padding:9px 10px;background:#fff;border:1px solid #d8dee6;border-radius:9px;cursor:grab;transition:.12s ease}.ep-landing-block-row:active{cursor:grabbing}.ep-landing-block-row.is-dragging{opacity:.55}.ep-landing-block-row.is-drag-over{border-color:#2271b1;box-shadow:0 0 0 2px rgba(34,113,177,.12)}
.ep-landing-drag{font-size:17px!important;line-height:1!important;min-width:34px!important;padding:6px 7px!important}.ep-landing-block-copy{display:flex;flex-direction:column;min-width:0}.ep-landing-block-copy strong{font-size:13px;color:#101828}.ep-landing-block-copy small{font-size:11px;color:#667085;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ep-landing-block-show{display:inline-flex!important;align-items:center;gap:5px!important;font-size:11px!important;color:#344054!important;white-space:nowrap}.ep-landing-block-show input{margin:0!important}.ep-landing-block-arrows{display:flex;gap:4px}
@media(max-width:640px){.ep-landing-block-row{grid-template-columns:34px minmax(0,1fr) auto}.ep-landing-block-arrows{grid-column:2/-1}.ep-landing-block-copy small{white-space:normal}}

/* Disabled-block safeguards for the Landing Page Builder. */
.ep-home-edition-hub.only-editions .ep-home-hub-grid{grid-template-columns:1fr!important}
.ep-home-edition-hub.only-issues .ep-home-hub-grid{grid-template-columns:1fr!important}
.ep-home-edition-hub.only-editions .ep-home-editions-pane,.ep-home-edition-hub.only-issues .ep-home-issues-pane{width:100%!important;max-width:none!important}


/* V6.9.119: final landing-page geometry and mobile presentation. */
.ep-editions-page.ep-home-landing-page{
  padding-top:8px!important;
}
.ep-home-landing-page .ep-home-edition-hub{
  margin-top:8px!important;
  padding-top:8px!important;
  padding-left:14px!important;
  padding-right:14px!important;
}
.ep-home-landing-page .ep-home-hub-title{
  justify-content:flex-start!important;
  text-align:left!important;
  margin-bottom:8px!important;
}
.ep-home-landing-page .ep-home-hub-title>div{
  width:100%;
  justify-content:flex-start!important;
  align-items:center!important;
  text-align:left!important;
}
.ep-home-landing-page .ep-home-landing-button,
.ep-home-landing-page .ep-home-latest-issue-button{
  flex:0 0 auto!important;
  min-height:34px!important;
  padding:6px 11px!important;
  font-size:12px!important;
}
.ep-home-landing-page .ep-home-edition-grid,
.ep-home-landing-page .ep-home-issues-fixed-grid{
  align-items:start!important;
}
.ep-home-landing-page .ep-home-edition-card,
.ep-home-landing-page .ep-home-issue-card,
.ep-home-landing-page .ep-home-issue-slide{
  box-sizing:border-box!important;
}

/* Desktop: fixed, identical newspaper card size and balanced two-column composition. */
@media(min-width:1201px){
  .ep-home-landing-page .ep-home-edition-card,
  .ep-home-landing-page .ep-home-issue-card,
  .ep-home-landing-page .ep-home-issue-slide{width:280px!important;max-width:280px!important}
  .ep-home-edition-hub.is-one .ep-home-hub-grid{
    grid-template-columns:minmax(280px,1fr) minmax(0,3.15fr)!important;
    gap:20px!important;
  }
  .ep-home-edition-hub.is-one .ep-home-edition-grid{display:grid!important;grid-template-columns:280px!important;gap:16px!important;justify-content:center!important}
  .ep-home-edition-hub.is-one .ep-home-issues-fixed-grid{display:grid!important;grid-template-columns:repeat(3,280px)!important;gap:16px!important;justify-content:center!important}

  .ep-home-edition-hub.is-two .ep-home-hub-grid{grid-template-columns:1fr 1fr!important;gap:20px!important}
  .ep-home-edition-hub.is-two .ep-home-edition-grid{display:grid!important;grid-template-columns:repeat(2,280px)!important;gap:16px!important;justify-content:center!important}
  .ep-home-edition-hub.is-two .ep-home-issues-fixed-grid{display:grid!important;grid-template-columns:repeat(2,280px)!important;gap:16px!important;justify-content:center!important}

  .ep-home-edition-hub.is-three .ep-home-hub-grid{grid-template-columns:minmax(0,3.35fr) minmax(280px,1fr)!important;gap:20px!important}
  .ep-home-edition-hub.is-three .ep-home-edition-grid{display:grid!important;grid-template-columns:repeat(3,280px)!important;gap:16px!important;justify-content:center!important}
  .ep-home-edition-hub.is-three .ep-home-issues-fixed-grid{display:grid!important;grid-template-columns:280px!important;gap:16px!important;justify-content:center!important}

  .ep-home-edition-hub.is-four .ep-home-hub-grid{grid-template-columns:1fr!important}
  .ep-home-edition-hub.is-four .ep-home-edition-grid{display:grid!important;grid-template-columns:repeat(4,280px)!important;gap:16px!important;justify-content:center!important}

  .ep-home-edition-hub.is-five-plus .ep-home-hub-grid{grid-template-columns:1fr!important}
  .ep-home-edition-hub.is-five-plus .ep-home-edition-grid.ep-home-edition-carousel-track{
    display:flex!important;
    gap:16px!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    justify-content:flex-start!important;
    padding:2px max(0px, calc((100% - 1168px)/2)) 12px!important;
    scroll-padding-inline:max(0px, calc((100% - 1168px)/2))!important;
    scroll-snap-type:x mandatory!important;
  }
  .ep-home-edition-hub.is-five-plus .ep-home-edition-grid.ep-home-edition-carousel-track .ep-home-edition-card{
    flex:0 0 280px!important;width:280px!important;max-width:280px!important;
    scroll-snap-align:start!important;scroll-snap-stop:always!important;
  }
}

/* Tablet: retain the same composition but use the 220px card family. */
@media(min-width:621px) and (max-width:1200px){
  .ep-home-landing-page .ep-home-edition-card,
  .ep-home-landing-page .ep-home-issue-card,
  .ep-home-landing-page .ep-home-issue-slide{width:220px!important;max-width:220px!important}
  .ep-home-edition-hub.is-one .ep-home-hub-grid{grid-template-columns:max-content max-content!important;gap:18px!important;justify-content:center!important}
  .ep-home-edition-hub.is-one .ep-home-edition-grid{display:grid!important;grid-template-columns:220px!important;gap:10px!important;justify-content:center!important}
  .ep-home-edition-hub.is-one .ep-home-issues-fixed-grid{display:grid!important;grid-template-columns:repeat(3,220px)!important;gap:10px!important;justify-content:center!important}
  .ep-home-edition-hub.is-two .ep-home-hub-grid{grid-template-columns:max-content max-content!important;gap:18px!important;justify-content:center!important}
  .ep-home-edition-hub.is-two .ep-home-edition-grid{display:grid!important;grid-template-columns:repeat(2,220px)!important;gap:10px!important;justify-content:center!important}
  .ep-home-edition-hub.is-two .ep-home-issues-fixed-grid{display:grid!important;grid-template-columns:repeat(2,220px)!important;gap:10px!important;justify-content:center!important}
  .ep-home-edition-hub.is-three .ep-home-hub-grid{grid-template-columns:max-content max-content!important;gap:18px!important;justify-content:center!important}
  .ep-home-edition-hub.is-three .ep-home-edition-grid{display:grid!important;grid-template-columns:repeat(3,220px)!important;gap:10px!important;justify-content:center!important}
  .ep-home-edition-hub.is-three .ep-home-issues-fixed-grid{display:grid!important;grid-template-columns:220px!important;gap:10px!important;justify-content:center!important}
  .ep-home-edition-hub.is-four .ep-home-hub-grid{grid-template-columns:1fr!important}
  .ep-home-edition-hub.is-four .ep-home-edition-grid{display:grid!important;grid-template-columns:repeat(4,220px)!important;gap:10px!important;justify-content:center!important}
  .ep-home-edition-hub.is-five-plus .ep-home-hub-grid{grid-template-columns:1fr!important}
  .ep-home-edition-hub.is-five-plus .ep-home-edition-grid.ep-home-edition-carousel-track{
    display:flex!important;gap:10px!important;overflow-x:auto!important;overflow-y:hidden!important;
    justify-content:flex-start!important;padding:2px max(0px, calc((100% - 910px)/2)) 12px!important;
    scroll-padding-inline:max(0px, calc((100% - 910px)/2))!important;scroll-snap-type:x mandatory!important;
  }
  .ep-home-edition-hub.is-five-plus .ep-home-edition-grid.ep-home-edition-carousel-track .ep-home-edition-card{
    flex:0 0 220px!important;width:220px!important;max-width:220px!important;scroll-snap-align:start!important;scroll-snap-stop:always!important;
  }
}

/* Mobile: keep exactly two visible newspaper cards per viewport. One edition =
   one Edition card + one Latest Issue card. With 2+ editions, only editions are
   shown and two cards are visible at a time in a horizontal carousel. */
@media(max-width:620px){
  .ep-editions-page.ep-home-landing-page{padding-top:4px!important}
  .ep-home-landing-page .ep-home-edition-hub{margin-top:4px!important;padding:6px 8px 10px!important}
  .ep-home-landing-page .ep-home-hub-grid{gap:8px!important}
  .ep-home-landing-page .ep-home-hub-title{justify-content:flex-start!important;margin-bottom:6px!important;min-height:32px!important}
  .ep-home-landing-page .ep-home-hub-title>div{justify-content:flex-start!important;gap:6px!important}
  .ep-home-landing-page .ep-home-landing-button,
  .ep-home-landing-page .ep-home-latest-issue-button{
    min-height:32px!important;padding:6px 10px!important;font-size:12px!important;border-radius:8px!important;
  }
  .ep-home-landing-page .ep-section-subtitle{font-size:9px!important}

  /* One edition: two side-by-side cards. Only one issue card is visible, with
     the remaining latest issues available by horizontal swipe. */
  .ep-home-edition-hub.is-one .ep-home-hub-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:8px!important}
  .ep-home-edition-hub.is-one .ep-home-editions-pane,
  .ep-home-edition-hub.is-one .ep-home-issues-pane{min-width:0!important;width:100%!important}
  .ep-home-edition-hub.is-one .ep-home-edition-grid{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:7px!important;justify-content:center!important;margin:0!important}
  .ep-home-edition-hub.is-one .ep-home-edition-card{width:100%!important;max-width:none!important}
  .ep-home-edition-hub.is-one .ep-home-issues-fixed-grid{
    display:flex!important;gap:7px!important;overflow-x:auto!important;overflow-y:hidden!important;
    justify-content:flex-start!important;padding:0 1px 4px!important;scroll-snap-type:x mandatory!important;
    scrollbar-width:none!important;overscroll-behavior-x:contain!important;
  }
  .ep-home-edition-hub.is-one .ep-home-issues-fixed-grid::-webkit-scrollbar{display:none!important}
  .ep-home-edition-hub.is-one .ep-home-issue-slide{flex:0 0 100%!important;width:100%!important;max-width:100%!important;min-width:100%!important;scroll-snap-align:start!important}
  .ep-home-edition-hub.is-one .ep-home-issue-card{width:100%!important;max-width:none!important}

  /* 2+ editions: hide the issue pane and show exactly two edition cards per
     viewport. Extra editions are still reachable by horizontal swipe. */
  .ep-home-edition-hub.is-two .ep-home-issues-pane,
  .ep-home-edition-hub.is-three .ep-home-issues-pane,
  .ep-home-edition-hub.is-four .ep-home-issues-pane,
  .ep-home-edition-hub.is-five-plus .ep-home-issues-pane{display:none!important}
  .ep-home-edition-hub.is-two .ep-home-hub-grid,
  .ep-home-edition-hub.is-three .ep-home-hub-grid,
  .ep-home-edition-hub.is-four .ep-home-hub-grid,
  .ep-home-edition-hub.is-five-plus .ep-home-hub-grid{grid-template-columns:1fr!important}
  .ep-home-edition-hub.is-two .ep-home-editions-pane,
  .ep-home-edition-hub.is-three .ep-home-editions-pane,
  .ep-home-edition-hub.is-four .ep-home-editions-pane,
  .ep-home-edition-hub.is-five-plus .ep-home-editions-pane{width:100%!important;min-width:0!important}
  .ep-home-edition-hub.is-two .ep-home-edition-grid,
  .ep-home-edition-hub.is-three .ep-home-edition-grid,
  .ep-home-edition-hub.is-four .ep-home-edition-grid,
  .ep-home-edition-hub.is-five-plus .ep-home-edition-grid.ep-home-edition-carousel-track,
  .ep-home-edition-hub.is-five-plus .ep-home-edition-grid{
    display:flex!important;flex-wrap:nowrap!important;gap:8px!important;overflow-x:auto!important;overflow-y:hidden!important;
    justify-content:flex-start!important;padding:0 1px 5px!important;scroll-snap-type:x mandatory!important;
    scrollbar-width:none!important;overscroll-behavior-x:contain!important;
  }
  .ep-home-edition-hub.is-two .ep-home-edition-grid::-webkit-scrollbar,
  .ep-home-edition-hub.is-three .ep-home-edition-grid::-webkit-scrollbar,
  .ep-home-edition-hub.is-four .ep-home-edition-grid::-webkit-scrollbar,
  .ep-home-edition-hub.is-five-plus .ep-home-edition-grid::-webkit-scrollbar{display:none!important}
  .ep-home-edition-hub.is-two .ep-home-edition-card,
  .ep-home-edition-hub.is-three .ep-home-edition-card,
  .ep-home-edition-hub.is-four .ep-home-edition-card,
  .ep-home-edition-hub.is-five-plus .ep-home-edition-card{
    flex:0 0 calc((100% - 8px)/2)!important;width:calc((100% - 8px)/2)!important;max-width:none!important;scroll-snap-align:start!important;scroll-snap-stop:always!important;
  }

  /* Same thumbnail proportions and typography for both Edition and Issue cards. */
  .ep-home-landing-page .ep-home-edition-card .ep-edition-cover,
  .ep-home-landing-page .ep-home-issue-card .ep-edition-cover{aspect-ratio:3/4.2!important}
  .ep-home-landing-page .ep-home-edition-card .ep-edition-info,
  .ep-home-landing-page .ep-home-issue-card .ep-edition-info{padding:7px!important}
  .ep-home-landing-page .ep-home-edition-card .ep-edition-name,
  .ep-home-landing-page .ep-home-issue-card .ep-edition-name{font-size:12px!important}
  .ep-home-landing-page .ep-home-edition-card .ep-edition-info span,
  .ep-home-landing-page .ep-home-issue-card .ep-edition-info span{font-size:9px!important}
}

/* V6.9.122: keep exactly one Edition Name in the information row below the newspaper.
   The cover hover contains only the Open ePaper action and does not duplicate the name. */
.ep-home-landing-page .ep-home-edition-card .ep-edition-info h2.ep-edition-name,
.ep-home-landing-page .ep-home-issue-card .ep-edition-info h2.ep-edition-name{display:block!important}
.ep-home-landing-page .ep-home-edition-card .ep-edition-info,
.ep-home-landing-page .ep-home-issue-card .ep-edition-info{justify-content:space-between!important}
.ep-home-landing-page .ep-home-edition-card .ep-edition-cover-name,
.ep-home-landing-page .ep-home-issue-card .ep-edition-cover-name{display:none!important}
.ep-home-landing-page .ep-home-edition-card .ep-edition-open,
.ep-home-landing-page .ep-home-issue-card .ep-edition-open{display:block!important;opacity:1!important;transform:none!important;bottom:10px!important;z-index:3}
@media(max-width:620px){
  .ep-home-landing-page .ep-home-edition-card .ep-edition-name,
  .ep-home-landing-page .ep-home-issue-card .ep-edition-name{display:block!important}
  .ep-home-landing-page .ep-home-edition-card .ep-edition-open,
  .ep-home-landing-page .ep-home-issue-card .ep-edition-open{bottom:8px!important;font-size:11px!important;padding:7px 8px!important}
}



/* V6.9.123: high-quality inline full-page image fallback. Prevent WordPress/theme
 * image rules from shrinking or distorting the rasterized newspaper page. */
.ep-reader-full-mode .ep-pdf-image{
  display:block!important;
  background:#fff!important;
  max-width:none!important;
  width:auto;
  height:auto;
  border:0!important;
  box-shadow:none!important;
  user-select:none;
  -webkit-user-drag:none;
  image-rendering:auto;
}
.ep-reader-full-mode .ep-pdf-page img.ep-pdf-image{max-width:none!important;}
.ep-reader-full-mode .ep-pdf-page{isolation:isolate;}

/* V6.9.126: Forward News uses the same browser-rendered clipping as the public viewer. */
.ep-forward-client-clip{display:flex;align-items:center;justify-content:center;min-height:260px;background:#fff;border:1px solid #e2e8f0;border-radius:12px;overflow:hidden;}
.ep-forward-client-image{display:block;width:100%;height:auto;max-width:100%;background:#fff;object-fit:contain;}
.ep-clip-client-loading{padding:28px;text-align:center;color:#64748b;font-size:14px;}
.ep-clip-client-error{padding:28px;text-align:center;color:#b42318;}

/* V6.9.126 application designer and routing */
.ep-application-profile-picker{margin:10px 0 14px;padding:12px;border:1px solid #e2e8f0;border-radius:10px;background:#f8fafc}.ep-application-profile-picker label{display:flex;flex-direction:column;gap:5px;font-weight:700}.ep-application-profile-picker select{width:100%;min-height:42px}.ep-application-profile-picker small{display:block;margin-top:5px;color:#64748b}
.ep-dynamic-application-field select,.ep-dynamic-application-field textarea,.ep-dynamic-application-field input{font-family:inherit}.ep-radio-options{display:flex;gap:10px;flex-wrap:wrap}.ep-radio-options label{display:flex;align-items:center;gap:5px;font-weight:500}.ep-field-checkbox{display:block}.ep-checkbox-wrap{display:flex!important;align-items:center;gap:8px;font-weight:600}.ep-checkbox-wrap input{width:auto!important}.ep-professional-letter{font-family:var(--ep-app-font,"Noto Sans Oriya","Noto Sans",Arial,sans-serif)!important}.ep-professional-letter .ep-doc-subject{font-size:calc(var(--ep-app-subject-size,15) * 1px)!important}.ep-professional-letter .ep-doc-body{font-size:calc(var(--ep-app-body-size,14) * 1px)!important;line-height:var(--ep-app-line-height,1.55)!important}.ep-professional-letter .ep-doc-clip-full{margin-bottom:var(--ep-app-clip-gap,24px)!important}.ep-professional-letter .ep-doc-sign-box{margin-top:var(--ep-app-sign-gap,28px)!important}


/* V6.9.126: application builder grid aligns every control on one row at desktop. */
.ep-application-builder-card .ep-application-field-row{
  grid-template-columns:72px 150px minmax(150px,1.25fr) 125px 120px 92px 78px 78px minmax(140px,1fr) minmax(180px,1.25fr) 66px!important;
  align-items:end!important;
}
.ep-application-builder-card .ep-app-field-options{grid-column:auto!important}
.ep-application-builder-card .ep-app-field-options textarea{width:100%;min-width:0;box-sizing:border-box}
@media(max-width:1320px){
  .ep-application-builder-card .ep-application-field-row{grid-template-columns:60px 118px minmax(130px,1.2fr) 105px 105px 82px 74px 74px minmax(125px,1fr) minmax(150px,1.1fr) 58px!important;gap:6px!important}
}
@media(max-width:1200px){
  .ep-application-builder-card .ep-application-field-row{grid-template-columns:60px 120px repeat(4,minmax(105px,1fr))!important}
  .ep-application-builder-card .ep-app-field-placeholder,.ep-application-builder-card .ep-app-field-options{grid-column:1/-1!important}
  .ep-application-builder-card .ep-delete-application-field{grid-column:auto!important}
}
@media(max-width:782px){
  .ep-application-builder-card .ep-application-field-row{grid-template-columns:1fr 1fr!important}
}

/* Keep a visible separation between a rendered clipping and the signature block. */
.ep-professional-letter .ep-doc-clip-full{margin-bottom:var(--ep-app-clip-gap,24px)!important}
.ep-professional-letter .ep-doc-sign-box{margin-top:max(var(--ep-app-sign-gap,28px),18px)!important;padding-top:12px!important}


/* V6.9.131: first-load guard. Never allow the legacy server-raster preload
 * to become a visible layer; the real PDF canvas is revealed atomically after render. */
.ep-reader-full-mode .ep-pdf-image-preload{display:none!important;visibility:hidden!important;opacity:0!important;}

/* V6.9.130: keep the full-page viewer white until the first PDF canvas is fully rendered.
 * This prevents the dark viewer surface or a stale raster from flashing during first paint. */
.ep-reader-full-mode:not(.ep-initial-render-ready) .ep-pdf-viewer{background:#fff!important}
.ep-reader-full-mode:not(.ep-initial-render-ready) .ep-pdf-page{background:#fff!important;box-shadow:none!important}
.ep-reader-full-mode:not(.ep-initial-render-ready) .ep-pdf-canvas{visibility:hidden!important;opacity:0!important}

/* V6.9.129: clip detail rendering polish.
 * Never expose a low-resolution placeholder or a text progress screen. The
 * image stays visually hidden until the final PDF-rendered PNG is fully loaded.
 * Desktop only: fit the completed clipping inside the available viewport while
 * preserving the existing mobile sizing exactly. */
.ep-clip-detail-image-pending{background:#fff!important;min-height:220px!important;}
.ep-clip-detail-image-pending .ep-clip-detail-image{visibility:hidden!important;}
.ep-clip-detail-image-pending .ep-clip-detail-image-reserve{display:block!important;width:100%!important;height:220px!important;background:#fff!important;}
.ep-clip-detail:not(.ep-clip-detail-pending) .ep-clip-detail-image-reserve{display:none!important;}
.ep-clip-detail-image-wrap:not(.ep-clip-detail-image-pending) .ep-clip-detail-image{visibility:visible!important;}
.ep-clip-loading-surface{min-height:100vh!important;background:#fff!important;}

@media(min-width:981px){
  .ep-natural-clip-modal .ep-clip-detail-image-wrap{
    width:100vw!important;
    max-width:100vw!important;
    min-height:0!important;
    padding:10px 0 8px!important;
    margin:0!important;
    box-sizing:border-box!important;
    display:flex!important;
    align-items:flex-start!important;
    justify-content:center!important;
    overflow:visible!important;
  }
  .ep-natural-clip-modal .ep-clip-detail-image{
    width:auto!important;
    height:auto!important;
    max-width:calc(100vw - 32px)!important;
    max-height:calc(100vh - 190px)!important;
    min-width:0!important;
    margin:0 auto!important;
    object-fit:contain!important;
    object-position:center top!important;
    box-sizing:border-box!important;
    box-shadow:none!important;
    background:#fff!important;
  }
  .ep-natural-clip-modal .ep-clip-detail-image-pending .ep-clip-detail-image-reserve{height:min(220px,calc(100vh - 190px))!important;}
}


/* V6.9.132: editable scrolling site notification bar. */
.ep-notification-bar{width:100%;background:var(--ep-notice-bg,#0b5cab);color:var(--ep-notice-text,#fff);overflow:hidden;position:relative;z-index:1200;border:0;min-height:36px;display:flex;align-items:center}
.ep-notification-viewport{width:100%;overflow:hidden;white-space:nowrap}
.ep-notification-track{display:inline-flex;align-items:center;min-width:max-content;will-change:transform;animation:ep-notification-scroll 28s linear infinite}
.ep-notification-track span{display:inline-block;padding:7px 42px;font-size:14px;line-height:1.45;font-weight:700;color:inherit}
@keyframes ep-notification-scroll{0%{transform:translate3d(0,0,0)}100%{transform:translate3d(-50%,0,0)}}
.ep-notification-bar:hover .ep-notification-track{animation-play-state:paused}
@media(max-width:640px){.ep-notification-bar{min-height:32px}.ep-notification-track span{padding:6px 30px;font-size:12px}}


/* V6.9.134: mobile/tablet green navigation order. Desktop is intentionally unchanged. */
.ep-edition-strip-mobile-items{display:none!important}
@media(max-width:980px){
  /* Mobile/tablet: keep the green navigation completely hidden until the main Menu is opened. */
  .ep-edition-strip{display:none!important}
  body.ep-menu-open .ep-edition-strip{display:block!important}
  .ep-header .ep-nav-links-mobile{display:none!important}
  .ep-edition-strip-desktop-items{display:none!important}
  .ep-edition-strip-mobile-items{
    display:flex!important;
    width:100%;
    max-width:none!important;
    min-height:42px!important;
    align-items:center!important;
    gap:0!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    white-space:nowrap!important;
    background:#006b3c!important;
    border:0!important;
    scrollbar-width:none!important;
    -webkit-overflow-scrolling:touch!important;
    scroll-snap-type:x proximity!important;
  }
  .ep-edition-strip-mobile-items::-webkit-scrollbar{display:none!important}
  .ep-mobile-green-link{
    flex:0 0 auto!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-height:42px!important;
    padding:0 13px!important;
    color:#fff!important;
    background:#006b3c!important;
    font-size:12px!important;
    font-weight:800!important;
    line-height:1!important;
    letter-spacing:.015em!important;
    text-transform:uppercase!important;
    text-decoration:none!important;
    border:0!important;
    border-radius:0!important;
    scroll-snap-align:start!important;
  }
  .ep-mobile-green-link:hover,.ep-mobile-green-link:focus-visible{background:#075d37!important;color:#fff!important}
  .ep-mobile-green-forward{background:#006b3c!important}
}
@media(max-width:620px){
  .ep-edition-strip-mobile-items{min-height:40px!important}
  .ep-mobile-green-link{min-height:40px!important;padding:0 11px!important;font-size:10px!important}
}


/* V6.9.135: pretty permalink clip page. */
.ep-pretty-clip-page .ep-pretty-clip-panel{max-width:1280px;margin:20px auto;padding:18px}
.ep-pretty-clip-page .ep-pretty-clip-image-wrap{background:#fff!important}
.ep-pretty-clip-page .ep-pretty-clip-image{display:block;width:auto;max-width:100%;height:auto;margin:0 auto}
.ep-pretty-permalink-page .ep-reader-component{margin-top:0}

/* V6.9.137: News Clip social sharing controls. Kept isolated to clip action toolbars. */
.ep-clip-share-actions{display:flex;align-items:center;justify-content:center;gap:6px;flex:0 0 auto}
.ep-clip-share-actions .ep-share-btn{min-width:64px!important;padding:8px 10px!important;line-height:1.1;text-align:center;white-space:nowrap;text-decoration:none}
.ep-share-whatsapp,.ep-share-facebook,.ep-share-x,.ep-share-copy-link{cursor:pointer}
.ep-share-whatsapp:hover,.ep-share-facebook:hover,.ep-share-x:hover,.ep-share-copy-link:hover{filter:brightness(.97)}
@media(max-width:760px){
  .ep-clip-share-actions{width:100%;flex:1 1 100%;gap:5px}
  .ep-clip-share-actions .ep-share-btn{flex:1 1 0!important;min-width:0!important;padding:8px 6px!important;font-size:11px!important}
}


/* V6.9.138: compact one-row clip actions + social preview support. */
.ep-pretty-clip-page .ep-clip-actions,
.ep-clip-detail-actions{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  flex-wrap:nowrap!important;
  gap:7px!important;
  width:100%!important;
  min-width:0!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  scrollbar-width:none!important;
  -webkit-overflow-scrolling:touch!important;
  white-space:nowrap!important;
}
.ep-pretty-clip-page .ep-clip-actions::-webkit-scrollbar,
.ep-clip-detail-actions::-webkit-scrollbar{display:none!important}
.ep-clip-share-actions{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:5px!important;
  flex:0 0 auto!important;
  width:auto!important;
  min-width:max-content!important;
}
.ep-clip-share-actions .ep-share-btn,
.ep-clip-detail-actions>.ep-btn{
  flex:0 0 auto!important;
  min-width:auto!important;
  width:auto!important;
  min-height:40px!important;
  height:40px!important;
  padding:7px 10px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:6px!important;
  line-height:1!important;
  white-space:nowrap!important;
}
.ep-share-icon{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:22px!important;
  height:22px!important;
  min-width:22px!important;
  border-radius:6px!important;
  font-size:11px!important;
  font-weight:800!important;
  line-height:1!important;
}
.ep-share-icon-wa{background:#20b65b!important;color:#fff!important}
.ep-share-icon-fb{background:#1877f2!important;color:#fff!important;font-size:18px!important;font-family:Arial,sans-serif!important}
.ep-share-icon-x{background:#111827!important;color:#fff!important;font-size:12px!important;font-family:Arial,sans-serif!important}
.ep-share-icon-link{background:#c9a227!important;color:#fff!important;font-size:14px!important}
.ep-share-text{display:inline!important}
@media(max-width:900px){
  .ep-clip-share-actions .ep-share-btn,
  .ep-clip-detail-actions>.ep-btn{min-height:38px!important;height:38px!important;padding:6px 8px!important;gap:4px!important;font-size:11px!important}
}
@media(max-width:760px){
  .ep-pretty-clip-page .ep-clip-actions,
  .ep-clip-detail-actions{gap:5px!important}
  .ep-clip-share-actions{gap:4px!important}
  .ep-clip-share-actions .ep-share-btn,
  .ep-clip-detail-actions>.ep-btn{min-width:38px!important;width:auto!important;padding:6px 7px!important}
  .ep-share-text{display:none!important}
  .ep-share-icon{width:22px!important;height:22px!important;min-width:22px!important}
}
@media(max-width:420px){
  .ep-pretty-clip-page .ep-clip-actions,
  .ep-clip-detail-actions{gap:4px!important}
  .ep-clip-share-actions{gap:3px!important}
  .ep-clip-share-actions .ep-share-btn,
  .ep-clip-detail-actions>.ep-btn{min-height:36px!important;height:36px!important;min-width:36px!important;padding:5px 6px!important}
  .ep-share-icon{width:20px!important;height:20px!important;min-width:20px!important;font-size:10px!important}
}


/* V6.9.139: configurable News Clip actions. Desktop keeps the existing single-row layout. */
.ep-clip-share-actions .ep-share-icon svg{display:block;width:16px;height:16px;fill:currentColor}
@media(max-width:760px){
  .ep-pretty-clip-page .ep-clip-actions,
  .ep-clip-detail-actions{
    display:flex!important;
    flex-wrap:wrap!important;
    overflow-x:visible!important;
    overflow-y:visible!important;
    align-items:center!important;
    justify-content:flex-start!important;
    width:100%!important;
    gap:6px!important;
    white-space:normal!important;
  }
  .ep-clip-share-actions{
    display:flex!important;
    flex:0 0 auto!important;
    width:auto!important;
    min-width:0!important;
    gap:4px!important;
    order:1!important;
  }
  .ep-clip-share-actions .ep-share-btn{
    flex:0 0 auto!important;
    min-width:34px!important;
    width:34px!important;
    height:38px!important;
    min-height:38px!important;
    padding:5px!important;
    gap:0!important;
  }
  .ep-clip-share-actions .ep-share-copy-link{
    width:46px!important;
    min-width:46px!important;
    padding:5px 7px!important;
    gap:4px!important;
  }
  .ep-share-text{display:none!important}
  .ep-share-copy-link .ep-share-text{display:inline!important;font-size:11px!important}
  .ep-clip-share-actions .ep-share-icon{width:22px!important;height:22px!important;min-width:22px!important;border-radius:5px!important}
  .ep-share-copy-link .ep-share-icon{width:18px!important;height:18px!important;min-width:18px!important}
  .ep-clip-detail-actions>.ep-client-download{
    flex:0 0 auto!important;
    min-width:41px!important;
    width:41px!important;
    height:38px!important;
    min-height:38px!important;
    padding:6px 6px!important;
    font-size:11px!important;
    order:2!important;
  }
  .ep-clip-detail-actions>.ep-download-png{order:2!important}
  .ep-clip-detail-actions>.ep-download-jpg{order:3!important}
  .ep-clip-detail-actions>.ep-download-pdf{order:4!important}
  .ep-clip-detail-actions>.ep-read-here{order:5!important}
  .ep-clip-detail-actions>.ep-clip-forward-btn{
    order:10!important;
    flex:0 0 100%!important;
    width:100%!important;
    min-width:100%!important;
    margin-top:2px!important;
    height:44px!important;
    min-height:44px!important;
  }
  /* Direct pretty-clip page has Home/Open Page controls; keep them after downloads and before Forward. */
  .ep-pretty-clip-page .ep-clip-actions>.ep-btn:not(.ep-client-download):not(.ep-clip-forward-btn):not(.ep-share-btn){order:6!important}
}
@media(max-width:380px){
  .ep-clip-share-actions{gap:3px!important}
  .ep-clip-share-actions .ep-share-btn{width:32px!important;min-width:32px!important;padding:4px!important}
  .ep-clip-share-actions .ep-share-copy-link{width:43px!important;min-width:43px!important}
  .ep-clip-detail-actions>.ep-client-download{width:38px!important;min-width:38px!important;padding-left:4px!important;padding-right:4px!important}
}

/* V6.9.141: prevent black/legacy preview sources on direct clip and gallery views. */
.ep-pretty-clip-client-wrap{position:relative;min-height:260px;background:#fff!important;display:flex;align-items:center;justify-content:center;overflow:hidden}
.ep-pretty-clip-client-surface{position:absolute;inset:0;background:#fff!important;z-index:0}
.ep-pretty-clip-client-image{position:relative;z-index:1;display:block;width:auto;max-width:100%;height:auto;margin:0 auto;background:#fff!important;opacity:0;transition:none!important}
.ep-pretty-clip-client-wrap[data-ready="1"] .ep-pretty-clip-client-image{opacity:1}
.ep-pretty-clip-client-wrap[data-failed="1"]{min-height:180px}
.ep-clip-gallery-fast-shell{width:100%;height:100%;min-height:260px;background:#fff!important}
.ep-gallery-thumb img[data-thumb-loading]{background:#fff!important;object-fit:cover}

/* V6.9.141: stable clip action order across direct pages and clip details. */
.ep-pretty-clip-page .ep-clip-actions,
.ep-clip-detail-actions{display:flex!important;align-items:center!important;justify-content:flex-start!important;flex-wrap:nowrap!important;gap:7px!important;width:100%!important;min-width:0!important;overflow-x:auto!important;overflow-y:hidden!important;scrollbar-width:none!important;-webkit-overflow-scrolling:touch!important;white-space:nowrap!important}
.ep-pretty-clip-page .ep-clip-actions::-webkit-scrollbar,
.ep-clip-detail-actions::-webkit-scrollbar{display:none!important}
.ep-pretty-clip-page .ep-clip-actions>.ep-clip-share-actions,
.ep-clip-detail-actions>.ep-clip-share-actions{order:1!important;flex:0 0 auto!important}
.ep-pretty-clip-page .ep-clip-actions>.ep-download-png,
.ep-clip-detail-actions>.ep-download-png{order:2!important}
.ep-pretty-clip-page .ep-clip-actions>.ep-download-jpg,
.ep-clip-detail-actions>.ep-download-jpg{order:3!important}
.ep-pretty-clip-page .ep-clip-actions>.ep-download-pdf,
.ep-clip-detail-actions>.ep-download-pdf{order:4!important}
.ep-pretty-clip-page .ep-clip-actions>.ep-read-here,
.ep-clip-detail-actions>.ep-read-here{order:6!important}
.ep-pretty-clip-page .ep-clip-actions>.ep-clip-forward-btn,
.ep-clip-detail-actions>.ep-clip-forward-btn{order:10!important}
.ep-pretty-clip-page .ep-clip-actions>.ep-btn:not(.ep-share-btn):not(.ep-client-download):not(.ep-read-here):not(.ep-clip-forward-btn){order:7!important}
@media(max-width:760px){
  .ep-pretty-clip-page .ep-clip-actions,
  .ep-clip-detail-actions{flex-wrap:wrap!important;overflow-x:visible!important;gap:6px!important;white-space:normal!important}
  .ep-pretty-clip-page .ep-clip-actions>.ep-clip-share-actions,
  .ep-clip-detail-actions>.ep-clip-share-actions{order:1!important;flex:0 0 auto!important}
  .ep-pretty-clip-page .ep-clip-actions>.ep-download-png,
  .ep-clip-detail-actions>.ep-download-png{order:2!important}
  .ep-pretty-clip-page .ep-clip-actions>.ep-download-jpg,
  .ep-clip-detail-actions>.ep-download-jpg{order:3!important}
  .ep-pretty-clip-page .ep-clip-actions>.ep-download-pdf,
  .ep-clip-detail-actions>.ep-download-pdf{order:4!important}
  .ep-pretty-clip-page .ep-clip-actions>.ep-read-here,
  .ep-clip-detail-actions>.ep-read-here{order:6!important}
  .ep-pretty-clip-page .ep-clip-actions>.ep-clip-forward-btn,
  .ep-clip-detail-actions>.ep-clip-forward-btn{order:10!important;flex:0 0 100%!important;width:100%!important;min-width:100%!important;margin-top:2px!important}
  .ep-pretty-clip-page .ep-clip-actions>.ep-btn:not(.ep-share-btn):not(.ep-client-download):not(.ep-read-here):not(.ep-clip-forward-btn){order:7!important}
}


/* V6.9.142: direct shared News Clip page polish only. */
.ep-pretty-clip-page .ep-clip-head{
  display:flex!important;
  flex-direction:column!important;
  align-items:stretch!important;
  justify-content:flex-start!important;
  gap:6px!important;
  padding-bottom:12px!important;
}
.ep-pretty-clip-page .ep-clip-head-meta-row{
  display:flex!important;
  justify-content:flex-end!important;
  align-items:center!important;
  width:100%!important;
  min-height:18px!important;
}
.ep-pretty-clip-page .ep-clip-head-meta{
  display:block!important;
  white-space:nowrap!important;
  text-align:right!important;
  font-size:14px!important;
  line-height:1.25!important;
}
.ep-pretty-clip-page .ep-clip-title-row{
  display:flex!important;
  align-items:baseline!important;
  gap:9px!important;
  min-width:0!important;
}
.ep-pretty-clip-page .ep-clip-title-row .ep-clip-kicker{
  flex:0 0 auto!important;
}
.ep-pretty-clip-page .ep-clip-title-row strong{
  min-width:0!important;
  overflow-wrap:anywhere!important;
}
.ep-pretty-clip-page .ep-clip-actions{
  align-items:stretch!important;
}
.ep-pretty-clip-page .ep-clip-actions > .ep-clip-share-actions{
  align-items:center!important;
}
.ep-pretty-clip-page .ep-clip-actions > .ep-clip-home-btn,
.ep-pretty-clip-page .ep-clip-actions > .ep-read-here,
.ep-pretty-clip-page .ep-clip-actions > .ep-clip-forward-btn,
.ep-pretty-clip-page .ep-clip-actions > .ep-client-download{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
}

@media (max-width:760px){
  .ep-pretty-clip-page .ep-clip-head{
    gap:5px!important;
    padding-bottom:11px!important;
  }
  .ep-pretty-clip-page .ep-clip-head-meta-row{
    justify-content:flex-end!important;
    min-height:17px!important;
  }
  .ep-pretty-clip-page .ep-clip-head-meta{
    max-width:100%!important;
    font-size:13px!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
  }
  .ep-pretty-clip-page .ep-clip-title-row{
    align-items:center!important;
    gap:8px!important;
  }
  .ep-pretty-clip-page .ep-clip-title-row strong{
    font-size:15px!important;
    line-height:1.25!important;
  }

  /* The direct shared-clip page gets a clean 3-row action grid:
     social/download controls, navigation controls, then Forward. */
  .ep-pretty-clip-page .ep-clip-actions{
    display:grid!important;
    grid-template-columns:repeat(7,minmax(0,1fr))!important;
    grid-auto-flow:row!important;
    align-items:stretch!important;
    justify-content:stretch!important;
    gap:6px!important;
    width:100%!important;
    overflow:visible!important;
    white-space:normal!important;
  }
  .ep-pretty-clip-page .ep-clip-actions > .ep-clip-share-actions{
    display:contents!important;
  }
  .ep-pretty-clip-page .ep-clip-actions > .ep-clip-share-actions > .ep-share-btn,
  .ep-pretty-clip-page .ep-clip-actions > .ep-client-download{
    width:100%!important;
    min-width:0!important;
    min-height:42px!important;
    height:42px!important;
    margin:0!important;
    padding:6px 4px!important;
    box-sizing:border-box!important;
  }
  .ep-pretty-clip-page .ep-clip-actions > .ep-clip-share-actions > .ep-share-whatsapp{order:1!important;grid-column:auto!important;}
  .ep-pretty-clip-page .ep-clip-actions > .ep-clip-share-actions > .ep-share-facebook{order:2!important;grid-column:auto!important;}
  .ep-pretty-clip-page .ep-clip-actions > .ep-clip-share-actions > .ep-share-x{order:3!important;grid-column:auto!important;}
  .ep-pretty-clip-page .ep-clip-actions > .ep-clip-share-actions > .ep-share-copy-link{order:4!important;grid-column:auto!important;}
  .ep-pretty-clip-page .ep-clip-actions > .ep-download-png{order:5!important;grid-column:auto!important;}
  .ep-pretty-clip-page .ep-clip-actions > .ep-download-jpg{order:6!important;grid-column:auto!important;}
  .ep-pretty-clip-page .ep-clip-actions > .ep-download-pdf{order:7!important;grid-column:auto!important;}

  .ep-pretty-clip-page .ep-clip-actions > .ep-clip-home-btn{
    order:8!important;
    grid-column:1 / span 2!important;
    min-height:44px!important;
  }
  .ep-pretty-clip-page .ep-clip-actions > .ep-read-here{
    order:9!important;
    grid-column:3 / -1!important;
    min-height:44px!important;
  }
  .ep-pretty-clip-page .ep-clip-actions > .ep-clip-forward-btn{
    order:10!important;
    grid-column:1 / -1!important;
    width:100%!important;
    min-width:100%!important;
    min-height:48px!important;
    margin:0!important;
  }

  .ep-pretty-clip-page .ep-share-text{display:none!important}
  .ep-pretty-clip-page .ep-share-copy-link .ep-share-text{display:inline!important;font-size:12px!important}
  .ep-pretty-clip-page .ep-share-icon{width:22px!important;height:22px!important;min-width:22px!important}
  .ep-pretty-clip-page .ep-share-copy-link .ep-share-icon{width:18px!important;height:18px!important;min-width:18px!important}
}


/* V6.9.143: direct shared News Clip mobile action-row refinement only. */
.ep-pretty-clip-page .ep-clip-primary-actions,
.ep-pretty-clip-page .ep-clip-secondary-actions{
  display:contents!important;
}
.ep-pretty-clip-page .ep-clip-home-btn{
  background:var(--ep-primary)!important;
  color:#fff!important;
}
.ep-pretty-clip-page .ep-clip-home-btn:hover{
  background:#0b4f27!important;
}
.ep-pretty-clip-page .ep-read-here{
  background:#2563eb!important;
  color:#fff!important;
}
.ep-pretty-clip-page .ep-read-here:hover{
  background:#1d4ed8!important;
}

@media(max-width:760px){
  .ep-pretty-clip-page .ep-clip-actions{
    display:flex!important;
    flex-wrap:wrap!important;
    align-items:stretch!important;
    justify-content:flex-start!important;
    gap:6px!important;
    width:100%!important;
    overflow:visible!important;
    white-space:normal!important;
  }
  .ep-pretty-clip-page .ep-clip-primary-actions{
    display:flex!important;
    flex:1 0 100%!important;
    flex-wrap:nowrap!important;
    align-items:stretch!important;
    gap:4px!important;
    width:100%!important;
    min-width:0!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    scrollbar-width:none!important;
    -webkit-overflow-scrolling:touch!important;
  }
  .ep-pretty-clip-page .ep-clip-primary-actions::-webkit-scrollbar{display:none!important}
  .ep-pretty-clip-page .ep-clip-primary-actions > .ep-share-whatsapp,
  .ep-pretty-clip-page .ep-clip-primary-actions > .ep-share-facebook,
  .ep-pretty-clip-page .ep-clip-primary-actions > .ep-share-x{
    flex:0 0 40px!important;
    width:40px!important;
    min-width:40px!important;
    height:44px!important;
    min-height:44px!important;
    padding:5px!important;
  }
  .ep-pretty-clip-page .ep-clip-primary-actions > .ep-share-copy-link{
    flex:0 0 50px!important;
    width:50px!important;
    min-width:50px!important;
    height:44px!important;
    min-height:44px!important;
    padding:5px 4px!important;
  }
  .ep-pretty-clip-page .ep-clip-primary-actions > .ep-client-download{
    flex:0 0 44px!important;
    width:44px!important;
    min-width:44px!important;
    height:44px!important;
    min-height:44px!important;
    padding:5px 3px!important;
    font-size:12px!important;
    line-height:1.1!important;
  }
  .ep-pretty-clip-page .ep-share-text{display:none!important}
  .ep-pretty-clip-page .ep-share-copy-link .ep-share-text{display:inline!important;font-size:12px!important}
  .ep-pretty-clip-page .ep-share-icon{width:22px!important;height:22px!important;min-width:22px!important}
  .ep-pretty-clip-page .ep-share-copy-link .ep-share-icon{width:17px!important;height:17px!important;min-width:17px!important}

  .ep-pretty-clip-page .ep-clip-secondary-actions{
    display:flex!important;
    flex:1 0 100%!important;
    align-items:stretch!important;
    gap:6px!important;
    width:100%!important;
    min-width:0!important;
  }
  .ep-pretty-clip-page .ep-clip-secondary-actions > .ep-clip-home-btn{
    flex:0 0 92px!important;
    width:92px!important;
    min-width:92px!important;
    height:44px!important;
    min-height:44px!important;
    margin:0!important;
    justify-content:center!important;
    background:var(--ep-primary)!important;
    color:#fff!important;
  }
  .ep-pretty-clip-page .ep-clip-secondary-actions > .ep-read-here{
    flex:1 1 auto!important;
    min-width:0!important;
    height:44px!important;
    min-height:44px!important;
    margin:0!important;
    justify-content:center!important;
    background:#2563eb!important;
    color:#fff!important;
  }
  .ep-pretty-clip-page .ep-clip-forward-btn{
    flex:1 0 100%!important;
    width:100%!important;
    min-width:100%!important;
    height:48px!important;
    min-height:48px!important;
    margin:0!important;
  }
}


/* V6.9.144: center all shared News Clip action content inside every button. */
.ep-pretty-clip-page .ep-clip-actions .ep-btn,
.ep-pretty-clip-page .ep-clip-actions button,
.ep-clip-detail-actions .ep-btn,
.ep-clip-detail-actions button{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
  vertical-align:middle!important;
  line-height:1!important;
}
.ep-pretty-clip-page .ep-clip-actions .ep-share-btn,
.ep-clip-detail-actions .ep-share-btn{
  text-align:center!important;
}
.ep-pretty-clip-page .ep-clip-actions .ep-share-icon,
.ep-clip-detail-actions .ep-share-icon{
  flex:0 0 auto!important;
  margin:0!important;
}
.ep-pretty-clip-page .ep-clip-actions .ep-share-text,
.ep-clip-detail-actions .ep-share-text{
  margin:0!important;
  text-align:center!important;
}
@media(max-width:760px){
  .ep-pretty-clip-page .ep-clip-actions .ep-btn,
  .ep-pretty-clip-page .ep-clip-actions button,
  .ep-clip-detail-actions .ep-btn,
  .ep-clip-detail-actions button{
    align-items:center!important;
    justify-content:center!important;
    text-align:center!important;
  }
  .ep-pretty-clip-page .ep-clip-actions .ep-share-copy-link,
  .ep-clip-detail-actions .ep-share-copy-link{
    justify-content:center!important;
  }
}


/* V6.9.145: shared News Clip header must remain on one line on mobile/tablet, and mobile actions must be centered. */
.ep-pretty-clip-page .ep-clip-head{
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:space-between!important;
  flex-wrap:nowrap!important;
  gap:12px!important;
  min-width:0!important;
}
.ep-pretty-clip-page .ep-clip-title-row{
  order:1!important;
  display:flex!important;
  align-items:center!important;
  flex:1 1 auto!important;
  min-width:0!important;
  gap:8px!important;
  white-space:nowrap!important;
  overflow:hidden!important;
}
.ep-pretty-clip-page .ep-clip-title-row .ep-clip-kicker{
  flex:0 0 auto!important;
  white-space:nowrap!important;
}
.ep-pretty-clip-page .ep-clip-title-row strong{
  flex:1 1 auto!important;
  min-width:0!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  overflow-wrap:normal!important;
}
.ep-pretty-clip-page .ep-clip-head-meta-row{
  order:2!important;
  flex:0 0 auto!important;
  width:auto!important;
  min-width:0!important;
  margin:0!important;
  justify-content:flex-end!important;
}
.ep-pretty-clip-page .ep-clip-head-meta{
  max-width:100%!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  text-align:right!important;
}

@media(max-width:760px){
  .ep-pretty-clip-page .ep-clip-head{
    flex-direction:row!important;
    flex-wrap:nowrap!important;
    align-items:center!important;
    gap:8px!important;
    padding-bottom:11px!important;
  }
  .ep-pretty-clip-page .ep-clip-title-row{
    flex:1 1 auto!important;
    min-width:0!important;
    gap:6px!important;
  }
  .ep-pretty-clip-page .ep-clip-title-row strong{
    font-size:14px!important;
    line-height:1!important;
  }
  .ep-pretty-clip-page .ep-clip-head-meta-row{
    flex:0 1 auto!important;
    max-width:42%!important;
    min-width:0!important;
  }
  .ep-pretty-clip-page .ep-clip-head-meta{
    font-size:12px!important;
    line-height:1.1!important;
  }

  /* Keep all primary controls visually centered whenever the full set fits. */
  .ep-pretty-clip-page .ep-clip-primary-actions{
    justify-content:center!important;
    overflow-x:hidden!important;
    width:100%!important;
  }
  .ep-pretty-clip-page .ep-clip-primary-actions > .ep-share-whatsapp,
  .ep-pretty-clip-page .ep-clip-primary-actions > .ep-share-facebook,
  .ep-pretty-clip-page .ep-clip-primary-actions > .ep-share-x{
    flex:0 0 38px!important;
    width:38px!important;
    min-width:38px!important;
  }
  .ep-pretty-clip-page .ep-clip-primary-actions > .ep-share-copy-link{
    flex:0 0 48px!important;
    width:48px!important;
    min-width:48px!important;
  }
  .ep-pretty-clip-page .ep-clip-primary-actions > .ep-client-download{
    flex:0 0 42px!important;
    width:42px!important;
    min-width:42px!important;
  }
}

/* V6.9.147: Full ePaper page share/download bar. Kept separate from News Clip actions. */
.ep-full-page-share-bar{
  width:100%!important;
  box-sizing:border-box!important;
  display:flex!important;
  flex-wrap:nowrap!important;
  justify-content:center!important;
  align-items:center!important;
  gap:8px!important;
  margin:14px auto 0!important;
  padding:8px 10px!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  scrollbar-width:none!important;
  -ms-overflow-style:none!important;
  background:#fff!important;
  border:1px solid #e5e7eb!important;
  border-radius:10px!important;
}
.ep-full-page-share-bar::-webkit-scrollbar{display:none!important;width:0!important;height:0!important}
.ep-full-page-share-bar.is-empty{display:none!important}
.ep-full-share-btn{
  flex:0 0 auto!important;
  min-width:64px!important;
  height:44px!important;
  padding:0 14px!important;
  box-sizing:border-box!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  align-content:center!important;
  text-align:center!important;
  text-decoration:none!important;
  white-space:nowrap!important;
  line-height:1!important;
  border:1px solid #d9dee7!important;
  border-radius:9px!important;
  background:#f3f4f6!important;
  color:#111827!important;
  font-size:14px!important;
  font-weight:600!important;
  cursor:pointer!important;
}
.ep-full-share-btn:hover{filter:brightness(.97)!important}
.ep-full-share-icon-btn{min-width:46px!important;width:46px!important;padding:0!important}
.ep-full-share-icon-btn .ep-share-icon{display:flex!important;align-items:center!important;justify-content:center!important;width:22px!important;height:22px!important;margin:0!important}
.ep-full-share-icon-btn .ep-share-icon svg{display:block!important;width:22px!important;height:22px!important}
.ep-full-share-link{gap:5px!important}
.ep-full-share-link .ep-share-icon{display:flex!important;align-items:center!important;justify-content:center!important;width:18px!important;height:18px!important}
.ep-full-share-link .ep-share-icon svg{width:18px!important;height:18px!important}
.ep-full-share-text-btn{min-width:64px!important}
.ep-full-share-issue-download{min-width:46px!important;width:46px!important;padding:0!important}
.ep-full-share-issue-download .ep-share-icon{display:flex!important;align-items:center!important;justify-content:center!important;width:22px!important;height:22px!important;margin:0!important}
.ep-full-share-issue-download .ep-share-icon svg{display:block!important;width:22px!important;height:22px!important;fill:currentColor!important}
@media(max-width:980px){
  .ep-full-page-share-bar{margin-top:10px!important;padding:7px 8px!important;gap:6px!important;justify-content:center!important}
  .ep-full-share-btn{height:42px!important;min-width:56px!important;padding:0 11px!important;font-size:13px!important}
  .ep-full-share-icon-btn{min-width:42px!important;width:42px!important;padding:0!important}
  .ep-full-share-icon-btn .ep-share-icon,.ep-full-share-icon-btn .ep-share-icon svg{width:21px!important;height:21px!important}
  .ep-full-share-link{min-width:58px!important;padding:0 10px!important}
  .ep-full-share-issue-download{min-width:42px!important;width:42px!important;padding:0!important}
  .ep-full-share-issue-download .ep-share-icon,.ep-full-share-issue-download .ep-share-icon svg{width:21px!important;height:21px!important}
}
@media(max-width:620px){
  .ep-full-page-share-bar{gap:5px!important;margin-top:8px!important}
  .ep-full-share-btn{height:40px!important;min-width:52px!important;padding:0 9px!important;font-size:12px!important;border-radius:8px!important}
  .ep-full-share-icon-btn{min-width:40px!important;width:40px!important;padding:0!important}
  .ep-full-share-link{min-width:58px!important;padding:0 8px!important}
}


/* V6.9.157: Full-page share bar starts at the left edge on mobile/tablet so the first
 * WhatsApp control is always fully visible. The complete-issue download icon may
 * naturally extend beyond the viewport and remains reachable by horizontal swipe.
 * Desktop keeps the centered layout. */
@media (max-width:980px){
  .ep-full-page-share-bar{
    justify-content:flex-start!important;
    align-items:center!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    padding-left:8px!important;
    padding-right:8px!important;
    scroll-padding-left:8px!important;
  }
  .ep-full-page-share-bar > .ep-full-share-btn{
    flex:0 0 auto!important;
    margin:0!important;
  }
}

/* V6.9.158: In-page Archive Edition/Date picker. */
.ep-archive-picker-modal{z-index:1400;background:rgba(15,23,42,.64)}
.ep-archive-picker-card{width:min(980px,96vw);max-width:980px;padding:0!important;overflow:hidden;border-radius:14px}
.ep-archive-picker-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 16px 10px;background:#f3f4f6;border-bottom:1px solid #d1d5db}
.ep-archive-picker-head .ep-section-kicker{font-size:10px;letter-spacing:.1em;font-weight:900;color:#202020}
.ep-archive-picker-head h2{margin:0;font-size:18px;line-height:1.1}.ep-archive-picker-head p{margin:3px 0 0;color:#64748b;font-size:11px}
.ep-archive-picker-body{display:grid;grid-template-columns:180px minmax(0,1fr);gap:18px;padding:18px;background:#f8fafc}
.ep-archive-picker-preview{background:#fff;border:1px solid #dfe3e8;border-radius:10px;padding:10px;box-shadow:0 2px 9px rgba(15,23,42,.06);text-align:center;align-self:start}
.ep-archive-picker-preview-label{display:block;font-size:11px;letter-spacing:.08em;color:#111827;margin-bottom:3px}.ep-archive-picker-preview-name{font-weight:800;font-size:12px;margin-bottom:8px}
.ep-archive-picker-thumb-wrap{border:1px solid #c7ccd3;background:#fff;min-height:220px;display:flex;align-items:center;justify-content:center;padding:5px}
.ep-archive-picker-thumb-wrap img{display:block;width:100%;height:auto;max-height:300px;object-fit:contain}.ep-archive-picker-thumb-placeholder{display:flex;align-items:center;justify-content:center;width:100%;min-height:210px;color:#6b7280;font-weight:800;font-size:12px;background:#f3f4f6}
.ep-archive-picker-preview-date{font-weight:800;font-size:12px;margin-top:8px;color:#374151}
.ep-archive-picker-controls{min-width:0}.ep-archive-picker-row{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-bottom:10px}.ep-archive-picker-row label{display:flex;flex-direction:column;gap:4px}.ep-archive-picker-row label>span{font-size:10px;font-weight:800;color:#374151;text-transform:uppercase;letter-spacing:.04em}.ep-archive-picker-row label>span small{font-weight:600;text-transform:none;letter-spacing:0;color:#6b7280}
.ep-archive-picker-row select{height:38px;border:1px solid #bcc3cb;border-radius:6px;background:#fff;padding:0 10px;font:inherit;color:#111827}
.ep-archive-picker-calendar{background:#fff;border:1px solid #d1d5db;border-radius:8px;overflow:hidden}.ep-archive-picker-calendar-head{display:grid;grid-template-columns:44px 1fr 44px;align-items:center;background:#e5e7eb;border-bottom:1px solid #cbd5e1}.ep-archive-picker-calendar-head strong{text-align:center;font-size:15px}.ep-archive-picker-month-btn{height:40px;border:0;background:transparent;color:#111827;font-size:26px;cursor:pointer}.ep-archive-picker-weekdays,.ep-archive-picker-days{display:grid;grid-template-columns:repeat(7,1fr)}.ep-archive-picker-weekdays span{padding:6px 2px;text-align:center;font-weight:900;font-size:10px;color:#111827;background:#eef0f2}.ep-archive-picker-day{height:36px;border:0;border-right:1px solid #eceff2;border-bottom:1px solid #eceff2;background:#f4f5f6;color:#6b7280;font-size:12px;cursor:not-allowed}.ep-archive-picker-day:nth-child(7n){border-right:0}.ep-archive-picker-day.outside{opacity:.75}.ep-archive-picker-day.available{background:#fff;color:#111827;cursor:pointer}.ep-archive-picker-day.available:hover{background:#f3f4f6}.ep-archive-picker-day.available.selected{background:var(--ep-accent);color:#fff;font-weight:900}
.ep-archive-picker-selected{min-height:34px;display:flex;align-items:center;margin-top:10px;padding:8px 10px;background:#fff;border:1px solid #e2e8f0;border-radius:7px;color:#475569;font-size:11px}.ep-archive-picker-actions{display:flex;justify-content:flex-end;margin-top:10px}.ep-archive-picker-go{min-width:68px;padding:9px 15px!important;font-weight:800}.ep-archive-picker-go:disabled{opacity:.45;cursor:not-allowed}
@media(max-width:760px){.ep-archive-picker-card{width:96vw;max-width:none}.ep-archive-picker-body{grid-template-columns:1fr;gap:10px;padding:11px}.ep-archive-picker-preview{display:grid;grid-template-columns:82px 1fr;grid-template-areas:"label name" "thumb date";column-gap:9px;row-gap:4px;text-align:left;align-items:center}.ep-archive-picker-preview-label{grid-area:label;font-size:9px}.ep-archive-picker-preview-name{grid-area:name;margin:0;font-size:11px}.ep-archive-picker-thumb-wrap{grid-area:thumb;min-height:104px}.ep-archive-picker-thumb-wrap img{max-height:150px}.ep-archive-picker-thumb-placeholder{min-height:94px}.ep-archive-picker-preview-date{grid-area:date;margin:0;font-size:10px}.ep-archive-picker-row{grid-template-columns:1fr}.ep-archive-picker-day{height:34px;font-size:11px}.ep-archive-picker-head{padding:10px 12px}.ep-archive-picker-head h2{font-size:16px}.ep-archive-picker-head p{font-size:10px}}

/* V6.9.159: Archive picker polish only. Keep the picker above the header/menu,
   render the calendar compactly, and keep the issue preview beside the selectors
   on tablet/mobile. */
.ep-archive-picker-modal{
  z-index:2600!important;
}
.ep-archive-picker-modal .ep-modal-card{
  position:relative!important;
  z-index:2601!important;
}
.ep-archive-picker-modal .ep-archive-picker-close{
  position:relative!important;
  z-index:2602!important;
  flex:0 0 auto!important;
}
.ep-archive-picker-card{
  max-height:88vh!important;
}
.ep-archive-picker-body{
  align-items:start!important;
}
.ep-archive-picker-controls{
  min-width:0!important;
}
.ep-archive-picker-calendar{
  width:min(100%,520px)!important;
  margin:0 auto!important;
}
.ep-archive-picker-calendar-head{
  grid-template-columns:34px 1fr 34px!important;
}
.ep-archive-picker-month-btn{
  height:32px!important;
  font-size:22px!important;
}
.ep-archive-picker-weekdays span{
  padding:4px 2px!important;
  font-size:9px!important;
}
.ep-archive-picker-day{
  height:31px!important;
  font-size:11px!important;
}
.ep-archive-picker-selected{
  margin-top:7px!important;
  min-height:30px!important;
  padding:6px 8px!important;
}
.ep-archive-picker-actions{
  margin-top:7px!important;
}
.ep-archive-picker-go{
  min-width:82px!important;
  padding:7px 14px!important;
}
.ep-archive-picker-thumb-wrap{
  background:#fff!important;
  position:relative!important;
  overflow:hidden!important;
}
.ep-archive-picker-thumb-canvas{
  display:block!important;
  width:100%!important;
  height:auto!important;
  max-width:100%!important;
  background:#fff!important;
}
.ep-archive-picker-thumb-placeholder{
  background:#fff!important;
}
@media(max-width:760px){
  .ep-archive-picker-card{
    width:96vw!important;
    max-width:none!important;
    max-height:92vh!important;
  }
  .ep-archive-picker-head{
    padding:8px 10px!important;
    gap:8px!important;
  }
  .ep-archive-picker-head h2{font-size:15px!important}
  .ep-archive-picker-head p{font-size:9px!important}
  .ep-archive-picker-body{
    grid-template-columns:112px minmax(0,1fr)!important;
    gap:9px!important;
    padding:9px!important;
    align-items:start!important;
  }
  .ep-archive-picker-preview{
    display:block!important;
    padding:7px!important;
    text-align:center!important;
  }
  .ep-archive-picker-preview-label{
    font-size:8px!important;
    margin-bottom:2px!important;
  }
  .ep-archive-picker-preview-name{
    font-size:10px!important;
    line-height:1.15!important;
    margin-bottom:6px!important;
    word-break:break-word!important;
  }
  .ep-archive-picker-thumb-wrap{
    min-height:0!important;
    padding:3px!important;
  }
  .ep-archive-picker-thumb-canvas{
    width:100%!important;
    height:auto!important;
  }
  .ep-archive-picker-preview-date{
    font-size:9px!important;
    margin-top:5px!important;
  }
  .ep-archive-picker-row{
    grid-template-columns:1fr!important;
    gap:6px!important;
    margin-bottom:7px!important;
  }
  .ep-archive-picker-row label>span{
    font-size:9px!important;
  }
  .ep-archive-picker-row select{
    height:34px!important;
    font-size:11px!important;
    padding:0 8px!important;
  }
  .ep-archive-picker-calendar{
    width:100%!important;
    max-width:360px!important;
    margin:0 auto!important;
  }
  .ep-archive-picker-calendar-head{
    grid-template-columns:28px 1fr 28px!important;
  }
  .ep-archive-picker-calendar-head strong{font-size:12px!important}
  .ep-archive-picker-month-btn{height:29px!important;font-size:19px!important}
  .ep-archive-picker-weekdays span{padding:3px 1px!important;font-size:8px!important}
  .ep-archive-picker-day{height:27px!important;font-size:10px!important}
  .ep-archive-picker-selected{font-size:9px!important;margin-top:6px!important;padding:5px 7px!important}
  .ep-archive-picker-actions{justify-content:flex-end!important;margin-top:6px!important}
  .ep-archive-picker-go{min-width:74px!important;padding:7px 11px!important;font-size:11px!important}
}
@media(max-width:390px){
  .ep-archive-picker-body{grid-template-columns:96px minmax(0,1fr)!important;gap:7px!important}
  .ep-archive-picker-preview{padding:5px!important}
  .ep-archive-picker-preview-name{font-size:9px!important}
  .ep-archive-picker-calendar{max-width:300px!important}
  .ep-archive-picker-day{height:25px!important;font-size:9px!important}
  .ep-archive-picker-weekdays span{font-size:7px!important}
}


/* V6.9.160: Advertisement Manager placements. Hidden by default so legacy
   layouts are unaffected until an administrator enables a placement. */
.ep-ad-slot{box-sizing:border-box;min-width:0;max-width:100%;}
.ep-ad-slot img.ep-ad-banner-image{display:block;width:auto;max-width:100%;height:auto;max-height:100%;object-fit:contain;margin:0 auto;border:0;}
.ep-ad-slot a{display:block;text-decoration:none;border:0;}
.ep-ad-network{width:100%;overflow:hidden;display:flex;align-items:center;justify-content:center;}
.ep-ad-custom{display:block;}
.ep-ad-landing-header{display:none;align-items:center;justify-content:center;flex:0 1 36vw;width:min(36vw,480px);max-width:480px;min-width:180px;max-height:92px;margin-left:14px;overflow:hidden;}
.ep-ad-landing-header .ep-ad-banner-image{max-width:100%;max-height:86px;}
.ep-ad-landing-header .ep-ad-network{min-height:60px;max-height:90px;}
.ep-ad-reader-sidebar{display:flex;width:100%;align-items:flex-start;justify-content:center;min-height:160px;}
.ep-ad-reader-sidebar .ep-ad-banner-image{width:100%;max-width:300px;max-height:320px;}
.ep-ad-reader-sidebar .ep-ad-network{min-height:160px;max-height:600px;}
.ep-ad-mobile-top,.ep-ad-mobile-footer{display:none;}
.ep-ad-mobile-top .ep-ad-banner-image,.ep-ad-mobile-footer .ep-ad-banner-image{width:auto;max-width:100%;max-height:90px;}
.ep-ad-mobile-top .ep-ad-network,.ep-ad-mobile-footer .ep-ad-network{min-height:50px;}
@media (min-width:981px){
  .ep-ad-landing-header{display:flex;}
  .ep-ad-mobile-top,.ep-ad-mobile-footer{display:none!important;}
}
@media (max-width:980px){
  .ep-ad-landing-header{display:none!important;}
  .ep-ad-mobile-top,.ep-ad-mobile-footer{display:flex;width:100%;padding:6px 10px;background:#fff;align-items:center;justify-content:center;text-align:center;overflow:hidden;}
  .ep-ad-mobile-top .ep-ad-banner-image,.ep-ad-mobile-footer .ep-ad-banner-image{max-width:100%;height:auto;max-height:90px;}
  .ep-ad-mobile-top .ep-ad-network,.ep-ad-mobile-footer .ep-ad-network{max-width:100%;width:100%;min-height:50px;}
}
/* Keep the managed desktop reader ad clean without affecting the stable PDF viewer. */
@media (min-width:981px){
  .ep-reader-full-mode .ep-reader-ad-sidebar .ep-ad-slot{width:100%;}
}
/* Admin Advertisement Manager */
.ep-ad-manager-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:14px}
.ep-ad-manager-card{background:#fbfcfe;border:1px solid #e5e7eb;border-radius:14px;padding:16px;min-width:0}
.ep-ad-manager-card-head{display:flex;flex-direction:column;gap:4px;margin-bottom:12px}
.ep-ad-manager-card-head strong{font-size:15px;color:#111827}
.ep-ad-manager-card-head span{font-size:12px;color:#64748b}
.ep-ad-media-row{display:flex;gap:7px;flex-wrap:wrap;margin-top:6px}
.ep-ad-image-preview{margin-top:10px;min-height:64px;border:1px dashed #d5dbe3;border-radius:10px;background:#fff;display:flex;align-items:center;justify-content:center;padding:8px;overflow:hidden;color:#94a3b8;font-size:12px}
.ep-ad-image-preview img{display:block;max-width:100%;max-height:110px;width:auto;height:auto;object-fit:contain}
.ep-ad-code-field{grid-column:1/-1}
.ep-ad-code-field textarea{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono",monospace;font-size:12px;line-height:1.45}
@media (max-width:900px){.ep-ad-manager-grid{grid-template-columns:1fr}.ep-ad-manager-card .ep-form-grid-admin{grid-template-columns:1fr}.ep-ad-code-field{grid-column:auto}}


/* V6.9.161: advertisement manager refinements. */
.ep-ad-landing-header.ep-ad-align-left{justify-content:flex-start!important;margin-left:14px!important;margin-right:0!important;}
.ep-ad-landing-header.ep-ad-align-center{justify-content:center!important;margin-left:auto!important;margin-right:auto!important;}
.ep-ad-landing-header.ep-ad-align-right{justify-content:flex-end!important;margin-left:auto!important;margin-right:0!important;}
.ep-ad-reader-sidebar-1,.ep-ad-reader-sidebar-2{width:100%!important;display:flex!important;justify-content:center!important;align-items:flex-start!important;}
.ep-reader-ad-sidebar>.ep-ad-reader-sidebar-1,.ep-reader-ad-sidebar>.ep-ad-reader-sidebar-2{flex:0 0 auto!important;margin:0 0 16px!important;}
.ep-reader-ad-sidebar .ep-ad-reader-sidebar-1 .ep-ad-banner-image,
.ep-reader-ad-sidebar .ep-ad-reader-sidebar-2 .ep-ad-banner-image{width:100%!important;max-width:300px!important;height:auto!important;max-height:none!important;object-fit:contain!important;}
.ep-reader-ad-sidebar .ep-ad-reader-sidebar-1 .ep-ad-network,
.ep-reader-ad-sidebar .ep-ad-reader-sidebar-2 .ep-ad-network{width:100%!important;min-height:250px!important;max-height:600px!important;}
.ep-ad-auto-settings{background:#f8fafc;border:1px solid #dbe4ef;border-radius:14px;padding:14px 16px;margin:14px 0 16px;}
.ep-ad-auto-head{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,480px);gap:16px;align-items:start;}
.ep-ad-auto-head>div{display:flex;flex-direction:column;gap:4px;}
.ep-ad-auto-head small,.ep-ad-auto-client small{color:#64748b;font-size:11px;line-height:1.45;}
.ep-ad-auto-client{display:flex;flex-direction:column;gap:6px;margin-top:12px;max-width:760px;}
.ep-ad-auto-client input{width:100%;box-sizing:border-box;}
.ep-ad-auto-toggle{margin:0!important;background:#fff!important;}
.ep-ad-manager-card.is-auto-locked{opacity:.9;}
.ep-ad-manager-card.is-auto-locked label:not(:first-child) input:disabled,
.ep-ad-manager-card.is-auto-locked label:not(:first-child) select:disabled,
.ep-ad-manager-card.is-auto-locked .ep-ad-code-field textarea:disabled{background:#f1f5f9;color:#94a3b8;cursor:not-allowed;}
@media (max-width:900px){.ep-ad-auto-head{grid-template-columns:1fr}.ep-ad-auto-client{max-width:none;}}
@media (min-width:981px){
  .ep-ad-landing-header{flex-basis:36vw!important;width:min(36vw,728px)!important;max-width:728px!important;min-width:250px!important;min-height:90px!important;max-height:100px!important;}
  .ep-ad-landing-header .ep-ad-banner-image{width:auto!important;max-width:100%!important;max-height:90px!important;height:auto!important;object-fit:contain!important;}
  .ep-ad-landing-header .ep-ad-network{min-height:90px!important;max-height:100px!important;width:100%!important;}
}
@media (max-width:980px){.ep-ad-landing-header{display:none!important;}}


/* V6.9.162: full-page mobile/tablet geometry after the advertisement-manager
 * changes. Do not reserve a viewport-sized blank stage above the newspaper.
 * Thumbnails stay directly below the selectors and the rendered page follows
 * immediately. Desktop layout is intentionally untouched. */
@media (max-width:980px){
  .ep-reader-full-mode{
    display:flex!important;
    flex-direction:column!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    overflow:visible!important;
    gap:3px!important;
  }
  .ep-reader-full-mode .ep-full-reader-select-bar{
    flex:0 0 auto!important;
    width:100%!important;
    height:30px!important;
    min-height:30px!important;
    max-height:30px!important;
  }
  .ep-reader-full-mode .ep-full-page-pages-strip{
    order:1!important;
    flex:0 0 auto!important;
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    margin:0!important;
    overflow:hidden!important;
  }
  .ep-reader-full-mode .ep-full-page-pages-strip .ep-pages-strip-list{
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    display:flex!important;
    flex-direction:row!important;
    align-items:flex-start!important;
  }
  .ep-reader-full-mode .ep-viewer-shell{
    order:2!important;
    display:block!important;
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    overflow:visible!important;
    flex:0 0 auto!important;
    margin:0!important;
  }
  .ep-reader-full-mode .ep-viewer-shell>main{
    display:block!important;
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    overflow:visible!important;
  }
  .ep-reader-full-mode .ep-pdf-viewer{
    display:block!important;
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    padding:0!important;
    margin:0!important;
    border-radius:0!important;
    overflow:visible!important;
    align-items:initial!important;
    justify-content:initial!important;
    background:#fff!important;
  }
  .ep-reader-full-mode .ep-pdf-page{
    display:block!important;
    position:relative!important;
    width:100%!important;
    max-width:100%!important;
    height:auto!important;
    min-height:0!important;
    margin:0 auto!important;
    overflow:visible!important;
    background:#fff!important;
  }
  .ep-reader-full-mode .ep-pdf-canvas{
    display:block!important;
    position:relative!important;
    left:auto!important;
    top:auto!important;
    width:100%!important;
    max-width:100%!important;
    height:auto!important;
    background:#fff!important;
  }
  .ep-reader-full-mode .ep-pdf-hotspots{
    overflow:visible!important;
  }
  .ep-reader-full-mode .ep-reader-ad-sidebar{
    display:none!important;
  }
  .ep-reader-full-mode .ep-floating-page-nav{
    position:fixed!important;
    z-index:40!important;
  }
}


/* V6.9.163: News Clip advertising placements. Desktop has top/bottom/right clip ads;
 * mobile/tablet clip modal reuses the existing mobile top/footer ad settings. */
.ep-clip-desktop-ad-top,.ep-clip-desktop-ad-bottom{display:flex;width:100%;justify-content:center;align-items:center;min-height:0;overflow:hidden;}
.ep-clip-desktop-main-grid{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:18px;align-items:start;}
.ep-clip-desktop-ad-right{width:300px;min-width:0;display:flex;justify-content:center;align-items:flex-start;overflow:hidden;}
.ep-clip-desktop-ad-right .ep-ad-slot{width:100%;}
.ep-pretty-clip-page .ep-clip-desktop-main{min-width:0;}
.ep-pretty-clip-page .ep-pretty-clip-ad-wrap{max-width:1440px;margin:0 auto;}
.ep-pretty-clip-page .ep-clip-desktop-ad-top,.ep-pretty-clip-page .ep-clip-desktop-ad-bottom{padding:8px 0;}
.ep-pretty-clip-page .ep-clip-desktop-ad-right{padding-top:20px;}
.ep-clip-modal-ad-top,.ep-clip-modal-ad-bottom{display:flex;justify-content:center;align-items:center;overflow:hidden;}
.ep-clip-modal-body-grid{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:18px;align-items:start;}
.ep-clip-modal-main{min-width:0;background:#fff;}
.ep-clip-modal-ad-right{width:300px;min-width:300px;display:flex;justify-content:center;align-items:flex-start;overflow:hidden;padding-top:10px;}
.ep-clip-modal-mobile-top,.ep-clip-modal-mobile-bottom{display:none;}
@media(max-width:980px){
  .ep-pretty-clip-page .ep-clip-desktop-ad-top,.ep-pretty-clip-page .ep-clip-desktop-ad-bottom,.ep-pretty-clip-page .ep-clip-desktop-ad-right{display:none!important;}
  .ep-clip-modal-ad-top,.ep-clip-modal-ad-bottom,.ep-clip-modal-ad-right{display:none!important;}
  .ep-clip-modal-body-grid{display:block!important;}
  .ep-clip-modal-mobile-top,.ep-clip-modal-mobile-bottom{display:flex!important;width:100%;justify-content:center;align-items:center;overflow:hidden;}
}
@media(min-width:981px){
  .ep-clip-desktop-ad-top:empty,.ep-clip-desktop-ad-bottom:empty,.ep-clip-modal-ad-top:empty,.ep-clip-modal-ad-bottom:empty,.ep-clip-modal-ad-right:empty{display:none!important;}
}


/* V6.9.168: mobile/tablet News Clip breathing room and desktop action centering.
 * Keep a small gutter around the clip on narrow screens so it never touches
 * the device edges. On desktop, center the action bar under the clip area. */
@media (max-width:980px){
  .ep-pretty-clip-page .ep-pretty-clip-client-wrap{
    margin-left:8px!important;
    margin-right:8px!important;
    width:calc(100% - 16px)!important;
  }
}
@media (min-width:981px){
  .ep-pretty-clip-page .ep-clip-actions{
    justify-content:center!important;
  }
}

/* V6.9.165: robust News Clip sizing for arbitrary clipping aspect ratios.
 * Desktop: constrain both dimensions so portrait, landscape and small crops
 * remain fully visible inside the available viewing area. Mobile/tablet keep
 * the existing natural-width behavior. No crop or stretch is introduced. */
@media (min-width:981px){
  .ep-pretty-clip-page .ep-pretty-clip-client-wrap{
    min-height:0!important;
    max-height:calc(100vh - 250px)!important;
    display:flex!important;
    align-items:flex-start!important;
    justify-content:center!important;
    overflow:hidden!important;
  }
  .ep-pretty-clip-page .ep-pretty-clip-client-image{
    display:block!important;
    width:auto!important;
    height:auto!important;
    max-width:100%!important;
    max-height:calc(100vh - 250px)!important;
    object-fit:contain!important;
    object-position:center top!important;
    margin:0 auto!important;
  }
  .ep-natural-clip-modal .ep-clip-detail-image-wrap{
    min-height:0!important;
    overflow:hidden!important;
  }
  .ep-natural-clip-modal .ep-clip-detail-image{
    width:auto!important;
    height:auto!important;
    max-width:calc(100vw - 32px)!important;
    max-height:calc(100vh - 210px)!important;
    object-fit:contain!important;
    object-position:center top!important;
    margin:0 auto!important;
  }
}
@media (max-width:980px){
  .ep-pretty-clip-page .ep-pretty-clip-client-image,
  .ep-natural-clip-modal .ep-clip-detail-image{
    width:100%!important;
    height:auto!important;
    max-width:100%!important;
    object-fit:contain!important;
    object-position:center top!important;
  }
}


/* V6.9.167: mobile-only Upload New Issue heading refinement. Keep the title on one line and move its helper text below in a compact style. */
@media (max-width:620px){
  .ep-employee-dashboard #upload-issue .ep-upload-issue-head{
    display:flex!important;
    flex-direction:column!important;
    align-items:stretch!important;
    justify-content:flex-start!important;
    gap:3px!important;
    margin-bottom:11px!important;
  }
  .ep-employee-dashboard #upload-issue .ep-upload-issue-head>div{
    display:flex!important;
    align-items:center!important;
    gap:9px!important;
    min-width:0!important;
    width:100%!important;
  }
  .ep-employee-dashboard #upload-issue .ep-upload-issue-head h2{
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    font-size:18px!important;
    line-height:1.15!important;
    margin:0!important;
  }
  .ep-employee-dashboard #upload-issue .ep-upload-issue-head .ep-meta{
    display:block!important;
    margin:0!important;
    padding-left:37px!important;
    font-size:9px!important;
    line-height:1.25!important;
    color:#64748b!important;
    white-space:normal!important;
  }
}


/* V6.9.169: precise News Clip spacing/desktop action alignment correction only.
 * Mobile/tablet: keep a visible gutter around the clip itself.
 * Desktop: center the complete action group under the clip column, not under the
 * wider page grid that also contains the right-side advertisement.
 */
@media (max-width:980px){
  .ep-pretty-clip-page .ep-pretty-clip-client-wrap{
    margin-left:12px!important;
    margin-right:12px!important;
    width:calc(100% - 24px)!important;
    box-sizing:border-box!important;
  }
  .ep-natural-clip-modal .ep-clip-detail-image-wrap{
    padding-left:12px!important;
    padding-right:12px!important;
    box-sizing:border-box!important;
  }
}
@media (min-width:981px){
  .ep-pretty-clip-page .ep-clip-actions{
    width:fit-content!important;
    max-width:100%!important;
    margin-left:auto!important;
    margin-right:auto!important;
    justify-content:center!important;
    box-sizing:border-box!important;
  }
}
\n\n

/* V6.9.178: mobile/tablet-only Application Preview containment.
 * The full live letter is scaled to the available width and the preview frame
 * grows to the rendered letter height so the bottom footer/reference cannot
 * overlap or be clipped. Desktop rendering and generated PDF/JPEG output are untouched. */
@media (max-width:1100px){
  .ep-forward-form-card .ep-forward-section-head{
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:8px!important;
    flex-wrap:nowrap!important;
  }
  .ep-forward-form-card .ep-forward-section-head>div{
    display:flex!important;
    align-items:center!important;
    gap:7px!important;
    min-width:0!important;
    flex:1 1 auto!important;
  }
  .ep-forward-form-card .ep-forward-section-head h2{
    margin:0!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    font-size:clamp(13px,4vw,18px)!important;
    line-height:1.1!important;
  }
  .ep-forward-form-card .ep-forward-section-head>.ep-meta{
    flex:0 0 auto!important;
    white-space:nowrap!important;
    font-size:clamp(7px,2.1vw,11px)!important;
    line-height:1.15!important;
  }

  .ep-right-live-preview #ep-a4-live{
    position:relative!important;
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    margin:0!important;
    padding:7px!important;
    overflow:hidden!important;
    box-sizing:border-box!important;
  }

  .ep-right-live-preview #ep-a4-live > .ep-professional-letter{
    position:absolute!important;
    top:0!important;
    left:50%!important;
    width:794px!important;
    height:auto!important;
    min-height:1123px!important;
    max-width:none!important;
    margin:0!important;
    box-sizing:border-box!important;
    padding:58px 64px 58px 92px!important;
    overflow:visible!important;
    display:flex!important;
    flex-direction:column!important;
    transform-origin:top center!important;
    transform:translateX(-50%) scale(var(--ep-live-scale,1))!important;
  }

  .ep-right-live-preview #ep-a4-live > .ep-professional-letter .ep-doc-footer{
    position:static!important;
    left:auto!important;
    right:auto!important;
    bottom:auto!important;
    width:auto!important;
    margin-top:auto!important;
    flex:0 0 auto!important;
    box-sizing:border-box!important;
    padding-top:6px!important;
  }

  .ep-right-live-preview #ep-a4-live > .ep-professional-letter .ep-doc-footer-top{
    white-space:normal!important;
    flex-wrap:wrap!important;
    row-gap:2px!important;
    overflow-wrap:anywhere!important;
    word-break:break-word!important;
  }

  .ep-right-live-preview #ep-a4-live > .ep-professional-letter .ep-doc-footer-link{
    overflow-wrap:anywhere!important;
    word-break:break-word!important;
  }

  .ep-right-live-preview #ep-a4-live > .ep-professional-letter .ep-doc-clip-full{
    overflow:hidden!important;
    flex:0 1 auto!important;
    min-height:0!important;
  }

  .ep-right-live-preview #ep-a4-live > .ep-professional-letter .ep-doc-clip-full img{
    display:block!important;
    width:100%!important;
    height:auto!important;
    max-width:100%!important;
    object-fit:contain!important;
  }
}

@media (max-width:900px){
  .ep-right-live-preview #ep-a4-live > .ep-professional-letter{
    padding:58px 34px 42px 52px!important;
  }
  .ep-right-live-preview #ep-a4-live > .ep-professional-letter .ep-doc-clip-full img{
    max-height:360px!important;
  }
  .ep-right-live-preview #ep-a4-live > .ep-professional-letter .ep-doc-footer{
    font-size:7px!important;
    line-height:1.3!important;
  }
}

@media (max-width:782px){
  .ep-right-live-preview #ep-a4-live > .ep-professional-letter .ep-doc-footer{
    font-size:6.5px!important;
    line-height:1.25!important;
  }
}

/* V6.9.148: reader-only share + forward action area. Keep WhatsApp, Facebook,
 * X, Link and Forward together at the bottom-right of an opened news clip.
 * This does not change the direct pretty-clip page or any download behavior. */
.ep-natural-clip-modal .ep-clip-detail-actions{
  flex-wrap:wrap!important;
  overflow:visible!important;
  white-space:normal!important;
}
.ep-clip-detail-actions .ep-clip-reader-share-forward-actions{
  order:999!important;
  flex:1 0 100%!important;
  width:100%!important;
  min-width:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:8px!important;
  margin-top:8px!important;
  padding-top:10px!important;
  border-top:1px solid #e5e7eb!important;
  box-sizing:border-box!important;
}
.ep-clip-detail-actions .ep-clip-reader-share-forward-actions .ep-clip-share-actions{
  width:auto!important;
  min-width:0!important;
  flex:0 0 auto!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:5px!important;
  margin:0!important;
}
.ep-clip-detail-actions .ep-clip-reader-share-forward-actions .ep-share-btn{
  flex:0 0 auto!important;
  width:auto!important;
  min-width:40px!important;
  height:40px!important;
  min-height:40px!important;
  padding:7px 9px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:5px!important;
}
.ep-clip-detail-actions .ep-clip-reader-share-forward-actions .ep-clip-forward-btn{
  flex:0 0 auto!important;
  width:auto!important;
  min-width:110px!important;
  height:40px!important;
  min-height:40px!important;
  margin:0!important;
}
.ep-clip-detail-actions .ep-clip-reader-share-forward-actions .ep-share-text{display:none!important}
.ep-clip-detail-actions .ep-clip-reader-share-forward-actions .ep-share-copy-link .ep-share-text{display:inline!important;font-size:11px!important}
@media(max-width:760px){
  .ep-clip-detail-actions .ep-clip-reader-share-forward-actions{
    justify-content:flex-end!important;
    gap:6px!important;
    margin-top:6px!important;
    padding-top:8px!important;
  }
  .ep-clip-detail-actions .ep-clip-reader-share-forward-actions .ep-clip-share-actions{
    gap:4px!important;
  }
  .ep-clip-detail-actions .ep-clip-reader-share-forward-actions .ep-share-btn{
    width:36px!important;
    min-width:36px!important;
    height:38px!important;
    min-height:38px!important;
    padding:5px!important;
  }
  .ep-clip-detail-actions .ep-clip-reader-share-forward-actions .ep-share-copy-link{
    width:46px!important;
    min-width:46px!important;
    padding:5px 6px!important;
  }
  .ep-clip-detail-actions .ep-clip-reader-share-forward-actions .ep-clip-forward-btn{
    width:auto!important;
    min-width:96px!important;
    height:40px!important;
    min-height:40px!important;
    padding:7px 10px!important;
  }
  .ep-clip-detail-actions .ep-clip-reader-share-forward-actions .ep-share-icon{
    width:22px!important;
    height:22px!important;
    min-width:22px!important;
  }
}
@media(max-width:380px){
  .ep-clip-detail-actions .ep-clip-reader-share-forward-actions{
    gap:5px!important;
  }
  .ep-clip-detail-actions .ep-clip-reader-share-forward-actions .ep-share-btn{
    width:34px!important;
    min-width:34px!important;
    height:36px!important;
    min-height:36px!important;
    padding:4px!important;
  }
  .ep-clip-detail-actions .ep-clip-reader-share-forward-actions .ep-share-copy-link{
    width:43px!important;
    min-width:43px!important;
  }
  .ep-clip-detail-actions .ep-clip-reader-share-forward-actions .ep-clip-forward-btn{
    min-width:90px!important;
    height:38px!important;
    min-height:38px!important;
    padding:6px 8px!important;
    font-size:11px!important;
  }
}



/* V6.9.180: always-visible News Clip share/forward controls in the opened reader.
 * Sequence: WhatsApp -> Facebook -> X -> Link -> Forward.
 * The controls are isolated from page downloads and PDF/JPEG generation. */
.ep-reader-clip-share-forward-actions,
.ep-natural-clip-modal .ep-clip-reader-share-forward-actions{
  position:fixed!important;
  right:20px!important;
  bottom:20px!important;
  z-index:10050!important;
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:flex-end!important;
  flex-wrap:nowrap!important;
  gap:7px!important;
  width:auto!important;
  max-width:calc(100vw - 24px)!important;
  min-width:0!important;
  margin:0!important;
  padding:7px!important;
  background:rgba(255,255,255,.98)!important;
  border:1px solid #d9dee7!important;
  border-radius:12px!important;
  box-shadow:0 8px 28px rgba(15,23,42,.20)!important;
  box-sizing:border-box!important;
  overflow:visible!important;
  white-space:nowrap!important;
}
.ep-reader-clip-share-forward-actions > .ep-reader-clip-action,
.ep-natural-clip-modal .ep-clip-reader-share-forward-actions > .ep-reader-clip-action{
  display:inline-flex!important;
  flex:0 0 auto!important;
  align-items:center!important;
  justify-content:center!important;
  width:auto!important;
  min-width:0!important;
  height:42px!important;
  min-height:42px!important;
  margin:0!important;
  padding:0 11px!important;
  box-sizing:border-box!important;
  border:1px solid #d9dee7!important;
  border-radius:9px!important;
  background:#f3f4f6!important;
  color:#111827!important;
  text-decoration:none!important;
  cursor:pointer!important;
  line-height:1!important;
  font-size:13px!important;
  font-weight:700!important;
}
.ep-reader-clip-share-forward-actions > .ep-reader-clip-icon,
.ep-natural-clip-modal .ep-clip-reader-share-forward-actions > .ep-reader-clip-icon{
  width:42px!important;
  min-width:42px!important;
  padding:0!important;
}
.ep-reader-clip-share-forward-actions .ep-share-icon,
.ep-natural-clip-modal .ep-clip-reader-share-forward-actions .ep-share-icon{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:28px!important;
  height:28px!important;
  min-width:28px!important;
  border-radius:7px!important;
  flex:0 0 28px!important;
}
.ep-reader-clip-share-forward-actions .ep-share-icon svg,
.ep-natural-clip-modal .ep-clip-reader-share-forward-actions .ep-share-icon svg{
  display:block!important;
  width:19px!important;
  height:19px!important;
  fill:currentColor!important;
}
.ep-reader-clip-share-forward-actions .ep-share-icon-wa,
.ep-natural-clip-modal .ep-clip-reader-share-forward-actions .ep-share-icon-wa{background:#20b65b!important;color:#fff!important}
.ep-reader-clip-share-forward-actions .ep-share-icon-fb,
.ep-natural-clip-modal .ep-clip-reader-share-forward-actions .ep-share-icon-fb{background:#1877f2!important;color:#fff!important}
.ep-reader-clip-share-forward-actions .ep-share-icon-x,
.ep-natural-clip-modal .ep-clip-reader-share-forward-actions .ep-share-icon-x{background:#111827!important;color:#fff!important}
.ep-reader-clip-share-forward-actions .ep-share-icon-link,
.ep-natural-clip-modal .ep-clip-reader-share-forward-actions .ep-share-icon-link{background:#c9a227!important;color:#fff!important}
.ep-reader-clip-share-forward-actions .ep-reader-clip-forward,
.ep-natural-clip-modal .ep-clip-reader-share-forward-actions .ep-clip-forward-btn{
  min-width:112px!important;
  background:#c9a227!important;
  border-color:#c9a227!important;
  color:#fff!important;
}
.ep-reader-clip-share-forward-actions .ep-reader-clip-forward:hover,
.ep-natural-clip-modal .ep-clip-reader-share-forward-actions .ep-clip-forward-btn:hover{background:#b38f00!important;border-color:#b38f00!important}
.ep-natural-clip-modal.open .ep-clip-detail{padding-bottom:84px!important;box-sizing:border-box!important}

@media(max-width:760px){
  .ep-reader-clip-share-forward-actions,
  .ep-natural-clip-modal .ep-clip-reader-share-forward-actions{
    right:10px!important;
    bottom:10px!important;
    gap:5px!important;
    padding:6px!important;
    border-radius:10px!important;
    max-width:calc(100vw - 20px)!important;
  }
  .ep-reader-clip-share-forward-actions > .ep-reader-clip-action,
  .ep-natural-clip-modal .ep-clip-reader-share-forward-actions > .ep-reader-clip-action{
    height:38px!important;
    min-height:38px!important;
    border-radius:8px!important;
    padding:0 8px!important;
    font-size:11px!important;
  }
  .ep-reader-clip-share-forward-actions > .ep-reader-clip-icon,
  .ep-natural-clip-modal .ep-clip-reader-share-forward-actions > .ep-reader-clip-icon{
    width:38px!important;
    min-width:38px!important;
    padding:0!important;
  }
  .ep-reader-clip-share-forward-actions .ep-share-icon,
  .ep-natural-clip-modal .ep-clip-reader-share-forward-actions .ep-share-icon{
    width:24px!important;
    height:24px!important;
    min-width:24px!important;
    flex-basis:24px!important;
  }
  .ep-reader-clip-share-forward-actions .ep-share-icon svg,
  .ep-natural-clip-modal .ep-clip-reader-share-forward-actions .ep-share-icon svg{
    width:17px!important;
    height:17px!important;
  }
  .ep-reader-clip-share-forward-actions .ep-reader-clip-forward,
  .ep-natural-clip-modal .ep-clip-reader-share-forward-actions .ep-clip-forward-btn{
    min-width:92px!important;
    padding:0 9px!important;
  }
}
@media(max-width:380px){
  .ep-reader-clip-share-forward-actions,
  .ep-natural-clip-modal .ep-clip-reader-share-forward-actions{
    right:7px!important;
    bottom:7px!important;
    gap:4px!important;
    max-width:calc(100vw - 14px)!important;
  }
  .ep-reader-clip-share-forward-actions > .ep-reader-clip-icon,
  .ep-natural-clip-modal .ep-clip-reader-share-forward-actions > .ep-reader-clip-icon{
    width:35px!important;
    min-width:35px!important;
  }
  .ep-reader-clip-share-forward-actions > .ep-reader-clip-action,
  .ep-natural-clip-modal .ep-clip-reader-share-forward-actions > .ep-reader-clip-action{
    height:36px!important;
    min-height:36px!important;
  }
  .ep-reader-clip-share-forward-actions .ep-reader-clip-forward,
  .ep-natural-clip-modal .ep-clip-reader-share-forward-actions .ep-clip-forward-btn{min-width:86px!important;font-size:10.5px!important}
}



/* V6.9.185: the full-reader clip share bar lives under <body> so reader
 * overflow/transform containers cannot clip it. It is used only by the full
 * Read Clips reader and does not affect normal clip detail/page share rows. */
.ep-reader-clip-share-forward-actions.ep-reader-reader-floating{
  position:fixed!important;
  top:auto!important;
  left:auto!important;
  right:20px!important;
  bottom:20px!important;
  z-index:2147483000!important;
  pointer-events:auto!important;
  visibility:visible!important;
  opacity:1!important;
}
body:not(.ep-full-reader-active) .ep-reader-clip-share-forward-actions.ep-reader-reader-floating{
  display:none!important;
}
.ep-reader-clip-share-forward-actions.ep-reader-reader-floating.ep-reader-reader-hidden{
  display:none!important;
}
.ep-reader-clip-share-forward-actions.ep-reader-reader-floating .ep-reader-clip-action{
  position:relative!important;
  z-index:1!important;
  pointer-events:auto!important;
}
.ep-reader-clip-share-forward-actions.ep-reader-reader-floating .ep-share-icon,
.ep-reader-clip-share-forward-actions.ep-reader-reader-floating .ep-share-icon svg{
  visibility:visible!important;
  opacity:1!important;
}
@media(max-width:760px){
  .ep-reader-clip-share-forward-actions.ep-reader-reader-floating{
    right:10px!important;
    bottom:10px!important;
    max-width:calc(100vw - 20px)!important;
  }
}
@media(max-width:380px){
  .ep-reader-clip-share-forward-actions.ep-reader-reader-floating{
    right:7px!important;
    bottom:7px!important;
    max-width:calc(100vw - 14px)!important;
  }
}

/* V6.9.181: scope the floating share/forward bar to the full Read Clips reader only.
 * Natural News Clip detail modal keeps its earlier centered, in-flow action row. */
.ep-natural-clip-modal .ep-clip-reader-share-forward-actions{
  position:relative!important;
  top:auto!important;
  right:auto!important;
  bottom:auto!important;
  left:auto!important;
  z-index:auto!important;
  display:flex!important;
  flex:1 0 100%!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin:8px 0 0!important;
  padding:10px 0 0!important;
  background:transparent!important;
  border:0!important;
  border-top:1px solid #e5e7eb!important;
  border-radius:0!important;
  box-shadow:none!important;
  box-sizing:border-box!important;
  overflow:visible!important;
  white-space:normal!important;
  justify-content:center!important;
}
.ep-natural-clip-modal .ep-clip-reader-share-forward-actions > .ep-reader-clip-action{
  position:static!important;
  flex:0 0 auto!important;
}
.ep-natural-clip-modal .ep-clip-reader-share-forward-actions > .ep-reader-clip-icon{
  width:42px!important;
  min-width:42px!important;
  height:42px!important;
  min-height:42px!important;
}
@media(max-width:760px){
  .ep-natural-clip-modal .ep-clip-reader-share-forward-actions{
    gap:6px!important;
    margin-top:6px!important;
    padding-top:8px!important;
    justify-content:center!important;
  }
}
@media(max-width:380px){
  .ep-natural-clip-modal .ep-clip-reader-share-forward-actions{
    gap:5px!important;
  }
  .ep-natural-clip-modal .ep-clip-reader-share-forward-actions > .ep-reader-clip-icon{
    width:35px!important;
    min-width:35px!important;
    height:36px!important;
    min-height:36px!important;
  }
}


/* V6.9.185: final reliability layer for the full Read Clips action bar.
 * The bar is injected directly under <body> after a clip is loaded, so its
 * visibility is controlled only by its own hidden class, never by reader body
 * state or ancestor overflow. Normal clip-detail share rows are untouched. */
.ep-reader-clip-share-forward-actions.ep-reader-reader-floating{
  position:fixed!important;
  top:auto!important;
  left:auto!important;
  right:20px!important;
  bottom:20px!important;
  display:flex!important;
  visibility:visible!important;
  opacity:1!important;
  pointer-events:auto!important;
  z-index:2147483647!important;
}
.ep-reader-clip-share-forward-actions.ep-reader-reader-floating.ep-reader-reader-hidden{
  display:none!important;
}
@media(max-width:760px){
  .ep-reader-clip-share-forward-actions.ep-reader-reader-floating{
    right:10px!important;
    bottom:10px!important;
    max-width:calc(100vw - 20px)!important;
  }
}
@media(max-width:380px){
  .ep-reader-clip-share-forward-actions.ep-reader-reader-floating{
    right:7px!important;
    bottom:7px!important;
    max-width:calc(100vw - 14px)!important;
  }
}


/* V6.9.185: Read Clips gallery share/forward control bar. This styling is
 * scoped only to the News Clips gallery (#ep-clip-gallery-modal). The normal
 * News Clip detail page keeps its existing centered action row. */
.ep-clip-gallery-modal .ep-gallery-actions{
  position:fixed!important;
  right:20px!important;
  bottom:20px!important;
  z-index:2147483646!important;
  display:block!important;
  margin:0!important;
  padding:0!important;
  pointer-events:auto!important;
  overflow:visible!important;
}
.ep-clip-gallery-modal .ep-gallery-share-forward-bar{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:7px!important;
  padding:7px!important;
  background:#fff!important;
  border:1px solid #dfe3e8!important;
  border-radius:14px!important;
  box-shadow:0 8px 30px rgba(0,0,0,.24)!important;
  white-space:nowrap!important;
  box-sizing:border-box!important;
}
.ep-clip-gallery-modal .ep-gallery-share-icon{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:42px!important;
  height:42px!important;
  min-width:42px!important;
  min-height:42px!important;
  padding:0!important;
  border:1px solid #e1e5ea!important;
  border-radius:9px!important;
  background:#f7f9fb!important;
  color:#111827!important;
  text-decoration:none!important;
  cursor:pointer!important;
  box-sizing:border-box!important;
}
.ep-clip-gallery-modal .ep-gallery-share-icon .ep-share-icon{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:28px!important;
  height:28px!important;
  min-width:28px!important;
  min-height:28px!important;
  border-radius:7px!important;
}
.ep-clip-gallery-modal .ep-gallery-share-icon .ep-share-icon svg{
  display:block!important;
  width:18px!important;
  height:18px!important;
  fill:currentColor!important;
  color:inherit!important;
}
.ep-clip-gallery-modal .ep-gallery-share-whatsapp .ep-share-icon-wa{background:#20b65b!important;color:#fff!important}
.ep-clip-gallery-modal .ep-gallery-share-facebook .ep-share-icon-fb{background:#1877f2!important;color:#fff!important}
.ep-clip-gallery-modal .ep-gallery-share-x .ep-share-icon-x{background:#111827!important;color:#fff!important}
.ep-clip-gallery-modal .ep-gallery-share-link .ep-share-icon-link{background:#c9a227!important;color:#fff!important}
.ep-clip-gallery-modal .ep-gallery-share-icon:hover{filter:brightness(.97)!important;transform:translateY(-1px)!important}
.ep-clip-gallery-modal .ep-gallery-share-forward-btn{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:126px!important;
  height:42px!important;
  padding:0 18px!important;
  border:1px solid #c9a227!important;
  border-radius:9px!important;
  background:#c9a227!important;
  color:#fff!important;
  font:700 14px/1 system-ui,-apple-system,BlinkMacSystemFont,\"Segoe UI\",sans-serif!important;
  text-decoration:none!important;
  box-sizing:border-box!important;
  cursor:pointer!important;
}
.ep-clip-gallery-modal .ep-gallery-share-forward-btn:hover{background:#b38f00!important;border-color:#b38f00!important}
.ep-clip-gallery-modal .ep-gallery-share-forward-btn[aria-disabled=\"true\"]{opacity:.65!important;cursor:default!important;pointer-events:none!important}
@media(max-width:760px){
  .ep-clip-gallery-modal .ep-gallery-actions{right:10px!important;bottom:10px!important}
  .ep-clip-gallery-modal .ep-gallery-share-forward-bar{gap:5px!important;padding:6px!important;border-radius:12px!important}
  .ep-clip-gallery-modal .ep-gallery-share-icon{width:38px!important;height:38px!important;min-width:38px!important;min-height:38px!important;border-radius:8px!important}
  .ep-clip-gallery-modal .ep-gallery-share-icon .ep-share-icon{width:26px!important;height:26px!important;min-width:26px!important;min-height:26px!important}
  .ep-clip-gallery-modal .ep-gallery-share-icon .ep-share-icon svg{width:17px!important;height:17px!important}
  .ep-clip-gallery-modal .ep-gallery-share-forward-btn{min-width:108px!important;height:38px!important;padding:0 13px!important;font-size:12px!important;border-radius:8px!important}
}
@media(max-width:390px){
  .ep-clip-gallery-modal .ep-gallery-actions{right:7px!important;bottom:7px!important}
  .ep-clip-gallery-modal .ep-gallery-share-forward-bar{gap:4px!important;padding:5px!important}
  .ep-clip-gallery-modal .ep-gallery-share-icon{width:34px!important;height:34px!important;min-width:34px!important;min-height:34px!important}
  .ep-clip-gallery-modal .ep-gallery-share-icon .ep-share-icon{width:24px!important;height:24px!important;min-width:24px!important;min-height:24px!important}
  .ep-clip-gallery-modal .ep-gallery-share-icon .ep-share-icon svg{width:15px!important;height:15px!important}
  .ep-clip-gallery-modal .ep-gallery-share-forward-btn{min-width:92px!important;height:34px!important;padding:0 9px!important;font-size:11px!important}
}


/* V6.9.189: direct shared News Clip page mobile/tablet layout correction only.
 * The desktop clip/ad layout uses a two-column grid. On narrow screens the
 * right ad is hidden, so the main clip column must explicitly collapse to one
 * full-width column; otherwise the hidden 300px grid track still leaves the
 * shared-link page compressed to a narrow strip. No desktop behavior changes. */
@media (max-width:980px){
  .ep-pretty-clip-page .ep-clip-desktop-main-grid{
    display:block!important;
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
  }
  .ep-pretty-clip-page .ep-clip-desktop-main{
    display:block!important;
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
  }
  .ep-pretty-clip-page .ep-pretty-clip-ad-wrap{
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    box-sizing:border-box!important;
  }
  .ep-pretty-clip-page .ep-pretty-clip-panel{
    width:100%!important;
    max-width:none!important;
    box-sizing:border-box!important;
  }
}


/* V6.9.189: forward-news mobile/tablet containment only.
 * Keep the form and live A4 preview fully inside the viewport. This does not
 * change desktop layout or PDF/JPEG generation. */
@media (max-width:980px){
  .ep-forward-page{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
    overflow-x:hidden!important;
  }
  .ep-forward-page .ep-forward-layout-v55{
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
  }
  .ep-forward-page .ep-forward-form-card,
  .ep-forward-page .ep-forward-preview-card,
  .ep-forward-page .ep-right-live-preview{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
  }
  .ep-forward-page .ep-forward-preview-card,
  .ep-forward-page .ep-right-live-preview{
    overflow:hidden!important;
  }
  .ep-forward-page .ep-right-live-preview #ep-a4-live{
    position:relative!important;
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    height:auto!important;
    min-height:0!important;
    aspect-ratio:794 / 1123!important;
    margin:0!important;
    padding:7px!important;
    box-sizing:border-box!important;
    overflow:hidden!important;
  }
  .ep-forward-page .ep-right-live-preview #ep-a4-live > .ep-professional-letter{
    position:absolute!important;
    top:0!important;
    left:50%!important;
    width:794px!important;
    height:1123px!important;
    min-height:1123px!important;
    max-width:none!important;
    margin:0!important;
    padding:58px 64px 58px 92px!important;
    box-sizing:border-box!important;
    overflow:hidden!important;
    display:flex!important;
    flex-direction:column!important;
    transform-origin:top center!important;
    transform:translateX(-50%) scale(var(--ep-live-scale,1))!important;
  }
  .ep-forward-page .ep-right-live-preview #ep-a4-live > .ep-professional-letter .ep-doc-footer{
    position:static!important;
    left:auto!important;
    right:auto!important;
    bottom:auto!important;
    width:auto!important;
    margin-top:auto!important;
    flex:0 0 auto!important;
    box-sizing:border-box!important;
    padding-top:6px!important;
  }
  .ep-forward-page .ep-right-live-preview #ep-a4-live > .ep-professional-letter .ep-doc-footer-top{
    white-space:normal!important;
    flex-wrap:wrap!important;
    row-gap:2px!important;
    overflow-wrap:anywhere!important;
    word-break:break-word!important;
  }
  .ep-forward-page .ep-right-live-preview #ep-a4-live > .ep-professional-letter .ep-doc-footer-link{
    overflow-wrap:anywhere!important;
    word-break:break-word!important;
  }
  .ep-forward-page .ep-right-live-preview #ep-a4-live > .ep-professional-letter .ep-doc-clip-full{
    min-height:0!important;
    overflow:hidden!important;
    flex:0 1 auto!important;
  }
  .ep-forward-page .ep-right-live-preview #ep-a4-live > .ep-professional-letter .ep-doc-clip-full img{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    height:auto!important;
    object-fit:contain!important;
  }
}

@media (max-width:900px){
  .ep-forward-page .ep-right-live-preview #ep-a4-live > .ep-professional-letter{
    padding:58px 34px 42px 52px!important;
  }
}

@media (max-width:620px){
  .ep-forward-page .ep-right-live-preview #ep-a4-live{
    padding:5px!important;
  }
  .ep-forward-page .ep-forward-form-card,
  .ep-forward-page .ep-forward-preview-card{
    padding:10px!important;
  }
}


/* =========================================================
   V6.9.189 SITE-WIDE AJAX SEARCH
   ========================================================= */
.ep-global-search-status{margin:0 0 10px;color:#64748b;font-size:12px;min-height:18px}
.ep-global-search-results{display:grid;gap:12px}
.ep-global-search-group{background:#fff;border:1px solid var(--ep-border);border-radius:14px;padding:11px 12px;box-shadow:0 4px 18px rgba(15,23,42,.04)}
.ep-global-search-group-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:9px;padding-bottom:8px;border-bottom:1px solid #edf0f3}
.ep-global-search-group-head strong{font-size:14px;color:#111827}
.ep-global-search-group-head span{font-size:10px;color:#64748b;white-space:nowrap}
.ep-global-search-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.ep-global-search-item{display:flex;gap:10px;min-width:0;padding:9px;border:1px solid #e6eaf0;border-radius:11px;background:#fff}
.ep-global-search-thumb{width:108px;min-width:108px;aspect-ratio:16/10;border-radius:8px;overflow:hidden;background:#f3f5f7}
.ep-global-search-thumb img{display:block;width:100%;height:100%;object-fit:cover}
.ep-global-search-body{min-width:0;display:flex;flex-direction:column;gap:4px}
.ep-global-search-meta{font-size:9px;line-height:1.25;color:#64748b;text-transform:uppercase;letter-spacing:.04em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ep-global-search-item h2{margin:0;font-size:14px;line-height:1.25;color:#111827}
.ep-global-search-item p{margin:0;font-size:11px;line-height:1.4;color:#64748b;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.ep-global-search-action{margin-top:auto;padding-top:3px}
.ep-global-search-action .ep-btn{min-height:32px;font-size:10px;padding:6px 10px}
.ep-global-search-empty{margin-top:2px}
@media(max-width:760px){
  .ep-global-search-list{grid-template-columns:1fr}
  .ep-global-search-item{padding:8px}
  .ep-global-search-thumb{width:92px;min-width:92px}
  .ep-global-search-item h2{font-size:13px}
}
@media(max-width:420px){
  .ep-global-search-item{gap:8px}
  .ep-global-search-thumb{width:76px;min-width:76px}
  .ep-global-search-item h2{font-size:12px}
  .ep-global-search-item p{font-size:10px}
}

/* V6.9.189: site search controls only */
.ep-global-search-form .ep-field{min-width:0}.ep-global-search-form input{min-width:0;max-width:100%}


/* V6.9.197: configurable landing-page article sections and clean single-post metadata. */
.ep-home-blog-section-configured{background:var(--ep-blog-section-bg,#fff)!important}
.ep-home-blog-item{background:var(--ep-blog-card-bg,#fff)!important}
.ep-home-blog-item .ep-home-blog-body h2{font-size:var(--ep-blog-title-size,28px)!important;color:var(--ep-blog-title-color,#0f172a)!important;font-weight:var(--ep-blog-title-weight,800)!important}
.ep-home-blog-item .ep-home-blog-body h2 a{color:inherit!important}
.ep-home-blog-item .ep-home-blog-excerpt{font-size:var(--ep-blog-excerpt-size,15px)!important;color:var(--ep-blog-excerpt-color,#4d5551)!important}
.ep-home-blog-item .ep-home-blog-meta{font-size:var(--ep-blog-meta-size,12px)!important;color:var(--ep-blog-meta-color,#68706c)!important}
.ep-home-blog-item{min-height:0}
.ep-home-blog-thumb.ratio-16-9{aspect-ratio:16/9;height:auto;min-height:0}
.ep-home-blog-thumb.ratio-4-3{aspect-ratio:4/3;height:auto;min-height:0}
.ep-home-blog-thumb.ratio-1-1{aspect-ratio:1/1;height:auto;min-height:0}
.ep-home-blog-thumb.ratio-auto{height:auto;min-height:172px}
.ep-home-blog-thumb.ratio-16-9 img,.ep-home-blog-thumb.ratio-4-3 img,.ep-home-blog-thumb.ratio-1-1 img{height:100%;min-height:0;object-fit:cover}
.ep-home-blog-item.no-image{grid-template-columns:minmax(0,1fr)!important}
.ep-home-blog-item.no-image .ep-home-blog-body{padding-right:0}
.ep-blog-sections-builder{margin:18px 0 0;padding:18px;border:1px solid #dfe5ea;border-radius:14px;background:#f5f8fa}
.ep-blog-sections-head{display:flex;flex-direction:column;gap:4px;margin:0 0 14px;padding:0 2px}.ep-blog-sections-head strong{font-size:16px;color:#101828}.ep-blog-sections-head span{font-size:12px;line-height:1.55;color:#667085;max-width:900px}
.ep-blog-section-list{display:flex;flex-direction:column;gap:12px}
.ep-blog-section-row{border:1px solid #d9e0e7;border-radius:14px;background:#fff;overflow:hidden;box-shadow:0 2px 6px rgba(15,23,42,.04)}
.ep-blog-section-row.is-dragging{opacity:.72;box-shadow:0 12px 28px rgba(15,23,42,.12)}
.ep-blog-section-summary{display:grid;grid-template-columns:38px minmax(0,1fr) auto auto;gap:12px;align-items:center;padding:12px 14px;background:#fff}
.ep-blog-section-drag{width:34px;height:34px;min-width:34px;padding:0!important;display:inline-flex!important;align-items:center;justify-content:center;font-size:17px;line-height:1;border-color:#d6dde5!important;color:#475467!important;background:#f8fafc!important;cursor:grab}.ep-blog-section-drag:active{cursor:grabbing}
.ep-blog-section-summary-copy{min-width:0;display:flex;flex-direction:column;gap:6px}.ep-blog-section-summary-copy strong{font-size:14px;line-height:1.25;color:#101828;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ep-blog-section-summary-badges{display:flex;flex-wrap:wrap;gap:5px}.ep-blog-summary-badge{display:inline-flex;align-items:center;min-height:22px;padding:2px 8px;border:1px solid #e4e8ec;border-radius:999px;background:#f8fafc;color:#667085;font-size:10px;line-height:1.25;white-space:nowrap}.ep-blog-summary-category{background:#eef7f1;border-color:#d3ebdc;color:#176b3a}.ep-blog-summary-count{background:#fff8e6;border-color:#f3e2b0;color:#8a6500}
.ep-blog-section-enabled{display:inline-flex;align-items:center;gap:6px;padding:7px 9px;border:1px solid #e3e7ec;border-radius:9px;background:#fafbfc;font-size:11px;color:#344054;white-space:nowrap}.ep-blog-section-enabled input{margin:0}
.ep-blog-section-actions{display:flex;align-items:center;justify-content:flex-end;gap:5px;flex-wrap:wrap}.ep-blog-section-actions button{min-height:32px}.ep-blog-toggle{font-weight:600}
.ep-blog-section-fields{display:none;padding:16px;border-top:1px solid #e7ebef;background:#f8fafc}.ep-blog-section-row.is-open .ep-blog-section-fields{display:block}
.ep-blog-settings-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:12px}
.ep-blog-settings-panel{grid-column:span 6;border:1px solid #dfe5ea;border-radius:12px;background:#fff;overflow:hidden}.ep-blog-settings-panel.ep-blog-panel-content,.ep-blog-settings-panel.ep-blog-panel-posts,.ep-blog-settings-panel.ep-blog-panel-elements{grid-column:span 4}
.ep-blog-panel-head{display:flex;align-items:flex-start;gap:10px;padding:12px 13px;border-bottom:1px solid #edf0f3;background:#fbfcfd}.ep-blog-panel-icon{width:28px;height:28px;min-width:28px;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;background:#eef7f1;border:1px solid #d4eadd;color:#176b3a;font-size:10px;font-weight:800}.ep-blog-panel-head div{display:flex;flex-direction:column;gap:2px}.ep-blog-panel-head strong{font-size:12px;color:#172033}.ep-blog-panel-head small{font-size:10px;line-height:1.4;color:#667085}
.ep-blog-panel-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:13px}.ep-blog-panel-fields label{display:flex;flex-direction:column;gap:5px;min-width:0;font-size:11px;color:#344054}.ep-blog-panel-fields label.full{grid-column:1/-1}.ep-blog-panel-fields input,.ep-blog-panel-fields select{width:100%;min-width:0}.ep-blog-panel-fields input[type=color]{height:34px;padding:3px}.ep-blog-panel-fields-2{padding-top:0}
.ep-blog-panel-checks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;padding:13px;padding-bottom:8px}.ep-blog-panel-checks label{display:flex;align-items:center;gap:7px;min-height:34px;padding:7px 9px;border:1px solid #e2e7ec;border-radius:8px;background:#fbfcfd;font-size:11px;color:#344054}.ep-blog-panel-checks input{margin:0}
.ep-blog-panel-note{margin:0 13px 13px;padding:8px 10px;border-left:3px solid #c9a227;background:#fffaf0;color:#667085;font-size:10px;line-height:1.45;border-radius:0 7px 7px 0}
.ep-blog-section-add{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px;padding:10px 2px 0}.ep-blog-section-add .button{min-height:34px}.ep-blog-section-add span{font-size:11px;line-height:1.45;color:#667085;max-width:760px}
@media(max-width:1100px){.ep-blog-settings-panel,.ep-blog-settings-panel.ep-blog-panel-content,.ep-blog-settings-panel.ep-blog-panel-posts,.ep-blog-settings-panel.ep-blog-panel-elements{grid-column:span 6}}
@media(max-width:760px){
  .ep-blog-sections-builder{padding:12px}.ep-blog-section-summary{grid-template-columns:36px minmax(0,1fr);gap:9px;padding:11px}.ep-blog-section-enabled{grid-column:2;justify-self:start}.ep-blog-section-actions{grid-column:2;justify-content:flex-start}.ep-blog-section-actions button{min-height:34px}.ep-blog-summary-badge{font-size:9px}.ep-blog-settings-grid{grid-template-columns:1fr}.ep-blog-settings-panel,.ep-blog-settings-panel.ep-blog-panel-content,.ep-blog-settings-panel.ep-blog-panel-posts,.ep-blog-settings-panel.ep-blog-panel-elements{grid-column:1}.ep-blog-panel-fields{grid-template-columns:1fr}.ep-blog-panel-fields label.full{grid-column:auto}.ep-blog-panel-checks{grid-template-columns:1fr}.ep-blog-section-add{align-items:flex-start;flex-direction:column}.ep-blog-section-add span{max-width:none}
}
@media(max-width:480px){.ep-blog-section-actions button{width:100%}.ep-blog-section-enabled{font-size:10px}.ep-blog-sections-head span{font-size:11px}}

/* V6.9.197: article thumbnail alignment */
@media(min-width:761px){.ep-home-blog-item:not(.no-image){align-items:stretch}.ep-home-blog-item:not(.no-image) .ep-home-blog-thumb{align-self:stretch;min-height:100%;aspect-ratio:auto}.ep-home-blog-item:not(.no-image) .ep-home-blog-thumb img,.ep-home-blog-item:not(.no-image) .ep-home-blog-thumb-placeholder{height:100%;min-height:100%}}

/* V6.9.197: blog/article presentation and mobile responsiveness */
.ep-home-blog-anchor{height:1px;scroll-margin-top:90px}
.ep-home-blog-section-configured{padding:var(--ep-blog-section-padding,20px)!important;border-radius:var(--ep-blog-section-radius,16px)!important;overflow:hidden}
.ep-home-blog-section-configured .ep-home-blog-item{padding:var(--ep-blog-card-padding,14px)!important;gap:var(--ep-blog-card-gap,20px)!important;border-radius:var(--ep-blog-card-radius,14px)!important;box-shadow:0 3px calc(var(--ep-blog-card-shadow,5) * 3px) rgba(17,24,39,.06)!important}
.ep-home-blog-section-configured .ep-home-blog-body h2{margin-bottom:8px!important}
.ep-home-blog-section-configured .ep-home-blog-readmore{margin-top:8px!important}
@media(max-width:760px){
  .ep-home-blog-section-configured{padding:12px!important;border-radius:14px!important}
  .ep-home-blog-section-configured .ep-home-blog-heading{margin-bottom:12px!important}
  .ep-home-blog-section-configured .ep-home-blog-item:not(.no-image):not(.mobile-stacked){
    display:grid!important;
    grid-template-columns:minmax(76px,var(--ep-blog-mobile-thumb-width,104px)) minmax(0,1fr)!important;
    gap:10px!important;
    align-items:start!important;
    padding:10px!important;
    width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
  }
  .ep-home-blog-section-configured .ep-home-blog-item:not(.no-image):not(.mobile-stacked) .ep-home-blog-thumb{
    width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;aspect-ratio:auto!important;align-self:start!important;overflow:hidden!important;
  }
  .ep-home-blog-section-configured .ep-home-blog-item:not(.no-image):not(.mobile-stacked) .ep-home-blog-thumb.ratio-16-9{aspect-ratio:16/9!important}
  .ep-home-blog-section-configured .ep-home-blog-item:not(.no-image):not(.mobile-stacked) .ep-home-blog-thumb.ratio-4-3{aspect-ratio:4/3!important}
  .ep-home-blog-section-configured .ep-home-blog-item:not(.no-image):not(.mobile-stacked) .ep-home-blog-thumb.ratio-1-1{aspect-ratio:1/1!important}
  .ep-home-blog-section-configured .ep-home-blog-item:not(.no-image):not(.mobile-stacked) .ep-home-blog-thumb.ratio-auto{aspect-ratio:4/3!important}
  .ep-home-blog-section-configured .ep-home-blog-item:not(.no-image):not(.mobile-stacked) .ep-home-blog-thumb img,
  .ep-home-blog-section-configured .ep-home-blog-item:not(.no-image):not(.mobile-stacked) .ep-home-blog-thumb-placeholder{
    width:100%!important;height:100%!important;min-height:0!important;max-height:none!important;object-fit:cover!important;
  }
  .ep-home-blog-section-configured .ep-home-blog-item:not(.no-image):not(.mobile-stacked) .ep-home-blog-body{padding:0!important;min-width:0!important;align-self:start!important}
  .ep-home-blog-section-configured .ep-home-blog-item:not(.no-image):not(.mobile-stacked) .ep-home-blog-body h2{font-size:var(--ep-blog-mobile-title-size,16px)!important;line-height:1.25!important;letter-spacing:0!important;margin:0 0 6px!important}
  .ep-home-blog-section-configured .ep-home-blog-item:not(.no-image):not(.mobile-stacked) .ep-home-blog-meta{font-size:var(--ep-blog-mobile-meta-size,10px)!important;line-height:1.3!important;margin:0 0 5px!important;gap:5px!important;display:flex!important;flex-wrap:wrap!important}
  .ep-home-blog-section-configured .ep-home-blog-item:not(.no-image):not(.mobile-stacked) .ep-home-blog-excerpt{font-size:var(--ep-blog-mobile-excerpt-size,12px)!important;line-height:1.45!important;margin:0 0 7px!important;display:-webkit-box!important;-webkit-line-clamp:3!important;-webkit-box-orient:vertical!important;overflow:hidden!important}
  .ep-home-blog-section-configured .ep-home-blog-item:not(.no-image):not(.mobile-stacked) .ep-home-blog-readmore{padding:7px 9px!important;font-size:11px!important;line-height:1!important;margin-top:7px!important}
  .ep-home-blog-section-configured .ep-home-blog-item.mobile-stacked{display:grid!important;grid-template-columns:1fr!important}
  .ep-home-blog-section-configured .ep-home-blog-item.mobile-stacked .ep-home-blog-thumb{aspect-ratio:16/9!important;height:auto!important;min-height:0!important}
}
@media(max-width:390px){
  .ep-home-blog-section-configured .ep-home-blog-item:not(.no-image):not(.mobile-stacked){grid-template-columns:minmax(72px,88px) minmax(0,1fr)!important;gap:8px!important;padding:8px!important}
  .ep-home-blog-section-configured .ep-home-blog-item:not(.no-image):not(.mobile-stacked) .ep-home-blog-body h2{font-size:clamp(14px,var(--ep-blog-mobile-title-size,16px),18px)!important}
}

/* V6.9.197: align mobile article copy and make backend single-post controls orderly */
.ep-home-blog-section-configured .ep-home-blog-body{min-width:0;display:flex;flex-direction:column;align-items:flex-start}
.ep-home-blog-section-configured .ep-home-blog-readmore{align-self:flex-start}
@media(max-width:760px){
  .ep-home-blog-section-configured .ep-home-blog-item:not(.no-image):not(.mobile-stacked) .ep-home-blog-body{display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:flex-start!important;min-height:100%!important}
  .ep-home-blog-section-configured .ep-home-blog-item:not(.no-image):not(.mobile-stacked) .ep-home-blog-readmore{margin-top:auto!important;align-self:flex-start!important}
}
.ep-single-style-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.ep-single-style-grid .ep-blog-settings-panel{min-width:0}
@media(max-width:820px){.ep-single-style-grid{grid-template-columns:1fr}}

.ep-single-post-page{background:var(--ep-single-page-bg,#f5f6f4)!important}
.ep-single-post-card-custom{background:var(--ep-single-card-bg,#fff)!important;border-radius:var(--ep-single-card-radius,16px)!important;box-shadow:0 3px calc(var(--ep-single-card-shadow,8) * 3px) rgba(15,23,42,.08)!important;padding:var(--ep-single-card-padding,48px)!important;overflow:hidden!important}
.ep-single-post-card-custom .ep-single-post-title{font-size:var(--ep-single-title-size,42px)!important;color:var(--ep-single-title-color,#0f172a)!important;font-weight:var(--ep-single-title-weight,800)!important;line-height:var(--ep-single-title-lh,1.15)!important;text-align:var(--ep-single-title-align,left)!important;letter-spacing:-.015em!important;margin:0 0 16px!important;overflow-wrap:anywhere!important}
.ep-single-post-card-custom .ep-single-post-meta{display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:var(--ep-single-meta-gap,10px)!important;font-size:var(--ep-single-meta-size,13px)!important;color:var(--ep-single-meta-color,#667085)!important;font-weight:var(--ep-single-meta-weight,600)!important;line-height:1.35!important;margin:0!important}
.ep-single-post-card-custom .ep-single-post-meta strong{color:var(--ep-single-meta-color,#667085)!important;font-weight:800!important}
.ep-single-post-card-custom .ep-single-post-content{max-width:var(--ep-single-content-width,920px)!important;margin:var(--ep-single-content-top,26px) auto 0!important;color:var(--ep-single-content-color,#1f2937)!important;font:400 var(--ep-single-content-size,19px)/var(--ep-single-content-lh,1.85) var(--ep-single-content-font,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif)!important;text-align:var(--ep-single-content-align,left)!important;overflow-wrap:anywhere!important;word-break:normal!important}
.ep-single-post-card-custom .ep-single-post-content p{margin:0 0 1em!important}
.ep-single-post-card-custom .ep-single-post-content img,.ep-single-post-card-custom .ep-single-post-content video,.ep-single-post-card-custom .ep-single-post-content iframe{max-width:100%!important;height:auto!important}
.ep-single-post-card-custom .ep-single-post-content table{display:block!important;width:100%!important;max-width:100%!important;overflow-x:auto!important}
.ep-single-post-card-custom .ep-single-post-content h2,.ep-single-post-card-custom .ep-single-post-content h3,.ep-single-post-card-custom .ep-single-post-content h4{line-height:1.25!important;overflow-wrap:anywhere!important}
@media(max-width:760px){
  .ep-single-post-card-custom{padding:var(--ep-single-mobile-padding,18px)!important;border-radius:14px!important}
  .ep-single-post-card-custom .ep-single-post-title{font-size:clamp(28px,8vw,var(--ep-single-title-size,42px))!important;line-height:1.14!important;letter-spacing:-.01em!important;margin-bottom:14px!important}
  .ep-single-post-card-custom .ep-single-post-meta{gap:7px!important;font-size:clamp(10px,3.1vw,var(--ep-single-meta-size,13px))!important}
  .ep-single-post-card-custom .ep-single-post-content{max-width:100%!important;margin-top:clamp(18px,var(--ep-single-content-top,26px),32px)!important;font-size:clamp(16px,4.8vw,var(--ep-single-content-size,19px))!important;line-height:var(--ep-single-content-lh,1.85)!important}
}


/* V6.9.198: cleaned Latest Article backend settings UI */
.ep-blog-sections-builder{border:1px solid #d9e1e6;border-radius:16px;background:#f7f9fa;padding:18px;box-shadow:0 1px 2px rgba(15,23,42,.04)}
.ep-blog-sections-head{display:grid;grid-template-columns:minmax(0,1fr);gap:5px;margin-bottom:14px;padding:0 2px}
.ep-blog-sections-head strong{font-size:16px;line-height:1.25;color:#101828}
.ep-blog-sections-head span{font-size:12px;line-height:1.5;color:#667085;max-width:980px}
.ep-blog-section-list{display:flex;flex-direction:column;gap:12px}
.ep-blog-section-row{border:1px solid #dbe3e8;border-radius:14px;background:#fff;overflow:hidden;box-shadow:0 1px 2px rgba(15,23,42,.03)}
.ep-blog-section-summary{display:grid;grid-template-columns:38px minmax(240px,1fr) auto auto;align-items:center;gap:12px;padding:12px 14px;background:#fff}
.ep-blog-section-summary-copy{min-width:0}
.ep-blog-section-summary-copy>strong{display:block;font-size:14px;line-height:1.25;color:#101828;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ep-blog-section-summary-badges{display:flex;flex-wrap:wrap;gap:6px;margin-top:5px}
.ep-blog-summary-badge{display:inline-flex;align-items:center;min-height:22px;padding:2px 8px;border:1px solid #e3e9ee;border-radius:999px;background:#f8fafb;color:#52606d;font-size:10px;line-height:1.3}
.ep-blog-section-actions{display:flex;align-items:center;justify-content:flex-end;gap:6px;flex-wrap:wrap}
.ep-blog-section-actions .button{border-radius:8px;min-height:32px;padding:0 10px}
.ep-blog-section-enabled{display:inline-flex;align-items:center;gap:6px;white-space:nowrap;font-size:11px;color:#344054}
.ep-blog-section-enabled input{margin:0}
.ep-blog-section-fields{display:none;padding:14px;border-top:1px solid #e5eaee;background:#f7f9fb}
.ep-blog-section-row.is-open .ep-blog-section-fields{display:block}
.ep-blog-settings-grid-clean{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:12px}
.ep-blog-settings-grid-clean .ep-blog-settings-panel{min-width:0;grid-column:span 6}
.ep-blog-settings-grid-clean .ep-blog-panel-content,.ep-blog-settings-grid-clean .ep-blog-panel-posts,.ep-blog-settings-grid-clean .ep-blog-panel-elements{grid-column:span 4}
.ep-blog-settings-panel{border:1px solid #dfe6eb;border-radius:12px;background:#fff;overflow:hidden;box-shadow:0 1px 2px rgba(15,23,42,.025)}
.ep-blog-panel-head{display:flex;align-items:flex-start;gap:10px;padding:11px 12px;border-bottom:1px solid #edf1f4;background:#fbfcfd}
.ep-blog-panel-icon{width:28px;height:28px;min-width:28px;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;background:#eef7f1;border:1px solid #d4eadd;color:#176b3a;font-size:10px;font-weight:800}
.ep-blog-panel-head strong{font-size:12px;line-height:1.2;color:#172033}
.ep-blog-panel-head small{font-size:10px;line-height:1.35;color:#667085}
.ep-blog-panel-fields{display:grid !important;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:12px}
.ep-blog-panel-fields label{display:flex !important;flex-direction:column !important;align-items:stretch !important;gap:5px;min-width:0;font-size:11px;color:#344054}
.ep-blog-panel-fields label.full{grid-column:1/-1}
.ep-blog-panel-fields label span{display:block;font-weight:600;line-height:1.2;color:#344054}
.ep-blog-panel-fields input,.ep-blog-panel-fields select{width:100% !important;min-width:0}
.ep-blog-panel-fields input[type=color]{height:34px;padding:3px}
.ep-blog-panel-checks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;padding:12px 12px 8px}
.ep-blog-panel-checks label{display:flex;align-items:center;gap:7px;min-height:34px;padding:7px 9px;border:1px solid #e2e7ec;border-radius:8px;background:#fbfcfd;font-size:11px;color:#344054}
.ep-blog-panel-checks input{margin:0}
.ep-blog-panel-note{margin:0 12px 12px;padding:8px 10px;border-left:3px solid #c9a227;background:#fffaf0;color:#667085;font-size:10px;line-height:1.45;border-radius:0 7px 7px 0}
.ep-blog-section-add{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px;padding:0 2px}
.ep-blog-section-add .button{min-height:36px;border-radius:9px}
.ep-blog-section-add span{font-size:11px;line-height:1.45;color:#667085;max-width:760px}
@media(max-width:1100px){
  .ep-blog-section-summary{grid-template-columns:36px minmax(0,1fr)}
  .ep-blog-section-enabled{grid-column:2;justify-self:start}
  .ep-blog-section-actions{grid-column:2;justify-content:flex-start}
  .ep-blog-settings-grid-clean .ep-blog-settings-panel,.ep-blog-settings-grid-clean .ep-blog-panel-content,.ep-blog-settings-grid-clean .ep-blog-panel-posts,.ep-blog-settings-grid-clean .ep-blog-panel-elements{grid-column:span 6}
}
@media(max-width:760px){
  .ep-blog-sections-builder{padding:12px}
  .ep-blog-settings-grid-clean{grid-template-columns:1fr}
  .ep-blog-settings-grid-clean .ep-blog-settings-panel,.ep-blog-settings-grid-clean .ep-blog-panel-content,.ep-blog-settings-grid-clean .ep-blog-panel-posts,.ep-blog-settings-grid-clean .ep-blog-panel-elements{grid-column:1}
  .ep-blog-panel-fields{grid-template-columns:1fr !important}
  .ep-blog-panel-fields label.full{grid-column:1}
  .ep-blog-panel-checks{grid-template-columns:1fr}
  .ep-blog-section-add{align-items:flex-start;flex-direction:column}
}
@media(max-width:480px){
  .ep-blog-section-actions .button{width:auto}
  .ep-blog-section-summary{gap:9px;padding:10px}
  .ep-blog-section-actions{width:100%}
}

/* V6.9.200: modular blog section variants */
.ep-home-blog-heading-main{display:flex;align-items:center;flex-wrap:wrap;gap:8px;min-width:0}.ep-home-blog-heading-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.ep-home-blog-badge{display:inline-flex;align-items:center;padding:4px 8px;border-radius:999px;background:#111827;color:#fff;font-size:10px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}.ep-home-blog-count{font-size:12px;color:#667085;white-space:nowrap}.ep-home-blog-view-more{color:#0f5d2e;font-weight:800;font-size:13px}.ep-home-blog-footer{display:flex;justify-content:flex-end;padding-top:10px}

/* Style A: Classic Compact Media List */
.ep-home-blog-style_a .ep-home-blog-list{display:flex;flex-direction:column;gap:0}.ep-home-blog-style_a .ep-home-blog-item{display:grid!important;grid-template-columns:minmax(160px,28%) minmax(0,1fr)!important;align-items:start!important;padding:16px 0!important;border:0!important;border-bottom:1px solid #e5e7eb!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;gap:18px!important}.ep-home-blog-style_a .ep-home-blog-item:first-child{padding-top:4px!important}.ep-home-blog-style_a .ep-home-blog-item:last-child{border-bottom:0!important}.ep-home-blog-style_a .ep-home-blog-body{min-width:0!important}.ep-home-blog-style_a .ep-home-blog-thumb{width:100%!important;aspect-ratio:16/9!important;height:auto!important;min-height:0!important;overflow:hidden!important;border-radius:10px!important;background:#eef2ef!important}.ep-home-blog-style_a .ep-home-blog-thumb img,.ep-home-blog-style_a .ep-home-blog-thumb-placeholder{width:100%!important;height:100%!important;object-fit:cover!important}.ep-home-blog-style_a .ep-home-blog-body h2{margin:4px 0 8px!important;font-family:var(--ep-blog-title-font,-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,sans-serif)!important;font-size:var(--ep-blog-title-size,28px)!important;font-weight:var(--ep-blog-title-weight,800)!important}.ep-home-blog-style_a .ep-home-blog-readmore{margin-top:10px!important}

/* Style B: Lead + Secondary Stack */
.ep-home-blog-style_b .ep-home-blog-list{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(260px,.8fr);gap:18px}.ep-home-blog-style_b .ep-home-blog-item{background:transparent!important;border:0!important;padding:0!important;box-shadow:none!important}.ep-home-blog-style_b .ep-home-blog-lead{background:var(--ep-blog-card-bg,#fff);border:1px solid #e5e7eb;border-radius:var(--ep-blog-card-radius,14px);overflow:hidden;box-shadow:0 3px 18px rgba(15,23,42,.06)}.ep-home-blog-style_b .ep-home-blog-lead-thumb{display:block;width:100%;aspect-ratio:16/9;overflow:hidden;background:#eef2ef}.ep-home-blog-style_b .ep-home-blog-lead-thumb img,.ep-home-blog-style_b .ep-home-blog-lead-thumb .ep-home-blog-thumb-placeholder{width:100%;height:100%;object-fit:cover}.ep-home-blog-style_b .ep-home-blog-lead-body{padding:18px}.ep-home-blog-style_b .ep-home-blog-lead-body h2{font-family:var(--ep-blog-title-font,-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,sans-serif)!important;font-size:var(--ep-blog-title-size,28px)!important;color:var(--ep-blog-title-color,#0f172a)!important;font-weight:var(--ep-blog-title-weight,800)!important;line-height:1.2!important;margin:6px 0 10px!important}.ep-home-blog-style_b .ep-home-blog-stack-item{display:grid;grid-template-columns:92px minmax(0,1fr);gap:10px;padding:0 0 12px;margin-bottom:12px;border-bottom:1px dashed #dce3e7}.ep-home-blog-style_b .ep-home-blog-stack-thumb{display:block;width:92px;aspect-ratio:4/3;overflow:hidden;border-radius:8px;background:#eef2ef}.ep-home-blog-style_b .ep-home-blog-stack-thumb img,.ep-home-blog-style_b .ep-home-blog-stack-thumb .ep-home-blog-thumb-placeholder{width:100%;height:100%;object-fit:cover}.ep-home-blog-style_b .ep-home-blog-stack-body h3{font-family:var(--ep-blog-title-font,-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,sans-serif)!important;font-size:clamp(14px,var(--ep-blog-title-size,16px),24px)!important;line-height:1.3;margin:3px 0 5px;font-weight:var(--ep-blog-title-weight,800)!important}.ep-home-blog-style_b .ep-home-blog-stack-body .ep-home-blog-readmore{font-size:11px;font-weight:800;color:#0f5d2e}.ep-home-blog-style_b .ep-home-blog-list>.ep-home-blog-item:first-child{grid-column:1}.ep-home-blog-style_b .ep-home-blog-list>.ep-home-blog-item:nth-child(n+2){grid-column:2}

/* Style C: Text-only ticker/list */
.ep-home-blog-style_c .ep-home-blog-list{display:flex;flex-direction:column;gap:0}.ep-home-blog-style_c .ep-home-blog-item{padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important}.ep-home-blog-style_c .ep-home-blog-ticker{display:grid;grid-template-columns:10px minmax(0,1fr) auto;gap:10px;align-items:center;padding:13px 2px;border-bottom:1px solid #e5e7eb}.ep-home-blog-style_c .ep-home-blog-ticker-marker{width:6px;height:6px;border-radius:50%;background:#c9a227;box-shadow:0 0 0 3px rgba(201,162,39,.12)}.ep-home-blog-style_c .ep-home-blog-ticker-main strong{display:block;font-family:var(--ep-blog-title-font,-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,sans-serif)!important;font-size:var(--ep-blog-title-size,18px);line-height:1.35;color:var(--ep-blog-title-color,#0f172a);font-weight:var(--ep-blog-title-weight,800)}.ep-home-blog-style_c .ep-home-blog-meta{margin-bottom:3px}.ep-home-blog-style_c .ep-home-blog-ticker-arrow{font-size:26px;color:#94a3b8}.ep-home-blog-style_c .ep-home-blog-footer{padding-top:4px}

/* Style D: Magazine Bar */
.ep-home-blog-style_d .ep-home-blog-list{display:flex;flex-direction:column}.ep-home-blog-style_d .ep-home-blog-item{display:grid!important;grid-template-columns:minmax(170px,24%) minmax(0,1fr)!important;gap:16px!important;align-items:center!important;padding:14px 0!important;background:transparent!important;border:0!important;border-bottom:1px dotted #cfd8dc!important;border-radius:0!important;box-shadow:none!important}.ep-home-blog-style_d .ep-home-blog-item:last-child{border-bottom:0!important}.ep-home-blog-style_d .ep-home-blog-thumb{width:100%!important;aspect-ratio:4/3!important;overflow:hidden!important;border-radius:8px!important;border-left:4px solid #c9a227!important;background:#eef2ef!important}.ep-home-blog-style_d .ep-home-blog-thumb img,.ep-home-blog-style_d .ep-home-blog-thumb-placeholder{width:100%!important;height:100%!important;object-fit:cover!important}.ep-home-blog-style_d .ep-home-blog-body h2{margin:4px 0 7px!important;font-family:var(--ep-blog-title-font,-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,sans-serif)!important;font-size:var(--ep-blog-title-size,20px)!important;line-height:1.3!important;text-transform:none;font-weight:var(--ep-blog-title-weight,800)!important}.ep-home-blog-style_d .ep-home-blog-meta{font-weight:700}.ep-home-blog-style_d .ep-home-blog-excerpt{margin-top:4px}

@media(max-width:900px){.ep-home-blog-style_b .ep-home-blog-list{grid-template-columns:1fr}.ep-home-blog-style_b .ep-home-blog-list>.ep-home-blog-item:first-child,.ep-home-blog-style_b .ep-home-blog-list>.ep-home-blog-item:nth-child(n+2){grid-column:auto}.ep-home-blog-style_b .ep-home-blog-stack-item{grid-template-columns:110px minmax(0,1fr)}.ep-home-blog-style_b .ep-home-blog-stack-thumb{width:110px}.ep-home-blog-style_a .ep-home-blog-item,.ep-home-blog-style_d .ep-home-blog-item{grid-template-columns:130px minmax(0,1fr)!important}}
@media(max-width:760px){.ep-home-blog-heading{align-items:flex-start!important;gap:6px!important}.ep-home-blog-heading-main{gap:5px}.ep-home-blog-heading-actions{margin-left:auto}.ep-home-blog-count{font-size:10px}.ep-home-blog-style_a .ep-home-blog-item,.ep-home-blog-style_d .ep-home-blog-item{grid-template-columns:minmax(82px,var(--ep-blog-mobile-thumb-width,104px)) minmax(0,1fr)!important;gap:10px!important;padding:11px 0!important}.ep-home-blog-style_a .ep-home-blog-body h2{font-size:clamp(14px,var(--ep-blog-mobile-title-size,16px),18px)!important;line-height:1.28!important}.ep-home-blog-style_d .ep-home-blog-body h2{font-size:clamp(14px,var(--ep-blog-mobile-title-size,16px),19px)!important;line-height:1.28!important}.ep-home-blog-style_a .ep-home-blog-thumb,.ep-home-blog-style_d .ep-home-blog-thumb{aspect-ratio:4/3!important}.ep-home-blog-style_a .ep-home-blog-excerpt,.ep-home-blog-style_d .ep-home-blog-excerpt{font-size:var(--ep-blog-mobile-excerpt-size,12px)!important;line-height:1.45!important}.ep-home-blog-style_a .ep-home-blog-meta,.ep-home-blog-style_d .ep-home-blog-meta{font-size:var(--ep-blog-mobile-meta-size,10px)!important;line-height:1.3!important}.ep-home-blog-style_a .ep-home-blog-readmore{font-size:10px!important;padding:7px 9px!important}.ep-home-blog-style_b .ep-home-blog-lead-body{padding:13px}.ep-home-blog-style_b .ep-home-blog-lead-body h2{font-size:clamp(20px,6vw,var(--ep-blog-title-size,28px))!important}.ep-home-blog-style_b .ep-home-blog-stack-item{grid-template-columns:minmax(82px,104px) minmax(0,1fr);gap:9px}.ep-home-blog-style_b .ep-home-blog-stack-thumb{width:100%;aspect-ratio:4/3}.ep-home-blog-style_b .ep-home-blog-stack-body h3{font-family:var(--ep-blog-title-font,-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,sans-serif)!important;font-size:clamp(13px,var(--ep-blog-mobile-title-size,16px),20px)!important}.ep-home-blog-style_c .ep-home-blog-ticker{grid-template-columns:8px minmax(0,1fr) auto;gap:8px;padding:10px 0}.ep-home-blog-style_c .ep-home-blog-ticker-main strong{font-family:var(--ep-blog-title-font,-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,sans-serif)!important;font-size:clamp(14px,var(--ep-blog-mobile-title-size,16px),20px)!important;line-height:1.35}.ep-home-blog-style_c .ep-home-blog-ticker-arrow{font-size:22px}.ep-home-blog-footer{justify-content:flex-start}.ep-home-blog-badge{font-size:9px}.ep-home-blog-heading .ep-red-tab.secondary{font-size:14px!important}}


/* V6.9.203: Homepage Builder sections render side-by-side on desktop and stack on mobile. */
.ep-home-landing-page #ep-home-blog-top.ep-home-blog-sections{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:24px!important;
  align-items:start!important;
  width:100%!important;
  min-width:0!important;
  margin-top:26px!important;
}
.ep-home-landing-page #ep-home-blog-top.ep-home-blog-sections > .ep-home-blog-section{
  width:100%!important;
  min-width:0!important;
  margin:0!important;
  box-sizing:border-box!important;
}
.ep-home-blog-section-configured .ep-home-blog-item,
.ep-home-blog-section-configured .ep-home-blog-body,
.ep-home-blog-section-configured .ep-home-blog-thumb{
  min-width:0!important;
  max-width:100%!important;
}
.ep-home-blog-empty{
  padding:18px 16px;
  border:1px dashed #d6dde5;
  border-radius:10px;
  color:#667085;
  background:#fafbfc;
  font-size:13px;
  line-height:1.55;
}
@media(max-width:1080px){
  .ep-home-landing-page #ep-home-blog-top.ep-home-blog-sections{gap:18px!important}
}
@media(max-width:820px){
  .ep-home-landing-page #ep-home-blog-top.ep-home-blog-sections{
    grid-template-columns:1fr!important;
    gap:16px!important;
    margin-top:20px!important;
  }
  .ep-home-landing-page #ep-home-blog-top.ep-home-blog-sections > .ep-home-blog-section{margin:0!important}
}


/* V6.9.205: newspaper-style blog section grid. Blog-only changes. */
.ep-home-landing-page #ep-home-blog-top.ep-home-blog-sections.ep-home-blog-columns-1{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:24px!important;align-items:start!important;width:100%!important;min-width:0!important;margin-top:26px!important}
.ep-home-landing-page #ep-home-blog-top.ep-home-blog-sections.ep-home-blog-columns-2{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:24px!important;align-items:start!important;width:100%!important;min-width:0!important;margin-top:26px!important}
.ep-home-landing-page #ep-home-blog-top.ep-home-blog-sections.ep-home-blog-columns-3{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:26px!important;align-items:start!important;width:100%!important;min-width:0!important;margin-top:26px!important}
.ep-home-landing-page #ep-home-blog-top.ep-home-blog-sections > .ep-home-blog-section{width:100%!important;min-width:0!important;margin:0!important;box-sizing:border-box!important}
.ep-home-landing-page #ep-home-blog-top.ep-home-blog-columns-3 > .ep-home-blog-section{border:0!important;border-radius:0!important;box-shadow:none!important;background:var(--ep-blog-section-bg,#fff)!important;padding:0 0 4px!important;overflow:visible!important}
.ep-home-blog-columns-3 .ep-home-blog-heading{display:flex!important;align-items:flex-end!important;gap:10px!important;padding:0 0 8px!important;margin:0 0 10px!important;border-bottom:1px solid #e5e7eb!important}
.ep-home-blog-columns-3 .ep-home-blog-heading-main{display:flex!important;align-items:center!important;gap:8px!important;min-width:0!important;flex:1 1 auto!important}
.ep-home-blog-columns-3 .ep-home-blog-heading-main .ep-red-tab.secondary{position:relative!important;background:transparent!important;color:#3d4542!important;padding:0!important;border-radius:0!important;font-size:clamp(18px,1.55vw,25px)!important;font-weight:600!important;line-height:1.2!important;white-space:nowrap!important}
.ep-home-blog-columns-3 .ep-home-blog-heading-main .ep-red-tab.secondary:before{content:"";display:inline-block;width:12px;height:12px;margin:0 8px 1px 0;background:#d89a27;vertical-align:middle}
.ep-home-blog-columns-3 .ep-home-blog-heading-main .ep-section-subtitle{font-size:12px!important;color:#7a8480!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.ep-home-blog-columns-3 .ep-home-blog-heading-actions{display:flex!important;align-items:center!important;gap:8px!important;flex:0 0 auto!important}
.ep-home-blog-columns-3 .ep-home-blog-count{font-size:11px!important;color:#7a8480!important}
/* Style B becomes the reference newspaper layout: lead on top, compact stack below. */
.ep-home-blog-columns-3 .ep-home-blog-style_b .ep-home-blog-list{display:flex!important;flex-direction:column!important;gap:14px!important}
.ep-home-blog-columns-3 .ep-home-blog-style_b .ep-home-blog-item{display:block!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0!important}
.ep-home-blog-columns-3 .ep-home-blog-style_b .ep-home-blog-lead{background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;overflow:visible!important}
.ep-home-blog-columns-3 .ep-home-blog-style_b .ep-home-blog-lead-thumb{display:block!important;width:100%!important;aspect-ratio:16/9!important;border-radius:0!important;overflow:hidden!important;background:#eef2ef!important}
.ep-home-blog-columns-3 .ep-home-blog-style_b .ep-home-blog-lead-thumb img,.ep-home-blog-columns-3 .ep-home-blog-style_b .ep-home-blog-lead-thumb .ep-home-blog-thumb-placeholder{width:100%!important;height:100%!important;object-fit:cover!important}
.ep-home-blog-columns-3 .ep-home-blog-style_b .ep-home-blog-lead-body{padding:10px 0 2px!important}
.ep-home-blog-columns-3 .ep-home-blog-style_b .ep-home-blog-lead-body h2{font-size:clamp(18px,1.5vw,23px)!important;line-height:1.3!important;margin:4px 0 8px!important}
.ep-home-blog-columns-3 .ep-home-blog-style_b .ep-home-blog-lead-body .ep-home-blog-excerpt{font-size:13px!important;line-height:1.55!important;margin:0!important}
.ep-home-blog-columns-3 .ep-home-blog-style_b .ep-home-blog-stack-item{display:grid!important;grid-template-columns:82px minmax(0,1fr)!important;gap:10px!important;padding:0 0 12px!important;margin:0!important;border-bottom:1px dashed #d5dde1!important;align-items:start!important}
.ep-home-blog-columns-3 .ep-home-blog-style_b .ep-home-blog-stack-item:last-child{border-bottom:0!important;padding-bottom:0!important}
.ep-home-blog-columns-3 .ep-home-blog-style_b .ep-home-blog-stack-thumb{width:82px!important;aspect-ratio:4/3!important;border-radius:0!important;overflow:hidden!important}
.ep-home-blog-columns-3 .ep-home-blog-style_b .ep-home-blog-stack-thumb img,.ep-home-blog-columns-3 .ep-home-blog-style_b .ep-home-blog-stack-thumb .ep-home-blog-thumb-placeholder{width:100%!important;height:100%!important;object-fit:cover!important}
.ep-home-blog-columns-3 .ep-home-blog-style_b .ep-home-blog-stack-body h3{font-size:15px!important;line-height:1.32!important;margin:0!important;font-weight:700!important}
.ep-home-blog-columns-3 .ep-home-blog-style_b .ep-home-blog-stack-body .ep-home-blog-meta{font-size:10px!important;line-height:1.3!important;margin:0 0 3px!important}
.ep-home-blog-columns-3 .ep-home-blog-style_b .ep-home-blog-style_b .ep-home-blog-readmore{font-size:10px!important}
.ep-home-blog-columns-3 .ep-home-blog-footer{justify-content:flex-end!important;padding-top:8px!important}
@media(max-width:1100px){
  .ep-home-landing-page #ep-home-blog-top.ep-home-blog-sections.ep-home-blog-columns-3{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:20px!important}
}
@media(max-width:820px){
  .ep-home-landing-page #ep-home-blog-top.ep-home-blog-sections.ep-home-blog-columns-1,
  .ep-home-landing-page #ep-home-blog-top.ep-home-blog-sections.ep-home-blog-columns-2,
  .ep-home-landing-page #ep-home-blog-top.ep-home-blog-sections.ep-home-blog-columns-3{grid-template-columns:1fr!important;gap:18px!important;margin-top:20px!important}
  .ep-home-landing-page #ep-home-blog-top.ep-home-blog-sections > .ep-home-blog-section{margin:0!important}
  .ep-home-landing-page #ep-home-blog-top.ep-home-blog-columns-3 > .ep-home-blog-section{padding:0!important}
  .ep-home-blog-columns-3 .ep-home-blog-heading{margin-bottom:10px!important;padding-bottom:6px!important}
}
.ep-hpb-global-layout{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 0 14px;padding:14px 16px;border:1px solid #dce4ea;border-radius:12px;background:#fff;box-shadow:0 1px 2px rgba(15,23,42,.03)}
.ep-hpb-global-layout>div{display:flex;flex-direction:column;gap:3px;min-width:0}.ep-hpb-global-layout strong{font-size:13px;color:#172033}.ep-hpb-global-layout div span{font-size:11px;line-height:1.45;color:#667085;max-width:900px}.ep-hpb-global-layout label{display:flex;align-items:center;gap:8px;white-space:nowrap;font-size:11px;color:#344054}.ep-hpb-global-layout select{min-width:210px;max-width:100%;border:1px solid #d4dce2;border-radius:8px;padding:7px 9px;background:#fff}
@media(max-width:760px){.ep-hpb-global-layout{align-items:flex-start;flex-direction:column}.ep-hpb-global-layout label,.ep-hpb-global-layout select{width:100%}.ep-hpb-global-layout select{min-width:0}}

/* V6.9.205: final responsive normalization for all homepage blog section styles. */
#ep-home-blog-top.ep-home-blog-sections,
#ep-home-blog-top.ep-home-blog-sections > .ep-home-blog-section,
#ep-home-blog-top.ep-home-blog-sections .ep-home-blog-list,
#ep-home-blog-top.ep-home-blog-sections .ep-home-blog-item,
#ep-home-blog-top.ep-home-blog-sections .ep-home-blog-body,
#ep-home-blog-top.ep-home-blog-sections .ep-home-blog-lead,
#ep-home-blog-top.ep-home-blog-sections .ep-home-blog-lead-body,
#ep-home-blog-top.ep-home-blog-sections .ep-home-blog-stack-body,
#ep-home-blog-top.ep-home-blog-sections .ep-home-blog-ticker-main{min-width:0!important;max-width:100%!important;box-sizing:border-box!important}
#ep-home-blog-top.ep-home-blog-sections a{overflow-wrap:anywhere!important;word-break:normal!important}
#ep-home-blog-top.ep-home-blog-sections img{display:block!important;max-width:100%!important;height:auto!important}

/* Style A: image + text, with a true one-column fallback when the image is hidden. */
#ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_a .ep-home-blog-item{grid-template-columns:minmax(96px,30%) minmax(0,1fr)!important;align-items:start!important}
#ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_a .ep-home-blog-item.no-image{grid-template-columns:minmax(0,1fr)!important}
#ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_a .ep-home-blog-thumb{max-width:100%!important;align-self:start!important}

/* Style B: lead + compact stack. Never reserve image space when an image is disabled. */
#ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_b .ep-home-blog-list{min-width:0!important}
#ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_b .ep-home-blog-stack-item{min-width:0!important;grid-template-columns:92px minmax(0,1fr)!important;align-items:start!important}
#ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_b .ep-home-blog-stack-item.no-image{grid-template-columns:minmax(0,1fr)!important}
#ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_b .ep-home-blog-stack-body h3,
#ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_b .ep-home-blog-lead-body h2{overflow-wrap:anywhere!important;word-break:normal!important}

/* Style C: dense text list that always wraps inside the available width. */
#ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_c .ep-home-blog-ticker{min-width:0!important}
#ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_c .ep-home-blog-ticker-main strong{display:block!important;overflow-wrap:anywhere!important}
#ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_c .ep-home-blog-ticker-arrow{flex:0 0 auto!important}

/* Style D: magazine row; remove the reserved thumbnail track when no thumbnail is displayed. */
#ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_d .ep-home-blog-item{grid-template-columns:minmax(110px,28%) minmax(0,1fr)!important;align-items:start!important}
#ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_d .ep-home-blog-item.no-image{grid-template-columns:minmax(0,1fr)!important}
#ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_d .ep-home-blog-body h2{overflow-wrap:anywhere!important}

@media (max-width:1100px){
  #ep-home-blog-top.ep-home-blog-sections.ep-home-blog-columns-3{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:20px!important}
  #ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_b .ep-home-blog-list{grid-template-columns:1fr!important}
  #ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_b .ep-home-blog-list>.ep-home-blog-item:first-child,
  #ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_b .ep-home-blog-list>.ep-home-blog-item:nth-child(n+2){grid-column:auto!important}
}

@media (max-width:820px){
  #ep-home-blog-top.ep-home-blog-sections,
  #ep-home-blog-top.ep-home-blog-sections.ep-home-blog-columns-1,
  #ep-home-blog-top.ep-home-blog-sections.ep-home-blog-columns-2,
  #ep-home-blog-top.ep-home-blog-sections.ep-home-blog-columns-3{
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    gap:18px!important;
    width:100%!important;
    margin-top:18px!important;
    padding:0!important;
  }
  #ep-home-blog-top.ep-home-blog-sections > .ep-home-blog-section{width:100%!important;min-width:0!important;overflow:hidden!important}
  #ep-home-blog-top.ep-home-blog-sections .ep-home-blog-heading{display:flex!important;align-items:flex-start!important;gap:8px!important;max-width:100%!important}
  #ep-home-blog-top.ep-home-blog-sections .ep-home-blog-heading-main{min-width:0!important;flex:1 1 auto!important;max-width:100%!important;display:flex!important;align-items:flex-start!important;flex-wrap:wrap!important}
  #ep-home-blog-top.ep-home-blog-sections .ep-home-blog-heading-main .ep-red-tab.secondary{white-space:normal!important;overflow-wrap:anywhere!important;line-height:1.25!important}
  #ep-home-blog-top.ep-home-blog-sections .ep-home-blog-heading-actions{flex:0 0 auto!important;min-width:0!important}
  #ep-home-blog-top.ep-home-blog-sections .ep-home-blog-count{white-space:nowrap!important}

  /* A */
  #ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_a .ep-home-blog-item{grid-template-columns:minmax(92px,var(--ep-blog-mobile-thumb-width,104px)) minmax(0,1fr)!important;gap:10px!important;padding:12px 0!important}
  #ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_a .ep-home-blog-item.no-image{grid-template-columns:minmax(0,1fr)!important}
  #ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_a .ep-home-blog-thumb{width:100%!important;aspect-ratio:16/9!important}

  /* B */
  #ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_b .ep-home-blog-list{display:flex!important;flex-direction:column!important;gap:14px!important}
  #ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_b .ep-home-blog-list>.ep-home-blog-item:first-child,
  #ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_b .ep-home-blog-list>.ep-home-blog-item:nth-child(n+2){grid-column:auto!important}
  #ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_b .ep-home-blog-lead{width:100%!important}
  #ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_b .ep-home-blog-lead-thumb{width:100%!important;aspect-ratio:16/9!important}
  #ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_b .ep-home-blog-lead-body{width:100%!important;padding:12px 0!important}
  #ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_b .ep-home-blog-stack-item{width:100%!important;grid-template-columns:minmax(82px,104px) minmax(0,1fr)!important;gap:10px!important}
  #ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_b .ep-home-blog-stack-item.no-image{grid-template-columns:minmax(0,1fr)!important}
  #ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_b .ep-home-blog-stack-thumb{width:100%!important;aspect-ratio:4/3!important}

  /* C */
  #ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_c .ep-home-blog-ticker{grid-template-columns:7px minmax(0,1fr) auto!important;gap:8px!important;padding:10px 0!important}
  #ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_c .ep-home-blog-ticker-main{width:100%!important}
  #ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_c .ep-home-blog-ticker-main strong{font-size:clamp(14px,var(--ep-blog-mobile-title-size,16px),20px)!important;line-height:1.38!important}

  /* D */
  #ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_d .ep-home-blog-item{grid-template-columns:minmax(92px,var(--ep-blog-mobile-thumb-width,104px)) minmax(0,1fr)!important;gap:10px!important;padding:12px 0!important}
  #ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_d .ep-home-blog-item.no-image{grid-template-columns:minmax(0,1fr)!important}
  #ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_d .ep-home-blog-thumb{width:100%!important;aspect-ratio:4/3!important}
  #ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_d .ep-home-blog-body h2{font-size:clamp(14px,var(--ep-blog-mobile-title-size,16px),20px)!important;line-height:1.35!important}

  #ep-home-blog-top.ep-home-blog-sections .ep-home-blog-excerpt{overflow-wrap:anywhere!important}
  #ep-home-blog-top.ep-home-blog-sections .ep-home-blog-footer{justify-content:flex-start!important;padding-top:8px!important}
}

@media (max-width:480px){
  #ep-home-blog-top.ep-home-blog-sections .ep-home-blog-heading{gap:6px!important}
  #ep-home-blog-top.ep-home-blog-sections .ep-home-blog-heading-main .ep-red-tab.secondary{font-size:clamp(16px,5.2vw,21px)!important}
  #ep-home-blog-top.ep-home-blog-sections .ep-home-blog-heading-main .ep-section-subtitle{width:100%!important;white-space:normal!important;overflow:visible!important}
  #ep-home-blog-top.ep-home-blog-sections .ep-home-blog-heading-actions{margin-left:auto!important}
  #ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_a .ep-home-blog-item,
  #ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_d .ep-home-blog-item{grid-template-columns:minmax(82px,var(--ep-blog-mobile-thumb-width,96px)) minmax(0,1fr)!important;gap:9px!important}
  #ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_a .ep-home-blog-item.no-image,
  #ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_d .ep-home-blog-item.no-image{grid-template-columns:minmax(0,1fr)!important}
}

/* V6.9.205: Style B secondary items also collapse to one column when thumbnails are disabled. */
#ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_b .ep-home-blog-item.no-image .ep-home-blog-stack-item{grid-template-columns:minmax(0,1fr)!important}


/* V6.9.207: Style B mobile/tablet layout. Keep the lead story full-width so its
   thumbnail spans the section before the secondary stories begin. The outer
   article wrapper must not retain the legacy two-column card grid. */
@media (max-width: 820px){
  #ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_b .ep-home-blog-list{
    display:flex!important;
    flex-direction:column!important;
    width:100%!important;
    min-width:0!important;
    gap:16px!important;
  }
  #ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_b .ep-home-blog-list > .ep-home-blog-item{
    display:block!important;
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    grid-template-columns:1fr!important;
    padding:0!important;
    margin:0!important;
    background:transparent!important;
    border:0!important;
    box-shadow:none!important;
    overflow:visible!important;
  }
  #ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_b .ep-home-blog-list > .ep-home-blog-item:first-child{
    width:100%!important;
  }
  #ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_b .ep-home-blog-lead{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    overflow:hidden!important;
  }
  #ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_b .ep-home-blog-lead-thumb{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    aspect-ratio:16/9!important;
    height:auto!important;
    overflow:hidden!important;
  }
  #ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_b .ep-home-blog-lead-thumb img,
  #ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_b .ep-home-blog-lead-thumb .ep-home-blog-thumb-placeholder{
    display:block!important;
    width:100%!important;
    height:100%!important;
    min-height:0!important;
    object-fit:cover!important;
  }
  #ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_b .ep-home-blog-lead-body{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    padding:12px 0 4px!important;
    box-sizing:border-box!important;
  }
  #ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_b .ep-home-blog-lead-body h2{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    margin:5px 0 9px!important;
    font-size:clamp(20px,6vw,var(--ep-blog-title-size,28px))!important;
    line-height:1.3!important;
    overflow-wrap:anywhere!important;
  }
  #ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_b .ep-home-blog-lead-body .ep-home-blog-excerpt{
    width:100%!important;
    max-width:100%!important;
    font-size:var(--ep-blog-mobile-excerpt-size,12px)!important;
    line-height:1.5!important;
    overflow-wrap:anywhere!important;
  }
  #ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_b .ep-home-blog-stack-item{
    display:grid!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    grid-template-columns:minmax(82px,104px) minmax(0,1fr)!important;
    gap:10px!important;
    align-items:start!important;
    padding:0 0 12px!important;
    margin:0!important;
    border-bottom:1px dashed #d5dde1!important;
    box-sizing:border-box!important;
  }
  #ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_b .ep-home-blog-stack-item:last-child{
    border-bottom:0!important;
    padding-bottom:0!important;
  }
  #ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_b .ep-home-blog-stack-thumb{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    aspect-ratio:4/3!important;
    height:auto!important;
    overflow:hidden!important;
  }
  #ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_b .ep-home-blog-stack-thumb img,
  #ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_b .ep-home-blog-stack-thumb .ep-home-blog-thumb-placeholder{
    display:block!important;
    width:100%!important;
    height:100%!important;
    min-height:0!important;
    object-fit:cover!important;
  }
  #ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_b .ep-home-blog-stack-body{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
  }
  #ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_b .ep-home-blog-stack-body h3{
    width:100%!important;
    max-width:100%!important;
    font-size:clamp(13px,var(--ep-blog-mobile-title-size,16px),20px)!important;
    line-height:1.35!important;
    margin:2px 0 5px!important;
    overflow-wrap:anywhere!important;
  }
  #ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_b .ep-home-blog-stack-body .ep-home-blog-meta{
    font-size:var(--ep-blog-mobile-meta-size,10px)!important;
    line-height:1.3!important;
  }
}

@media (max-width: 480px){
  #ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_b .ep-home-blog-stack-item{
    grid-template-columns:88px minmax(0,1fr)!important;
    gap:9px!important;
  }
  #ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_b .ep-home-blog-lead-body{
    padding-top:10px!important;
  }
  #ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_b .ep-home-blog-lead-body h2{
    font-size:clamp(19px,6.2vw,var(--ep-blog-title-size,28px))!important;
  }
}


/* V6.9.208: Additional responsive blog section layout presets E-P. */
#ep-home-blog-top.ep-home-blog-sections .ep-home-blog-masonry-grid,
#ep-home-blog-top.ep-home-blog-sections .ep-home-blog-standard-grid,
#ep-home-blog-top.ep-home-blog-sections .ep-home-blog-bento-grid,
#ep-home-blog-top.ep-home-blog-sections .ep-home-blog-sidebar-layout,
#ep-home-blog-top.ep-home-blog-sections .ep-home-blog-split,
#ep-home-blog-top.ep-home-blog-sections .ep-home-blog-hero-grid,
#ep-home-blog-top.ep-home-blog-sections .ep-home-blog-tabs,
#ep-home-blog-top.ep-home-blog-sections .ep-home-blog-table-wrap,
#ep-home-blog-top.ep-home-blog-sections .ep-home-blog-timeline,
#ep-home-blog-top.ep-home-blog-sections .ep-home-blog-accordion{min-width:0;max-width:100%;box-sizing:border-box}

/* E Masonry */
.ep-home-blog-style_e .ep-home-blog-list{display:block!important}
.ep-home-blog-style_e .ep-home-blog-masonry-grid{column-count:2;column-gap:16px}
.ep-home-blog-style_e .ep-home-blog-masonry-card{display:inline-block;width:100%;margin:0 0 16px;break-inside:avoid;background:var(--ep-blog-card-bg,#fff);border:1px solid #e5e7eb;border-radius:var(--ep-blog-card-radius,14px);overflow:hidden;box-shadow:0 2px calc(var(--ep-blog-card-shadow,5px)*1px) rgba(15,23,42,.08)}
.ep-home-blog-style_e .ep-home-blog-body{padding:var(--ep-blog-card-padding,14px)}

/* F Carousel */
.ep-home-blog-style_f .ep-home-blog-list{display:block!important}
.ep-home-blog-style_f .ep-home-blog-carousel{overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scrollbar-width:none;padding-bottom:5px}
.ep-home-blog-style_f .ep-home-blog-carousel::-webkit-scrollbar{display:none}
.ep-home-blog-style_f .ep-home-blog-carousel-track{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(260px,32%);gap:16px;width:max-content;min-width:100%}
.ep-home-blog-style_f .ep-home-blog-carousel-card{width:100%;background:var(--ep-blog-card-bg,#fff);border:1px solid #e5e7eb;border-radius:var(--ep-blog-card-radius,14px);overflow:hidden;scroll-snap-align:start;box-shadow:0 2px 8px rgba(15,23,42,.07)}
.ep-home-blog-style_f .ep-home-blog-body{padding:var(--ep-blog-card-padding,14px)}

/* G Standard grid */
.ep-home-blog-style_g .ep-home-blog-list{display:block!important}
.ep-home-blog-style_g .ep-home-blog-standard-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.ep-home-blog-style_g .ep-home-blog-standard-card{min-width:0;background:var(--ep-blog-card-bg,#fff);border:1px solid #e5e7eb;border-radius:var(--ep-blog-card-radius,14px);overflow:hidden;box-shadow:0 2px 8px rgba(15,23,42,.06)}
.ep-home-blog-style_g .ep-home-blog-body{padding:var(--ep-blog-card-padding,14px)}

/* H Bento */
.ep-home-blog-style_h .ep-home-blog-list{display:block!important}
.ep-home-blog-style_h .ep-home-blog-bento-grid{display:grid;grid-template-columns:2fr 1fr 1fr;grid-template-rows:minmax(150px,1fr) minmax(150px,1fr);gap:12px}
.ep-home-blog-style_h .ep-home-blog-bento-card{position:relative;min-width:0;background:var(--ep-blog-card-bg,#fff);border:1px solid #e5e7eb;border-radius:var(--ep-blog-card-radius,14px);overflow:hidden;display:flex;flex-direction:column}
.ep-home-blog-style_h .ep-home-blog-bento-card.bento-0{grid-row:1 / span 2}
.ep-home-blog-style_h .ep-home-blog-bento-card.bento-0 .ep-home-blog-thumb{height:100%;min-height:300px}
.ep-home-blog-style_h .ep-home-blog-bento-card:not(.bento-0) .ep-home-blog-thumb{height:140px}
.ep-home-blog-style_h .ep-home-blog-body{padding:10px}

/* I List View */
.ep-home-blog-style_i .ep-home-blog-item{grid-template-columns:minmax(0,1fr)!important;display:grid!important;padding:12px 0!important;border-bottom:1px solid #e5e7eb!important;background:transparent!important;border-radius:0!important;box-shadow:none!important}
.ep-home-blog-style_i .ep-home-blog-body h2{margin:2px 0 6px}

/* J Table */
.ep-home-blog-style_j .ep-home-blog-list{display:block!important}
.ep-home-blog-data-table{width:100%;border-collapse:collapse;table-layout:fixed;background:var(--ep-blog-card-bg,#fff);border:1px solid #e5e7eb;border-radius:12px;overflow:hidden}
.ep-home-blog-data-table th,.ep-home-blog-data-table td{padding:10px 12px;border-bottom:1px solid #edf1f3;text-align:left;vertical-align:top}
.ep-home-blog-data-table th{font-size:11px;text-transform:uppercase;letter-spacing:.05em;color:#667085;background:#f8fafb}
.ep-home-blog-data-table td{font-size:13px}
.ep-home-blog-data-table th:nth-child(1),.ep-home-blog-data-table td:nth-child(1){width:110px}
.ep-home-blog-data-table th:nth-child(2),.ep-home-blog-data-table td:nth-child(2){width:130px}
.ep-home-blog-data-table th:nth-child(4),.ep-home-blog-data-table td:nth-child(4){width:55px;text-align:center}
.ep-home-blog-table-read{font-weight:800;color:var(--ep-primary,#0f5d2e)}

/* K Timeline */
.ep-home-blog-style_k .ep-home-blog-list{display:block!important}
.ep-home-blog-timeline{position:relative;padding:2px 0 2px 24px}
.ep-home-blog-timeline:before{content:"";position:absolute;left:7px;top:4px;bottom:4px;width:2px;background:#dfe4e7}
.ep-home-blog-timeline-item{position:relative;padding:0 0 18px;min-width:0}
.ep-home-blog-timeline-marker{position:absolute;left:-24px;top:5px;width:14px;height:14px;border-radius:50%;background:#c9a227;border:3px solid #fff;box-shadow:0 0 0 1px #d9e1e7}
.ep-home-blog-timeline-body h2{margin:5px 0 6px;font-family:var(--ep-blog-title-font)!important;font-size:var(--ep-blog-title-size,22px)!important;line-height:1.28;color:var(--ep-blog-title-color,#0f172a);font-weight:var(--ep-blog-title-weight,800)}

/* L Accordion */
.ep-home-blog-style_l .ep-home-blog-list{display:block!important}
.ep-home-blog-accordion{display:flex;flex-direction:column;gap:8px}
.ep-home-blog-accordion-item{border:1px solid #e5e7eb;border-radius:10px;background:var(--ep-blog-card-bg,#fff);overflow:hidden}
.ep-home-blog-accordion-item summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 14px;cursor:pointer;font-family:var(--ep-blog-title-font);font-size:var(--ep-blog-title-size,18px);font-weight:var(--ep-blog-title-weight,800);color:var(--ep-blog-title-color,#0f172a)}
.ep-home-blog-accordion-item summary::-webkit-details-marker{display:none}
.ep-home-blog-accordion-content{padding:0 14px 14px}

/* M Split */
.ep-home-blog-style_m .ep-home-blog-list,.ep-home-blog-style_o .ep-home-blog-list{display:block!important}
.ep-home-blog-split{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(0,1fr);gap:18px}
.ep-home-blog-split-main{min-width:0;border-right:1px solid #e5e7eb;padding-right:18px}
.ep-home-blog-split-main .ep-home-blog-body{padding-top:10px}
.ep-home-blog-split-side{min-width:0}
.ep-home-blog-split-side-item{display:grid;grid-template-columns:96px minmax(0,1fr);gap:10px;padding:0 0 12px;margin:0 0 12px;border-bottom:1px dotted #cfd8dc}
.ep-home-blog-split-side-item:last-child{margin-bottom:0}
.ep-home-blog-split-side-thumb{display:block;width:100%;aspect-ratio:4/3;overflow:hidden;border-radius:7px;background:#eef2ef}
.ep-home-blog-split-side-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.ep-home-blog-split-side-item h3{font-family:var(--ep-blog-title-font)!important;font-size:clamp(15px,var(--ep-blog-title-size,20px),22px)!important;line-height:1.3;margin:4px 0 0;color:var(--ep-blog-title-color,#0f172a)}

/* N Hero */
.ep-home-blog-style_n .ep-home-blog-list{display:block!important}
.ep-home-blog-hero-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.ep-home-blog-hero-card{position:relative;min-width:0;min-height:170px;overflow:hidden;border-radius:10px;background:#1f2937}
.ep-home-blog-hero-card.featured{grid-column:span 2;min-height:300px}
.ep-home-blog-hero-media,.ep-home-blog-hero-media img,.ep-home-blog-hero-media .ep-home-blog-thumb-placeholder{display:block;width:100%;height:100%;object-fit:cover}
.ep-home-blog-hero-media{position:absolute;inset:0}
.ep-home-blog-hero-media:after{content:"";position:absolute;inset:0;background:linear-gradient(to top,rgba(0,0,0,.75),rgba(0,0,0,.04) 65%)}
.ep-home-blog-hero-overlay{position:absolute;left:0;right:0;bottom:0;z-index:1;padding:14px;color:#fff}
.ep-home-blog-hero-overlay .ep-home-blog-meta{color:rgba(255,255,255,.8)}
.ep-home-blog-hero-overlay h2{margin:4px 0 0;font-family:var(--ep-blog-title-font)!important;font-size:var(--ep-blog-title-size,22px)!important;line-height:1.25;font-weight:var(--ep-blog-title-weight,800)}
.ep-home-blog-hero-overlay h2 a{color:#fff}

/* O Sidebar */
.ep-home-blog-sidebar-layout{display:grid;grid-template-columns:minmax(0,2fr) minmax(260px,1fr);gap:18px}
.ep-home-blog-sidebar-main{min-width:0}
.ep-home-blog-sidebar-side{min-width:0;border-left:1px solid #e5e7eb;padding-left:18px;display:flex;flex-direction:column;gap:12px}
.ep-home-blog-sidebar-main .ep-home-blog-body{padding-top:10px}
.ep-home-blog-sidebar-item{display:grid;grid-template-columns:92px minmax(0,1fr);gap:10px;padding-bottom:12px;border-bottom:1px dotted #cfd8dc}
.ep-home-blog-sidebar-item:last-child{border-bottom:0}
.ep-home-blog-sidebar-thumb{display:block;width:100%;aspect-ratio:4/3;overflow:hidden;border-radius:7px;background:#eef2ef}
.ep-home-blog-sidebar-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.ep-home-blog-sidebar-item h3{font-family:var(--ep-blog-title-font)!important;font-size:clamp(14px,var(--ep-blog-title-size,19px),21px)!important;line-height:1.3;margin:4px 0 0;color:var(--ep-blog-title-color,#0f172a)}

/* P Tabs */
.ep-home-blog-style_p .ep-home-blog-list{display:block!important}
.ep-home-blog-tabs-nav{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none;margin-bottom:10px}
.ep-home-blog-tabs-nav::-webkit-scrollbar{display:none}
.ep-home-blog-tabs-nav button{flex:0 0 auto;border:1px solid #d9e1e7;background:#f8fafb;color:#344054;border-radius:999px;padding:8px 12px;font-size:12px;cursor:pointer}
.ep-home-blog-tabs-nav button[aria-selected="true"]{background:#0f5d2e;color:#fff;border-color:#0f5d2e}
.ep-home-blog-tab-panel{display:none;grid-template-columns:minmax(120px,34%) minmax(0,1fr);gap:14px;align-items:start}
.ep-home-blog-tab-panel.is-active{display:grid}

@media(max-width:1000px){
  .ep-home-blog-style_e .ep-home-blog-masonry-grid{column-count:2}
  .ep-home-blog-style_g .ep-home-blog-standard-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ep-home-blog-style_h .ep-home-blog-bento-grid{grid-template-columns:1.5fr 1fr;grid-template-rows:auto auto}
  .ep-home-blog-style_h .ep-home-blog-bento-card.bento-0{grid-row:1 / span 2}
  .ep-home-blog-style_m .ep-home-blog-split{grid-template-columns:1fr}
  .ep-home-blog-split-main{border-right:0;border-bottom:1px solid #e5e7eb;padding-right:0;padding-bottom:16px}
  .ep-home-blog-sidebar-layout{grid-template-columns:1fr}
  .ep-home-blog-sidebar-side{border-left:0;padding-left:0;border-top:1px solid #e5e7eb;padding-top:16px}
  .ep-home-blog-hero-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ep-home-blog-hero-card.featured{grid-column:span 2}
}
@media(max-width:760px){
  .ep-home-blog-style_e .ep-home-blog-masonry-grid{column-count:1}
  .ep-home-blog-style_f .ep-home-blog-carousel-track{grid-auto-columns:minmax(260px,82vw)}
  .ep-home-blog-style_g .ep-home-blog-standard-grid{grid-template-columns:1fr}
  .ep-home-blog-style_h .ep-home-blog-bento-grid{grid-template-columns:1fr;grid-template-rows:auto}
  .ep-home-blog-style_h .ep-home-blog-bento-card.bento-0{grid-row:auto}
  .ep-home-blog-style_h .ep-home-blog-bento-card .ep-home-blog-thumb{height:auto!important;min-height:0!important;aspect-ratio:16/9}
  .ep-home-blog-style_i .ep-home-blog-item{padding:10px 0!important}
  .ep-home-blog-data-table{display:block;border:0;background:transparent}
  .ep-home-blog-data-table thead{display:none}
  .ep-home-blog-data-table tbody,.ep-home-blog-data-table tr,.ep-home-blog-data-table td{display:block;width:100%;box-sizing:border-box}
  .ep-home-blog-data-table tr{background:var(--ep-blog-card-bg,#fff);border:1px solid #e5e7eb;border-radius:10px;margin-bottom:9px;padding:10px}
  .ep-home-blog-data-table td{padding:3px 0;border:0;font-size:12px}
  .ep-home-blog-data-table td:nth-child(1):before{content:"Date: ";font-weight:700;color:#667085}
  .ep-home-blog-data-table td:nth-child(2):before{content:"Category: ";font-weight:700;color:#667085}
  .ep-home-blog-data-table td:nth-child(4){text-align:left}
  .ep-home-blog-style_k .ep-home-blog-timeline{padding-left:21px}
  .ep-home-blog-timeline-marker{left:-21px}
  .ep-home-blog-style_n .ep-home-blog-hero-grid{grid-template-columns:1fr}
  .ep-home-blog-hero-card.featured{grid-column:auto;min-height:230px}
  .ep-home-blog-hero-card{min-height:190px}
  .ep-home-blog-style_o .ep-home-blog-sidebar-layout{grid-template-columns:1fr}
  .ep-home-blog-style_p .ep-home-blog-tab-panel.is-active{display:block}
  .ep-home-blog-style_p .ep-home-blog-tab-panel .ep-home-blog-thumb{margin-bottom:10px}
  .ep-home-blog-split-side-item{grid-template-columns:82px minmax(0,1fr)}
}
@media(max-width:480px){
  .ep-home-blog-style_f .ep-home-blog-carousel-track{grid-auto-columns:86vw}
  .ep-home-blog-style_k .ep-home-blog-timeline-body h2{font-size:clamp(15px,5vw,19px)!important}
  .ep-home-blog-accordion-item summary{font-size:16px;padding:12px}
  .ep-home-blog-split-side-item h3,.ep-home-blog-sidebar-item h3{font-size:16px!important}
}


/* V6.9.209: container-aware responsive system for blog layout presets E-P.
   This is intentionally scoped to the homepage blog section renderer only. */
#ep-home-blog-top.ep-home-blog-sections > .ep-home-blog-section{
  container-type:inline-size;
  container-name:epblogsection;
  min-width:0!important;
  max-width:100%!important;
  box-sizing:border-box!important;
}
#ep-home-blog-top.ep-home-blog-sections .ep-home-blog-list,
#ep-home-blog-top.ep-home-blog-sections .ep-home-blog-list > *,
#ep-home-blog-top.ep-home-blog-sections .ep-home-blog-body,
#ep-home-blog-top.ep-home-blog-sections .ep-home-blog-thumb,
#ep-home-blog-top.ep-home-blog-sections .ep-home-blog-thumb-placeholder{
  min-width:0!important;
  max-width:100%!important;
  box-sizing:border-box!important;
}
#ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_e h2,
#ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_f h2,
#ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_g h2,
#ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_h h2,
#ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_i h2,
#ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_j td,
#ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_k h2,
#ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_l summary,
#ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_m h2,
#ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_m h3,
#ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_n h2,
#ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_o h2,
#ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_o h3,
#ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_p h2,
#ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_p button{
  overflow-wrap:anywhere!important;
  word-break:normal!important;
}

/* E · Masonry Grid */
#ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_e .ep-home-blog-list{display:block!important}
#ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_e .ep-home-blog-masonry-grid{
  display:block!important;
  column-count:2!important;
  column-gap:16px!important;
  width:100%!important;
  max-width:100%!important;
}
#ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_e .ep-home-blog-masonry-card{
  display:inline-block!important;
  vertical-align:top!important;
  width:100%!important;
  break-inside:avoid!important;
  page-break-inside:avoid!important;
  margin:0 0 16px!important;
  overflow:hidden!important;
}
#ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_e .ep-home-blog-masonry-card .ep-home-blog-thumb{
  width:100%!important;
  max-width:100%!important;
}
#ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_e .ep-home-blog-body{padding:var(--ep-blog-card-padding,14px)!important}
#ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_e .ep-home-blog-body h2{
  font-size:var(--ep-blog-title-size,22px)!important;
  line-height:1.28!important;
  margin:6px 0 8px!important;
  color:var(--ep-blog-title-color,#0f172a)!important;
  font-weight:var(--ep-blog-title-weight,800)!important;
  font-family:var(--ep-blog-title-font)!important;
}

/* F · Carousel / Slider */
#ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_f .ep-home-blog-list{display:block!important}
#ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_f .ep-home-blog-carousel{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  overscroll-behavior-x:contain!important;
  scroll-snap-type:x mandatory!important;
  -webkit-overflow-scrolling:touch!important;
  scrollbar-width:none!important;
  padding:2px 2px 8px!important;
}
#ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_f .ep-home-blog-carousel::-webkit-scrollbar{display:none!important}
#ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_f .ep-home-blog-carousel-track{
  display:flex!important;
  align-items:stretch!important;
  gap:16px!important;
  width:max-content!important;
  min-width:100%!important;
  max-width:none!important;
}
#ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_f .ep-home-blog-carousel-card{
  flex:0 0 clamp(250px,32cqw,370px)!important;
  width:clamp(250px,32cqw,370px)!important;
  min-width:0!important;
  max-width:calc(100cqw - 4px)!important;
  scroll-snap-align:start!important;
  overflow:hidden!important;
}
#ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_f .ep-home-blog-body{padding:var(--ep-blog-card-padding,14px)!important}
#ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_f .ep-home-blog-body h2{
  font-size:var(--ep-blog-title-size,22px)!important;
  line-height:1.28!important;
  margin:6px 0 8px!important;
  font-family:var(--ep-blog-title-font)!important;
  font-weight:var(--ep-blog-title-weight,800)!important;
  color:var(--ep-blog-title-color,#0f172a)!important;
}

/* G · Standard Grid */
#ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_g .ep-home-blog-list{display:block!important}
#ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_g .ep-home-blog-standard-grid{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:16px!important;
  width:100%!important;
  max-width:100%!important;
}
#ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_g .ep-home-blog-standard-card{
  min-width:0!important;
  width:100%!important;
  max-width:100%!important;
  overflow:hidden!important;
}
#ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_g .ep-home-blog-body{padding:var(--ep-blog-card-padding,14px)!important}
#ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_g .ep-home-blog-body h2{
  font-size:var(--ep-blog-title-size,22px)!important;
  line-height:1.28!important;
  font-family:var(--ep-blog-title-font)!important;
  font-weight:var(--ep-blog-title-weight,800)!important;
  color:var(--ep-blog-title-color,#0f172a)!important;
}

/* H · Bento Grid */
#ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_h .ep-home-blog-list{display:block!important}
#ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_h .ep-home-blog-bento-grid{
  display:grid!important;
  grid-template-columns:minmax(0,2fr) minmax(0,1fr) minmax(0,1fr)!important;
  grid-auto-rows:minmax(150px,auto)!important;
  gap:12px!important;
  width:100%!important;
  max-width:100%!important;
}
#ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_h .ep-home-blog-bento-card{
  min-width:0!important;
  max-width:100%!important;
  overflow:hidden!important;
}
#ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_h .ep-home-blog-bento-card.bento-0{grid-row:1 / span 2!important}
#ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_h .ep-home-blog-bento-card.bento-0 .ep-home-blog-thumb{
  width:100%!important;
  height:clamp(240px,28cqw,420px)!important;
  aspect-ratio:auto!important;
}
#ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_h .ep-home-blog-bento-card:not(.bento-0) .ep-home-blog-thumb{
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  aspect-ratio:4/3!important;
}
#ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_h .ep-home-blog-body{padding:var(--ep-blog-card-padding,12px)!important}
#ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_h .ep-home-blog-body h2{
  font-size:var(--ep-blog-title-size,22px)!important;
  line-height:1.28!important;
  font-family:var(--ep-blog-title-font)!important;
  font-weight:var(--ep-blog-title-weight,800)!important;
  color:var(--ep-blog-title-color,#0f172a)!important;
}

/* I · List View */
#ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_i .ep-home-blog-list{display:block!important}
#ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_i .ep-home-blog-item{
  display:grid!important;
  grid-template-columns:minmax(120px,28%) minmax(0,1fr)!important;
  gap:14px!important;
  align-items:start!important;
  padding:12px 0!important;
  min-width:0!important;
  border-bottom:1px solid #e5e7eb!important;
  background:transparent!important;
  box-shadow:none!important;
  border-radius:0!important;
}
#ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_i .ep-home-blog-item.no-image{grid-template-columns:minmax(0,1fr)!important}
#ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_i .ep-home-blog-thumb{width:100%!important;aspect-ratio:16/9!important}
#ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_i .ep-home-blog-body h2{
  margin:2px 0 6px!important;
  font-size:var(--ep-blog-title-size,22px)!important;
  line-height:1.3!important;
  font-family:var(--ep-blog-title-font)!important;
  font-weight:var(--ep-blog-title-weight,800)!important;
  color:var(--ep-blog-title-color,#0f172a)!important;
}

/* J · Table / Data Grid */
#ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_j .ep-home-blog-list{display:block!important}
#ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_j .ep-home-blog-data-table{
  width:100%!important;
  max-width:100%!important;
  table-layout:fixed!important;
  border-collapse:separate!important;
  border-spacing:0!important;
  overflow:hidden!important;
}
#ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_j .ep-home-blog-data-table th,
#ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_j .ep-home-blog-data-table td{
  min-width:0!important;
  overflow-wrap:anywhere!important;
  word-break:break-word!important;
}
#ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_j .ep-home-blog-data-table th:nth-child(1),
#ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_j .ep-home-blog-data-table td:nth-child(1){width:96px!important}
#ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_j .ep-home-blog-data-table th:nth-child(2),
#ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_j .ep-home-blog-data-table td:nth-child(2){width:110px!important}
#ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_j .ep-home-blog-data-table th:nth-child(4),
#ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_j .ep-home-blog-data-table td:nth-child(4){width:50px!important}

/* K · Timeline */
#ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_k .ep-home-blog-list{display:block!important}
#ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_k .ep-home-blog-timeline{min-width:0!important;max-width:100%!important}
#ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_k .ep-home-blog-timeline-body{min-width:0!important;max-width:100%!important}
#ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_k .ep-home-blog-timeline-body h2{
  font-size:var(--ep-blog-title-size,22px)!important;
  line-height:1.3!important;
  font-family:var(--ep-blog-title-font)!important;
  font-weight:var(--ep-blog-title-weight,800)!important;
  color:var(--ep-blog-title-color,#0f172a)!important;
}

/* L · Accordion */
#ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_l .ep-home-blog-list{display:block!important}
#ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_l .ep-home-blog-accordion{min-width:0!important;max-width:100%!important}
#ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_l .ep-home-blog-accordion-item{min-width:0!important;max-width:100%!important;overflow:hidden!important}
#ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_l .ep-home-blog-accordion-item summary{
  min-width:0!important;
  width:100%!important;
  display:flex!important;
  align-items:flex-start!important;
  justify-content:space-between!important;
}
#ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_l .ep-home-blog-accordion-item summary span{flex:1 1 auto!important;min-width:0!important}
#ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_l .ep-home-blog-accordion-item summary b{flex:0 0 auto!important;margin-left:10px!important}
#ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_l .ep-home-blog-accordion-content{min-width:0!important;max-width:100%!important;overflow-wrap:anywhere!important}

/* M · Split Screen */
#ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_m .ep-home-blog-list{display:block!important}
#ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_m .ep-home-blog-split{
  display:grid!important;
  grid-template-columns:minmax(0,1.65fr) minmax(0,1fr)!important;
  gap:18px!important;
  width:100%!important;
  max-width:100%!important;
}
#ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_m .ep-home-blog-split-main,
#ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_m .ep-home-blog-split-side{min-width:0!important;max-width:100%!important}
#ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_m .ep-home-blog-split-main .ep-home-blog-thumb{width:100%!important;aspect-ratio:16/9!important}
#ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_m .ep-home-blog-split-side-item{min-width:0!important;grid-template-columns:minmax(78px,96px) minmax(0,1fr)!important}
#ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_m .ep-home-blog-split-side-thumb{width:100%!important;aspect-ratio:4/3!important}
#ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_m .ep-home-blog-split-side-item h3{
  font-size:var(--ep-blog-title-size,20px)!important;
  line-height:1.3!important;
  margin:4px 0 0!important;
  font-family:var(--ep-blog-title-font)!important;
  font-weight:var(--ep-blog-title-weight,800)!important;
  color:var(--ep-blog-title-color,#0f172a)!important;
}

/* N · Hero / Full-Bleed */
#ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_n .ep-home-blog-list{display:block!important}
#ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_n .ep-home-blog-hero-grid{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:10px!important;
  width:100%!important;
  max-width:100%!important;
}
#ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_n .ep-home-blog-hero-card{
  min-width:0!important;
  max-width:100%!important;
  min-height:180px!important;
  overflow:hidden!important;
}
#ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_n .ep-home-blog-hero-card.featured{grid-column:span 2!important;min-height:300px!important}
#ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_n .ep-home-blog-hero-media{display:block!important;position:absolute!important;inset:0!important;width:100%!important;height:100%!important;min-width:0!important}
#ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_n .ep-home-blog-hero-media img,
#ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_n .ep-home-blog-hero-media .ep-home-blog-thumb-placeholder{width:100%!important;height:100%!important;object-fit:cover!important}
#ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_n .ep-home-blog-hero-overlay{max-width:100%!important;min-width:0!important;overflow-wrap:anywhere!important}
#ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_n .ep-home-blog-hero-overlay h2{
  font-size:var(--ep-blog-title-size,22px)!important;
  line-height:1.25!important;
  font-family:var(--ep-blog-title-font)!important;
  font-weight:var(--ep-blog-title-weight,800)!important;
}

/* O · Sidebar Layout */
#ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_o .ep-home-blog-list{display:block!important}
#ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_o .ep-home-blog-sidebar-layout{
  display:grid!important;
  grid-template-columns:minmax(0,2fr) minmax(220px,1fr)!important;
  gap:18px!important;
  width:100%!important;
  max-width:100%!important;
}
#ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_o .ep-home-blog-sidebar-main,
#ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_o .ep-home-blog-sidebar-side{min-width:0!important;max-width:100%!important}
#ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_o .ep-home-blog-sidebar-main .ep-home-blog-thumb{width:100%!important;aspect-ratio:16/9!important}
#ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_o .ep-home-blog-sidebar-item{min-width:0!important;grid-template-columns:minmax(78px,92px) minmax(0,1fr)!important}
#ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_o .ep-home-blog-sidebar-thumb{width:100%!important;aspect-ratio:4/3!important}
#ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_o .ep-home-blog-sidebar-item h3{
  font-size:var(--ep-blog-title-size,19px)!important;
  line-height:1.3!important;
  margin:4px 0 0!important;
  font-family:var(--ep-blog-title-font)!important;
  font-weight:var(--ep-blog-title-weight,800)!important;
  color:var(--ep-blog-title-color,#0f172a)!important;
}

/* P · Tabs */
#ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_p .ep-home-blog-list{display:block!important}
#ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_p .ep-home-blog-tabs{width:100%!important;max-width:100%!important;min-width:0!important}
#ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_p .ep-home-blog-tabs-nav{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  display:flex!important;
  flex-wrap:nowrap!important;
  gap:6px!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  scrollbar-width:none!important;
  overscroll-behavior-x:contain!important;
  -webkit-overflow-scrolling:touch!important;
}
#ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_p .ep-home-blog-tabs-nav::-webkit-scrollbar{display:none!important}
#ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_p .ep-home-blog-tabs-nav button{
  flex:0 0 auto!important;
  min-width:0!important;
  max-width:75%!important;
  white-space:normal!important;
}
#ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_p .ep-home-blog-tabs-panels{min-width:0!important;max-width:100%!important}
#ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_p .ep-home-blog-tab-panel{min-width:0!important;max-width:100%!important}
#ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_p .ep-home-blog-tab-panel.is-active{display:grid!important;grid-template-columns:minmax(130px,34%) minmax(0,1fr)!important;gap:14px!important;align-items:start!important}
#ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_p .ep-home-blog-tab-panel.is-active .ep-home-blog-thumb{width:100%!important;aspect-ratio:4/3!important}
#ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_p .ep-home-blog-tab-panel h2{
  font-size:var(--ep-blog-title-size,22px)!important;
  line-height:1.3!important;
  font-family:var(--ep-blog-title-font)!important;
  font-weight:var(--ep-blog-title-weight,800)!important;
  color:var(--ep-blog-title-color,#0f172a)!important;
}

/* Container-query breakpoints: these react to each section's actual width, not only the viewport. */
@container epblogsection (max-width: 900px){
  #ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_g .ep-home-blog-standard-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  #ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_h .ep-home-blog-bento-grid{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr)!important}
  #ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_h .ep-home-blog-bento-card.bento-0{grid-row:1 / span 2!important}
  #ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_n .ep-home-blog-hero-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  #ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_n .ep-home-blog-hero-card.featured{grid-column:1 / span 2!important}
  #ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_m .ep-home-blog-split{grid-template-columns:minmax(0,1fr)!important}
  #ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_m .ep-home-blog-split-main{border-right:0!important;border-bottom:1px solid #e5e7eb!important;padding-right:0!important;padding-bottom:16px!important}
  #ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_m .ep-home-blog-split-side{padding-top:0!important}
  #ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_o .ep-home-blog-sidebar-layout{grid-template-columns:minmax(0,1fr)!important}
  #ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_o .ep-home-blog-sidebar-side{border-left:0!important;border-top:1px solid #e5e7eb!important;padding-left:0!important;padding-top:16px!important}
}
@container epblogsection (max-width: 620px){
  #ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_e .ep-home-blog-masonry-grid{column-count:1!important}
  #ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_f .ep-home-blog-carousel-card{flex-basis:min(360px,calc(100cqw - 4px))!important;width:min(360px,calc(100cqw - 4px))!important}
  #ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_g .ep-home-blog-standard-grid{grid-template-columns:minmax(0,1fr)!important}
  #ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_h .ep-home-blog-bento-grid{grid-template-columns:minmax(0,1fr)!important;grid-auto-rows:auto!important}
  #ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_h .ep-home-blog-bento-card.bento-0{grid-row:auto!important}
  #ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_h .ep-home-blog-bento-card.bento-0 .ep-home-blog-thumb,
  #ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_h .ep-home-blog-bento-card:not(.bento-0) .ep-home-blog-thumb{height:auto!important;aspect-ratio:16/9!important}
  #ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_i .ep-home-blog-item{grid-template-columns:minmax(88px,31%) minmax(0,1fr)!important;gap:10px!important}
  #ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_j .ep-home-blog-data-table{display:block!important;border:0!important;background:transparent!important}
  #ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_j .ep-home-blog-data-table thead{display:none!important}
  #ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_j .ep-home-blog-data-table tbody{display:block!important;width:100%!important}
  #ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_j .ep-home-blog-data-table tr{display:block!important;width:100%!important;margin:0 0 10px!important;padding:12px!important;background:var(--ep-blog-card-bg,#fff)!important;border:1px solid #e5e7eb!important;border-radius:10px!important}
  #ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_j .ep-home-blog-data-table td{display:block!important;width:100%!important;padding:4px 0!important;border:0!important;text-align:left!important}
  #ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_j .ep-home-blog-data-table td:nth-child(1)::before{content:'Date: ';font-weight:700;color:#667085}
  #ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_j .ep-home-blog-data-table td:nth-child(2)::before{content:'Category: ';font-weight:700;color:#667085}
  #ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_j .ep-home-blog-data-table td:nth-child(4)::before{content:'Open: ';font-weight:700;color:#667085}
  #ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_k .ep-home-blog-timeline{padding-left:22px!important}
  #ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_k .ep-home-blog-timeline-marker{left:-22px!important}
  #ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_n .ep-home-blog-hero-grid{grid-template-columns:minmax(0,1fr)!important}
  #ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_n .ep-home-blog-hero-card,
  #ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_n .ep-home-blog-hero-card.featured{grid-column:auto!important;min-height:230px!important}
  #ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_m .ep-home-blog-split-side-item{grid-template-columns:minmax(78px,88px) minmax(0,1fr)!important}
  #ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_o .ep-home-blog-sidebar-item{grid-template-columns:minmax(78px,88px) minmax(0,1fr)!important}
  #ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_p .ep-home-blog-tab-panel.is-active{grid-template-columns:minmax(92px,34%) minmax(0,1fr)!important;gap:10px!important}
  #ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_e .ep-home-blog-body h2,
  #ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_f .ep-home-blog-body h2,
  #ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_g .ep-home-blog-body h2,
  #ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_h .ep-home-blog-body h2,
  #ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_i .ep-home-blog-body h2,
  #ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_k .ep-home-blog-timeline-body h2,
  #ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_l .ep-home-blog-accordion-item summary,
  #ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_m .ep-home-blog-split-side-item h3,
  #ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_n .ep-home-blog-hero-overlay h2,
  #ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_o .ep-home-blog-sidebar-item h3,
  #ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_p .ep-home-blog-tab-panel h2{font-size:var(--ep-blog-mobile-title-size,16px)!important}
  #ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_e .ep-home-blog-excerpt,
  #ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_f .ep-home-blog-excerpt,
  #ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_g .ep-home-blog-excerpt,
  #ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_h .ep-home-blog-excerpt,
  #ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_j td,
  #ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_k .ep-home-blog-excerpt,
  #ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_l .ep-home-blog-excerpt,
  #ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_m .ep-home-blog-excerpt,
  #ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_n .ep-home-blog-excerpt,
  #ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_o .ep-home-blog-excerpt,
  #ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_p .ep-home-blog-excerpt{font-size:var(--ep-blog-mobile-excerpt-size,12px)!important;line-height:1.55!important}
  #ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_e .ep-home-blog-meta,
  #ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_f .ep-home-blog-meta,
  #ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_g .ep-home-blog-meta,
  #ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_h .ep-home-blog-meta,
  #ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_i .ep-home-blog-meta,
  #ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_k .ep-home-blog-meta,
  #ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_l .ep-home-blog-meta,
  #ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_m .ep-home-blog-meta,
  #ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_n .ep-home-blog-meta,
  #ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_o .ep-home-blog-meta,
  #ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_p .ep-home-blog-meta{font-size:var(--ep-blog-mobile-meta-size,10px)!important;line-height:1.35!important}
}
@container epblogsection (max-width: 380px){
  #ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_i .ep-home-blog-item{grid-template-columns:80px minmax(0,1fr)!important;gap:9px!important}
  #ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_m .ep-home-blog-split-side-item,
  #ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_o .ep-home-blog-sidebar-item{grid-template-columns:80px minmax(0,1fr)!important}
  #ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_p .ep-home-blog-tab-panel.is-active{grid-template-columns:1fr!important}
  #ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_p .ep-home-blog-tab-panel.is-active .ep-home-blog-thumb{margin-bottom:10px!important}
  #ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_l .ep-home-blog-accordion-item summary{padding:11px 12px!important}
}

/* Viewport fallbacks for older engines without container-query support. */
@media (max-width:760px){
  #ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_e .ep-home-blog-masonry-grid{column-count:1!important}
  #ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_g .ep-home-blog-standard-grid{grid-template-columns:1fr!important}
  #ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_h .ep-home-blog-bento-grid{grid-template-columns:1fr!important}
  #ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_h .ep-home-blog-bento-card.bento-0{grid-row:auto!important}
  #ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_h .ep-home-blog-bento-card .ep-home-blog-thumb{height:auto!important;aspect-ratio:16/9!important}
  #ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_n .ep-home-blog-hero-grid{grid-template-columns:1fr!important}
  #ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_n .ep-home-blog-hero-card.featured{grid-column:auto!important}
  #ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_p .ep-home-blog-tab-panel.is-active{grid-template-columns:1fr!important}
  #ep-home-blog-top.ep-home-blog-sections .ep-home-blog-style_p .ep-home-blog-tab-panel.is-active .ep-home-blog-thumb{margin-bottom:10px!important}
}


/* V6.9.210: WordPress login logo settings preview. */
.ep-login-logo-setting{display:flex;gap:18px;align-items:flex-start;margin-top:18px;padding-top:18px;border-top:1px solid #e5e7eb}.ep-login-logo-preview-wrap{flex:0 0 180px;min-height:90px;display:flex;align-items:center;justify-content:center;padding:12px;background:#f8fafc;border:1px solid #e5e7eb;border-radius:10px}.ep-login-logo-preview-wrap img{display:block;max-width:100%;max-height:90px;width:auto;height:auto;object-fit:contain}.ep-login-logo-setting .ep-masthead-copy{min-width:0}@media(max-width:782px){.ep-login-logo-setting{flex-direction:column}.ep-login-logo-preview-wrap{width:100%;max-width:240px}}

/* V6.9.211: editable footer login/admin action labels. */
.ep-footer-login{align-items:center}
.ep-footer-login a{display:inline-block}
@media(max-width:640px){.ep-footer-line{align-items:flex-start;flex-direction:column}.ep-footer-login{width:100%;justify-content:flex-start;gap:12px 14px}.ep-footer-login a{white-space:normal}}


/* V6.9.212: landing-page ePaper thumbnail containment.
 * Keep the entire first-page canvas visible for PDFs with any page dimensions/aspect ratio.
 * Scoped only to landing-page edition/issue cards so viewer/archive rendering is untouched.
 */
.ep-home-landing-page .ep-edition-cover{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  overflow:hidden!important;
  background:#fff!important;
}
.ep-home-landing-page .ep-edition-preview{
  display:block!important;
  width:100%!important;
  height:100%!important;
  max-width:100%!important;
  max-height:100%!important;
  object-fit:contain!important;
  object-position:center center!important;
  background:#fff!important;
}
@media(max-width:620px){
  .ep-home-landing-page .ep-edition-preview{
    object-fit:contain!important;
  }
}



/* V6.9.222: restore the compact newspaper masthead in the direct News Clip
 * page header only. The exported/downloaded clip continues to use the separate
 * full-width masthead rendered by front.js, so the visible clip image and all
 * download/rendering paths remain unchanged. */
.ep-pretty-clip-page .ep-clip-head{
  display:grid!important;
  grid-template-columns:minmax(92px,150px) minmax(0,1fr) minmax(0,auto)!important;
  align-items:center!important;
  justify-content:stretch!important;
  gap:14px!important;
  min-width:0!important;
  padding-bottom:10px!important;
}
.ep-pretty-clip-page .ep-clip-head-brand{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  min-width:0!important;
  min-height:42px!important;
}
.ep-pretty-clip-page .ep-clip-head-brand img{
  display:block!important;
  width:auto!important;
  max-width:150px!important;
  max-height:42px!important;
  height:auto!important;
  object-fit:contain!important;
  object-position:left center!important;
}
.ep-pretty-clip-page .ep-clip-title-row{
  min-width:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  overflow:hidden!important;
}
.ep-pretty-clip-page .ep-clip-title-row .ep-clip-kicker{
  flex:0 0 auto!important;
  white-space:nowrap!important;
}
.ep-pretty-clip-page .ep-clip-title-row strong{
  min-width:0!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  text-align:left!important;
}
.ep-pretty-clip-page .ep-clip-head-meta-row{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  min-width:0!important;
  width:auto!important;
}
.ep-pretty-clip-page .ep-clip-head-meta{
  display:block!important;
  min-width:0!important;
  max-width:100%!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  text-align:right!important;
}

@media(max-width:760px){
  .ep-pretty-clip-page .ep-clip-head{
    grid-template-columns:82px minmax(0,1fr) minmax(0,42%)!important;
    gap:8px!important;
    padding-bottom:10px!important;
  }
  .ep-pretty-clip-page .ep-clip-head-brand{
    min-height:32px!important;
  }
  .ep-pretty-clip-page .ep-clip-head-brand img{
    max-width:82px!important;
    max-height:32px!important;
  }
  .ep-pretty-clip-page .ep-clip-title-row{
    justify-content:flex-start!important;
    gap:6px!important;
  }
  .ep-pretty-clip-page .ep-clip-title-row strong{
    font-size:14px!important;
    line-height:1.15!important;
  }
  .ep-pretty-clip-page .ep-clip-head-meta{
    font-size:11px!important;
    line-height:1.15!important;
  }
}


/* V6.9.226: isolated full-page fallback for unmapped newspaper areas. */
.ep-unmapped-page-modal{position:fixed;inset:0;display:none;align-items:center;justify-content:center;padding:14px;background:rgba(0,0,0,.74);z-index:2147483640;box-sizing:border-box}
.ep-unmapped-page-modal.open{display:flex}
.ep-unmapped-page-card{width:min(1500px,100%);height:min(96vh,100%);background:#fff;border-radius:14px;overflow:hidden;box-shadow:0 18px 70px rgba(0,0,0,.35);display:flex;flex-direction:column;box-sizing:border-box}
.ep-unmapped-page-topbar{flex:0 0 auto;min-height:58px;padding:8px 12px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #e5e7eb;background:#fff;box-sizing:border-box}
.ep-unmapped-page-topbar>div{min-width:0;display:flex;align-items:center;gap:10px}
.ep-unmapped-page-title{font-weight:800;font-size:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ep-unmapped-page-meta{font-size:13px;color:#64748b;white-space:nowrap}
.ep-unmapped-page-close{flex:0 0 auto;width:42px;height:42px;padding:0;border-radius:10px;background:#111827;color:#fff;font-size:28px;line-height:1;display:inline-flex;align-items:center;justify-content:center}
.ep-unmapped-page-body{min-height:0;flex:1;overflow:auto;background:#f8fafc;padding:12px;box-sizing:border-box}
.ep-unmapped-page-loading{min-height:240px;display:flex;align-items:center;justify-content:center;color:#64748b;font-size:14px;text-align:center}
.ep-unmapped-page-canvas-wrap{width:100%;max-width:1400px;margin:0 auto}
.ep-unmapped-page-canvas-wrap canvas{display:block;width:100%;height:auto;background:#fff;box-shadow:0 4px 22px rgba(15,23,42,.10)}
body.ep-unmapped-page-open{overflow:hidden}
@media(max-width:760px){
  .ep-unmapped-page-modal{padding:0;background:#fff}
  .ep-unmapped-page-card{width:100%;height:100%;max-height:none;border-radius:0;box-shadow:none}
  .ep-unmapped-page-topbar{min-height:52px;padding:6px 8px;gap:7px}
  .ep-unmapped-page-topbar>div{gap:6px}
  .ep-unmapped-page-title{font-size:13px}
  .ep-unmapped-page-meta{font-size:11px}
  .ep-unmapped-page-close{width:38px;height:38px;min-width:38px;font-size:24px}
  .ep-unmapped-page-body{padding:6px}
}

/* V6.9.237: Clear All mapping reset control. Auto-Clip and Clear All stay above mapping icons on mobile. */
@media (max-width:782px){
  .ep-map-toolbar-v5 .ep-auto-clip-slot{order:0!important;flex-basis:100%!important;width:100%!important;justify-content:center!important;display:flex!important;gap:6px!important;margin:0 0 2px!important}
  .ep-map-toolbar-v5 .ep-auto-clip-slot .button{min-height:42px!important}
  .ep-map-toolbar-v5 .ep-auto-clip-button{flex:1 1 auto!important}
  .ep-map-toolbar-v5 .ep-clear-all-button{flex:0 0 auto!important;min-width:92px!important}
}
@media (min-width:783px){
  .ep-map-toolbar-v5 .ep-auto-clip-slot{order:1!important}
}


/* V6.11.5/6: Read Clip view keeps the newspaper masthead as a true full-width
 * header row. The clip canvas itself stays compact in this modal so the masthead
 * is not duplicated. Direct News Clip pages and exported files keep their existing
 * full-width masthead rendering. */
.ep-reader-clip-modal .ep-clip-detail-masthead{
  width:100%!important;
  margin:0!important;
  padding:0!important;
  display:block!important;
  background:#fff!important;
  border-bottom:1px solid #e5e7eb!important;
  text-align:center!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
}
.ep-reader-clip-modal .ep-clip-detail-masthead img{
  display:block!important;
  width:100%!important;
  max-width:none!important;
  height:auto!important;
  max-height:none!important;
  margin:0 auto!important;
  object-fit:contain!important;
  object-position:center top!important;
  background:#fff!important;
}
.ep-reader-clip-modal .ep-clip-detail-topbar{
  grid-template-columns:minmax(0,1fr) 58px!important;
}
@media(max-width:620px){
  .ep-reader-clip-modal .ep-clip-detail-masthead img{
    width:100%!important;
    height:auto!important;
  }
  .ep-reader-clip-modal .ep-clip-detail-topbar{
    grid-template-columns:minmax(0,1fr) 42px!important;
  }
}

/* V6.11.7: Read Clip masthead must occupy the complete modal width. */
.ep-reader-clip-modal .ep-clip-detail-masthead{
  width:100%!important;
  min-width:100%!important;
  margin:0!important;
  padding:0!important;
  flex:0 0 auto!important;
  display:block!important;
  box-sizing:border-box!important;
  background:#fff!important;
  border:0!important;
  border-bottom:1px solid #e5e7eb!important;
  text-align:center!important;
  overflow:hidden!important;
}
.ep-reader-clip-modal .ep-clip-detail-masthead img{
  display:block!important;
  width:100%!important;
  min-width:100%!important;
  max-width:none!important;
  height:auto!important;
  max-height:none!important;
  margin:0!important;
  padding:0!important;
  object-fit:contain!important;
  object-position:center top!important;
  background:#fff!important;
}
\n\n/* V6.11.7: direct News Clip page also uses the configured newspaper masthead\n * as a full-width header. The clip rendering/crop below remains unchanged. */\n.ep-pretty-clip-page .ep-clip-head{\n  display:block!important;\n  width:100%!important;\n  margin:0!important;\n  padding:0!important;\n  box-sizing:border-box!important;\n}\n.ep-pretty-clip-page .ep-clip-head-brand{\n  display:block!important;\n  width:100%!important;\n  min-width:100%!important;\n  min-height:0!important;\n  margin:0!important;\n  padding:0!important;\n  background:#fff!important;\n  overflow:hidden!important;\n  box-sizing:border-box!important;\n}\n.ep-pretty-clip-page .ep-clip-head-brand img{\n  display:block!important;\n  width:100%!important;\n  min-width:100%!important;\n  max-width:none!important;\n  height:auto!important;\n  max-height:none!important;\n  margin:0!important;\n  padding:0!important;\n  object-fit:contain!important;\n  object-position:center top!important;\n}\n.ep-pretty-clip-page .ep-clip-title-row{\n  width:100%!important;\n  min-width:0!important;\n  box-sizing:border-box!important;\n  padding:10px 12px!important;\n  display:flex!important;\n  align-items:center!important;\n  justify-content:center!important;\n  gap:8px!important;\n}\n.ep-pretty-clip-page .ep-clip-head-meta-row{\n  width:100%!important;\n  box-sizing:border-box!important;\n  justify-content:center!important;\n  padding:0 12px 10px!important;\n}\n.ep-pretty-clip-page .ep-clip-head-meta{\n  text-align:center!important;\n}\n

/* V6.11.8: Full-width newspaper masthead in both Read Clips gallery and News Clip detail. */
.ep-clip-gallery-masthead{
  width:100%!important;
  min-width:100%!important;
  max-width:none!important;
  display:block!important;
  margin:0!important;
  padding:0!important;
  background:#fff!important;
  overflow:hidden!important;
  border-bottom:1px solid #e5e7eb!important;
  box-sizing:border-box!important;
  line-height:0!important;
  z-index:20!important;
}
.ep-clip-gallery-masthead[hidden]{display:none!important}
.ep-clip-gallery-masthead img{
  display:block!important;
  width:100%!important;
  max-width:none!important;
  height:auto!important;
  max-height:none!important;
  object-fit:contain!important;
  margin:0!important;
  padding:0!important;
}
.ep-clip-detail-masthead{
  display:block!important;
  width:100%!important;
  min-width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
  background:#fff!important;
  overflow:hidden!important;
  border-bottom:1px solid #e5e7eb!important;
  box-sizing:border-box!important;
  line-height:0!important;
  text-align:center!important;
}
.ep-clip-detail-masthead img{
  display:block!important;
  width:100%!important;
  max-width:none!important;
  height:auto!important;
  max-height:none!important;
  object-fit:contain!important;
  margin:0!important;
  padding:0!important;
}
@media(max-width:620px){
  .ep-clip-gallery-masthead img,
  .ep-clip-detail-masthead img{width:100%!important;height:auto!important;max-width:none!important;max-height:none!important}
}


/* V6.11.9: The newspaper masthead belongs to the News Clip canvas itself.
 * Do not reserve a separate masthead row in the gallery or direct clip page.
 * buildClientClip(...,{fullMasthead:true}) renders it as part of the actual
 * clipping, preserving the existing PDF crop/mapping and keeping the header
 * attached to the news image on mobile and desktop. */
.ep-pretty-clip-page .ep-clip-head{
  display:block!important;
  width:100%!important;
  margin:0!important;
  padding:0 0 10px!important;
  box-sizing:border-box!important;
}
.ep-pretty-clip-page .ep-clip-title-row{
  width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
  padding:10px 12px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  overflow:hidden!important;
}
.ep-pretty-clip-page .ep-clip-head-meta-row{
  width:100%!important;
  box-sizing:border-box!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:0 12px 10px!important;
}
.ep-pretty-clip-page .ep-clip-head-meta{text-align:center!important;}
.ep-pretty-clip-page .ep-clip-head-brand{display:none!important;}
.ep-clip-gallery-masthead{display:none!important;}
.ep-reader-clip-modal .ep-clip-detail-masthead{display:none!important;}

/* V7.1 Human-in-the-loop Article Segmentation */
.ep-ai-learning-badge{display:inline-flex;align-items:center;min-height:34px;padding:5px 9px;border:1px solid #dcdcde;border-radius:7px;background:#f6f7f7;color:#50575e;font-size:12px;white-space:nowrap}
@media(max-width:700px){.ep-ai-learning-badge{width:100%;justify-content:center;min-height:34px}.ep-auto-clip-slot{align-items:stretch!important}}
