/*
Theme Name: KabarGoal Magazine
Theme URI: https://kabargoal.com/
Author: KabarGoal
Description: Fast football news magazine with advertising, timed sticky posts and news sitemap.
Version: 1.1.0
Requires PHP: 8.0
Text Domain: kabargoal
*/
:root{--navy:#101c2c;--green:#10b981;--bg:#f3f5f7}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:#182332;font:16px/1.65 system-ui,Arial,sans-serif}a{color:inherit;text-decoration:none}a:hover{color:#078b68}.wrap{max-width:1220px;margin:auto;padding:0 20px}.site-header{background:var(--navy);color:white}.brand{font-size:30px;font-weight:900;padding:20px 0}.brand span{color:var(--green)}.nav{background:#182b40}.nav ul{display:flex;gap:25px;list-style:none;margin:0;padding:12px 0;flex-wrap:wrap}.layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:28px;margin-top:30px}.cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.card,.widget,.article{background:#fff;border-radius:10px;overflow:hidden;box-shadow:0 2px 12px #101c2c0a}.card img,.hero img{width:100%;aspect-ratio:16/9;object-fit:cover;display:block}.card-body{padding:16px}.card h2{font-size:21px;line-height:1.3;margin:5px 0}.meta{color:#738092;font-size:13px}.hero{position:relative;overflow:hidden;border-radius:12px;margin-bottom:24px;background:#132033;color:white}.hero img{max-height:440px;opacity:.68}.hero-content{position:absolute;bottom:0;padding:28px;background:linear-gradient(transparent,#000b);width:100%}.hero h2{font-size:clamp(24px,3vw,38px);line-height:1.2}.widget{padding:18px;margin-bottom:20px}.widget img{width:90px;aspect-ratio:16/9;object-fit:cover;float:left;margin-right:12px}.widget li{clear:both;min-height:65px;margin-bottom:12px}.article{padding:28px}.article img{max-width:100%;height:auto}.article .featured{width:100%;aspect-ratio:16/9;object-fit:cover}.footer{background:var(--navy);color:white;padding:32px 0;margin-top:40px}.sponsored{display:inline-block;font-size:11px;background:#e4f8ef;color:#087f5b;padding:2px 7px;border-radius:4px}@media(max-width:800px){.layout{grid-template-columns:1fr}.cards{grid-template-columns:1fr}.hero-content{padding:15px}}
/* v1.1.0: consistent 16:9 thumbnails throughout the magazine */
.card>a,.hero>a{display:block;position:relative}
.card>a img,.hero>a img,.kg-widget-link img,.kg-image-placeholder,.article img.featured{display:block;width:100%;height:auto;aspect-ratio:16 / 9;object-fit:cover;object-position:center}
.hero img{max-height:none;opacity:.68}
.hero{aspect-ratio:16 / 9}
.hero>a,.hero>a>img{width:100%;height:100%}
.hero-content{z-index:1;bottom:0;left:0}
.kg-widget-posts{list-style:none;margin:0;padding:0}
.kg-widget-posts li{margin:0 0 14px;min-height:0;clear:none}
.kg-widget-link{display:grid;grid-template-columns:minmax(0,112px) minmax(0,1fr);align-items:start;gap:12px}
.kg-widget-link img,.kg-widget-link .kg-image-placeholder{float:none;margin:0;width:112px;height:auto;border-radius:5px;background:#e5eaf0}
.kg-widget-title{font-weight:650;line-height:1.4;font-size:14px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
@media(max-width:600px){.hero h2{font-size:clamp(18px,5vw,26px)}.hero-content{padding:15px}.kg-widget-link{grid-template-columns:112px minmax(0,1fr)}}
