:root {
  --primary-color: #0084c4;
  --whatsapp-color: #25d366;
  --title-color: #fff;
}

#comunas {
  display: grid;
  gap: 1em;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  margin: 0;
  padding: 0;
}

#comunas > li {
  border-radius: 8px;
  border: 2px solid var(--primary-color);
  box-sizing: border-box;
  list-style: none;
  margin: 0;
  padding: 0;
}

#comunas .comunas-title {
  background-color: var(--primary-color);
  color: var(--title-color);
  font-family: "Open Sans Condensed";
  list-style: none;
  padding: 0.3em 0.8em;
  text-align: center;
  margin-top: 0;
  font-size: 1.2em;
}

#comunas .img {
  display: flex;
  padding: 0 0.8em 1em 0.8em;
}

#comunas p {
  font-family: "Open Sans Condensed";
  font-weight: 700;
  margin: 0;
}

#comunas .img > img {
  width: 40%;
}

.contact {
  display: flex;
  margin: 0 0.8em 1em 0.8em;
  flex-direction: column;
  gap: 0.4em;
}

.contact > div {
  display: flex;
  flex-direction: column;
}
.contact a {
  align-items: center;
  display: flex;
  font-family: "Open Sans", sans-serif;
  font-size: 0.95em;
  font-weight: normal;
  gap: 5px;
  margin: 2px 0;
  text-decoration: none;
  text-wrap: nowrap;
}
.contact .fa-whatsapp::before {
  font-family: "Font Awesome 6 Brands";
  color: var(--whatsapp-color);
  font-size: 1.1em;
}
.contact .fa-envelope::before {
  font-family: "Font Awesome 6 Free";
  color: var(--primary-color);
}

.comunas-shield {
  list-style: none;
  margin: 0;
  padding: 0;
}

.comunas-shield li {
  cursor: pointer;
  font-size: 0.9em;
  transition: all 0.25s ease-in-out;
}

.comunas-shield li.active {
  text-indent: 0.6em;
}
