/*Photos Menu Sidebar*/
.photos-menu-sidebar {
  overflow: hidden;
  display: flex;
  flex-direction: column;

}
/*Photo Menu Title*/
.photos-title-span {
    font-size: 16px;
    font-weight: bold;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    cursor: default;
}

/* Sample Photos Row */
.sample-photos-list {
  display: flex;
  justify-content: center;
  margin: 0px -4px;
  height: 102px;
}

/* ====== Photo Menu (Mosaic) ====== */
.photos-section { 
  flex: 1 1 auto;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 0px 6px;
  margin-bottom: 8px;
}

/* JS toggles these */
.sample-photos { 
  display: block;
}

/*Samples Image*/
.sample-photos-img {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='29' fill='none' viewBox='0 0 28 29'%3E%3Cpath fill='%23fff' d='M6.84 21.83c-.47-.6-1.05-1.82-2.07-3.34-.58-.83-2.01-2.41-2.45-3.23a2.1 2.1 0 0 1-.25-1.67 2.2 2.2 0 0 1 2.39-1.67c.85.18 1.63.6 2.25 1.2.43.41.82.85 1.18 1.32.27.34.33.47.63.85.3.39.5.77.35.2-.11-.83-.31-2.23-.6-3.48-.21-.95-.26-1.1-.46-1.82s-.32-1.32-.54-2.13c-.2-.8-.35-1.62-.46-2.44a4.7 4.7 0 0 1 .43-3.08c.58-.55 1.44-.7 2.17-.37a4.4 4.4 0 0 1 1.57 2.17c.43 1.07.72 2.19.86 3.33.27 1.67.79 4.1.8 4.6 0-.61-.11-1.91 0-2.5.12-.6.54-1.1 1.12-1.33.5-.15 1.02-.19 1.53-.1.52.1.98.4 1.29.83.38.98.6 2 .63 3.05.04-.91.2-1.82.47-2.7.28-.39.68-.67 1.15-.8.55-.1 1.11-.1 1.66 0 .46.15.85.44 1.14.82.35.88.56 1.82.63 2.77 0 .23.12-.65.48-1.24a1.67 1.67 0 1 1 3.17 1.07v3.77c-.06.97-.2 1.94-.4 2.9-.29.85-.7 1.65-1.2 2.38-.8.9-1.48 1.92-1.98 3.02a6.67 6.67 0 0 0 .03 3.2c-.68.07-1.37.07-2.05 0-.65-.1-1.45-1.4-1.67-1.8a.63.63 0 0 0-1.13 0c-.37.64-1.18 1.79-1.75 1.85-1.12.14-3.42 0-5.23 0 0 0 .3-1.66-.39-2.27-.68-.6-1.38-1.3-1.9-1.76l-1.4-1.6Z'/%3E%3Cpath stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='2.25' d='M6.84 21.83c-.47-.6-1.05-1.82-2.07-3.34-.58-.83-2.01-2.41-2.45-3.23a2.1 2.1 0 0 1-.25-1.67 2.2 2.2 0 0 1 2.39-1.67c.85.18 1.63.6 2.25 1.2.43.41.82.85 1.18 1.32.27.34.33.47.63.85.3.39.5.77.35.2-.11-.83-.31-2.23-.6-3.48-.21-.95-.26-1.1-.46-1.82s-.32-1.32-.54-2.13c-.2-.8-.35-1.62-.46-2.44a4.7 4.7 0 0 1 .43-3.08c.58-.55 1.44-.7 2.17-.37a4.4 4.4 0 0 1 1.57 2.17c.43 1.07.72 2.19.86 3.33.27 1.67.79 4.1.8 4.6 0-.61-.11-1.91 0-2.5.12-.6.54-1.1 1.12-1.33.5-.15 1.02-.19 1.53-.1.52.1.98.4 1.29.83.38.98.6 2 .63 3.05.04-.91.2-1.82.47-2.7.28-.39.68-.67 1.15-.8.55-.1 1.11-.1 1.66 0 .46.15.85.44 1.14.82.35.88.56 1.82.63 2.77 0 .23.12-.65.48-1.24a1.67 1.67 0 1 1 3.17 1.07v3.77c-.06.97-.2 1.94-.4 2.9-.29.85-.7 1.65-1.2 2.38-.8.9-1.48 1.92-1.98 3.02a6.67 6.67 0 0 0 .03 3.2c-.68.07-1.37.07-2.05 0-.65-.1-1.45-1.4-1.67-1.8a.63.63 0 0 0-1.13 0c-.37.64-1.18 1.79-1.75 1.85-1.12.14-3.42 0-5.23 0 0 0 .3-1.66-.39-2.27-.68-.6-1.38-1.3-1.9-1.76l-1.4-1.6Z' clip-rule='evenodd'/%3E%3Cpath fill='%23000' d='M20.65 22.3v-6.24c0-.38-.31-.68-.7-.68-.37 0-.68.3-.68.68v6.23c0 .38.3.68.69.68.38 0 .69-.3.69-.68ZM17.2 22.3l-.04-6.25a.67.67 0 1 0-1.34.01l.04 6.24a.67.67 0 1 0 1.34 0ZM12.37 16.07l.04 6.22c0 .38.3.68.67.68.37 0 .67-.3.67-.68l-.04-6.23c0-.38-.3-.68-.67-.68-.37 0-.67.31-.67.69Z'/%3E%3C/svg%3E"),
    auto;
}

.sample-photos-img {
  overflow: hidden;
  position: relative;
}

.sample-photos-img img,
.sample-photos-img .btnPhotoMenu__img {
  transition: transform 0.25s ease;
}

/* Hover scaling */
.sample-photos-img:hover img,
.sample-photos-img:hover .btnPhotoMenu__img {
  transform: scale(1.08);
}

.sample-photos-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  border: 0px solid rgba(255, 255, 255, 0);
  transition: background 0.25s ease, border-color 0.25s ease;
  pointer-events: none;
}

/* Hover effect */
.sample-photos-img:hover::after {
  background: rgba(0, 0, 0, 0.35);
  border: 2px solid #a36df3;
}

.photos-menu-content { 
  display: none; 
}

/* Container for rows */
.photos-menu-content {
  display: flex;
  flex-direction: column;
  position: relative;
  gap: 8px;
  width: 100%;
}

/* Stock Photos Row */
.stock-photos-list {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  height: 102px;
}

/* Stock Photos Tile */
.stock-photos-img {
  position: relative;
  flex: 1;
  height: 100%;
  margin: 4px;
  overflow: hidden;
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='29' fill='none' viewBox='0 0 28 29'%3E%3Cpath fill='%23fff' d='M6.84 21.83c-.47-.6-1.05-1.82-2.07-3.34-.58-.83-2.01-2.41-2.45-3.23a2.1 2.1 0 0 1-.25-1.67 2.2 2.2 0 0 1 2.39-1.67c.85.18 1.63.6 2.25 1.2.43.41.82.85 1.18 1.32.27.34.33.47.63.85.3.39.5.77.35.2-.11-.83-.31-2.23-.6-3.48-.21-.95-.26-1.1-.46-1.82s-.32-1.32-.54-2.13c-.2-.8-.35-1.62-.46-2.44a4.7 4.7 0 0 1 .43-3.08c.58-.55 1.44-.7 2.17-.37a4.4 4.4 0 0 1 1.57 2.17c.43 1.07.72 2.19.86 3.33.27 1.67.79 4.1.8 4.6 0-.61-.11-1.91 0-2.5.12-.6.54-1.1 1.12-1.33.5-.15 1.02-.19 1.53-.1.52.1.98.4 1.29.83.38.98.6 2 .63 3.05.04-.91.2-1.82.47-2.7.28-.39.68-.67 1.15-.8.55-.1 1.11-.1 1.66 0 .46.15.85.44 1.14.82.35.88.56 1.82.63 2.77 0 .23.12-.65.48-1.24a1.67 1.67 0 1 1 3.17 1.07v3.77c-.06.97-.2 1.94-.4 2.9-.29.85-.7 1.65-1.2 2.38-.8.9-1.48 1.92-1.98 3.02a6.67 6.67 0 0 0 .03 3.2c-.68.07-1.37.07-2.05 0-.65-.1-1.45-1.4-1.67-1.8a.63.63 0 0 0-1.13 0c-.37.64-1.18 1.79-1.75 1.85-1.12.14-3.42 0-5.23 0 0 0 .3-1.66-.39-2.27-.68-.6-1.38-1.3-1.9-1.76l-1.4-1.6Z'/%3E%3Cpath stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='2.25' d='M6.84 21.83c-.47-.6-1.05-1.82-2.07-3.34-.58-.83-2.01-2.41-2.45-3.23a2.1 2.1 0 0 1-.25-1.67 2.2 2.2 0 0 1 2.39-1.67c.85.18 1.63.6 2.25 1.2.43.41.82.85 1.18 1.32.27.34.33.47.63.85.3.39.5.77.35.2-.11-.83-.31-2.23-.6-3.48-.21-.95-.26-1.1-.46-1.82s-.32-1.32-.54-2.13c-.2-.8-.35-1.62-.46-2.44a4.7 4.7 0 0 1 .43-3.08c.58-.55 1.44-.7 2.17-.37a4.4 4.4 0 0 1 1.57 2.17c.43 1.07.72 2.19.86 3.33.27 1.67.79 4.1.8 4.6 0-.61-.11-1.91 0-2.5.12-.6.54-1.1 1.12-1.33.5-.15 1.02-.19 1.53-.1.52.1.98.4 1.29.83.38.98.6 2 .63 3.05.04-.91.2-1.82.47-2.7.28-.39.68-.67 1.15-.8.55-.1 1.11-.1 1.66 0 .46.15.85.44 1.14.82.35.88.56 1.82.63 2.77 0 .23.12-.65.48-1.24a1.67 1.67 0 1 1 3.17 1.07v3.77c-.06.97-.2 1.94-.4 2.9-.29.85-.7 1.65-1.2 2.38-.8.9-1.48 1.92-1.98 3.02a6.67 6.67 0 0 0 .03 3.2c-.68.07-1.37.07-2.05 0-.65-.1-1.45-1.4-1.67-1.8a.63.63 0 0 0-1.13 0c-.37.64-1.18 1.79-1.75 1.85-1.12.14-3.42 0-5.23 0 0 0 .3-1.66-.39-2.27-.68-.6-1.38-1.3-1.9-1.76l-1.4-1.6Z' clip-rule='evenodd'/%3E%3Cpath fill='%23000' d='M20.65 22.3v-6.24c0-.38-.31-.68-.7-.68-.37 0-.68.3-.68.68v6.23c0 .38.3.68.69.68.38 0 .69-.3.69-.68ZM17.2 22.3l-.04-6.25a.67.67 0 1 0-1.34.01l.04 6.24a.67.67 0 1 0 1.34 0ZM12.37 16.07l.04 6.22c0 .38.3.68.67.68.37 0 .67-.3.67-.68l-.04-6.23c0-.38-.3-.68-.67-.68-.37 0-.67.31-.67.69Z'/%3E%3C/svg%3E"),
      auto;
}

/* Stock Images fill the tile */
.stock-photos-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.25s ease;
}

/* Hover scaling */
.stock-photos-img:hover img {
  transform: scale(1.08);
}

.stock-photos-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  border: 0px solid rgba(255, 255, 255, 0);
  transition: background 0.25s ease, border-color 0.25s ease;
  pointer-events: none;
}

/* Hover effect */
.stock-photos-img:hover::after {
  background: rgba(0, 0, 0, 0.35);
  border: 2px solid #a36df3;
}

/* The observer target for infinite scroll */
/* .photos-sentinel {
  width: 100%;
  height: 1px;
} */

/*Stock Photos Search Box*/
.searchBox-textArea {
    height: 100%;
    width: 100%;
    min-width: 8px;
    overflow-x: hidden;
    padding: 8px 12px;
    resize: none;
    -webkit-appearance: none;
    appearance: none;
    background: inherit;
    border: 0;
    box-sizing: border-box;
    color: inherit;
    font-variant-ligatures: none;
    outline: none;
    font-size: 14px;
    line-height: 22px;
    font-weight: 400;
    margin: 0;
    overflow-wrap: break-word;
    text-size-adjust: none;
    font-family: Canva Sans, Noto Sans Variable, Noto Sans, -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif;
}

.searchBox-clearBtn {
    display: none;
    justify-content: center;
    align-items: center;
    width: 32px;
    max-height: 40px;
    max-width: 40px;
    min-height: 40px;
    min-width: 40px;
    border-radius: 9999px;
    padding: 0 8px;
    outline: none;
    box-sizing: border-box;
    border: 0px solid transparent;
    background-color: rgba(13, 18, 22, 0);
    color: #0e1318b2;
    outline-offset: 3px;
    vertical-align: middle;
    font-weight: 600;
    font-size: 14px;
    line-height: 22px;
}

.searchBox-micBtn {
    display: none;
    justify-content: center;
    align-items: center;
    width: 32px;
    max-height: 40px;
    max-width: 40px;
    min-height: 40px;
    min-width: 40px;
    border-radius: 9999px;
    padding: 0 8px;
    outline: none;
    box-sizing: border-box;
    border: 1px solid rgba(53, 71, 90, .2);;
    background-color: rgba(13, 18, 22, 0);
    color: #0d1216;
    outline-offset: 3px;
    vertical-align: middle;
    font-weight: 600;
    font-size: 14px;
    line-height: 22px;
    transition: background-color .1s linear, border-color .1s linear, color .1s linear;
}

.searchBox-enterBtn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 32px;
    max-height: 40px;
    max-width: 40px;
    min-height: 40px;
    min-width: 40px;
    border-radius: 9999px;
    padding: 0 8px;
    outline: none;
    box-sizing: border-box;
    border: 0px solid transparent;
    background-color: rgba(64, 87, 109, .07);
    color: rgba(36, 49, 61, .4);
    outline-offset: 3px;
    cursor: not-allowed !important;
    vertical-align: middle;
    font-weight: 600;
    font-size: 14px;
    line-height: 22px;
    transition: background-color .1s linear, border-color .1s linear, color .1s linear;
}

.searchBox-enterBtn.active {
    background-color: #8b3dff;
    color: #fff;
    cursor: pointer !important;
}

.photos-search-bar {
  margin: 24px 0 32px 0;
  padding: 0px 16px 0px;
}

.photos-search-bar .container {
  border: 1px solid #e7dbff;
  transition: border-color 0.2s ease;
}

.photos-search-bar:focus-within .container {
  border-color: #8b3dff;
}

@media only screen and (max-width: 576px) {

  .photos-search-bar {
    margin: 12px 0 16px 0;
    padding: 0px 16px 0px;
  }

  .stock-photo-searchboxBtn {
    display: none !important;
  }

  .searchBox-textArea {
    padding: 0px 12px;
  }
}
