/* 
Theme Name: Telugu Web Media
Author: Telugu Web Media Team
Version: 2.2
Description: Professional Telugu News Portal with Fixed Issues
File Path: /assets/css/style.css
*/

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Mandali&display=swap');

/* Global Variables */
:root {
    --primary-red: #c20101;
    --primary-blue: #0066b3;
    --dark-blue: #004b8f;
    --white: #ffffff;
    --light-gray: #f5f5f5;
    --medium-gray: #e8e8e8;
    --dark-gray: #333333;
    --text-color: #222222;
    --border-color: #dddddd;
    --ad-bg: #f8f9fa;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-hover: 0 5px 20px rgba(0,0,0,0.15);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Mandali', sans-serif;
    color: var(--text-color);
    line-height: 1.5;
    background-color: #f8f9fa;
    font-size: 16px;
    overflow-x: hidden;
    overflow-y:auto;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 1200px;
    padding: 0 15px;
    margin: 0 auto;
}

.container-fluid {
    padding: 0;
    flex: 1;
}

/* Fix for extra bottom space */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

main {
    flex: 1 0 auto;
}

.footer {
    flex-shrink: 0;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Ramabhadra', serif;
    font-weight: 700;
    line-height: 1.3;
    color: var(--dark-gray);
    margin-bottom: 15px;
}

.telugu-headline {
    font-family: 'Ramabhadra', serif;
    font-size: 22px;
    line-height: 1.4;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.telugu-subheadline {
    font-family: 'Noto Sans Telugu', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #555;
    margin-bottom: 10px;
}

.telugu-small {
    font-family: 'Noto Sans Telugu', sans-serif;
    font-size: 13px;
    color: #777;
}

/* Top Bar */
.top-bar {
    background: var(--primary-red);
    color: var(--white);
    padding: 8px 0;
    font-size: 14px;
    border-bottom: 2px solid var(--primary-blue);
}

.top-bar .row {
    align-items: center;
}

.date-weather {
    display: flex;
    align-items: center;
    gap: 20px;
}

.date-weather span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.weather-icon {
    color: #ffd700;
    font-size: 14px;
}

.social-icons {
    text-align: right;
}

.social-icons a {
    color: var(--white);
    margin-left: 15px;
    font-size: 16px;
    transition: all 0.3s;
    display: inline-block;
}

.social-icons a:hover {
    transform: translateY(-2px);
    color: #ffd700;
}

/* Header */
.main-header {
    background: var(--white);
    padding: 20px 0;
    box-shadow: var(--shadow);
}

.logo {
    text-align: center;
}

.logo h1 {
    font-size: 48px;
    font-weight: 800;
    color: var(--primary-red);
    margin: 0;
    font-family: 'Ramabhadra', serif;
    letter-spacing: -1px;
    line-height: 1.2;
    position: relative;
    display: inline-block;
}

.logo h1 span {
    color: var(--primary-blue);
    position: relative;
    display: inline-block;
}

/* Fixed underline position */
.logo h1 span::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-red), var(--primary-blue));
    border-radius: 2px;
}

.logo-tagline {
    color: #666;
    font-size: 16px;
    letter-spacing: 2px;
    margin-top: 15px;
    font-weight: 400;
}

/* Navigation */
.navbar {
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue)) !important;
    padding: 0 !important;
    border-bottom: 2px solid var(--primary-red);
    box-shadow: var(--shadow);
}

.navbar-nav {
    display: flex;
    align-items: center;
}

.navbar-nav .nav-link {
    color: var(--white) !important;
    padding: 14px 20px !important;
    font-size: 16px;
    font-family: 'Ramabhadra', serif;
    transition: all 0.3s;
    position: relative;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Fixed dropdown arrow next to text */
.dropdown-toggle::after {
    margin-left: 5px;
    vertical-align: middle;
    display: inline-block;
}

.navbar-nav .nav-link.active {
    background: rgba(255,255,255,0.15);
}

.navbar-nav .nav-link:hover {
    background: rgba(255,255,255,0.1);
}

.dropdown-menu {
    background: var(--white);
    border: none;
    border-radius: 0;
    box-shadow: var(--shadow-hover);
    padding: 5px 0;
    min-width: 220px;
    margin-top: 0;
    border-top: 2px solid var(--primary-red);
}

.dropdown-item {
    padding: 10px 20px;
    font-family: 'Noto Sans Telugu', sans-serif;
    font-size: 14px;
    color: var(--dark-gray);
    border-bottom: 1px solid var(--medium-gray);
    transition: all 0.3s;
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background: var(--primary-red);
    color: var(--white);
    padding-left: 25px;
}

/* Search Form */
.navbar .d-flex {
    align-items: center;
    margin-left: 15px;
}

.navbar .form-control {
    border-radius: 30px;
    border: none;
    padding: 8px 15px;
    font-size: 14px;
    min-width: 200px;
}

.navbar .btn-outline-light {
    border-radius: 30px;
    padding: 8px 15px;
    border-color: rgba(255,255,255,0.3);
}

.navbar .btn-outline-light:hover {
    background: var(--primary-red);
    border-color: var(--primary-red);
}

/* Breaking News Ticker */
.breaking-news-container {
    background: var(--white);
    margin: 20px 0;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
    border-radius: 40px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.breaking-news-label {
    background: var(--primary-red);
    color: var(--white);
    padding: 10px 25px;
    font-weight: 700;
    font-family: 'Ramabhadra', serif;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    clip-path: polygon(0 0, 100% 0, 90% 100%, 0 100%);
    white-space: nowrap;
}

.breaking-news-content {
    flex: 1;
    padding: 10px 20px;
    overflow: hidden;
}

.breaking-news-content marquee {
    font-size: 15px;
    color: var(--dark-gray);
}

.breaking-news-content strong {
    color: var(--primary-red);
    font-weight: 700;
}

/* Ad Sections - Fixed positioning */
.ad-space {
    position: sticky;
    top: 20px;
    z-index: 100;
    height: fit-content;
}

.ad-container {
    background: var(--ad-bg);
    /* border: 1px dashed var(--primary-blue); */
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    margin: 15px 0;
    box-shadow: var(--shadow);
}

.ad-label {
    color: #999;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    display: block;
    text-align: center;
}

/* Fixed ad positioning */
.ad-160x600 {
    width: 100px;
    height: 600px;
    background: linear-gradient(135deg, #f5f5f5, #e9ecef);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* border: 1px dashed var(--primary-red); */
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.ad-160x600 .ad-label {
    position: absolute;
    top: 10px;
    left: 0;
    right: 0;
    text-align: center;
}

.ad-160x600 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ad-300x600 {
    width: 300px;
    height: 600px;
    background: linear-gradient(135deg, #f5f5f5, #e9ecef);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* border: 1px dashed var(--primary-blue); */
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.ad-300x600 .ad-label {
    position: absolute;
    top: 10px;
    left: 0;
    right: 0;
    text-align: center;
}

.ad-300x600 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ad-728x90 {
    width: 100%;
    max-width: 728px;
    height: 90px;
    background: linear-gradient(135deg, #f5f5f5, #e9ecef);
    margin: 20px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    /* border: 1px dashed var(--primary-red); */
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.ad-728x90 .ad-label {
    position: absolute;
    top: 5px;
    left: 0;
    right: 0;
    text-align: center;
}

.ad-728x90 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ad-300x250 {
    width: 100%;
    max-width: 300px;
    height: 250px;
    background: linear-gradient(135deg, #f5f5f5, #e9ecef);
    margin: 15px auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* border: 1px dashed var(--primary-blue); */
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.ad-300x250 .ad-label {
    position: absolute;
    top: 10px;
    left: 0;
    right: 0;
    text-align: center;
}

.ad-300x250 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Hero Section */
.hero-section {
    margin-bottom: 25px;
}

.hero-feature {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    position: relative;
}

.hero-feature img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s;
}

.hero-feature:hover img {
    transform: scale(1.03);
}

.hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    color: var(--white);
    padding: 30px 20px 20px;
}

.hero-content h2 {
    color: var(--white);
    font-size: 24px;
    margin-bottom: 8px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.hero-content p {
    color: rgba(255,255,255,0.9);
    font-size: 15px;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* News Cards */
.news-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    height: 100%;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.news-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform 0.5s;
}

.news-card:hover img {
    transform: scale(1.05);
}

.news-card-content {
    padding: 18px 15px;
    flex: 1;
}

.news-card-title {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.4;
}

.news-card-title a {
    color: var(--dark-gray);
    text-decoration: none;
    transition: color 0.3s;
}

.news-card-title a:hover {
    color: var(--primary-red);
}

.news-card p {
    font-size: 14px;
    color: #666;
    margin-bottom: 12px;
    line-height: 1.5;
}

.news-card-meta {
    font-size: 12px;
    color: #888;
    display: flex;
    align-items: center;
    gap: 15px;
    border-top: 1px solid var(--medium-gray);
    padding-top: 12px;
    margin-top: 5px;
}

.news-card-meta i {
    color: var(--primary-blue);
    margin-right: 4px;
    font-size: 12px;
}

.news-card-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Trending News */
.trending-news {
    background: var(--white);
    padding: 20px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    margin-bottom: 20px;
}

.trending-header {
    border-bottom: 2px solid var(--primary-red);
    padding-bottom: 12px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.trending-header h3 {
    color: var(--primary-red);
    font-size: 20px;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.trending-header h3 i {
    font-size: 18px;
}

.trending-item {
    padding: 12px 0;
    border-bottom: 1px dotted var(--border-color);
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.trending-item:last-child {
    border-bottom: none;
}

.trending-number {
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 16px;
    min-width: 28px;
    height: 28px;
    background: var(--light-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.trending-item a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 14px;
    flex: 1;
    transition: color 0.3s;
    line-height: 1.4;
}

.trending-item a:hover {
    color: var(--primary-red);
}

/* Latest Updates */
.latest-updates {
    background: var(--white);
    padding: 20px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

.update-item {
    padding: 15px 0;
    border-bottom: 1px solid var(--medium-gray);
    display: flex;
    gap: 15px;
}

.update-item:last-child {
    border-bottom: none;
}

.update-time {
    color: var(--primary-red);
    font-size: 13px;
    font-weight: 600;
    min-width: 65px;
    white-space: nowrap;
}

.update-item p {
    margin: 0;
    flex: 1;
}

.update-item a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s;
    line-height: 1.4;
}

.update-item a:hover {
    color: var(--primary-red);
}

/* Section Headers */
.section-header {
    border-bottom: 3px solid var(--primary-red);
    margin-bottom: 25px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.section-header h2 {
    background: var(--primary-red);
    color: var(--white);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 25px;
    font-size: 20px;
    margin: 0;
    border-radius: 40px 40px 0 0;
}

.section-header h2 i {
    font-size: 18px;
}

.section-header .view-all {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s;
}

.section-header .view-all:hover {
    color: var(--primary-red);
}

/* Crime News Section */
.crime-news-section {
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    padding: 30px 25px;
    margin: 30px 0;
    border-radius: 15px;
}

.crime-news-section .section-header {
    border-bottom-color: var(--primary-red);
}

.crime-news-section .section-header h2 {
    background: var(--primary-red);
}

.crime-news-section .section-header .view-all {
    color: #fff;
}

.crime-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.crime-card {
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    transition: transform 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.crime-card:hover {
    transform: translateY(-3px);
}

.crime-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.crime-card-content {
    padding: 18px;
    flex: 1;
}

.crime-card-content h5 {
    color: #fff;
    font-size: 16px;
    margin-bottom: 8px;
}

.crime-card-content p {
    color: rgba(255,255,255,0.7);
    font-size: 13px;
    margin: 0;
    line-height: 1.5;
}

/* Politics Section - Fixed */
.politics-section {
    background: var(--white);
    padding: 30px 25px;
    margin: 30px 0;
    border-radius: 15px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.politics-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 20px;
}

.politics-feature {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    height: 100%;
}

.politics-feature img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.politics-feature-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    color: #fff;
    padding: 25px 20px;
}

.politics-feature-content h3 {
    color: #fff;
    font-size: 20px;
    margin-bottom: 5px;
}

.politics-feature-content p {
    color: rgba(255,255,255,0.8);
    font-size: 14px;
    margin: 0;
}

/* Fixed politics list cards - No override */
.politics-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.politics-list .news-card {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 12px;
    height: auto;
    flex-direction: row;
}

.politics-list .news-card img {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    margin-right: 12px;
    flex-shrink: 0;
}

.politics-list .news-card-content {
    padding: 0;
    flex: 1;
}

.politics-list .news-card-title {
    font-size: 15px;
    margin-bottom: 5px;
}

.politics-list .news-card-meta {
    border-top: none;
    padding-top: 0;
    margin-top: 5px;
}

/* Sports Section */
.sports-section {
    background: linear-gradient(135deg, #0066b3, #004b8f);
    padding: 30px 25px;
    margin: 30px 0;
    border-radius: 15px;
}

.sports-section .section-header {
    border-bottom-color: #fff;
}

.sports-section .section-header h2 {
    background: var(--primary-red);
}

.sports-section .section-header .view-all {
    color: #fff;
}

.sports-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.sports-card {
    background: rgba(255,255,255,0.15);
    border-radius: 10px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    transition: transform 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.sports-card:hover {
    transform: translateY(-3px);
}

.sports-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.sports-card-content {
    padding: 18px;
    flex: 1;
}

.sports-card-content h5 {
    color: #fff;
    font-size: 16px;
    margin-bottom: 8px;
}

.sports-card-content p {
    color: rgba(255,255,255,0.8);
    font-size: 13px;
    margin-bottom: 10px;
}

.sports-score {
    background: rgba(255,255,255,0.2);
    padding: 4px 10px;
    border-radius: 20px;
    display: inline-block;
    font-weight: 600;
    font-size: 13px;
    color: #ffd700;
}

/* District News Section */
.district-news-section {
    background: var(--white);
    padding: 30px 25px;
    margin: 30px 0;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.district-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.district-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.district-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.district-card img {
    width: 100%;
    height: 140px;
    object-fit: cover;
}

.district-card-content {
    padding: 15px;
    flex: 1;
}

.district-name {
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.district-name i {
    color: var(--primary-red);
    font-size: 12px;
}

.district-card h5 {
    font-size: 15px;
    margin-bottom: 8px;
    line-height: 1.4;
}

.district-card p {
    font-size: 13px;
    color: #666;
    margin-bottom: 12px;
}

.district-card .btn-link {
    color: var(--primary-blue);
    text-decoration: none;
    font-size: 13px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: none;
    border: none;
}

.district-card .btn-link:hover {
    color: var(--primary-red);
}

/* Gallery Section */
.gallery-section {
    background: var(--white);
    padding: 30px 25px;
    margin: 30px 0;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: var(--shadow);
    aspect-ratio: 4/3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: #fff;
    padding: 20px 15px 15px;
    font-size: 14px;
    font-weight: 500;
    transform: translateY(100%);
    transition: transform 0.3s;
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

/* Article Page */
.article-featured-image {
    width: 100%;
    max-height: 450px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
}

.article-title {
    font-size: 32px;
    color: var(--dark-gray);
    margin: 15px 0 20px;
    line-height: 1.3;
}

.article-meta {
    color: #666;
    font-size: 14px;
    padding: 15px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.article-meta i {
    color: var(--primary-blue);
    font-size: 14px;
}

.article-content {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}

.article-content p {
    margin-bottom: 20px;
}

.article-content h2 {
    font-size: 24px;
    margin: 30px 0 15px;
}

.article-content h3 {
    font-size: 20px;
    margin: 25px 0 12px;
}

.article-content blockquote {
    background: var(--light-gray);
    border-left: 4px solid var(--primary-red);
    padding: 18px 20px;
    margin: 25px 0;
    font-style: italic;
    font-size: 16px;
    border-radius: 0 8px 8px 0;
}

/* Tags */
.badge {
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 500;
    border-radius: 20px;
}

.badge.bg-secondary {
    background: var(--light-gray) !important;
    color: var(--dark-gray);
}

/* Share Buttons */
.share-buttons {
    margin: 30px 0;
    padding: 20px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.share-buttons h5 {
    margin: 0 15px 0 0;
    font-size: 16px;
}

.share-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-size: 14px;
    transition: all 0.3s;
}

.share-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
    color: #fff;
}

.share-facebook { background: #3b5998; }
.share-twitter { background: #1da1f2; }
.share-whatsapp { background: #25d366; }
.share-telegram { background: #0088cc; }

/* Comments Section */
.comments-section {
    background: var(--light-gray);
    padding: 20px;
    border-radius: 10px;
    margin: 30px 0;
}

.comment {
    display: flex;
    gap: 15px;
    padding: 15px;
    background: #fff;
    border-radius: 10px;
    margin-bottom: 15px;
}

.comment:last-child {
    margin-bottom: 0;
}

.comment-author {
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 5px;
}

.comment-time {
    font-size: 12px;
    color: #888;
    margin-left: 10px;
}

.comment-text {
    font-size: 14px;
    color: #555;
    line-height: 1.5;
}

/* Related News */
.related-news-section {
    margin: 40px 0;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.related-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.related-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.related-card img {
    width: 100%;
    height: 140px;
    object-fit: cover;
}

.related-card-content {
    padding: 15px;
    flex: 1;
}

.related-card-content h5 {
    font-size: 15px;
    margin-bottom: 12px;
    line-height: 1.4;
}

.related-card-content .btn-sm {
    font-size: 12px;
    padding: 4px 12px;
}

/* Newsletter */
.newsletter-box {
    background: var(--light-gray);
    padding: 25px;
    border-radius: 10px;
    margin: 20px 0;
}

.newsletter-box h5 {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.newsletter-box p {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

/* Poll Section */
.poll-box {
    background: var(--white);
    padding: 25px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    margin: 20px 0;
}

.poll-box h5 {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.poll-item {
    margin-bottom: 15px;
}

.poll-item:last-child {
    margin-bottom: 0;
}

.poll-item span {
    font-size: 14px;
    color: #555;
    margin-bottom: 5px;
    display: block;
}

.progress {
    height: 25px;
    border-radius: 5px;
    margin-bottom: 3px;
    background-color: var(--light-gray);
}

.progress-bar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 10px;
    font-size: 12px;
    font-weight: 600;
}

.progress-bar.bg-success {
    background-color: #28a745 !important;
}

.progress-bar.bg-warning {
    background-color: #ffc107 !important;
    color: #333;
}

.progress-bar.bg-danger {
    background-color: #dc3545 !important;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: #fff;
    padding: 50px 0 20px;
    margin-top: 50px;
    flex-shrink: 0;
}

.footer h3 {
    color: #fff;
    font-size: 20px;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--primary-red);
    padding-bottom: 10px;
    display: inline-block;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #bbb;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.footer-links a:hover {
    color: var(--primary-red);
    transform: translateX(5px);
}

.footer-social {
    margin-top: 20px;
}

.footer-social a {
    color: #fff;
    font-size: 20px;
    margin-right: 18px;
    transition: all 0.3s;
    display: inline-block;
}

.footer-social a:hover {
    color: var(--primary-red);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid #333;
    color: #999;
    font-size: 13px;
}

/* Responsive Design */
@media (max-width: 1199px) {
    .district-grid,
    .gallery-grid,
    .related-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .politics-grid {
        grid-template-columns: 1fr;
    }
    
    .politics-feature img {
        height: 250px;
    }
}

@media (max-width: 991px) {
    .district-grid,
    .gallery-grid,
    .related-grid,
    .crime-grid,
    .sports-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .top-bar .col-md-6 {
        text-align: center !important;
    }
    
    .date-weather {
        justify-content: center;
        margin-bottom: 8px;
    }
    
    .social-icons {
        text-align: center;
    }
    
    .navbar .d-flex {
        margin-top: 10px;
        padding: 0 15px 15px;
    }
    
    .ad-160x600 {
        display: none;
    }
}

@media (max-width: 767px) {
    .district-grid,
    .gallery-grid,
    .related-grid,
    .crime-grid,
    .sports-grid {
        grid-template-columns: 1fr;
    }
    
    .logo h1 {
        font-size: 36px;
    }
    
    .logo h1 span::after {
        bottom: -5px;
        height: 3px;
    }
    
    .logo-tagline {
        font-size: 14px;
        margin-top: 12px;
    }
    
    .hero-content h2 {
        font-size: 20px;
    }
    
    .hero-content {
        padding: 20px 15px;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .section-header h2 {
        font-size: 18px;
        padding: 8px 20px;
    }
    
    .share-buttons {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .share-button {
        width: 100%;
        justify-content: center;
    }
    
    .article-title {
        font-size: 26px;
    }
    
    .article-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .politics-list .news-card {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .politics-list .news-card img {
        width: 100%;
        height: 150px;
        margin-right: 0;
        margin-bottom: 10px;
    }
}

@media (max-width: 575px) {
    .date-weather {
        flex-direction: column;
        gap: 5px;
    }
    
    .logo h1 {
        font-size: 28px;
    }
    
    .breaking-news-label {
        padding: 8px 15px;
        font-size: 14px;
    }
    
    .trending-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .update-item {
        flex-direction: column;
        gap: 5px;
    }
    
    .update-time {
        min-width: auto;
    }
    
    .footer h3 {
        font-size: 18px;
    }
}

/* ===== NATIONAL PAGE SPECIFIC STYLES ===== */

/* Category Description */
.category-description {
    color: #666;
    font-size: 14px;
    margin-top: 5px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px dashed var(--border-color);
}

/* Important Links Widget */
.important-links-widget {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 15px;
    border-radius: 6px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

.important-links-widget h4 {
    font-size: 16px;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--primary-red);
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--dark-gray);
}

.links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.links-list li {
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px dotted var(--border-color);
}

.links-list li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.links-list a {
    text-decoration: none;
    color: var(--dark-gray);
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.links-list a i {
    color: var(--primary-blue);
    font-size: 14px;
    width: 20px;
}

.links-list a:hover {
    color: var(--primary-red);
    transform: translateX(5px);
}

.links-list a:hover i {
    color: var(--primary-red);
}

/* Enhanced News Cards for National */
.news-card .card-img-top {
    transition: transform 0.5s;
}

.news-card:hover .card-img-top {
    transform: scale(1.05);
}

.news-card-title a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-card-excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: #666;
}

/* Region Filter Enhancements */
.category-subnav .nav-pills {
    flex-wrap: wrap;
    gap: 5px;
}

.category-subnav .nav-link {
    font-size: 13px;
    padding: 6px 16px;
    border-radius: 20px;
    background: var(--white);
    color: var(--dark-gray);
    border: 1px solid var(--border-color);
    transition: all 0.3s;
}

.category-subnav .nav-link:hover {
    background: var(--primary-blue);
    color: var(--white);
    border-color: var(--primary-blue);
}

.category-subnav .nav-link.active {
    background: var(--primary-red);
    color: var(--white);
    border-color: var(--primary-red);
}

/* Pagination Enhancements */
.pagination {
    gap: 8px;
}

.page-link {
    border-radius: 6px !important;
    padding: 8px 16px;
    font-size: 14px;
    transition: all 0.3s;
}

.page-link:hover {
    background: var(--primary-blue);
    color: var(--white);
    border-color: var(--primary-blue);
}

.page-item.active .page-link {
    background: var(--primary-red);
    border-color: var(--primary-red);
    font-weight: 600;
}

/* Responsive Adjustments for National Page */
@media (max-width: 991px) {
    .category-subnav .nav-pills {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 10px;
        -webkit-overflow-scrolling: touch;
    }
    
    .category-subnav .nav-link {
        white-space: nowrap;
    }
    
    .category-description {
        font-size: 13px;
    }
}

@media (max-width: 767px) {
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .total-posts {
        align-self: flex-start;
        font-size: 12px;
    }
    
    .news-card-meta {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .important-links-widget {
        padding: 12px;
    }
    
    .links-list a {
        font-size: 12px;
    }
}

/* Loading Animation for News Cards */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.news-card {
    animation: fadeInUp 0.5s ease forwards;
}

.news-card:nth-child(2) {
    animation-delay: 0.1s;
}

.news-card:nth-child(3) {
    animation-delay: 0.2s;
}

.news-card:nth-child(4) {
    animation-delay: 0.3s;
}

.news-card:nth-child(5) {
    animation-delay: 0.4s;
}

.news-card:nth-child(6) {
    animation-delay: 0.5s;
}

/* Statistics Counter Style */
.stat-badge {
    background: var(--light-gray);
    color: var(--primary-blue);
    font-size: 12px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 12px;
    display: inline-block;
}

/* National Theme Elements */
.section-header h2 i {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
    100% {
        opacity: 1;
    }
}

/* Tooltip Styles */
[data-tooltip] {
    position: relative;
    cursor: help;
}

[data-tooltip]:before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--dark-gray);
    color: var(--white);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    white-space: nowrap;
    display: none;
    z-index: 1000;
}

[data-tooltip]:hover:before {
    display: block;
}

/* ===== ANDHRA PRADESH PAGE STYLES ===== */

/* Category Description */
.category-description {
    color: #666;
    font-size: 14px;
    margin-top: 5px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px dashed var(--border-color);
}

/* News Card Enhancements */
.news-card {
    transition: all 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.news-card img {
    transition: transform 0.5s;
}

.news-card:hover img {
    transform: scale(1.05);
}

.news-card-title a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--dark-gray);
    text-decoration: none;
}

.news-card-title a:hover {
    color: var(--primary-red);
}

.news-card-excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: #666;
    font-size: 13px;
    line-height: 1.5;
}

/* Pagination */
.pagination {
    gap: 8px;
}

.page-link {
    border-radius: 6px !important;
    padding: 8px 16px;
    font-size: 14px;
    transition: all 0.3s;
    color: var(--primary-blue);
    border: 1px solid var(--border-color);
}

.page-link:hover {
    background: var(--primary-blue);
    color: var(--white);
    border-color: var(--primary-blue);
}

.page-item.active .page-link {
    background: var(--primary-red);
    border-color: var(--primary-red);
    color: var(--white);
}

/* Responsive */
@media (max-width: 767px) {
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .total-posts {
        align-self: flex-start;
        font-size: 12px;
    }
    
    .news-card-meta {
        flex-wrap: wrap;
        gap: 8px;
    }
}

/* ===== TELANGANA PAGE SPECIFIC STYLES ===== */

/* Category Description */
.category-description {
    color: #666;
    font-size: 14px;
    margin-top: 5px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px dashed var(--border-color);
}

/* News Card Enhancements */
.news-card {
    transition: all 0.3s ease;
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.news-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    transition: transform 0.5s;
}

.news-card:hover img {
    transform: scale(1.05);
}

.news-card-content {
    padding: 15px;
    flex: 1;
}

.news-card-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.4;
}

.news-card-title a {
    color: var(--dark-gray);
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card-title a:hover {
    color: var(--primary-red);
}

.news-card-excerpt {
    font-size: 13px;
    color: #666;
    margin-bottom: 12px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card-meta {
    font-size: 12px;
    color: #888;
    display: flex;
    gap: 15px;
    border-top: 1px solid var(--border-color);
    padding-top: 10px;
    margin-top: 5px;
}

.news-card-meta i {
    color: var(--primary-blue);
    margin-right: 4px;
}

/* Fact Box */
.fact-box {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 15px;
    border-radius: 6px;
    border-left: 3px solid var(--primary-red);
    margin-top: 20px;
}

.fact-box h4 {
    font-size: 15px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--primary-red);
}

.fact-box p {
    font-size: 13px;
    color: #555;
    margin: 0;
    line-height: 1.6;
}

/* Pagination */
.pagination {
    gap: 5px;
}

.page-link {
    border-radius: 5px !important;
    padding: 8px 14px;
    font-size: 13px;
    color: var(--primary-blue);
    border: 1px solid var(--border-color);
    transition: all 0.3s;
}

.page-link:hover {
    background: var(--primary-blue);
    color: var(--white);
    border-color: var(--primary-blue);
}

.page-item.active .page-link {
    background: var(--primary-red);
    border-color: var(--primary-red);
    color: var(--white);
}

/* Latest Updates Widget */
.latest-updates-widget {
    background: var(--white);
    padding: 15px;
    border-radius: 6px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

.latest-updates-widget h4 {
    font-size: 16px;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--primary-red);
    display: flex;
    align-items: center;
    gap: 5px;
}

.latest-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.latest-list li {
    padding: 8px 0;
    border-bottom: 1px dotted var(--border-color);
}

.latest-list li:last-child {
    border-bottom: none;
}

.latest-list a {
    text-decoration: none;
    color: var(--dark-gray);
    display: block;
}

.latest-list .time {
    font-size: 11px;
    color: var(--primary-red);
    font-weight: 600;
    display: block;
    margin-bottom: 3px;
}

.latest-list .title {
    font-size: 13px;
    line-height: 1.4;
}

.latest-list a:hover .title {
    color: var(--primary-red);
}

/* Trending Widget */
.trending-widget {
    background: var(--white);
    padding: 15px;
    border-radius: 6px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

.trending-widget h4 {
    font-size: 16px;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--primary-red);
    display: flex;
    align-items: center;
    gap: 5px;
}

.trending-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.trending-list li {
    padding: 8px 0;
    border-bottom: 1px dotted var(--border-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.trending-list li:last-child {
    border-bottom: none;
}

.trend-number {
    width: 24px;
    height: 24px;
    background: var(--light-gray);
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 12px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.trending-list a {
    text-decoration: none;
    color: var(--dark-gray);
    font-size: 13px;
    line-height: 1.4;
    flex: 1;
}

.trending-list a:hover {
    color: var(--primary-red);
}

/* Newsletter Widget */
.newsletter-widget {
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    padding: 20px 15px;
    border-radius: 6px;
    color: var(--white);
}

.newsletter-widget h4 {
    color: var(--white);
    font-size: 16px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.newsletter-widget p {
    font-size: 12px;
    margin-bottom: 12px;
    opacity: 0.9;
    line-height: 1.5;
}

.newsletter-widget .form-control {
    border-radius: 4px;
    border: none;
    padding: 8px 12px;
    font-size: 13px;
    margin-bottom: 10px;
}

.newsletter-widget .btn-primary {
    background: var(--primary-red);
    border: none;
    padding: 8px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 4px;
    transition: background 0.3s;
}

.newsletter-widget .btn-primary:hover {
    background: #a00101;
}

/* Responsive */
@media (max-width: 991px) {
    .fixed-ad-sidebar {
        display: none;
    }
}

@media (max-width: 767px) {
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .total-posts {
        align-self: flex-start;
        font-size: 12px;
    }
    
    .news-card-meta {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .news-card img {
        height: 140px;
    }
}

@media (max-width: 575px) {
    .news-card-title {
        font-size: 15px;
    }
    
    .news-card-excerpt {
        font-size: 12px;
    }
    
    .news-card-meta {
        font-size: 11px;
    }
}

/* Telangana Theme Elements */
.section-header h2 i {
    color: var(--white);
}

.breadcrumb-item a {
    color: var(--primary-blue);
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: var(--primary-red);
}

.breadcrumb-item.active {
    color: var(--dark-gray);
}

/* ===== CINEMA PAGE SPECIFIC STYLES ===== */

/* Cinema Theme Colors - Purple theme for cinema */
.cinema-card .news-card-title a:hover {
    color: #9b59b6;
}

.cinema-card .news-card-meta i {
    color: #9b59b6;
}

/* Box Office Widget */
.boxoffice-widget {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    padding: 15px;
    border-radius: 8px;
    color: white;
    margin-top: 20px;
}

.boxoffice-widget h4 {
    color: white;
    font-size: 16px;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid #f1c40f;
    display: flex;
    align-items: center;
    gap: 5px;
}

.boxoffice-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.boxoffice-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px dotted rgba(255,255,255,0.2);
}

.boxoffice-list li:last-child {
    border-bottom: none;
}

.movie-name {
    font-size: 13px;
    font-weight: 500;
}

.movie-collection {
    background: #f1c40f;
    color: #2c3e50;
    font-size: 12px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 4px;
}

/* Latest Updates Widget */
.latest-updates-widget {
    background: var(--white);
    padding: 15px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

.latest-updates-widget h4 {
    font-size: 16px;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--primary-red);
    display: flex;
    align-items: center;
    gap: 5px;
}

.latest-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.latest-list li {
    padding: 8px 0;
    border-bottom: 1px dotted var(--border-color);
}

.latest-list li:last-child {
    border-bottom: none;
}

.latest-list a {
    text-decoration: none;
    color: var(--dark-gray);
    display: block;
}

.latest-list .time {
    font-size: 11px;
    color: var(--primary-red);
    font-weight: 600;
    display: block;
    margin-bottom: 3px;
}

.latest-list .title {
    font-size: 13px;
    line-height: 1.4;
}

.latest-list a:hover .title {
    color: var(--primary-red);
}

/* Trending Widget */
.trending-widget {
    background: var(--white);
    padding: 15px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

.trending-widget h4 {
    font-size: 16px;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--primary-red);
    display: flex;
    align-items: center;
    gap: 5px;
}

.trending-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.trending-list li {
    padding: 8px 0;
    border-bottom: 1px dotted var(--border-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.trending-list li:last-child {
    border-bottom: none;
}

.trend-number {
    width: 24px;
    height: 24px;
    background: var(--light-gray);
    color: #9b59b6;
    font-weight: 700;
    font-size: 12px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.trending-list a {
    text-decoration: none;
    color: var(--dark-gray);
    font-size: 13px;
    line-height: 1.4;
    flex: 1;
}

.trending-list a:hover {
    color: #9b59b6;
}

/* Newsletter Widget */
.newsletter-widget {
    background: linear-gradient(135deg, #9b59b6, #8e44ad);
    padding: 20px 15px;
    border-radius: 8px;
    color: white;
}

.newsletter-widget h4 {
    color: white;
    font-size: 16px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.newsletter-widget p {
    font-size: 12px;
    margin-bottom: 12px;
    opacity: 0.9;
    line-height: 1.5;
}

.newsletter-widget .form-control {
    border-radius: 4px;
    border: none;
    padding: 8px 12px;
    font-size: 13px;
    margin-bottom: 10px;
}

.newsletter-widget .btn-primary {
    background: #e74c3c;
    border: none;
    padding: 8px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 4px;
    transition: background 0.3s;
}

.newsletter-widget .btn-primary:hover {
    background: #c0392b;
}

/* Responsive */
@media (max-width: 991px) {
    .fixed-ad-sidebar {
        display: none;
    }
}

@media (max-width: 767px) {
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .total-posts {
        align-self: flex-start;
        font-size: 12px;
    }
    
    .news-card-meta {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .news-card img {
        height: 140px;
    }
}

@media (max-width: 575px) {
    .news-card-title {
        font-size: 15px;
    }
    
    .news-card-excerpt {
        font-size: 12px;
    }
    
    .news-card-meta {
        font-size: 11px;
    }
}

/* ===== SPORTS PAGE SPECIFIC STYLES ===== */

/* Sports Theme Colors - Green theme for sports */
.sports-card .news-card-title a:hover {
    color: #27ae60;
}

.sports-card .news-card-meta i {
    color: #27ae60;
}

/* Live Scores Widget */
.live-scores-widget {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    padding: 15px;
    border-radius: 8px;
    color: white;
    margin-top: 20px;
}

.live-scores-widget h4 {
    color: white;
    font-size: 16px;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid #27ae60;
    display: flex;
    align-items: center;
    gap: 5px;
}

.scores-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.scores-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px dotted rgba(255,255,255,0.2);
}

.scores-list li:last-child {
    border-bottom: none;
}

.match {
    font-size: 13px;
    font-weight: 500;
}

.score {
    background: #27ae60;
    color: white;
    font-size: 12px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 4px;
}

/* Latest Updates Widget */
.latest-updates-widget {
    background: var(--white);
    padding: 15px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

.latest-updates-widget h4 {
    font-size: 16px;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--primary-red);
    display: flex;
    align-items: center;
    gap: 5px;
}

.latest-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.latest-list li {
    padding: 8px 0;
    border-bottom: 1px dotted var(--border-color);
}

.latest-list li:last-child {
    border-bottom: none;
}

.latest-list a {
    text-decoration: none;
    color: var(--dark-gray);
    display: block;
}

.latest-list .time {
    font-size: 11px;
    color: var(--primary-red);
    font-weight: 600;
    display: block;
    margin-bottom: 3px;
}

.latest-list .title {
    font-size: 13px;
    line-height: 1.4;
}

.latest-list a:hover .title {
    color: var(--primary-red);
}

/* Trending Widget */
.trending-widget {
    background: var(--white);
    padding: 15px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

.trending-widget h4 {
    font-size: 16px;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--primary-red);
    display: flex;
    align-items: center;
    gap: 5px;
}

.trending-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.trending-list li {
    padding: 8px 0;
    border-bottom: 1px dotted var(--border-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.trending-list li:last-child {
    border-bottom: none;
}

.trend-number {
    width: 24px;
    height: 24px;
    background: var(--light-gray);
    color: #27ae60;
    font-weight: 700;
    font-size: 12px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.trending-list a {
    text-decoration: none;
    color: var(--dark-gray);
    font-size: 13px;
    line-height: 1.4;
    flex: 1;
}

.trending-list a:hover {
    color: #27ae60;
}

/* Newsletter Widget */
.newsletter-widget {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    padding: 20px 15px;
    border-radius: 8px;
    color: white;
}

.newsletter-widget h4 {
    color: white;
    font-size: 16px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.newsletter-widget p {
    font-size: 12px;
    margin-bottom: 12px;
    opacity: 0.9;
    line-height: 1.5;
}

.newsletter-widget .form-control {
    border-radius: 4px;
    border: none;
    padding: 8px 12px;
    font-size: 13px;
    margin-bottom: 10px;
}

.newsletter-widget .btn-primary {
    background: #e74c3c;
    border: none;
    padding: 8px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 4px;
    transition: background 0.3s;
}

.newsletter-widget .btn-primary:hover {
    background: #c0392b;
}

/* Responsive */
@media (max-width: 991px) {
    .fixed-ad-sidebar {
        display: none;
    }
}

@media (max-width: 767px) {
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .total-posts {
        align-self: flex-start;
        font-size: 12px;
    }
    
    .news-card-meta {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .news-card img {
        height: 140px;
    }
    
    .scores-list li {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
}

@media (max-width: 575px) {
    .news-card-title {
        font-size: 15px;
    }
    
    .news-card-excerpt {
        font-size: 12px;
    }
    
    .news-card-meta {
        font-size: 11px;
    }
}

/* ===== BUSINESS PAGE SPECIFIC STYLES ===== */

/* Business Theme Colors - Orange theme for business */
.business-card .news-card-title a:hover {
    color: #f39c12;
}

.business-card .news-card-meta i {
    color: #f39c12;
}

/* Market Summary Widget */
.market-summary-widget {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    padding: 15px;
    border-radius: 8px;
    color: white;
    margin-top: 20px;
}

.market-summary-widget h4 {
    color: white;
    font-size: 16px;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid #f39c12;
    display: flex;
    align-items: center;
    gap: 5px;
}

.market-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.market-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px dotted rgba(255,255,255,0.2);
    font-size: 13px;
}

.market-list li:last-child {
    border-bottom: none;
}

.index-name {
    font-weight: 500;
    width: 40%;
}

.index-value {
    font-weight: 600;
    width: 25%;
    text-align: right;
}

.index-change {
    font-size: 11px;
    font-weight: 500;
    width: 35%;
    text-align: right;
}

.index-change.positive {
    color: #2ecc71;
}

.index-change.negative {
    color: #e74c3c;
}

/* Latest Updates Widget */
.latest-updates-widget {
    background: var(--white);
    padding: 15px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

.latest-updates-widget h4 {
    font-size: 16px;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--primary-red);
    display: flex;
    align-items: center;
    gap: 5px;
}

.latest-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.latest-list li {
    padding: 8px 0;
    border-bottom: 1px dotted var(--border-color);
}

.latest-list li:last-child {
    border-bottom: none;
}

.latest-list a {
    text-decoration: none;
    color: var(--dark-gray);
    display: block;
}

.latest-list .time {
    font-size: 11px;
    color: var(--primary-red);
    font-weight: 600;
    display: block;
    margin-bottom: 3px;
}

.latest-list .title {
    font-size: 13px;
    line-height: 1.4;
}

.latest-list a:hover .title {
    color: var(--primary-red);
}

/* Trending Widget */
.trending-widget {
    background: var(--white);
    padding: 15px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

.trending-widget h4 {
    font-size: 16px;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--primary-red);
    display: flex;
    align-items: center;
    gap: 5px;
}

.trending-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.trending-list li {
    padding: 8px 0;
    border-bottom: 1px dotted var(--border-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.trending-list li:last-child {
    border-bottom: none;
}

.trend-number {
    width: 24px;
    height: 24px;
    background: var(--light-gray);
    color: #f39c12;
    font-weight: 700;
    font-size: 12px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.trending-list a {
    text-decoration: none;
    color: var(--dark-gray);
    font-size: 13px;
    line-height: 1.4;
    flex: 1;
}

.trending-list a:hover {
    color: #f39c12;
}

/* Newsletter Widget */
.newsletter-widget {
    background: linear-gradient(135deg, #f39c12, #e67e22);
    padding: 20px 15px;
    border-radius: 8px;
    color: white;
}

.newsletter-widget h4 {
    color: white;
    font-size: 16px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.newsletter-widget p {
    font-size: 12px;
    margin-bottom: 12px;
    opacity: 0.9;
    line-height: 1.5;
}

.newsletter-widget .form-control {
    border-radius: 4px;
    border: none;
    padding: 8px 12px;
    font-size: 13px;
    margin-bottom: 10px;
}

.newsletter-widget .btn-primary {
    background: #2c3e50;
    border: none;
    padding: 8px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 4px;
    transition: background 0.3s;
}

.newsletter-widget .btn-primary:hover {
    background: #34495e;
}

/* Responsive */
@media (max-width: 991px) {
    .fixed-ad-sidebar {
        display: none;
    }
}

@media (max-width: 767px) {
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .total-posts {
        align-self: flex-start;
        font-size: 12px;
    }
    
    .news-card-meta {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .news-card img {
        height: 140px;
    }
    
    .market-list li {
        flex-wrap: wrap;
        gap: 5px;
    }
    
    .index-name, .index-value, .index-change {
        width: auto;
        text-align: left;
    }
    
    .index-change {
        width: 100%;
        margin-left: 0;
    }
}

@media (max-width: 575px) {
    .news-card-title {
        font-size: 15px;
    }
    
    .news-card-excerpt {
        font-size: 12px;
    }
    
    .news-card-meta {
        font-size: 11px;
    }
}