@font-face {
  font-family: 'Mallanna';
  src: url('../fonts/mallanna.woff2') format('woff2'),
       url('../fonts/mallanna.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

body {
  font-family: 'Mallanna', sans-serif !important;
    line-height: 1.4;
    color: #333;
    background-color: #f8f9fa;
}

a {
    color: #333;
    text-decoration: none;
    list-style-type: none !important;
}

a:active {
  color: gray;
  text-decoration: none;
}

a:hover {
    color: #000;
    text-decoration: none;
}

/*img {
    max-width: 100%;
}*/

.container-fluid {
    max-width: 1400px;
}

.list-unstyled li a{
    font-size: 20px !important;
    line-height: 1.5;
}
/* Header & Logo */
.top-header {
    background-color: #1165b5;
    padding: 8px 0;
}

.article-text p {
      font-size: 24px !important;
}
.top-header span {
    color: #fff;
    font-size: 1.2rem;
    padding: 0 5px;
}

.form-check-input{
    margin: 10px;
}
.site-header {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.logo {
    max-height: 90px;
}

.social-icons a {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #f0f0f0;
    border-radius: 50%;
    margin-right: 5px;
    color: #555;
    transition: all 0.3s;
    font-size: 0.8rem;
}

.social-icons a:hover {
    background-color: #007bff !important;
    color: white;
}


/* Navigation */
.main-nav {
    background-color: #0056b3;
	text-align:center;
}

.main-nav .navbar {
    padding: 0.5rem 1rem;
}

.navbar-toggler {
    border: none;
    padding: 0.4rem 0.6rem;
}

.navbar-nav .nav-link.active, .navbar-nav .nav-link.show {
    color: #fff;
}

.main-nav .nav-link {
    color: #fff;
    padding: 0.6rem 1rem;
    font-size: 1.3rem;
    font-weight: 500;
   white-space: nowrap;
   margin-left: 10px;
}

.main-nav .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Sections */
.section-title {
    position: relative;
    margin-bottom: 15px;
    border-bottom: 2px solid #dd3333;
    padding-bottom: 5px;
}

.section-title h2 {
    display: inline-block;
    background-color: #dd3333;
    color: white;
    margin: 0;
    padding: 5px 15px;
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
}

.section-title.blue {
    border-color: #1165b5;
}

.section-title span {
    font-size: 1.2rem;
}
.section-title.blue h2 {
    background-color: #1165b5;
}

.section-title.green {
    border-color: #28a745;
}
.section-title.bgreen {
    border-color: #FFCA2C;
}

.section-title.bgreen h2 {
    background-color: #FFCA2C;
}
.section-title.green h2 {
    background-color: #28a745;
}

.section-title.purple {
    border-color: #6f42c1;
}

.section-title.purple h2 {
    background-color: #6f42c1;
}

.section-title.orange {
    border-color: #fd7e14;
}

.section-title.orange h2 {
    background-color: #fd7e14;
}

 .carousel-caption h5 {
    font-size: 1.7rem;
    font-weight: bold;
  }
  .carousel-caption p {
    font-size: 0.9rem;
  }
/* News Cards */
.news-card {
    background-color: #fff;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12);
    /* height: 100%; */
}



.news-card .card-title {
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 0.3rem;
    padding:8px;
}

.news-card .card-text {
    font-size: 1.2rem;
    color: #666;
    
}

.news-card .card-footer {
    background: none;
    border-top: 1px solid #eee;
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    color: #888;
}

.main-news .news-card .card-img-top {
    height: 300px;
}

.main-news .news-card .card-title {
    font-size: 1.5rem;
}

/* Featured News */
.featured-news {
    position: relative;
    margin-bottom: 15px;
    overflow: hidden;
    border-radius: 4px;
}

.featured-news img {
    width: 100%;
    transition: transform 0.3s ease;
}

.featured-news:hover img {
    transform: scale(1.05);
}

.featured-news-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
    color: white;
}

.featured-news-content h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    font-weight: 600;
}

.featured-news-meta {
    font-size: 0.75rem;
    opacity: 0.8;
}

/* Small News */
.small-news {
    display: flex;
    margin-bottom: 15px;
    align-items: center;
}

small {
    font-size: 1rem;
}
.small-news-img {
    flex: 0 0 80px;
    margin-right: 10px;
}

.small-news-img img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 3px;
}

.small-news-content h3 {
    font-size: 1.2rem;
    margin-bottom: 2px;
    font-weight: 600;
    line-height: 1.4;
}

.small-news-meta {
    font-size: 1rem;
    color: #888;
}

/* Banner */
.ad-banner {
    margin: 15px 0;
    text-align: center;
}

.ad-banner img {
    max-width: 100%;
    height: auto;
}

/* Ticker */
.news-ticker {
    background-color: #f0f5ff;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #d0e0ff;
    overflow: hidden;
    position: relative;
}

.ticker-title {
    display: inline-block;
    background-color: #1165b5;
    color: white;
    padding: 2px 10px;
    margin-right: 10px;
    font-size: 0.85rem;
    font-weight: 600;
}

.ticker-content {
    display: inline-block;
    white-space: nowrap;
    animation: ticker 20s linear infinite;
}

.ticker-item {
    display: inline-block;
    margin-right: 30px;
    font-size: 0.9rem;
}

@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* category pages */

.telugu-text {
  font-family: 'Noto Sans Telugu', sans-serif;
}


.telugu-text h3{
    
}


.news-card .card-img-top {
  height: 180px;
  object-fit: cover;
  text-align:center;
}

/* Category Badges */
.category-badge {
  font-size: 0.7rem;
  padding: 0.25rem 0.5rem;
}

/* Featured News Styling */
.featured-news img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-main {
  height: 400px;
  overflow: hidden;
}

.featured-main img {
  height: 100%;
}

.featured-secondary {
  height: 190px;
  overflow: hidden;
}

.featured-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(0deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
  color: white;
}

.featured-overlay h2 {
  font-size: 1.8rem;
  margin-top: 0.6rem;
  margin-bottom: 0.5rem;
}

.featured-overlay-small {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 15px;
  background: linear-gradient(0deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
  color: white;
}

.featured-overlay-small h3 {
  font-size: 1.1rem;
  margin-top: 0.6rem;
  margin-bottom: 0.5rem;
}

.date-info {
  font-size: 0.8rem;
  opacity: 0.8;
  margin-bottom: 0;
}

/* Footer styling */
.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.1);
  transition: all 0.3s ease;
}

.social-icons a:hover {
  background-color: rgba(255,255,255,0.2);
  transform: translateY(-3px);
}

/* Media queries for responsive design */
@media (max-width: 767.98px) {
  .featured-main {
    height: 300px;
    margin-bottom: 15px;
  }
  
  .featured-secondary {
    height: 200px;
    margin-bottom: 15px;
  }
}

/* Footer */
.footer {
    background-color: #0056b3;
    color: white;
    padding: 30px 0 10px;
}

.footer-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-links {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    font-size: 0.85rem;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    background-color: #004494;
    padding: 15px 0;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
}

.footer-bottom a {
    color: rgba(255,255,255,0.7);
}

/* Media queries */
@media (max-width: 768px) {
    .news-card .card-img-top {
        height: 160px;
    }
    
    .main-news .news-card .card-img-top {
        height: 220px;
    }
    
    .featured-secondary {
  height: 300px;
  margin-top:10px;
  overflow: hidden;
}
}

@media (max-width: 576px) {
    .main-news .news-card .card-img-top {
        height: 200px;
    }
    
    .section-title h2 {
        font-size: 0.9rem;
        padding: 5px 10px;
    }
    .footer {
        text-align: center;
    }
    
   
}




.video-container {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    background-color: #000;
}

.video-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background-color: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s;
}

.video-play-button:hover {
    background-color: rgba(255,255,255,0.4);
    transform: translate(-50%, -50%) scale(1.1);
}

.video-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    padding: 10px;
    transition: opacity 0.3s;
    opacity: 0;
}

.video-progress {
    width: 100%;
    height: 5px;
    background-color: rgba(255,255,255,0.3);
    border-radius: 3px;
    margin-bottom: 8px;
    cursor: pointer;
}

.video-progress-filled {
    width: 30%;
    height: 100%;
    background-color: #dd3333;
    border-radius: 3px;
}

.video-buttons {
    display: flex;
    align-items: center;
}

.video-buttons button {
    background: none;
    border: none;
    color: white;
    padding: 0;
    margin-right: 8px;
    font-size: 14px;
}

.video-time {
    color: white;
    font-size: 12px;
    margin: 0 10px;
}

.video-container:hover .video-controls {
    opacity: 1;
}

/* Video duration badge */
.video-duration {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background-color: rgba(0,0,0,0.7);
    color: white;
    padding: 1px 6px;
    border-radius: 3px;
    font-size: 12px;
}

/* Comment styles */
.comment-avatar {
    width: 40px;
    height: 40px;
    background-color: #e9ecef;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #555;
}

.clamp-1-line {
    display: -webkit-box;
    -webkit-line-clamp: 1;     
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Article specific styles */
.article-content {
    border-radius: 4px;
}

.article-meta {
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.social-share a {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #f0f0f0;
    color: #555;
}

.social-icon.facebook:hover {
    background-color: #1877F2;
    color: white;
}

.social-icon.twitter:hover {
    background-color: #1DA1F2;
    color: white;
}

.social-icon.whatsapp:hover {
    background-color: #25D366;
    color: white;
}

.social-icon.telegram:hover {
    background-color: #0088cc;
    color: white;
}

/* Newsletter box */
.newsletter-box {
    border-radius: 4px;
    border: 1px solid #e5e5e5;
}

/* Breadcrumb styling */
.breadcrumb {
    background-color: transparent;
    padding: 0;
}

.breadcrumb-item a {
    color: #1165b5;
}

.breadcrumb-item.active {
    color: #666;
}

/* Related articles card styling */
.related-card {
    transition: transform 0.3s ease;
}

.related-card:hover {
    transform: translateY(-5px);
}