/*Blog*/
.featured-blog {
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4,1fr);
    grid-template-rows: masonry;
    gap: 20px 30px;
  }
  .featured-blog .blog-box:first-child {
    position: relative;
    z-index: 2;
    grid-row: span 2;
    grid-column: span 2;
  }
  .featured-blog .blog-box:first-child::after {
    position: absolute;
    content: '';
    background-color: rgba(0,0,0,0.5);
    width: 100%;
    height: 32%;
    bottom: 0;
    left: 0;
    z-index: 0;
  }
  .featured-blog .blog-box:first-child .blog-box-text {
    position: absolute;
    bottom: 0;
    left: 0px;
    padding: 20px 20px;
    z-index: 22;
  }
  .featured-blog .blog-box-text {
    padding: 0px 30px;
  }
  .featured-blog .blog-box:first-child .blog-box-text p {
    color: var(--c-white);
  }
  .featured-blog .blog-box:first-child .blog-box-btn .custom-button {
    color: var(--c-white);
    border-bottom: 4px solid var(--c-white);
  }
  .featured-blog .blog-box .blog-box-btn {
    margin-top: 20px;
  }
  .featured-blog .blog-box .blog-box-text p {
    font-family: var(--ff-primary);
    font-size: 25px;
    font-weight: 500;
    line-height: 35px;
    letter-spacing: 0.5px;
    color: var(--c-semi-grey-text);
  }
  .blog-box:nth-child(2) {
    display: inline-flex;
    align-items: center;
    background-color: var(--c-light-grey);
    grid-column: span 2;
    grid-row: span 1;
  }
  .blog-box:nth-child(2) img {
    height: 230px;
    width: 240px;
  }
  .blog-box:nth-child(3) img {
    height: 230px;
    width: 240px;
  }
  .blog-box:nth-child(3) {
    display: inline-flex;
    align-items: center;
    background-color: var(--c-light-grey);
    grid-column: span 2;
    grid-row: span 1;
  }
  .blog-box {
    background-color: var(--c-light-grey);
    margin-top: 10px;
    width: 100%;
  }
  .blog-box img {
    width: 100%;
    object-fit: cover;
    height: 100%;
  }
  .blog-section-wrap .blog-content h4 {
    font-family: var(--ff-primary);
    font-weight: 700;
    font-size: 29px;
    color: var(--c-light-black);
    margin-bottom: 32px;
  }
  .blog-content-wrap {
    margin-top: 10px;
  }
  .blog-content-wrap .blog-box-2 img {
    width: 100%;
    height: 100%;
    /* object-fit: cover; */
  }
  .blog-box-img {
      height: 220px;
  }
  .blog-content-wrap .blog-box-text-2 p {
    font-family: var(--ff-primary);
    font-size: 19px;
    font-weight: 600;
    line-height: 29px;
    color: var(--c-primary-text);
    padding: 10px 0;
    width: 100%;
    white-space: nowrap;
    overflow: hidden !important;
    text-overflow: ellipsis;
  }
  .blog-box-btn .custom-button {
    background-color: transparent;
    color: var(--c-primary-red);
    padding: 0 5px;
    border-bottom: 4px solid var(--c-primary-red);
    border-radius: 0;
    font-family: var(--ff-tertiary);
    font-size: 15px;
    font-weight: 400;
  }
  .blog-box-btn .custom-button:hover {
    color: var(--c-grey);
    border-bottom: 4px solid var(--c-grey);
  }
  .blog-content-wrap .blog-box-text-2 {
    background-color: var(--c-light-grey);
    padding: 0 30px 20px 10px;
  }
  .blog-content-wrap .blog-box-2 {
    margin-top: 25px;
  }

  @media (min-width: 1024px) and (max-width: 1200px){

    /*Blog*/
    .featured-blog .blog-box .blog-box-text p {font-size: 20px;line-height: 28px;}
    .featured-blog .blog-box-text {padding: 0px 20px;}
    .featured-blog .blog-box:first-child::after {height: 31%;}
    .blog-box:nth-child(2) img {height: 200px;}
    .blog-box:nth-child(3) img {height: 200px;}
    .blog-content-wrap .blog-box-text-2 p {font-size: 16px;line-height: 22px;}
    .blog-box-btn .custom-button {border-bottom: 3px solid var(--c-primary-red);font-size: 14px;}
    .blog-box-btn .custom-button:hover {border-bottom: 3px solid var(--c-grey);}
    .featured-blog {gap: 20px 30px;}

}
@media (min-width: 992px) and (max-width: 1024px) {

    /*Blog*/
    .featured-blog .blog-box .blog-box-text p {font-size: 20px;line-height: 28px;}
    .featured-blog .blog-box-text {padding: 0px 20px;}
    .featured-blog .blog-box:first-child::after {height: 28%;}
    .blog-box:nth-child(2) img {height: 200px;}
    .blog-box:nth-child(3) img {height: 200px;}
    .blog-content-wrap .blog-box-text-2 p {font-size: 16px;line-height: 22px;}
    .blog-box-btn .custom-button {border-bottom: 3px solid var(--c-primary-red);font-size: 14px;}
    .blog-box-btn .custom-button:hover {border-bottom: 3px solid var(--c-grey);}
    .featured-blog {gap: 20px 30px;}

   
}

@media only screen and (max-width: 991.98px) {       
    /*Blog*/
    .featured-blog .blog-box .blog-box-text p {font-size: 15px;line-height: 22px;}
    .featured-blog .blog-box .blog-box-btn {margin-top: 12px;}
    .featured-blog .blog-box-text {padding: 0px 20px;}
    .featured-blog .blog-box:first-child::after {height: 36%;}
    .blog-box:nth-child(2) img {height: 150px;}
    .blog-box:nth-child(3) img {height: 150px;}
    .blog-content-wrap .blog-box-text-2 p {font-size: 16px;line-height: 22px;}
    .blog-box-btn .custom-button {border-bottom: 3px solid var(--c-primary-red);font-size: 13px;}
    .featured-blog {gap: 10px 20px;}
    .blog-content-wrap {margin-top: 0px;}
    .blog-section-wrap .blog-content h4 {font-size: 24px;margin-bottom: 10px;}
    .blog-box-btn .custom-button:hover {border-bottom: 3px solid var(--c-grey);}
    .blog-section-wrap {margin-top: -15px;}

}
@media (max-width: 767.98px){


    /*Blog*/
    .featured-blog {display: block;}
    .featured-blog .blog-box:first-child::after {height: 27%;}

}
@media (max-width: 575.98px){
    /*Blog*/
    .blog-content-wrap .blog-box-2 {margin-top: 10px;}
    .featured-blog .blog-box .blog-box-text p {font-size: 13px;line-height: 20px;}
    .featured-blog .blog-box-text {padding: 0px 10px;}
    .featured-blog .blog-box .blog-box-btn {margin-top: 8px;}
    .featured-blog .blog-box:first-child::after {height: 32%;}
    .blog-box:nth-child(2) img {height: 120px;}
    .blog-box:nth-child(3) img {height: 120px;}
    .blog-section-wrap .blog-content h4 {font-size: 20px;text-align: center;}
}

@media only screen and (max-width: 479.98px) {	
    .featured-blog .blog-box:first-child::after {height: 55%;}
    .blog-box:nth-child(3) { display: grid;  }
    .blog-box:nth-child(2) { display: grid;  }
    .blog-box:nth-child(2) img {height: auto; width: 100%; }
    .blog-box:nth-child(3) img {height: auto; width: 100%; }
}












