/*********************
START: PUBLIC
*********************/
.archive--content {
    display: flex;
    justify-content: space-between;
}

/* aside */
aside.archive--category {
    width: 25%;
    position: relative;
}

.content--category {
    padding: 2rem 1.5rem;
    position: sticky;
    top: 0;
    border-radius: var(--border-radius-20);
    background-color: rgba(240, 245, 228, 0.5);
}

.content--category .input--group {
    position: relative;
    width: 100%;
    border-radius: var(--border-radius-60);
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--baseLight-color);
}


.content--category .input--group:before {
    position: absolute;
    content: "";
    width: 1rem;
    height: 1rem;
    top: 50%;
    right: 14px;
    transform: translateY(-50%);
    background-image: url(../img/icons/search-2.svg);
}

.content--category .input--group input {
    border: none;
    width: 93%;
    margin-inline-start: auto;
}

.content--category .content--category__title {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.content--category .content--category__title .dropdown {
    display: none;
    width: 0.75rem;
}

.content--category .content--category__title h2 {
    margin-block: 1.5rem;
    font-weight: 500;
    font-size: var(--text-xl);
    line-height: var(--line-height130);
    font-family: var(--font-family-Morabba);
}

.content--category ul li a {
    display: block;
    position: relative;
    padding-inline-start: 1.5rem;
    font-weight: 500;
    font-size: var(--text-lg);
    line-height: var(--line-height130);
    font-family: var(--font-family-Morabba);
}

.content--category ul li:not(:last-child) a {
    margin-block-end: 2rem;
}

.content--category ul li a::before {
    position: absolute;
    content: "";
    width: 18px;
    height: 18px;
    top: 4px;
    right: 0;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url("../img/icons/vector-supTitle-green.svg");
}

.content--category ul li.active a {
    color: var(--green-color-2);
}

/* showCase */
.archive--showCase {
    width: 73%;
}

body.search .archive--showCase {
    width:100%;
}

body.search .archive--showCase .loading-indicator{
	display: none !important;
}

.archive--showCase ul {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(3, 1fr);
}

.archive--showCase ul>li {
    padding: 0.75rem;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-20);
}

.archive--showCase ul>li a {
    display: block;
}

.archive--showCase ul>li a.imageIndex {
    margin-block-end: 1rem;
    position: relative;
}

.archive--showCase ul>li a.imageIndex picture img {
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 294/200;
    border-radius: var(--border-radius-20);
}

.archive--showCase ul>li a h3 {
    min-height: 45px;
    margin-block-end: 1rem;
    font-size: var(--text-lg);
    font-family: var(--font-family-Morabba);
}

.archive--showCase ul>li p {
    font-weight: 400;
    font-size: var(--text-sm);
    line-height: var(--line-height150);
}

.archive--showCase ul>li a.btn {
    font-weight: 700;
    color: var(--text-color-2);
    padding: 0.25rem 0.5rem;
    font-size: var(--text-xs);
    border: 1px solid #939393;
    margin-inline-start: auto;
    margin-block-start: 1rem;
    border-radius: var(--border-radius-60);
}

.archive--showCase ul>li a.btn img {
    width: 14px;
    height: 14px;
}

/*********************
END: PUBLIC
*********************/
/*********************
START: ARCHIVE BLOGS
*********************/
/* metaInfo */
.metaInfo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    column-gap: 0.75rem;
    row-gap: 0.75rem;
    margin-block-end: 1rem;
}

.metaInfo .tag {
    color: var(--text-color-1);
    padding: 0.5rem 0.75rem;
    font-weight: 300;
    font-size: var(--text-xs);
    border: 1px solid rgb(148, 162, 184, 0.6);
    font-family: var(--font-family-Morabba);
    border-radius: var(--border-radius-60);
}

.metaInfo .date {
    display: flex;
    align-items: center;
    column-gap: 0.25rem;
    font-size: var(--text-xs);
    color: var(--text-color-1);
}

.metaInfo .date img {
    width: 14px;
    height: 14px;
}

/* info */
.archive--showCase ul>li ol.info {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin-block-start: 0.75em;
    column-gap: 0.75rem;
    row-gap: 0.75rem;
}

.archive--showCase ul>li ol.info li:first-child {
    width: 100%;
}

.archive--showCase ul>li ol.info li {
    display: flex;
    align-items: center;
}

.archive--showCase ul>li ol.info li span {
    font-size: var(--text-xs);
    color: var(--text-color-1);
}

.archive--showCase ul>li ol.info li img {
    margin-inline-end: 0.2rem;
    width: 14px;
    height: 14px;
}

/*********************
END: ARCHIVE BLOGS
*********************/


/*********************
START: ARCHIVE VIDEOS
*********************/
.post-type-archive-learning .archive .archive--showCase a.imageIndex::before,
.post-type-archive-learning .archive .archive--showCase a.imageIndex::after {
    position: absolute;
    content: '';
}

.post-type-archive-learning .archive .archive--showCase a.imageIndex::before {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
    border-radius: var(--border-radius-20);
    background: linear-gradient(to bottom, rgba(35, 41, 47, 0.1) 0%, rgba(35, 41, 47, 0.6) 50%, rgba(35, 41, 47, 0.1) 100%);
}

.post-type-archive-learning .archive .archive--showCase a.imageIndex::after {
    width: 40px;
    height: 40px;
    top: 50%;
    left: 50%;
    z-index: 1;
    transform: translate(-50%, -50%);
    background-repeat: no-repeat;
    background-image: url("../img/icons/play-video.svg");
}

/*********************
END: ARCHIVE VIDEOS
*********************/



/*********************
START: MEDIA
*********************/
@media screen and (min-width: 1440px) {}

@media screen and (min-width: 1320px) and (max-width: 1439px) {}

@media screen and (max-width: 1319px) {}

@media screen and (max-width: 1200px) {
    .content--category ul li a {
        font-size: var(--text-base);
    }
}

@media screen and (max-width: 992px) {
    .content--category {
        padding: 1.5rem 1rem;
    }

    .archive--showCase ul {
        grid-template-columns: repeat(2, 1fr);
    }

    .content--category .input--group:before {
        content: unset;
    }

    .content--category .input--group input {
        margin-inline-start: 0;
    }
}

@media screen and (max-width: 768px) {
    .archive--content {
        flex-direction: column;
    }

    aside.archive--category {
        width: 100%;
    }

    .content--category {
        position: unset;
        padding: 1.5rem;
    }

    .content--category .input--group:before {
        content: "";
		right: 10px;
    }

    .content--category .input--group input {
        margin-inline-start: auto;
        width: 93%;
    }

    .content--category .content--category__title .dropdown {
        display: block;
    }

    .content--category ul {
        max-height: 0;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s;
    }

    .content--category ul li:first-child {
        padding-block-start: 1.5rem;
    }

	.content--category .content--category__title{
		margin-block-start: 1rem;
	}
    .content--category .content--category__title h2 {
        margin-block: 0;
    }

    .content--category ul li a {
        font-size: var(--text-lg);
    }

    .archive--showCase {
        width: 100%;
        margin-block-start: 2rem;
    }
}

@media screen and (max-width: 576px) {}

@media screen and (max-width: 425px) {
    .archive--showCase ul {
        grid-template-columns: repeat(1, 1fr);
    }
}

@media screen and (max-width: 375px) {}

/*********************
END: MEDIA
*********************/