/* Hide 'Proudly powered by WordPress' credit in the infinite-scroll footer bar */
#infinite-footer .blog-credits {
  display: none;
}

/* Show 'Immigration Attorney' instead of the user role in the author box */
.author-info .author-role {
  font-size: 0;
}
.author-info .author-role::after {
  content: "Immigration Attorney";
  font-size: 14px;
}

/* Main menu in title case */
.main-navigation ul.menu li,
.main-navigation ul.menu li a {
  text-transform: none !important;
}

/* Homepage sections: no gray card behind them */
.widget:has(.ia-home) {
  background: transparent !important;
  box-shadow: none !important;
  padding: 24px 0 0 !important;
}

/* Story lists (More News and section pages): compact rows */
body.home #main.site-main,
body.archive #main.site-main {
  background: transparent !important;
}
.latest-posts-list .read-single {
  display: flex !important;
  gap: 24px;
  align-items: flex-start;
  padding: 20px 0 !important;
  border-bottom: 1px solid #e3e3e3;
  background: transparent !important;
}
.latest-posts-list .read-img {
  float: none !important;
  flex: 0 0 260px;
  width: 260px !important;
  max-width: 34%;
  aspect-ratio: 16 / 10;
  height: auto !important;
}
.latest-posts-list .read-details {
  float: none !important;
  flex: 1 1 auto;
  width: auto !important;
  padding: 0 !important;
}
.latest-posts-list .read-title h4,
.latest-posts-list .read-title h3 {
  font-size: 22px !important;
  line-height: 1.3 !important;
}
.latest-posts-list .read-descprition {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 16px;
  line-height: 1.5;
  color: #3d3d3d;
}
.latest-posts-list .aft-readmore {
  display: none !important;
}
@media (max-width: 640px) {
  .latest-posts-list .read-single {
    flex-direction: column;
    gap: 12px;
  }
  .latest-posts-list .read-img {
    flex-basis: auto;
    width: 100% !important;
    max-width: 100%;
  }
}

/* Single posts: featured image fills the content column, centered */
body.single-post .read-img .post-thumbnail img.wp-post-image {
  width: calc(100% - 40px) !important;
  max-width: calc(100% - 40px) !important;
  height: auto !important;
  margin: 0 auto !important;
  display: block;
}