/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  GeneratePress child theme
 Author:       Priyanka
 Author URI:   https://cgpscedu.in
 Template:     generatepress
 Version:      1.0.0
*/

/* नीचे दिया गया आपका Footer Stylish Links CSS जोड़ें */

/* पूरी वेबसाइट के लिए हॉरिजॉन्टल स्क्रोल रोकें */
html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    box-sizing: border-box;
    max-width: 100%;
}

/* ===== Footer Stylish Links CSS ===== */

/* डेस्कटॉप के लिए (600px से ऊपर) */
@media(min-width: 600px) {
    .footer-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
        font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        font-size: 16px;
        padding: 10px 0;
        background-color: #f9f9f9;
        border-radius: 8px;
        box-shadow: 0 2px 5px rgba(0,0,0,0.05);
        margin: 0 auto 15px;
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
        overflow-x: visible;
        white-space: normal;
    }
}

/* मोबाइल के लिए (600px से नीचे) */
@media(max-width: 599px) {
    .footer-links {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        gap: 15px;
        padding: 10px 0;
        justify-content: flex-start;
        font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        font-size: 14px;
        background-color: #f9f9f9;
        border-radius: 8px;
        box-shadow: 0 2px 5px rgba(0,0,0,0.05);
        margin: 0 auto 15px;
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
        white-space: nowrap;
        scrollbar-width: thin;
        scrollbar-color: #0073e6 transparent;
    }
    .footer-links::-webkit-scrollbar {
        height: 6px;
    }
    .footer-links::-webkit-scrollbar-thumb {
        background-color: #0073e6;
        border-radius: 3px;
    }
}

/* लिंक स्टाइल - डेस्कटॉप और मोबाइल दोनों के लिए */
.footer-links a {
    display: inline-block;
    padding: 8px 16px;
    background-color: #e6f0ff;
    border-radius: 20px;
    color: #0073e6;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 0 8px rgba(0, 115, 230, 0.2);
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.footer-links a:hover,
.footer-links a:focus {
    background-color: #005bb5;
    color: #fff;
    box-shadow: 0 0 12px rgba(0, 91, 181, 0.7);
    text-decoration: none;
    transform: translateY(-2px);
}

.footer-links a:active {
    transform: translateY(0);
    box-shadow: none;
    transition: none;
}

/* Footer credit */
.custom-footer-credit {
    text-align: center;
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 14px;
    color: #777;
    margin-top: 0;
    margin-bottom: 20px;
    font-weight: 500;
}

.custom-footer-credit a {
    color: #0073e6;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.3s ease;
}

.custom-footer-credit a:hover,
.custom-footer-credit a:focus {
    color: #005bb5;
    text-decoration: underline;
}

/* === Quiz Box Styling === */


  .quiz-box {
    max-width: 760px;
    margin: 25px auto;
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-left: 6px solid #007bff;
    border-radius: 12px;
    padding: 16px 20px;
    font-family: 'Segoe UI', sans-serif;
    box-shadow: 0 4px 10px rgba(0,0,0,0.06);
    transition: transform 0.2s ease;
  }
  .quiz-box:hover {
    transform: scale(1.01);
  }
  .quiz-question {
    font-weight: bold;
    color: #d63333;
    font-size: 18px;
    margin-bottom: 10px;
  }
  .quiz-options {
    margin: 0 0 10px 0;
    padding: 0;
    color: #333;
  }
  .quiz-options li {
    list-style: none;
    margin-bottom: 8px;
    background: #ffffff;
    border: 1px solid #dcdcdc;
    padding: 10px;
    border-radius: 5px;
    transition: background 0.3s;
  }
  .quiz-options li:hover {
    background: #eaf4ff;
  }
  .quiz-answer {
    display: none;
    background: #e9fce9;
    border-left: 4px solid #28a745;
    color: #155724;
    font-weight: normal;
    padding: 12px;
    border-radius: 6px;
    margin-top: 8px;
    font-size: 15px;
  }
  .quiz-button {
    background-color: #007bff;
    color: white;
    padding: 8px 18px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 15px;
    margin-top: 10px;
    transition: background 0.3s;
  }
  .quiz-button:hover {
    background-color: #0056b3;
  }



/* === Quiz Box Styling End === */









/* Sticky Header Fix */
body {
  scroll-padding-top: 100px;
}

.site-content, .main-content {
  margin-top: 100px;
}

/* HEADER */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 30px;
  background: linear-gradient(to right, #003366, #0066cc);  /* Navy blue to light blue */
  color: white;
  flex-wrap: wrap;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.site-header .custom-logo-link img {
  max-height: 60px;
}

.site-header .site-title {
  font-size: 24px;
  font-weight: 600;
  margin-left: 15px;
}

/* MENU BAR */
.main-navigation {
  background-color: #f8f8f8;
  border-top: 2px solid #0066cc;
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.main-navigation ul {
  display: flex;
  justify-content: center;
  padding: 0;
  margin: 0;
  list-style: none;
  flex-wrap: wrap;
}

.main-navigation li {
  margin: 0 10px;
}

/* ✅ Menu Link Styling with Improved Contrast */
.main-navigation a {
  display: block;
  padding: 10px 20px;
  color: #222222; /* Dark text for visibility */
  font-weight: bold;
  border-radius: 25px;
  text-decoration: none;
  transition: 0.3s;
}

/* ✅ Hover Styling with High Contrast */
.main-navigation a:hover,
.main-navigation .current-menu-item a {
  background-color: #004080; /* Strong dark blue */
  color: #ffffff;            /* Bright white text */
  font-weight: bold;
}

/* TOGGLE BUTTON FOR MOBILE */
.menu-toggle {
  display: none;
  background-color: #0066cc;
  color: #fff;
  padding: 10px 15px;
  border: none;
  border-radius: 5px;
  font-size: 18px;
  margin-top: 10px;
  cursor: pointer;
}

/* MOBILE RESPONSIVE FIX */
@media screen and (max-width: 768px) {
  .site-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 15px;
  }

  .site-header .site-title {
    font-size: 20px;
    margin: 10px 0 0 0;
    text-align: center;
  }

  .main-navigation ul {
    flex-direction: column;
    display: none;
    width: 100%;
  }

  .main-navigation.toggled ul {
    display: flex;
  }

  .main-navigation li {
    margin: 10px 0;
  }

  .main-navigation a {
    padding: 10px 15px;
    font-size: 16px;
    display: inline-block;
  }

  .menu-toggle {
    display: block;
  }

  .site-content, .main-content {
    margin-top: 120px;
  }
}


























.breaking-card {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  background: #ffffff;
  color: #000;
  padding: 16px;
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  flex-wrap: nowrap;
  gap: 16px;
}

.breaking-content {
  flex: 1 1 60%;
}

.breaking-content h2 {
  font-size: 1.1rem;
  margin: 6px 0;
  color: #0056b3;
  transition: color 0.2s ease;
}

.breaking-content h2:hover {
  color: #e60023;
}

.breaking-content p {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

.news-badge {
  background: #e60023;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 8px;
}

.news-category {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.8rem;
  background-color: #f0f0f0;
  padding: 4px 10px;
  border-radius: 20px;
  color: #444;
}

.news-thumb {
  flex: 1 1 40%;
  position: relative;
}

.news-thumb img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.news-thumb img:hover {
  transform: scale(1.03);
}

.video-time {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  padding: 3px 6px;
  font-size: 0.75rem;
  border-radius: 4px;
  font-weight: bold;
}

.read-more {
  display: inline-block;
  margin-top: 10px;
  font-weight: 600;
  color: #007bff;
  text-decoration: none;
}

.read-more:hover {
  text-decoration: underline;
}

@media screen and (max-width: 768px) {
  .breaking-card {
    flex-direction: row;
    padding: 12px;
    gap: 12px;
    align-items: flex-start;
  }

  .breaking-content {
    flex: 1 1 55%;
  }

  .news-thumb {
    flex: 1 1 45%;
  }

  .breaking-content h2 {
    font-size: 1rem;
  }

  .breaking-content p {
    font-size: 0.9rem;
  }

  .video-time {
    font-size: 0.7rem;
  }
}


@media (min-width: 769px) {
  .breaking-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
  }
	

	

  .breaking-content {
    flex: 1;
  }

  .news-thumb {
    flex: 0 0 220px;
  }

  .news-thumb img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
  }
}

.news-thumb img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}




.share-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.share-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 20px;
  color: #fff;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.share-link svg {
  fill: currentColor;
}

.share-link.whatsapp { background-color: #25D366; }
.share-link.facebook { background-color: #3b5998; }
.share-link.telegram { background-color: #0088cc; }

.share-link:hover {
  opacity: 0.85;
}


.site-info {
    display: none;
}


header.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: #fff; /* बैकग्राउंड देना जरूरी है */
  box-shadow: 0 2px 5px rgba(0,0,0,0.15);
}
body {
  padding-top: /* header की ऊँचाई */ 80px;
}







@media (min-width: 769px) {
  .share-buttons {
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
  }
}


@media (min-width: 769px) {
  .breaking-content h2 {
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.4;
  }
}

@media screen and (max-width: 768px) {
  .breaking-content h2 {
    font-size: 1.1rem;
    font-weight: 600;
  }
}


























@media screen and (min-width: 769px) {
  .site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
  }

  .site-logo {
    flex: 0 0 auto;
    margin-right: 20px;
  }

  .main-navigation {
    flex: 1 1 auto;
    overflow-x: auto;
  }

  .main-navigation .main-nav ul {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .main-navigation .main-nav ul::-webkit-scrollbar {
    display: none;
  }

  .main-navigation .main-nav li {
    flex: 0 0 auto;
  }
}



