/* Reset and Base Styles */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
body{font-family:'Inter',sans-serif;line-height:1.6;color:#333;background:#F8F9FA}
h1,h2,h3,h4,h5,h6{font-family:'Playfair Display',serif;font-weight:600}
a{text-decoration:none;transition:all 0.3s ease}
img{max-width:100%;height:auto}

/* Breaking News Ticker */
.breaking-news-ticker{background:#1A1A1A;color:white;padding:8px 0;overflow:hidden}
.breaking-badge{background:#C8102E;color:white;padding:4px 12px;font-size:0.75rem;font-weight:700;text-transform:uppercase;letter-spacing:1px;margin-right:15px;white-space:nowrap;animation:pulse 2s infinite}
@keyframes pulse{0%,100%{opacity:1}50%{opacity:0.7}}
.ticker-wrapper{overflow:hidden;flex:1}
.ticker-content{white-space:nowrap;animation:ticker 30s linear infinite}
@keyframes ticker{0%{transform:translateX(100%)}100%{transform:translateX(-100%)}}

/* Main Header */
.main-header{background:white;box-shadow:0 2px 10px rgba(0,0,0,0.1);position:sticky;top:0;z-index:1000}
.navbar{padding:10px 0}
.site-title{font-size:1.8rem;font-weight:700;color:#1A1A1A;margin:0;line-height:1.2}
.site-tagline{font-size:0.75rem;color:#6C757D;margin:0;font-family:'Inter',sans-serif}
.navbar-nav .nav-link{color:#1A1A1A;font-weight:500;padding:8px 16px!important;position:relative;font-family:'Inter',sans-serif}
.navbar-nav .nav-link::after{content:'';position:absolute;bottom:0;left:50%;transform:translateX(-50%);width:0;height:2px;background:#C8102E;transition:width 0.3s ease}
.navbar-nav .nav-link:hover::after,.navbar-nav .nav-link.active::after{width:70%}
.navbar-nav .nav-link:hover,.navbar-nav .nav-link.active{color:#C8102E}
.search-form .input-group{border-radius:25px;overflow:hidden;border:2px solid #E5E5E5;transition:all 0.3s ease}
.search-form .input-group:focus-within{border-color:#C8102E;box-shadow:0 0 0 0.2rem rgba(200,16,46,0.1)}
.search-form .form-control{border:none;padding:8px 16px;font-size:0.9rem}
.search-form .form-control:focus{box-shadow:none}
.btn-search{background:#C8102E;color:white;border:none;padding:8px 16px;transition:all 0.3s ease}
.btn-search:hover{background:#a00d24;color:white}

/* Hero Section */
.hero-section{padding:40px 0}
.hero-card{background:white;border-radius:12px;overflow:hidden;box-shadow:0 5px 20px rgba(0,0,0,0.08);transition:transform 0.3s ease,box-shadow 0.3s ease}
.hero-card:hover{transform:translateY(-5px);box-shadow:0 10px 30px rgba(0,0,0,0.12)}
.hero-image-wrapper{position:relative;overflow:hidden}
.hero-image{width:100%;height:400px;object-fit:cover;transition:transform 0.5s ease}
.hero-card:hover .hero-image{transform:scale(1.05)}
.hero-badge{position:absolute;top:20px;left:20px;z-index:2}
.category-badge{background:#C8102E;color:white;padding:6px 16px;font-size:0.8rem;font-weight:600;text-transform:uppercase;letter-spacing:0.5px;border-radius:4px}
.hero-content{padding:25px}
.hero-title{font-size:2rem;margin-bottom:15px;line-height:1.3}
.hero-title a{color:#1A1A1A}
.hero-title a:hover{color:#C8102E}
.hero-excerpt{color:#6C757D;font-size:1.05rem;margin-bottom:20px;line-height:1.6}
.hero-meta{display:flex;gap:20px;margin-bottom:20px;font-size:0.9rem;color:#6C757D}
.hero-meta span i{margin-right:5px;color:#C8102E}
.btn-read-more{background:#C8102E;color:white;padding:12px 30px;border-radius:6px;font-weight:600;transition:all 0.3s ease;display:inline-block}
.btn-read-more:hover{background:#a00d24;color:white;transform:translateX(5px)}

/* Trending Sidebar */
.trending-sidebar{background:white;border-radius:12px;padding:25px;box-shadow:0 5px 20px rgba(0,0,0,0.08);height:100%}
.trending-title{font-size:1.3rem;margin-bottom:25px;padding-bottom:15px;border-bottom:3px solid #C8102E;color:#1A1A1A}
.trending-title i{color:#C8102E}
.trending-item{display:flex;gap:15px;padding:15px 0;border-bottom:1px solid #E5E5E5;transition:all 0.3s ease}
.trending-item:last-child{border-bottom:none}
.trending-item:hover{transform:translateX(5px)}
.trending-number{font-size:1.8rem;font-weight:700;color:#C8102E;opacity:0.3;min-width:40px;font-family:'Playfair Display',serif}
.trending-content h4{font-size:0.95rem;margin-bottom:5px;line-height:1.4}
.trending-content h4 a{color:#1A1A1A}
.trending-content h4 a:hover{color:#C8102E}
.trending-meta{font-size:0.8rem;color:#6C757D}

/* News Grid Section */
.news-grid-section{padding:60px 0}
.section-header{margin-bottom:40px;text-align:center}
.section-title{font-size:2.2rem;color:#1A1A1A;margin-bottom:15px}
.section-line{width:80px;height:3px;background:#C8102E;margin:0 auto}
.news-card{background:white;border-radius:12px;overflow:hidden;box-shadow:0 5px 20px rgba(0,0,0,0.08);transition:all 0.3s ease;height:100%}
.news-card:hover{transform:translateY(-8px);box-shadow:0 15px 40px rgba(0,0,0,0.15)}
.card-image-wrapper{position:relative;overflow:hidden}
.card-image{width:100%;height:220px;object-fit:cover;transition:transform 0.5s ease}
.news-card:hover .card-image{transform:scale(1.1)}
.card-badge{position:absolute;top:15px;left:15px;z-index:2}
.card-content{padding:20px}
.card-title{font-size:1.2rem;margin-bottom:12px;line-height:1.4}
.card-title a{color:#1A1A1A}
.card-title a:hover{color:#C8102E}
.card-excerpt{color:#6C757D;font-size:0.9rem;margin-bottom:15px;line-height:1.6}
.card-meta{display:flex;gap:15px;font-size:0.85rem;color:#6C757D;margin-bottom:15px}
.card-meta span i{margin-right:5px;color:#C8102E}
.btn-card-read{color:#C8102E;font-weight:600;font-size:0.9rem;padding:0;transition:all 0.3s ease}
.btn-card-read:hover{color:#a00d24}
.btn-card-read i{transition:transform 0.3s ease}
.btn-card-read:hover i{transform:translateX(5px)}

/* Footer */
.main-footer{background:#1A1A1A;color:white;padding:60px 0 30px}
.footer-logo{font-size:1.8rem;font-weight:700;margin-bottom:15px;color:white}
.footer-description{color:#aaa;margin-bottom:20px;line-height:1.6}
.social-links{display:flex;gap:10px}
.social-link{width:40px;height:40px;border-radius:50%;background:rgba(255,255,255,0.1);display:flex;align-items:center;justify-content:center;color:white;transition:all 0.3s ease}
.social-link:hover{background:#C8102E;color:white;transform:translateY(-3px)}
.footer-heading{font-size:1.1rem;margin-bottom:20px;padding-bottom:10px;border-bottom:2px solid rgba(255,255,255,0.1);color:white}
.footer-links{list-style:none;padding:0}
.footer-links li{margin-bottom:10px}
.footer-links a{color:#aaa;transition:all 0.3s ease}
.footer-links a:hover{color:white;padding-left:5px}
.newsletter-form .form-control{background:rgba(255,255,255,0.1);border:1px solid rgba(255,255,255,0.2);color:white;border-radius:6px 0 0 6px}
.newsletter-form .form-control::placeholder{color:#aaa}
.btn-subscribe{background:#C8102E;color:white;border:none;border-radius:0 6px 6px 0;font-weight:600;transition:all 0.3s ease}
.btn-subscribe:hover{background:#a00d24}
.footer-divider{border-color:rgba(255,255,255,0.1);margin:30px 0}
.copyright{color:#aaa;margin:0}
.footer-bottom-link{color:#aaa;margin-left:20px;font-size:0.9rem}
.footer-bottom-link:hover{color:white}

/* Pagination */
.pagination-wrapper{margin-top:40px}
.page-link{color:#1A1A1A;border:2px solid #E5E5E5;margin:0 3px;border-radius:8px;padding:10px 18px;font-weight:500;transition:all 0.3s ease}
.page-link:hover{background:#C8102E;color:white;border-color:#C8102E}
.page-item.active .page-link{background:#C8102E;border-color:#C8102E}

/* Article Page */
.article-header{background:white;padding:40px 0;box-shadow:0 2px 10px rgba(0,0,0,0.05)}
.breadcrumb{margin-bottom:20px}
.breadcrumb-item a{color:#C8102E}
.article-title{font-size:2.5rem;line-height:1.3;margin-bottom:20px;color:#1A1A1A}
.article-meta{display:flex;flex-wrap:wrap;gap:20px}
.meta-item{display:flex;align-items:center;gap:8px;color:#6C757D;font-size:0.9rem}
.meta-item i{color:#C8102E}
.article-content-section{padding:40px 0 60px}
.featured-image-wrapper{margin-bottom:30px;border-radius:12px;overflow:hidden}
.featured-image{width:100%;max-height:500px;object-fit:cover}
.article-body{font-size:1.1rem;line-height:1.8;color:#444}
.article-body p{margin-bottom:20px}
.share-section{margin-top:40px;padding:25px;background:white;border-radius:12px;box-shadow:0 2px 10px rgba(0,0,0,0.05)}
.share-section h5{margin-bottom:15px;color:#1A1A1A}
.share-buttons{display:flex;gap:10px;flex-wrap:wrap}
.share-btn{padding:10px 20px;border-radius:6px;color:white;font-weight:500;font-size:0.9rem;transition:all 0.3s ease}
.share-btn:hover{color:white;transform:translateY(-2px)}
.share-btn.facebook{background:#1877F2}
.share-btn.twitter{background:#1DA1F2}
.share-btn.whatsapp{background:#25D366}

/* Comments */
.comments-section{margin-top:40px;padding:30px;background:white;border-radius:12px;box-shadow:0 2px 10px rgba(0,0,0,0.05)}
.comments-title{margin-bottom:30px;padding-bottom:15px;border-bottom:3px solid #C8102E;color:#1A1A1A}
.comment-item{display:flex;gap:15px;padding:20px 0;border-bottom:1px solid #E5E5E5}
.comment-avatar{width:45px;height:45px;border-radius:50%;background:#C8102E;color:white;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:1.2rem;flex-shrink:0}
.comment-body{flex:1}
.comment-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}
.comment-header h5{margin:0;font-size:1rem;color:#1A1A1A;font-family:'Inter',sans-serif}
.comment-header span{font-size:0.85rem;color:#6C757D}
.comment-body p{color:#555;line-height:1.6;margin:0}
.comment-form-wrapper{background:#F8F9FA;padding:25px;border-radius:8px}
.comment-form-wrapper h4{margin-bottom:20px;color:#1A1A1A}
.comment-form .form-control{border:2px solid #E5E5E5;border-radius:8px;padding:10px 15px;transition:all 0.3s ease}
.comment-form .form-control:focus{border-color:#C8102E;box-shadow:0 0 0 0.2rem rgba(200,16,46,0.1)}
.btn-submit-comment{background:#C8102E;color:white;padding:12px 30px;border-radius:8px;font-weight:600;transition:all 0.3s ease;border:none}
.btn-submit-comment:hover{background:#a00d24;color:white;transform:translateY(-2px)}
/* Comment Form Validation Styles */
.comment-form .form-control.is-invalid {
    border-color: #dc3545;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.comment-form .form-label small {
    font-weight: 400;
    font-style: italic;
    opacity: 0.8;
}

.comment-form .form-control::placeholder {
    color: #adb5bd;
    font-style: italic;
}

/* Alert animations */
.alert {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Sidebar */
.sidebar-widget{background:white;border-radius:12px;padding:25px;margin-bottom:25px;box-shadow:0 2px 10px rgba(0,0,0,0.05)}
.widget-title{font-size:1.2rem;margin-bottom:20px;padding-bottom:12px;border-bottom:3px solid #C8102E;color:#1A1A1A}
.related-card{display:flex;gap:12px;padding:12px 0;border-bottom:1px solid #E5E5E5;transition:all 0.3s ease}
.related-card:hover{transform:translateX(5px)}
.related-card:last-child{border-bottom:none}
.related-card img{width:80px;height:60px;object-fit:cover;border-radius:6px}
.related-info h4{font-size:0.9rem;margin-bottom:5px;line-height:1.3}
.related-info h4 a{color:#1A1A1A}
.related-info h4 a:hover{color:#C8102E}
.related-info span{font-size:0.8rem;color:#6C757D}

/* Category & Search Pages */
.category-section,.search-section{padding:40px 0 60px}
.category-header,.search-header{margin-bottom:40px}
.category-header h1,.search-header h1{font-size:2rem;color:#1A1A1A;margin-bottom:10px}
.search-query{color:#6C757D;font-size:1.1rem}
.results-count{color:#C8102E;font-weight:600}
.no-results{text-align:center;padding:60px 20px;color:#6C757D}
.no-results i{color:#E5E5E5}
.no-results h3{color:#1A1A1A;margin-bottom:10px}

/* Contact Page */
.contact-section{padding:60px 0}
.contact-header h1{font-size:2.5rem;color:#1A1A1A;margin-bottom:15px}
.contact-header p{color:#6C757D;font-size:1.1rem}
.info-card{background:white;padding:30px;border-radius:12px;text-align:center;box-shadow:0 5px 20px rgba(0,0,0,0.08);transition:all 0.3s ease;height:100%}
.info-card:hover{transform:translateY(-5px);box-shadow:0 10px 30px rgba(0,0,0,0.12)}
.info-card i{font-size:2rem;color:#C8102E;margin-bottom:15px}
.info-card h4{font-size:1.2rem;color:#1A1A1A;margin-bottom:10px}
.info-card p{color:#6C757D;margin:0}
.contact-form-wrapper{background:white;padding:30px;border-radius:12px;box-shadow:0 5px 20px rgba(0,0,0,0.08)}
.contact-form-wrapper h3{margin-bottom:25px;color:#1A1A1A}
.contact-form-wrapper .form-control{border:2px solid #E5E5E5;border-radius:8px;padding:10px 15px;transition:all 0.3s ease}
.contact-form-wrapper .form-control:focus{border-color:#C8102E;box-shadow:0 0 0 0.2rem rgba(200,16,46,0.1)}
.btn-submit-contact{background:#C8102E;color:white;padding:12px 30px;border-radius:8px;font-weight:600;transition:all 0.3s ease;border:none}
.btn-submit-contact:hover{background:#a00d24;color:white;transform:translateY(-2px)}

/* Responsive */
@media(max-width:991px){
.hero-image{height:300px}
.hero-title{font-size:1.5rem}
.article-title{font-size:1.8rem}
.site-title{font-size:1.4rem}
}
@media(max-width:767px){
.hero-section{padding:20px 0}
.hero-image{height:250px}
.hero-content{padding:15px}
.hero-title{font-size:1.3rem}
.hero-meta{flex-direction:column;gap:10px}
.section-title{font-size:1.6rem}
.card-image{height:180px}
.article-title{font-size:1.5rem}
.article-meta{flex-direction:column;gap:10px}
.share-buttons{flex-direction:column}
.navbar-nav{padding:20px 0}
.search-form{margin-top:15px}
}
@media(max-width:575px){
.hero-image{height:200px}
.breaking-badge{font-size:0.65rem;padding:3px 8px}
.trending-sidebar{margin-top:20px}
}