section {
    margin-bottom: 3rem;
}
.home .nav-container{
    display: none;
}
.grid-menu {
    padding-left: 0;
    padding-right: 0;
    padding-top: 0;
    padding-bottom: 0;
}
.grid-cards {
    display: -ms-grid;
    list-style: none;
    margin: 0;
}
.grid-card {
    position: relative;
    height: 12rem;
    margin: 1rem 0;
}
.grid-card-link,
.grid-card-inner {
    overflow: visible;
    height: 100%;
    text-decoration: none;
    position: relative;
}
.grid-chapter-title-wrap {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: start;
}
.grid-chapter-title-wrap.flex.column {
    justify-content: center;
}
.grid-card:nth-child(odd) {
    background-color: var(--dusty-orange);
    background-color: var(--orange-uva);
}
.grid-card:nth-child(even) {
    background-color: var(--dusty-blue);
    background-color: var(--orange-light);
}
.grid-card:nth-child(odd) .grid-card-inner {
    padding-left: 10%;
}
.grid-card:nth-child(even) .grid-card-inner {
    padding-right: 10%;
}
.grid-card .grid-card-title {
    color: var(--blue-uva);
    font-size: 2.5rem;
    font-style: italic;
    margin-bottom: .6rem;
}
.grid-card:nth-child(odd) .grid-card-title {
    color: #232d4b;
    color: var(--blue-uva);
}
.grid-card:nth-child(even) .grid-card-title,
.grid-card:nth-child(even) .grid-card-subtitle {
    /* color: #ffffff; */
    /* color: var(--blue-uva); */
}
.grid-chapter-img-wrap {
    object-fit: contain;
    overflow: hidden;
    height: 100%;
    width: 34%;
}
.grid-card-inner {
    display: flex;
    flex-direction: row;
}
.grid-card {
    position: relative;
}
.grid-card .chapter-number-wrap {
    align-items: center;
    justify-content: center;
    display: flex;
    font-size: 5rem;
    flex: 1;
    color: white;
    height: 108%;
    position: relative;
}
.grid-card .chapter-number-bg {
    content: '';
    position: absolute;
    display: block;
    width: 70%;
    height: 100%;
    z-index: 1;
    background-position: center;
    background-repeat: no-repeat;
}
.grid-card .chapter-number-wrap {
    position: relative;
}
.grid-card:nth-child(odd) .chapter-number-bg {
    background-image: url("../images/graphics/circle-blue-stripes.svg");
}
.grid-card:nth-child(even) .chapter-number-bg {
    background-image: url("../images/graphics/circle-orange-dots.svg");
}
.grid-card .chapter-number {
    z-index: 2;
}
.grid-card .grid-card-title {
    /* flex: 2; */
}
.grid-card .grid-card-subtitle {
    /* font-weight: 600; */
    color: var(--blue-uva);
    font-weight: 500;
    margin-bottom: 0;
}
.grid-card:nth-child(odd) .grid-card-inner {
    flex-direction: row-reverse;
}
.grid-card:nth-child(odd) .grid-chapter-img-wrap {
    clip-path: polygon(34% 0%, 100% 0%, 100% 100%, 0 100%);
}
.grid-card:nth-child(even) .grid-chapter-title-wrap {
    /* flex-direction: row-reverse; */
}
.grid-card:nth-child(even) .grid-chapter-img-wrap {
    clip-path: polygon(0 0, 100% 0%, 66% 100%, 0% 100%);
}
.grid-chapter-title-wrap {
    width: 66%;
}
.grid-card-title {
    border-bottom: 2px solid transparent;
    color: #ffffff;
    font-family: 'franklin-gothic-urw-cond', 'arial narrow', sans-serif;
    line-height: 1.0;
    margin: 0;
    position: relative;
    text-align: left;
    text-decoration: none;
    z-index: 1;
}
.grid-card:nth-child(odd):hover {
    background-color: var(--orange-dark);
    
}
.grid-card:nth-child(odd) .grid-card-link:hover .grid-card-title,
.grid-card:nth-child(odd) .grid-card-link:focus .grid-card-title {
    border-bottom: 2px solid var(--orange-light-secondary);
}
.grid-card:nth-child(even):hover {
    /* background-color: var(--blue-dark); */
    background-color: var(--orange-light-secondary);
}
.grid-card:nth-child(even) .grid-card-link:hover .grid-card-title,
.grid-card:nth-child(even) .grid-card-link:focus .grid-card-title {
    /* border-bottom: 2px solid var(--yellow); */
    border-bottom: 2px solid var(--orange-uva);
}

.grid-card img {
    object-fit: cover;
    object-position: center 20%;
    width: 100%;
    height: 100%;
    z-index: 0;
    position: relative;
}
.grid-mobile-img {
    display: none;
}
.duotone::before {
    z-index: 0;
}
@media all and (max-width: 999px) {
    /* .grid-card {
        height: 5rem;
    } */
    .grid-card .chapter-number-wrap {
        font-size: 3rem;
    }
    .grid-card .chapter-number-bg {
        width: 54%;
    }
    .grid-card .grid-card-title {
        font-size: 2rem;
    }
}
@media all and (max-width: 599px) {
    .grid-cards .grid-card .grid-card-link:hover h2.grid-card-title {
        background-size: 100% 2px;
    }
    .grid-mobile-img {
        display: block;
        height: 8rem;
    }
    .grid-card img.grid-mobile-img {
        min-height: auto;
    }
    .grid-desktop-img {
        display: none;
    }
    .grid-menu .grid-cards {
        display: flex;
        display: -ms-flexbox;
        flex-direction: column;
    }
    .grid-menu .grid-card:first-of-type {
        margin-top: 1rem;
    }
    .grid-menu .grid-card {
        margin: 0 0 1rem;
    }
    .grid-card .grid-card-title {
        line-height: 1.0;
        font-size: 1.3rem;
        /* flex: 3; */
    }
    .grid-chapter-title-wrap {
        padding: 0 1rem;
        width: 100%;
    }
    .grid-card .chapter-number-wrap {
        font-size: 2rem;
    }
    .grid-card .chapter-number-bg {
        width: 38
    }
    .grid-card:nth-child(odd) .grid-card-inner {
        padding-left: 0;
    }
    .grid-card:nth-child(even) .grid-card-inner {
        padding-right: 0;
    }
}
@media all and (max-width:400px) {
    .grid-card .grid-card-title {
        font-size: 1rem;
    }
    .grid-card .grid-card-subtitle {
        font-size: .8rem;
    }
}
