/*
Theme Name: Urban Technoobs NewsWire RSS
Theme URI: https://www.urbantechnoobs.com
Author: Urban Technoobs
Description: Responsive, SEO Optimized, Widgets, Sitemap, Search, and RSS Feed Page Template.
Version: 13.2
*/
:root { --bg-color: #0f1014; --surface-color: #1a1b20; --surface-hover: #23252b; --text-main: #f8fafc; --text-muted: #94a3b8; --accent: #ff6200; --radius: 12px; }
body { font-family: 'Inter', sans-serif; background-color: var(--bg-color); color: var(--text-main); margin: 0; padding: 0; line-height: 1.5; }
.screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important; }
header { position: sticky; top: 0; width: 100%; background: #131418; z-index: 100; border-bottom: 1px solid rgba(255,255,255,0.05); transition: background 0.3s; }
.top-bar { display: flex; justify-content: space-between; align-items: center; padding: 1rem 3%; max-width: 1600px; margin: 0 auto; flex-wrap: wrap; }
.logo img, .custom-logo { max-height: 35px; width: auto; }
.mobile-menu-toggle { display: none; background: transparent; border: none; color: var(--text-main); font-size: 1.5rem; cursor: pointer; }
.mobile-menu-wrapper { display: flex; align-items: center; justify-content: space-between; flex: 1; margin-left: 2rem; }
.nav-links ul { display: flex; gap: 1.5rem; list-style: none; margin: 0; padding: 0; align-items: center; }
.nav-links a { color: var(--text-main); text-decoration: none; font-weight: 600; font-size: 0.9rem; transition: color 0.2s ease; }
.nav-links a:hover, .nav-links li.current-menu-item > a { color: var(--accent); }
.nav-right { display: flex; align-items: center; gap: 1.5rem; }
.social-icons a { color: var(--text-main); font-size: 1.1rem; transition: color 0.2s; }
.social-icons a:hover { color: var(--accent); }
.search-form { background: var(--surface-color); border-radius: 20px; padding: 0.4rem 1rem; display: flex; align-items: center; border: 1px solid rgba(255,255,255,0.1); }
.search-form input { background: transparent; border: none; color: white; outline: none; font-size: 0.85rem; width: 120px; }
.search-form button { background: none; border: none; color: var(--text-muted); cursor: pointer; padding: 0; }
.container { max-width: 1400px; margin: 2rem auto; padding: 0 2%; }
.ad-banner-top { background: #131418; border-radius: var(--radius); padding: 1.5rem; display: flex; justify-content: space-between; align-items: center; max-width: 900px; margin: 0 auto 2rem auto; border: 1px solid rgba(255,255,255,0.05); }
.ad-banner-text h3 { margin: 0; font-size: 1.5rem; font-weight: 800; }
.ad-banner-text p { margin: 0; color: var(--text-muted); font-size: 0.85rem; }
.ad-btn { background: var(--accent); color: white; padding: 0.5rem 1.5rem; border-radius: 6px; text-decoration: none; font-weight: 700; font-size: 0.9rem; white-space: nowrap; }
.main-layout { display: grid; grid-template-columns: 3fr 1fr; gap: 2rem; }
.sidebar { display: flex; flex-direction: column; gap: 1.5rem; }
.section-title { font-size: 1.2rem; font-weight: 800; margin-bottom: 1rem; color: var(--accent); text-transform: uppercase; }
.section-title a { color: inherit; text-decoration: none; transition: opacity 0.2s; }
.section-title a:hover { opacity: 0.8; }
.widget { background: var(--surface-color); border-radius: var(--radius); padding: 1.5rem; text-align: center; border: 1px solid rgba(255,255,255,0.05); }
.widget-title { margin: 0 0 1rem 0; font-size: 1.1rem; color: var(--accent); text-transform: uppercase; font-weight: 800; }
.widget ul { list-style: none; padding: 0; margin: 0; text-align: left; }
.widget li { margin-bottom: 0.5rem; border-bottom: 1px solid rgba(255,255,255,0.05); padding-bottom: 0.5rem; }
.widget li:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.widget a { color: var(--text-main); text-decoration: none; transition: color 0.2s; font-size: 0.9rem;}
.widget a:hover { color: var(--accent); }
.widget p { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 1rem; }
.kofi-btn { display: inline-block; background: var(--accent); color: white; padding: 0.5rem 2rem; border-radius: 6px; font-weight: 700; text-decoration: none; font-size: 0.9rem; }
.kofi-widget { background: #1a1b20; border-radius: var(--radius); padding: 1.5rem; text-align: center; border: 1px solid rgba(255,255,255,0.05); }
.sidebar-ad { background: var(--surface-color); border: 1px dashed rgba(255,255,255,0.2); height: 600px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--text-muted); font-weight: 700; border-radius: var(--radius); text-align: center;}
.card-excerpt { font-size: 0.95rem; color: #cbd5e1; margin-bottom: 0.8rem; line-height: 1.5; max-width: 800px; }
.list-excerpt { font-size: 0.75rem; color: var(--text-muted); margin-top: 0.4rem; line-height: 1.3; }
.v-excerpt { font-size: 0.8rem; color: var(--text-muted); margin-top: 0.5rem; line-height: 1.4; }
.yoast-breadcrumbs { margin-bottom: 1.5rem; font-size: 0.85rem; color: var(--text-muted); }
.yoast-breadcrumbs a { color: var(--accent); text-decoration: none; }
.hero-swiper { width: 100%; height: 500px; border-radius: var(--radius); border: 2px solid var(--accent); box-shadow: 0 0 25px rgba(255, 98, 0, 0.3); margin-bottom: 3rem; background: var(--surface-color); }
.hero-swiper .swiper-slide { position: relative; display: block; width: 100%; height: 100%; text-decoration: none; overflow: hidden; }
.hero-swiper .swiper-slide img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.hero-swiper .swiper-slide:hover img { transform: scale(1.05); }
.hero-swiper .card-content { position: absolute; bottom: 0; left: 0; width: 100%; padding: 3rem 2rem 2rem 2rem; background: linear-gradient(to top, rgba(15, 16, 20, 1) 0%, rgba(15, 16, 20, 0.9) 40%, rgba(15, 16, 20, 0) 100%); display: flex; flex-direction: column; justify-content: flex-end; z-index: 10; }
.tag { background-color: var(--accent); color: #fff; padding: 0.2rem 0.6rem; border-radius: 4px; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; width: max-content; margin-bottom: 0.5rem; }
.hero-swiper .card-title { color: var(--text-main); font-size: 2rem; font-weight: 800; margin-bottom: 0.5rem; line-height: 1.2; text-shadow: 0 2px 4px rgba(0,0,0,0.5); }
.hero-swiper .card-meta { color: var(--text-muted); font-size: 0.85rem; display: flex; align-items: center; gap: 5px; }
.swiper-button-next, .swiper-button-prev { color: var(--accent) !important; text-shadow: 0 0 10px rgba(0,0,0,0.8); }
.swiper-pagination-bullet { background: #fff !important; opacity: 0.5 !important; }
.swiper-pagination-bullet-active { background: var(--accent) !important; opacity: 1 !important; }
.three-cols { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1.5rem; }
.list-card { display: flex; gap: 1rem; background: var(--surface-color); padding: 0.8rem; border-radius: var(--radius); margin-bottom: 1rem; text-decoration: none; border: 1px solid rgba(255,255,255,0.05); transition: background 0.2s; align-items: flex-start; }
.list-card:hover { background: var(--surface-hover); }
.list-card img { width: 80px; height: 80px; border-radius: 8px; object-fit: cover; }
.list-info { flex: 1; }
.list-title { color: white; font-weight: 700; font-size: 0.9rem; line-height: 1.3; margin-bottom: 0.3rem; }
.list-meta { color: var(--text-muted); font-size: 0.7rem; margin-top: 0.3rem;}
.vertical-card { background: var(--surface-color); border-radius: var(--radius); overflow: hidden; text-decoration: none; display: block; border: 1px solid rgba(255,255,255,0.05); margin-bottom: 1rem; transition: transform 0.2s; position: relative;}
.vertical-card:hover { transform: translateY(-3px); border-color: rgba(255,98,0,0.3); }
.vertical-card img { width: 100%; height: 140px; object-fit: cover; }
.v-info { padding: 1rem; }
.v-tag { position: absolute; top: 10px; left: 10px; background: var(--accent); color: white; padding: 0.1rem 0.5rem; font-size: 0.7rem; border-radius: 4px; font-weight: bold; }
.v-score { position: absolute; top: 10px; right: 10px; background: var(--accent); color: white; padding: 0.1rem 0.5rem; font-size: 0.7rem; border-radius: 4px; font-weight: bold; }
.sitemap-container { max-width: 1200px; margin: 3rem auto; padding: 0 5%; }
.sitemap-header { font-size: 2.5rem; font-weight: 800; margin-bottom: 1rem; color: var(--accent); line-height: 1.2; text-transform: uppercase; border-bottom: 2px solid rgba(255,255,255,0.05); padding-bottom: 1rem; }
.sitemap-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; margin-top: 2rem; }
.sitemap-section { background: var(--surface-color); padding: 2rem; border-radius: var(--radius); border: 1px solid rgba(255,255,255,0.05); }
.sitemap-section h2 { color: var(--accent); font-size: 1.5rem; margin-bottom: 1.5rem; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 0.5rem; margin-top: 0;}
.sitemap-section ul { list-style: none; padding: 0; margin: 0; }
.sitemap-section li { margin-bottom: 0.8rem; border-bottom: 1px dashed rgba(255,255,255,0.05); padding-bottom: 0.8rem; }
.sitemap-section li:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.sitemap-section a { color: var(--text-main); text-decoration: none; transition: color 0.2s; display: block;}
.sitemap-section a:hover { color: var(--accent); padding-left: 5px;}
footer { text-align: center; padding: 2rem; margin-top: 3rem; border-top: 1px solid rgba(255,255,255,0.05); color: var(--text-muted); font-size: 0.85rem; }
@media(max-width: 1024px) {
    .main-layout { grid-template-columns: 1fr; }
    .hero-swiper { height: 400px; }
    .sidebar-ad { height: 300px; }
}
@media(max-width: 768px) {
    .three-cols { grid-template-columns: 1fr; }
    .mobile-menu-toggle { display: block; }
    .mobile-menu-wrapper { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; width: 100%; background: #131418; padding: 1.5rem 5%; border-bottom: 1px solid rgba(255,255,255,0.05); box-shadow: 0 10px 30px rgba(0,0,0,0.5); margin: 0; align-items: flex-start; }
    .nav-menu-active .mobile-menu-wrapper { display: flex; }
    .nav-links { width: 100%; }
    .nav-links ul { flex-direction: column; width: 100%; align-items: flex-start; gap: 0; }
    .nav-links li { width: 100%; border-bottom: 1px solid rgba(255,255,255,0.05); }
    .nav-links a { display: block; padding: 1rem 0; width: 100%; font-size: 1.1rem;}
    .nav-right { width: 100%; flex-direction: column; align-items: flex-start; gap: 1.5rem; margin-top: 1.5rem; }
    .search-form { width: 100%; justify-content: space-between; }
    .search-form input { width: 100%; }
    .ad-banner-top { flex-direction: column; text-align: center; gap: 1rem; }
    .hero-swiper { height: 300px; border-width: 1px; }
    .hero-swiper .card-title { font-size: 1.3rem; }
    .card-excerpt { display: none; }
    .hero-swiper .card-content { padding: 1.5rem 1rem 1rem 1rem; }
}
