.resources {
    width: 100%;
    margin-block: 3rem;
}

.resources .content {
    grid-column: 1 / -1;
}

.resources h2 {
    font-size: 4rem;
}

@media (max-width: 1250px) {
    .resources h2 {
        font-size: 3.5rem;
    }
}

@media (max-width: 850px) {
    .resources h2 {
        font-size: 3rem;
    }
}

@media (max-width: 650px) {
    .resources h2 {
        font-size: 2.5rem;
    }
}

.field--name-field-resource-item {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem 1rem;
}

.field--name-field-resource-item .field__item {
    background: var(--white);
    border-radius: var(--border_radius);
    box-shadow: 0 2px 10px rgba(0, 0, 0, .1);
    transition: all .3s ease;
}

@media (hover:hover) {
    .field--name-field-resource-item .field__item:hover {
        box-shadow: 0 2px 10px rgba(0, 0, 0, .2);
    }
    .doc-item:hover .doc-title {
        text-decoration: underline;
    }
}

.doc-item {
    display: flex;
    flex-direction: column;
    padding: 2rem;
    gap: 1rem;
    text-decoration: none;
}

.doc-item img {
    width: 100%;
    height: auto;
    border-radius: var(--border_radius);
}

.doc-item .doc-title {
    /* margin-block: 1rem 0; */
    padding-inline-end: 1rem;
    font-size: 1.5rem;
	font-weight: 700;
	line-height: 1.2;
    color: var(--middle_blue);
}

.doc-icon {
    width: 2.5rem;
    align-self: flex-end;
    margin-block-end: 2rem;
}

.content-wrapper p.doc-type {
    margin: 0;
}

.doc-item .doc-title .full-title {
    display: none;
}

.doc-item .doc-title a {
    text-decoration: none;
}

@media (hover: hover) {
    .doc-item .doc-title a:hover {
        text-decoration: underline;
    }
}

@media (max-width: 1250px) {
    .field--name-field-resource-item {
        grid-template-columns: repeat(3, 1fr);
    }
    .doc-icon {
        margin-block-end: 1.5rem;
    }
}

@media (max-width: 850px) {
    .field--name-field-resource-item {
        grid-template-columns: repeat(2, 1fr);
    }
    .doc-icon {
        margin-block-end: 1rem;
    }
}

@media (max-width: 650px) {
    .field--name-field-resource-item {
        grid-template-columns: 1fr;
    }
    .doc-item {
        padding: 1.5rem;
    }
    .doc-icon {
        margin-block-end: 1rem;
    }
}
