/* =========================
   404 page starts here
   ========================= */
#error-page-404 #card-1 .page-404 {
  background: #f6e9ec;  
  display: grid;
  place-items: center;
  padding: 32px 16px;
  min-height: 612px;
}
#error-page-404 #card-1 .page-404 .err-cta:hover {
    background: #EE959B;
    color: #ffffff;
}
#error-page-404 .text-nowrap
{
    white-space:break-spaces;
    letter-spacing: 0.1px;
}

#error-page-404 #card-1
{
    margin: 0px 15px 15px 15px;
}

#error-page-404 #card-1 .page-404 .err-wrap {
  width: 100%;
  max-width: 560px;
  text-align: center;
  color: #000;
  margin-inline: auto;
}

#error-page-404 #card-1 {
    margin: 15px;
}

 #error-page-404 #card-1 .page-404 .err-code {
  font-size: 152px;
  line-height: 1;
  font-weight: 400;
  letter-spacing: -1px;
  margin: 0 0 12px;
   font-family: "Open Sans";
}

#error-page-404  #card-1 .page-404 .err-headline {
  font-size: 32px;
  line-height: 1.3;
  font-weight: 700;
  margin: 0 0 12px;
  font-family: "Open Sans";
}

#error-page-404 #card-1 .page-404 .err-desc {
   font-size: 20px;
   line-height: 1.6;
   color: #000;
   margin: 0 0 55px;
   font-family: "Open Sans";
   font-weight: 500;
}


#error-page-404 .cmp-text{
    padding: 0px;
}
#error-page-404 #card-1 .page-404 .err-cta {
  display: inline-block;
  font-size: 21px;
  font-weight: 600;
  color: #000;
  text-decoration: none;
  padding: 10px 27px;
  border-radius: 24px;
  background: var(--Main-Button-Color, linear-gradient(83deg, #AC5D70 1.66%, #E8CFD9 118.09%));
  box-shadow: 0 2px 0 rgba(0,0,0,0.08) inset, 0 1px 6px rgba(0,0,0,0.08);
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
   font-family: "Open Sans";
   line-height: 25px;
}

#error-page-404 #card-1 .page-404 .err-cta:hover,
#error-page-404 #card-1 .page-404 .err-cta:focus {
  transform: translateY(-1px);
  box-shadow: 0 3px 0 rgba(0,0,0,0.1) inset, 0 3px 10px rgba(0,0,0,0.12);
  outline: none;
}

#error-page-404 #card-1 .page-404 .err-cta:active {
  transform: translateY(0);
  opacity: 0.95;
}

/* Optional keyboard focus ring (still scoped) */
#error-page-404 #card-1 .page-404 .err-cta:focus-visible {
  outline: 2px solid #8a3d49;
  outline-offset: 3px;
}
 #error-page-500 #card-1 ,#error-page-404 #card-1{
                padding-top: 126px;
    }

/*mobile ends here*/
/* =========================
   404 error page desktop start here
   ========================= */
@media screen and (min-width: 992px) {
    #error-page-500 #card-1 ,#error-page-404 #card-1{
                padding-top: 164px;
    }
 #error-page-404  #card-1 .page-404 {
    min-height: 612px;            /* closer to the Figma height */
    padding: 39px 24px;
  }
 #error-page-404 .cq-reference-placeholder.cq-dd-paragraph
 {
     display: none;
 }
#error-page-404 #card-1
{
    margin: 30px;
}
 #error-page-404  #card-1 .page-404 .err-wrap {
    max-width: 873px;
  }

 #error-page-404 #card-1 .page-404 .err-code {
    font-size: 152px;
    margin-bottom: 32px;
     font-family: "Open Sans";
     font-weight: 400px;
  }

 #error-page-404 #card-1 .page-404 .err-headline {
    font-size: 32px;
    margin-bottom: 20px;
     font-family: "Open Sans";
     font-weight: 700px;
  }

  #error-page-404 #card-1 .page-404 .err-desc {
    font-size: 20px;
    margin-bottom: 24px;
    font-weight: 500;
  }

 #error-page-404 #card-1 .page-404 .err-cta {
        font-size: 21px;
        padding: 20px 35px;
        border-radius: 54px;
        font-weight: 600;
    }
#error-page-404 .text-nowrap
{
    white-space:normal;
    letter-spacing: 0;
   
}
  }




/*compatiblity*/
@media screen and (min-width: 992px) and (max-width: 1400px) {
    #sitemap .mbc-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        row-gap: 30px !important;
    }
    
    #sitemap .mbc-col-head
    {
        max-width: unset !important;
    }
    #sitemap .blue-rectangle
    {
        margin: 30px 20px 25px !important;
    }

}
@media screen and (min-width:992px) and (max-width:1300px)
{
#logistical-support #card-item2 .cmp-image::after {
    bottom: 20px !important;
    top: unset !important;
}
#logistical-support #card-item2 .cmp-image {
    position: relative;
    height: fit-content;
}
#taking-active-role #main-card-grid #card-section .container.responsivegrid.blue-background>.cmp-container>.aem-Grid:has(.content-card-section) {
    background: #FAF3F7;
    border-radius: 35px;
    height: 100%;
    margin-bottom: 40px;
}
#questions-about-mbc #main-card-grid #card-section .container.responsivegrid.blue-background>.cmp-container>.aem-Grid:has(.content-card-section) {
    background: #f2f7fc;
    border-radius: 35px;
    height: 100%;
    margin-bottom: 40px;
}
#questions-about-mbc #main-card-grid #card-section .container.responsivegrid.blue-background>#row5.cmp-container>.aem-Grid:has(.content-card-section) {
    background: transparent;
}
 
#questions-about-mbc #main-card-grid #card-section .container.responsivegrid.blue-background>#row5.cmp-container>.aem-Grid:has(.content-card-section)>.container {
    background: #f2f7fc;
    border-radius: 35px;
}
}


