.directory {
    line-height: 1;
    font-family: Arial, sans-serif;
}

.directory form {
    display: flex;
    margin-bottom: 20px;
}

.directory input[type="text"], .directory input[type="search"], .directory button {
    padding: 10px;
    border-radius: 5px;
    font-size: 14px;
}

.directory input[type="text"], .directory input[type="search"] {
    width: 300px;
    margin-right: 10px;
    border: 1px solid #ddd;
}

.directory button {
    border: none;
    background-color: #07659e;
    color: white;
    cursor: pointer;
}

.directory button:hover {
    background-color: #005187;
}

.results, .tile {
    box-sizing: border-box;
}

.results {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
}

.tile {
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    overflow: hidden;
}

.tile h3 {
    background-color: #07659e;
    color: white;
    margin: 0;
    padding: 10px;
    font-size: 18px;
}

.tile .address, .tile p {
    padding: 5px 20px;
    margin: 0;
    border-bottom: 1px solid #ddd;
    background-color: #f7f7f7;
    font-weight: bold;
    color: #333;
}

.tile p {
    background-color: transparent;
    font-weight: normal;
    color: #666;
    line-height: 1.6;
    font-size: 14px;
}

.tile a {
    color: #06c;
    text-decoration: none;
}

.tile a:hover {
    text-decoration: underline;
}

.tile .contact-info {
    padding: 10px;
    background-color: #f9f9f9;
}

.tile .contact-info h4 {
    /*color: #57619e;*/
    margin: 0 0 5px;
    font-size: 16px;
}

.tile .contact-info p {
    padding-left: 20px;
    margin: 0;
    font-size: 14px;
}

.tile .contact-info i {
    margin-right: 5px;
    /*color: #06c;*/
}

.tile .residents-children {
    border-top: 1px solid #ddd;
    padding-top: 10px;
}

.tile .other-info {
    border-top: 1px solid #ddd;
    padding-top: 10px;
}

.tile .other-info strong {
    color: #333;
}

.tile .residents-children strong {
    color: #333;
}


.gsheets-member-directory__error {
    grid-column: 1 / -1;
}
