.comment-wrap {
  font-size: 13px;
  color: #6c6e70;
  line-height: 12px;
  min-width: 16px;
  margin-left: 4px;
  display: inline-block;
  text-align: center;
}
.comment-wrap svg {
  fill: #00662f;
}
.comment-wrap .value {
  margin-left: 2px;
  font-size: 13px;
  font-weight: 400;
  position: relative;
  top: -3px;
  color: #00662f;
}
.home-boxnewday-custom {
  display: grid;
  grid-template-columns: repeat(4, 1fr) !important;
}

/*------cố định nội dung của radio bản mobile */
.input-video.js {
  max-width: 100%;
  overflow: hidden;
}

/* Mobile */
@media screen and (max-width: 767px) {
  .input-video.js iframe {
    width: 100%;
    height: 195px;
  }
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
  .input-video.js iframe {
    width: 100%;
    /* height: 195px;  */
  }
}

@media screen and (min-width: 1025px) {
  .input-video.js iframe {
    width: 100%;
    /* height: 115px;  */
  }
}

/*------end cố định nội dung của radio bản mobile */

.dt-content figure img {
  width: 100%;
  height: auto !important;
  margin: auto;
}

/* css khối tin liên quan*/
.VCSortableInPreviewMode.alignCenter.type-6 {
  margin-top: 25px;
  margin-bottom: 15px;
  border-top: 1px solid #bdbdbd;
}

span.kbwscwlrl-label {
  padding-left: 10px;
  display: block;
  font-size: 12px;
  color: #666;
  text-align: left;
  font-family: Arial;
  line-height: 28px;
  margin-top: 25px;
}

.kbwscwlrl-content {
  border: 1px solid #e3e3e3;
  border-left: 1px solid #fc915c;
  justify-content: space-between;
  display: flex;
  margin-bottom: 10px;
}

a.kbwscwlrl-thumb-avata {
  width: 20%;
  flex-shrink: 0;
  order: 2;
}

h4.kbwscwlrl-title {
  flex: 1;
  padding: 10px 7px;
  order: 1;
}

.kbwscwlrl-title svg {
  display: none;
}

a.kbwscwlrl-thumb-avata {
  width: auto;
  height: auto;
  flex-shrink: 0;
  order: 2;
}

a.kbwscwlrl-thumb-avata img {
  width: 170px;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

h4.kbwscwlrl-title {
  font-size: 15px !important;
  font-weight: bold !important;
  line-height: 20px !important;
  margin-bottom: 12px !important;
  text-align: unset !important;
}

/* xử lý popup hiện ảnh */
.popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}

.popup-content {
  position: relative;
  max-width: 90%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding: 10px;
  border-radius: 10px;
  overflow: hidden;
}

.popup-image {
  max-width: 100%;
  max-height: 70vh;
  /* Để chừa không gian cho caption */
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
  object-fit: contain;
}

.popup-caption {
  color: white;
  text-align: center;
  font-size: 16px;
  margin-top: 5px;
  max-width: 100%;
  word-wrap: break-word;
  padding: 10px;
  max-height: 15vh;
  /* Giới hạn tối đa caption chiếm */
  overflow-y: auto;
  /* Nếu caption quá dài, sẽ có cuộn dọc */
  background: rgba(0, 0, 0, 0.5);
  /* Làm nền nhẹ để dễ đọc chữ */
  border-radius: 5px;
}

/* Điều chỉnh trên màn hình nhỏ */
@media screen and (max-height: 600px) {
  .popup-image {
    max-height: 60vh;
  }

  .popup-caption {
    max-height: 20vh;
  }
}

.popup-close {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 25px;
  color: white;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s ease;
}

.popup-close:hover {
  transform: scale(1.2);
}

.popup-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  z-index: 10000;
}

.popup-nav.left::before,
.popup-nav.right::before {
  content: '';
  display: block;
  width: 10px;
  height: 10px;
  border: solid white;
  border-width: 0 3px 3px 0;
  transform: rotate(-45deg);
}

.popup-nav.left::before {
  transform: rotate(135deg);
}


.popup-nav.right::before {
  transform: rotate(-45deg);
}

.popup-nav.left {
  left: 10px;
}

.popup-nav.right {
  right: 10px;
}

/*--- tường thuật bóng đá */

.one_event figure {
  text-align: center;
}

.one_event figure img {
  display: inline-block;
}

#explus_live_mb {
  display: none;
}

/*-----------tường thuật bóng đá ---------------*/
.one_event:nth-child(odd) {
  background-color: #f7f7f7;
}

.one_event {
  padding: 10px;
  width: 100%;
  background-color: #fff;
}

/*------ tường thuật sự kiện ----------*/
.dt-content figure img {
  width: 100%;
  height: auto !important;
  margin: auto;
}

/*-----------phần tường thuật-------------*/
.one_event figure {
  text-align: center;
}

.one_event figure img {
  display: inline-block;
  height: auto;
}

#explus_live_mb {
  display: none;
}

/*-----------phần tường thuật sự kiện-------------*/
.one_event {
  text-align: justify;
}

.one_event:nth-child(odd) {
  background-color: #f7f7f7;
}

.one_event {
  padding: 10px;
  width: 100%;
  background-color: #fff;
}

#explus_live .one_event p[style*="font-size: 14px; color: #666; border-top: 1px solid #EEE; padding: 10px 0; margin-top: 10px;"] {
  font-size: 16px !important;
  color: #c62127 !important;
  font-weight: bold !important;
  flex: 1;
}

#explus_live .one_event p[style*="font-size: 14px; color: rgb(102, 102, 102); border-top: 1px solid rgb(238, 238, 238); padding: 10px 0px; margin-top: 10px;"] {
  font-size: 16px !important;
  color: #c62127 !important;
  font-weight: bold !important;
  flex: 1;
}

#explus_live .one_event h2 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 7px;
  color: #118b81;
}

#explus_live .one_event p {
  font-size: 18px;
  line-height: 29px;
  font-family: Arial, Helvetica, sans-serif;
  word-break: break-word;
  margin-bottom: 7px;

}

#explus_live_mb .one_event p[style*="font-size: 14px; color: #666; border-top: 1px solid #EEE; padding: 10px 0; margin-top: 10px;"] {
  font-size: 16px !important;
  color: #c62127 !important;
  font-weight: bold !important;
  flex: 1;
}

#explus_live_mb .one_event p[style*="font-size: 14px; color: rgb(102, 102, 102); border-top: 1px solid rgb(238, 238, 238); padding: 10px 0px; margin-top: 10px;"] {
  font-size: 16px !important;
  color: #c62127 !important;
  font-weight: bold !important;
  flex: 1;
}

#explus_live_mb .one_event h2 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 7px;
  color: #118b81;
}

#explus_live_mb .one_event p {
  line-height: 29px;
  font-family: "Roboto";
  word-break: break-word;
  margin-bottom: 7px;

}

/*----- hiển thị live --------*/
.live-indicator {
  display: inline-flex;
  align-items: center;
  font-weight: bold;
  font-size: 10px;
  color: #f4f4f4;
  margin-right: 10px;
  background-color: #00662f;
  padding: 3px 6px 3px 6px;
  border-radius: 4px;
}

.dot {
  width: 10px;
  height: 10px;
  background-color: red;
  border-radius: 50%;
  margin-right: 5px;
  animation: blink 1s infinite;
}

@keyframes blink {
  0% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }

  100% {
    opacity: 1;
  }
}

.article-heading {
  display: flex;
  align-items: center;
}

.article-title {
  display: flex;
  align-items: flex-start;
}

/* #explus-editor figure ::after {
  content: url(https://sf.ex-cdn.com/global/editor/icon-new-tab.svg);
  margin-left: 6px;
}
#explus-editor figure figcaption.js{
  font-weight: bold;
  text-align: left !important;
}

figure {
    position: relative;
    display: inline-block;
} */

/* R30 */
#explus-editor figure[view="r30"] figcaption {
  font-weight: bold;
  text-align: left !important;
}
#explus-editor figure[view="r30"] figcaption:after {
  content: url(https://sf.ex-cdn.com/global/editor/icon-new-tab.svg);
  margin-left: 6px;
}

/* R50 */
#explus-editor figure[view="r50"] figcaption {
  font-weight: bold;
  text-align: left !important;
}
#explus-editor figure[view="r50"] figcaption:after {
  content: url(https://sf.ex-cdn.com/global/editor/icon-new-tab.svg);
  margin-left: 6px;
}

/* L30 */
#explus-editor figure[view="l30"] figcaption {
  font-weight: bold;
  text-align: left !important;
}
#explus-editor figure[view="l30"] figcaption:after {
  content: url(https://sf.ex-cdn.com/global/editor/icon-new-tab.svg);
  margin-left: 6px;
}

/* L50 */
#explus-editor figure[view="l50"] figcaption {
  font-weight: bold;
  text-align: left !important;
}
#explus-editor figure[view="l50"] figcaption:after {
  content: url(https://sf.ex-cdn.com/global/editor/icon-new-tab.svg);
  margin-left: 6px;
}


.input-embed .grid-row {
  display: flex;
  grid-gap: 12px;
  gap: 12px;
}

.grid-row+.grid-row {
  margin-top: 20px;
}

#explus-editor figure.media-item {
  margin-bottom: 0 !important;
}

.second h3,
.second .log-out {
  display: inline-block;
  margin: 0;
  vertical-align: middle;
}

.second h3 {
  font-size: 12px;
  font-weight: bold;
  padding-right: 7px;
}

.second .log-out {
  font-size: 12px;
  color: #525252;
  cursor: pointer;
  margin-left: 5px;
}

.first {
  text-decoration: none;
  line-height: 1;
  display: flex;
  align-items: center;
}

.first img {
  display: inline-block;
  /* vertical-align: middle; */
}

.first span {
  display: inline-block;
  vertical-align: middle;
}

.header-bot .logo {
  display: flex;
}

.logo .homedatenow {
  color: #6c6e70;
  font-size: 13px;
  font-style: normal;
  font-weight: 400;
  margin-left: 12px;
  padding-left: 12px;
  border-left: 1px solid #eaeaea;
  display: flex;
  align-items: center;
}

/*----- xem thêm navbar -------*/
.expand-items {
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.expand-items.short {
  max-height: 60px;
}

.icondv.icon-viewdown {
  width: 8px;
  height: 5px;
  background-position: -111px -439px;
}

.icondv.icon-viewup {
  width: 8px;
  height: 5px;
  background-position: -111px -439px;
  transform: rotate(180deg);
}

@media (max-width: 767px) {
  .input-embed .grid-row {
    display: flex;
    align-items: flex-end;
  }

  #explus-editor figure+figure {
    margin-top: 20px !important;
  }

  #explus_live_mb img {
    height: auto;
  }

  #explus_live {
    display: none;
  }

  #explus_live_mb {
    display: block;
  }
  .first {
    display: block;
}
}

@media (min-width: 768px) {
  .hide_pc {display: none !important;}
}

@media (max-width: 767px) {
  .hide_mb {display: none !important;}
}