

/* Desktop only */
@media screen and (min-width: 1024px) {
	
	.single-layout {
  display: grid;
  grid-template-columns: 220px 1fr 260px;
  gap: 30px;
  align-items: start; /* ensures sidebars don’t stretch */
}

.single-layout .post-sidebar {
  position: sticky;
  top: 30%; /* adjust distance from top */
  align-self: start;
}

	
	.footer-certifications {
  width: 100%;
  display: flex;
  justify-content: center;   /* push icons to center */
  margin: 30px 0;
}

.footer-certifications ul {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;   /* make UL items centered */
  padding: 0;
  margin: 0 auto;            /* ensure UL block is centered */
  list-style: none;
}

	
    nav.main-navigation {
        margin-right: 3%;
        margin-left: 3%;
    }

    .header-button {
        margin-left: -5%;
    }

    .header-user {
        margin-right: 5%;
        margin-left: -4%;
    }
}

@media screen and (max-width: 1023px) {
  .post-sidebar {
    display: none !important;
  }
}
p sup,
p a {
  display: inline-block;
  vertical-align: middle;
}



/* Target iPad devices but still inside desktop breakpoint */
@media screen and (min-width: 1024px) and (max-width: 1366px) {
    .post-sidebar {
        display: none !important;
    }
    .post-content {
        width: 100% !important;  /* stretch main content */
    }
}





/* Tablet view (768px–1023px) */
@media screen and (min-width: 768px) and (max-width: 1023px) {
	.footer-inner {
    text-align: left !important;
}

  /* Parent reset */
  footer > div {
    display: flex !important;
    flex-wrap: wrap !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
  }

  /* Row 1: Logo full width */
  .footer_logo {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    text-align: center !important;
    margin-bottom: 30px !important;
  }

  /* Row 2: Menus (Products, Solutions, Resources, Company → 4 columns) */
  .footer_logo ~ div:nth-of-type(-n+4) {
    flex: 0 0 25% !important;
    max-width: 25% !important;
    margin-bottom: 30px !important;
    display: block !important;
  }

 
  /* Row 4: Copyright row (full width, centered) */
  .footer_logo ~ div:nth-of-type(6) {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    text-align: center !important;
  }
	.social{
		margin-right: 3% !important;
	}
}


/* Tablet view: stack image on top, content below with reduced spacing */
@media (min-width: 768px) and (max-width: 1023px) {
  .single-hero {
    display: flex;
    flex-wrap: wrap;
  }
	.bottom-main-post_section {
    padding: 2%;
}

  .single-hero .imagesPanel {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    order: 1;
    margin-bottom: 10px; /* reduced space */
  }

  .single-hero .authorPanel {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    order: 2;
  }
	.authorPanel {
    padding-top: 4px !important;
}
}

@media (max-width: 767px) {
  .authorPanel {
    padding-top: 4px !important;
  }
}




@  screen and (max-width: 767px) {
  .footer-inner {
    text-align: left !important;
  }

  footer > div {
    display: flex !important;
    flex-wrap: wrap !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
  }

  /* Row 1: Logo full width */
  .footer_logo {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    text-align: center !important;
    margin-bottom: 20px !important;
  }

  /* Row 2: Products + Solutions (2 columns, 50% each) */
  .footer_logo ~ div:nth-of-type(1),
  .footer_logo ~ div:nth-of-type(2) {
    flex: 0 0 50% !important;
    max-width: 50% !important;
    margin-bottom: 20px !important;
    text-align: center !important;
  }

  /* Row 3: Resources + Company (2 columns, 50% each) */
  .footer_logo ~ div:nth-of-type(3),
  .footer_logo ~ div:nth-of-type(4) {
    flex: 0 0 50% !important;
    max-width: 50% !important;
    margin-bottom: 20px !important;
    text-align: center!important;
  }

  /* Row 4: Copyright row full width */
  .footer_logo ~ div:nth-of-type(6) {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    text-align: center !important;
    margin-top: 10px !important;
  }

}



.blog-categories-card img {

/*     object-fit: contain !important; */
 
}




/*****28/8*****/
@media (max-width: 767px) {
    .hamburger {
        display: flex;
        right: 20px;
        position: relative;
    }
		.footer-legal-menu {
    padding: 0 15px;
}
	.footer_logo {
    flex: 0 !important;
}
 	
	footer > div > div {
  flex: 0 0 auto !important;
  margin: 0 auto !important;
  text-align: center;
}
	footer > div > div h4 {
  margin-bottom: 25px !important;
  margin-top: 35px !important;     
}
	.certifications-menu {
    margin: 33px auto 30px;
} 

}
@media (min-width: 575px) and (max-width: 767px) {

	
/*   footer > div > div ul {
  column-count: 2;         
  column-gap: 60px;        
  list-style: none;         
  padding: 0;
  margin: 20px auto;       
  text-align: left;         
  max-width: 600px;        
  line-height: 1.8;        
  font-size: 15px;        
} */
	footer > div > div h4 {
  margin-bottom: 34px !important;
  text-align: center;
  margin-top: 35px !important;     
} 
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px !important;
    height: 19px !important;
}
 
 @media(max-width:574px){
.-service .blog-categories-card {
  display: block !important;
}
} 
@media(min-width: 768px) and (max-width:991px) {
    .blog-categories-posts {
       grid-template-columns: repeat(1, 1fr) !important;
    }
}
.blog-categories-card img {
    height: 100%;
    object-fit: contain !important;
    width: 100%;
}

@media screen and (min-width: 1024px) {
    nav.main-navigation {
        margin-right: 0 !important;
        margin-left: 0 !important;
    }
}
/* 
.btn-demo {
    display: block;
} */

/**add class**/
.product_width{
	flex:1 1 180px;
	margin-bottom:20px;
}
.footer_logo.logo_section {
    flex: 1 1 200px;
    margin-bottom: 20px;
}
/***/
@media(min-width:768px) and (max-width: 1023px){
.product_width h4 {
    padding-left: 33px;
}
	
#menu-footer-menu1, #menu-footer-menu2, #menu-footer-menu3, #menu-footer-menu4 {
    padding-left: 36px;
}
}



/* 29 august 2025 */

/* General table styling */


.main-navigation .menu li a {
  position: relative;
  text-decoration: none;
	font-size : 16px
	
}

.main-navigation .menu li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px; /* adjust distance from text */
  width: 0;
  height: 2px;
  background-color: #2680d8;
  transition: width 0.3s ease;
}

.main-navigation .menu li a:hover::after {
  width: 100%;
}


.hamburger {
	margin-right:10%;
}


/* Wrap your table in a div with class "table-wrapper" */
.table-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch; /* smooth scrolling on iOS */
}

/* Keep your current table styles */
table {
  width: 100%;
  min-width: 600px; /* force horizontal scroll on small screens */
  border-collapse: collapse;
  font-family: Arial, sans-serif;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  border-radius: 8px;
  overflow: hidden;
}

/* Table header */
table thead tr {
  background-color: #052b6b; /* deep blue */
  color: #fff;
  text-align: left;
  font-weight: bold;
}

table th {
  padding: 12px 16px;
  border: 1px solid #052b6b;
  font-size: 16px;
}

/* Table body */
table td {
  padding: 12px 16px;
  border: 1px solid #ddd;
  font-size: 15px;
  color: #333;
}

table tbody tr {
  background: #d4e8f9;
}

/* Alternate row color */
table tbody tr:nth-child(even) {
  background-color: #f9f9f9;
}

/* Hover effect */
table tbody tr:hover {
  background-color: #e11d48 !important;
  color: #fff !important;
  transition: 0.3s;
}

table tbody tr:hover td {
  color: #fff !important;
}

/* Subtle borders */
table td, table th {
  border: 1px solid #ddd;
}

/* ✅ Responsive: scroll instead of block conversion */
@media (max-width: 768px) {
  .table-wrapper {
    overflow-x: auto;
  }
  table {
    min-width: 200px; /* prevent shrinking, force horizontal scroll */
  }
}


.top-posts-section{
	margin-top: 10% !important;
}