

.btmnew{margin-bottom: 5px !important;}

	.hm-cert-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 42px;margin-bottom: 30px;
}
		.hm-cert-header{
    background: linear-gradient(180deg, #1b4f9c, #123a73);
    color: #ffffff;
    font-size: 14px;
    font-weight: 300;
    padding: 9px 18px;
    margin: -26px -26px 14px;
    border-radius: 20px 20px 0 0;
    position: relative;text-align: center;line-height: 20px;
}

.hm-cert-card{
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 16px 36px rgba(2, 8, 23, .08);
    padding: 24px 10px 0px;
    position: relative;
    overflow: hidden;border: 1px solid #9f9f9f;
}
	
.hm-cert-body {
    display: flex;
    align-items: center;
    justify-content: center;
	flex-direction: column;
	padding: 0px 5px 10px;
    text-align: center;
}
		.hm-cert-logo {
    margin: 0;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
		.hm-cert-logo img {
    max-width: 96px;
    width: 100%;
    height: auto;
    object-fit: contain;    
	display: block;
    margin: 0 auto;
}
		
.hm-cert-code {
    margin-top: auto;
    padding-top: 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--blue);
    line-height: normal;
}
		
.hm-title-certif {
    padding: 64px 20px 32px;
	max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hm-title-certif h3 {
    font-size: 26px; line-height: 30px;
    font-weight: 600;
    color: #fff;
    text-align: left;
    margin-bottom: 36px;
}	
		.aer-defimg{max-width: 161px !important;}
	
		.hm-btn{ display: flex;justify-content: flex-end;margin-bottom: 20px;}


	/* ===============================
   TABLET (iPad / Landscape)
   =============================== */
@media (max-width: 1200px){
  .hm-cert-grid{
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
  }

  .hm-cert-logo img{
    max-width: 200px;
  }
}

/* ===============================
   TABLET (Portrait)
   =============================== */
@media (max-width: 900px){
  .hm-cert-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .hm-cert-header{
    font-size: 13px;
    padding: 8px 16px;
  }

  .hm-cert-body{
    padding: 22px 18px;
  }
}

/* ===============================
   MOBILE
   =============================== */
@media (max-width: 520px){
  .hm-cert-grid{
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }

  .hm-cert-card{
    padding: 22px;
    border-radius: 16px;
  }

  .hm-cert-header{
    font-size: 13px;
/*    padding: 8px 14px;
    margin: -22px -22px 18px;*/
  }

  .hm-cert-logo img{
    max-width: 98px;
  }

  .hm-cert-code{
    font-size: 13px;
  }
	.hm-title-certif h3{line-height: 40px;}
}
