/* ======================= SPLIT ======================= */
.country-split {
    display: flex;
    justify-content: space-between;
}

.country-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin: 1.5rem;
    padding: 0.8rem;
    align-items: center;
    border: solid;
    border-width: 2px;
}

.country-contents {
    align-self: start;
}

.country-contents li {
    margin-left: 1.8rem;
}

.country-card button {
    margin-top: 0.8rem;
    border-radius: 0;
    border: none;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    transition: all 0.4s ease;
    cursor: pointer;
    padding: 0.5rem 1rem;
}
.country-card button:hover {
    background-color: rgba(0, 0, 0, 0.6);
}

/* ==================== Resources ===================== */

.resources {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 8vh 10vw;
    min-height: 100vh;
    /* width: 80vw; */
    color: #1D3557;
    box-shadow: 0px 10px 50px rgba(0, 0, 0, 0.1) inset;
}

.resources-content {
    display: flex;
    flex-wrap: wrap;
    flex-basis: 500px;
    gap: 5vw;
}

.links {
    flex: 1;
    /* min-width: 400px; */
}

.resources h1 {
    margin-bottom: 2rem;
}

.collapsible {
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom-color: #A8DADC;
    background-color: #F1FAEE;
    color: #1D3557;
    font-weight: 700;
    /* margin-top: 0.5rem; */
    width: 100%;
    height: 3rem;
    text-align: left;
    padding-left: 1rem;
}

.content {
    padding: 0 18px;
    /* background-color: white; */
    max-height: 0;
    overflow: hidden;
    margin-bottom: 2rem;
    transition: max-height 0.2s ease-out;
}

.content p, .content a {
    font-size: 12pt;
}

.content :first-child {
    margin-top: 0.8rem;
}

li {
    margin: 0 0 0.6rem 1.8rem;
}

.collapsible i.fa-solid {
    color: #457B9D;
    float: right;
    margin-right: 1rem;
}

.collapsible .fa-angle-up {
    display: none;
}

.summary {
    flex: 1;
    min-width: 400px;
    /* align-self: center; */
}

/* ==================== References ===================== */
.references {
    padding: 4rem 8rem;
    background-color: #457B9D;
    color: #F1FAEE;
}

.references h2 {
    color: #F1FAEE;
    text-align: center;
    margin-bottom: 2rem;
}

.references a {
    color: #A8DADC;
}

.bibliography {
    line-height: 2;
    margin-left: 2em;
    text-indent:-2em;
}

.csl-entry a {
    word-wrap: break-word;
}

/* ==================== Responsive ===================== */

@media screen and (max-width: 150vh) {
    .resources h1 {
        text-align: center;
    }

    .resources-content {
        flex-direction: column-reverse;
    }

    .summary {
        flex: 0;
        min-width: 0;
    }

    .references {
        padding: 2rem 4rem;
    }
}