/*---------------------------Body html common classes - KTS---------------------Starts-------------------------------------------------*/
/*---------------------------Body html common classes - KTS---------------------Ends---------------------------------------------------*/

.sub_blog_section{
    font-size:16px;
  }	
  .blogpage4_sec9{
      font-size: initial;
  }
 /*Unset the padding of column set by bootstrap column class*/
  .blogpage4_sec1, .blogpage4_sec1 .sub_sections{
      padding-left:0%;
      padding-right:0%;
  }
 
  /*Unset the margin from top for input field that set in kts_master.css file*/
  .sub_sections .form-control{
      /* margin-top:1.5%; */
      border: none!important
  }

  /*provide margin from top for search section*/
  .blogpage4_sec3{
    margin-top:2%;
  }
@media (max-width: 991px) {
  .CCSS30-103-220-272 {
    font-size: 11px !important; /* Smaller font for tablets */
    line-height: 1.3;
  }
}

  /*Hide extra characters of blogs and display only first 80 characters of blogs in cards*/
  .morecontent{
    display:none;
  }

  /*Set height, background color and padding for cards of blogs*/
  .blogpage4_sec4 .sub_blog_section{
    background-color: #fffdfd;
    border-radius: 8px;
    box-shadow: 0 4px 7px 4px rgba(0, 0, 0, 0.1);
    border-bottom:1px solid #ff7700;
       border-right:1px solid #ff7700;
    height:100%;
    margin-top: 20px;
     
  }

 
  /*set padding from top for carousel slides*/
  .blogpage4_sec2 .carousel{
      padding-top:4%;
  }

  /*Set css prperties for back button*/
  #blogpage4_content_back{
      background-color:black;
      border:1px solid black;
      color:white;
      /*font-size:150%;*/
      padding:3% 4%;
      border-radius:50%;
  }

  /*set background color, color and border for back button on hover*/
  #blogpage4_content_back:hover{
      background-color:white;
      color:black;
      border:none;
  }

  /*Set cursor for heading of blog in cards*/
  .blogpage4_sec4 h1{
      cursor:pointer;
      text-align: start !important;
      margin-top: 5vh;
      margin-left: 2vh;
      
  }

  /*Set color of blog heading in blog cards*/
  .blogpage4_sec4 h1 a{
      color:#ff7700;
      text-align: start;
    
  } 
/*Set positoion for likes in blogpage4 in cards*/
.CCSS30-103-220-274{
    position:absolute;
    bottom:-5%;
}

  /*Set position of blog date to right when blog is in expanded state*/
  .CCSS30-103-220-275 {
  position: absolute;
  bottom: -5%;     /* Distance from bottom */
  right: 3vh;      /* Distance from right */
  font-size: 14px;  /* Responsive font */
  color: #333;      /* Customize as needed */
  text-align: right;
}


 /*heading*/
.CCSS30-100-217-270{
    font-size: 39px !important;
    letter-spacing: 0em;
    font: normal normal normal normal 66px / 1.4em spinnaker, sans-serif;
    color: rgb(26, 43, 109);
    line-height: normal;
    margin-bottom: 40px;
    width: 44%;
    border-bottom: 1px solid black;
    margin-left: 25%;
}


/*---------------------------Media BlogCorner4 classes - KTS---------------------Ends---------------------------------------------------*/
/* Most Popular Section */
.most-popular { 
    width: 100%;
    background-color: #fffdfd;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-top: 1vh;
    height: 100%;
}

.most-popular h3 {
    font-size: 2em !important;
    margin-bottom: 10px;
}

.popular-blogs {
    list-style-type: none;
    padding: 0;
}

.popular-blogs li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}
.popular-blogs li a {
   
    text-decoration: none;
    color: #060606;
}
.popular-blogs li h6 {
  text-align: left !important;
  font-size: 1em !important;
}
.popular-blogs img {
    width: 70px;
    height: 50px;
    border-radius: 8px;
    margin-right: 10px;
}
.expand-icon, .collapse-icon {
    display: none;
}
.desktop-most-popular-heading {
    display: none;
    text-align: left;
    color: #ff7700
}

@media (min-width: 768px) {
    .desktop-most-popular-heading {
        display: block;
        margin-bottom: 20px;
    }
}

/* Show icons only in mobile view */
@media (max-width: 768px) {
    .expand-icon, .collapse-icon {
        display: inline-block;
        font-size: 1.2em;
        cursor: pointer;
    }

    /* Styles for collapsed and expanded sections on mobile */
    .mobile-popular-collapsed {
        display: flex;
        align-items: center;
        justify-content: flex-start;
    }
    .mobile-popular-collapsed h3{
        display: none; /* Entire section hidden on desktops */
    }
    .mobile-popular-expanded {
        display: none; /* Initially hidden */
        
    }

    /* Additional styling for expanded state on mobile */
    .mobile-popular-expanded.active {
        position: fixed; /* Keep it at the top */
        top: 0;
        left: 0;
        width: 100%;
        z-index: 9999; /* Ensure it appears above other elements */
        background-color: #f5f5f5;
        padding: 10px;
        border-bottom: 1px solid #ccc;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
}

.search-blog{
       margin-top: 15px;
}


p i{
    margin-left: 2vh;
}

.search-container .search-icon {
    border: none !important;         /* Remove border */
    background: none;      /* Remove background */
    padding: 0;            /* Remove padding */
    outline: none;         /* Remove focus outline */
    cursor: pointer;       /* Change cursor to pointer */
}
.search-container .search-icon i {
    font-size: 16px;       /* Adjust icon size if needed */
    color: #333;        /* Set desired color for the icon */
    /* margin-top: 1.7vh;          */
}
.search-container .search-icon:focus {
    outline: none;         /* Ensure no outline on focus */
    box-shadow: none;      /* Prevent focus ring or shadow */
}

.search-container .input-group .input-group-text.search-icon {
    background: transparent;
    padding: 0;
    margin: 0;
    border-radius: 0; /* Ensures the button aligns seamlessly with input */
    cursor: pointer;
}

/* Optional: Adjust icon styling */

.blog_content{
    margin-left: 2vh;
    text-align: left !important;
}
@media (max-width: 768px) {
    .blog_content {
        font-size: 14px;
        padding: 10px;
    }
}

@media (max-width: 768px) { /* Adjust breakpoint as needed */
    .most-popular {
        height: auto;
    }
}

/*Set positoion for date in blogpage4 in cards*/

@media (max-width: 768px) {
    .home {
        display: flex;
        flex-direction: column;
    }

    #most-popular {
        order: 2; /* Move it after blogpage4_sec3 */
    }

    #blogpage4_sec4 {
        order: 3; /* Ensure it appears after most-popular */
    }
}
@media screen and (max-width: 767px) {
  .CCSS30-103-220-275 {
    align-self: flex-end; /* Push to right */
  font-size: 12px;
  color: #333;
  margin-top: auto;  /* Optional: Adjust spacing */
  
}

    .sub_blog_section h1 {
        font-size: 1.3rem !important;
    }
   
   
}
.fa-search{
	color:black;
	font-size:100px;
	font-size:x-large !important;
}

#country-list {
  max-height: 200px; /* or any height suitable for your design */
  overflow-y: auto;
  padding-right: 10px; /* optional: prevents content from being hidden behind scrollbar */
}
#country-list::-webkit-scrollbar {
  width: 6px;
}
#country-list::-webkit-scrollbar-track {
  background: #f1f1f1;
}
#country-list::-webkit-scrollbar-thumb {
  background-color: orange; /* match your theme */
  border-radius: 3px;
}

.pagination-controls {
    position: absolute;      /* Normal flow, scrolls with content */
    top: 100%;              /* Not needed here, but safe */
    left: 50%;               /* Center horizontally */
    transform: translateX(-50%); /* Center properly */
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;        /* Space from blogs above */
}


.pagination-btn {
    background-color: #ff7700; /* your template orange */
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}


.pagination-btn.disabled {
    background-color: rgba(0, 0, 0, .55);
    color: #ffffff;
    cursor: not-allowed;
    pointer-events: none;
}

.pagination-btn:hover {
  text-decoration: none !important;
}