/*
 Theme Name:   chotigolponew.in
 Theme URI:    https://generatepress.com
 Description:  BEST BENGALICHOTI
 Author:       chotigolponew.in
 Author URI:   https://chotigolponew.in
 Template:     generatepress
 Version:      0.1
*/

.comment-form #url {
  display: none;
}

@media (min-width: 769px) {
  .site-content {
    display: flex;
  }

  .inside-right-sidebar {
    height: 100%;
  }

  .inside-right-sidebar aside:last-child {
    position: -webkit-sticky;
    position: sticky;
    top: 70px; /* Adjust position */
  }
}
/* sticky sidebar end */



.horizontal-scroll {
  flex-wrap: nowrap;
  overflow-x: auto;
  margin-top: 10px;
}

/* Home page custom css */
.secondary-post > div:not(:last-child) {
  border-bottom: 1px solid lightgrey;
}

/* headings highlight */
.gb-highlight {
  background-image: linear-gradient(45deg, #e96443, #904e95);
  color: transparent;
  -webkit-background-clip: text;
}

/* meta data */
.entry-meta {
  font-size: 14px;
}

/* Sidebar Universal */
.widget-title {
  padding: 10px 10px;
  background-image: linear-gradient(to right, #ebebeb 0%, #ebebeb 50%, #ebebeb 100%);
  border-radius: 10px;
  font-weight: 500;
  color: white !important;
  font-size: 18px !important;
  text-align: center;
  box-shadow: rgba(23, 43, 99, 0.3) 0 7px 28px;
}

.sidebar .widget {
  box-shadow: rgba(23, 43, 99, 0.3) 0 6px 18px;
  border-radius: 5px;
}

.sidebar .widget:first-child {
  background-image: linear-gradient(to right, #ffffff 0%, #ffffff 50%, #ffffff 100%);
}

.button.light {
  background-color: #fff;
  border-radius: 50px;
  font-weight: 700;
  color: #333;
}

.button.light:hover {
  background: #333;
  color: #fff;
}
/* End of sidebar code */

/* Shadow primary Navigation */
.main-navigation {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Button Style */
.read-more-bt,
a.button,
.pagination-bt,
.wp-block-search__button,
input[type="submit"] {
  font-size: 19px;
  padding: 10px 25px;
  transition: 0.5s;
  background-size: 200% auto;
  box-shadow: rgba(23, 43, 99, 0.3) 0 7px 28px;
 background-image: linear-gradient(to right, #6b5b4b 0%, #8a7763 51%, #6b5b4b 100%);
  border-radius: 50px;
}

.read-more-bt:hover,
a.button:hover,
input[type="submit"]:hover,
.pagination-bt:hover,
.wp-block-search__button:hover {
  background-position: right center;
  color: #fff;
  text-decoration: none;
}

/* above title icons */
.scroll-list {
  display: inline-block;
  white-space: nowrap;
  padding-left: 1px;
  text-align: center;
  margin-right: 20px;
}

/* mobile-action-bar */
.mobile-action-bar {
  position: fixed;
  width: 100%;
  bottom: 0;
}

/* Rank Math FAQ */
/* Rank Math FAQ container */
#rank-math-faq {
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.08);
  margin-bottom: 30px;
}

/* Rank Math FAQ list item */
#rank-math-faq .rank-math-list-item {
  position: relative;
  margin-bottom: 15px;
}

/* Invisible input checkbox to toggle FAQ */
#rank-math-faq .rank-math-list-item input {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 41px;
  opacity: 0;
  cursor: pointer;
  z-index: 999;
}

/* FAQ header (question) */
#rank-math-faq .rank-math-list-item h3 {
  background: #f1f2f6;
  padding: 10px 12px 10px 18px;
  cursor: pointer;
  font-size: 18px !important;
  font-weight: normal !important;
  position: relative;
  margin-bottom: 0;
  border-radius: 5px;
  transition: background-color 0.3s;
}

/* Arrow before FAQ question */
#rank-math-faq .rank-math-list-item h3:before {
  display: inline-block;
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 6px 0 6px 12px;
  border-color: transparent transparent transparent #000000;
  margin-right: 8px;
  transition: transform 0.3s ease;
}

/* Rotate arrow when FAQ is open */
#rank-math-faq .rank-math-list-item input:checked + h3:before {
  transform: rotate(90deg);
}

/* FAQ answer (content) */
#rank-math-faq .rank-math-answer {
  padding: 10px 10px 0px 10px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

/* Expand answer when FAQ is open */
#rank-math-faq .rank-math-list-item input:checked + h3 ~ .rank-math-answer {
  max-height: 100vh;
  overflow: visible;
  padding: 10px;
}





/* Easy TOC container */
#ez-toc-container {
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.08);
  margin-bottom: 30px;
  font-family: inherit; /* Matches the site's default font */
}

/* TOC title */
#ez-toc-container .ez-toc-title {
  font-size: 18px;
  font-weight: 600;
  padding: 10px 15px;
  background-color: #f1f2f6;
  border-radius: 5px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: background-color 0.3s;
}

/* TOC list styling */
#ez-toc-container ul,
#ez-toc-container ol {
  list-style: none; /* Removes bullets or numbers */
  padding: 0;
}

#ez-toc-container li {
  padding: 10px 0;
  font-size: 16px;
  border-bottom: 1px solid #e0e0e0;
}

#ez-toc-container li:last-child {
  border-bottom: none;
}

/* TOC links */
#ez-toc-container a {
  color: #333;
  text-decoration: none;
  transition: color 0.3s;
}

#ez-toc-container a:hover {
  color: #ff6f00;
}

/* Responsive design for smaller screens */
@media (max-width: 768px) {
  /* Adjust container padding for mobile */
  #ez-toc-container {
    padding: 15px;
  }

  /* Smaller font for mobile TOC title */
  #ez-toc-container .ez-toc-title {
    font-size: 16px;
  }

  /* Adjust padding of list items for mobile */
  #ez-toc-container li {
    padding: 8px 0;
    font-size: 14px;
  }
}




/* single post container width and shadow */
.single-post .inside-article {
  max-width: 950px;
  margin: 0 auto; /* Center the content */
}

 .single-post .inside-article {
  box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 8px;
  padding: 20px; /* Optional: Add padding for better spacing */
  border-radius: 8px; /* Optional: Add rounded corners */
}





/* Add a white box shadow to the whole table */
.wp-block-table {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
    border-collapse: collapse;
    width: 100%;
    font-size: 15px; /* Default font size for desktop */
}

/* Style the table header with a gradient */
.wp-block-table thead th {
    background: linear-gradient(45deg, #7b1ead, #ca64eb); /* Blue gradient */
    color: white; /* White text */
    padding: 10px;
    font-size: inherit; /* Inherits the base font size */
}

/* Style the first column in green with a gradient */
.wp-block-table tbody td:first-child {
    background: linear-gradient(90deg, #f15d78, #f15d78); /* Green gradient */
    color: white; /* White text */
    padding: 10px;
}

/* Style even rows with a gradient */
.wp-block-table tbody tr:nth-child(even) {
    background: linear-gradient(45deg, #35b89b, #00b090); /* White gradient */
    color: #ffffff; /* Pink text */
}

/* Style odd rows with a gradient */
.wp-block-table tbody tr:nth-child(odd) {
    background: linear-gradient(45deg, #e94266, #fcbc0d); /* Light blue gradient */
    color: #ffffff; /* Black text */
}



/* Add a hover effect for table rows */
.wp-block-table tbody tr:hover {
    background: linear-gradient(45deg, #ffffff, #ffffff); /* Gradient on hover */
    color: #f5673e; /* Black text on hover */
    transition: background 0.3s ease, color 0.3s ease; /* Smooth transition */
}

/* Responsive design for mobile */
@media (max-width: 768px) {
    .wp-block-table {
        font-size: 11px; /* Smaller font size for mobile */
    }
}




/* blockquote */
blockquote {
    background-color: rgba(242, 244, 255, 1);
    border-radius: 10px;
    border: none;
    padding: 20px 40px;
    margin: 20px 0;
    position: relative;
    font-family: 'Georgia', serif;
    font-size: 18px;
    color: #333;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

blockquote::before {
    content: "“";
    position: absolute;
    top: -20px;
    left: 1%;
    transform: translateX(-50%);
    color: rgba(228, 236, 247, 1);
    font-size: 139px;
    z-index: 1;
    font-family: 'Arial', sans-serif;
    line-height: 1;
}

blockquote p {
    position: relative;
    z-index: 2;
    margin: 0;
}

blockquote::after {
    content: "”";
    position: absolute;
    bottom: -90px;
    right: 5%;
    transform: translateX(50%);
    color: rgba(228, 236, 247, 1);
    font-size: 139px;
    z-index: 1;
    font-family: 'Arial', sans-serif;
    line-height: 1;
}






/* ...........................................................read more css .............................*/

.related-posts {
    margin-top: 30px; /* Adds some space before the section */
    padding: 15px; /* Adds padding around the content */
    background-color: #f9f9f9; /* Subtle background color for contrast */
    border: 1px solid #e1e1e1; /* Light border for definition */
    border-radius: 8px; /* Rounded corners */
    font-size: 20px; /* Slightly larger text for readability */
    line-height: 1.6; /* Improved line height for better readability */
    color: #333; /* Dark text color for readability */
}

.related-posts strong {
    font-size: 20px; /* Larger bold text for "Read More" */
    color: #ff6900; /* Darker color for the strong text */
    display: inline-block; /* Keep "Read More" inline with the link */
    margin-right: 8px; /* Spacing between "Read More" and the link */
}

.related-posts a {
    color: #0073aa; /* Blue color for the link */
    font-weight: bold; /* Make the link bold */
    text-decoration: none; /* Remove the underline */
    transition: color 0.3s ease, text-decoration 0.3s ease; /* Smooth transition */
}

.related-posts a:hover {
    color: #005f8d; /* Darker blue on hover */
    text-decoration: underline; /* Underline on hover for better interactivity */
}

.related-posts a:focus {
    outline: none; /* Remove the default focus outline */
    border-bottom: 2px solid #0073aa; /* Add a custom focus underline */
}

.related-posts ul {
    list-style-type: none; /* Remove default list styling */
    padding: 0; /* Remove padding */
    margin: 10px 0 0; /* Add some margin on top */
}

.related-posts li {
    margin-bottom: 10px; /* Add space between list items */
}

.related-posts .read-more-container {
    display: flex;
    justify-content: flex-start; /* Align the text and link to the left */
    align-items: center; /* Vertically align the text */
    gap: 10px; /* Space between the text and the link */
}


/*........................................................... whatsapp icon css.............................. */
/* WhatsApp Icon */
#whatsapp-icon img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    position: fixed;
    bottom: 20px;
    right: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: transform 0.3s ease;
    z-index: 1000;
}

#whatsapp-icon img:hover {
    transform: scale(1.1);
}

/* WhatsApp Popup */
#whatsapp-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

#whatsapp-popup.show {
    display: flex;
}

.popup-content {
    background: #fff;
    padding: 20px;
    text-align: center;
    max-width: 400px;
    border-radius: 12px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.popup-content h2 {
    font-size: 24px;
    color: #E91E63;
}

.popup-content p {
    font-size: 16px;
    color: #555;
}

button {
    background-color: #128C7E;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 30px;
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

button:hover {
    background-color: #25D366;
    transform: scale(1.05);
}

.close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
}



/* ......................................................................Article/POST SMALL container width for PC ONLY....................................... */
@media (min-width: 1024px) {
    .single .inside-article {
        max-width: 850px; /* Adjust this value as needed */
        margin: 0 auto;
    }
}


/* sticky sidebar wp form and all */
.sidebar {
    position: -webkit-sticky;
    position: sticky;
    top: 50px; /* The distance from the top of the screen */
    max-height: calc(100vh - 20px); /* Make sure the sidebar stays within the viewport */
}




/* ........................................................................Default shadow on post images........................................................................ */
.single .inside-article img {
    /* Softer, more subtle shadow for a pop-up effect */
    box-shadow: rgba(0, 0, 0, 0.2) 0px 4px 12px 0px;
	margin-bottom: 20px;

    /* Border radius for rounded corners */
    border-radius: 20px; /* Adjust this value for more or less rounded corners */
}

/* Adjusting gap between list items (unordered and ordered) inside single posts */
.single .inside-article ul li, 
.single .inside-article ol li {
    margin-bottom: 27px;  /* Adjust the value (9px) as per your needs */
}



/* Link wrapper for the image */
.vv-popup-content a#vv-popup-image-link {
    display: block;
    margin-bottom: 15px;
    outline: none;
    border: none;
}

/* Remove all link focus styles from the image */
.vv-popup-content a#vv-popup-image-link:focus,
.vv-popup-content a#vv-popup-image-link:active,
.vv-popup-content a#vv-popup-image-link img:focus,
.vv-popup-content a#vv-popup-image-link img:active {
    outline: none;
    box-shadow: none;
    border: none;
}

/* Image styling */
.vv-popup-content a#vv-popup-image-link img {
    max-width: 100%;
    height: auto;
    display: block;
    border: none;
}

/* CTA button link */
.vv-popup-content a#vv-popup-link {
    display: inline-block;
    background: #0073e6;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s;
}

.vv-popup-content a#vv-popup-link:hover {
    background: #005bb5;
}

.vv-popup-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    color: #888;
    cursor: pointer;
    transition: color 0.2s;
}

.vv-popup-close {
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 26px;
    background: #fff;
    border: 2px solid #ccc;
    border-radius: 50%;
    color: #333;
    width: 32px;
    height: 32px;
    line-height: 28px;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    z-index: 10000;
}

}
