* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Segoe UI', Tahoma, sans-serif; background: #f5f5f5; color: #333; line-height: 1.6; }
a { text-decoration: none; color: inherit; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 15px; }

.top-bar { background: #1a1a1a; color: #fff; font-size: 12px; padding: 8px 0; }
.top-bar .container { display: flex; justify-content: space-between; align-items: center; }
.top-bar-left { display: flex; gap: 20px; align-items: center; }
.weather-widget { background: rgba(255,255,255,0.1); padding: 5px 12px; border-radius: 3px; }
.weather-widget i { color: #ffd700; }
.top-bar-right a { color: #fff; margin-left: 15px; }
.top-bar-right a:hover { color: #c8102e; }

.header-main { background: #fff; padding: 15px 0; border-bottom: 3px solid #c8102e; }
.header-main .container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 32px; font-weight: 800; color: #c8102e; }
.logo span { color: #1a1a1a; }
.header-search { display: flex; border: 1px solid #ddd; border-radius: 4px; overflow: hidden; }
.header-search input { border: none; padding: 10px 15px; width: 250px; outline: none; }
.header-search button { background: #c8102e; border: none; color: #fff; padding: 10px 15px; cursor: pointer; }

.main-nav { background: #c8102e; }
.main-nav ul { list-style: none; display: flex; }
.main-nav ul li a { display: block; color: #fff; padding: 14px 20px; font-weight: 600; font-size: 14px; text-transform: uppercase; }
.main-nav ul li a:hover, .main-nav ul li.active a { background: rgba(0,0,0,0.2); }

.breaking-news { background: #1a1a1a; padding: 10px 0; }
.breaking-news .container { display: flex; align-items: center; }
.breaking-label { background: #c8102e; color: #fff; padding: 8px 15px; font-weight: 700; font-size: 12px; text-transform: uppercase; animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.7; } }
.breaking-content { flex: 1; overflow: hidden; margin-left: 15px; }
.breaking-content .ticker { display: flex; animation: ticker 30s linear infinite; }
.breaking-content .ticker-item { color: #fff; white-space: nowrap; padding: 0 30px; font-size: 13px; }
.breaking-content .ticker-item .time { color: #c8102e; font-weight: 700; margin-right: 10px; }
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* HERO SECTION */
.hero-section { padding: 20px 0; margin-top: 15px; background: #fff; }
.hero-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 15px; }

.hero-slider { position: relative; border-radius: 8px; overflow: hidden; height: 500px; background: #000; }
.slider-container { position: relative; width: 100%; height: 100%; }
.slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 0.5s ease; }
.slide.active { opacity: 1; z-index: 2; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide .overlay { position: absolute; bottom: 65px; left: 0; right: 0; padding: 30px; background: none; z-index: 3; }
.slide h2 { text-shadow: 2px 2px 8px rgba(0,0,0,0.9), 0 0 30px rgba(0,0,0,0.8), 0 0 60px rgba(0,0,0,0.6); }
.slide .category-tag { box-shadow: 0 4px 15px rgba(0,0,0,0.5); }
.slide .category-tag { background: #c8102e; color: #fff; padding: 5px 12px; font-size: 11px; font-weight: 700; text-transform: uppercase; display: inline-block; margin-bottom: 10px; }
.slide h2 { color: #fff; font-size: 26px; line-height: 1.3; margin-bottom: 10px; }
.slide .meta { color: rgba(255,255,255,0.7); font-size: 13px; }

.slider-pagination { position: absolute; bottom: 30px; right: 30px; display: flex; gap: 8px; z-index: 10; }
.slider-pagination .dot { width: 35px; height: 35px; background: rgba(255,255,255,0.3); border: none; border-radius: 4px; cursor: pointer; font-size: 14px; font-weight: 700; color: #fff; transition: all 0.3s; }
.slider-pagination .dot:hover, .slider-pagination .dot.active { background: #c8102e; }

.slider-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 45px; height: 45px; background: rgba(0,0,0,0.5); border: none; border-radius: 4px; cursor: pointer; color: #fff; font-size: 18px; z-index: 10; }
.slider-arrow:hover { background: #c8102e; }
.slider-arrow.prev { left: 15px; }
.slider-arrow.next { right: 15px; }

.hero-stack { display: flex; flex-direction: column; gap: 10px; height: 500px; }
.stack-item { position: relative; flex: 1; border-radius: 8px; overflow: hidden; display: block; }
.stack-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.stack-item:hover img { transform: scale(1.05); }
.stack-item .overlay { position: absolute; bottom: 0; left: 0; right: 0; padding: 15px; background: linear-gradient(transparent, rgba(0,0,0,0.85)); }
.stack-item .category-tag { background: #c8102e; color: #fff; padding: 3px 8px; font-size: 10px; font-weight: 700; text-transform: uppercase; display: inline-block; margin-bottom: 8px; }
.stack-item h3 { color: #fff; font-size: 14px; line-height: 1.4; }

.video-icon { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 50px; height: 50px; background: rgba(200, 16, 46, 0.9); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 18px; z-index: 5; }
.stack-item:hover .video-icon { transform: translate(-50%, -50%) scale(1.1); background: #c8102e; }

/* NEWS SECTION */
.news-section { padding: 30px 0; }
.section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; border-bottom: 3px solid #c8102e; padding-bottom: 10px; }
.section-header h2 { font-size: 20px; color: #1a1a1a; text-transform: uppercase; }
.section-header a { color: #c8102e; font-size: 13px; font-weight: 600; }

.news-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.news-card { background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,0.08); transition: transform 0.3s; }
.news-card:hover { transform: translateY(-5px); box-shadow: 0 5px 20px rgba(0,0,0,0.15); }
.news-card .card-image { position: relative; height: 180px; overflow: hidden; }
.news-card .card-image img { width: 100%; height: 100%; object-fit: cover; }
.news-card .card-image .category-tag { position: absolute; top: 10px; left: 10px; background: #c8102e; color: #fff; padding: 4px 10px; font-size: 10px; font-weight: 700; text-transform: uppercase; }
.news-card .card-content { padding: 15px; }
.news-card .card-content h3 { font-size: 15px; line-height: 1.4; margin-bottom: 10px; color: #1a1a1a; }
.news-card:hover h3 { color: #c8102e; }
.news-card .card-meta { font-size: 12px; color: #888; }

/* CATEGORY PAGE */
.page-header { background: #fff; padding: 20px 0; border-bottom: 1px solid #eee; }
.breadcrumb { font-size: 13px; color: #666; margin-bottom: 10px; }
.breadcrumb a { color: #c8102e; }
.breadcrumb span { margin: 0 8px; color: #ccc; }
.page-title { font-size: 28px; color: #1a1a1a; }

.category-content { padding: 30px 0; }
.content-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 30px; }

.news-list .news-item { display: flex; background: #fff; border-radius: 8px; overflow: hidden; margin-bottom: 20px; box-shadow: 0 2px 10px rgba(0,0,0,0.08); }
.news-list .news-item .item-image { width: 300px; height: 200px; flex-shrink: 0; }
.news-list .news-item .item-image img { width: 100%; height: 100%; object-fit: cover; }
.news-list .news-item .item-content { padding: 20px; display: flex; flex-direction: column; justify-content: center; }
.news-list .news-item .category-tag { background: #c8102e; color: #fff; padding: 4px 10px; font-size: 10px; font-weight: 700; text-transform: uppercase; display: inline-block; margin-bottom: 10px; width: fit-content; }
.news-list .news-item h3 { font-size: 18px; margin-bottom: 10px; line-height: 1.4; }
.news-list .news-item:hover h3 { color: #c8102e; }
.news-list .news-item p { color: #666; font-size: 14px; margin-bottom: 10px; }
.news-list .news-item .item-meta { font-size: 12px; color: #888; }

.sidebar .widget { background: #fff; border-radius: 8px; padding: 20px; margin-bottom: 20px; box-shadow: 0 2px 10px rgba(0,0,0,0.08); }
.sidebar .widget-title { font-size: 16px; color: #1a1a1a; margin-bottom: 15px; padding-bottom: 10px; border-bottom: 2px solid #c8102e; }
.sidebar .popular-item { display: flex; gap: 12px; margin-bottom: 15px; padding-bottom: 15px; border-bottom: 1px solid #eee; }
.sidebar .popular-item:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.sidebar .popular-item img { width: 80px; height: 60px; object-fit: cover; border-radius: 4px; }
.sidebar .popular-item h4 { font-size: 13px; line-height: 1.4; }
.sidebar .popular-item:hover h4 { color: #c8102e; }

/* ARTICLE PAGE */
.article-header { background: #fff; padding: 30px 0; border-bottom: 1px solid #eee; }
.article-header .category-tag { background: #c8102e; color: #fff; padding: 5px 12px; font-size: 11px; font-weight: 700; text-transform: uppercase; display: inline-block; margin-bottom: 15px; }
.article-header h1 { font-size: 32px; line-height: 1.3; color: #1a1a1a; margin-bottom: 15px; }
.article-meta { display: flex; gap: 20px; font-size: 13px; color: #666; }

.article-content { padding: 30px 0; }
.article-body { background: #fff; border-radius: 8px; padding: 30px; box-shadow: 0 2px 10px rgba(0,0,0,0.08); }
.article-body .featured-image { width: 100%; border-radius: 8px; margin-bottom: 25px; }
.article-body .article-text { font-size: 16px; line-height: 1.8; color: #333; }
.article-body .article-text p { margin-bottom: 20px; }

.share-buttons { display: flex; gap: 10px; margin-top: 30px; padding-top: 20px; border-top: 1px solid #eee; }
.share-buttons a { display: flex; align-items: center; gap: 8px; padding: 10px 15px; border-radius: 4px; font-size: 13px; color: #fff; }
.share-buttons .facebook { background: #3b5998; }
.share-buttons .twitter { background: #1da1f2; }
.share-buttons .whatsapp { background: #25d366; }
.share-buttons .telegram { background: #0088cc; }

.related-news { margin-top: 30px; }
.related-news h3 { font-size: 18px; margin-bottom: 20px; padding-bottom: 10px; border-bottom: 2px solid #c8102e; }
.related-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.related-grid .related-item { background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,0.08); }
.related-grid .related-item img { width: 100%; height: 120px; object-fit: cover; }
.related-grid .related-item h4 { padding: 12px; font-size: 13px; line-height: 1.4; }

/* FOOTER */
.footer { background: #1a1a1a; color: #fff; padding: 40px 0 20px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-bottom: 30px; }
.footer-col h4 { font-size: 16px; margin-bottom: 20px; padding-bottom: 10px; border-bottom: 2px solid #c8102e; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: #aaa; font-size: 14px; }
.footer-col ul li a:hover { color: #c8102e; }
.footer-bottom { text-align: center; padding-top: 20px; border-top: 1px solid #333; font-size: 13px; color: #666; }
.footer-social { display: flex; gap: 15px; margin-top: 15px; }
.footer-social a { color: #fff; font-size: 18px; }
.footer-social a:hover { color: #c8102e; }

/* RESPONSIVE */
@media (max-width: 992px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-slider { height: 350px; }
    .hero-stack { flex-direction: row; height: 200px; }
    .news-grid { grid-template-columns: repeat(2, 1fr); }
    .content-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .header-search input { width: 150px; }
    .main-nav ul { flex-wrap: wrap; }
    .main-nav ul li a { padding: 10px 15px; font-size: 12px; }
    .hero-stack { flex-direction: column; height: auto; }
    .stack-item { height: 150px; }
    .news-grid { grid-template-columns: 1fr; }
    .news-list .news-item { flex-direction: column; }
    .news-list .news-item .item-image { width: 100%; height: 200px; }
    .related-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; }
}
.card-excerpt { font-size: 13px; color: #666; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 8px; }

/* Writers Section */
.writers-section { padding: 25px 0; background: #fff; border-bottom: 1px solid #eee; }
.writers-section .section-header { margin-bottom: 20px; }
.writers-section .section-header h2 i { margin-right: 10px; color: #c8102e; }

.writers-slider { overflow: hidden; position: relative; }
.writers-track { display: flex; animation: scrollWriters 60s linear infinite; gap: 20px; overflow-x: auto; scroll-behavior: smooth; padding: 10px 0; -ms-overflow-style: none; scrollbar-width: none; }
.writers-track::-webkit-scrollbar { display: none; }

.writer-card { display: flex; align-items: center; gap: 15px; min-width: 280px; padding: 15px 20px; background: #f8f9fa; border-radius: 12px; border: 1px solid #eee; transition: all 0.3s ease; }
.writer-card:hover { background: #fff; border-color: #c8102e; box-shadow: 0 5px 20px rgba(200,16,46,0.15); transform: translateY(-3px); }

.writer-photo { width: 60px; height: 60px; border-radius: 50%; overflow: hidden; border: 3px solid #c8102e; flex-shrink: 0; }
.writer-photo img { width: 100%; height: 100%; object-fit: cover; }

.writer-info { flex: 1; min-width: 0; }
.writer-info h4 { font-size: 15px; font-weight: 700; color: #1a1a1a; margin-bottom: 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.writer-info p { font-size: 13px; color: #666; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.writer-card:hover .writer-info h4 { color: #c8102e; }
@keyframes scrollWriters { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.writers-track:hover { animation-play-state: paused; }

/* Video Section */
.video-card .card-image { position: relative; }
.video-overlay { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-size: 60px; color: rgba(255,255,255,0.9); text-shadow: 0 2px 10px rgba(0,0,0,0.5); transition: all 0.3s; z-index: 2; }
.video-card:hover .video-overlay { transform: translate(-50%, -50%) scale(1.1); color: #fff; }
.video-duration { position: absolute; bottom: 10px; right: 10px; background: rgba(0,0,0,0.8); color: #fff; padding: 3px 8px; font-size: 12px; font-weight: 600; border-radius: 3px; z-index: 2; }
.video-section .section-header h2 i { color: #c8102e; margin-right: 10px; }

/* Main Content Area with Sidebar */
.main-content-area { padding: 30px 0; background: #f5f5f5; }
.content-with-sidebar { display: grid; grid-template-columns: 1fr 300px; gap: 30px; }
.main-columns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.news-column .section-header { margin-bottom: 20px; padding-bottom: 10px; border-bottom: 3px solid #c8102e; }
.news-column .section-header h2 { font-size: 18px; }
.news-column .section-header h2 i { color: #c8102e; margin-right: 8px; }
.column-news { display: flex; flex-direction: column; gap: 15px; }
.column-card { display: block; background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.08); transition: all 0.3s; }
.column-card:hover { transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0,0,0,0.12); }
.column-card .card-image { position: relative; height: 150px; overflow: hidden; }
.column-card .card-image img { width: 100%; height: 100%; object-fit: cover; }
.column-card .card-content { padding: 12px; }
.column-card .card-content h3 { font-size: 14px; line-height: 1.4; color: #1a1a1a; margin: 0; }
.column-card .card-excerpt { font-size: 12px; color: #666; margin-top: 8px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* Home Sidebar */
.home-sidebar { display: flex; flex-direction: column; gap: 25px; }
.home-sidebar .widget { background: #fff; border-radius: 8px; padding: 20px; box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
.home-sidebar .widget-title { font-size: 16px; margin-bottom: 15px; padding-bottom: 10px; border-bottom: 3px solid #c8102e; color: #1a1a1a; }
.home-sidebar .popular-item { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid #eee; }
.home-sidebar .popular-item:last-child { border-bottom: none; }
.home-sidebar .popular-item .rank { width: 24px; height: 24px; background: #c8102e; color: #fff; border-radius: 4px; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; flex-shrink: 0; }
.home-sidebar .popular-item img { width: 60px; height: 45px; object-fit: cover; border-radius: 4px; flex-shrink: 0; }
.home-sidebar .popular-item h4 { font-size: 13px; line-height: 1.3; color: #333; margin: 0; flex: 1; }
.home-sidebar .popular-item:hover h4 { color: #c8102e; }
.category-list { list-style: none; padding: 0; margin: 0; }
.category-list li { margin-bottom: 8px; }
.category-list li a { display: flex; align-items: center; color: #333; font-size: 14px; padding: 8px 0; border-bottom: 1px solid #eee; transition: all 0.3s; }
.category-list li a i { font-size: 10px; margin-right: 10px; color: #c8102e; }
.category-list li a:hover { color: #c8102e; padding-left: 5px; }
.social-buttons { display: flex; flex-direction: column; gap: 10px; }
.social-btn { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 12px; border-radius: 6px; color: #fff; font-size: 14px; font-weight: 500; transition: all 0.3s; }
.social-btn.facebook { background: #1877f2; }
.social-btn.twitter { background: #1da1f2; }
.social-btn.youtube { background: #ff0000; }
.social-btn.instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-btn:hover { opacity: 0.9; transform: translateY(-2px); }

@media (max-width: 1024px) {
    .content-with-sidebar { grid-template-columns: 1fr; }
    .main-columns { grid-template-columns: repeat(2, 1fr); }
    .home-sidebar { display: grid; grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .main-columns { grid-template-columns: 1fr; }
    .home-sidebar { grid-template-columns: 1fr; }
}
