.exercise-outer .list {
  display: grid;
  column-gap: 15px;
  row-gap: 25px;
  grid-template-columns: repeat(2, 1fr); /* Mobile-first approach: 2 items per row by default */
  transition: opacity .3s ease;
  margin: 0;
  padding: 0;
}

@media (min-width: 500px) {
  .exercise-outer .list {
    column-gap: 20px;
    grid-template-columns: repeat(3, 1fr); /* When screen is greater than 500px, 3 items per row */
  }
}

@media (min-width: 700px) {
  .exercise-outer .list {
    column-gap: 30px;
    grid-template-columns: repeat(4, 1fr); /* When screen is greater than 700px, 4 items per row */
  }
}

.exercise-outer.is-loading {
  opacity: .4;
}

.exercise-outer h2 {
  font-size: 24px;
  text-align: right;
  font-weight: 600;
  margin-top: 10px;
}

.exercise-item {
  list-style: none;
}

.exercise-item h2 {
  margin-top: 0.75em !important;
  margin-bottom: 0 !important;
  font-size: 12px !important;
  font-weight: 600;
  display: flex;
  gap: 0.5em;
}

/* .exercise-item-image {
  background-image: url(https://eisenhorn.com/wp-content/uploads/2021/11/discover4_detail-2.jpeg);
  background-size: cover;
} */

.exercise-image-wrap {
  position: relative;
  padding: 50%;
}

.exercise-image-wrap img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* .exercise-item-image img {
  display: block;
  margin: 0 auto;
  padding-top: 15px;
  padding-bottom: 15px;
} */

.main-margin {
  max-width: 1140px;
  margin: 0 auto;
}

.exercise-header {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-left: 15px;
  padding-right: 15px;
  padding-top: 35px;
  padding-bottom: 35px;
  border-bottom: 1px solid #cccccc;
}

.exercise-header h2,
.exercise-header h1,
.exercise-header h3 {
  margin: 0;
}

.exercise-header h1 {
  padding: 15px 0;
}

.exercise-header h2, .exercise-sec-row h2 {
  color: #F72806;
}

.exercise-header h3 {
  font-family: "Montserrat", Sans-serif;
  font-weight: 900;
}

.exercise-info {
  text-align: center;
}

.exercise-inner-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  justify-content: center;
  column-gap: 20px;
  padding: 35px 0;
}

.exercise-inner {
  padding-left: 15px;
  padding-right: 15px;
}

.exercise-sec-row {
  background: #023435;
}

.exercise-sec-row p {
  color: #f4f5f0;
}

.exercise-archive h2 {
  text-align: left;
  font-size: 18px;
  color: #454545;
}

.ex-muscles-filter .ex-wrap {
  display: inline-block;
  cursor: pointer;
  line-height: 1;
  width: 100%;
}

.ex-muscles-filter .ex-label-wrap {
  width: 100%;
  position: relative;
  background-color: #fff;
  border: 1px solid #ddd;
  cursor: default;
  transition: opacity .3s ease;
}

.ex-muscles-filter .ex-label-wrap,
.ex-muscles-filter .ex-dropdown {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  transition: opacity .3s ease;
}

.ex-muscles-filter.is-loading .ex-label-wrap,
.ex-muscles-filter.is-loading .ex-dropdown {
  opacity: .4;
}

.ex-muscles-filter .ex-label-wrap .ex-label {
  padding: 6px 22px 6px 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.ex-muscles-filter .ex-arrow {
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid #333;
  position: absolute;
  top: 0;
  right: 5px;
  bottom: 0;
  margin: auto;
  transition: ease-in 0.15s;
}

.ex-muscles-filter.ex-open .ex-arrow {
  transform: rotate(-180deg);
}

.ex-muscles-filter .ex-dropdown {
  width: 100%;
  /* position: absolute; */
  background-color: #fff;
  border: 1px solid #ddd;
  margin-top: 5px;
  z-index: 1000;
}

.ex-muscles-filter .ex-dropdown .ex-options {
  max-height: 200px;
  overflow: auto;
}

.ex-muscles-filter .ex-search {
  border-bottom: 1px solid #eee;
}

.ex-muscles-filter .ex-search input {
  border: none !important;
  box-shadow: none !important;
  outline: none;
  padding: 6px 0;
  width: 100%;
}

.ex-muscles-filter .ex-option,
.ex-muscles-filter .ex-search,
.ex-muscles-filter .ex-optgroup-label {
  padding: 6px 8px;
  cursor: default;
}

.ex-muscles-filter .ex-option:last-child {
  border-bottom: none;
}

.ex-muscles-filter .ex-search {
  padding: 0 8px;
}

.ex-muscles-filter .ex-no-results {
  padding: 6px 8px;
}

.ex-muscles-filter .ex-option {
  cursor: pointer;
  word-break: break-all;
}

.ex-muscles-filter .ex-option.disabled {
  opacity: 0.4;
  cursor: default;
  pointer-events: none;
}

.ex-muscles-filter .ex-wrap.single .ex-option.selected {
  background-color: #dff3ff;
}

.ex-muscles-filter .ex-option:focus {
  background-color: #f5f5f5;
}

.ex-muscles-filter .ex-wrap.multiple .ex-option {
  position: relative;
  padding-left: 30px;
}

.ex-muscles-filter .ex-wrap.multiple .ex-checkbox {
  position: absolute;
  display: block;
  width: 30px;
  top: 0;
  left: 0;
  bottom: 0;
}

.ex-muscles-filter .ex-wrap.multiple .ex-option .ex-checkbox i {
  position: absolute;
  margin: auto;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  width: 14px;
  height: 14px;
  border: 1px solid #aeaeae;
  border-radius: 2px;
  background-color: #fff;
}

.ex-muscles-filter .ex-wrap.multiple .ex-option.selected .ex-checkbox i {
  background-color: rgb(17, 169, 17);
  border-color: transparent;
  background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAGCAYAAAD+Bd/7AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNXG14zYAAABMSURBVAiZfc0xDkAAFIPhd2Kr1WRjcAExuIgzGUTIZ/AkImjSofnbNBAfHvzAHjOKNzhiQ42IDFXCDivaaxAJd0xYshT3QqBxqnxeHvhunpu23xnmAAAAAElFTkSuQmCC');
  background-repeat: no-repeat;
  background-position: center;
}

.ex-muscles-filter .ex-optgroup-label {
  font-weight: bold;
  text-align: center;
  background-color: #f8f8f8;
}

.hidden {
  display: none;
}

@media only screen and (max-width: 768px) {
  .exercise-inner-row, .exercise-outer {
    grid-template-columns: 1fr;
    row-gap: 20px;
  }
}

.exercise-not-found {
  margin-top: 30px;
}

.cable_pulley_input,
.blocker_input{
  visibility: hidden;
  width: 0;
  height: 0;
  overflow: hidden;
}

.cable_pulley_input + .cable_pulley_label::before,
.blocker_input + .blocker_label::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 1px solid #aeaeae;
  border-radius: 2px;
}
.cable_pulley_input:checked + .cable_pulley_label::before,
.blocker_input:checked + .blocker_label::before {
  background-color: #d63638;
  border-color: transparent;
  background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAGCAYAAAD+Bd/7AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNXG14zYAAABMSURBVAiZfc0xDkAAFIPhd2Kr1WRjcAExuIgzGUTIZ/AkImjSofnbNBAfHvzAHjOKNzhiQ42IDFXCDivaaxAJd0xYshT3QqBxqnxeHvhunpu23xnmAAAAAElFTkSuQmCC);
  background-repeat: no-repeat;
  background-position: center;
}

.exercise-number {
  font-weight: 700;
}

.exercise-title {
  text-transform: none;
}