/**
 * SecDev Blog Posts
 *
 * Intentionally scoped to .sdbp so the widget cannot restyle the theme,
 * Elementor, ElementsKit, Bootstrap, or another component on the page.
 */
.sdbp {
  --sdbp-cols: 1;
  --sdbp-colgap: 28px;
  --sdbp-rowgap: 28px;
  --sdbp-flow: row;
  --sdbp-image-order: 1;
  --sdbp-content-order: 2;
  --sdbp-align: stretch;
  --sdbp-cardgap: 30px;
  --sdbp-card-pad-top: 28px;
  --sdbp-card-pad-right: 28px;
  --sdbp-card-pad-bottom: 28px;
  --sdbp-card-pad-left: 28px;
  --sdbp-image-edge-top: var(--sdbp-card-pad-top);
  --sdbp-image-edge-right: var(--sdbp-card-pad-right);
  --sdbp-image-edge-bottom: var(--sdbp-card-pad-bottom);
  --sdbp-image-edge-left: var(--sdbp-card-pad-left);
  --sdbp-speed: .4s;
  --sdbp-image-col: 44%;
  --sdbp-image-width: var(--sdbp-image-col);
  --sdbp-image-basis: var(--sdbp-image-width);
  --sdbp-image-inner-width: 100%;
  --sdbp-image-inner-max-width: 100%;
  --sdbp-image-justify: center;
  --sdbp-image-height: 320px;
  --sdbp-image-fit: contain;
  --sdbp-object-x: 50%;
  --sdbp-object-y: 50%;
  --sdbp-image-x: 0px;
  --sdbp-image-y: 0px;
  --sdbp-image-x-h: 0px;
  --sdbp-image-y-h: 0px;
  --sdbp-image-scale-h: 1.05;
  --sdbp-image-rotate-h: 2deg;
  --sdbp-image-opacity: 1;
  --sdbp-image-opacity-h: .8;
  --sdbp-content-x: 0px;
  --sdbp-content-y: 0px;
  --sdbp-highlight-height: 100%;
  --sdbp-highlight-width: 4px;
  --sdbp-highlight-y: 50;
  --sdbp-highlight-gap: 16px;
  --sdbp-highlight-start: calc(-1 * (var(--sdbp-highlight-width) + var(--sdbp-highlight-gap)));
  --sdbp-highlight-end: auto;
  --sdbp-highlight-radius: 0px;
  --sdbp-highlight-color: #d9a32b;
	--sdbp-content-gap: 14px;
	--sdbp-title-x: 0px;
	--sdbp-title-y: 0px;
	--sdbp-meta-x: 0px;
	--sdbp-meta-y: 0px;
	--sdbp-excerpt-x: 0px;
	--sdbp-excerpt-y: 0px;
	--sdbp-button-x: 0px;
	--sdbp-button-y: 0px;
  --sdbp-meta-gap: 16px;
  --sdbp-meta-rowgap: 8px;
  --sdbp-meta-icon-gap: 6px;
	--sdbp-meta-align: flex-start;
  --sdbp-fdate-x: 16px;
  --sdbp-fdate-y: 16px;
  --sdbp-fcat-x: 16px;
  --sdbp-fcat-y: 16px;
  --sdbp-focus-ring: #d9a32b;
  --sdbp-focus-ring-width: 2px;
  --sdbp-empty-color: #9cacc6;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  color: #000000;
  direction: ltr;
}

/* The widget prints dir on this element, so the declaration above has to give
   way to it rather than pinning the whole block to left-to-right. */
.sdbp[dir="rtl"] {
  direction: rtl;
}

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

.sdbp a {
  color: inherit;
}

.sdbp .sdbp-grid {
  display: grid;
  grid-template-columns: repeat(var(--sdbp-cols), minmax(0, 1fr));
  column-gap: var(--sdbp-colgap);
  row-gap: var(--sdbp-rowgap);
  width: 100%;
  min-width: 0;
}

.sdbp.sdbp-layout-horizontal {
  --sdbp-cols: 1;
}

.sdbp.sdbp-layout-grid_image {
  --sdbp-image-width: 100%;
}

.sdbp.is-masonry .sdbp-grid {
  display: block;
  column-count: var(--sdbp-cols);
  column-gap: var(--sdbp-colgap);
}

.sdbp.is-masonry .sdbp-card {
  display: inline-flex;
  width: 100%;
  margin-bottom: var(--sdbp-rowgap);
  break-inside: avoid;
  page-break-inside: avoid;
}

.sdbp .sdbp-card {
  position: relative;
  display: flex;
  flex-direction: var(--sdbp-flow);
  align-items: var(--sdbp-align);
  gap: var(--sdbp-cardgap);
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
	background: #f4f3e6;
	border: 1px solid #c9ccad;
  border-radius: 12px;
  padding: var(--sdbp-card-pad-top) var(--sdbp-card-pad-right) var(--sdbp-card-pad-bottom) var(--sdbp-card-pad-left);
	transition:
    background-color var(--sdbp-speed) ease,
    border-color var(--sdbp-speed) ease,
    box-shadow var(--sdbp-speed) ease,
    transform var(--sdbp-speed) ease;
	/* Keep left/right image choices physical. Text direction is restored on
	   .sdbp-content, so RTL content remains correct. */
	direction: ltr;
}

@media (any-hover: hover) and (any-pointer: fine){body.sdl-can-hover .sdbp .sdbp-card:hover {
	background: #eeecd8;
	border-color: #b9bd96;
}}

@media (any-pointer: coarse){.sdbp .sdbp-card.is-touch-active {
	background: #eeecd8;
	border-color: #b9bd96;
}}

.sdbp .sdbp-card-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  border-radius: inherit;
  text-decoration: none;
}

.sdbp .sdbp-card-overlay:focus-visible {
  outline: var(--sdbp-focus-ring-width) solid var(--sdbp-focus-ring);
  outline-offset: -3px;
}

.sdbp .sdbp-image-wrap {
  position: relative;
  z-index: 2;
  order: var(--sdbp-image-order);
  flex: 0 0 var(--sdbp-image-basis);
  width: var(--sdbp-image-width);
  max-width: 100%;
  height: var(--sdbp-image-height);
  min-width: 0;
  overflow: hidden;
  margin:
    calc(var(--sdbp-image-edge-top) - var(--sdbp-card-pad-top))
    calc(var(--sdbp-image-edge-right) - var(--sdbp-card-pad-right))
    calc(var(--sdbp-image-edge-bottom) - var(--sdbp-card-pad-bottom))
    calc(var(--sdbp-image-edge-left) - var(--sdbp-card-pad-left)) !important;
  transform: translate(var(--sdbp-image-x), var(--sdbp-image-y));
  transition: transform var(--sdbp-speed) ease;
  pointer-events: none;
}

.sdbp .sdbp-image-link {
  display: flex;
  justify-content: var(--sdbp-image-justify);
  align-items: center;
  width: 100%;
  height: 100%;
  overflow: hidden;
  text-decoration: none;
  pointer-events: auto;
}

.sdbp .sdbp-image {
  display: block;
  width: var(--sdbp-image-inner-width);
  height: 100%;
  max-width: var(--sdbp-image-inner-max-width);
  object-fit: var(--sdbp-image-fit);
  object-position: var(--sdbp-object-x) var(--sdbp-object-y);
  opacity: var(--sdbp-image-opacity);
  transform: scale(1) rotate(0deg);
  transform-origin: center;
  transition: transform var(--sdbp-speed) ease, opacity var(--sdbp-speed) ease;
}

@media (any-hover: hover) and (any-pointer: fine){body.sdl-can-hover .sdbp.has-image-hover .sdbp-card:hover .sdbp-image-wrap {
  transform: translate(
    calc(var(--sdbp-image-x) + var(--sdbp-image-x-h)),
    calc(var(--sdbp-image-y) + var(--sdbp-image-y-h))
  );
}}

@media (any-hover: hover) and (any-pointer: fine){body.sdl-can-hover .sdbp.has-image-hover .sdbp-card:hover .sdbp-image {
  opacity: var(--sdbp-image-opacity-h);
  transform: scale(var(--sdbp-image-scale-h)) rotate(var(--sdbp-image-rotate-h));
}}

@media (any-pointer: coarse){
  .sdbp.has-image-hover .sdbp-card.is-touch-active .sdbp-image-wrap {
    transform: translate(
      calc(var(--sdbp-image-x) + var(--sdbp-image-x-h)),
      calc(var(--sdbp-image-y) + var(--sdbp-image-y-h))
    );
  }
  .sdbp.has-image-hover .sdbp-card.is-touch-active .sdbp-image {
    opacity: var(--sdbp-image-opacity-h);
    transform: scale(var(--sdbp-image-scale-h)) rotate(var(--sdbp-image-rotate-h));
  }
}

.sdbp .sdbp-content {
  position: relative;
  z-index: 2;
  order: var(--sdbp-content-order);
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
	gap: var(--sdbp-content-gap);
  width: 100%;
  max-width: 100%;
  min-width: 0;
  transform: translate(var(--sdbp-content-x), var(--sdbp-content-y));
  text-align: start;
  pointer-events: none;
}

.sdbp .sdbp-no-image .sdbp-content {
  flex: 1 1 100%;
  width: 100% !important;
}

/* Highlight Border: a bar beside the text area, drawn on it so that Start and
   End follow that post's own text direction (the right of an Arabic post, the
   left of an English one). Its inline offset counts outwards from the text
   area's edge: at a gap of 0 it touches the edge from outside, below 0 it moves
   in. Its vertical position is a share of the room the text area leaves it, so
   0 puts it at the top, 50 in the middle, 100 at the bottom, and it never leaves
   the text area. */
.sdbp.has-highlight .sdbp-content::before {
  content: "";
  position: absolute;
  top: calc((100% - var(--sdbp-highlight-height)) * var(--sdbp-highlight-y) / 100);
  inset-inline-start: var(--sdbp-highlight-start);
  inset-inline-end: var(--sdbp-highlight-end);
  width: var(--sdbp-highlight-width);
  height: var(--sdbp-highlight-height);
  border-radius: var(--sdbp-highlight-radius);
  background-color: var(--sdbp-highlight-color);
  pointer-events: none;
  transition: background-color var(--sdbp-speed) ease;
}

@media (any-hover: hover) and (any-pointer: fine){body.sdl-can-hover .sdbp.has-highlight .sdbp-card:hover .sdbp-content::before {
  background-color: var(--sdbp-highlight-color-hover, var(--sdbp-highlight-color));
}}

@media (any-pointer: coarse){.sdbp.has-highlight .sdbp-card.is-touch-active .sdbp-content::before {
  background-color: var(--sdbp-highlight-color-hover, var(--sdbp-highlight-color));
}}

.sdbp .sdbp-title-wrap,
.sdbp .sdbp-excerpt-wrap,
.sdbp .sdbp-button-wrap,
.sdbp .sdbp-title-tag {
  margin: 0;
  min-width: 0;
}

.sdbp .sdbp-title-wrap {
	transform: translate(var(--sdbp-title-x), var(--sdbp-title-y));
}

.sdbp .sdbp-excerpt-wrap {
	transform: translate(var(--sdbp-excerpt-x), var(--sdbp-excerpt-y));
}

.sdbp .sdbp-button-wrap {
	transform: translate(var(--sdbp-button-x), var(--sdbp-button-y));
}

.sdbp .sdbp-title {
  display: inline;
	max-width: 100% !important;
	color: #000;
	text-decoration: none;
	overflow-wrap: anywhere;
	direction: inherit;
	unicode-bidi: isolate;
  pointer-events: auto;
  transition: color var(--sdbp-speed) ease;
}

.sdbp .sdbp-title-wrap,
.sdbp .sdbp-excerpt-wrap {
  width: 100%;
}

@media (any-hover: hover) and (any-pointer: fine){body.sdl-can-hover .sdbp .sdbp-title:hover {
  color: #000000;
}}

@media (any-pointer: coarse){.sdbp .sdbp-card.is-touch-active .sdbp-title {
  color: #000000;
}}

.sdbp .sdbp-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
	justify-content: flex-start;
  column-gap: var(--sdbp-meta-gap);
  row-gap: var(--sdbp-meta-rowgap);
  min-width: 0;
  color: #000000;
	width: 100%;
	transform: translate(var(--sdbp-meta-x), var(--sdbp-meta-y));
}

.sdbp .sdbp-meta-item {
  display: inline-flex;
  align-items: center;
  gap: var(--sdbp-meta-icon-gap);
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.sdbp a.sdbp-meta-item,
.sdbp .sdbp-category-links a {
  pointer-events: auto;
}

.sdbp .sdbp-meta-icon {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.sdbp .sdbp-meta-icon svg,
.sdbp .sdbp-meta-icon i {
  display: block;
  width: 1em;
  height: 1em;
  fill: currentColor;
}

.sdbp .sdbp-author-avatar {
  display: block;
  width: 2em;
  height: 2em;
  border-radius: 50%;
  object-fit: cover;
}

.sdbp .sdbp-excerpt {
	display: block;
	width: 100%;
	max-width: 100% !important;
  color: #000000;
  text-decoration: none;
	overflow-wrap: anywhere;
	direction: inherit;
	unicode-bidi: isolate;
	pointer-events: auto;
}

.sdbp .sdbp-meta-item,
.sdbp .sdbp-category-links,
.sdbp .sdbp-button {
	unicode-bidi: isolate;
}

.sdbp .sdbp-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  color: #12161f;
  background: #d9a32b;
  text-decoration: none;
  pointer-events: auto;
  transition:
    color var(--sdbp-speed) ease,
    background-color var(--sdbp-speed) ease,
    border-color var(--sdbp-speed) ease,
    transform var(--sdbp-speed) ease;
}

.sdbp .sdbp-button-wrap {
  display: flex;
  width: 100%;
}

.sdbp .sdbp-button-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.sdbp .sdbp-button-icon svg,
.sdbp .sdbp-button-icon i {
  display: block;
  width: 1em;
  height: 1em;
  fill: currentColor;
}

.sdbp .sdbp-floating-date,
.sdbp .sdbp-floating-category {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #12161f;
  background: #d9a32b;
}

.sdbp .sdbp-floating-date {
  top: var(--sdbp-fdate-y);
  inset-inline-start: var(--sdbp-fdate-x);
  flex-direction: column;
  line-height: 1.1;
}

.sdbp .sdbp-floating-category {
  inset-inline-end: var(--sdbp-fcat-x);
  bottom: var(--sdbp-fcat-y);
  text-decoration: none;
  pointer-events: auto;
}

.sdbp .sdbp-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
  direction: ltr;
}

/* Previous sits on the right and the numbers count from the right, which is
   what a reader of Arabic expects from a pager. */
.sdbp[dir="rtl"] .sdbp-pagination {
  direction: rtl;
}

/* In RTL, previous means moving right and next means moving left. The pager
   order already follows RTL; mirror the chosen arrow glyphs to match it. */
.sdbp[dir="rtl"] .sdbp-page-arrow svg,
.sdbp[dir="rtl"] .sdbp-page-arrow i {
  transform: scaleX(-1);
}

.sdbp .sdbp-page {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  min-height: 40px;
  padding: 8px 12px;
  color: #9cacc6;
  background: rgba(255, 255, 255, .04);
  border-radius: 6px;
  text-decoration: none;
  transition:
    color var(--sdbp-speed) ease,
    background-color var(--sdbp-speed) ease,
    border-color var(--sdbp-speed) ease,
    box-shadow var(--sdbp-speed) ease;
}

.sdbp button.sdbp-page {
  font: inherit;
  cursor: pointer;
}

.sdbp button.sdbp-page:disabled {
  cursor: wait;
  opacity: .65;
}

@media (any-hover: hover) and (any-pointer: fine){body.sdl-can-hover .sdbp .sdbp-page:not(.is-current):hover {
  color: #12161f;
  background: #eef2f9;
}}

.sdbp .sdbp-page.is-current {
  color: #12161f;
  background: #d9a32b;
}

.sdbp .sdbp-page-arrow svg,
.sdbp .sdbp-page-arrow i {
  display: block;
  width: 1em;
  height: 1em;
  fill: currentColor;
}

.sdbp .sdbp-page-dots {
  background: transparent;
  border-color: transparent;
}

.sdbp .sdbp-empty {
  margin: 0;
  color: var(--sdbp-empty-color);
}

@media (prefers-reduced-motion: reduce) {
  .sdbp .sdbp-card,
  .sdbp .sdbp-image-wrap,
  .sdbp .sdbp-image,
  .sdbp .sdbp-title,
  .sdbp .sdbp-button,
  .sdbp .sdbp-page {
    transition: none !important;
  }

	.sdbp .sdbp-card,
	.sdbp.has-image-hover .sdbp-image {
		transform: none;
	}
}


/* HYBRID IPAD FALLBACK — BLOG POSTS
 * iPadOS Safari can keep any-hover/any-pointer in touch mode after a mouse or
 * trackpad becomes active. JavaScript gates these rules with body.sdl-can-hover
 * from the actual input source, so duplicate the guarded hover rules outside
 * the media query. Touch input removes the class and cannot trigger them. */
body.sdl-can-hover .sdbp .sdbp-card:hover {
	background: #eeecd8;
	border-color: #b9bd96;
}
body.sdl-can-hover .sdbp.has-image-hover .sdbp-card:hover .sdbp-image-wrap {
  transform: translate(
    calc(var(--sdbp-image-x) + var(--sdbp-image-x-h)),
    calc(var(--sdbp-image-y) + var(--sdbp-image-y-h))
  );
}
body.sdl-can-hover .sdbp.has-image-hover .sdbp-card:hover .sdbp-image {
  opacity: var(--sdbp-image-opacity-h);
  transform: scale(var(--sdbp-image-scale-h)) rotate(var(--sdbp-image-rotate-h));
}
body.sdl-can-hover .sdbp .sdbp-title:hover {
  color: #000000;
}
body.sdl-can-hover .sdbp .sdbp-page:not(.is-current):hover {
  color: #12161f;
  background: #eef2f9;
}

/* Category filter ---------------------------------------------------------
 * Disabled by default in PHP, so these rules are inert on existing widgets.
 * All geometry remains local to the widget and Elementor can override every
 * important visual value per breakpoint through the generated selectors.
 */
.sdbp .sdbp-filter {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0 0 24px;
}

.sdbp .sdbp-filter-toggle {
  appearance: none;
  -webkit-appearance: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 16px 18px;
  color: inherit;
  background: transparent;
  border: 0;
  border-radius: 0;
  font: inherit;
  line-height: 1.3;
  text-align: start;
  cursor: pointer;
  transition: color .2s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.sdbp .sdbp-filter-toggle:focus-visible,
.sdbp .sdbp-filter-option:focus-visible,
.sdbp .sdbp-filter-select:focus-visible {
  outline: var(--sdbp-focus-ring-width) solid var(--sdbp-focus-ring);
  outline-offset: 2px;
}

.sdbp .sdbp-filter-toggle-text {
  min-width: 0;
}

.sdbp .sdbp-filter-toggle-icon {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.sdbp .sdbp-filter-toggle-icon svg {
  display: block;
  width: 1em;
  height: 1em;
  fill: currentColor;
}

/* Expand/collapse indicator. Start/end use logical flow, so RTL and LTR do not
 * need separate arrow hacks. The closed state always points down; open points up. */
.sdbp .sdbp-filter-indicator {
  --sdbp-filter-indicator-size: .8em;
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-width: var(--sdbp-filter-indicator-size);
  min-height: var(--sdbp-filter-indicator-size);
  line-height: 1;
  color: inherit;
}

.sdbp .sdbp-filter-indicator-position-start {
  order: -1;
}

.sdbp .sdbp-filter-indicator-position-end {
  margin-inline-start: auto;
}

.sdbp .sdbp-filter-indicator-chevron::before {
  content: "";
  display: block;
  width: .62em;
  height: .62em;
  border-right: .14em solid currentColor;
  border-bottom: .14em solid currentColor;
  transform: rotate(45deg);
  transition: transform .2s ease;
}

.sdbp .sdbp-filter.is-open .sdbp-filter-indicator-chevron::before {
  transform: rotate(-135deg);
}

.sdbp .sdbp-filter-indicator-caret::before {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-inline: .38em solid transparent;
  border-top: .52em solid currentColor;
  transform: translateY(.12em);
}

.sdbp .sdbp-filter.is-open .sdbp-filter-indicator-caret::before {
  border-top: 0;
  border-bottom: .52em solid currentColor;
  transform: translateY(-.12em);
}

.sdbp .sdbp-filter-indicator-plus_minus::before,
.sdbp .sdbp-filter-indicator-plus_minus::after {
  content: "";
  position: absolute;
  width: .8em;
  height: .12em;
  border-radius: 999px;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}

.sdbp .sdbp-filter-indicator-plus_minus::after {
  transform: rotate(90deg);
}

.sdbp .sdbp-filter.is-open .sdbp-filter-indicator-plus_minus::after {
  transform: rotate(90deg) scaleX(0);
  opacity: 0;
}

.sdbp .sdbp-filter-indicator-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform .2s ease, opacity .2s ease;
}

.sdbp .sdbp-filter-indicator-icon svg {
  display: block;
  width: 1em;
  height: 1em;
  fill: currentColor;
}

.sdbp .sdbp-filter-indicator-open {
  display: none;
}

.sdbp .sdbp-filter.is-open .sdbp-filter-indicator-custom_swap .sdbp-filter-indicator-closed {
  display: none;
}

.sdbp .sdbp-filter.is-open .sdbp-filter-indicator-custom_swap .sdbp-filter-indicator-open {
  display: inline-flex;
}

.sdbp .sdbp-filter-panel {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.sdbp .sdbp-filter-panel[hidden] {
  display: none !important;
}

.sdbp .sdbp-filter-layout-toggle:not(.is-open) .sdbp-filter-panel {
  display: none !important;
}

.sdbp .sdbp-filter-layout-toggle .sdbp-filter-panel {
  margin-top: 12px;
}

.sdbp .sdbp-filter-options {
  --sdbp-filter-cols: 3;
  display: grid;
  grid-template-columns: repeat(var(--sdbp-filter-cols), minmax(0, 1fr));
  column-gap: 16px;
  row-gap: 16px;
  width: 100%;
  min-width: 0;
}

/* Smart filter layouts share the same accessible links but change geometry. */
.sdbp .sdbp-filter-layout-chips .sdbp-filter-options,
.sdbp .sdbp-filter-layout-tabs .sdbp-filter-options,
.sdbp .sdbp-filter-layout-segmented .sdbp-filter-options {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.sdbp .sdbp-filter-layout-chips .sdbp-filter-option,
.sdbp .sdbp-filter-layout-tabs .sdbp-filter-option,
.sdbp .sdbp-filter-layout-segmented .sdbp-filter-option,
.sdbp .sdbp-filter-layout-scroll .sdbp-filter-option {
  width: auto;
  flex: 0 0 auto;
}

.sdbp .sdbp-filter-layout-chips .sdbp-filter-option {
  min-height: 38px;
  padding: 8px 16px;
  border-radius: 999px;
}

.sdbp .sdbp-filter-layout-tabs .sdbp-filter-option {
  min-height: 38px;
  padding: 8px 4px;
  border-width: 0 0 2px;
  border-style: solid;
  border-color: transparent;
  background: transparent;
  border-radius: 0;
}

.sdbp .sdbp-filter-layout-tabs .sdbp-filter-option.is-active {
  border-bottom-color: currentColor;
}

.sdbp .sdbp-filter-layout-segmented .sdbp-filter-options {
  flex-wrap: nowrap;
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  gap: 0;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.sdbp .sdbp-filter-layout-segmented .sdbp-filter-option {
  border-radius: 0;
  margin-inline-start: -1px;
}

.sdbp .sdbp-filter-layout-segmented .sdbp-filter-option:first-child {
  margin-inline-start: 0;
  border-start-start-radius: .5em;
  border-end-start-radius: .5em;
}

.sdbp .sdbp-filter-layout-segmented .sdbp-filter-option:last-child {
  border-start-end-radius: .5em;
  border-end-end-radius: .5em;
}

.sdbp .sdbp-filter-layout-scroll .sdbp-filter-options {
  display: flex;
  flex-wrap: nowrap;
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: inline proximity;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.sdbp .sdbp-filter-layout-scroll .sdbp-filter-option {
  scroll-snap-align: start;
}

.sdbp .sdbp-filter-option {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 10px 14px;
  color: inherit;
  background: transparent;
  border: 1px solid currentColor;
  border-radius: 0;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  overflow-wrap: anywhere;
  cursor: pointer;
  transition: color .2s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

body.sdl-can-hover .sdbp .sdbp-filter-option:hover,
body.sdl-can-hover .sdbp .sdbp-filter-toggle:hover {
  text-decoration: none;
}

.sdbp .sdbp-filter-option.is-active {
  font-weight: 600;
}

.sdbp .sdbp-filter-select-label {
  display: block;
  width: 100%;
  min-width: 0;
}

.sdbp .sdbp-filter-select {
  appearance: auto;
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 10px 14px;
  color: inherit;
  background-color: transparent;
  border: 1px solid currentColor;
  border-radius: 0;
  font: inherit;
  line-height: 1.35;
}

.sdbp.is-filter-loading .sdbp-grid,
.sdbp.is-filter-loading .sdbp-pagination,
.sdbp.is-filter-loading .sdbp-empty {
  opacity: .45;
  pointer-events: none;
}

.sdbp .sdbp-filter-status {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@media (prefers-reduced-motion: reduce) {
  .sdbp .sdbp-filter-toggle,
  .sdbp .sdbp-filter-option,
  .sdbp .sdbp-filter-indicator,
  .sdbp .sdbp-filter-indicator::before,
  .sdbp .sdbp-filter-indicator::after,
  .sdbp .sdbp-filter-indicator-icon {
    transition: none;
  }
}

@media (max-width: 767px) {
  .sdbp .sdbp-filter-layout-tabs .sdbp-filter-options {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
  }

  .sdbp .sdbp-filter-layout-tabs .sdbp-filter-option {
    flex: 0 0 auto;
  }
}

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