{% require_css %}
<style>
{% scope_css %}
.resource-wrapper h2 {
    color: #180D22;
    line-height: 1;
    font-weight: 500;
    font-size: 38px;
    margin-bottom: 25px;
}

.filter {
    justify-content: flex-start;
    gap: 35px;
    display: flex;
    padding-top: 20px;
    padding-bottom: 40px;
    border-bottom: 1px solid #677479;
    flex-wrap: wrap;
}
.filter p {
    color: #677479;
    margin: 0;
    cursor: pointer;
    padding: 15px 12px;
}
.filter p.active {
    background: #333;
    color: #fff;
    display: inline-flex;
    border-radius: 15px;
    position: relative;
    gap: 8px;
}
.filter p.active:before {
    content: '';
    background: linear-gradient(180deg, #9911BB 0%, #FFC964 100%);
    position: absolute;
    width: calc(100% + 2px);
    height: calc(100% + 2px);
    z-index: -1;
    top: -1px;
    left: -1px;
    border-radius: 15px;
}

.next-six-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    padding-top: 40px;
    gap: 50px 22px;
}
.resource-card { text-decoration: none; color: inherit; display: block; }
.next-six-item {
    border: 1px solid #CED0EA;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
}
.next-six-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}
.next-six-content { padding: 27px 15px; }
.next-six-content h3 {
    font-size: 15px !important;
    padding: 0 !important;
    border: none !important;
    margin: 0 0 20px !important;
  color:black;
}
.date {
    color: #677479;
    font-family: Geist Mono;
    font-weight: 500;
    font-size: 16px;
    line-height: 120%;
}
.extra {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.dl-link {
    display: flex;
    align-items: center;
    gap: 5px;
}
.dl-link span {
    font-family: Geist;
    font-weight: 600;
    font-size: 12px;
    line-height: 127%;
    color: #000;
}
.resource-card:hover .dl-link span { color: #862DFD; }
.resource-card:hover .dl-link svg path { stroke: #862DFD; }

#no-resource-message {
    border: 1px solid #eaeaea;
    padding: 16px;
    border-radius: 8px;
    grid-column: 1 / -1;
}

@media (max-width: 1024px) {
    .next-six-grid { grid-template-columns: 1fr 1fr; }
    .filter { gap: 0 15px; padding-top: 15px; padding-bottom: 30px; }
    .filter p { font-size: 15px; }
}
@media (max-width: 480px) {
    .next-six-grid { grid-template-columns: 1fr; padding-top: 30px; gap: 25px; }
    .next-six-item img { height: auto; }
}
{% end_scope_css %}
</style>
{% end_require_css %}