﻿.resourcehub-container {
    max-width: 1320px;
    padding-right: var(--bs-gutter-x,.75rem);
    padding-left: var(--bs-gutter-x,.75rem);
    margin-right: auto;
    margin-left: auto;
}

.resourcehubdetail__banner .resourcehub-container > div {
    left: var(--bs-gutter-x,.75rem);
    margin-left: 0;
}

.resources__banner {
    padding-top: 7rem;
    min-height: 400px;
}

    .resources__banner .search-container .search-close-btn {
        cursor: pointer;
    }

        .resources__banner .search-container .search-close-btn svg {
            display: none;
        }

        .resources__banner .search-container .search-close-btn:before {
            content: "\f00d";
            font-family: "Font Awesome 5 Pro";
            -webkit-font-smoothing: antialiased;
            display: inline-block;
            font-style: normal;
            font-variant: normal;
            text-rendering: auto;
            line-height: 1;
            font-size: 26px;
            font-weight: 100;
        }

@media (min-width: 992px) {
    .resources__banner {
        padding-top: 5rem;
        min-height: 500px;
    }
}

.resources__banner .search-container {
    margin-top: 2rem;
}

@media (min-width: 992px) {
    .resources__banner .search-container {
        margin-top: 5rem;
    }
}

.resources__tile {
    border-top: 4px solid var(--color-3);
    max-width: 420px;
    text-decoration: none;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    height: auto;
}

    .resources__tile .tile__image {
        position: relative;
        overflow: hidden;
        z-index: 0;
    }

.resourcehub-container .swiper-container {
    margin-left: auto;
    margin-right: auto;
    position: relative;
    overflow: hidden;
    list-style: none;
    padding: 0;
    z-index: 1;
}

.resources__tile .tile__body {
    padding: 10px 15px 5px;
    transition: all 0.3s ease-in-out;
    height: auto;
    flex: 1;
}

/*@media (min-width: 992px) {
    .resources__tile .tile__body {
        height: calc(100% - 246px);
    }
}*/

.resources__tile-summary {
    min-height: unset;
}

.resources__tile .tile__footer {
    transition: all 0.3s ease-in-out;
    position: relative;
}

@media (max-width: 768px) {
    .resources__tile .tile__footer {
        margin-top: 18px;
    }
}


.resources__tile:hover .tile__body {
    transform: translateY(-20px);
    background-color: rgba(48, 224, 187, 0.6);
    backdrop-filter: blur(4px);
    color: #000;
}

.resources__tile:hover .tile__body .resources__tile-title,
.resources__tile:hover .tile__body .resources__tile-summary {
    color: #000;
}

.resources__tile:hover .tile__footer {
    background-color: rgba(48, 224, 187, 0.6);
    transform: translateY(-20px);
}

.resources__tile .tile__stub {
    background-color: var(--color-1);
    color: #000;
}

.resources__tile-title {
    color: #000;
    margin-bottom: 10px;
    line-height: 1.2;
}

.resources__tile-summary {
    color: var(--color-3);
}

.pgaigi .resources__tile-title,
.pgaigi .resources__tile-summary {
    color: var(--color-1);
}

.resources__tile-title {
    font-size: 14px;
    font-weight: 600;
}

@media (min-width: 992px) {
    .resources__tile-title {
        font-size: 20px;
    }
}

.resources__tile .tile__badge {
    background-color: #000;
    color: #fff;
    border-radius: 20px;
    font-size: 11px;
    padding: 3px 10px;
}

.pgaigi .resources__tile .tile__badge {
    background-color: var(--color-1);
    color: #fff;
}

.resources__tile .button {
    display: none;
}

.resourcehub-filter .topic__badge {
    background-color: var(--color-3);
    transition: all 0.3s ease-in-out;
    border-radius: 40px;
}

.resourcehub-filter .topic__badge:hover,
.resourcehub-filter .topic__badge--selected {
    background-color: var(--color-1);
    color: #000;
}

.pgaigi .resourcehub-filter .topic__badge:hover,
.pgaigi .resourcehub-filter .topic__badge--selected {
    color: #fff;
}

.resources__banner .search-text {
    border: none;
    border-radius: 40px;
}

.resourcehub__breadcrumb--item a:hover,
.resources__banner .search-container i {
    color: var(--color-1);
}

.resources__tile .tile__stub {
    right: 8px;
    background-color: var(--color-3);
    color: #fff;
    border-radius: 20px;
}

    .resources__tile .tile__stub::before {
        content: none;
    }

.search-suggestion {
    border-bottom: none;
}

.resources__loadmore > a {
    text-decoration: none;
    background-color: var(--color-1);
    color: #000;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
}

.resources__loadmore .resources__loadmore--label {
    color: #000;
    margin: 0;
    font-weight: 600;
    font-size: 14px;
}

.pgaigi .resources__loadmore .resources__loadmore--label {
    color: #fff;
}

.resources__loadmore .button {
    display: none;
}

.resources__block--tiles .swiper-button-next,
.resources__block--tiles .swiper-button-prev {
    font-size: 30px;
    color: var(--color-1);
    transform: translateY(-20px);
}

    .resources__block--tiles .swiper-button-next:before,
    .resources__block--tiles .swiper-button-prev:after {
        font-family: "Font Awesome 5 Pro" !important;
        font-size: 38px;
    }

    .resources__block--tiles .swiper-button-next:before {
        content: "\f138";
    }

    .resources__block--tiles .swiper-button-prev:after {
        content: "\f137";
    }

.resources__block--tiles > .swiper-button-prev {
    left: -60px;
}

.resources__block--tiles > .swiper-button-next {
    right: -70px;
}

.resources__block--tiles .swiper-button-next > button,
.resources__block--tiles .swiper-button-prev > button {
    display: none;
}

@media screen and (min-width: 768px) {
    .resourcehub-filter {
        margin: 60px 0 40px;
    }
}

.resources__tile--download {
    right: 20px;
    bottom: 12px;
}

    .resources__tile--download::before {
        content: ' ';
        position: absolute;
        background-color: #05E6A1;
        border-radius: 50%;
        width: 32px;
        height: 32px;
        z-index: -1;
        left: -8px;
        top: -4px;
    }