:root {
   
     --logo-color: #00BF62; 
    --primary-color: #0d6efd;
    --primary-border-color: #0a58ca;
       --primary-hover-color: #0b5ed7;
       --primary-hover-border: #0a53be;

    --secondary-color: #f5f5f5;
    --secondary-border-color: #d1d1d1;
    --secondary-hover-color: #e0e0e0;
    --secondary-hover-border: #b5b5b5;

     --secondary: #FFC448;
    --light: #FAFAFB;
    --dark: #12141D;
    
      --badge-blue: #0d6efd;
  --badge-green: #198754;
  --badge-red: #dc3545;
  --badge-orange: #fd7e14;
  --badge-teal: #20c997;
  --badge-purple: #6f42c1;
  --badge-pink: #d63384;

    
}


.badge-blue { background-color: var(--badge-blue); color: #fff; }
.badge-green { background-color: var(--badge-green); color: #fff; }
.badge-red { background-color: var(--badge-red); color: #fff; }
.badge-orange { background-color: var(--badge-orange); color: #fff; }
.badge-teal { background-color: var(--badge-teal); color: #fff; }
.badge-purple { background-color: var(--badge-purple); color: #fff; }
.badge-pink { background-color: var(--badge-pink); color: #fff; }


/* ===== Global Loader ===== */
#global-loader {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(255,255,255,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

/* Page body padding */
body { padding-top: 50px; 
     overflow-x: hidden;
}



.main-h1-title { margin-top: 12px; }

/* Make sidebar scroll only on large screens */
@media (max-width: 991px) {
  .sidebar {
    position: relative;
    max-height: none;
    overflow: visible;
    top: auto;
    padding-right: 0;
  }
}

/* Navbar category styling */
#category-nav .nav-link {
  margin: 0 10px;
  transition: color 0.3s ease;
  border-bottom: none !important;
}
#category-nav .nav-link.active { font-weight: 600; }

/* Blog header & content */
.blog-header img { width: 100%; max-height: 300px; object-fit: contain; border-radius: 12px; }
.blog-meta { color: #6c757d; font-size: 0.9rem; margin-bottom: 15px; }
.category-badge { margin-right: 5px; margin-bottom: 5px; padding-top: 5px; padding-bottom: 6px;}
.content p { line-height: 1.7; }
.content img { max-width: 100%; border-radius: 8px; margin: 15px 0; }



/* Sidebar */
.sidebar {
  position: sticky;
  top: 90px;
/*  max-height: calc(100vh - 100px);
  overflow-y: auto;*/
   max-height: none;
  overflow: visible;
  padding-right: 10px;
}
.sidebar h5 { font-weight: 600; margin-bottom: 15px; }
.sidebar ul { padding-left: 0; list-style: none; }
.sidebar ul li { margin-bottom: 8px; }
.sidebar ul li a { text-decoration: none; color: #0d6efd; font-size: 0.95rem; }
.sidebar ul li a:hover { text-decoration: underline; }

/* Related posts */
.related-title { margin: 40px 0 20px; font-weight: 600; }
.related-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  border: none;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(0,0,0,0.2);
  transition: transform 0.3s;
  text-decoration: none;
  color: inherit;
}
.related-card:hover { transform: translateY(-6px); }
.related-card img { width: 100%; height: 180px; object-fit: cover; }

/* Fix content images */
.content img, .blog-header img { max-width: 100%; height: auto; }





/*post content start*/
.containerOutput {
  max-width: 100%;
  margin: 20px auto;
}


hr{
  width: 60%;
 margin: 30px auto 30px auto; 
}




.shortsHeading {
 width: 100%;
 max-width: 360px;
  margin-bottom: 10px !important;
  text-align: center;
    margin: 0 auto; 
}


.normalHeading {
    width: 100%;
  max-width: 520px; 
  margin-bottom: 10px !important;
  text-align: left;
    margin: 0 auto; 
}




.shortsView {
  position: relative;
/*  width: 100%;*/
 max-width: 360px;   /* limit width on desktop */
  max-height: 50vh;  
  overflow: hidden;
  border-radius: 12px;
  aspect-ratio: 9 / 16;
  margin: 0 auto;     /* center horizontally */
}



.shortsIframe {
  position: absolute;
   inset: 0;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
   border: 0;
}


/* ✅ Normal YouTube videos (16:9) */
.normalView {
  position: relative;
  width: 100%;
  max-width: 520px;     
  aspect-ratio: 16 / 9; 
  max-height: 78vh;     
  overflow: hidden;
  border-radius: 12px;
  margin: 0 auto;
  background: #000;
}

.normalIframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}




/* mobile adjustments */
@media (max-width: 768px) {
  .shortsView {
    max-width: 100%;   /* full width */
      max-height: 60vh; 
   /* max-height: none;*/  /* let aspect-ratio handle height */
  }
  .normalView {
    max-width: 100%;   /* full width */
    max-height: none;  /* let aspect-ratio handle height */
  }
}



.code-block {
  position: relative;
  margin-bottom: 1.5rem;
}



.code-block pre {
  overflow-x: auto;
  padding: 1rem;
  border-radius: 8px;
  background: #2d2d2d; /* prism-tomorrow background */
  color: #f8f8f2;
}

.copy-btn {
  position: absolute;
  top: 8px;
  right: 8px; /* change to left:8px if you want */
  background: #3198F7;
  color: #fff;
  border: none;
  padding: 4px 10px 6px 10px;
  font-size: 0.8rem;
  border-radius: 6px;
  cursor: pointer;
  z-index: 10;
  transition: background 0.3s;
}

.copy-btn:hover {
  background: #2177c7;
}



.navbar-toggler {
  border-color: #0d6efd;
}

.navbar-toggler:focus,
.navbar-toggler:active {
  border-color: var(--primary-border-color)
}


/* Hide the 3rd related post on mobile/tablet */
@media (max-width: 991px) {   /* up to md & sm */
  .related-wrapper .col-6:nth-child(3) {
    display: none !important;
  }
}


.social-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%; /* circle */
}




/*affliate*/

.ali-carousel {
  max-width: 600px;
  margin: 0 auto;
}
.ali-image {
  border-radius: 12px;
  object-fit: cover;
  height: 350px;
}
.carousel-indicators [data-bs-target] {
  background-color: #000;
}
.ali-loader {
  color: #666;
}
@media (max-width: 768px) {
  .ali-image {
    height: 240px;
  }
}



.bg-dark {
    background-color: #12141D !important
}



.social-icon:hover {
  background-color: #1E212B; /* your desired hover color */
  color: white; /* optional: change icon color if using font icons or SVG fill */
}

.icon-white img {
  filter: brightness(0) invert(1);
}



.two-line-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}





.ad-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center; /* centers the actual ad */
}

.ad-label {
    /*  align-self: flex-start; moves label to the left */
    font-size: 11px;
    font-weight: 600;
    color: #999;
    background: #f1f3f5;
    padding: 3px 8px;
    border-radius: 4px;
    margin-bottom: 10px;
}

.ad-loading {
    font-size: 12px;
    color: #666;
    margin-bottom: 10px;
}



/*feature image control*/
.featured-image-block {
    text-align: center;
}



/* OUTSIDE TAGLINE */
.image-tagline-outside {
    margin-top: 6px;
    font-size: 14px;
    color: #777;
    text-align: center;
}
/*feature image control end*/

.post-tagline{
    font-size: 13px;
    color: #555;
    background: #f2f2f2;
    padding: 6px 10px;
    border-radius: 8px;
    display: inline-block;
    margin-bottom: 8px;
    border: 1px solid #e6e6e6;
}





/* ========================================
   BANNER ADS - ALL DEVICES
   ======================================== */
/* AD 2 - Hide below 472px */
.ad-2 {
    display: block;
}

@media (max-width: 800px) {
    .ad-2 {
        display: none !important;
    }
}

/* AD 1 - Always visible */
.ad-1 {
    display: block;
}



/* First ad */
.ad-1 .ad-inner {
    min-height: 50px;
}

/* Second ad */
.ad-2 .ad-inner {
    min-height: 60px;
}




/*smart card*/
.smart-card {
    max-width: 350px;
    background: #ffffff;
    border-radius: 12px;
    padding: 16px;
    border: 1px solid #e9e9ef;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.smart-card-title {
    color: #222;
}

.smart-card-text {
    color: #555;
    font-size: 14px;
}

.smart-card-btn {
    display: inline-block;
    background: #212529;
    color: #fff;
    padding: 8px 18px;
    border-radius: 30px;
    text-decoration: none;
    margin-top: 10px;
    transition: all 0.2s ease;
}

.smart-card-btn:hover {
    background: #000;
    color: #fff;
    transform: translateY(-2px);
}


/*affiliate disclosure note*/
.affiliate-disclosure-box{
    font-size:12.5px;
    color:#5f6368;
    background:#f8fafc;
    padding:14px 16px;
    border-radius:10px;
    margin-top:18px;
    border:1px solid #e5e7eb;
    line-height:1.5;
    box-shadow:0 2px 6px rgba(0,0,0,0.04);
}




/*consent banner*/
#cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 92%;
    max-width: 900px;
    background: #111;
    color: #fff;
    padding: 18px 20px;
    font-size: 14px;
    z-index: 99999;
    display: none;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    font-family: Arial, sans-serif;
}

#cookie-banner .text {
    margin-bottom: 10px;
    line-height: 1.5;
}

#cookie-banner .btns {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

#cookie-banner button {
    padding: 8px 14px;
    border: none;
    cursor: pointer;
    border-radius: 6px;
    font-weight: 500;
}

#acceptCookies {
    background: #22c55e;
    color: #fff;
}

#manageCookies {
    background: #374151;
    color: #fff;
}

#cookie-banner small {
    display: block;
    margin-top: 8px;
    color: #aaa;
    font-size: 11px;
}
/*consent banner*/
