/*
 * Công trình Hùng Vũ frontend styles.
 * Every rule is namespaced below .hvct-hungvu-project-plugin to prevent
 * Flatsome, UX Builder and WordPress core classes from leaking into the UI.
 */
.hvct-hungvu-project-plugin {
  --hvct-primary: var(--primary-color, #b58a52);
  --hvct-primary-contrast: #fff;
  --hvct-text: var(--fs-color-primary, #222);
  --hvct-muted: #6b7280;
  --hvct-border: rgba(17, 24, 39, 0.12);
  --hvct-surface: #fff;
  --hvct-soft: #f6f4f0;
  --hvct-radius: 10px;
  --hvct-shadow: 0 12px 34px rgba(17, 24, 39, 0.08);
  --hvct-container: 1200px;
  color: var(--hvct-text);
  font-family: inherit;
}

.hvct-hungvu-project-plugin,
.hvct-hungvu-project-plugin * {
  box-sizing: border-box;
}

.hvct-hungvu-project-plugin a {
  text-decoration: none;
}

/* Strongly scoped control reset so Flatsome's .button and global button rules cannot take over. */
.hvct-hungvu-project-plugin.hvct-hungvu-project-plugin .hvct-hungvu-project-control {
  appearance: none !important;
  -webkit-appearance: none !important;
  min-height: 0 !important;
  margin: 0 !important;
  font-family: inherit !important;
  font-style: normal !important;
  font-weight: inherit;
  letter-spacing: normal !important;
  line-height: normal;
  text-indent: 0 !important;
  text-transform: none !important;
  box-shadow: none;
}

.hvct-hungvu-project-plugin.hvct-hungvu-project-plugin .hvct-hungvu-project-control::before,
.hvct-hungvu-project-plugin.hvct-hungvu-project-plugin .hvct-hungvu-project-control::after {
  display: none !important;
  content: none !important;
}

.hvct-hungvu-project-plugin .hvct-container {
  width: min(calc(100% - 40px), var(--hvct-container));
  margin-inline: auto;
}

.hvct-hungvu-project-plugin .hvct-hungvu-project-icon {
  display: inline-flex;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  align-items: center;
  justify-content: center;
  font-size: 0;
  line-height: 0;
}

.hvct-hungvu-project-plugin .hvct-hungvu-project-icon.hvct-hungvu-project-icon svg {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  fill: currentColor;
  stroke: none;
}

.hvct-hungvu-project-plugin .hvct-section-heading {
  margin: 0 0 28px;
}

.hvct-hungvu-project-plugin .hvct-section-heading > span,
.hvct-hungvu-project-plugin .hvct-archive-hero__eyebrow,
.hvct-hungvu-project-plugin .hvct-project-hero__eyebrow {
  display: block;
  margin-bottom: 8px;
  color: var(--hvct-primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.hvct-hungvu-project-plugin .hvct-section-heading h2 {
  margin: 0;
  color: inherit;
  font-family: inherit;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.15;
}

/* Archive */
.hvct-hungvu-project-plugin.hvct-archive--ux .hvct-archive-layout {
  width: 100%;
  margin: 0;
  padding: 0;
}

.hvct-hungvu-project-plugin .hvct-archive-hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0;
  border-bottom: 1px solid var(--hvct-border);
  background: var(--hvct-soft);
}

.hvct-hungvu-project-plugin .hvct-archive-hero--with-image {
  display: flex;
  min-height: clamp(280px, 30vw, 440px);
  align-items: center;
  background: #171717;
  color: #fff;
}

.hvct-hungvu-project-plugin .hvct-archive-hero__media,
.hvct-hungvu-project-plugin .hvct-archive-hero__media::after {
  position: absolute;
  inset: 0;
}

.hvct-hungvu-project-plugin .hvct-archive-hero__media::after {
  content: '';
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.4));
}

.hvct-hungvu-project-plugin .hvct-archive-hero__image {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: cover;
}

.hvct-hungvu-project-plugin .hvct-archive-hero > .hvct-container {
  position: relative;
  z-index: 1;
}

.hvct-hungvu-project-plugin .hvct-archive-hero.hvct-archive-hero--with-image h1,
.hvct-hungvu-project-plugin .hvct-archive-hero.hvct-archive-hero--with-image p {
  color: #fff;
}

.hvct-hungvu-project-plugin .hvct-archive-hero h1 {
  margin: 0 0 14px;
  font-family: inherit;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.05;
}

.hvct-hungvu-project-plugin .hvct-archive-hero p {
  max-width: 760px;
  margin: 0;
  color: var(--hvct-muted);
  font-size: 17px;
}

.hvct-hungvu-project-plugin .hvct-archive__content {
  padding-top: 56px;
  padding-bottom: 72px;
}

/* Ajax filter */
.hvct-hungvu-project-plugin .hvct-filter__toolbar {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(190px, 260px) auto;
  gap: 12px;
  align-items: center;
  margin-bottom: 18px;
}

.hvct-hungvu-project-plugin .hvct-filter__search {
  position: relative;
}

.hvct-hungvu-project-plugin .hvct-filter__search .hvct-hungvu-project-icon {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 16px;
  color: var(--hvct-muted);
  transform: translateY(-50%);
  pointer-events: none;
}

.hvct-hungvu-project-plugin.hvct-hungvu-project-plugin .hvct-filter input[type="search"],
.hvct-hungvu-project-plugin.hvct-hungvu-project-plugin .hvct-filter select {
  width: 100% !important;
  height: 46px !important;
  min-height: 46px !important;
  margin: 0 !important;
  padding: 0 16px !important;
  border: 1px solid var(--hvct-border) !important;
  border-radius: 7px !important;
  background: var(--hvct-surface) !important;
  color: var(--hvct-text) !important;
  font: inherit !important;
  letter-spacing: normal !important;
  line-height: 44px !important;
  text-transform: none !important;
  box-shadow: none !important;
}

.hvct-hungvu-project-plugin.hvct-hungvu-project-plugin .hvct-filter input[type="search"] {
  padding-left: 46px !important;
}

.hvct-hungvu-project-plugin.hvct-hungvu-project-plugin .hvct-filter input:focus,
.hvct-hungvu-project-plugin.hvct-hungvu-project-plugin .hvct-filter select:focus {
  border-color: var(--hvct-primary) !important;
  outline: 2px solid color-mix(in srgb, var(--hvct-primary) 25%, transparent) !important;
  outline-offset: 0;
}

.hvct-hungvu-project-plugin .hvct-filter__layouts {
  display: flex;
  gap: 6px;
}

.hvct-hungvu-project-plugin.hvct-hungvu-project-plugin .hvct-filter__layout-control {
  display: grid !important;
  width: 44px !important;
  height: 44px !important;
  padding: 11px !important;
  place-items: center;
  border: 1px solid var(--hvct-border) !important;
  border-radius: 7px !important;
  background: #fff !important;
  color: var(--hvct-muted) !important;
  cursor: pointer;
}

.hvct-hungvu-project-plugin .hvct-filter__layout-control svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.hvct-hungvu-project-plugin.hvct-hungvu-project-plugin .hvct-filter__layout-control.hvct-is-active {
  border-color: var(--hvct-primary) !important;
  background: var(--hvct-primary) !important;
  color: #fff !important;
}

.hvct-hungvu-project-plugin .hvct-filter__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
}

.hvct-hungvu-project-plugin.hvct-hungvu-project-plugin .hvct-filter__tab-control {
  display: inline-flex !important;
  width: auto !important;
  height: auto !important;
  padding: 9px 15px !important;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--hvct-border) !important;
  border-radius: 999px !important;
  background: #fff !important;
  color: var(--hvct-text) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  cursor: pointer;
}

.hvct-hungvu-project-plugin.hvct-hungvu-project-plugin .hvct-filter__tab-control.hvct-is-active {
  border-color: var(--hvct-primary) !important;
  background: color-mix(in srgb, var(--hvct-primary) 10%, #fff) !important;
  color: var(--hvct-primary) !important;
}

.hvct-hungvu-project-plugin .hvct-filter__status {
  margin: 0 0 18px;
  color: var(--hvct-muted);
  font-size: 14px;
}

.hvct-hungvu-project-plugin.hvct-is-loading .hvct-filter__results {
  opacity: 0.45;
  pointer-events: none;
}

/* Project cards */
.hvct-hungvu-project-plugin .hvct-projects {
  display: grid;
  gap: 24px;
}

.hvct-hungvu-project-plugin .hvct-projects--cols-1 { grid-template-columns: 1fr; }
.hvct-hungvu-project-plugin .hvct-projects--cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hvct-hungvu-project-plugin .hvct-projects--cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hvct-hungvu-project-plugin .hvct-projects--cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.hvct-hungvu-project-plugin .hvct-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--hvct-border);
  border-radius: var(--hvct-radius);
  background: var(--hvct-surface);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.hvct-hungvu-project-plugin .hvct-card:hover {
  border-color: color-mix(in srgb, var(--hvct-primary) 35%, var(--hvct-border));
  box-shadow: var(--hvct-shadow);
  transform: translateY(-3px);
}

.hvct-hungvu-project-plugin .hvct-card__media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #ececec;
}

.hvct-hungvu-project-plugin .hvct-card__image,
.hvct-hungvu-project-plugin .hvct-card__placeholder {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.hvct-hungvu-project-plugin .hvct-card:hover .hvct-card__image {
  transform: scale(1.035);
}

.hvct-hungvu-project-plugin .hvct-card__category {
  position: absolute;
  bottom: 14px;
  left: 14px;
  padding: 6px 10px;
  border-radius: 4px;
  background: rgba(17, 24, 39, 0.82);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
}

.hvct-hungvu-project-plugin .hvct-card__body {
  padding: 20px;
}

.hvct-hungvu-project-plugin .hvct-card__title {
  margin: 0 0 13px;
  font-family: inherit;
  font-size: 20px;
  line-height: 1.3;
}

.hvct-hungvu-project-plugin .hvct-card__title a {
  color: inherit;
}

.hvct-hungvu-project-plugin .hvct-card__subtitle {
  margin: -4px 0 13px;
  color: var(--hvct-muted);
  font-size: 14px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.hvct-hungvu-project-plugin .hvct-card__meta {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin: 8px 0;
  color: var(--hvct-muted);
  font-size: 14px;
  line-height: 1.45;
}

.hvct-hungvu-project-plugin .hvct-card__meta .hvct-hungvu-project-icon {
  margin-top: 1px;
  color: var(--hvct-primary);
}

.hvct-hungvu-project-plugin .hvct-card__excerpt {
  margin: 13px 0 0;
  color: var(--hvct-muted);
  font-size: 14px;
  line-height: 1.6;
}

.hvct-hungvu-project-plugin .hvct-card__link {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  margin-top: 17px;
  padding: 10px 14px;
  border-radius: 6px;
  background: var(--hvct-primary);
  color: var(--hvct-primary-contrast) !important;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
}

.hvct-hungvu-project-plugin .hvct-card__link .hvct-hungvu-project-icon {
  width: 15px;
  height: 15px;
  flex-basis: 15px;
}

.hvct-hungvu-project-plugin .hvct-projects--list {
  grid-template-columns: 1fr;
}

.hvct-hungvu-project-plugin .hvct-card--list {
  display: grid;
  grid-template-columns: minmax(240px, 34%) 1fr;
}

.hvct-hungvu-project-plugin .hvct-card--list .hvct-card__media {
  height: 100%;
  min-height: 260px;
  aspect-ratio: auto;
}

.hvct-hungvu-project-plugin .hvct-card--list .hvct-card__body {
  padding: 28px;
}

.hvct-hungvu-project-plugin .hvct-projects--masonry {
  display: block;
  columns: 3 280px;
  column-gap: 24px;
}

.hvct-hungvu-project-plugin .hvct-card--masonry {
  margin: 0 0 24px;
  break-inside: avoid;
}

.hvct-hungvu-project-plugin .hvct-card--masonry .hvct-card__media { aspect-ratio: auto; }
.hvct-hungvu-project-plugin .hvct-card--masonry:nth-child(3n + 1) .hvct-card__media { aspect-ratio: 4 / 5; }
.hvct-hungvu-project-plugin .hvct-card--masonry:nth-child(3n + 2) .hvct-card__media { aspect-ratio: 4 / 3; }
.hvct-hungvu-project-plugin .hvct-card--masonry:nth-child(3n) .hvct-card__media { aspect-ratio: 1 / 1; }

.hvct-hungvu-project-plugin .hvct-empty {
  padding: 48px 24px;
  border: 1px dashed var(--hvct-border);
  border-radius: var(--hvct-radius);
  color: var(--hvct-muted);
  text-align: center;
}

/* Pagination */
.hvct-hungvu-project-plugin .hvct-pagination {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: center;
  margin-top: 34px;
}

.hvct-hungvu-project-plugin.hvct-hungvu-project-plugin .hvct-pagination__control {
  display: inline-flex !important;
  min-width: 82px !important;
  width: auto !important;
  height: auto !important;
  padding: 10px 15px !important;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--hvct-border) !important;
  border-radius: 6px !important;
  background: #fff !important;
  color: var(--hvct-text) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  cursor: pointer;
}

.hvct-hungvu-project-plugin.hvct-hungvu-project-plugin .hvct-pagination__control:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.hvct-hungvu-project-plugin .hvct-pagination span {
  color: var(--hvct-muted);
  font-size: 14px;
}

/* Shared slider */
.hvct-hungvu-project-plugin .hvct-carousel {
  position: relative;
  padding: 0 46px 34px;
}

.hvct-hungvu-project-plugin .hvct-carousel__viewport {
  overflow: hidden;
}

.hvct-hungvu-project-plugin .hvct-carousel__track {
  display: flex;
  margin: 0;
  padding: 0;
  touch-action: pan-y;
  transition: transform 0.45s cubic-bezier(0.2, 0.75, 0.25, 1);
  will-change: transform;
}

.hvct-hungvu-project-plugin .hvct-carousel__slide {
  min-width: 0;
  padding: 0 10px;
  flex: 0 0 100%;
}

.hvct-hungvu-project-plugin.hvct-hungvu-project-plugin .hvct-carousel__button {
  position: absolute !important;
  z-index: 5 !important;
  top: 50% !important;
  display: grid !important;
  width: 40px !important;
  min-width: 40px !important;
  height: 40px !important;
  padding: 0 !important;
  place-items: center;
  border: 1px solid var(--hvct-border) !important;
  border-radius: 50% !important;
  background: #fff !important;
  color: var(--hvct-text) !important;
  font-size: 28px !important;
  font-weight: 400 !important;
  line-height: 1 !important;
  box-shadow: 0 6px 18px rgba(17, 24, 39, 0.12) !important;
  transform: translateY(-70%) !important;
  cursor: pointer;
}

.hvct-hungvu-project-plugin.hvct-hungvu-project-plugin .hvct-carousel__button--prev { left: 0 !important; }
.hvct-hungvu-project-plugin.hvct-hungvu-project-plugin .hvct-carousel__button--next { right: 0 !important; }

.hvct-hungvu-project-plugin.hvct-hungvu-project-plugin .hvct-carousel__button:hover:not(:disabled) {
  border-color: var(--hvct-primary) !important;
  background: var(--hvct-primary) !important;
  color: #fff !important;
}

.hvct-hungvu-project-plugin.hvct-hungvu-project-plugin .hvct-carousel__button:disabled {
  opacity: 0.3 !important;
  cursor: not-allowed;
}

.hvct-hungvu-project-plugin .hvct-carousel__dots {
  position: absolute;
  bottom: 3px;
  left: 50%;
  display: flex;
  gap: 7px;
  transform: translateX(-50%);
}

.hvct-hungvu-project-plugin.hvct-hungvu-project-plugin .hvct-carousel__dot {
  display: block !important;
  width: 7px !important;
  min-width: 7px !important;
  height: 7px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: #c8c8c8 !important;
  cursor: pointer;
}

.hvct-hungvu-project-plugin.hvct-hungvu-project-plugin .hvct-carousel__dot.hvct-is-active {
  width: 22px !important;
  border-radius: 8px !important;
  background: var(--hvct-primary) !important;
}

/* Single hero */
.hvct-hungvu-project-plugin .hvct-project-hero {
  position: relative;
  display: flex;
  min-height: var(--hvct-hero-height, 620px);
  overflow: hidden;
  align-items: flex-end;
  background: #171717;
  color: #fff;
}

.hvct-hungvu-project-plugin .hvct-project-hero__media,
.hvct-hungvu-project-plugin .hvct-project-hero__overlay {
  position: absolute;
  inset: 0;
}

.hvct-hungvu-project-plugin .hvct-project-hero__media {
  z-index: 0;
  background: #171717;
}

.hvct-hungvu-project-plugin .hvct-project-hero__image,
.hvct-hungvu-project-plugin .hvct-project-hero__placeholder {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: cover;
}

.hvct-hungvu-project-plugin .hvct-project-hero__overlay {
  z-index: 1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08) 20%, rgba(0, 0, 0, 0.78) 100%);
}

.hvct-hungvu-project-plugin .hvct-project-hero__inner {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 40px), var(--hvct-container));
  margin-inline: auto;
  padding: 80px 0;
}

.hvct-hungvu-project-plugin .hvct-project-hero h1 {
  max-width: 900px;
  margin: 0;
  color: #fff;
  font-family: inherit;
  font-size: clamp(38px, 6vw, 76px);
  line-height: 1.04;
}

.hvct-hungvu-project-plugin .hvct-project-hero p {
  max-width: 720px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
  overflow-wrap: anywhere;
}

.hvct-hungvu-project-plugin .hvct-project-breadcrumb {
  max-width: 100%;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
  line-height: 1.5;
}

.hvct-hungvu-project-plugin .hvct-project-breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hvct-hungvu-project-plugin .hvct-project-breadcrumb__item {
  display: inline-flex;
  min-width: 0;
  gap: 8px;
  align-items: center;
  margin: 0;
}

.hvct-hungvu-project-plugin .hvct-project-breadcrumb a,
.hvct-hungvu-project-plugin .hvct-project-breadcrumb span {
  color: inherit;
}

.hvct-hungvu-project-plugin .hvct-project-breadcrumb a:hover {
  color: #fff;
}

.hvct-hungvu-project-plugin .hvct-project-breadcrumb__item > span[aria-current="page"] {
  max-width: min(520px, 70vw);
  overflow: hidden;
  color: #fff;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hvct-hungvu-project-plugin .hvct-project-breadcrumb__separator {
  opacity: 0.65;
}

/* Single content and sticky information */
main#main.hvct-hungvu-project-plugin.hvct-single,
.hvct-hungvu-project-plugin .hvct-single__main,
.hvct-hungvu-project-plugin .hvct-single__intro {
  overflow: visible !important;
}

.hvct-hungvu-project-plugin .hvct-single__main {
  padding-top: 70px;
  padding-bottom: 80px;
}

.hvct-hungvu-project-plugin .hvct-single__intro {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.75fr);
  grid-template-areas: "content aside";
  gap: 56px;
  align-items: start;
}

.hvct-hungvu-project-plugin .hvct-single__content {
  min-width: 0;
  grid-area: content;
}

.hvct-hungvu-project-plugin .hvct-single__aside {
  min-width: 0;
  grid-area: aside;
}

.hvct-hungvu-project-plugin .hvct-entry-content {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 16px;
  line-height: 1.75;
}

.hvct-hungvu-project-plugin .hvct-entry-content img,
.hvct-hungvu-project-plugin .hvct-entry-content iframe,
.hvct-hungvu-project-plugin .hvct-entry-content video,
.hvct-hungvu-project-plugin .hvct-entry-content table {
  max-width: 100%;
}

.hvct-hungvu-project-plugin .hvct-info-panel {
  display: grid;
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--hvct-border);
  border-radius: var(--hvct-radius);
  background: #fff;
}

.hvct-hungvu-project-plugin .hvct-info-panel__item {
  display: grid;
  grid-template-columns: 145px minmax(0, 1fr);
  gap: 18px;
  padding: 17px 20px;
  border-bottom: 1px solid var(--hvct-border);
}

.hvct-hungvu-project-plugin .hvct-info-panel__item:last-child {
  border-bottom: 0;
}

.hvct-hungvu-project-plugin .hvct-info-panel__item span {
  color: var(--hvct-muted);
  font-size: 13px;
  line-height: 1.5;
}

.hvct-hungvu-project-plugin .hvct-info-panel__item strong {
  overflow-wrap: anywhere;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}

.hvct-hungvu-project-plugin .hvct-info-panel__item--wide {
  grid-template-columns: 1fr;
}

.hvct-hungvu-project-plugin .hvct-single__gallery,
.hvct-hungvu-project-plugin .hvct-single__video,
.hvct-hungvu-project-plugin .hvct-related {
  margin-top: 80px;
}

@media (min-width: 901px) {
  .hvct-hungvu-project-plugin .hvct-single__aside {
    position: sticky;
    top: 96px;
    align-self: start;
  }

  body.admin-bar .hvct-hungvu-project-plugin .hvct-single__aside {
    top: 128px;
  }
}

/* Project video */
.hvct-hungvu-project-plugin .hvct-project-video {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: var(--hvct-radius);
  background: #111;
  box-shadow: var(--hvct-shadow);
  aspect-ratio: 16 / 9;
}

.hvct-hungvu-project-plugin .hvct-project-video__iframe,
.hvct-hungvu-project-plugin .hvct-project-video__media {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  border: 0;
  background: #111;
}

.hvct-hungvu-project-plugin .hvct-project-video__media {
  object-fit: contain;
}

/* Gallery */
.hvct-hungvu-project-plugin .hvct-gallery {
  display: grid;
  gap: 16px;
}

.hvct-hungvu-project-plugin .hvct-gallery--gallery {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hvct-hungvu-project-plugin .hvct-gallery--gallery .hvct-gallery__item:first-child {
  grid-column: span 2;
  grid-row: span 2;
}

.hvct-hungvu-project-plugin .hvct-gallery--row {
  display: flex;
  flex-wrap: wrap;
}

.hvct-hungvu-project-plugin .hvct-gallery--row .hvct-gallery__item {
  flex: 1 1 280px;
}

.hvct-hungvu-project-plugin .hvct-gallery--masonry {
  display: block;
  columns: 3 280px;
  column-gap: 16px;
}

.hvct-hungvu-project-plugin .hvct-gallery--masonry .hvct-gallery__item {
  margin-bottom: 16px;
  break-inside: avoid;
}

.hvct-hungvu-project-plugin .hvct-gallery__item {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #eee;
}

.hvct-hungvu-project-plugin.hvct-hungvu-project-plugin .hvct-gallery__open {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  padding: 0 !important;
  overflow: hidden;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: inherit !important;
  cursor: zoom-in;
}

.hvct-hungvu-project-plugin .hvct-gallery__open img {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.hvct-hungvu-project-plugin .hvct-gallery__item:hover img {
  transform: scale(1.025);
}

.hvct-hungvu-project-plugin .hvct-gallery__item figcaption {
  padding: 10px 12px;
  background: #fff;
  color: var(--hvct-muted);
  font-size: 13px;
}

.hvct-hungvu-project-plugin .hvct-gallery--gallery .hvct-gallery__item {
  aspect-ratio: 1;
}

.hvct-hungvu-project-plugin .hvct-gallery--gallery .hvct-gallery__item:first-child {
  aspect-ratio: auto;
}

.hvct-hungvu-project-plugin .hvct-gallery--gallery .hvct-gallery__open {
  height: 100%;
}

.hvct-hungvu-project-plugin .hvct-gallery-carousel .hvct-gallery__item {
  aspect-ratio: 16 / 9;
}

/* Lightbox with previous/next controls */
body.hvct-lightbox-open {
  overflow: hidden;
}

.hvct-hungvu-project-plugin.hvct-lightbox {
  position: fixed;
  z-index: 999999;
  inset: 0;
  display: grid;
  padding: 40px 90px;
  place-items: center;
  background: rgba(0, 0, 0, 0.92);
}

.hvct-hungvu-project-plugin .hvct-lightbox__figure {
  display: flex;
  max-width: min(1500px, 100%);
  max-height: 92vh;
  margin: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hvct-hungvu-project-plugin .hvct-lightbox__image {
  display: block;
  max-width: 100%;
  max-height: calc(92vh - 44px);
  margin: 0;
  object-fit: contain;
}

.hvct-hungvu-project-plugin .hvct-lightbox__caption {
  max-width: 900px;
  padding-top: 12px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  text-align: center;
}

.hvct-hungvu-project-plugin.hvct-hungvu-project-plugin .hvct-lightbox__close,
.hvct-hungvu-project-plugin.hvct-hungvu-project-plugin .hvct-lightbox__nav {
  position: fixed !important;
  z-index: 2 !important;
  display: grid !important;
  width: 46px !important;
  min-width: 46px !important;
  height: 46px !important;
  padding: 0 !important;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.32) !important;
  border-radius: 50% !important;
  background: rgba(0, 0, 0, 0.42) !important;
  color: #fff !important;
  font-weight: 400 !important;
  line-height: 1 !important;
  box-shadow: none !important;
  cursor: pointer;
}

.hvct-hungvu-project-plugin.hvct-hungvu-project-plugin .hvct-lightbox__close {
  top: 18px !important;
  right: 22px !important;
  font-size: 30px !important;
}

.hvct-hungvu-project-plugin.hvct-hungvu-project-plugin .hvct-lightbox__nav {
  top: 50% !important;
  font-size: 38px !important;
  transform: translateY(-50%) !important;
}

.hvct-hungvu-project-plugin.hvct-hungvu-project-plugin .hvct-lightbox__nav--prev { left: 24px !important; }
.hvct-hungvu-project-plugin.hvct-hungvu-project-plugin .hvct-lightbox__nav--next { right: 24px !important; }

.hvct-hungvu-project-plugin.hvct-hungvu-project-plugin .hvct-lightbox__nav[hidden] {
  display: none !important;
}

.hvct-hungvu-project-plugin.hvct-hungvu-project-plugin .hvct-lightbox__close:hover,
.hvct-hungvu-project-plugin.hvct-hungvu-project-plugin .hvct-lightbox__nav:hover {
  border-color: #fff !important;
  background: rgba(255, 255, 255, 0.16) !important;
}

/* Categories */
.hvct-hungvu-project-plugin .hvct-categories {
  display: grid;
  gap: 18px;
}

.hvct-hungvu-project-plugin .hvct-categories--cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hvct-hungvu-project-plugin .hvct-categories--cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hvct-hungvu-project-plugin .hvct-categories--cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.hvct-hungvu-project-plugin .hvct-category-card {
  position: relative;
  display: block;
  min-height: 240px;
  overflow: hidden;
  border-radius: var(--hvct-radius);
  background: #222;
  color: #fff !important;
}

.hvct-hungvu-project-plugin .hvct-category-card__media,
.hvct-hungvu-project-plugin .hvct-category-card__media::after {
  position: absolute;
  inset: 0;
}

.hvct-hungvu-project-plugin .hvct-category-card__media::after {
  content: "";
  background: linear-gradient(180deg, transparent 15%, rgba(0, 0, 0, 0.72));
}

.hvct-hungvu-project-plugin .hvct-category-card__media img,
.hvct-hungvu-project-plugin .hvct-category-card__placeholder {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.hvct-hungvu-project-plugin .hvct-category-card:hover img {
  transform: scale(1.04);
}

.hvct-hungvu-project-plugin .hvct-category-card__content {
  position: absolute;
  z-index: 1;
  right: 20px;
  bottom: 18px;
  left: 20px;
  display: flex;
  gap: 12px;
  align-items: end;
  justify-content: space-between;
}

.hvct-hungvu-project-plugin .hvct-category-card__content strong {
  font-size: 20px;
}

.hvct-hungvu-project-plugin .hvct-category-card__content small {
  color: rgba(255, 255, 255, 0.75);
}

.hvct-hungvu-project-plugin .hvct-categories--list {
  grid-template-columns: 1fr;
}

.hvct-hungvu-project-plugin .hvct-categories--list .hvct-category-card {
  min-height: 120px;
}

.hvct-hungvu-project-plugin .hvct-category-carousel .hvct-category-card {
  min-height: 280px;
}

@media (max-width: 900px) {
  .hvct-hungvu-project-plugin .hvct-filter__toolbar {
    grid-template-columns: 1fr 220px;
  }

  .hvct-hungvu-project-plugin .hvct-filter__layouts {
    grid-column: 1 / -1;
  }

  .hvct-hungvu-project-plugin .hvct-projects--cols-3,
  .hvct-hungvu-project-plugin .hvct-projects--cols-4,
  .hvct-hungvu-project-plugin .hvct-categories--cols-3,
  .hvct-hungvu-project-plugin .hvct-categories--cols-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* Information is deliberately before the description on tablet/mobile. */
  .hvct-hungvu-project-plugin .hvct-single__intro {
    grid-template-columns: 1fr;
    grid-template-areas:
      "aside"
      "content";
    gap: 34px;
  }

  .hvct-hungvu-project-plugin .hvct-single__aside {
    position: static;
    width: 100%;
  }

  .hvct-hungvu-project-plugin .hvct-gallery--gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Mobile hero: 56.25% image ratio (16:9), object-fit contain means the featured image is never cropped. */
@media (max-width: 767px) {
  .hvct-hungvu-project-plugin .hvct-project-hero {
    display: block;
    min-height: 0;
    background: #171717;
  }

  .hvct-hungvu-project-plugin .hvct-project-hero__media {
    position: relative;
    inset: auto;
    width: 100%;
    aspect-ratio: 16 / 9;
  }

  .hvct-hungvu-project-plugin .hvct-project-hero__image,
  .hvct-hungvu-project-plugin .hvct-project-hero__placeholder {
    object-fit: contain;
    background: #171717;
  }

  .hvct-hungvu-project-plugin .hvct-project-hero__overlay {
    display: none;
  }

  .hvct-hungvu-project-plugin .hvct-project-hero__inner {
    width: calc(100% - 28px);
    padding: 24px 0 30px;
  }

  .hvct-hungvu-project-plugin .hvct-project-hero h1 {
    font-size: clamp(28px, 8vw, 40px);
    line-height: 1.12;
  }

  .hvct-hungvu-project-plugin .hvct-project-hero p {
    margin-top: 12px;
    font-size: 15px;
    line-height: 1.6;
  }

  .hvct-hungvu-project-plugin .hvct-project-breadcrumb {
    margin-top: 14px;
    font-size: 12px;
  }

  .hvct-hungvu-project-plugin .hvct-project-breadcrumb__item > span[aria-current="page"] {
    max-width: 68vw;
  }


  .hvct-hungvu-project-plugin .hvct-single__content {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .hvct-hungvu-project-plugin .hvct-single__content > .hvct-section-heading,
  .hvct-hungvu-project-plugin .hvct-entry-content {
    padding-right: 14px;
    padding-left: 14px;
  }

  .hvct-hungvu-project-plugin .hvct-entry-content {
    overflow-x: hidden;
    overflow-x: clip;
  }

  .hvct-hungvu-project-plugin .hvct-entry-content .section,
  .hvct-hungvu-project-plugin .hvct-entry-content .section-content,
  .hvct-hungvu-project-plugin .hvct-entry-content .row,
  .hvct-hungvu-project-plugin .hvct-entry-content > .row {
    width: 100% !important;
    max-width: 100% !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
  }

  .hvct-hungvu-project-plugin .hvct-entry-content ul,
  .hvct-hungvu-project-plugin .hvct-entry-content ol {
    margin-left: 0;
    padding-left: 1.35em;
  }
}

@media (max-width: 599px) {
  .hvct-hungvu-project-plugin .hvct-container {
    width: min(calc(100% - 28px), var(--hvct-container));
  }

  .hvct-hungvu-project-plugin .hvct-archive-hero {
    padding: 52px 0;
  }

  .hvct-hungvu-project-plugin .hvct-archive__content {
    padding-top: 36px;
  }

  .hvct-hungvu-project-plugin .hvct-filter__toolbar {
    grid-template-columns: 1fr;
  }

  .hvct-hungvu-project-plugin .hvct-filter__layouts {
    grid-column: auto;
  }

  .hvct-hungvu-project-plugin .hvct-filter__tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
    scrollbar-width: thin;
  }

  .hvct-hungvu-project-plugin .hvct-filter__tab-control {
    white-space: nowrap;
  }

  .hvct-hungvu-project-plugin .hvct-projects,
  .hvct-hungvu-project-plugin .hvct-projects--cols-2,
  .hvct-hungvu-project-plugin .hvct-projects--cols-3,
  .hvct-hungvu-project-plugin .hvct-projects--cols-4,
  .hvct-hungvu-project-plugin .hvct-categories,
  .hvct-hungvu-project-plugin .hvct-categories--cols-2,
  .hvct-hungvu-project-plugin .hvct-categories--cols-3,
  .hvct-hungvu-project-plugin .hvct-categories--cols-4 {
    grid-template-columns: 1fr;
  }

  .hvct-hungvu-project-plugin .hvct-card--list {
    grid-template-columns: 1fr;
  }

  .hvct-hungvu-project-plugin .hvct-card--list .hvct-card__media {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .hvct-hungvu-project-plugin .hvct-card--list .hvct-card__body {
    padding: 20px;
  }

  .hvct-hungvu-project-plugin .hvct-projects--masonry,
  .hvct-hungvu-project-plugin .hvct-gallery--masonry {
    columns: 1;
  }

  .hvct-hungvu-project-plugin .hvct-carousel {
    padding-inline: 34px;
  }

  .hvct-hungvu-project-plugin.hvct-hungvu-project-plugin .hvct-carousel__button {
    width: 32px !important;
    min-width: 32px !important;
    height: 32px !important;
    font-size: 24px !important;
  }

  .hvct-hungvu-project-plugin .hvct-single__main {
    padding-top: 42px;
  }

  .hvct-hungvu-project-plugin .hvct-info-panel__item {
    grid-template-columns: 1fr;
    gap: 5px;
    padding: 16px 18px;
  }

  .hvct-hungvu-project-plugin .hvct-info-panel__item span {
    font-size: 14px;
  }

  .hvct-hungvu-project-plugin .hvct-info-panel__item strong {
    font-size: 16px;
  }

  .hvct-hungvu-project-plugin .hvct-single__gallery,
  .hvct-hungvu-project-plugin .hvct-single__video,
  .hvct-hungvu-project-plugin .hvct-related {
    margin-top: 58px;
  }

  .hvct-hungvu-project-plugin .hvct-gallery--gallery {
    grid-template-columns: 1fr;
  }

  .hvct-hungvu-project-plugin .hvct-gallery--gallery .hvct-gallery__item:first-child {
    grid-column: auto;
    grid-row: auto;
  }

  .hvct-hungvu-project-plugin.hvct-lightbox {
    padding: 64px 46px 28px;
  }

  .hvct-hungvu-project-plugin.hvct-hungvu-project-plugin .hvct-lightbox__close {
    top: 12px !important;
    right: 12px !important;
  }

  .hvct-hungvu-project-plugin.hvct-hungvu-project-plugin .hvct-lightbox__nav {
    width: 38px !important;
    min-width: 38px !important;
    height: 38px !important;
    font-size: 30px !important;
  }

  .hvct-hungvu-project-plugin.hvct-hungvu-project-plugin .hvct-lightbox__nav--prev { left: 6px !important; }
  .hvct-hungvu-project-plugin.hvct-hungvu-project-plugin .hvct-lightbox__nav--next { right: 6px !important; }

  .hvct-hungvu-project-plugin .hvct-category-card {
    min-height: 220px;
  }
}

/* UX Builder project showcase elements (v1.3.0). */
.hvct-hungvu-project-plugin.hvct-ux-projects-block {
  width: 100%;
  min-width: 0;
}

.hvct-hungvu-project-plugin .hvct-ux-projects-block__heading {
  margin: 0 0 28px;
}

.hvct-hungvu-project-plugin .hvct-ux-projects-block__eyebrow {
  display: block;
  margin: 0 0 7px;
  color: var(--hvct-primary);
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.13em;
  line-height: 1.4;
  text-transform: uppercase;
}

.hvct-hungvu-project-plugin .hvct-ux-projects-block__title {
  margin: 0;
  color: inherit;
  font-family: inherit;
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.18;
}

.hvct-hungvu-project-plugin.hvct-ux-projects-block--align-center .hvct-ux-projects-block__heading {
  text-align: center;
}

.hvct-hungvu-project-plugin.hvct-ux-projects-block--align-right .hvct-ux-projects-block__heading {
  text-align: right;
}

.hvct-hungvu-project-plugin .hvct-ux-projects-block__empty {
  padding: 28px;
  border: 1px dashed var(--hvct-border);
  border-radius: var(--hvct-radius);
  background: var(--hvct-soft);
  color: var(--hvct-muted);
  font-size: 14px;
  text-align: center;
}

/* Per-element responsive columns and spacing. */
.hvct-hungvu-project-plugin.hvct-project-showcase .hvct-projects {
  gap: var(--hvct-card-gap, 24px);
  grid-template-columns: repeat(var(--hvct-cols-desktop, 3), minmax(0, 1fr));
}

.hvct-hungvu-project-plugin.hvct-project-showcase .hvct-projects--list {
  grid-template-columns: 1fr;
}

.hvct-hungvu-project-plugin.hvct-project-showcase .hvct-projects--masonry {
  display: block;
  columns: auto;
  column-count: var(--hvct-cols-desktop, 3);
  column-gap: var(--hvct-card-gap, 24px);
}

.hvct-hungvu-project-plugin.hvct-project-showcase .hvct-card--masonry {
  margin-bottom: var(--hvct-card-gap, 24px);
}

.hvct-hungvu-project-plugin.hvct-project-showcase .hvct-card:not(.hvct-card--masonry) .hvct-card__media {
  aspect-ratio: var(--hvct-image-ratio, 4 / 3);
}

.hvct-hungvu-project-plugin.hvct-project-showcase .hvct-carousel__slide {
  padding-right: calc(var(--hvct-card-gap, 24px) / 2);
  padding-left: calc(var(--hvct-card-gap, 24px) / 2);
}

/* Classic remains the default card appearance. */
.hvct-hungvu-project-plugin .hvct-card-style--minimal {
  overflow: visible;
  border-color: transparent;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.hvct-hungvu-project-plugin .hvct-card-style--minimal:hover {
  border-color: transparent;
  box-shadow: none;
  transform: none;
}

.hvct-hungvu-project-plugin .hvct-card-style--minimal .hvct-card__media {
  overflow: hidden;
  border-radius: var(--hvct-radius);
}

.hvct-hungvu-project-plugin .hvct-card-style--minimal .hvct-card__body {
  padding: 16px 0 0;
}

.hvct-hungvu-project-plugin .hvct-card-style--minimal .hvct-card__link {
  padding: 0 0 3px;
  border-bottom: 1px solid currentColor;
  border-radius: 0;
  background: transparent;
  color: var(--hvct-primary) !important;
}

.hvct-hungvu-project-plugin .hvct-card-style--overlay {
  position: relative;
  min-height: 0;
  border: 0;
  background: #181818;
}

.hvct-hungvu-project-plugin .hvct-card-style--overlay:hover {
  border-color: transparent;
}

.hvct-hungvu-project-plugin .hvct-card-style--overlay .hvct-card__media {
  z-index: 0;
}

.hvct-hungvu-project-plugin .hvct-card-style--overlay .hvct-card__media::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.03) 28%, rgba(0, 0, 0, 0.86) 100%);
  content: "";
  pointer-events: none;
}

.hvct-hungvu-project-plugin .hvct-card-style--overlay .hvct-card__category {
  z-index: 2;
  top: 14px;
  bottom: auto;
  background: rgba(255, 255, 255, 0.9);
  color: #202020;
}

.hvct-hungvu-project-plugin .hvct-card-style--overlay .hvct-card__body {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 24px;
  color: #fff;
  pointer-events: none;
}

.hvct-hungvu-project-plugin .hvct-card-style--overlay .hvct-card__body a {
  pointer-events: auto;
}

.hvct-hungvu-project-plugin .hvct-card-style--overlay .hvct-card__title {
  margin-bottom: 10px;
  color: #fff;
}

.hvct-hungvu-project-plugin .hvct-card-style--overlay .hvct-card__title a,
.hvct-hungvu-project-plugin .hvct-card-style--overlay .hvct-card__subtitle,
.hvct-hungvu-project-plugin .hvct-card-style--overlay .hvct-card__meta,
.hvct-hungvu-project-plugin .hvct-card-style--overlay .hvct-card__excerpt {
  color: #fff;
}

.hvct-hungvu-project-plugin .hvct-card-style--overlay .hvct-card__meta,
.hvct-hungvu-project-plugin .hvct-card-style--overlay .hvct-card__subtitle,
.hvct-hungvu-project-plugin .hvct-card-style--overlay .hvct-card__excerpt {
  opacity: 0.86;
}

.hvct-hungvu-project-plugin .hvct-card-style--overlay .hvct-card__excerpt {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.hvct-hungvu-project-plugin .hvct-card-style--overlay .hvct-card__link {
  padding: 8px 0 2px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 0;
  background: transparent;
  color: #fff !important;
}

@media (max-width: 900px) {
  .hvct-hungvu-project-plugin.hvct-project-showcase .hvct-projects {
    grid-template-columns: repeat(var(--hvct-cols-tablet, 2), minmax(0, 1fr));
  }

  .hvct-hungvu-project-plugin.hvct-project-showcase .hvct-projects--list {
    grid-template-columns: 1fr;
  }

  .hvct-hungvu-project-plugin.hvct-project-showcase .hvct-projects--masonry {
    column-count: var(--hvct-cols-tablet, 2);
  }
}

@media (max-width: 599px) {
  .hvct-hungvu-project-plugin .hvct-ux-projects-block__heading {
    margin-bottom: 22px;
  }

  .hvct-hungvu-project-plugin .hvct-ux-projects-block__title {
    font-size: clamp(24px, 8vw, 32px);
  }

  .hvct-hungvu-project-plugin.hvct-project-showcase .hvct-projects,
  .hvct-hungvu-project-plugin.hvct-project-showcase .hvct-projects--cols-2,
  .hvct-hungvu-project-plugin.hvct-project-showcase .hvct-projects--cols-3,
  .hvct-hungvu-project-plugin.hvct-project-showcase .hvct-projects--cols-4,
  .hvct-hungvu-project-plugin.hvct-project-showcase .hvct-projects--cols-5,
  .hvct-hungvu-project-plugin.hvct-project-showcase .hvct-projects--cols-6 {
    grid-template-columns: repeat(var(--hvct-cols-mobile, 1), minmax(0, 1fr));
  }

  .hvct-hungvu-project-plugin.hvct-project-showcase .hvct-projects--list {
    grid-template-columns: 1fr;
  }

  .hvct-hungvu-project-plugin.hvct-project-showcase .hvct-projects--masonry {
    column-count: var(--hvct-cols-mobile, 1);
  }

  .hvct-hungvu-project-plugin .hvct-card-style--overlay .hvct-card__body {
    padding: 18px;
  }

  .hvct-hungvu-project-plugin .hvct-card-style--overlay .hvct-card__title {
    font-size: 18px;
  }

  .hvct-hungvu-project-plugin .hvct-card-style--overlay .hvct-card__excerpt {
    display: none;
  }
}

/* v1.4: reliable project search, full-card links, aligned related projects and multiple videos. */
.hvct-hungvu-project-plugin .hvct-filter__search {
  display: block;
  margin: 0;
}

.hvct-hungvu-project-plugin.hvct-hungvu-project-plugin .hvct-filter input[type="search"] {
  padding-right: 72px !important;
}

.hvct-hungvu-project-plugin.hvct-hungvu-project-plugin .hvct-filter__search-submit {
  position: absolute !important;
  z-index: 3 !important;
  top: 5px !important;
  right: 5px !important;
  width: auto !important;
  min-width: 54px !important;
  height: 36px !important;
  padding: 0 12px !important;
  border: 0 !important;
  border-radius: 5px !important;
  background: var(--hvct-primary) !important;
  color: var(--hvct-primary-contrast) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 36px !important;
  cursor: pointer;
}

.hvct-hungvu-project-plugin.hvct-hungvu-project-plugin .hvct-filter__search-submit:hover,
.hvct-hungvu-project-plugin.hvct-hungvu-project-plugin .hvct-filter__search-submit:focus-visible {
  filter: brightness(0.94);
}

.hvct-hungvu-project-plugin .hvct-card {
  position: relative;
  isolation: isolate;
}

.hvct-hungvu-project-plugin .hvct-card__click-target {
  position: absolute;
  z-index: 8;
  inset: 0;
  display: block;
  border-radius: inherit;
  cursor: pointer;
}

.hvct-hungvu-project-plugin .hvct-card__click-target:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--hvct-primary) 75%, #fff);
  outline-offset: -4px;
}

.hvct-hungvu-project-plugin .hvct-card__media,
.hvct-hungvu-project-plugin .hvct-card__body {
  pointer-events: none;
}

.hvct-hungvu-project-plugin .hvct-project-videos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  width: 100%;
}

.hvct-hungvu-project-plugin .hvct-project-videos--count-1 {
  grid-template-columns: minmax(0, 1fr);
}

.hvct-hungvu-project-plugin .hvct-project-videos .hvct-project-video {
  min-width: 0;
  height: auto;
  margin: 0;
}

.hvct-hungvu-project-plugin .hvct-other-projects,
.hvct-hungvu-project-plugin .hvct-other-projects .hvct-project-results-scope,
.hvct-hungvu-project-plugin .hvct-other-projects .hvct-project-showcase {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.hvct-hungvu-project-plugin .hvct-other-projects .hvct-carousel {
  width: 100%;
  padding-right: 0;
  padding-left: 0;
}

.hvct-hungvu-project-plugin .hvct-other-projects .hvct-carousel__track {
  margin-right: calc(var(--hvct-card-gap, 24px) / -2);
  margin-left: calc(var(--hvct-card-gap, 24px) / -2);
}

.hvct-hungvu-project-plugin.hvct-hungvu-project-plugin .hvct-other-projects .hvct-carousel__button--prev {
  left: -20px !important;
}

.hvct-hungvu-project-plugin.hvct-hungvu-project-plugin .hvct-other-projects .hvct-carousel__button--next {
  right: -20px !important;
}

@media (max-width: 900px) {
  .hvct-hungvu-project-plugin .hvct-project-videos {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .hvct-hungvu-project-plugin.hvct-hungvu-project-plugin .hvct-other-projects .hvct-carousel__button--prev {
    left: 2px !important;
  }

  .hvct-hungvu-project-plugin.hvct-hungvu-project-plugin .hvct-other-projects .hvct-carousel__button--next {
    right: 2px !important;
  }
}
