.tenant-header-title img{
  width: 80%;
  height: auto;
  object-fit: cover;
}
.tenant-header-container{
  display: flex;
  align-items: center;
  margin-left: 75px;
  justify-content: center;
}
.tenant-header-logo{
  width: 60%;
  margin-left: 50px;
}
.tenant-header-content{
  display: none;
  width: 40%;
  padding: 50px;
  align-self: flex-start;
}
.tenant-header-content h2{
  margin: 20px;
  line-height: 20px;
  margin-left: 0;
}
.tenant-header-content p{
  line-height: 20px;
  margin: 20px;
  margin-left: 0;
  font-family: 'Neue-haas';
}
.block-buttons{
  margin: 20px 0;
  display: flex;
  justify-content: space-evenly;
  margin-left: 75px;
  margin-top: 30px;
}
.block-buttons button{
  width: 160px;
  height: 30px;
  margin: 0 5px;
  padding: 5px 10px;
  background-color: transparent;
  border: 1px solid #B01216;
  border-radius: 25px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  color: #000;
}
.block-buttons button:hover{
  background-color: rgb(176,18,22, 0.8);
}
.block-buttons button.active{
  background-color: #B01216;
  color: white;
}
.category-buttons{
  margin: 20px 0;
  display: flex;
  justify-content: center;
  margin-left: 75px;
}
.category-buttons button{
  width: 150px;
  height: 30px;
  margin: 0 5px;
  padding: 5px 10px;
  background-color: transparent;
  border: 1px solid #B01216;
  border-radius: 25px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  color: #000;
}
.category-buttons button:hover{
  background-color: rgb(176,18,22, 0.7);
}
.category-buttons button.active{
  background-color: #B01216;
  color: white;
}
.search-container{
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
  margin-bottom: 20px;
  margin-left: 75px;
}
.search-input{
  padding: 10px 44px 10px 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  width: 200px;
  box-sizing: border-box;
  background-size: 20px;
}
#searchButton{
  background: none;
  border: none;
  cursor: pointer;
  margin-left: -44px;
  min-width: 44px;
  min-height: 44px;
}
#searchButton i{
  font-size: 20px;
  color: #555;
}
.grid-container{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin: 0 auto;
  margin-left: 95px;
  margin-right: 10px;
  text-align: center;
}
.tenant-card{
  display: block;
  text-decoration: none;
  color: inherit;
  flex: 1;
  min-width: 300px;
  max-width: 300px;
  margin-bottom: 10px;
  transition: box-shadow 0.2s ease;
  background-color: transparent;
  padding: 10px;
  box-sizing: border-box;
}
.tenant-card:hover{
  transform: translateY(-5px);
  box-shadow: 5px 5px 3px rgba(0, 0, 0, 0.1);
}
.tenant-card img{
  width: 100%;
  height: 350px;
  object-fit: cover;
}
.tenant-card h2{
  font-size: 1.17em;
}
.tenant-card p{
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
}
.dropdown{
  display: none;
}
.dropdown select{
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"%3E%3Cpath d="m3.5 6 4.5 4 4.5-4" fill="none" stroke="%23555" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"/%3E%3C/svg%3E');
  background-repeat: no-repeat;
  background-position: right 14px center;
  width: min(100%, 240px);
  min-width: 0;
  min-height: 48px;
  padding: 10px 40px 10px 15px;
  background-color: #fff;
  border: 1px solid #c9c9c9;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .06);
  cursor: pointer;
  color: #222;
  font: inherit;
  font-size: 16px;
  line-height: 1.25;
}
.dropdown select:hover{
  border-color: #888;
}
.dropdown select:focus-visible{
  border-color: #B01216;
  outline: 2px solid #B01216;
  outline-offset: 2px;
}
@media (max-width: 1024px) {
  .dropdown{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 240px));
    gap: 12px;
    justify-content: center;
    margin: 0 20px 24px;
  }
  .block-buttons,
  .category-buttons{
    display: none;
  }
}
@media (max-width: 768px) {
  .tenant-header-container{
    display: block;
    align-items: center;
    justify-content: center;
  }
  .tenant-header-logo{
    width: 100%;
    margin-left: 0;
  }
  .tenant-header-content{
    padding: 0;
    width: 100%;
    align-self: flex-start;
  }
  .tenant-header-title{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .tenant-header-title img{
    width: 30%;
  }
  .tenant-header-details{
    width: 100%;
  }
  .tenant-header-content h2{
    margin-left: 20px;
  }
  .tenant-header-content p{
    margin-left: 20px;
  }
  .search-container{
    margin-bottom: 0;
    margin-left: 0;
  }
  #searchButton{
    background: none;
    border: none;
    cursor: pointer;
    margin-left: -44px;
  }
}
@media (min-width: 640px) and (max-width: 1024px) {
  .grid-container{
    box-sizing: border-box;
    gap: 24px;
    padding: 20px 24px 0;
  }
  .tenant-card{
    flex: 0 1 calc(50% - 12px);
    min-width: 0;
    max-width: 360px;
  }
  .tenant-card img{
    aspect-ratio: 1;
    height: auto;
  }
}
@media (min-width: 360px) and (max-width: 639px) {
  .grid-container{
    box-sizing: border-box;
    gap: 12px;
    padding: 24px 16px 0;
  }
  .tenant-card{
    flex: 0 1 calc(50% - 6px);
    min-width: 0;
    max-width: none;
    padding: 6px;
  }
  .tenant-card img{
    aspect-ratio: 1;
    height: auto;
  }
  .tenant-card h2{
    margin-top: 8px;
    font-size: 16px;
    line-height: 1.25;
    overflow-wrap: anywhere;
  }
}
@media (max-width: 359px) {
  .grid-container{
    box-sizing: border-box;
    padding: 24px 20px 0;
  }
  .tenant-card{
    flex: 0 1 100%;
    min-width: 0;
    max-width: 360px;
  }
}
@media (max-width: 1024px) {
  .tenant-header-container{
    margin-left: 0;
    margin-bottom: 50px;
  }
  .grid-container{
    margin-left: 0;
    margin-right: 0;
    width: 100%;
  }
  .search-container{
    margin-left: 0;
  }
}
