/**
 * CB Work Index Block Styles
 *
 * @package  cb-identity2025
 */
.work-index-hero h1 {
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  font-size: var(--fs-850);
  font-weight: var(--fw-semi);
  color: var(--col-white);
}
.work-index-hero h2 {
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  font-size: var(--fs-600);
  color: var(--col-neutral-800);
  font-weight: var(--fw-regular);
  margin-bottom: 0;
}
.work-index-hero__background {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-areas: "stack";
  text-decoration: none;
}
.work-index-hero__background:hover {
  text-decoration: none;
  color: initial;
}
.work-index-hero__image {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  grid-area: stack;
}
.work-index-hero .overlay {
  grid-area: stack;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgb(13, 13, 12) 0%, rgba(13, 13, 12, 0.2) 20%, rgba(13, 13, 12, 0) 30%);
  pointer-events: none;
  z-index: 1;
}
.work-index-hero__content {
  grid-area: stack;
  align-self: flex-end;
  color: #fff;
  background: linear-gradient(rgba(13, 13, 12, 0), rgba(13, 13, 12, 0.5) 10%, rgba(13, 13, 12, 0.8));
  padding: 2.5rem 2rem 2rem 1rem;
  z-index: 3;
  position: relative;
}
.work-index-hero__title {
  font-size: var(--fs-700);
  font-weight: var(--fw-semi);
}
.work-index-hero__desc {
  font-size: var(--fs-600);
  font-weight: var(--fw-light);
  color: var(--col-neutral-500);
  margin-top: 0.5rem;
}

.cb-work-index {
  background-color: var(--col-primary-black);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  position: relative;
}
.cb-work-index__pre-title {
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  padding-block: 0.5rem;
  color: var(--col-green-500);
  font-weight: var(--fw-regular);
  font-size: var(--fs-300);
  line-height: 1;
}
.cb-work-index__card {
  aspect-ratio: 16/9;
  width: 100%;
  display: grid;
  grid-template-areas: "stack";
  text-decoration: none;
  position: relative;
  overflow: hidden;
}
.cb-work-index__card:hover {
  text-decoration: none;
  color: initial;
}
.cb-work-index .cb-work-index__card.has_video:hover .cb-work-index__image {
  opacity: 0;
}
.cb-work-index__image {
  grid-area: stack;
  aspect-ratio: 16/9;
  transition: opacity 0.3s ease;
  z-index: 2;
  object-fit: cover;
}
.cb-work-index__content {
  grid-area: stack;
  align-self: flex-end;
  color: #fff;
  background: linear-gradient(rgba(13, 13, 12, 0), rgba(13, 13, 12, 0.5) 10%, rgba(13, 13, 12, 0.8));
  padding: 2.5rem 2rem 1rem 1rem;
  z-index: 3;
  position: relative;
}
@media (min-width: 768px) {
  .cb-work-index__content {
    padding: 2.5rem 2rem 2rem 1rem;
  }
}
.cb-work-index__title {
  font-size: var(--fs-300);
  font-weight: var(--fw-semi);
}
.cb-work-index__desc {
  font-size: var(--fs-200);
  font-weight: var(--fw-light);
  color: var(--col-neutral-500);
  margin-top: 0.5rem;
}
.cb-work-index .work-video {
  grid-area: stack;
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}
.cb-work-index__filter-bar {
  background-color: var(--col-primary-black);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  background-image: url("../cb-work-index/bg.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
@supports (-webkit-touch-callout: none) {
  .cb-work-index__filter-bar {
    /* iOS-specific styles */
    background-attachment: scroll;
  }
}
.cb-work-index__filter-bar__container {
  background-color: rgba(255, 255, 255, 0.1);
}

.ts-wrapper.full {
  min-width: 200px;
  width: 100%;
  font-size: 1rem !important;
}

.ts-control {
  caret-color: transparent;
  cursor: pointer;
  background: rgba(13, 13, 12, 0.9) !important;
  background-image: none;
  color: var(--col-green-400, #fff) !important;
  border-radius: 0;
  border: 1px solid rgba(184, 255, 82, 0.4);
  min-height: 34px;
  padding: 0.5rem 2.5rem 0.5rem 1rem;
  box-shadow: none;
  font-size: 1rem !important;
}

.ts-dropdown {
  background: rgba(13, 13, 12, 0.9) !important;
  color: var(--col-green-400, #fff);
  border: 1px solid rgba(184, 255, 82, 0.4);
  border-radius: 0;
  margin-top: -1px;
  z-index: 9999 !important;
  font-size: 1rem;
}

.ts-dropdown-content {
  max-height: unset;
  overflow: visible;
}

.ts-dropdown .option {
  padding: 0.5rem 1rem;
  cursor: pointer;
  transition: background-color 150ms ease, color 150ms ease;
}

.ts-dropdown .option.active {
  background: rgba(221, 251, 178, 0.2);
  color: var(--col-green-400, #181818);
}

.ts-dropdown .option.selected {
  background: var(--col-green-400);
  color: var(--col-primary-black, #181818);
}

.ts-dropdown .option.disabled,
.ts-dropdown .option[aria-disabled=true] {
  opacity: 0.5;
  cursor: not-allowed;
}

.ts-control input {
  color: var(--col-green-400, #fff);
}

.ts-control .item {
  background: none;
  color: var(--col-green-400, #fff);
  border: none;
  padding: 0;
}

.ts-wrapper.single .ts-control {
  padding-right: 2.5rem;
}

.ts-placeholder {
  color: var(--col-neutral-500, #aaa);
}

/*
// Choices.js base styles for custom select dropdowns
.choices {
    margin-bottom: 0;
    font-size: 1rem;
    min-width: 200px;
}
.choices__inner {
    background: var(--col-primary-black, #181818);
    color: var(--col-white, #fff);
    border-radius: 0;
    border: 1px solid var(--col-green-400, #00ff99);
    min-height: 34px;
    padding: 0.5rem 2.5rem 0.5rem 1rem;
    box-shadow: none;
}
.choices__list--dropdown, .choices__list[aria-expanded] {
    background: var(--col-primary-black, #181818);
    color: var(--col-white, #fff);
    border: 1px solid var(--col-green-400, #00ff99);
    border-radius: 0;
    margin-top: -1px;
    z-index: 9999 !important;
}
.choices__item--selectable.is-highlighted {
    background: var(--col-green-400, #00ff99);
    color: var(--col-primary-black, #181818);
}
.choices__item--disabled {
    opacity: 0.1;
    color: red !important;
}
.choices[data-type*=select-one] .choices__inner {
    padding-right: 2.5rem;
}
.choices__placeholder {
    color: var(--col-neutral-500, #aaa);
}
.choices__list--single {
    padding: 0;
}
.choices__list--dropdown .choices__item {
    padding: 0.5rem 1rem;
    cursor: pointer;
}
.choices__list--dropdown .choices__item--selectable.is-highlighted {
    background: var(--col-green-400, #00ff99);
    color: var(--col-primary-black, #181818);
}
.choices__list--dropdown .choices__item--disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
*/