.authorities .title .icon {
    max-width: 100px;
}

.presidents-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    column-gap: 4rem;
    row-gap: 4rem;
    border-radius: 8px;
    margin-bottom: 4rem;
}

.presidents-container .theme {
    background-size: cover;
    border-radius: 8px;
    min-height: 15rem;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.presidents-container .theme:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #fff, #000);
    z-index: 1;
    mix-blend-mode: multiply;
    opacity: 0;
    transition: 0.5s;
}

.presidents-container .theme .theme-details {
    padding: 1rem;
    color: white;
    font-size: 1.2rem;
    text-transform: uppercase;
    font-family: var(--tertiary-font);
    transform: translateY(200px);
    transition: 0.5s;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: flex;
    flex-direction: column-reverse;
    padding: 20px;
    align-items: flex-end;
}

.presidents-container .theme .theme-details p.title {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    text-align: right;
}

.presidents-container .theme .theme-details p.position {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    text-align: right;
}

.presidents-container .theme:hover:before {
    opacity: 1;
}

.presidents-container .theme:hover .theme-details {
    transform: translateY(0);
}

.presidents-container .theme:nth-child(2) {
    background-color: pink;
    grid-column-start: 2;
    grid-column-end: 4;
    column-gap: 1rem;
    row-gap: 1rem;
}

.presidents-container .theme:nth-child(1) {
    background-color: violet;
    grid-row: 1 / 3;
    /* background-position: center; */
}

@media screen and (max-width: 900px) {
    .presidents-container {
        grid-template-columns: 1fr;
    }
    .presidents-container .theme:nth-child(2) {
        grid-column-start: initial;
        grid-column-end: initial;
        column-gap: initial;
        row-gap: initial;
    }
    .presidents-container .theme:nth-child(1) {
        grid-row: initial;
        /* grid-row: 1 / span 2; */
    }
}

.subs {
    padding: 2rem;
    background: rgb(221, 221, 221);
    border-radius: 8px;
    color: #071D36;
}

.subs ul {
    list-style: none;
    padding: 0 0 1rem 0;
    margin: 0;
    columns: 4;
    -webkit-columns: 4;
    -moz-columns: 4;
}

.subs .subcategory {
    text-decoration: underline;
    font-weight: 500;
}

.page.authorities .statute .front {
    background: rgb(221, 221, 221);
    color: #071D36;
    padding: 2rem;
    border-radius: 8px;
    max-height: 450px;
    overflow-y: scroll;
}