/*#region Common*/
.resources-page {
    padding-top: 60px;
    font-family: Inter, Arial, sans-serif;
    font-size: 16px;
    color: #000;
}

.resources-page a {
    color: inherit;
}

.text-extrabold {
    font-family: Inter ExtraBold, Arial, sans-serif;
    font-weight: 700;
}

.text-bold {
    font-family: Inter Bold, Arial, sans-serif;
    font-weight: 700;
}

.text-bolditalic {
    font-family: Inter BoldItalic, Arial, sans-serif;
}

.text-medium {
    font-family: Inter Medium, Arial, sans-serif;
    font-weight: 500;
}

.text-mediumitalic {
    font-family: Inter MediumItalic, Arial, sans-serif;
}

.text-semibold {
    font-family: Inter SemiBold, Arial, sans-serif;
    font-weight: 600;
}

.text-italic {
    font-family: Inter Italic, Arial, sans-serif;
}

.mobile-show {
    display: none;
}

.nowrap {
    white-space: nowrap;
}

.text-center {
    text-align: center;
}

@media (min-width: 1200px) {
    .resources-page .container {
        width: 1200px;
    }
}

@media (min-width: 1366px) {
    .resources-page .container {
        width: 1300px;
    }
}

@media (max-width: 767px) {
    .mobile-show {
        display: block;
    }

    .pc-show {
        display: none;
    }

    .resources-page {
        font-size: 14px;
    }
}
/*#endregion*/

/*#region Banner*/
.banner-item {
    display: block;
    aspect-ratio: 3.06;
    overflow: hidden;
}

.banner-item img {
    height: 100%;
    object-fit: fill;
    object-position: center;
}

@media (max-width: 767px) {
    .banner-item {
        aspect-ratio: 1;
    }
}
/*#endregion*/

/*region Resource Group*/
.resource-group {
    padding: 50px 0;
}

.resource-title {
    font-size: 32px;
    padding-bottom: 12px;
    border-bottom: 2px solid #D4D7D8;
}

.category-tabs {
    display: flex;
    gap: 16px;
    margin-top: 24px;
}

.category-tabs ul {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.category-tabs .all-tab {
    flex-shrink: 0;
    font-size: 20px;
    cursor: pointer;
}

.category-tabs ul li {
    list-style: none;
    font-size: 20px;
    cursor: pointer;
}

.category-tabs .all-tab.active,
.category-tabs ul li.active {
    color: #D81E44;
}

.category-des {
    display: none;
    font-size: 18px;
}

.resource-posts {
	position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 24px;
}

.resource-post {
    display: flex;
    flex-direction: column;
    background: #FFF;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
}

.resource-post-thumb {
    background: linear-gradient(180deg, #F3F8F8 0%, #F3F8F8 46%, #EDEDED 100%);
    display: flex;
    justify-content: center;
    aspect-ratio: 1.6;
    overflow: hidden;
    flex-shrink: 0;
}

.resource-post-thumb img {
    object-fit: contain;
    height: 100%;
}

.resource-post-content {
    height: 100%;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
}

.resource-post-category {
    padding-bottom: 8px;
    cursor: pointer;
}

.resource-post-title {
    font-size: 18px;
}

.post-download-count {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
}

.post-download-count img {
    width: 16px;
    height: 17.3px;
}

.post-download-count span {
    font-size: 18px;
}

.post-btn {
    display: flex;
    align-items: center;
    gap: 16px;
}

.post-btn-item {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #000;
    border-radius: 20px;
    padding: 8px 16px;
    cursor: pointer;
}

.post-btn-item span {
    font-size: 18px;
}

.resources-page .view-more {
    display: block;
    width: fit-content;
    margin: 12px auto 0;
}

.resource-pagination {
    margin: 24px 0 12px;
    color: #605D5D;
}

.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.pagination-num {
    font-size: 18px;
    padding: 8px;
    cursor: pointer;
}

.pagination-num.active {
    color: #D81E44;
}

@media (max-width: 1099px) {
    .resource-posts {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 979px) {
    .resource-title {
        font-size: 28px;
    }

    .category-tabs ul li, .category-tabs .all-tab {
        font-size: 18px;
    }

    .post-btn-item span {
        font-size: 14px;
    }
}

@media (max-width: 767px) {
    .resource-group {
        padding: 30px 0; 
    }

    .resource-title {
        font-size: 24px;
    }

    .category-tabs ul {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .category-tabs ul li {
        margin: 0;
        font-size: 16px;
    }

    .resource-posts {
        grid-template-columns: 1fr;
    }

    .post-download-count span,
    .resource-post-title {
        font-size: 16px;
    }
}
/*#endregion*/

/*#region dowlad modal*/
.download-modal {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.download-modal-content {
    position: relative;
    background-color: #FFFFFF;
    border-radius: 6px;
    padding-top: 12px;
    margin: 16px;
    width: 100%;
    max-width: 900px;
    max-height: calc(100vh - 32px);
    overflow: auto;
}

.download-modal-close {
    width: fit-content;
    float: right;
    margin-right: 12px;
    cursor: pointer;
}
/*#endregion*/

/*#region knowledge */
.knowledge {
    background-color: #F2F2F2;
    padding: 50px 0;
}

.knowledge-title {
    font-size: 36px;
}

.knowledge-subtitle {
    font-size: 24px;
}

.knowledge-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    color: #414141;
    padding: 32px 0 24px;
}

.knowledge-head-title {
    font-size: 28px;
    flex-shrink: 0;
}

.knowledge-head-nav {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
}

.knowledge-head-nav a {
    font-size: 20px;
}

.knowledge-head-nav a:hover {
    color: #D81E44;
}

.knowledge-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
}

.knowledge-content-right {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.knowledge-item {
    display: flex;
    align-items: center;
    gap: 6px;
    width: fit-content;
}

.knowledge-item .knowledge-item-top {
    line-height: 1;
    font-size: 36px;
    color: #CB102E;
}

.knowledge-cate {
    display: none;
}

.knowledge-cate a {
    border: 1px solid #000;
    padding: 7px 14px;
    border-radius: 20px;
    color: #000;
    font-size: 14px;
    display: block;
    text-align: center;
}

@media (max-width: 1099px) {
    .knowledge-head-nav {
        justify-content: start;
    }
}

@media (max-width: 979px) {
    .knowledge-content-right {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .knowledge {
        padding: 30px 0;
    }

    .knowledge-title {
        font-size: 24px;
    }

    .knowledge-subtitle {
        font-size: 18px;
    }

    .knowledge-content-left,
    .knowledge-head-nav {
        display: none;
    }

    .knowledge-head-title {
        font-size: 20px;
    }

    .knowledge-cate {
        flex-shrink: 0;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        gap: 12px;
    }

    .knowledge-content {
        display: flex;
        gap: 16px;
    }

    .knoledge-item-img {
        width: 35px;    
    }

    .knowledge-item .knowledge-item-top {
        font-size: 28px;
    }
}
/*#endregion*/

/*#region quote*/
.quote-container {
    position: relative;
    padding: 80px 0;
}

.quote-text {
    display: flex;
    gap: 32px;
}

.quote-icon {
    flex-shrink: 0;
    width: 120px;
}

.quote-content {
    font-size: 28px;
}

.quote-image {
    width: 40%;
    position: absolute;
    top: 0;
    right: -10%;
}

@media (max-width: 979px) {
    .quote-image {
        display: none;
    }
}

@media (max-width: 767px) {
    .quote-container {
        padding: 60px 0;
    }

    .quote-icon {
        width: 70px;
    }

    .quote-content {
        font-size: 20px;
    }

    .quote-content br {
        display: none;
    }
}
/*#endregion*/

/*#region introduction*/
.introduction {
    background: url(/sites/amis/images/pages/resources-page/bg-intro.webp) no-repeat center;
    background-size: cover;
    padding: 80px 0;
}

.intro-text {
    font-size: 28px;
    color: #FFF;
    width: 350px;
    margin-top: 20px;
}

.intro-wrap {
    display: flex;
    align-items: center;
    gap: 200px;
}

.intro-image {
	max-width: 600px;
}

.intro-content-top {
    display: flex;
}

.intro-btn a {
    color: #000;
    padding: 12px 40px;
    background-color: #FFF;
    border-radius: 20px;
    display: block;
    margin-top: 24px;
    margin-left: 57px;
    max-width: 315px;
    text-align: center;
}

@media (max-width: 1099px) {
    .intro-wrap {
        gap: 24px;
    }

    .intro-image {
        width: 50%;
    }
}

@media (max-width: 767px) {
    .introduction {
        padding: 40px 0;
    }

    .intro-wrap {
        flex-direction: column;
    }

    .intro-image {
        width: 100%;
    }

    .intro-text {
        font-size: 24px;
        width: auto;
    }

    .intro-btn a {
        margin: 12px auto 0;
    }
}
/*#endregion*/

