/* TGWV Page Builder — frontend (Flatsome-inspired layout) */
/* Breakpoints: lg >= 1200px | md 768px–1199px | sm < 768px */
:root,
.tgwv-page-builder-output {
  padding-left: 0;
  padding-right: 0;
}
.site-container,
.site-container-fluid {
  padding-left: 15px;
  padding-right: 15px;
}

.tgwv-page-builder-output {
  width: 100%;
}

/* Trang theme bọc .site-container / .site-container-fluid — không lồng thêm padding/max-width section */
.site-container > .tgwv-page-builder-output .tgwv-section-inner.tgwv-container,
.site-container-fluid > .tgwv-page-builder-output .tgwv-section-inner.tgwv-container {
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

.site-container {
  width: 100%;
  max-width: var(--tgwv-container-max-width, 1200px);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--tgwv-container-padding-x, 15px);
  padding-right: var(--tgwv-container-padding-x, 15px);
  box-sizing: border-box;
}

.site-container-fluid {
  width: 100%;
  max-width: none;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--tgwv-container-padding-x, 15px);
  padding-right: var(--tgwv-container-padding-x, 15px);
  box-sizing: border-box;
}

.site-container-fluid--flush {
  padding-left: 0;
  padding-right: 0;
}

.tgwv-section {
  width: 100%;
  position: relative;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

/* Responsive padding / min-height (máy tính → tablet → mobile) */
.tgwv-section.tgwv-section-responsive {
  padding: var(--tgwv-pad-lg, 0);
  min-height: var(--tgwv-minh-lg, 0);
}

@media (max-width: 1199px) and (min-width: 768px) {
  .tgwv-section.tgwv-section-responsive {
    padding: var(--tgwv-pad-md, var(--tgwv-pad-lg, 0));
    min-height: var(--tgwv-minh-md, var(--tgwv-minh-lg, 0));
  }
}

@media (max-width: 767px) {
  .tgwv-section.tgwv-section-responsive {
    padding: var(--tgwv-pad-sm, var(--tgwv-pad-md, var(--tgwv-pad-lg, 0)));
    min-height: var(--tgwv-minh-sm, var(--tgwv-minh-md, var(--tgwv-minh-lg, 0)));
  }
}

.tgwv-section-inner {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
  flex: 1 0 auto;
  min-height: 100%;
}

.tgwv-section-inner.tgwv-container {
  max-width: var(--tgwv-container-max-width, 1200px);
  padding-left: var(--tgwv-container-padding-x, 20px);
  padding-right: var(--tgwv-container-padding-x, 20px);
  margin-left: auto;
  margin-right: auto;
}

.tgwv-section-inner.tgwv-container-fluid {
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

/* Section thường: widget Nội dung trực tiếp (không qua row/col) */
.tgwv-section:not(.tgwv-section-advance) .tgwv-section-inner > .tgwv-text,
.tgwv-section:not(.tgwv-section-advance) .tgwv-section-inner > .tgwv-button-wrap,
.tgwv-section:not(.tgwv-section-advance) .tgwv-section-inner > .tgwv-image,
.tgwv-section:not(.tgwv-section-advance) .tgwv-section-inner > [class*="tgwv-"] {
  max-width: 100%;
}

.tgwv-section:not(.tgwv-section-advance) .tgwv-section-inner > * + * {
  margin-top: var(--tgwv-content-gap, 1rem);
}

.tgwv-section.tgwv-has-bg-overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: var(--tgwv-bg-overlay);
  pointer-events: none;
  z-index: 0;
}

.tgwv-section.tgwv-has-bg-overlay > .tgwv-section-inner {
  position: relative;
  z-index: 1;
}

.tgwv-section-dark {
  color: #f0f0f1;
}

.tgwv-section-dark .tgwv-text h1,
.tgwv-section-dark .tgwv-text h2,
.tgwv-section-dark .tgwv-text h3,
.tgwv-section-dark .tgwv-text p {
  color: inherit;
}

.tgwv-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  /* margin-left: -15px; */
  /* margin-right: -15px; */
  box-sizing: border-box;
}

.tgwv-col {
  /* padding-left: 15px; */
  /* padding-right: 15px; */
  margin-bottom: 0;
  box-sizing: border-box;
  position: relative;
}

/* Padding dọc cột; gutter ngang do gap trên .tgwv-row-responsive */
.tgwv-col.tgwv-col-responsive {
  padding-top: var(--tgwv-pad-lg, 0);
  padding-bottom: var(--tgwv-pad-lg, 0);
  min-height: var(--tgwv-minh-lg, 0);
}

.tgwv-row-responsive > .tgwv-col.tgwv-col-responsive {
  padding-left: var(--tgwv-pad-lg, 0);
  padding-right: var(--tgwv-pad-lg, 0);
}

@media (max-width: 1199px) and (min-width: 768px) {
  .tgwv-col.tgwv-col-responsive {
    padding-top: var(--tgwv-pad-md, var(--tgwv-pad-lg, 0));
    padding-bottom: var(--tgwv-pad-md, var(--tgwv-pad-lg, 0));
    min-height: var(--tgwv-minh-md, var(--tgwv-minh-lg, 0));
  }

  .tgwv-row-responsive > .tgwv-col.tgwv-col-responsive {
    padding-left: var(--tgwv-pad-md, var(--tgwv-pad-lg, 0));
    padding-right: var(--tgwv-pad-md, var(--tgwv-pad-lg, 0));
  }
}

@media (max-width: 767px) {
  .tgwv-col.tgwv-col-responsive {
    padding-top: var(--tgwv-pad-sm, var(--tgwv-pad-md, var(--tgwv-pad-lg, 0)));
    padding-bottom: var(--tgwv-pad-sm, var(--tgwv-pad-md, var(--tgwv-pad-lg, 0)));
    min-height: var(--tgwv-minh-sm, var(--tgwv-minh-md, var(--tgwv-minh-lg, 0)));
  }

  .tgwv-row-responsive > .tgwv-col.tgwv-col-responsive {
    padding-left: var(--tgwv-pad-sm, var(--tgwv-pad-md, var(--tgwv-pad-lg, 0)));
    padding-right: var(--tgwv-pad-sm, var(--tgwv-pad-md, var(--tgwv-pad-lg, 0)));
  }
}

.tgwv-col.tgwv-has-bg-overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: var(--tgwv-bg-overlay);
  pointer-events: none;
  z-index: 0;
}

.tgwv-col.tgwv-has-bg-overlay > .tgwv-col-inner {
  position: relative;
  z-index: 1;
}

.tgwv-col-inner > * + * {
  margin-top: var(--tgwv-content-gap, 1rem);
}

@media (max-width: 1199px) and (min-width: 768px) {
  .tgwv-col.tgwv-col-hide-md {
    display: none;
  }
}

@media (max-width: 767px) {
  .tgwv-col.tgwv-col-hide-sm {
    display: none;
  }
}

.tgwv-col-inner {
  width: 100%;
}

.tgwv-span-12 { flex: 0 0 100%; max-width: 100%; }
.tgwv-span-9 { flex: 0 0 75%; max-width: 75%; }
.tgwv-span-8 { flex: 0 0 66.666%; max-width: 66.666%; }
.tgwv-span-6 { flex: 0 0 50%; max-width: 50%; }
.tgwv-span-4 { flex: 0 0 33.333%; max-width: 33.333%; }
.tgwv-span-3 { flex: 0 0 25%; max-width: 25%; }

/* Row responsive: độ rộng cột theo breakpoint (desktop → tablet → mobile) */
.tgwv-row-responsive {
  --tgwv-cw: var(--tgwv-cw-lg, 12);
  --tgwv-col-count: var(--tgwv-col-count-lg, 1);
  gap: var(--tgwv-col-gap, 0px);
}

.tgwv-row-responsive:not(.tgwv-row-custom-cols) > .tgwv-col {
  --tgwv-col-flex-span: var(--tgwv-cw, 12);
  flex: 0 0 calc((100% - var(--tgwv-col-gap, 0px) * (var(--tgwv-col-count, 1) - 1)) * var(--tgwv-col-flex-span, 12) / 12);
  max-width: calc((100% - var(--tgwv-col-gap, 0px) * (var(--tgwv-col-count, 1) - 1)) * var(--tgwv-col-flex-span, 12) / 12);
}

.tgwv-row-responsive.tgwv-row-custom-cols > .tgwv-col {
  --tgwv-col-flex-span: var(--tgwv-col-span-lg, 12);
  flex: 0 0 calc((100% - var(--tgwv-col-gap, 0px) * (var(--tgwv-col-count, 1) - 1)) * var(--tgwv-col-flex-span, 12) / 12);
  max-width: calc((100% - var(--tgwv-col-gap, 0px) * (var(--tgwv-col-count, 1) - 1)) * var(--tgwv-col-flex-span, 12) / 12);
}

@media (max-width: 1199px) and (min-width: 768px) {
  .tgwv-row-responsive.tgwv-row-custom-cols > .tgwv-col {
    --tgwv-col-flex-span: var(--tgwv-col-span-md, var(--tgwv-col-span-lg, 12));
  }
}

@media (max-width: 767px) {
  .tgwv-row-responsive.tgwv-row-custom-cols > .tgwv-col {
    --tgwv-col-flex-span: var(--tgwv-col-span-sm, var(--tgwv-col-span-md, var(--tgwv-col-span-lg, 12)));
  }
}

@media (max-width: 1199px) and (min-width: 768px) {
  .tgwv-row-responsive {
    --tgwv-cw: var(--tgwv-cw-md, var(--tgwv-cw-lg, 12));
    --tgwv-col-count: var(--tgwv-col-count-md, var(--tgwv-col-count-lg, 1));
  }
}

@media (max-width: 767px) {
  .tgwv-row-responsive {
    --tgwv-cw: var(--tgwv-cw-sm, var(--tgwv-cw-md, var(--tgwv-cw-lg, 12)));
    --tgwv-col-count: var(--tgwv-col-count-sm, var(--tgwv-col-count-md, var(--tgwv-col-count-lg, 1)));
  }
}

.tgwv-col-align-center { text-align: center; }
.tgwv-col-align-right { text-align: right; }

.tgwv-text { line-height: 1.6; }
.tgwv-plain-text { line-height: 1.6; white-space: normal; }
.tgwv-html-block { width: 100%; max-width: 100%; }
.tgwv-text-align-center { text-align: center; }
.tgwv-text-align-right { text-align: right; }
.tgwv-text-size-small { font-size: 0.9em; }
.tgwv-text-size-large { font-size: 1.15em; }

.tgwv-text h1, .tgwv-text h2, .tgwv-text h3 {
  margin-top: 0;
  line-height: 1.25;
}

.tgwv-button-wrap { margin: 0.5rem 0; }
.tgwv-button-wrap-full .tgwv-button { display: block; width: 100%; text-align: center; }

.tgwv-button {
  display: inline-block;
  padding: 0.65em 1.4em;
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px;
  transition: opacity 0.15s, transform 0.15s;
  border: 2px solid transparent;
  box-sizing: border-box;
}

.tgwv-btn-size-sm { padding: 0.45em 1em; font-size: 0.875rem; }
.tgwv-btn-size-lg { padding: 0.85em 1.75em; font-size: 1.1rem; }

.tgwv-button.tgwv-btn-style-primary {
  background: var(--tgwv-primary, #e5372b);
  color: #fff;
  border-color: var(--tgwv-primary, #e5372b);
}

.tgwv-button.tgwv-btn-style-secondary {
  background: #50575e;
  color: #fff;
  border-color: #50575e;
}

.tgwv-button.tgwv-btn-style-outline {
  background: transparent;
  color: var(--tgwv-primary, #e5372b);
  border-color: var(--tgwv-primary, #e5372b);
}

.tgwv-button.tgwv-btn-style-white {
  background: #fff;
  color: #1d2327;
  border-color: #fff;
}

.tgwv-image__img,
.tgwv-image img {
  display: block;
  max-width: 100%;
  height: auto;
}
.tgwv-image-placeholder {
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0f0f1;
  color: #646970;
  font-size: 14px;
  border-radius: 4px;
  padding: 16px;
  text-align: center;
}

/* --- Heading responsive (desktop → tablet → mobile) --- */
.tgwv-page-builder-output .tgwv-heading-block.tgwv-heading-responsive {
  margin-left: 0;
  margin-right: 0;
  margin-top: var(--tgwv-h-mb-lg, 1rem);
  margin-bottom: var(--tgwv-h-mb-lg, 1rem);
  text-align: var(--tgwv-h-align-lg, left);
}

.tgwv-page-builder-output .tgwv-heading-responsive .tgwv-heading {
  margin: 0;
  line-height: 1.25;
  font-size: var(--tgwv-h-fs-lg, inherit);
  font-weight: var(--tgwv-h-fw-lg, 700);
}

.tgwv-heading__subtitle {
  margin: 0 0 0.35rem;
  font-size: 0.8125rem;
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--tgwv-primary, #e5372b);
}

.tgwv-heading-link {
  color: inherit;
  text-decoration: none;
}
.tgwv-heading-link:hover {
  color: var(--tgwv-primary, #e5372b);
  text-decoration: none;
}

.tgwv-heading-h1 { font-size: 2.25rem; }
.tgwv-heading-h2 { font-size: 1.75rem; }
.tgwv-heading-h3 { font-size: 1.5rem; }
.tgwv-heading-h4 { font-size: 1.25rem; }
.tgwv-heading-h5 { font-size: 1.1rem; }
.tgwv-heading-h6 { font-size: 1rem; }

.tgwv-heading-transform-uppercase {
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.tgwv-heading-transform-capitalize {
  text-transform: capitalize;
}

.tgwv-heading-block--style-accent .tgwv-heading {
  padding-bottom: 0.5rem;
  border-bottom: 3px solid var(--tgwv-primary, #e5372b);
}
.tgwv-heading-block--style-underline .tgwv-heading {
  text-decoration: underline;
  text-decoration-color: var(--tgwv-primary, #e5372b);
  text-underline-offset: 0.2em;
  text-decoration-thickness: 2px;
}

.tgwv-page-builder-output .tgwv-heading-block--decor-line .tgwv-heading__decor-line {
  display: inline-block;
  width: 3rem;
  height: 4px;
  margin-top: 0.65rem;
  background: currentColor;
  vertical-align: top;
}

@media (max-width: 1199px) and (min-width: 768px) {
  .tgwv-page-builder-output .tgwv-heading-block.tgwv-heading-responsive {
    margin-top: var(--tgwv-h-mb-md, var(--tgwv-h-mb-lg, 1rem));
    margin-bottom: var(--tgwv-h-mb-md, var(--tgwv-h-mb-lg, 1rem));
    text-align: var(--tgwv-h-align-md, var(--tgwv-h-align-lg, left));
  }
  .tgwv-page-builder-output .tgwv-heading-responsive .tgwv-heading {
    font-size: var(--tgwv-h-fs-md, var(--tgwv-h-fs-lg, inherit));
    font-weight: var(--tgwv-h-fw-md, var(--tgwv-h-fw-lg, 700));
  }
}

@media (max-width: 767px) {
  .tgwv-page-builder-output .tgwv-heading-block.tgwv-heading-responsive {
    margin-top: var(--tgwv-h-mb-sm, var(--tgwv-h-mb-md, var(--tgwv-h-mb-lg, 1rem)));
    margin-bottom: var(--tgwv-h-mb-sm, var(--tgwv-h-mb-md, var(--tgwv-h-mb-lg, 1rem)));
    text-align: var(--tgwv-h-align-sm, var(--tgwv-h-align-md, var(--tgwv-h-align-lg, left)));
  }
  .tgwv-page-builder-output .tgwv-heading-responsive .tgwv-heading {
    font-size: var(--tgwv-h-fs-sm, var(--tgwv-h-fs-md, var(--tgwv-h-fs-lg, inherit)));
    font-weight: var(--tgwv-h-fw-sm, var(--tgwv-h-fw-md, var(--tgwv-h-fw-lg, 700)));
  }
}

/* Text / plain text responsive */
.tgwv-text-responsive {
  font-size: var(--tgwv-t-fs-lg, 1rem);
  text-align: var(--tgwv-t-align-lg, left);
}

@media (max-width: 1199px) and (min-width: 768px) {
  .tgwv-text-responsive {
    font-size: var(--tgwv-t-fs-md, var(--tgwv-t-fs-lg, 1rem));
    text-align: var(--tgwv-t-align-md, var(--tgwv-t-align-lg, left));
  }
}

@media (max-width: 767px) {
  .tgwv-text-responsive {
    font-size: var(--tgwv-t-fs-sm, var(--tgwv-t-fs-md, var(--tgwv-t-fs-lg, 1rem)));
    text-align: var(--tgwv-t-align-sm, var(--tgwv-t-align-md, var(--tgwv-t-align-lg, left)));
  }
}

/* Button responsive */
.tgwv-button-responsive .tgwv-button {
  padding: var(--tgwv-btn-pad-lg, 0.5rem 1.1rem);
}

@media (max-width: 1199px) and (min-width: 768px) {
  .tgwv-button-responsive .tgwv-button {
    padding: var(--tgwv-btn-pad-md, var(--tgwv-btn-pad-lg, 0.5rem 1.1rem));
  }
}

@media (max-width: 767px) {
  .tgwv-button-responsive .tgwv-button {
    padding: var(--tgwv-btn-pad-sm, var(--tgwv-btn-pad-md, var(--tgwv-btn-pad-lg, 0.5rem 1.1rem)));
  }
}

/* Icon responsive */
.tgwv-icon-responsive {
  text-align: var(--tgwv-icon-align-lg, left);
}
.tgwv-icon-responsive i {
  font-size: var(--tgwv-icon-fs-lg, 1.5rem);
}

@media (max-width: 1199px) and (min-width: 768px) {
  .tgwv-icon-responsive {
    text-align: var(--tgwv-icon-align-md, var(--tgwv-icon-align-lg, left));
  }
  .tgwv-icon-responsive i {
    font-size: var(--tgwv-icon-fs-md, var(--tgwv-icon-fs-lg, 1.5rem));
  }
}

@media (max-width: 767px) {
  .tgwv-icon-responsive {
    text-align: var(--tgwv-icon-align-sm, var(--tgwv-icon-align-md, var(--tgwv-icon-align-lg, left)));
  }
  .tgwv-icon-responsive i {
    font-size: var(--tgwv-icon-fs-sm, var(--tgwv-icon-fs-md, var(--tgwv-icon-fs-lg, 1.5rem)));
  }
}

/* Quote responsive */
.tgwv-quote-responsive {
  text-align: var(--tgwv-quote-align-lg, left);
}

@media (max-width: 1199px) and (min-width: 768px) {
  .tgwv-quote-responsive {
    text-align: var(--tgwv-quote-align-md, var(--tgwv-quote-align-lg, left));
  }
}

@media (max-width: 767px) {
  .tgwv-quote-responsive {
    text-align: var(--tgwv-quote-align-sm, var(--tgwv-quote-align-md, var(--tgwv-quote-align-lg, left)));
  }
}

.tgwv-spacer {
  display: block;
  width: 100%;
  pointer-events: none;
}

.tgwv-spacer-responsive {
  height: var(--tgwv-spacer-h-lg, 40px);
}

@media (max-width: 1199px) and (min-width: 768px) {
  .tgwv-spacer-responsive {
    height: var(--tgwv-spacer-h-md, var(--tgwv-spacer-h-lg, 40px));
  }
}

@media (max-width: 767px) {
  .tgwv-spacer-responsive {
    height: var(--tgwv-spacer-h-sm, var(--tgwv-spacer-h-md, var(--tgwv-spacer-h-lg, 40px)));
  }
}

.tgwv-divider {
  display: block;
}

.tgwv-divider-responsive {
  width: var(--tgwv-divider-w-lg, 100%);
  max-width: 100%;
}

@media (max-width: 1199px) and (min-width: 768px) {
  .tgwv-divider-responsive {
    width: var(--tgwv-divider-w-md, var(--tgwv-divider-w-lg, 100%));
  }
}

@media (max-width: 767px) {
  .tgwv-divider-responsive {
    width: var(--tgwv-divider-w-sm, var(--tgwv-divider-w-md, var(--tgwv-divider-w-lg, 100%)));
  }
}

.tgwv-image-responsive .tgwv-image__img {
  max-width: var(--tgwv-img-mw-lg, 100%);
  border-radius: var(--tgwv-img-radius-lg, 0);
}

@media (max-width: 1199px) and (min-width: 768px) {
  .tgwv-image-responsive .tgwv-image__img {
    max-width: var(--tgwv-img-mw-md, var(--tgwv-img-mw-lg, 100%));
    border-radius: var(--tgwv-img-radius-md, var(--tgwv-img-radius-lg, 0));
  }
}

@media (max-width: 767px) {
  .tgwv-image-responsive .tgwv-image__img {
    max-width: var(--tgwv-img-mw-sm, var(--tgwv-img-mw-md, var(--tgwv-img-mw-lg, 100%)));
    border-radius: var(--tgwv-img-radius-sm, var(--tgwv-img-radius-md, var(--tgwv-img-radius-lg, 0)));
  }
}

.tgwv-quote {
  margin: 1rem 0;
  padding: 1rem 1.25rem;
  border-left: 4px solid var(--tgwv-primary, #e5372b);
  background: rgba(0, 0, 0, 0.03);
}
.tgwv-quote p {
  margin: 0;
  font-style: italic;
}
.tgwv-quote__author {
  margin: 0.75rem 0 0;
  font-size: 0.9em;
  font-style: normal;
  color: #646970;
}

.tgwv-video,
.tgwv-embed {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0.5rem 0;
}
.tgwv-video iframe,
.tgwv-embed iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.tgwv-embed-responsive {
  height: var(--tgwv-embed-h-lg, 400px);
}

@media (max-width: 1199px) and (min-width: 768px) {
  .tgwv-embed-responsive {
    height: var(--tgwv-embed-h-md, var(--tgwv-embed-h-lg, 400px));
  }
}

@media (max-width: 767px) {
  .tgwv-embed-responsive {
    height: var(--tgwv-embed-h-sm, var(--tgwv-embed-h-md, var(--tgwv-embed-h-lg, 400px)));
  }
}

.tgwv-video-responsive {
  aspect-ratio: var(--tgwv-video-ar-lg, 16 / 9);
}

@media (max-width: 1199px) and (min-width: 768px) {
  .tgwv-video-responsive {
    aspect-ratio: var(--tgwv-video-ar-md, var(--tgwv-video-ar-lg, 16 / 9));
  }
}

@media (max-width: 767px) {
  .tgwv-video-responsive {
    aspect-ratio: var(--tgwv-video-ar-sm, var(--tgwv-video-ar-md, var(--tgwv-video-ar-lg, 16 / 9)));
  }
}

.tgwv-video-aspect-169 {
  aspect-ratio: 16 / 9;
}
.tgwv-video-aspect-43 {
  aspect-ratio: 4 / 3;
}
.tgwv-video.tgwv-video--poster.tgwv-video-responsive {
  border-radius: var(--tgwv-video-poster-radius-lg, 0);
  overflow: hidden;
}
.tgwv-video--poster .tgwv-youtube,
.tgwv-video--poster .tgwv-native-video {
  margin: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  overflow: hidden;
}
.tgwv-video--poster .tgwv-native-video {
  position: relative;
}
.tgwv-video--poster .tgwv-native-video-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.12);
  cursor: pointer;
}
.tgwv-video--poster figure.tgwv-native-video.tgwv-native-video-is-playing .tgwv-native-video-overlay {
  display: none;
}
.tgwv-video--poster .tgwv-youtube-poster,
.tgwv-video--poster .tgwv-native-video-overlay,
.tgwv-video--poster .tgwv-video-poster-fallback {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  overflow: hidden;
  text-decoration: none;
}
.tgwv-video--poster .tgwv-youtube-poster img,
.tgwv-video--poster .tgwv-native-video video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}
.tgwv-page-builder-output .tgwv-video--poster .tgwv-youtube-poster,
.tgwv-page-builder-output .tgwv-video--poster .tgwv-youtube-poster img {
  border-radius: inherit;
}
.tgwv-video--poster .tgwv-native-video video {
  pointer-events: none;
}
.tgwv-video--poster .tgwv-youtube-poster .tgwv-youtube-play,
.tgwv-video--poster .tgwv-native-video-overlay .tgwv-native-video-play,
.tgwv-video--poster .tgwv-video-poster-fallback .tgwv-native-video-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: clamp(56px, 11vw, 76px);
  height: clamp(56px, 11vw, 76px);
  border-radius: 50%;
  background: #fff;
  box-shadow: none;
  pointer-events: none;
  transition: transform 0.2s ease;
}
.tgwv-video--poster .tgwv-native-video-overlay .tgwv-native-video-play,
.tgwv-video--poster .tgwv-video-poster-fallback .tgwv-native-video-play {
  position: relative;
  left: auto;
  top: auto;
  transform: none;
  flex-shrink: 0;
}
.tgwv-video--poster .tgwv-youtube-poster .tgwv-youtube-play::after,
.tgwv-video--poster .tgwv-native-video-overlay .tgwv-native-video-play::after,
.tgwv-video--poster .tgwv-video-poster-fallback .tgwv-native-video-play::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-36%, -50%);
  border-style: solid;
  border-width: 10px 0 10px 17px;
  border-color: transparent transparent transparent #2d9f47;
}
.tgwv-video--poster .tgwv-youtube-poster:hover .tgwv-youtube-play {
  transform: translate(-50%, -50%) scale(1.06);
}
.tgwv-video--poster .tgwv-native-video-overlay:hover .tgwv-native-video-play,
.tgwv-video--poster .tgwv-video-poster-fallback:hover .tgwv-native-video-play {
  transform: scale(1.06);
}

@media (max-width: 1199px) and (min-width: 768px) {
  .tgwv-video.tgwv-video--poster.tgwv-video-responsive {
    border-radius: var(
      --tgwv-video-poster-radius-md,
      var(--tgwv-video-poster-radius-lg, 0)
    );
  }
}

@media (max-width: 767px) {
  .tgwv-video.tgwv-video--poster.tgwv-video-responsive {
    border-radius: var(
      --tgwv-video-poster-radius-sm,
      var(--tgwv-video-poster-radius-md, var(--tgwv-video-poster-radius-lg, 0))
    );
  }
}

.tgwv-video-placeholder,
.tgwv-embed-placeholder {
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0f0f1;
  color: #646970;
  font-size: 14px;
  border-radius: 4px;
  padding: 16px;
  text-align: center;
}

.tgwv-icon-wrap {
  margin: 0.5rem 0;
  line-height: 1;
}
.tgwv-icon-wrap .tgwv-icon-link {
  text-decoration: none;
  display: inline-block;
}
.tgwv-icon-size-sm { font-size: 1.25rem; }
.tgwv-icon-size-md { font-size: 2rem; }
.tgwv-icon-size-lg { font-size: 2.75rem; }
.tgwv-icon-size-xl { font-size: 3.5rem; }
