.ll-rmh {
  --ll-rmh-bg: #020403;
  --ll-rmh-text: #ffffff;
  --ll-rmh-muted: #aaa9a7;
  --ll-rmh-accent: #12b9a5;
  --ll-rmh-line: #168f84;
  --ll-rmh-max: 1280px;
  --ll-rmh-card-h: 420px;
  --ll-rmh-gap: 10px;
  width: 100%;
  overflow: clip;
  background: var(--ll-rmh-bg);
  color: var(--ll-rmh-text);
  font-family: "IBM Plex Sans Thai", "IBM Plex Sans", Arial, sans-serif;
}

.elementor-widget-ll_review_media_hub,
.elementor-widget-ll_review_media_hub .elementor-widget-container {
  width: 100%;
}

.ll-rmh *,
.ll-rmh *::before,
.ll-rmh *::after {
  box-sizing: border-box;
}

.ll-rmh button,
.ll-rmh input {
  font: inherit;
}

.ll-rmh button {
  color: inherit;
}

.ll-rmh .screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.ll-rmh-shell {
  width: min(var(--ll-rmh-max), calc(100% - 80px));
  margin-inline: auto;
}

.ll-rmh-head {
  border-bottom: 1px solid var(--ll-rmh-line);
}

.ll-rmh-head-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 180px;
  padding-block: 30px;
}

.ll-rmh-head h2 {
  margin: 0;
  color: var(--ll-rmh-accent);
  font-size: clamp(2.25rem, 4vw, 4.25rem);
  font-weight: 600;
  letter-spacing: 0;
  line-height: .96;
}

.ll-rmh-tabs {
  display: flex;
  align-items: center;
  gap: clamp(22px, 3.2vw, 56px);
}

.ll-rmh-tab,
.ll-rmh-category {
  appearance: none;
  border: 0;
  border-radius: 0;
  background: transparent;
  cursor: pointer;
}

.ll-rmh-tab {
  position: relative;
  padding: 9px 0;
  color: var(--ll-rmh-muted);
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1.2;
  transition: color 180ms ease;
}

.ll-rmh-tab::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  content: "";
  background: currentColor;
  opacity: 0;
  transform: scaleX(.3);
  transform-origin: left;
  transition: opacity 180ms ease, transform 180ms ease;
}

.ll-rmh-tab:hover,
.ll-rmh-tab:focus-visible,
.ll-rmh-tab.is-active {
  color: var(--ll-rmh-text);
  outline: 0;
}

.ll-rmh-tab.is-active::after,
.ll-rmh-tab:hover::after,
.ll-rmh-tab:focus-visible::after {
  opacity: 1;
  transform: scaleX(1);
}

.ll-rmh-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: clamp(36px, 5vw, 88px);
  align-items: start;
  padding-block: 64px 92px;
}

.ll-rmh-filter {
  position: sticky;
  top: 28px;
}

.ll-rmh-search {
  position: relative;
  display: block;
  padding-right: 40px;
  border-bottom: 1px solid rgb(255 255 255 / .72);
}

.ll-rmh-search input {
  width: 100%;
  height: 54px;
  padding: 0 4px;
  border: 0;
  border-radius: 0;
  outline: 0;
  background: transparent;
  color: var(--ll-rmh-text);
  font-size: .94rem;
}

.ll-rmh-search input::placeholder {
  color: var(--ll-rmh-muted);
  opacity: 1;
}

.ll-rmh-search:focus-within {
  border-color: var(--ll-rmh-accent);
}

.ll-rmh-search-icon {
  position: absolute;
  top: 16px;
  right: 8px;
  width: 22px;
  height: 22px;
  border: 3px solid var(--ll-rmh-text);
  border-radius: 50%;
}

.ll-rmh-search-icon::after {
  position: absolute;
  right: -9px;
  bottom: -6px;
  width: 11px;
  height: 3px;
  border-radius: 999px;
  content: "";
  background: var(--ll-rmh-text);
  transform: rotate(45deg);
  transform-origin: left center;
}

.ll-rmh-category-list {
  display: grid;
  gap: 6px;
  margin-top: 42px;
}

.ll-rmh-category-list.is-scrollable {
  max-height: 318px;
  overflow-y: auto;
  overscroll-behavior-block: contain;
  scrollbar-width: none;
}

.ll-rmh-category-list.is-scrollable::-webkit-scrollbar {
  display: none;
}

.ll-rmh-category-controls {
  display: none;
}

.ll-rmh-category-list.is-scrollable + .ll-rmh-category-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  margin-top: 12px;
}

.ll-rmh-category-chevron {
  position: relative;
  width: 30px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ll-rmh-text);
  cursor: pointer;
  opacity: .82;
  transition: color 180ms ease, opacity 180ms ease;
}

.ll-rmh-category-chevron::before {
  position: absolute;
  top: 9px;
  left: 10px;
  width: 9px;
  height: 9px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  content: "";
  transform: rotate(225deg);
}

.ll-rmh-category-chevron.is-next::before {
  top: 6px;
  transform: rotate(45deg);
}

.ll-rmh-category-chevron:hover,
.ll-rmh-category-chevron:focus-visible {
  color: var(--ll-rmh-accent);
  outline: 0;
  opacity: 1;
}

.ll-rmh-category-chevron:disabled {
  cursor: default;
  opacity: .25;
}

.ll-rmh-category {
  width: 100%;
  padding: 13px 16px;
  color: var(--ll-rmh-text);
  font-size: 1.06rem;
  font-weight: 400;
  line-height: 1.25;
  text-align: right;
  transition: background-color 180ms ease, color 180ms ease;
}

.ll-rmh-category:hover,
.ll-rmh-category:focus-visible,
.ll-rmh-category.is-active {
  outline: 0;
  background: var(--ll-rmh-accent);
  color: #071513;
}

.ll-rmh-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--ll-rmh-gap);
}

.ll-rmh-card {
  position: relative;
  display: block;
  min-width: 0;
  min-height: var(--ll-rmh-card-h);
  overflow: hidden;
  background: #12231f;
  isolation: isolate;
  transition: opacity 220ms ease, transform 260ms ease;
}

.ll-rmh-card[hidden] {
  display: none;
}

.ll-rmh-card-media,
.ll-rmh-card-media img,
.ll-rmh-card-media video,
.ll-rmh-media-fallback,
.ll-rmh-card-overlay,
.ll-rmh-card-link {
  position: absolute;
  inset: 0;
}

.ll-rmh-card-media img,
.ll-rmh-card-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.68) saturate(.75);
  transition: filter 400ms ease, transform 700ms cubic-bezier(.2, .72, .2, 1);
}

.ll-rmh-media-fallback {
  display: block;
  background: linear-gradient(135deg, #0b2420, #21322d 50%, #0e1614);
}

.ll-rmh-card-overlay {
  z-index: 1;
  background: linear-gradient(180deg, rgb(0 0 0 / .02) 18%, rgb(0 0 0 / .12) 52%, rgb(0 0 0 / .72) 100%);
  pointer-events: none;
}

.ll-rmh-card-copy {
  position: absolute;
  right: 22px;
  bottom: 20px;
  left: 22px;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 16px;
  align-items: end;
  pointer-events: none;
}

.ll-rmh-card-copy h3,
.ll-rmh-card-copy p {
  margin: 0;
}

.ll-rmh-card-copy h3 {
  grid-column: 1;
  font-size: clamp(1.05rem, 1.6vw, 1.4rem);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.05;
}

.ll-rmh-card-meta {
  grid-column: 1;
  margin-top: 6px;
  color: rgb(255 255 255 / .7);
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .08em;
  line-height: 1.2;
}

.ll-rmh-card-copy p {
  grid-column: 2;
  grid-row: 1 / span 2;
  width: min(50%, 150px);
  color: rgb(255 255 255 / .86);
  font-size: .62rem;
  line-height: 1.25;
  text-align: left;
}

.ll-rmh-card-arrow {
  position: absolute;
  right: 22px;
  top: 20px;
  z-index: 3;
  color: var(--ll-rmh-text);
  font-size: 1.7rem;
  font-weight: 300;
  line-height: 1;
  opacity: .92;
  transition: transform 220ms ease;
}

.ll-rmh-media-type {
  position: absolute;
  top: 20px;
  left: 22px;
  z-index: 2;
  color: var(--ll-rmh-text);
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .12em;
  line-height: 1;
}

.ll-rmh-card-link {
  z-index: 4;
}

.ll-rmh-card:hover .ll-rmh-card-media img,
.ll-rmh-card:hover .ll-rmh-card-media video,
.ll-rmh-card:focus-within .ll-rmh-card-media img,
.ll-rmh-card:focus-within .ll-rmh-card-media video {
  filter: brightness(.88) saturate(.95);
  transform: scale(1.045);
}

.ll-rmh-card:hover .ll-rmh-card-arrow,
.ll-rmh-card:focus-within .ll-rmh-card-arrow {
  transform: translate(4px, -4px);
}

.ll-rmh-card-link:focus-visible {
  outline: 1px solid var(--ll-rmh-accent);
  outline-offset: -4px;
}

.ll-rmh[data-motion="yes"].is-motion-ready [data-ll-rmh-reveal],
.ll-rmh[data-motion="yes"].is-motion-ready .ll-rmh-card {
  opacity: 0;
  transform: translateY(26px);
}

.ll-rmh[data-motion="yes"].is-motion-ready .ll-rmh-card {
  transition-delay: calc(var(--ll-rmh-order) * 70ms);
}

.ll-rmh[data-motion="yes"].is-motion-ready [data-ll-rmh-reveal].is-revealed,
.ll-rmh[data-motion="yes"].is-motion-ready .ll-rmh-card.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

.ll-rmh-empty {
  padding: 28px;
  background: #020403;
  color: #ffffff;
  font-family: "IBM Plex Sans Thai", Arial, sans-serif;
}

@media (max-width: 1024px) {
  .ll-rmh-shell {
    width: min(var(--ll-rmh-max), calc(100% - 48px));
  }

  .ll-rmh-head-inner {
    min-height: 148px;
  }

  .ll-rmh-layout {
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 38px;
    padding-block: 48px 72px;
  }

  .ll-rmh-card-copy {
    right: 16px;
    bottom: 16px;
    left: 16px;
  }

  .ll-rmh-card-copy p {
    display: none;
  }

  .ll-rmh-card-arrow {
    right: 16px;
    top: 16px;
  }

  .ll-rmh-media-type {
    top: 16px;
    left: 16px;
  }
}

@media (max-width: 767px) {
  .ll-rmh-shell {
    width: calc(100% - 32px);
  }

  .ll-rmh-head-inner {
    display: block;
    min-height: 0;
    padding-block: 36px 22px;
  }

  .ll-rmh-head h2 {
    font-size: 2.45rem;
  }

  .ll-rmh-tabs {
    justify-content: space-between;
    gap: 16px;
    margin-top: 30px;
  }

  .ll-rmh-tab {
    padding-bottom: 8px;
    font-size: .96rem;
  }

  .ll-rmh-layout {
    display: block;
    padding-block: 28px 48px;
  }

  .ll-rmh-filter {
    position: static;
  }

  .ll-rmh-search {
    max-width: none;
  }

  .ll-rmh-category-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
    margin-top: 20px;
  }

  .ll-rmh-category-list.is-scrollable {
    display: flex;
    width: calc(100% + 16px);
    max-height: none;
    margin-right: -16px;
    padding-right: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-inline: contain;
    cursor: grab;
    scroll-snap-type: x proximity;
  }

  .ll-rmh-category-list.is-scrollable.is-dragging {
    cursor: grabbing;
    user-select: none;
  }

  .ll-rmh-category {
    width: 100%;
    min-height: 44px;
    padding: 9px 10px;
    border: 1px solid rgb(255 255 255 / .22);
    color: var(--ll-rmh-text);
    font-size: .9rem;
    line-height: 1.25;
    text-align: center;
    white-space: normal;
  }

  .ll-rmh-category-list.is-scrollable .ll-rmh-category {
    flex: 0 0 auto;
    width: auto;
    max-width: 150px;
    scroll-snap-align: start;
  }

  .ll-rmh-category-controls {
    display: none !important;
  }

  .ll-rmh-grid {
    margin-top: 28px;
  }

  .ll-rmh-card {
    min-height: min(var(--ll-rmh-card-h), 330px);
  }

  .ll-rmh-card-copy h3 {
    font-size: 1rem;
  }

  .ll-rmh-card-meta {
    font-size: .59rem;
  }
}

@media (max-width: 520px) {
  .ll-rmh-grid {
    grid-template-columns: 1fr;
  }

  .ll-rmh-card {
    min-height: min(var(--ll-rmh-card-h), 380px);
  }

  .ll-rmh-card-copy p {
    display: block;
    width: min(48%, 170px);
    font-size: .6rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ll-rmh *,
  .ll-rmh *::before,
  .ll-rmh *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}
