/* asfutbol News CSS */
:root{
  --text:#0f172a;
  --muted:#64748b;
  --border:#e2e8f0;
  --soft:#f8fafc;
  --shadow: 0 8px 20px rgba(15, 23, 42, .06);
}

*{box-sizing:border-box}
body{
  margin:0;
  font-family:Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  background:#fff;
}
img{max-width:100%;height:auto;display:block}
a{color:inherit}
.screen-reader-text{position:absolute;left:-9999px}

.container{max-width:1160px;margin:0 auto;padding:0 14px}

.site-header{
  position:sticky;top:0;z-index:20;
  background:#fff;border-bottom:1px solid var(--border);
}
.header-inner{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 0}
.brand{display:flex;flex-direction:column;gap:2px}
.brand-link{text-decoration:none}
.brand-name{font-weight:900;letter-spacing:.2px}
.brand-tagline{font-size:12px;color:var(--muted)}
.header-right{display:flex;align-items:center;gap:12px;flex-wrap:wrap;justify-content:flex-end}

.nav-list{display:flex;gap:10px;flex-wrap:wrap;margin:0;padding:0;list-style:none}
.nav-list a{
  display:inline-flex;align-items:center;gap:8px;
  padding:10px 12px;border:1px solid var(--border);border-radius:12px;
  text-decoration:none;font-size:13px;background:#fff;
}
.nav-list a:hover{background:var(--soft)}

.searchform{display:flex;gap:8px;align-items:center}
.search-input{
  width:220px;max-width:40vw;
  padding:10px 12px;border:1px solid var(--border);border-radius:12px;
  font-size:13px;outline:none;
}
.search-btn{
  padding:10px 12px;border:1px solid var(--border);border-radius:12px;background:var(--soft);
  font-weight:800;cursor:pointer;font-size:13px;
}

.layout{
  display:grid;
  grid-template-columns:260px 1fr 320px;
  gap:16px;
  align-items:start;
}

.left-sidebar,.right-sidebar{position:sticky;top:72px}
.center{min-width:0}

.card{
  background:#fff;border:1px solid var(--border);border-radius:16px;padding:14px;
  box-shadow: var(--shadow);
}

.widget-title{margin:0 0 10px 0;font-size:14px;font-weight:900}
.cat-list{margin:0;padding-left:18px;color:var(--muted);font-size:13px;line-height:1.8}
.cat-list a{text-decoration:none}
.cat-list a:hover{text-decoration:underline}

.feed-head{
  padding:16px;border:1px solid var(--border);border-radius:16px;background:var(--soft);
}
.feed-title{margin:0 0 6px 0;font-size:24px;line-height:1.2;font-weight:900}
.feed-sub{font-size:13px;line-height:1.8;color:var(--muted)}
.muted{color:var(--muted)}

.featured{
  margin-top:14px;border:1px solid var(--border);border-radius:18px;overflow:hidden;background:#fff;
  box-shadow: var(--shadow);
}
.featured-link{display:grid;grid-template-columns: 1.2fr 1fr; text-decoration:none}
.featured-media img{width:100%;height:100%;object-fit:cover;min-height:240px}
.featured-body{padding:16px}
.kicker{font-size:12px;color:var(--muted);font-weight:800;letter-spacing:.4px;text-transform:uppercase}
.featured-title{margin:8px 0 10px 0;font-size:22px;line-height:1.25}
.meta{font-size:12px;color:var(--muted);display:flex;gap:8px;align-items:center;margin-bottom:10px}
.excerpt{margin:0;color:var(--muted);line-height:1.8;font-size:13px}

.news-grid{
  margin-top:14px;
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap:12px;
}
.news-card{
  border:1px solid var(--border);border-radius:16px;overflow:hidden;background:#fff;box-shadow: var(--shadow);
}
.news-link{display:grid;grid-template-columns: 140px 1fr;gap:0;text-decoration:none}
.news-thumb img{width:100%;height:100%;object-fit:cover;min-height:110px}
.news-body{padding:12px}
.news-title{margin:6px 0 8px 0;font-size:15px;line-height:1.35}

.thumb-fallback{
  width:100%;height:100%;
  display:flex;align-items:center;justify-content:center;
  background:var(--soft);color:var(--muted);font-weight:900;
  min-height:110px;
}
.thumb-fallback.small{min-height:90px}

.pagination{margin:18px 0}
.nav-links{display:flex;gap:10px;flex-wrap:wrap}
.page-numbers{
  padding:10px 12px;border:1px solid var(--border);border-radius:12px;text-decoration:none;background:#fff;
  font-size:13px
}
.page-numbers.current{background:var(--soft);font-weight:900}

.article{margin-top:0}
.article-head{margin-top:0}
.article-title{margin:8px 0 10px 0;font-size:28px;line-height:1.15}
.article-meta{font-size:12px;color:var(--muted);display:flex;gap:8px;flex-wrap:wrap}
.article-thumb{margin-top:14px;border-radius:18px;overflow:hidden;border:1px solid var(--border);box-shadow: var(--shadow)}
.article-thumb img{width:100%;height:auto}
.article-body{margin-top:14px}
.article-body p{color:var(--text);line-height:1.95;font-size:15px}
.article-body h2,.article-body h3{margin-top:18px}
.tag-row{margin-top:14px}
.tag{display:inline-block;margin:6px 8px 0 0;padding:6px 10px;border:1px solid var(--border);border-radius:999px;background:var(--soft);font-size:12px;color:var(--muted)}
.post-nav{display:flex;justify-content:space-between;gap:12px;margin-top:16px}
.post-nav a{text-decoration:none}
.post-nav a:hover{text-decoration:underline}

.mini-list{margin:0;padding:0;list-style:none;display:grid;gap:10px}
.mini-list a{text-decoration:none;font-weight:700;font-size:13px;line-height:1.4}
.mini-list a:hover{text-decoration:underline}
.mini-meta{font-size:12px;color:var(--muted);margin-top:2px}

.site-footer{margin-top:28px;border-top:1px solid var(--border);background:#fff}
.footer-inner{padding:18px 0;display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap}
.footer-brand{font-weight:900}
.footer-copy{font-size:12px;color:var(--muted)}
.footer-list{display:flex;gap:10px;flex-wrap:wrap;margin:0;padding:0;list-style:none}
.footer-list a{font-size:13px;text-decoration:none;color:var(--muted)}
.footer-list a:hover{text-decoration:underline}

#backTop{
  position:fixed;right:16px;bottom:16px;
  width:44px;height:44px;border-radius:14px;
  border:1px solid var(--border);background:#fff;cursor:pointer;font-weight:900;
  box-shadow: var(--shadow);
}

@media (max-width: 1024px){
  .layout{grid-template-columns:1fr}
  .left-sidebar,.right-sidebar{position:static;top:auto}
  .featured-link{grid-template-columns:1fr}
  .featured-media img{min-height:200px}
  .news-grid{grid-template-columns:1fr}
  .news-link{grid-template-columns:110px 1fr}
  .search-input{width:180px}
}
