.sw-home{ padding:30px 0 0; }

/* HERO */
.sw-hero{ display:grid; grid-template-columns:1.3fr 1fr; gap:16px; margin-bottom:36px; }
.sw-hero-main{ position:relative; display:block; min-height:420px; background-size:cover; background-position:center; color:#fff; }
.sw-hero-main .sw-badge{ position:absolute; top:16px; left:16px; }
.sw-hero-caption{ position:absolute; left:0; right:0; bottom:0; padding:24px; background:linear-gradient(transparent,rgba(0,0,0,.85)); }
.sw-hero-caption h2{ font-size:26px; margin-bottom:8px; }
.sw-hero-caption p{ font-size:13px; color:#ddd; max-width:90%; margin-bottom:8px; }
.sw-hero-grid{ display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.sw-hero-card{ position:relative; min-height:200px; background-size:cover; background-position:center; color:#fff; display:flex; flex-direction:column; justify-content:flex-end; padding:16px; }
.sw-hero-card:before{ content:""; position:absolute; inset:0; background:linear-gradient(transparent 40%,rgba(0,0,0,.75)); }
.sw-hero-card .sw-badge{ position:relative; z-index:1; align-self:flex-start; margin-bottom:auto; }
.sw-hero-card h3{ position:relative; z-index:1; font-size:15px; line-height:1.3; }

/* TRENDING */
.sw-trending{ margin-bottom:36px; }
.sw-trending-row{ display:flex; gap:16px; overflow-x:auto; }
.sw-trending-item{ flex:0 0 150px; }
.sw-trending-item img{ width:100%; height:90px; object-fit:cover; margin-bottom:8px; }
.sw-trending-item span{ font-size:12px; font-weight:600; line-height:1.3; display:block; }

/* CONTENT GRID */
.sw-content-grid{ display:grid; grid-template-columns:2.5fr 1fr; gap:36px; align-items:start; }

/* LATEST ARTICLES */
.sw-section-head{ display:flex; align-items:center; justify-content:space-between; margin-bottom:20px; flex-wrap:wrap; gap:12px; }
.sw-tabs a{ font-size:12px; font-weight:700; text-transform:uppercase; margin-left:14px; color:#888; }
.sw-tabs a:first-child{ margin-left:0; }
.sw-tabs a.active{ color:var(--sw-red); border-bottom:2px solid var(--sw-red); padding-bottom:4px; }
.sw-latest-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; margin-bottom:26px; }
.sw-article-card{ border:1px solid var(--sw-border); }
.sw-article-thumb{ display:block; height:140px; background-size:cover; background-position:center; }
.sw-article-body{ padding:14px; }
.sw-cat-label{ font-size:11px; font-weight:700; text-transform:uppercase; color:var(--sw-red); }
.sw-article-body h3{ font-size:14px; font-weight:700; line-height:1.35; margin:6px 0; }
.sw-load-more{ text-align:center; margin-bottom:40px; }

/* EXPLORE CATEGORIES */
.sw-categories{ margin-bottom:10px; }
.sw-cat-grid{ display:grid; grid-template-columns:repeat(5,1fr); gap:16px; }
.sw-cat-card{ position:relative; height:110px; background-size:cover; background-position:center; display:flex; flex-direction:column; justify-content:center; align-items:center; text-align:center; color:#fff; }
.sw-cat-card:before{ content:""; position:absolute; inset:0; background:rgba(10,10,10,.55); }
.sw-cat-name,.sw-cat-count{ position:relative; z-index:1; }
.sw-cat-name{ font-size:14px; font-weight:700; margin-bottom:4px; }
.sw-cat-count{ font-size:11px; color:#ddd; }

/* SIDEBAR */
.sw-widget{ background:var(--sw-bg); padding:22px; margin-bottom:24px; }
.sw-widget h4{ font-size:14px; text-transform:uppercase; margin-bottom:14px; }
.sw-widget-newsletter p{ font-size:13px; color:var(--sw-gray); margin-bottom:14px; }
.sw-widget-newsletter form{ display:flex; flex-direction:column; gap:10px; }
.sw-widget-newsletter input{ border:1px solid var(--sw-border); padding:10px 12px; font-size:13px; }
.sw-widget-newsletter button{ background:var(--sw-red); color:#fff; border:none; padding:10px; font-weight:700; text-transform:uppercase; font-size:12px; cursor:pointer; }
.sw-widget-social ul li a{ display:flex; align-items:center; gap:10px; font-size:13px; font-weight:600; padding:8px 0; border-bottom:1px solid var(--sw-border); }
.sw-widget-social ul li:last-child a{ border-bottom:none; }
.sw-widget-social span{ margin-left:auto; font-size:11px; color:#999; font-weight:400; }
.sw-widget-popular ul li{ display:flex; gap:12px; padding:10px 0; border-bottom:1px solid var(--sw-border); }
.sw-widget-popular ul li:last-child{ border-bottom:none; }
.sw-popular-thumb{ flex:0 0 60px; height:60px; background-size:cover; background-position:center; display:block; }
.sw-widget-popular ul li div a{ font-size:13px; font-weight:600; line-height:1.3; display:block; margin-bottom:4px; }

/* FOUR COLUMN SECTION */
.sw-fourcol{ display:grid; grid-template-columns:repeat(4,1fr); gap:24px; margin:40px 0; padding-top:30px; border-top:1px solid var(--sw-border); }
.sw-list-posts li{ display:flex; gap:10px; padding:10px 0; border-bottom:1px solid var(--sw-border); }
.sw-list-posts li:last-child{ border-bottom:none; }
.sw-list-thumb{ flex:0 0 55px; height:55px; background-size:cover; background-position:center; display:block; position:relative; }
.sw-list-posts li div a{ font-size:12.5px; font-weight:600; line-height:1.3; display:block; margin-bottom:4px; }
.sw-video-thumb .sw-play{ position:absolute; inset:0; display:flex; align-items:center; justify-content:center; color:#fff; background:rgba(0,0,0,.3); font-size:11px; }

.sw-featured-main{ position:relative; display:block; height:190px; background-size:cover; background-position:center; color:#fff; margin-bottom:14px; padding:14px; display:flex; flex-direction:column; justify-content:flex-end; }
.sw-featured-main:before{ content:""; position:absolute; inset:0; background:linear-gradient(transparent 40%,rgba(0,0,0,.8)); }
.sw-featured-main .sw-badge,.sw-featured-main h3,.sw-featured-main .sw-meta{ position:relative; z-index:1; }
.sw-featured-main h3{ font-size:15px; margin:8px 0 4px; }
.sw-featured-sub{ display:flex; gap:10px; padding:8px 0; }
.sw-featured-sub a{ font-size:12.5px; font-weight:600; }

/* MORE ARTICLES */
.sw-more-articles{ margin-bottom:50px; }
.sw-more-row{ display:grid; grid-template-columns:repeat(8,1fr); gap:14px; }
.sw-more-item{ display:block; }
.sw-more-thumb{ display:flex; align-items:center; justify-content:center; height:80px; background-size:cover; background-position:center; color:#fff; margin-bottom:8px; position:relative; }
.sw-more-title{ font-size:12px; font-weight:600; line-height:1.3; display:block; }

/* RESPONSIVE */
@media(max-width:991px){
	.sw-content-grid{ grid-template-columns:1fr; }
	.sw-cat-grid{ grid-template-columns:repeat(3,1fr); }
	.sw-fourcol{ grid-template-columns:repeat(2,1fr); }
	.sw-more-row{ grid-template-columns:repeat(4,1fr); }
}
@media(max-width:767px){
	.sw-hero{ grid-template-columns:1fr; }
	.sw-hero-grid{ grid-template-columns:1fr 1fr; }
	.sw-latest-grid{ grid-template-columns:repeat(2,1fr); }
	.sw-cat-grid{ grid-template-columns:repeat(2,1fr); }
	.sw-fourcol{ grid-template-columns:1fr; }
	.sw-more-row{ grid-template-columns:repeat(2,1fr); }
}
