.elementor-1922 .elementor-element.elementor-element-6b136e4{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-1922 .elementor-element.elementor-element-58e417b{--spacer-size:100px;}.elementor-1922 .elementor-element.elementor-element-7b8a3fd{--display:flex;--flex-direction:column;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--align-items:center;}.elementor-1922 .elementor-element.elementor-element-6a55f20{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-1922 .elementor-element.elementor-element-d9f2891{--spacer-size:150px;}.elementor-1922 .elementor-element.elementor-element-ea1582f{--display:flex;--flex-direction:row;--container-widget-width:initial;--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--justify-content:center;}.elementor-widget-button .elementor-button{font-family:var( --e-global-typography-accent-font-family ), Sans-serif;font-weight:var( --e-global-typography-accent-font-weight );background-color:var( --e-global-color-accent );}.elementor-1922 .elementor-element.elementor-element-9a5f1e5 .elementor-button{font-family:"DM Sans", Sans-serif;font-size:24px;font-weight:400;fill:var( --e-global-color-secondary );color:var( --e-global-color-secondary );background-color:#61CE7000;border-style:solid;border-width:1px 1px 1px 1px;border-color:var( --e-global-color-secondary );border-radius:100px 100px 100px 100px;padding:20px 20px 20px 20px;}.elementor-1922 .elementor-element.elementor-element-9a5f1e5 .elementor-button:hover, .elementor-1922 .elementor-element.elementor-element-9a5f1e5 .elementor-button:focus{color:#FFFFFF;background-color:#455CE9;}.elementor-1922 .elementor-element.elementor-element-9a5f1e5 .elementor-button:hover svg, .elementor-1922 .elementor-element.elementor-element-9a5f1e5 .elementor-button:focus svg{fill:#FFFFFF;}.elementor-1922 .elementor-element.elementor-element-9a5f1e5 > .elementor-widget-container{margin:0px 0px 0px 0px;padding:0px 0px 0px 0px;}.elementor-1922 .elementor-element.elementor-element-5c7e1ed{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-1922 .elementor-element.elementor-element-3e845c0{--spacer-size:150px;}@media(max-width:1024px) and (min-width:768px){.elementor-1922 .elementor-element.elementor-element-7b8a3fd{--content-width:90vw;}}/* Start custom CSS for shortcode, class: .elementor-element-a5a3881 */.next-post-container {
  display: inline-block;
  width: 69vw;
  height: 600px;
  margin: 0px !important;
 
}


.next-post-container h3 {
    font-family: 'Dm Sans';
    font-weight: 900;
    font-size: 18px;
    text-align: center;
    
}

.next-post-thumbnail img {
    width: 100%;

    border-radius: 0px;
}


.next-post-thumbnail-container {

    position: absolute;
    overflow: hidden; /* Ensure cropping is possible */
    bottom: 0px;
    right: 0px;
    left: 0px;
}

.next-post-thumbnail img {
    width: 100%; 

    
    transform: translateY(50%); /* Initial position */
    transition: transform 0.5s ease; /* Smooth transition */
}

.next-post-thumbnail-container:hover img {
    transform: translateY(0%); /* Shift image upwards on hover */

      
}

.next-post-content {
    position: relative;
    transition: transform 0.5s ease;
}





.next-postname h4 {
    text-align: center;
    color: black;
    font-size: 150px;
       font-family: 'Dm Sans';
    

}



    .horizontal-row {
        display: flex;
        justify-content: space-between;
        border-top: 2px solid #ddd; /* Horizontal line */
    }




@media only screen and (min-width: 768px) and (max-width: 1024px) {
 

 .next-post-container {
  display: inline-block;
  width: 90vw;
  height: 600px;
 
}
 
    }




@media only screen and (max-width: 767px) {
    /* Styles for mobile devices */
    .next-post-container {
          display: inline-block;
  width: 95vw;
  height: 270px;

    }

  .next-post-container h3 {

    font-size: 12px;

    
}

    .next-post-thumbnail img {
        width: 100%; /* Make the image responsive */
        height: auto;
    }

    .next-postname h4 {
     font-size: 50px;
    }
}/* End custom CSS */
/* Start custom CSS for button, class: .elementor-element-9a5f1e5 */.work-button {
  position: relative;
  display: inline-block;

  font-size: 16px;
  color: white; /* Button text color */
  background-color: transparent; /* Initial transparent background */
  overflow: hidden; /* To hide the background overflow during animation */
  transition: color 0.4s ease;
border-radius: 100px;
  z-index: 1; /* Ensure the button stays visible */
}

.work-button::before {
  content: '';
  position: absolute;
  top: -150%;
  left: 50%;
  width: 300%;
  height: 300%;
  background-color: #455CE9; /* Hover background color (blue) */
  border-radius: 50%;
  transition: transform 0.5s ease-in-out;
  transform: translate(-50%, 50%) scale(0); /* Initial state: hidden */
  z-index: 0;
}

.work-button:hover::before {
  transform: translate(-50%, -50%) scale(1); /* Fill the button smoothly on hover */
}

.work-button:hover {
  color: white; /* Keep the text color white when hovered */
}

.work-button span {
  position: relative;
  z-index: 1; /* Ensures the text is always on top of the background effect */
}

.work-button::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #455CE9;
  z-index: 0;
  opacity: 0; /* Hidden initially */
  transition: opacity 0.5s ease-in-out; /* Smooth transition for background color */
}

.work-button:hover::after {
  opacity: 1; /* Background stays filled when hovered */
}

/* Ensure the button doesn't disappear when clicked */
.work-button:active::before,
.work-button:active::after {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1; /* Keep the background visible on click */
}

.work-button:active {
  color: black; /* Maintain the text color when clicked */
}



.post-count  {
    font-family: 'Dm Sans';
    font-size: 16px; /* Smaller text size */
    color: #888;  
    line-height: 2px;
    
    /* Light gray color (optional) */
  display: inline-block;
    margin-left: 5px;
    
      vertical-align: top; /* Align it towards the top */
    position: relative;
    top: 0px; /* Adjust to fine-tune the vertical alignment */

    /* Space between the text and the count */
}

.post-count:hover{
    color: white;
    
}/* End custom CSS */