

.blogpost-grid-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1140px;
  width: 100%;
  margin: 0 auto;
}

.blogpost-card {
  display: flex;
  width: 332px;
  height: 472px;
  padding: 8px;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  border-radius: 24px;
  background: #f7f7fb;
  overflow: visible;
  cursor: pointer;
  position: relative;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.blogpost-card:hover {
  z-index: 100;
}
.blogpost-card .content a{
  text-decoration:none;
}

.image-wrapper {
  width: 100%;
  height: 199px;
  flex-shrink: 0;
  align-self: stretch;
  border-radius: 16px;

  box-shadow: 0 86px 24px 0 rgba(0, 0, 0, 0), 0 55px 22px 0 rgba(0, 0, 0, 0.02),
    0 31px 19px 0 rgba(0, 0, 0, 0.08), 0 14px 14px 0 rgba(0, 0, 0, 0.14),
    0 3px 8px 0 rgba(0, 0, 0, 0.16);
  position: relative;
  z-index: 1;

  will-change: width, height, box-shadow;
  transition: width 150ms ease-in-out, height 150ms ease-in-out,
    box-shadow 150ms ease-in-out;
}

.image-wrapper .mycover {
  background: none;
  width: 100%;
  height: 100%;
  border-radius: 16px;
  transition: transform 1s linear;
}

.blogpost-card:hover .image-wrapper .mycover {
  background: linear-gradient(
    0deg,
    rgba(22, 24, 59, 0.53) 0%,
    rgba(22, 24, 59, 0.53) 100%
  );
}

.blogpost-card .content {
  flex: 1;
  overflow: hidden;
  width: 100%;
  padding: 0 4px;
  position: relative;
}

.blogpost-card .content .badge {
  display: inline-block;
  padding: 8px 16px;
  border: 2px solid #111827;
  border-radius: 100px;
  color: #111827;
  font-weight: 700;
  font-size: 0.875rem;
  margin-bottom: 16px;
  text-decoration: none;
}

.blogpost-card .content .card-title {
  margin: 0 0 12px 0;
  font-size: 1.5rem;
  line-height: 1.3;
  font-weight: 700;
  color: #111827;
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 4px;
  text-decoration-color: transparent;
  transition: text-decoration-color 150ms ease-in-out;
}

.blogpost-card .content .card-desc {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: #4b5563;
}

.blogpost-card:hover .image-wrapper {
  width: 372px;
  height: 223px;
  flex-shrink: 0;
  border-radius: 16px;

  box-shadow: 0 86px 24px 0 rgba(0, 0, 0, 0), 0 55px 22px 0 rgba(0, 0, 0, 0.02),
    0 31px 19px 0 rgba(0, 0, 0, 0.08), 0 14px 14px 0 rgba(0, 0, 0, 0.14),
    0 3px 8px 0 rgba(0, 0, 0, 0.16);
  z-index: 10;
}

.blogpost-card:hover .card-title {
  text-decoration-color: #111827;
}

div#catdisp {
    font-weight: 500;
    padding: 0px 0px 20px;
}

.blogcat_header {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 50px;
}

a.clearcat {
    margin-left: 20px;
    background-color: #16183B;
    color: #fff;
    padding: 5px 10px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 500;
}

.blog-search-text {
    font-size: 26px;
    font-weight: 700;
    font-style: normal;
    line-height: 48px;
    color: #FFFFFF;
}

.blog-search-container {
    background-color: transparent;
    background-image: linear-gradient(90deg, #0070C0 0%, #99C6E6 100%);
    width: 100%;
    display: flex;
    padding: 32px;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
    border-radius: 24px;
    margin-bottom: 50px;
    color: #fff;
    gap: 25px;
}

form.blog-search-form-section {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
    gap: 11px;
}

.blog-form-search {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
    padding: 10px;
    background-color: #fff;
    border: 2px solid #000;
    border-radius: 15px;
}

input.blog-search-keyword {
    border: 0;
    max-width: 200px;
    background-color: transparent !important;
    padding: 0px 10px;
    font-family: 'Poppins';
    font-size: 19px;
}

input.blog-search-keyword:focus {
    border: 0;
}


.blog-form-search button {
    width: 30px;
    height: 29px;
    padding: 0;
    margin: 0;
    background-color: #16183B;
    border-radius: 8px;
}

.blog-form-search button img {
    border: none;
    border-radius: 0;
    box-shadow: none;
    height: auto;
    max-width: 100%;
}

.blog_pagination {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    line-height: 24px;
    font-weight: 600;
    margin: 30px 0px 10px;
    color: #737589;
}

.blog_pagination a.page-numbers, .blog_pagination span.page-numbers {
    color: #737589;
    padding: 3px 10px;
    border-radius: 100%;
    min-width: 30px;
    text-align: center;
}

.blog_pagination span.page-numbers.current {
    background-color: #000;
    color: #fff;
}

.blog_pagination a.page-numbers:hover {
    color: #000;
}

/* Blog post details */
div#blogpost-header {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
    margin: 10px 20px 0px;
    background-color: #F7F7FB;
    border-radius: 40px;
}

.blogpost-header-imagetitle {
    width: 70%;
    height: 520px;
    border-radius: 40px;
    box-shadow: 8px 0px 17px 0px rgba(0, 0, 0, 0.1);
    box-shadow: 32px 0px 32px 0px rgba(0, 0, 0, 0.08);
    box-shadow: 71px 0px 43px 0px rgba(0, 0, 0, 0.05);
    box-shadow: 126px 0px 50px 0px rgba(0, 0, 0, 0.01);
    box-shadow: 197px 0px 55px 0px rgba(0, 0, 0, 0);
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-end;
    align-content: center;
    padding: 30px;
}

.blogpost-header-titlebox {
    backdrop-filter: blur(30px);
    box-shadow: 0px 4px 16px 0px rgba(0, 0, 0, 0.12);
    box-shadow: 0px 1px 0px 0px rgba(255, 255, 255, 0.66) inset;
    box-shadow: 0px 0.5px 0px 1px rgba(255, 255, 255, 0.23) inset;
    border: 0px;
    font-size: 48px;
    font-weight: 800;
    color: #fff;
    padding: 20px;
    border-radius: 24px;
    line-height: 58px;
}

.blogpost-header-details {
    width: 30%;
    padding: 30px;
}

.blogpost-header-author {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
}

.blogpost-header-author-avatar img {
    width: 94px !important;
    height: 94px !important;
    border-radius: 50% !important;
    object-fit: cover;
    object-position: center;
}

.blogpost-header-author-name {
    font-size: 14px;
}

span.blogpost-header-author-name-span {
    font-size: 20px;
    font-weight: 600;
    text-transform: capitalize;
}

.blogpost-header-date {
    font-size: 14px;
    line-height: 24px;
    margin-bottom: 10px;
}

.blogpost-header-readtime {
    margin-bottom: 20px;
}

.blogpost-header-date span {
    font-weight: bold;
    margin-left: 10px;
}

a.blogpost-header-learnmore {
    font-size: 14px;
    line-height: 24px;
    font-weight: bold;
    color: #000;
    min-width: 80px;
    padding: 8px 16px;
    border: solid 2px #000;
    border-radius: 24px;
}

.blogpost-relevant-header {
    margin: 50px 0px 20px;
    font-size: 36px;
    font-weight: bold;
}

@media (max-width: 1200px) {
  .blogpost-grid-container {
    grid-template-columns: repeat(auto-fit, minmax(332px, 1fr));
    justify-items: center;
  }
}

@media (max-width: 768px) {

    div#blogpost-header {
        display: flex;
        flex-direction: column;
        margin: 10px 10px 0px;
    }
    .blogpost-header-imagetitle, .blogpost-header-details {
        width: 100%;
    }
    .blogpost-header-imagetitle {
        height:400px;
    }
    .elementor-element.elementor-element-270c0b4.e-con-full.e-flex.e-con.e-child {
        padding: 0px;
    }
    .blogpost-header-titlebox {
        font-size: 25px;
        line-height: 30px;
    }

    .blogpost-grid-container {
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        align-content: center;
        justify-content: center;
        align-items: center;
    }
}