#graffiti-map {
  width: 100%;
  margin-top: 100px;
}

.graffiti-map-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  flex-wrap: wrap;
}

.about-project-container .about-project-btn {
  border: 1px solid #f8ede3;
  background-color: transparent;
  color: #f8ede3;
  font-size: 0.75rem;
  border-radius: 0;
}

.about-project-container .about-project-btn:hover {
  background-color: transparent;
  color: #f8ede3;
}

.about-project-container .about-project-btn.active {
  background-color: #d92363;
}

#about-content {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 9999;
  margin-top: 5px;
  width: 95%;
  max-width: 1200px;
  background-color: #252622;
  border: 1px solid #f8ede3;
}

#about-content.is-visible {
  display: flex;
}

#about-content p {
  color: #f8ede3;
  font-size: 0.7rem;
  line-height: 22px;
  margin: 0;
}

.about-grid-main-text {
  border-right: 1px solid #f8ede3;
  padding: 32px;
}

.about-grid-additional-text {
  border-right: 1px solid #f8ede3;
}

.down-middle-content {
  position: relative;
  padding: 32px;
}

.down-middle-content::before {
  content: "";
  width: 100%;
  height: 1px;
  background: beige;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
}

.contact-about {
  display: flex;
  flex-direction: column;
  row-gap: 15px;
}

.contact-about p {
  display: flex;
  flex-direction: column;
  row-gap: 5px;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 10px !important;
}

.contact-about p span {
  font-weight: 400;
}

.contact-about a {
  font-size: 0.6rem;
  text-decoration: none;
  color: #f8ede3;
  width: fit-content;
  padding: 4px 12px;
  border: 1px solid #f8ede3;
}

.contact-about a:hover {
  color: #f8ede3;
}

.about-grid-image {
  display: flex;
  justify-content: center;
}

.about-grid-image img {
  width: 85%;
  object-fit: contain;
}

.header-logo-container {
  max-width: 92px;
}

#map-view-buttons-container {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.language-switch-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.toggle-switch-wrapper {
  position: relative;
}

.language-toggle-checkbox {
  display: none;
}

.language-toggle-label {
  display: block;
  width: 50px;
  height: 28px;
  background-color: #f8ede3;
  border-radius: 14px;
  position: relative;
  cursor: pointer;
  border: 1px solid #f8ede3;
  transition: background-color 0.2s ease-in-out;
}

.language-toggle-label::before {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: #252622;
  top: 3px;
  left: 3px;
  transition: transform 0.2s ease-in-out;
}

.language-toggle-checkbox:checked + .language-toggle-label::before {
  transform: translateX(22px);
}

.lang-label {
  font-size: 14px;
  font-weight: bold;
  color: #f8ede3;
  transition: opacity 0.2s ease-in-out;
}

.view-toggles-wrapper {
  display: flex;
  align-items: center;
  border: 1px solid #f8ede3;
  padding: 8px;
  position: relative;
  column-gap: 6px;
}

.view-toggles-wrapper input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  top: 0;
  left: 0;
}

.view-toggles-wrapper label {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 23px;
  height: 23px;
  cursor: pointer;
}

.view-toggles-wrapper input[type="radio"]:checked + label {
  background-color: #f8ede3;
  border-radius: 2px;
}

.view-toggles-wrapper input[type="radio"]:checked + label svg path,
.view-toggles-wrapper input[type="radio"]:checked + label svg rect {
  stroke: #252622;
}

.graffiti-map-wrapper {
  display: flex;
  flex-direction: column-reverse;
  row-gap: 20px;
}

.graffiti-popup {
  position: relative;
}

.swiper-image-carousel {
  overflow: hidden;
  position: relative;
  max-height: 200px;
}

.graffiti-popup .swiper-slide img {
  height: 200px;
  object-fit: cover;
}

.swiper-pagination {
  bottom: 30px !important;
}

.swiper-pagination-bullet {
  background-color: #f8ede396 !important;
}

.swiper-pagination-bullet-active {
  background-color: #f8ede3 !important;
}

.graffiti-filters-area {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

.left-filters-container {
  display: flex;
  column-gap: 12px;
}

#toggleFilters {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px;
  cursor: pointer;
  transition: background-color 200ms ease-in-out;
}

#toggleFilters.active {
  background-color: #d92363;
  transition: background-color 200ms ease-in-out;
}

#toggleFilters p {
  margin: 0;
  color: #f8ede3;
  font-size: 0.8rem;
}

#filtersContainer {
  display: none;
  background-color: #252622;
  border: 1px solid #f8ede3;
}

#filtersContainer .filter-option {
  display: flex;
  column-gap: 10px;
  padding: 0.65rem 0.5rem;
}

#filtersContainer .filter-option label {
  width: 100%;
  color: #f8ede3;
  cursor: pointer;
}

#filtersContainer .filter-option:has(input[type="checkbox"]:checked) {
  background-color: #ef9424;
}

#filtersContainer .filter-option input[type="checkbox"]:checked {
  accent-color: #f8ede3;
}

#filtersContainer .filter-option input[type="checkbox"]:checked + label {
  color: #252622;
}

#filtersContainer
  .filter-option:has(input[type="checkbox"]:checked)
  .tag-icon
  svg
  path {
  fill: #252622;
}

#filtersContainer[open] {
  display: block;
  position: absolute;
  top: 100%;
  left: 0;
  width: fit-content;
  z-index: 9999;
}

#toggleRange {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px;
  cursor: pointer;
  transition: background-color 200ms ease-in-out;
}

#toggleRange.active {
  background-color: #d92363;
  transition: background-color 200ms ease-in-out;
}

#toggleRange p {
  margin: 0;
  color: #f8ede3;
  font-size: 0.8rem;
}

#rangeFilter {
  display: none;
  background-color: #252622;
  border: 1px solid #f8ede3;
}

#rangeFilter[open] {
  display: block;
  padding: 10px 0;
  position: absolute;
  top: 100%;
  left: 150px;
  width: 20%;
  z-index: 9999;
}

#rangeFilter .noUi-target {
  max-width: 150px;
  margin: 0 auto;
}

.age-filter {
  max-width: 150px;
  padding: 10px 0;
}

#age-range-display {
  text-align: center;
  margin-top: 10px;
  color: #f8ede3;
}

.right-filters-container {
  display: flex;
  column-gap: 12px;
  flex-direction: column;
}

.recently-added-switch-container {
  display: flex;
  align-items: center;
  gap: 12px;
}

.recently-added-switch-container .switch-label {
  font-size: 14px;
  color: #e0e0e0;
  font-family: sans-serif;
  user-select: none;
}

.recently-added-switch-container .recently-added-toggle-checkbox {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}

.recently-added-switch-container .recently-added-toggle-label {
  display: block;
  width: 50px;
  height: 28px;
  background-color: #f8ede3;
  border-radius: 14px;
  position: relative;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.recently-added-switch-container .recently-added-toggle-label::before {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: #383838;
  top: 4px;
  left: 3px;
  transition: transform 0.3s ease;
}

.recently-added-switch-container
  .recently-added-toggle-checkbox:checked
  + .recently-added-toggle-label::before {
  transform: translateX(22px);
}

.recently-added-toggle-checkbox:checked + .recently-added-toggle-label {
  background-color: #d92363;
}

.sort-by-container {
  display: flex;
  align-items: center;
}

#sort-by-select {
  padding: 10px 0px;
  background-color: #252622;
  color: #f8ede3;
  border: none;
  cursor: pointer;
}

.popup-tags-container {
  display: flex;
  column-gap: 8px;
  position: absolute;
  top: 5px;
  right: 5px;
  z-index: 10;
}

.popup-tags-container img {
  width: 35px;
  height: 35px;
  border: 1px solid #f8ede3;
  background-color: #d92363;
  border-radius: 20rem;
  padding: 5px;
}

.active-filters-area {
  display: flex;
  column-gap: 20px;
  margin-bottom: 25px;
}

#active-filters-container {
  display: flex;
  column-gap: 12px;
}

.active-filter-pill {
  border: 1px solid #f8ede3;
  color: #f8ede3;
  display: flex;
  align-items: center;
  column-gap: 10px;
  padding: 8px 10px;
  cursor: pointer;
  width: fit-content;
}

.active-filter-pill span {
  font-size: 0.8rem;
}

#filters-age-container {
  display: flex;
  align-items: center;
}

.remove-filter {
  padding: 0;
  border: none;
  color: #f8ede3;
}

.remove-filter:hover {
  background-color: transparent;
}

.read-more-btn {
  border: none;
  padding: 0;
  text-decoration: underline;
  font-size: 0.65rem;
  color: #d92363;
  align-self: flex-start;
}

.read-more-btn:hover,
.read-more-btn:focus {
  background-color: transparent;
  color: #d92363;
  text-decoration: underline;
}

#graffiti-map-container {
  position: relative;
  height: 400px;
}

#cards-container {
  width: 50%;
  box-sizing: border-box;
  gap: 16px 17px;
  flex-wrap: wrap;
}

.artist-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 12px;
  border-radius: 4px;
  position: relative;
  width: 100%;
  max-height: 340px;
  background-color: #f8ede3;
}

.artist-card .popup-tags-container {
  top: 15px;
  right: 15px;
}

.swiper-artist-card {
  width: 100%;
  position: relative;
  overflow: hidden;
}

.swiper-artist-card .swiper-slide .card-image {
  border-radius: 4px;
}

.artist-card.card-highlighted {
  background-color: #cc3998;
}

.artist-card.card-highlighted .popup-age,
.artist-card.card-highlighted .popup-profession,
.artist-card.card-highlighted .popup-address,
.artist-card.card-highlighted .read-more-btn {
  color: #f8ede3;
}

.artist-card-content {
  display: flex;
  flex-direction: column;
  row-gap: 5px;
  align-self: flex-start;
}

.popup-artist-name {
  font-size: 0.9rem;
}

.popup-age,
.popup-profession,
.popup-address {
  font-size: 0.65rem;
  color: #808080;
  margin: 0;
}

#graffiti-detail-container {
  flex-direction: column;
  width: 100%;
  background-color: #f8ede3;
  border-radius: 4px;
  padding: 16px 10px 24px;
  row-gap: 10px;
}

.detail-view-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.detail-tags-container {
  display: flex;
  column-gap: 5px;
}

.detail-tag {
  display: flex;
  align-items: center;
  background-color: #d92363;
  border-radius: 20rem;
  padding: 8px 10px;
}

.tag-name {
  color: #f8ede3;
  font-size: 0.6rem;
}

.back-to-list-btn {
  padding: 5px;
  border: none;
  color: #252622;
}

.back-to-list-btn:hover {
  background-color: transparent;
  color: #252622;
}

.detail-view-body {
  display: flex;
  column-gap: 20px;
  flex-direction: column;
}

.detail-media {
  display: flex;
  flex-direction: column;
  row-gap: 12px;
  align-items: center;
}

.detail-gallery {
  max-width: 200px;
}

.detail-highlight {
  font-size: 0.9rem;
  font-weight: 700;
  color: #d92363;
}

.detail-artist-info {
  display: flex;
  flex-direction: column;
  row-gap: 5px;
}

.detail-artist-info > p {
  margin: 0;
}

.detail-view-body .detail-content .detail-artist-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: #252622;
}

.detail-view-body .detail-content .detail-age,
.detail-view-body .detail-content .detail-address,
.detail-view-body .detail-content .detail-profession {
  font-size: 0.7rem;
  color: #808080;
}

.detail-biography {
  line-height: 100%;
  font-size: 0.8rem;
  color: #808080;
}

.detail-sidebar {
  justify-content: space-between;
  display: flex;
  margin-top: 8px;
}

.detail-interview-date {
  font-size: 0.65rem;
  color: #d92363;
  margin: 0;
  display: flex;
  align-items: center;
}

.spotify-link {
  background-color: #ef9424;
  display: flex;
  align-items: center;
  text-decoration: none !important;
  padding: 8px 12px;
  column-gap: 8px;
}

.spotify-link p {
  margin: 0;
  font-size: 0.65rem;
  color: #f8ede3;
}

.swiper-thumbs-container {
  position: relative;
  width: 100%;
}

.swiper-thumbs-container .swiper-button-next,
.swiper-thumbs-container .swiper-button-prev {
  width: 20px;
  height: 20px;
  background-color: #cc3998;
  border-radius: 50%;
  color: #f8ede3;
}

.swiper-thumbs-container .swiper-button-prev {
  left: -10px;
  top: 32px;
}

.swiper-thumbs-container .swiper-button-next {
  right: -10px;
  top: 32px;
}

.swiper-thumbs-container .swiper-button-next::after,
.swiper-thumbs-container .swiper-button-prev::after {
  font-family: swiper-icons;
  content: "next";
  font-size: 8px;
}

.swiper-thumbs-container .swiper-button-prev::after {
  content: "prev";
}

#swiper-detail-thumbs .swiper-slide img {
  cursor: pointer;
}

.detail-view-footer {
  display: flex;
}

.footer-back-btn {
  padding: 4px 12px;
  font-size: 0.65rem;
  border: 1px solid #d92363;
  color: #d92363;
}

.footer-back-btn:hover {
  background-color: transparent;
  color: #d92363;
}

@media screen and (min-width: 768px) {
  #graffiti-map {
    margin-top: 50px;
  }

  #about-content {
    flex-direction: row;
  }

  .about-grid-main-text {
    width: 45%;
  }

  .about-grid-additional-text {
    width: 30%;
  }

  .about-grid-image {
    width: 25%;
  }
}

@media screen and (min-width: 1024px) {
  .graffiti-map-header {
    flex-wrap: nowrap;
  }

  .graffiti-filters-area {
    justify-content: space-between;
    flex-wrap: nowrap;
  }

  .right-filters-container {
    flex-direction: row;
  }

  #toggleFilters p {
    font-size: 0.9rem;
  }

  #toggleRange p {
    font-size: 0.9rem;
  }

  #map-view-buttons-container {
    display: flex;
    justify-content: center;
    column-gap: 20px;
    width: auto;
  }

  .active-filter-pill {
    padding: 8px 16px;
  }

  .active-filter-pill span {
    font-size: 0.9rem;
  }

  .graffiti-map-wrapper {
    flex-direction: row-reverse;
    column-gap: 20px;
  }

  .artist-card {
    width: 45%;
  }

  #graffiti-detail-container {
    width: 50%;
    padding: 16px 20px 24px;
  }

  .detail-view-body {
    flex-direction: row;
  }

  .detail-media {
    align-items: flex-start;
  }

  #graffiti-map-container {
    height: 460px;
  }

  .detail-biography {
    height: 200px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #808080 transparent;
  }

  .detail-biography::-webkit-scrollbar {
    width: 5px;
  }

  .detail-biography::-webkit-scrollbar-track {
    background: transparent;
  }

  .detail-biography::-webkit-scrollbar-thumb {
    background-color: #808080;
    border-radius: 10px;
  }
}

@media screen and (min-width: 1440px) {
  #graffiti-map-container {
    height: 600px;
  }

  .detail-biography {
    height: auto;
  }

  .artist-card {
    width: 35%;
  }
}

@media screen and (min-width: 1600px) {
  #graffiti-map-container {
    height: 640px;
  }

  .artist-card {
    width: 30%;
  }
}
