.featured-section {
  position: relative;
  width: 100%;
}

.post-header {
  position: relative;
}

.post-thumbnail img {
  width: 100%;
  height: 60vh;
  object-fit: cover;
  display: block;
}

.meta-data {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  width: 90%;
  z-index: 2;
}

.post-title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  margin-bottom: 0.5rem;
}

.post-meta {
  font-size: 0.9rem;
  opacity: 0.9;
}


.entire-page {
  width: 90%;
  margin: 1rem auto;
}

.post-meta {
  padding: 10px 0;
}

.wp-post-image {
  height: auto;
  max-height: 50vh;
  object-fit: cover;
  object-position: center center;
}


/* ===============================
   Social share buttons
================================ */
.cricma-share-wrap {
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid #e5e5e5;
  display: flex;
  align-items: center;
  gap: 12px;
}

.cricma-share-wrap .share-label {
  font-weight: 600;
  font-size: 14px;
  margin-right: 6px;
}

.share-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform .2s ease, background .2s ease;
}

.share-icon svg {
  width: 18px;
  height: 18px;
  fill: #fff;
}

.share-icon.facebook {
  background: #1877f2;
}

.share-icon.twitter {
  background: #000;
}

.share-icon.whatsapp {
  background: #25d366;
}

.share-icon:hover {
  transform: translateY(-2px);
  opacity: .9;
}


/* ===============================
   Mobile Layout
================================ */

@media (max-width: 1024px) {
  .entire-page {
    width: 96%;
  }
}

@media (max-width: 768px) {

  .featured-post-item {
    flex-direction: column;
    height: fit-content;
  }

  .featured-post-thumb,
  .featured-post-content {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .featured-post-thumb {
    height: auto;
  }

  .entire-page {
    display: flex;
    flex-direction: column;
  }

  .col {
    width: 100%;
  }

  .ad-wrapper,
  .ad-image {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .featured-post-item {
    flex-direction: row;
  }

  .featured-post-thumb {
    flex: 0 0 30%;
    max-width: 30%;
    height: auto;
    overflow: hidden;
    display: flex;
  }

  .featured-post-content {
    flex: 0 0 70%;
    max-width: 70%;
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
  }
}
