/* Denar Premium: isolated Hero / TOP 4 refresh, classic home only. */
@media (min-width: 761px) {
 .fi-home .fi-desktop-home .fi-lead-grid {grid-template-columns:minmax(0,3fr) minmax(0,2fr);gap:18px}
 .fi-home .fi-desktop-home .fi-top-news {min-width:0;padding:0 14px}
 .fi-home .fi-desktop-home .fi-top-list article>a {display:grid;grid-template-columns:112px minmax(0,1fr);gap:12px;align-items:center;padding:8px 0}
 .fi-home .fi-desktop-home .fi-top-thumb {width:112px;height:91px;overflow:hidden;border-radius:5px}
 .fi-home .fi-desktop-home .fi-top-thumb img {width:100%;height:100%;object-fit:cover;display:block}
 .fi-home .fi-desktop-home .fi-top-list h3 {font-size:clamp(14px,1.08vw,17px);line-height:1.17;margin:4px 0 0;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
 .fi-home .fi-desktop-home .fi-top-list .fi-category {font-size:10px}
 .fi-home .fi-desktop-home .fi-top-list small {font-size:10px}
}
@media (min-width:761px) and (max-width:1150px) {
 .fi-home .fi-desktop-home .fi-top-list article>a {grid-template-columns:86px minmax(0,1fr);gap:9px}
 .fi-home .fi-desktop-home .fi-top-thumb {width:86px;height:75px}
 .fi-home .fi-desktop-home .fi-top-list h3 {font-size:14px;-webkit-line-clamp:4}
}
@media (max-width:760px) {
 .fi-home .fi-mobile-feed .fi-mobile-top-story {padding:13px 0;border-bottom:1px solid var(--fi-line)}
 .fi-home .fi-mobile-feed .fi-mobile-top-story>a {display:grid;grid-template-columns:minmax(0,1fr) 108px;gap:14px;align-items:center;text-decoration:none}
 .fi-home .fi-mobile-top-copy {min-width:0}
 .fi-home .fi-mobile-top-copy .fi-mobile-category {font-size:10px;margin-bottom:6px}
 .fi-home .fi-mobile-top-copy h3 {margin:0;font-size:18px;line-height:1.18;font-weight:750;letter-spacing:-.01em;color:var(--fi-green);display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
 .fi-home .fi-mobile-top-copy small {display:block;margin-top:7px;font-size:11px;color:#747b76}
 .fi-home .fi-mobile-top-thumb {width:108px;height:94px;overflow:hidden;border-radius:7px}
 .fi-home .fi-mobile-top-thumb img {width:100%;height:100%;object-fit:cover;display:block}
 .fi-home .fi-mobile-hero-copy p {display:none}
}

/* Editorial homepage: same 60/40 hierarchy, preserved ad sidebar. */
@media (min-width:1024px) {
 .denar-editorial .ed-lead-layout .ed-lead-grid {grid-template-columns:minmax(0,3fr) minmax(0,2fr);gap:18px}
 .denar-editorial .ed-lead-layout .ed-top-news {padding:16px 18px 10px;min-width:0}
 .denar-editorial .ed-lead-layout .ed-top-news .fi-top-list article>a {display:grid;grid-template-columns:108px minmax(0,1fr)!important;gap:12px;align-items:center;align-content:center;padding:7px 0}
 .denar-editorial .ed-lead-layout .ed-top-news .fi-top-thumb {width:108px;height:86px;overflow:hidden;border-radius:5px}
 .denar-editorial .ed-lead-layout .ed-top-news .fi-top-thumb img {width:100%;height:100%;object-fit:cover;display:block}
 .denar-editorial .ed-lead-layout .ed-top-news h3 {font-size:clamp(14px,1.05vw,17px);line-height:1.2;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
}
@media (min-width:1024px) and (max-width:1199px) {
 .denar-editorial .ed-lead-layout .ed-top-news .fi-top-list article>a {grid-template-columns:82px minmax(0,1fr)!important;gap:9px}
 .denar-editorial .ed-lead-layout .ed-top-news .fi-top-thumb {width:82px;height:70px}
}
@media (max-width:760px) {
 .denar-editorial .ed-mobile-top .fi-mobile-top-story {padding:13px 0;border-bottom:1px solid rgba(255,255,255,.19)}
 .denar-editorial .ed-mobile-top .fi-mobile-top-story>a {display:grid;grid-template-columns:minmax(0,1fr) 108px;gap:14px;align-items:center;text-decoration:none;padding:0;height:auto;min-height:0}
 .denar-editorial .ed-mobile-top .fi-mobile-top-copy {min-width:0}
 .denar-editorial .ed-mobile-top .fi-mobile-top-copy .fi-mobile-category {display:block;font-size:10px;margin-bottom:6px}
 .denar-editorial .ed-mobile-top .fi-mobile-top-copy h3 {margin:0;font-size:18px;line-height:1.18;font-weight:700;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;overflow:hidden}
 .denar-editorial .ed-mobile-top .fi-mobile-top-copy small {display:block;margin-top:7px;font-size:11px}
 .denar-editorial .ed-mobile-top .fi-mobile-top-thumb {width:108px;height:94px;overflow:hidden;border-radius:7px}
 .denar-editorial .ed-mobile-top .fi-mobile-top-thumb img {width:100%;height:100%;object-fit:cover;display:block}
 .denar-editorial .ed-mobile .fi-mobile-hero-copy p {display:none}
}

/* Final desktop refinement: compact lead, four uninterrupted TOP stories.
   Only homepage lead components are affected; ad sidebar remains unchanged. */
@media (min-width: 1024px) {
  .denar-editorial .ed-lead-layout .ed-lead-grid {
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    align-items: stretch;
  }
  .denar-editorial .ed-lead-layout .ed-hero,
  .denar-editorial .ed-lead-layout .ed-hero > a,
  .denar-editorial .ed-lead-layout .ed-top-news {
    height: 500px;
    min-height: 500px;
    max-height: 500px;
  }
  .denar-editorial .ed-lead-layout .ed-hero {overflow:hidden;}
  .denar-editorial .ed-lead-layout .ed-hero .fi-hero-image,
  .denar-editorial .ed-lead-layout .ed-hero .fi-hero-image img {
    width:100%; height:100%; object-fit:cover;
  }
  .denar-editorial .ed-lead-layout .ed-top-news .ed-rail-heading {
    display:none;
  }
  .denar-editorial .ed-lead-layout .ed-top-news {
    padding-top:0;
    padding-bottom:0;
    overflow:hidden;
  }
  .denar-editorial .ed-lead-layout .ed-top-news .fi-top-list {
    min-height:0;
    height:100%;
    grid-template-rows:repeat(4,minmax(0,1fr));
  }
  .denar-editorial .ed-lead-layout .ed-top-news .fi-top-list article {
    min-height:0;
  }
}
