/*
 Theme Name:   Mantis and Crow
 Theme URI:    https://bricksbuilder.io/
 Description:  Mantis and Crow digital agency website
 Author:       Mantis and Crow
 Author URI:   https:mantisandcrow.com/
 Template:     bricks
 Version:      1.1
 
*/

html {
    overflow: -moz-scrollbars-vertical; 
    overflow-y: scroll;
}



/* Change the scroll bar width // Scroll bar width */
::-webkit-scrollbar {
width: 10px; 
}

/* Change the background of the scroll bar track // Background color */
::-webkit-scrollbar-track {
background-color: var(--bg-body-light); 
}

/* Change the background of the scroll bar thumb (the draggable part) /// Thumb color / Corner radius */
::-webkit-scrollbar-thumb {
background-color: var(--tertiary); 
border-radius: var(--radius-m); 
}

/* Change the color and shape of the scroll bar thumb on hover // Hover color */
::-webkit-scrollbar-thumb:hover {
background-color: var(--hs-tertiary); 
}

/* Change the shape of the scroll bar thumb when it’s in focus // Focus color */
::-webkit-scrollbar-thumb:focus {
background-color: var(--hs-tertiary); 
}

.text-lime{
  color: var(--primary)
}

/* =========================================================
   Bricks Query Filters — layout + chip styling (v7)
   Layout: search + sort stacked left; subject + format chips stacked right
   ========================================================= */

.brxe-block.mh-filter-bar {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: flex-start !important;
  gap: 14px 14px !important;
  margin-top: 28px !important;
}

.brxe-block.mh-filter-bar > .brxe-filter-search,
.brxe-block.mh-filter-bar > .brxe-filter-select {
  width: 220px !important;
  flex: 0 0 220px !important;
}

.brxe-block.mh-filter-bar > .brxe-filter-radio {
  width: calc(100% - 234px) !important;
  flex: 1 1 calc(100% - 234px) !important;
}

.brxe-block.mh-filter-bar > .brxe-filter-active-filters {
  display: none !important;
}

.mh-filter-bar .brxe-filter-search input[type="text"],
.mh-filter-bar .brxe-filter-search input[type="search"] {
  width: 100%;
  background: #262525;
  border: 1px solid rgba(237, 255, 133, 0.25);
  border-radius: 999px;
  color: #fff;
  padding: 8px 18px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  line-height: 1.4;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.mh-filter-bar .brxe-filter-search input::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.mh-filter-bar .brxe-filter-search input:focus-visible {
  border-color: rgba(237, 255, 133, 0.8);
  box-shadow: 0 0 0 2px rgba(237, 255, 133, 0.5);
}

.mh-filter-bar .brxe-filter-select {
  width: 100%;
  background: #262525 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center;
  border: 1px solid rgba(237, 255, 133, 0.25);
  border-radius: 999px;
  color: #fff;
  padding: 8px 34px 8px 18px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  line-height: 1.4;
  appearance: none;
  cursor: pointer;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.mh-filter-bar .brxe-filter-select option {
  background: #262525;
  color: #fff;
}

.mh-filter-bar .brxe-filter-select:focus-visible {
  border-color: rgba(237, 255, 133, 0.8);
  box-shadow: 0 0 0 2px rgba(237, 255, 133, 0.5);
}

.mh-filter-bar .brxe-filter-radio .brx-filter-legend {
  display: none;
}

.mh-filter-bar .brxe-filter-radio .brx-filter-options {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.mh-filter-bar .brxe-filter-radio .brx-filter-options > li {
  margin: 0;
  padding: 0;
}

.mh-filter-bar .brxe-filter-radio label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 7px 16px;
  border: 1px solid rgba(237, 255, 133, 0.25);
  border-radius: 999px;
  background: transparent;
  color: #fff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.mh-filter-bar .brxe-filter-radio .brx-option-count {
  color: inherit;
  font-weight: inherit;
}

.mh-filter-bar .brxe-filter-radio .brx-input-indicator {
  display: none !important;
}

.mh-filter-bar .brxe-filter-radio label:hover {
  background: rgba(237, 255, 133, 0.1);
  border-color: rgba(237, 255, 133, 0.45);
}

.mh-filter-bar .brxe-filter-radio input:focus-visible ~ .brx-option-text {
  outline: 2px solid rgba(237, 255, 133, 0.8);
  outline-offset: 2px;
  border-radius: 999px;
}

.mh-filter-bar .brxe-filter-radio input:checked ~ .brx-option-text {
  color: #161616;
}

.mh-filter-bar .brxe-filter-radio label:has(input:checked) {
  background: #edff85;
  border-color: #edff85;
  color: #161616;
}

@media (max-width: 767px) {
  .brxe-block.mh-filter-bar > .brxe-filter-search,
  .brxe-block.mh-filter-bar > .brxe-filter-select,
  .brxe-block.mh-filter-bar > .brxe-filter-radio {
    width: 100% !important;
    flex: 0 0 100% !important;
  }
}

/* ---------------------------------------------------------
   AJAX filter transitions — loading overlay + fade
   --------------------------------------------------------- */

/* Container for the results grid — position relative for overlay */
.brxe-block.mh-cards-grid-4 {
  position: relative;
}

/* Loading overlay */
.mh-filter-overlay {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(22, 22, 22, 0.55);
  border-radius: 12px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.mh-filter-overlay.is-active {
  opacity: 1;
  pointer-events: auto;
}

/* Spinner */
.mh-filter-overlay__spinner {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(237, 255, 133, 0.25);
  border-top-color: #edff85;
  border-radius: 50%;
  animation: mh-spin 0.6s linear infinite;
}

/* Fade the grid while loading */
[data-brx-loop-start="wkgrd2"] {
  transition: opacity 0.25s ease;
}

[aria-busy="true"] > [data-brx-loop-start="wkgrd2"] {
  opacity: 0.35;
  pointer-events: none;
}

@keyframes mh-spin {
  to { transform: rotate(360deg); }
}

/* =========================================================
   Bottom nav — all px, no fluid rem variables
   Added 2026-09-04
   ========================================================= */

/* Container — lock padding (was var(--space-xs)) */
#brxe-zptsdm .mc-bottom-navbar__container {
  padding-right: 10px !important;
  padding-left: 10px !important;
}

/* Gap — lock (was var(--space-5xs)) */
#brxe-ucmwjl .brx-nav-nested-items {
  gap: 6px !important;
}

/* Nav link — lock font-size and padding */
#brxe-ucmwjl .brx-nav-nested-items > li > a {
  font-size: 9px !important;
  padding-top: 8px !important;
  padding-bottom: 8px !important;
}

/* Icon — lock (was var(--text-s)) */
#brxe-ucmwjl .brx-nav-nested-items > li > a .mc-bottom-navbar__nav-icon {
  font-size: 13px !important;
}

/* Text — lock */
#brxe-ucmwjl .brx-nav-nested-items .mc-bottom-navbar__nav-info {
  font-size: 9px !important;
  transition: none !important;
}

/* Hover border fix (Bricks inline sets 1px) */
#brxe-ucmwjl .brx-nav-nested-items > li:hover > [aria-current="page"] {
  border-top-width: 2px !important;
}: 2px !important;
}