/*
Theme Name: EuroPress Vienna
Template: europress-network
Description: Child theme: populated Vienna News homepage, SEO baseline, neutral copy.
Version: 1.0.2
*/

/* Homepage (front-page.php) layout */
.vn-topbar { background:#f5f5f5; font-size:12px; color:#666; padding:6px 0; }
.vn-topbar .wrap { display:flex; justify-content:space-between; }
.vn-masthead { padding:18px 0 14px; }
.vn-masthead .custom-logo { max-height:72px; width:auto; }
.vn-tagline { color:#666; font-size:14px; margin-top:6px; }
.vn-nav { display:flex; gap:22px; padding:10px 0; border-bottom:1px solid #e3e3e3; font-weight:bold; }
.vn-nav a { color:#141414; text-decoration:none; }
.vn-newsbar { background:#141414; color:#fff; display:flex; align-items:center; font-size:13px; margin:14px 0 0; }
.vn-newsbar .vn-label { background:#EF3340; color:#fff; font-weight:bold; padding:8px 14px; white-space:nowrap; }
.vn-newsbar .vn-items { display:flex; gap:28px; padding:8px 14px; overflow:hidden; flex-wrap:nowrap; }
.vn-newsbar .vn-items a { white-space:nowrap; color:#ddd; text-decoration:none; overflow:hidden; text-overflow:ellipsis; max-width:340px; display:inline-block; }
.vn-newsbar .vn-items b { color:#999; font-weight:normal; margin-right:6px; }
.vn-grid { display:flex; gap:28px; padding:22px 0; }
.vn-lead { flex:2; min-width:0; }
.vn-lead img { width:100%; height:auto; display:block; }
.vn-cap { font-size:11px; color:#777; padding:4px 2px; }
.vn-lead h1 { font-size:26px; line-height:1.25; margin:8px 0 6px; }
.vn-lead h1 a { color:#141414; text-decoration:none; }
.vn-lead .vn-dek { color:#555; font-size:14px; line-height:1.45; }
.vn-side { flex:1; border-left:1px solid #e3e3e3; padding-left:22px; min-width:0; }
.vn-side h2 { font-size:13px; text-transform:uppercase; letter-spacing:1px; color:#EF3340; padding-bottom:8px; margin:0; }
.vn-side .vn-it { padding:9px 0; border-bottom:1px solid #eee; font-size:14px; line-height:1.35; }
.vn-side .vn-it a { color:#141414; text-decoration:none; }
.vn-side .vn-it b { font-size:11px; color:#EF3340; font-weight:normal; display:block; margin-bottom:2px; }
.vn-sections { display:flex; gap:24px; padding:8px 0 26px; }
.vn-seccol { flex:1; min-width:0; }
.vn-seccol h3 { font-size:14px; text-transform:uppercase; letter-spacing:1px; border-bottom:3px solid #EF3340; padding-bottom:6px; margin:0 0 10px; }
.vn-seccol h3 a { color:#141414; text-decoration:none; }
.vn-seccol .vn-it { font-size:14px; padding:7px 0; border-bottom:1px solid #eee; line-height:1.35; }
.vn-seccol .vn-it a { color:#141414; text-decoration:none; }
.vn-seccol .vn-it b { font-size:11px; color:#888; font-weight:normal; display:block; }
.vn-footer { border-top:1px solid #e3e3e3; padding:16px 0; font-size:12px; color:#888; }

/* Single post + archive sanity */
.custom-logo { max-height:72px; width:auto; }

@media (max-width:600px) {
  .vn-grid, .vn-sections { flex-direction:column; }
  .vn-side { border-left:none; padding-left:0; border-top:1px solid #e3e3e3; padding-top:14px; }
  .vn-nav { gap:14px; font-size:14px; flex-wrap:wrap; }
  .vn-lead h1 { font-size:21px; }
  .vn-newsbar .vn-items a { max-width:200px; }
}

/* Parent-theme topbar carries a hardcoded freshness claim; keep the real date, hide the claim. */
span.weather{display:none!important;}

/* Lead: visible date above headline; cap desktop image height. */
.vn-date{color:#c00;font-size:13px;font-weight:700;margin:14px 0 4px;}
.vn-lead .wp-post-image{max-height:460px;width:100%;object-fit:cover;}
/* Mobile ticker: one readable headline at a time, not 3 unreadable fragments. */
@media (max-width:600px){
  .vn-newsbar .vn-items a{display:none!important;}
  .vn-newsbar .vn-items a:first-child{display:block!important;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%!important;}
}
