.wrapper.style1 {
  background-color:aliceblue
}

#header{
    padding: 0em;
}

#header h1{
    padding: 1em; 
}

 
.wrapper {
    padding: 3em 0 3em 0;
}
      


/*   Services pages*/
.servicesTextL{
    flex: 0 0 40%; 
    padding-right:50px;
}
.servicesImageR {
    flex: 0 0 60%; 
    padding-right:50px;
}

.servicesTextR{
    flex: 0 0 40%; 
    padding-right:50px;
    
}
.servicesImageL {
    flex: 0 0 60%; 
    padding-right:50px;
    justify-content: center;
    
}
 

@media screen and (max-width: 736px) {
    .content-wrapper.services { 
      flex-direction: column; /* Stack the divs (image first, then text) */
      align-items: center;
      justify-content: center; /* Center horizontally */
  align-items: center; /* Center vertically */
  height: 100%
    }

    .content-wrapper.services-reverse { 
        flex-direction: column-reverse; /* Stack the divs (image first, then text) */
        align-items: center;
        justify-content: center; /* Center horizontally */
        align-items: center; /* Center vertically */
        height: 100%
      }

      .servicesImageL {
         
        padding-right:50px;
        justify-content: center;
        
    }
    
    #footer .container {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        flex-wrap: wrap;
    }
    
    .service-area {
        flex: 1;
        min-width: 300px;
    }
    
    .contact-form {
        flex: 1;
        min-width: 300px;
    }

    h3.faq {
    margin-bottom: 0px;
}
}
@media screen and (max-width: 840px) {
    .row>.col-6-narrower {
        width: 50%;
    }
}

/* Cookie Consent Popup Styling */
.cookie-consent-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #333;
    color: white;
    padding: 15px;
    text-align: center;
    font-size: 16px;
    display: none;
    z-index: 9999;
  }
  
  .cookie-consent-container {
    max-width: 900px;
    margin: 0 auto;
  }
  
  .cookie-consent-popup a {
    color: #ffd700;
    text-decoration: none;
  }
  
  .accept-cookies-button {
    background-color: #4caf50;
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    margin-top: 10px;
  }
  
  .accept-cookies-button:hover {
    background-color: #45a049;
  }
  
  .pagination {
    text-align: center;
    margin: 20px 0;
  }
  
  .page-link, .page-number {
    display: inline-block;
    padding: 8px 12px;
    margin: 0 5px;
    text-decoration: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    color: #333;
  }
  
  .page-number.current {
    font-weight: bold;
    background-color: #0073e6;
    color: white;
    border-color: #0073e6;
  }
  
  .page-link:hover, .page-number:hover {
    background-color: #f0f0f0;
  }
  

  .image.top img {
   
    width: 100%;
  }
  .box.post .image{
    width:100%;
  }

  .box.post .inner{
    margin:2em;
  }
  .post-abstract {
    background: #fff;               /* ensure you have a background */
    padding: 1rem;                  /* space inside the box */
    margin: 1.5rem 0;               /* vertical spacing around it */
    border-radius: 4px;             /* slightly rounded corners */
    box-shadow: 0 1px 3px rgba(0,0,0,0.12)  /* subtle downward shadow */
                
  }
 

  /* 1) make each .row a flex container whose children stretch */
.wrapper.style1 .row {
  display: flex;
  align-items: stretch;    /* ensure columns match height */
  flex-wrap: wrap;
}

/* 2) make each column (the <section class="col-6…">) a flex container */
.wrapper.style1 .row > section {
  display: flex;
  flex-direction: column;
  /* width is already handled by .col-6 */
}

/* 3) make the .box itself flex‑column and fill its parent */
.wrapper.style1 .box.post-abstract {
  display: flex;
  flex-direction: column;
  flex: 1;                 /* fill the height of the section */
}

/* 4) let the inner text area grow to push footer (if any) to bottom */
.wrapper.style1 .box.post-abstract .inner {
  flex: 1;                 /* consumes remaining space */
}




/* rounded corners /hover effect for main page highlight images */
.box.highlight .rounded-image {
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* hover effect for main page highlight images */
.box.highlight .hover-effect:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}


/* rounded corners   for main page posts images */
.post-thumb .rounded-image {
  border-radius: 12px;
}







/* rounded corners /hover effect for main page highlight images */
.box.highlight .rounded-image {
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* hover effect for main page highlight images */
.box.highlight .hover-effect:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}


/* rounded corners   for main page posts images */
.post-thumb .rounded-image {
  border-radius: 12px;
}
 
 

/* blog listing */
/* Base flex override remains intact */
/* Maintain .flex-override layout */
.flex-override {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Only override post-abstract when it's also a responsive-post */
.wrapper.style1 .box.post-abstract.responsive-post {
  display: flex !important;
  flex-direction: row;
  align-items: center;
}

/* Responsive layout tweaks */
@media screen and (max-width: 768px) {
  .wrapper.style1 .box.post-abstract.responsive-post {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center;
  }

  .post-thumb-responsive {
    margin-right: 0;
    margin-bottom: 1rem;
  }

  .post-text-responsive {
    width: 100%;
  }
}


.centered-thumb {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  box-sizing: border-box;
}

@media screen and (max-width: 768px) {
  .centered-thumb {
    padding-left: 1rem;
    padding-right: 1rem;
    text-align: center;
  }

  .centered-thumb img {
    margin-left: auto;
    margin-right: auto;
  }
}


.box.post.post-abstract.post-flex .post-thumb img.rounded-image {
  max-width: 100%;
  height: auto;
  display: block;
}