﻿:root{--bg:#eef2f6;--card:#fff;--ink:#111923;--muted:#6f7b87;--line:#d7dde5;--red:#e72b33;--blue:#0d5eaf;--gold:#eeb718}
*{box-sizing:border-box}
html,body{margin:0;min-height:100%;background:linear-gradient(180deg,#f8fafc 0,#edf2f7 48%,#e6edf4 100%);color:var(--ink);font-family:Arial,Helvetica,sans-serif}
a{color:inherit}
.epd-head{position:sticky;top:0;z-index:20;background:rgba(255,255,255,.95);backdrop-filter:blur(10px);border-bottom:1px solid #dce2e9}
.epd-head-inner{max-width:1180px;margin:auto;min-height:72px;padding:9px 16px;display:flex;align-items:center;justify-content:space-between;gap:14px}
.epd-brand{display:flex;align-items:center;gap:10px;min-width:0}.epd-brand img{width:104px;height:auto}.epd-brand-text h1{margin:0;font-size:19px}.epd-brand-text p{margin:3px 0 0;font-size:10px;color:var(--muted);letter-spacing:.04em}
.epd-nav{display:flex;gap:7px}.epd-nav a{border:1px solid #d6dde5;background:#fff;text-decoration:none;border-radius:10px;padding:9px 12px;font-size:11px;font-weight:800}.epd-nav .archive{background:#111923;color:#fff}
.epd-main{max-width:1180px;margin:auto;padding:16px 16px 40px}
.epd-section{margin-top:16px}.epd-section:first-child{margin-top:0}
.epd-kicker{font-size:10px;font-weight:900;letter-spacing:.14em;color:#697786;text-transform:uppercase}
.epd-title-row{display:flex;align-items:end;justify-content:space-between;gap:12px;margin-bottom:9px}.epd-title-row h2{font-size:22px;margin:3px 0 0}.epd-title-row a{font-size:11px;color:#41576b;font-weight:800}
.epd-empty{grid-column:1/-1;padding:24px;border:1px dashed #c9d1da;border-radius:14px;background:rgba(255,255,255,.74);text-align:center;color:var(--muted);font-size:12px}

/* 3D shared card treatment */
.latest-mini-card,.special-compact-card,.recent-compact-card{
  background:linear-gradient(180deg,#fff 0,#fbfcfd 100%);
  border:1px solid #d6dce4;
  box-shadow:
    0 1px 0 #fff inset,
    0 10px 22px rgba(37,55,72,.11),
    0 2px 5px rgba(37,55,72,.10);
  border-radius:16px;
  text-decoration:none;
  transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease;
}
.latest-mini-card:hover,.special-compact-card:hover,.recent-compact-card:hover{
  transform:translateY(-2px);
  border-color:#c3ccd6;
  box-shadow:0 14px 30px rgba(37,55,72,.15),0 3px 7px rgba(37,55,72,.10);
}

/* Row 1: exactly two newest editions */
.latest-two-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
.latest-mini-card{display:grid;grid-template-columns:150px 1fr;min-height:188px;padding:9px}
.latest-mini-cover{position:relative;overflow:hidden;border-radius:11px;background:#eef2f5;box-shadow:0 5px 12px rgba(0,0,0,.12)}
.latest-mini-cover img{width:100%;height:100%;object-fit:cover;display:block;aspect-ratio:1055/1491}
.latest-badge{position:absolute;left:7px;top:7px;background:var(--red);color:#fff;border-radius:999px;padding:6px 9px;font-size:9px;font-weight:900;letter-spacing:.05em;box-shadow:0 4px 10px rgba(231,43,51,.28)}
.latest-mini-copy{padding:14px 14px 12px;display:flex;flex-direction:column;justify-content:center;min-width:0}
.latest-mini-copy h3{font-size:20px;line-height:1.12;margin:0 0 9px}
.latest-mini-date{font-size:13px;font-weight:800;margin-bottom:6px}
.latest-mini-meta{font-size:10px;color:var(--muted);margin-bottom:16px}
.latest-mini-read{display:inline-flex;align-items:center;justify-content:center;align-self:flex-start;background:linear-gradient(180deg,#0874d2,#075aaa);color:#fff;border-radius:9px;padding:10px 13px;font-size:11px;font-weight:900;box-shadow:0 6px 14px rgba(7,90,170,.22)}

/* Row 2: specials always in a single horizontal row */
.special-one-row{display:flex;gap:11px;overflow-x:auto;overscroll-behavior-inline:contain;scroll-snap-type:x proximity;padding:2px 1px 8px}
.special-one-row::-webkit-scrollbar{height:6px}.special-one-row::-webkit-scrollbar-thumb{background:#c5ced8;border-radius:999px}
.special-compact-card{flex:0 0 320px;display:grid;grid-template-columns:116px 1fr;gap:12px;padding:10px;scroll-snap-align:start;min-height:174px}
.special-compact-cover{border-radius:10px;overflow:hidden;background:#e9eef4;box-shadow:0 4px 12px rgba(0,0,0,.12)}
.special-compact-cover img{width:100%;height:100%;object-fit:cover;display:block;aspect-ratio:1055/1491}
.special-compact-copy{padding:5px 3px;min-width:0}.special-chip{display:inline-block;background:linear-gradient(180deg,#ed3a42,#ce1821);color:#fff;padding:4px 6px;border-radius:6px;font-size:8px;font-weight:900;letter-spacing:.03em}
.special-compact-copy h3{font-size:16px;line-height:1.15;margin:9px 0 7px}.special-compact-copy p{font-size:10px;color:var(--muted);line-height:1.35;margin:0}.special-compact-copy b{display:block;color:var(--blue);font-size:10px;margin-top:10px}
.special-dummy{pointer-events:none}

/* Row 3: other three editions */
.recent-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.recent-compact-card{overflow:hidden}
.recent-compact-cover{aspect-ratio:1055/1491;background:#fff;overflow:hidden;display:grid;place-items:center}
.recent-compact-cover img{width:100%;height:100%;object-fit:contain;object-position:center top;display:block;background:#fff}
.recent-compact-copy{padding:10px 11px 12px}.recent-compact-copy h3{font-size:13px;margin:0 0 4px}.recent-compact-copy p{font-size:9px;color:var(--muted);margin:0}.recent-compact-copy b{display:block;color:var(--blue);font-size:10px;margin-top:8px}

.archive-strip{background:linear-gradient(180deg,#163f70,#0a2d55);color:#fff;border:1px solid #0a315e;border-radius:14px;padding:14px 16px;display:flex;align-items:center;justify-content:space-between;gap:12px;box-shadow:0 10px 24px rgba(10,45,85,.18)}
.archive-strip h3{margin:0 0 3px;font-size:16px}.archive-strip p{margin:0;color:#c8d7e7;font-size:10px}.archive-strip a{border:1px solid rgba(255,255,255,.45);padding:9px 12px;border-radius:9px;text-decoration:none;font-size:10px;font-weight:900;white-space:nowrap}
.epd-foot{text-align:center;color:#85919e;font-size:9px;padding:22px 10px}

@media(max-width:700px){
 .epd-head-inner{min-height:62px;padding:7px 10px}.epd-brand img{width:78px}.epd-brand-text h1{font-size:14px}.epd-brand-text p{font-size:8px}.epd-nav a:not(.archive){display:none}.epd-nav .archive{padding:7px 9px;font-size:9px}
 .epd-main{padding:10px 9px 26px}.epd-section{margin-top:11px}.epd-title-row{margin-bottom:6px}.epd-title-row h2{font-size:17px}.epd-kicker{font-size:8px}
 /* mobile row 1: latest two */
 .latest-two-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
 .latest-mini-card{grid-template-columns:1fr;padding:6px;min-height:0;border-radius:12px}
 .latest-mini-cover{border-radius:8px}.latest-badge{font-size:7px;padding:4px 6px;left:5px;top:5px}
 .latest-mini-copy{padding:7px 5px 6px}.latest-mini-copy h3{font-size:11px;margin-bottom:5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 .latest-mini-date{font-size:9px;margin-bottom:3px}.latest-mini-meta{font-size:7px;margin-bottom:6px}.latest-mini-read{font-size:8px;padding:6px 7px;border-radius:7px}
 /* mobile row 2: special edition single row */
 .special-one-row{gap:8px;padding-bottom:5px}.special-compact-card{flex-basis:220px;grid-template-columns:82px 1fr;min-height:124px;padding:7px;border-radius:11px;gap:8px}
 .special-compact-cover{border-radius:7px}.special-chip{font-size:6px;padding:3px 4px}.special-compact-copy h3{font-size:11px;margin:6px 0 4px}.special-compact-copy p{font-size:7px}.special-compact-copy b{font-size:7px;margin-top:5px}
 /* mobile row 3: exactly three compact recent cards */
 .recent-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px}
 .recent-compact-card{border-radius:10px}.recent-compact-copy{padding:6px}.recent-compact-copy h3{font-size:8px;margin-bottom:2px}.recent-compact-copy p{font-size:6px}.recent-compact-copy b{font-size:7px;margin-top:4px}
 .archive-strip{padding:10px 11px}.archive-strip h3{font-size:12px}.archive-strip p{font-size:8px}.archive-strip a{font-size:8px;padding:7px 8px}
}


