.livephoto {
  max-height: 620px !important;
  object-fit: cover;
}

.play-btn {
  width: 80px;
  height: 80px;
  transition: transform 0.2s ease;
}

.play-btn:hover {
  transform: scale(1.1);
  filter: brightness(1.3);
}

.article-ads728 {
  margin: 1.5rem auto;
  width: 100%;
  max-width: 728px;
  height: 90px;
  text-align: center;
  overflow: hidden;
  box-sizing: border-box;
}

.article-ads728 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.article-ads300 {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 1.5rem auto;
  width: 300px;
  height: 250px;
  overflow: hidden;
}

.article-ads300 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.article-ads100 {
  margin-top: 1rem;
  margin-bottom: 1rem;
  width: 300px;
  height: 100px;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.article-ads100 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.livepage-news {
  display: flex;
  align-items: flex-start;
}

.livepage-news-card {
  width: 100%;
  height: auto;
  text-align: center;
  overflow: hidden;
  border-radius: 8px;
  margin-top: 5px;
  margin-left: 0;
}

.livepage-news-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.bottom-border {
  border-bottom: 0.8px #ebebeb solid;
  max-width: 100%;
  padding: 0%;
  margin: 0%;
}

.suggested-news-image {
  width: 100%;
  overflow: hidden;
  border-radius: 8px;
}

.suggested-news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.load-more-button {
  background-color: #005586;
  padding: 0.65rem 4rem;
  text-align: center;
  color: white;
  display: inline-block;
  font-size: 1rem;
  border-radius: 22px;
  margin-top: 3.5rem;
  margin-bottom: 4rem;
  cursor: pointer;
  transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
}

.home-button {
  background-color: #f8f9ff;
  padding: 0.5rem 1rem;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 1rem;
  border-radius: 20px;
  cursor: pointer;
}

.home-button:hover {
  background-color: #c2c3ce;
  transition: background-color 0.2s ease-in-out;
}

.article-image-wrapper {
  margin-left: calc(-1 * var(--bs-gutter-x, 1rem));
  margin-right: calc(-1 * var(--bs-gutter-x, 1rem));
  overflow: hidden;
}

.article-image-wrapper img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0;
  object-fit: cover;
}

.bg-blue-background {
  background-color: #005586; /* or your theme blue */
}

.ad-mobile {
  text-align: center;
  margin-top: 10px;
}
.ad-mobile img {
  width: 300px;
  height: 100px;
  display: block;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .play-btn {
    width: 60px;
    height: 60px;
  }
}

@media (max-width: 768px) {
  .suggested-news-image {
    height: 90px;
  }
}

@media (max-width: 768px) {
  .article-ads img {
    width: 100%;
    text-align: center; /* centers image if it’s smaller */
  }
}

@media (min-width: 768px) {
  /* md breakpoint */
  .fw-md-semibold {
    font-weight: 600; /* semibold */
  }
}

/* === FULL-WIDTH ON MOBILE === */
@media (max-width: 767.98px) {
  .article-image-wrapper {
    position: relative;
    left: 50%;
    right: 50%;
    width: 100vw;
    transform: translateX(-50%);
    margin: 0;
    overflow: hidden;
  }

  .article-image-wrapper img {
    width: 100%;
    height: auto;
    border-radius: 0;
    object-fit: cover;
    display: block;
  }
}

/* === NORMAL ON DESKTOP === */
@media (min-width: 768px) {
  .article-image-wrapper {
    margin-left: 0;
    margin-right: 0;
    width: auto;
    transform: none;
    left: auto;
    right: auto;
  }

  .article-image-wrapper img {
    border-radius: 2%;
    width: 100%;
    height: auto;
    object-fit: cover;
  }
}

@media (max-width: 530px) {
  .livepage-news-card img {
    min-height: 90px;
  }
}

@media (max-width: 767.98px) {
  .livepage-news-card {
    width: 100%;
    height: auto;
    display: flex;
    border-radius: 10px;
    flex-shrink: 0;
    object-fit: cover;
    overflow: hidden;
  }
  .livepage-news-card img {
    border-radius: 8px;
    object-fit: cover;
    overflow: hidden;
  }
}
