/*** End ****/
.wpcf7 form .wpcf7-response-output {
  border: 0;
  margin: 15px 0;
  padding: 0;
  font-weight: bold;
  font-size: 12px;
}

.wpcf7 form.sent .wpcf7-response-output {
  color: #46b450;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output, .wpcf7 form.aborted .wpcf7-response-output {
  color: #dc3232;
}

.wpcf7-not-valid-tip {
  position: absolute;
      bottom: -1rem;
    right: 1rem;
    font-size: 1.2rem;
    padding: 0 0.4rem;
}

.wpcf7-spinner {
  position: absolute;
}

span.price-from {
  display: none;
}
.processing {
  opacity: 0.5 !important;
  position: relative;
  pointer-events: none !important;
}

.processing::before {
  height: 1em;
  width: 1em;
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-left: -0.5em;
  margin-top: -0.5em;
  content: "";
  -webkit-animation: spin 1s ease-in-out infinite;
  animation: spin 1s ease-in-out infinite;
  background: url(../images/loader.svg) center center;
  background-size: cover;
  line-height: 1;
  text-align: center;
  font-size: 2em;
  color: rgba(0, 0, 0, 0.75);
  z-index: 99;
}

.hide-sitename {
  visibility: hidden;
  height: 0;
  width: 0;
}

#wp-admin-bar-wp-logo img {
  max-width: 100%;
  height: 100%;
}

.cphan-empty {
  color: white;
}

.ez-toc-debug-messages {
  display: none;
}

.copy-link-btn {
  position: relative;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.copy-tooltip {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-4px);

  background: #000;
  color: #fff;

  font-size: 12px;
  line-height: 1;

  padding: 6px 10px;
  border-radius: 6px;

  white-space: nowrap;

  opacity: 0;
  visibility: hidden;

  transition: all 0.3s ease;

  pointer-events: none;

  z-index: 10;
}

.copy-tooltip.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.btn-main {
  cursor: pointer;
}

.submitting .btn-main,
.submitting .contact-submit {
  pointer-events: none;
  opacity: 0.7;
}

.certificate-slider-wrap-flex {
  display: flex;
  position: relative;
}

.certificate-quote-left {
  width: calc(100% * (4 / 12));
  position: relative;
  margin-right: 24px;
}

.certificate-slider-wrap {
  width: calc(100% * (8 / 12));
}

.gItem {
  cursor: pointer;
}

.gItem img {
  transition: 0.5s;
}

.gItem:hover img {
  scale: 1.05;
}

.lc-3 {
  display: -webkit-box;           /* Bắt buộc phải có */
  -webkit-box-orient: vertical;   /* Bắt buộc phải có */
  -webkit-line-clamp: 3;          /* Số dòng bạn muốn giới hạn (ví dụ: 3) */
  overflow: hidden;  
}

#ajax-news-result {
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

/* Thêm một chút hiệu ứng dịch chuyển nhẹ nếu muốn (tùy chọn) */
#ajax-news-result.is-loading {
    opacity: 0;
    transform: translateY(10px);
}

.p-news .story-breadcrumb-section {
  background: none;
}

.p-news .story-breadcrumb-section .story-breadcrumb {
  color: #fff;
  min-height: unset;
}

.cphan-content {
  font-size: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
}

.cphan-content em {
  font-style: italic;
}

.cphan-content ul li {
  padding-left: 2.4rem;
  position: relative;
  margin: 0.4rem 0;
}

.cphan-content ul li::before {
  content: "";
  position: absolute;
  top: 0.8rem;
  left: 1rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background-color: var(--main-color);
}

.implant-suitable-content .cphan-content ul li {
  margin: 1.6rem 0;
  padding-left: 4.2rem;
}

.implant-suitable-content .cphan-content ul li::before,
.implant-suitable-content .cphan-content ul li::after {
  content: "";
  position: absolute;
}

.implant-suitable-content .cphan-content ul li::before {
  top: 0.2rem;
  width: 2rem;
  height: 2rem;
  aspect-ratio: 1;
  background-color: var(--main-color);
}

.implant-suitable-content .cphan-content ul li::after {
    z-index: 2;
    left: 20px;
    top: 11px;
    transform: translate(-50%, -50%) rotate(45deg);
    width: 3px;
    height: 7px;
    border-bottom: 2px solid #ffffff;
    border-right: 2px solid #ffffff;
}

.bread {
  display: flex;
  align-items: center;
}

.footer-form input {
  width: 100%;
}

.dich-vu-template-default .story-breadcrumb span:last-child,
.dich-vu-template-default .story-breadcrumb span:nth-last-child(2) {
  display: none;
}

.customer-benefits-section {
  background-color: #f3fcfc;
}

.customer-benefits-section .img {
  width: 100%;
  border-radius: 2.4rem;
  overflow: hidden;
  margin-top: 2.4rem;
}

.customer-benefits-item {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.customer-benefits-item .icon {
  width: 7.8rem;
  aspect-ratio: 1;
  border-radius: 0.8rem;
  padding: 1.5rem;
  background-color: #006666;
}

.customer-benefits-item:not(:last-child) {
  padding-bottom: 2.8rem;
  margin-bottom: 2.8rem;
  border-bottom: 0.1rem solid #006666;
}

.header-nav .menu {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .8rem 0;
}

.header-nav .menu-link {
  display: flex;
    font-size: 1.4rem;
    font-weight: 600;
    text-transform: uppercase;
    padding: 1.2rem;
    transition: all .35s ease-in-out;
    border-radius: 4rem;
}

@media (min-width: 1201px) {
  .header-nav .menu {
    gap: 1.6rem;
  }
  .header-nav .menu-link:hover {
        background-color: #105152;
  }
.footer-company {
  width: 28%;
}

.footer-menu {
  flex:1;
}
}

@media (max-width: 1200px) {
  .header-nav .menu {
        flex-direction: column;
    align-items: flex-start;
  }
  .header-nav .menu-link {
        padding-right: 1.2rem;
    padding-left: 0;
    position: relative;
  }
  .header {
        position: sticky;
    top: 0;
    width: 100%;
    z-index: 15;
  }

  .header-mid-inner {
    background: #fff;
    width: 92vw;
    border-radius: 99rem;
  }

  .story-search {
    width: 100%;
  }
}

@media (min-width: 993px) {
  .footer-top-item:nth-child(2) {
    width: 57%;
    justify-content: space-between;
  }
}

@media (max-width: 993px) {
  .certificate-slider-wrap-flex {
    flex-direction: column;
    gap: 1.6rem;
  }

  .certificate-quote-left {
    width: 100%;
  }

  .certificate-quote {
    position: relative;
  }
  .certificate-slider-wrap {
    width: 100%;
  }

  .certificate-card:hover::before, .certificate-card:hover .icon-zoom,
  .certificate-card::before, .certificate-card .icon-zoom {
    content: none;
    display: none;
  }

  .doctor-desc {
    column-count: 1;
  }

  .customer-benefits-section-item {
    width: 100%;
    margin: 2.4rem 0;
  }
}

.certificate-section .quote-icon::before {
  content: none;
}

@media (max-width: 768px) {
  .footer-list {
    margin-bottom: 1rem;
  }
}

@media (max-width: 576px) {
   .footer {
    overflow: hidden;
} 
}
