/*
Theme Name: IG USA
Theme URI: 
Author: Your Name
Author URI: 
Description: IG WordPress theme with Bootstrap 5
Version: 1.0
License: GPL v2 or later
Text Domain: usa.indiaglitz
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Poppins:wght@400;500;600;700;800&display=swap');

body {
    font-family: "Inter", sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: #111;
}
/* Hide desktop header on mobiles */
@media (max-width: 992px) {
    #mainHeader {
        display: none !important;
    }
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    letter-spacing: -0.3px;
}


h1 { font-size: 2.4rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.6rem; }
h4 { font-size: 1.3rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 0.95rem; }


p {
    font-size: 16px;
    margin-bottom: 12px;
}

/* Navigation/menus */
nav a, .header-menu {
    font-family: "Inter", sans-serif;
    font-weight: 500;
    font-size: 15px;
}

:root{
  --accent:#111;
  --muted:#6c757d;
  --card-bg:#ffffff;
  --gap:1rem;
}
.container { max-width:1140px; }

/* headings */
.news-title, .section-title {
  font-size: 26px;
  font-weight: 600;
  color: #0b0b0b;
  padding-left: 12px;
  border-left: 4px solid var(--accent);
  margin-bottom: 20px;
  letter-spacing: 0.1px;
}

/* small text */
.small, .text-muted { color: var(--muted); }

/* Card base */
.card-shadow, .card {
  background: var(--card-bg);
  border-radius: 12px;
  padding: 14px;
  box-shadow: 0 6px 18px rgba(17,17,17,0.06);
  transition: transform .18s ease, box-shadow .18s ease;
}
.card-shadow:hover, .card:hover { transform: translateY(-4px); box-shadow: 0 12px 26px rgba(17,17,17,0.09); }

/* images */
.rounded-img, .hero-img, .hero-small-img, .img-fluid {
  width:100%;
  height:auto;
  display:block;
  border-radius: 10px;
  object-fit: cover;
}

/* hero specifics */
.hero-img { height: 380px; object-fit:cover; border-radius:14px; }
.hero-small-img { width:140px; height:100px; object-fit:cover; border-radius:10px; }

/* list item used in many sections */
.list-item {
  display:flex;
  gap:12px;
  align-items:flex-start;
  margin-bottom:14px;
}
.list-item img {
  width:120px;
  height:80px;
  border-radius:8px;
  object-fit:cover;
  flex-shrink:0;
}

/* Featured article in Cinema REST block */
.featured-article { padding:8px; }
.featured-article img { border-radius:12px; width:100%; height:260px; object-fit:cover; }
.featured-article .title { font-weight:700; margin-top:8px; font-size:18px; color:#111; }
.featured-article .desc { color:var(--muted); margin-top:6px; }

/* Cinema REST thumbnails */
#telugu-movie-news .title { font-weight:600; margin-top:6px; font-size:15px; color:#111; text-decoration:none; }
#telugu-movie-news img.rounded { border-radius:8px; width:100%; height:140px; object-fit:cover; }

/* tech left + right list */
.tech-left { padding:6px; }
.tech-left img { border-radius:12px; width:100%; height:260px; object-fit:cover; }
.tech-list .d-flex { align-items:flex-start; gap:12px; margin-bottom:16px; padding-bottom:12px; border-bottom:1px solid rgba(0,0,0,0.05); }
.tech-list img { width:120px; height:80px; border-radius:8px; object-fit:cover; }

/* immigration horizontal slider (if used) */
.slider-container {
  display:flex;
  gap:14px;
  overflow-x:auto;
  padding-bottom:8px;
  -webkit-overflow-scrolling:touch;
  scroll-snap-type:x mandatory;
}
.slider-box {
  min-width:240px;
  flex:0 0 auto;
  scroll-snap-align:start;
}
.slider-box .card-shadow { padding:10px; }
.slider-box img { height:150px; border-radius:10px; object-fit:cover; }

/* India vertical timeline style */
.vertical-news .d-flex { gap:14px; align-items:flex-start; padding:10px 0; border-bottom:1px solid rgba(0,0,0,0.04); }
.vertical-news img { width:130px; height:90px; object-fit:cover; border-radius:8px; }

/* responsive behaviour */
@media (max-width: 991px) {
  .hero-img { height:240px; }
  .hero-small-img { width:110px; height:80px; }
  .list-item img { width:100px; height:70px; }
  .featured-article img { height:200px; }
  .slider-box { min-width:200px; }
}

@media (max-width: 575px) {
  .news-title { font-size:20px; padding-left:8px; }
  .list-item { flex-direction:row; gap:10px; }
  .list-item img { width:100px; height:70px; }
  .hero-img { height:200px; }
  .featured-article img { height:160px; }
  .slider-container { gap:10px; }
}

/* link styles */
a { color: #0b0b0b; text-decoration:none; }
a:hover { text-decoration:underline; }

/* utility spacing for consistent look */
.mt-5 { margin-top:2.5rem !important; }
.mb-4 { margin-bottom:1.25rem !important; }

/* small accessibility improvements */
img[alt=""] { filter: none; }



@media (min-width: 1400px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 1140px!important;
    }
}
@media (min-width: 640px) {
    .navbar-brand {
            display: none;
            transition: all 0.3s;
        }
	
}
@media (max-width: 640px) {
    .header {
            display: none;
        }
	.navbar {
			transition: all 0.3s;
			position: relative;
			width: 100%;
			background: white;
			font-weight: 600;
			border-bottom: none !important;
			box-shadow: none !important;
			margin-bottom:20px;
			padding:5px 0;
		}
	.main-news img {
		width: 100%;
  		height: 200px!important;
  		object-fit: cover;
  		border-radius: 8px;
	}
}


.btn-primary {
  background: linear-gradient(135deg, #007bff, #0056b3) !important;
  color: white !important;
  font-weight: 600!important;
  font-size: 1rem!important;
  padding: 12px 24px!important;
  border: none!important;
  border-radius: 8px!important;
  box-shadow: 0 4px 10px rgba(0, 123, 255, 0.3);
  transition: all 0.3s ease-in-out;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  display: inline-block;
}

.btn-primary::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300%;
  height: 300%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 10%, transparent 50%);
  transition: width 0.4s ease, height 0.4s ease, top 0.4s ease, left 0.4s ease;
  transform: translate(-50%, -50%);
  border-radius: 50%;
}

.btn-primary:hover::before {
  width: 100%;
  height: 100%;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0056b3, #003c80);
  box-shadow: 0 6px 15px rgba(0, 91, 187, 0.5);
  transform: translateY(-2px);
}

.btn-primary:active {
  transform: translateY(1px);
  box-shadow: 0 2px 5px rgba(0, 91, 187, 0.5);
}


@media (max-width: 640px) {
 /* Enables horizontal scrolling */
    .scrollable-navbar {
		font-family: "Ramabhadra", serif;
        white-space: nowrap; /* Prevents wrapping */
        overflow-x: auto; /* Allows horizontal scrolling */
        -webkit-overflow-scrolling: touch; /* Smooth scrolling on mobile */
        padding-bottom: 5px;
		
		
    }

    /* Hides scrollbar for a cleaner look */
    .scrollable-navbar::-webkit-scrollbar {
        display: none;
    }
	.navbar.fixed-top {
    background-color: white; /* Ensure visibility */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Optional: Add shadow */
	}

    /* Ensures menu items are inline */
    .navbar-nav li {
        display: inline-block;
    }

    .navbar-nav a {
        display: inline-block;
        padding: 3px 11px;
        color: white;
        text-decoration: none;
		font-size:17px;
		font-weight:normal!important;
    }
}
.bg-ig {
	background:#990000 !important;
}



h1 a, h2 a, h3 a, h4 a, h5 a{
	text-decoration:none;
	color:black;
}
a {
	text-decoration:none;
}

.fw-bold {
    font-weight: normal !important;
}
	
 /* Top Bar */
    .topbar {
        background: #111;
        color: #fff;
        padding: 8px 0;
        font-size: 14px;
    }

    .topbar a {
        color: #fff;
        font-weight: 500;
    }

    /* Main Header */
    .main-header {
        background: #fff;
        border-bottom: 1px solid #eee;
        padding: 12px 0;
        transition: all 0.3s ease;
    }

    .main-header.scrolled {
        padding: 6px 0;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }

    /* Logo */
    .site-logo img {
        height: 48px;
        transition: 0.3s;
    }
    .main-header.scrolled .site-logo img {
        height: 40px;
    }

    /* Desktop Menu */
    .main-menu .nav-link {
        font-weight: 500;
        padding: 10px 15px;
        color: #222;
    }
    .main-menu .nav-link:hover {
        color: #d60000;
    }

    /* Mobile Header */
    .mobile-header {
        background: #fff;
        padding: 10px;
        border-bottom: 1px solid #eee;
    }

    .mobile-header img {
        height: 36px;
    }

    .mobile-scroll-menu {
        white-space: nowrap;
        overflow-x: auto;
        background: #d60000;
        padding: 8px 0;
    }

    .mobile-scroll-menu a {
        color: #fff;
        padding: 0 15px;
        font-size: 14px;
        font-weight: 500;
    }



/* GENERAL POST STYLES */
.single-post-area article {
    border: 1px solid #eee;
    border-radius: 10px;
    background: #fff;
    padding: 25px;
}

.single-post-area h1 {
    font-weight: 700;
    font-size: 32px;
}

.breadcrumb {
    background: none;
    padding: 0;
    margin-bottom: 15px;
}

.post-meta {
    color: #555;
    margin-bottom: 15px;
    font-size: 14px;
}

/* SHARE BAR */
.share-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: #f7f7f7;
    border-radius: 6px;
    margin-bottom: 20px;
}

.share-bar img {
    width: 26px;
    height: 26px;
    transition: 0.2s;
}

.share-bar img:hover {
    transform: scale(1.15);
}

/* RELATED POSTS GRID */
.related-posts h3 {
    font-size: 22px;
    font-weight: 700;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
}

.related-item img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
}

.related-item h4 {
    font-size: 15px;
    margin-top: 8px;
    font-weight: 600;
    color: #000;
}

/* MOBILE FIXES */
@media(max-width: 768px) {
    .single-post-area article {
        padding: 15px;
    }
    .single-post-area h1 {
        font-size: 26px;
    }
}



/*home styles */
    
        .trending-container {
            padding: 20px;
        }
        .main-news img {
            width: 100%;
			height:300px;
			object-fit: cover;
            border-radius: 8px;
        }
		 .main-news a {
            text-decoration:none;
			 color:#000;
        }
        .news-list img {
            width: 100px;
            border-radius: 8px;
        }
        .news-list .news-item {
            display: flex;
            gap: 10px;
            margin-bottom: 15px;
            align-items: center;
            padding-bottom: 10px;
            border-bottom: 1px solid #ccc;
			font-size:16px;
			font-weight:500;
        }
		.news-list .news-item a{
            color:#000;
			text-decoration:none;
			font-weight:500;
        }

	.news-section {
            max-width: 400px;
            background: white;
            padding: 15px;
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        }
        .news-title {
			font-family: "Ramabhadra", serif;
            font-size: 1.8rem;
            color: #000;
            border-left: 4px solid #00AEEF;
            padding-left: 8px;
            margin-bottom: 15px;
        }
        .news-card-h img {
            width: 100%;
            border-radius: 8px;
        }
        .news-card-h h5 {
            font-size: 1rem;
            font-weight: bold;
            margin-top: 10px;
        }
        .news-card-h p {
            font-size: 0.9rem;
            color: gray;
            margin-top: -5px;
        }
        .news-list2 {
            list-style: none;
            padding: 0;
        }
        .news-list2 li {
            display: flex;
            align-items: center;
            margin-top: 10px;
            border-top: 1px solid #ddd;
            padding-top: 10px;
        }
        .news-list2 img {
            width: 60px;
            height: 60px;
            border-radius: 5px;
            margin-right: 10px;
        }
        .news-list2 a {
            text-decoration: none;
            font-size: 0.90rem;
            font-weight: 500;
            color: #000;
            display: block;
        }
        .news-list2 p {
            font-size: 0.75rem;
            color: gray;
        }

	.videos {
	 background-color: #121212;
            color: white;
	padding:25px;
	border-radius:20px;
        }
        .video-card {
            position: relative;
            overflow: hidden;
            border-radius: 8px;
            background: #1e1e1e;
            padding: 10px;
	    margin-top:10px;
        }
		.video-card a{
			  text-decoration:none;
			 color:#fff;
		}
        .video-card img {
            width: 100%;
            border-radius: 8px;
        }
        .play-btn {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            background: rgba(255, 0, 0, 0.8);
            border-radius: 50%;
            padding: 5px;
        }
        .play-btn img {
            width: 30px;
            height: 30px;
        }
        .view-more-btn {
            background: linear-gradient(45deg, #ff416c, #ff4b2b);
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: 25px;
            font-weight: bold;
            transition: all 0.3s ease-in-out;
        }
		.view-more-btn a{
			color:#fff;
		}
        .view-more-btn:hover {
            background: linear-gradient(45deg, #ff4b2b, #ff416c);
            transform: scale(1.05);
        }
        .carousel-controls {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .carousel-controls button {
            background: none;
            border: none;
        }
        .carousel-controls img {
            width: 30px;
            height: 30px;
            cursor: pointer;
            filter: invert(1);
        }

/*home styles*/


/*sidebar*/
.news-list3 {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-radius: 8px;
    background: #f9f9f9;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: background 0.3s ease-in-out;
}

.news-list3:hover {
    background: #ececec;
}

.news-list3 img {
    width: 120px;
    height: 90px;
    object-fit: cover;
    border-radius: 6px;
}

.news-list3 p {
    margin: 0;
    font-size: 14px;
    font-weight: bold;
}

.news-list3 a {
    text-decoration: none;
    color: #333;
    transition: color 0.3s ease-in-out;
}

.news-list3 a:hover {
    color: #0073e6;
}

/*sidebar*/




/* Also Read Posts  */
.also-read-box {
    background: #FCF4E3; 
    border-left: 4px solid #990000; 
    padding: 15px;
    margin: 20px 0;
    border-radius: 5px;
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}


.also-read-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.also-read-box a {
    text-decoration: none;
    color: #C96E36; 
    font-weight: bold;
}

.also-read-box a:hover {
    color: #990000; 
    text-decoration: underline;
}
/* Also REad Posts*/



/*category news page styles*/
		.news-card {
            background: #212529; /* Dark background */
            color: white;
            border-radius: 8px;
            overflow: hidden;
            padding: 15px;
            font-weight: bold;
            display: flex;
            flex-direction: column;
            height: 100%; /* Ensures equal height */
	 		margin-bottom:20px;
        }
        .news-card img {
            width: 100%;
            height: 220px; /* Ensures consistent image height */
            object-fit: cover;
            border-radius: 8px;
        }
        .news-card .news-content {
            flex-grow: 1; /* Pushes content down for equal height */
        }
        
        /* Small Card Styles */
        .small-card {
            border: 1px solid #ddd;
            border-radius: 8px;
            padding: 8px;
            background: #fff;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .small-card img {
            width: 150px; /* Fixed width */
            height: 100px; /* Fixed height */
            border-radius: 6px;
            object-fit: cover;
            flex-shrink: 0; /* Prevents image from shrinking */
        }
        .small-card .text-content {
            flex-grow: 1; /* Ensures text doesn't shrink the image */
            overflow: hidden;
        }
        .small-card h6 {
            margin: 0;
            font-weight: bold;
            overflow: hidden;
            
        }

.load-more {
  background-color: white;
  color: black;
  padding: 10px 20px;
  font-size: 16px;
  border: 2px solid black;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
}

.load-more:hover {
  background-color: black;
  color: white;
  transform: scale(1.05);
} 
/*cagtegory news page styles*/


  .trending-shorts {
        background: #f9f9f9;
    }
    .section-title {
        font-weight: bold;
        color: #333;
    }
    .shorts-wrapper {
        position: relative;
        display: flex;
        align-items: center;
    }
    .shorts-carousel {
        display: flex;
        gap: 15px;
        overflow-x: auto;
        scroll-behavior: smooth;
        padding-bottom: 15px;
        white-space: nowrap;
        width: 100%;
    }
    .short-card {
        min-width: 200px;
        max-width: 200px;
        border-radius: 10px;
        overflow: hidden;
        position: relative;
        transition: transform 0.3s ease;
        background: #fff;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }
    .short-card a {
        text-decoration: none;
    }
    .short-card img {
        width: 100%;
        height: auto;
        border-radius: 10px;
		min-height:280px;
    }
    .short-overlay {
		position: absolute;
		bottom: 0;
		left: 0;
		width: 100%;
		background: rgba(0, 0, 0, 0.8);
		color: #fff;
		text-align: center;
		padding: 12px;
		font-size: 14px;
		min-height: 50px; /* Ensures enough space */
		max-height: 100%; /* Allows it to grow if needed */
		white-space: normal;
		overflow: visible; /* Ensures text is not cut off */
	}
    .short-card:hover {
        transform: scale(1.05);
    }
    .scroll-btn {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background: rgba(0, 0, 0, 0.5);
        color: white;
        border: none;
        padding: 10px;
        cursor: pointer;
        font-size: 20px;
        border-radius: 50%;
    }
    .left-btn { left: -30px; }
    .right-btn { right: -30px; }

	
.load-more2 {
	  background-color: white;
	  color: black;
	  padding: 10px 20px;
	  font-size: 16px;
	  border: 2px solid black;
	  border-radius: 25px;
	  cursor: pointer;
	  transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
	}
.load-more2 a {
    color: black;
    text-decoration: none;
    display: block;
    width: 100%;
    height: 100%;
}

.load-more2:hover {
    background-color: black;
    color: white;
    transform: scale(1.05);
}

/* Ensuring anchor tag also changes color */
.load-more2:hover a {
    color: white;
}
.card-body img {
	width:100%;
}

/* single more news */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.news-item2 {
    background: #fff;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
}
.news-item2 a{
color:#000;
}
.news-item2 img {
    width: 100%;
    height: auto;
    border-bottom: 2px solid #ddd;
}

.news-item2 h4 {
    font-size: 16px;
    padding: 10px;
}

/* Mobile: 2 per row */
@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile: 1 per row for very small screens */
@media (max-width: 480px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/*single more news*/




.social-icons-bar {
        text-align: left;
        margin: 10px 0;
    }
    .social-icons-bar a {
        display: inline-block;
        margin: 0 6px;
    }
    .social-icons-bar img {
        width: 20px;
        height: 20px;
    }


/*footer */
.footer-section {
            background-color: #121D3F;
            color: white;
        }
        .footer {
            background-color: #121D3F;
            padding: 40px 0;
			color: white;
			font-size:12px;
        }
        .footer a {
            color: #ccc;
            text-decoration: none;
        }
        .footer a:hover {
            color: #fff;
        }
        .brands {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 15px;
			padding:10px;
        }
        .brands img {
            height: 28px;
			margin-bottom:10px;
			padding:2px;
        }
        .social-icons a {
            margin: 0 10px;
            color: white;
            font-size: 20px;
        }
        .social-icons a:hover {
            color: #ffc107;
        }
		.channels-list {
            text-align: left;
            padding-left: 20px;
        }
        .channels-list li {
            list-style-type: disc;
            margin-bottom: 5px;
        }
/*footer ends */


.most-viewed-list {
    list-style: none;
    padding: 0;
}
.most-viewed-list li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}
.most-viewed-list img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 5px;
    margin-right: 10px;
}

ul#menu-top-menu-1 {
    margin: 0px;
}

.mobile-scroll-menu a {
    color: #fff;
    padding: 0px 15px;
    font-size: 23px;
    font-weight: 500;
    line-height: 35px;
}

#menu-top-menu-1 {list-style-type:none;}

.offcanvas-body li a {
    color: #333 !important;
    font-size: 23px;
    text-decoration: none;
}



#menu-top-menu-1 li a{color:#fff !important;}
