/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/
.lightbox-content {
  max-width: 1200px;
}

.lightbox-content section:not(:first-of-type) {
  padding: 30px;
  margin: 0 auto;
}

.lightbox-content section:first-of-type .col-inner {
  padding: 20px 30px 0 30px;
}

.slide_doingu_gioithieu .col-inner {
  border-radius: 8px !important;
}

@media (max-width: 767px) {
  .lightbox-content section:not(:first-of-type) {
    padding: 20px !important;
    margin: 0 auto;
  }

  .lightbox-content section:first-of-type .col-inner {
    padding: 0 20px !important;
  }
}

@media (min-width: 550px) {
  .sec_doi_ngu_sang_lap .txt_tendoingu {
    line-height: 1.5em;
    min-height: 5.5em;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    white-space: normal;
  }

  .sec_doi_ngu_sang_lap .txt_tieusudoingu {
    line-height: 1.5em;
    min-height: 12em;
    display: -webkit-box;
    -webkit-line-clamp: 7;
    -webkit-box-orient: vertical;
    overflow: hidden;
    white-space: normal;
  }

  .slide_doingu_gioithieu .txt_doingu_gioithieu h3 {
    line-height: 1.5em;
    min-height: 3em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    white-space: normal;
  }

  .slide_doingu_gioithieu .txt_doingu_gioithieu p em {
    line-height: 1.5em;
    min-height: 3em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    white-space: normal;
  }

}

.slide_doingu_home {
  margin-left: auto;
  margin-right: auto;
  max-width: 1190px;
}

.slide_doingu_gioithieu {
  margin-left: auto;
  margin-right: auto;
  max-width: 1190px;
}

.flickity-slider .is-selected,
.flickity-slider .flickity-slider>* {
  opacity: 1 !important;
  pointer-events: auto !important;
  visibility: visible !important;
  transform: none !important;
}

.flickity-slider .row {
  opacity: 1 !important;
  filter: none !important;
  transition: none !important;
}

.section-chung-tu {
  border-radius: 15px !important;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

.section-chung-tu .section-bg img {
  opacity: 0.3;
}




/* css trang chứng thư */
.vivc-page-wrap {
  padding: 20px 10px 40px;
}
.vivc-certificate-wrapper {
  max-width: 1310px;
  margin: 0 auto;
  padding: 40px 60px 60px;
  background-image: linear-gradient(rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.55)), url(/wp-content/uploads/2023/04/abstract-orange-background-layout-design-studio-room-web-template-business-report-with-smooth-circle-gradient-color-scaled.jpg);
  background-position: center;
  border-radius: 24px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
  font-family: inherit;
}

/* Thanh trạng thái trên cùng bên phải */
.vivc-cert-topbar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 10px;
}

.vivc-status {
  font-weight: 700;
  font-size: 16px;
}

.vivc-status.status-valid {
  color: #2e7d32;
}

.vivc-status.status-expired {
  color: #c62828;
}

/* Logo + tiêu đề */
.vivc-cert-header {
  text-align: center;
  margin-bottom: 25px;
}

.vivc-logo-img {
  max-width: 260px;
  height: auto;
  display: block;
  margin: 0 auto 8px;
}

/* Dòng: Số chứng thư + ngày */
.vivc-cert-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 1.4em;
  color: #a10c0c;
  font-weight: 600;
  margin-top: 20px;
}

.vivc-cert-meta span {
  white-space: nowrap;
}

/* Nội dung thân */
.vivc-cert-body {
  max-width: 800px;
  margin: 30px auto 0;
  font-size: 1.3em;
  line-height: 1.6;
}

.vivc-cert-body p {
  margin: 1em 0;
}

.vivc-cert-body strong {
  font-weight: 600;
}

.vivc-cert-body hr {
  border: none;
  border-top: 2px solid #000000;
  margin: 18px 0;
  opacity: 0.8;
}

/* Responsive */
@media (max-width: 767px) {
  .vivc-certificate-wrapper {
    padding: 24px 18px 32px;
    border-radius: 16px;
  }

  .vivc-cert-topbar {
    justify-content: center;
    margin-bottom: 6px;
  }

  .vivc-status {
    font-size: 14px;
  }

  .vivc-logo-img {
    max-width: 220px;
  }

  .vivc-cert-meta {
    font-size: 16px;
    gap: 10px;
  }

  .vivc-cert-meta span {
    white-space: normal;
    text-align: center;
  }

  .vivc-cert-body {
    max-width: 100%;
    font-size: 15px;
  }
}