#container ul {
    padding-left: 18px;
    margin-top: 8px;
    grid-row-gap: 4px;
    display: grid;
}

#container ul li a {
    word-break: break-word;
}

#about-dban-intro-text, #dban-program-resources-intro, #dban-network-intro {
    display: grid;
    grid-row-gap: 10px;
}

#network-partners-list {
    margin-top: 10px;
}

#dban-resources-list {
    margin-top: 20px;
    display: grid;
    grid-row-gap: 15px;
}

/* table styling for dban network page */

table {
    border-collapse: collapse;
}

.table-container {
    overflow-x: auto;
    margin-top: 25px;
    max-width: 90vw;
}

table thead {
    text-align: left;
}

table th, table td {
    padding-left: 8px;
    padding-right: 20px;
    max-width: 400px;
}

table th {
    padding-bottom: 10px;
}

td a {
    color: #BA0D2E;
}

table td {
    padding-top: 10px;
    padding-bottom: 10px;
}

tbody tr:nth-child(even) {
    background: #EFECEC;
}

table thead th {
    border-bottom: 2px solid #BA0D2E;
}

tbody tr {
    height: 40px;
}

tbody a:focus {
    outline: 2px solid black;
}

tbody a:focus:not(:focus-visible) {
    outline: none !important;
}

.table-long {
    min-width: 200px;
}

.dban-card {
    display: flex;
    grid-row-gap: 10px;
    padding: 20px;
    background-color: #EAE4E1;
    max-width: 800px;
    flex-direction: column;
}

.dban-card img {
    width: 115px;
    height: auto;
    object-fit: contain;
}

#dban-partners-card-grid {
    display: flex;
    flex-direction: column;
    grid-row-gap: 35px;
    margin-top: 15px;
}

.dban-card-img-link {
    display: flex;
    align-items: center;
}

@media only screen and (min-width: 768px) {
    .dban-card {
        flex-direction: row;
        grid-column-gap: 25px;
    }
}
