.blog-feature-img-wrapper,
.featured-blog .blog-img-wrapper {padding:0!important;}

.blog-feature-img-wrapper img {
  height:fit-content!important;
  width:fit-content!important;
  aspect-ratio:auto!important;
}
.estimate-btn-sec{display: none !important;}
.blog-title-cat-wrapper p {display:none!important;}

.fallback-feature-bg {
    width: 100%;
    height: 300px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
	  margin-bottom: 20px; 
}
.fallback-feature-bg img {
    height: fit-content !important;
    width: fit-content !important;
}

.fallback-feature-title {
    color: #fff;
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 12px 24px;
    border-radius: 10px;
}

.blog-img-wrapper {
    width: 100% !important;
    aspect-ratio: 550 / 239 !important;  /* Preserve aspect ratio */
    background-color: #F0F4FD !important;
    display: flex !important;  /* Use flex to control the layout */
    justify-content: center !important;  /* Center horizontally */
    align-items: center !important;  /* Center vertically */
    overflow: hidden !important;  /* Prevent overflow */
    border-radius: 6px 6px 0 0 !important;
}

.blog-img-wrapper img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;  /* Center the image within the container */
    border-radius: inherit !important;  /* Inherit border-radius */
}

h1,h2,h3,h4,h5,h6,strong {font-weight:600;}

h1 {font-size:45px;line-height:72px;}
h2 {font-size:24px;line-height:28px;}
h3 {font-size:20px;line-height:28px;}
h4 {font-size:16px;line-height:24px;}
h5 {font-size:14px;line-height:20px;}
h6 {font-size:12px;line-height:20px;}

/* Responsive: max-width 1023px */
@media only screen and (max-width:1023px){
  h1 {font-size:28px;line-height:72px;}
  h2 {font-size:24px;line-height:28px;}
  h3 {font-size:20px;line-height:28px;}
  h4 {font-size:16px;line-height:24px;}
  h5 {font-size:14px;line-height:20px;}
  h6 {font-size:12px;line-height:20px;}
}

/* For Blog Sidebar Adjustment */
@media (max-width: 991px) {
  .blog-content-sidebar-wrapper {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  .blog-content-parent {
    width: 100% !important;
    order: 1 !important;
  }

  .blog-sidebar {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    order: 2 !important;
    margin-top: 20px !important;
		margin-bottom: 20px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 0 !important;
    float: none !important;
    box-sizing: border-box !important;
  }
	
	.blog-sidebar .related-links-wrapper, .blog-sidebar .a-d-book-porter-col {
  margin-bottom: 30px !important;
}
	
	.blog-sidebar .qr-wrapper {
  display: none;
}
}
