@font-face {
  font-family: 'WgmCategoryOlive';
  src: url('./assets/category-font.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
.wp-block-wgm-category-tiles.wgm-category {
  --wgm-category-gutter: 20px;
  --wgm-category-section-top: var(--wgm-category-padding-top-mobile, 40px);
  --wgm-category-section-bottom: var(--wgm-category-padding-bottom-mobile, 20px);
  --wgm-category-section-heading-gap: var(--wgm-category-heading-gap-mobile, 32px);
  --wgm-category-tile-gap: var(--wgm-category-card-gap-mobile, var(--wgm-category-gutter));
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  margin: 0;
  color: var(--wgm-category-item-color, #fff);
  background: var(--wgm-category-background, #000);
  font-family: 'WgmCategoryOlive', Arial, sans-serif;
  overflow: hidden;
}
.wp-block-wgm-category-tiles.wgm-category *,
.wp-block-wgm-category-tiles.wgm-category *::before,
.wp-block-wgm-category-tiles.wgm-category *::after { box-sizing: border-box; }
.wp-block-wgm-category-tiles.wgm-category .wgm-category__stage {
  width: 100%;
  padding: var(--wgm-category-section-top) var(--wgm-category-gutter) var(--wgm-category-section-bottom);
}
.wp-block-wgm-category-tiles.wgm-category .wgm-category__heading {
  display: block;
  margin: 0;
  padding: 0;
  color: var(--wgm-category-heading-color, #fff);
  font-family: 'WgmCategoryOlive', Arial, sans-serif;
  font-size: var(--wgm-category-heading-size-mobile, max(.75rem, calc(clamp(2rem, 1.6359rem + 1.5534vw, 3.5rem) * .9)));
  font-weight: 400;
  font-style: normal;
  line-height: .9;
  letter-spacing: -.01em;
  text-align: left;
  text-transform: none;
}
.wp-block-wgm-category-tiles.wgm-category .wgm-category__rail {
  display: grid;
  grid: auto / auto-flow 78vw;
  gap: var(--wgm-category-tile-gap);
  margin: var(--wgm-category-section-heading-gap) calc(-1 * var(--wgm-category-gutter)) 0;
  padding: 0 var(--wgm-category-gutter);
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--wgm-category-gutter);
  scrollbar-width: none;
}
.wp-block-wgm-category-tiles.wgm-category .wgm-category__rail::-webkit-scrollbar { display: none; }
.wp-block-wgm-category-tiles.wgm-category .wgm-category__card { min-width: 0; scroll-snap-align: center; }
.wp-block-wgm-category-tiles.wgm-category .wgm-category__card-inner {
  display: grid;
  gap: 16px;
  width: 100%;
  margin: 0;
  padding: 0;
  color: var(--wgm-category-item-color, #fff);
  text-decoration: none;
}
.wp-block-wgm-category-tiles.wgm-category .wgm-category__card-inner:focus-visible { outline: 2px solid #fff; outline-offset: -2px; }
.wp-block-wgm-category-tiles.wgm-category .wgm-category__frame {
  height: clamp(15rem, 35vmax, 25rem);
  min-width: 0;
  overflow: hidden;
  background: var(--wgm-category-background, #000);
}
.wp-block-wgm-category-tiles.wgm-category .wgm-category__image {
  display: block;
  width: 100%;
  max-width: none;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  object-fit: cover;
  object-position: 50% 50%;
  transform-origin: center center;
}
.wp-block-wgm-category-tiles.wgm-category .wgm-category__label {
  display: block;
  margin: 0;
  padding: 0;
  color: var(--wgm-category-item-color, #fff);
  font-family: 'WgmCategoryOlive', Arial, sans-serif;
  font-size: var(--wgm-category-item-size-mobile, max(.75rem, calc(clamp(1.375rem, 1.2233rem + .6472vw, 2rem) * .9)));
  font-weight: 400;
  font-style: normal;
  line-height: 1;
  letter-spacing: -.01em;
  text-align: center;
  text-transform: none;
  overflow-wrap: anywhere;
}
@media (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .wp-block-wgm-category-tiles.wgm-category .wgm-category__image { transition: transform 1.2s cubic-bezier(.16, 1, .3, 1); }
  .wp-block-wgm-category-tiles.wgm-category .wgm-category__card-inner:hover .wgm-category__image { transform: scale(1.1); }
}
@media screen and (min-width: 700px) {
  .wp-block-wgm-category-tiles.wgm-category {
    --wgm-category-gutter: 32px;
    --wgm-category-section-top: 40px;
    --wgm-category-section-bottom: 32px;
    --wgm-category-section-heading-gap: 32px;
    --wgm-category-tile-gap: var(--wgm-category-card-gap-desktop, var(--wgm-category-gutter));
  }
  .wp-block-wgm-category-tiles.wgm-category .wgm-category__rail { grid-auto-columns: 37vw; }
  .wp-block-wgm-category-tiles.wgm-category .wgm-category__card-inner { gap: 20px; }
  .wp-block-wgm-category-tiles.wgm-category .wgm-category__heading { font-size: var(--wgm-category-heading-size-desktop, max(.75rem, calc(clamp(2rem, 1.6359rem + 1.5534vw, 3.5rem) * .9))); }
  .wp-block-wgm-category-tiles.wgm-category .wgm-category__label { font-size: var(--wgm-category-item-size-desktop, max(.75rem, calc(clamp(1.375rem, 1.2233rem + .6472vw, 2rem) * .9))); }
}
@media screen and (min-width: 1000px) {
  .wp-block-wgm-category-tiles.wgm-category {
    --wgm-category-section-top: var(--wgm-category-padding-top-desktop, 56px);
    --wgm-category-section-bottom: var(--wgm-category-padding-bottom-desktop, 32px);
    --wgm-category-section-heading-gap: var(--wgm-category-heading-gap-desktop, 48px);
  }
  .wp-block-wgm-category-tiles.wgm-category .wgm-category__rail { grid: auto-flow / repeat(3, minmax(0, 1fr)); }
}
@media screen and (min-width: 1399px) {
  .wp-block-wgm-category-tiles.wgm-category {
    --wgm-category-gutter: 48px;
    --wgm-category-section-top: var(--wgm-category-padding-top-desktop, 72px);
    --wgm-category-section-bottom: var(--wgm-category-padding-bottom-desktop, 48px);
  }
}
.editor-styles-wrapper .wp-block-wgm-category-tiles.wgm-category .wgm-category__placeholder {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  border: 1px dashed #aaa;
  color: #fff;
  font: 13px Arial, sans-serif;
}
