.fastech-featured-post {
  display: grid;
  grid-template-columns: 60% 40%;
  align-items: center;
}
.fastech-featured-post__media {
  overflow: hidden;
  padding-right: 50px;
}
.fastech-featured-post__media-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 8px;
}
.fastech-featured-post__content {
  display: flex;
  flex-direction: column;
  justify-content: stretch;
  align-items: stretch;
  height: 100%;
}

.fastech-featured-post__content-inner {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center; /* center content vertically */
  padding: var(--wp--preset--spacing--70);
  background-color: #f0f2fa;
  border-radius: 6px;
}
.fastech-featured-post__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 0.75rem 0;
}
.fastech-featured-post__meta-left {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
}

/* Ensure author name and date remain vertically stacked inside the author block */
.fastech-featured-post__author {
  display: flex;
  flex-direction: column;
}
.fastech-featured-post__author-photo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}
.fastech-featured-post__title {
  margin: 0 0 0.5rem 0;
}
.fastech-featured-post__excerpt {
  color: var(--wp--preset--color--custom-muted, #666);
  margin-bottom: 1rem;
}
.fastech-featured-post__readmore {
  display: inline-block;
  padding: 0.5rem 0.75rem;
  background: var(--wp--preset--color--primary, #092e6e);
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
}

.fastech-featured-post__readmore:hover {
 color: #fff;
}

.fastech-featured-post__meta-right {
  display: flex;
  align-items: center;
}

@media (max-width: 700px) {
  .fastech-featured-post {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .fastech-featured-post__media {
    padding-right: 0;
  }
  
  .fastech-featured-post__meta {
    flex-direction: row;
    align-items: center;
  }
  .fastech-featured-post__readmore {
    margin-left: auto;
  }
  .fastech-featured-post__content-inner {
    padding: var(--wp--preset--spacing--50);
}
}

/* Author name and date have separate classes for independent styling */
.fastech-featured-post__author-name {
  display: block;
  font-weight: 600;
  color: var(--wp--preset--color--heading, #092e6e);
}
.fastech-featured-post__date {
  display: block;
  font-size: 0.875rem;
  color: var(--wp--preset--color--custom-muted, #666);
}
