/*
Theme Name: GeneratePress Child
Description: Custom Child Theme by Bharat Meena
Author: Bharat Meena
Template: generatepress
Version: 1.1
*/

/* ===============================
   INLINE RELATED POSTS (NightOwl)
   =============================== */
.nightowl-related-posts {
  background: #fffef2;
  padding: 16px;
  border-radius: 12px;
  margin: 28px 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.nightowl-related-posts h3 {
  font-size: 18px;
  font-weight: 600;
  color: #222;
  margin-bottom: 10px;
  text-align: left;
}

.nightowl-related-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.nightowl-related-item {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1 1 calc(33.333% - 12px);
  background: #fff;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 8px;
  text-decoration: none;
  color: #111;
  transition: all 0.3s ease;
}

.nightowl-related-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

.related-thumb {
  width: 55px;
  height: 55px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
}

.related-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.related-title {
  font-size: 14px;
  line-height: 1.4;
}

/* 📱 Mobile */
@media (max-width: 768px) {
  .nightowl-related-item {
    flex: 1 1 100%;
  }
}


/* =======================================
   TABLE OF CONTENTS (NightOwl)
   ======================================= */
.nightowl-toc {
  background: #f9f9ff;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  padding: 15px 18px;
  margin: 25px 0;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  font-size: 15px;
  line-height: 1.6;
}

.toc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.toc-title {
  font-weight: 700;
  color: #111827;
  font-size: 18px;
}

.toc-toggle {
  background: #2563eb;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 4px 10px;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.2s;
}

.toc-toggle:hover {
  background: #1d4ed8;
}

.toc-list {
  margin: 0;
  padding-left: 18px;
  list-style: none;
}

.toc-list.hidden {
  display: none;
}

.toc-list li {
  margin-bottom: 6px;
  position: relative;
}

.toc-list li::before {
  content: "•";
  color: #3b82f6;
  position: absolute;
  left: -14px;
}

.toc-list a {
  text-decoration: none;
  color: #2563eb;
  transition: color 0.2s;
}

.toc-list a:hover {
  color: #1d4ed8;
  text-decoration: underline;
}

/* Sub-level (H3) */
.toc-level-3 {
  margin-left: 12px;
  font-size: 14px;
}

/* 📱 Mobile-friendly */
@media (max-width: 768px) {
  .nightowl-toc {
    font-size: 14px;
    padding: 12px 14px;
  }
  .toc-title {
    font-size: 16px;
  }
  .toc-toggle {
    font-size: 13px;
    padding: 3px 8px;
  }
}

/* Rank Math FAQ CSS Starts */
.rank-math-question:before, .rank-math-question:after {
content: "?";
position: absolute;
right: 0;
top: 0;
width: 30px;
line-height: 30px;
text-align: center;
color: #ffffff;
background: #99ccff;
border-radius: 50px;
}
.rank-math-question {
border-bottom: 1px solid #e6e6e6;
padding-bottom: 0.825rem;
position: relative;
padding-right: 40px;
font-size: 1.05em;
font-weight: 600;
}
.rank-math-list-item {
padding: 15px 25px 5px 25px;
border: 1px solid #99ccff;
background: #ffffff;
margin-bottom: 35px;
margin-top: 2rem;
}
/* Rank Math FAQ CSS Ends */


.affiliate-abbtn {
    box-shadow: none !important;
   }

.affiliate-block-advanced-list{
   box-shadow: none !important;
}

.affiliate-coupon-inner{
   box-shadow: none !important;
}

.bialty-container {
    box-shadow: none !important;
   }

.affiliate-notification-inner {
    box-shadow: none !important;
   }





.auto-related-link {
  color: #2563eb;
  text-decoration: underline;
  font-weight: 500;
  transition: color 0.2s;
}

.auto-related-link:hover {
  color: #1d4ed8;
  text-decoration: none;
}

/* New Fonts Added */

body {
  font-family: 'Hind', sans-serif;
  font-size: 18px;
  line-height: 1.8;
  color: #1a1a1a;
  background-color: #fff;
}

/* Headings */
h1 {
  font-family: 'Tiro Devanagari Hindi', serif;
  font-weight: 700;
  font-size: 2.6rem;
  color: #111;
  line-height: 1.3;
  letter-spacing: -0.5px;
}

h2, h3 {
  font-family: 'Mukta', sans-serif;
  font-weight: 600;
  color: #222;
  margin-top: 25px;
  line-height: 1.4;
}

h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  color: #333;
}

/* Paragraph */
p {
  font-family: 'Hind', sans-serif;
  color: #2a2a2a;
  font-size: 18px;
  line-height: 1.8;
}

/* Buttons */
button, .btn, .wp-block-button__link {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  background: linear-gradient(90deg, #0055ff, #00bcd4);
  color: #fff;
  text-transform: uppercase;
  border-radius: 6px;
  padding: 10px 22px;
  border: none;
  cursor: pointer;
  transition: 0.3s;
}
button:hover, .btn:hover, .wp-block-button__link:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

/* Quotes or Highlighted Lines */
.attitude-quote {
  font-family: 'Noto Serif Devanagari', serif;
  font-weight: 600;
  font-size: 22px;
  color: #007bff;
  text-align: center;
  margin: 25px 0;
}