/* =========================================================
   STIPAN Repository - Revisi compact
   Menyesuaikan proporsi screenshot referensi.
   ========================================================= */

:root {
    --repo-blue: #0874d8;
    --repo-green: #10ae62;
    --repo-cyan: #21aab8;
    --repo-purple: #7755ad;
    --repo-text: #252c35;
    --repo-muted: #657083;
    --repo-light: #f7f8fa;
    --repo-border: #e8e9ed;
}

body.stipan-repository {
    margin: 0;
    font-family: "Poppins", Arial, sans-serif;
    color: var(--repo-text);
    background: #fff;
    font-size: 13px;
}

.stipan-repository h1,
.stipan-repository h2,
.stipan-repository h3,
.stipan-repository h4,
.stipan-repository p {
    font-family: "Poppins", Arial, sans-serif;
}

/* HEADER */
.repo-navigation {
    position: relative;
    z-index: 100;
    min-height: 64px;
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
}

.repo-navbar {
    min-height: 64px;
    padding-top: 6px;
    padding-bottom: 6px;
}

.repo-brand {
    padding: 0 !important;
    margin-right: 25px;
}

/* LOGO DIPERKECIL */
.repo-brand img {
    display: block;
    width: auto !important;
    height: 28px !important;
    max-width: 135px !important;
    object-fit: contain;
}

.repo-navigation .nav-link {
    padding: 20px 10px !important;
    color: #333 !important;
    font-size: 12px;
    font-weight: 500;
}

.repo-navigation .dropdown-menu {
    padding: 7px;
    border: 1px solid #eee;
    border-radius: 6px;
    box-shadow: 0 8px 22px rgba(0,0,0,.08);
}

.repo-navigation .dropdown-item {
    padding: 7px 10px;
    font-size: 12px;
}

.repo-login-btn {
    padding: 7px 14px;
    color: #fff !important;
    background: #0874d8;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none !important;
}

/* HERO */
.repo-hero,
.repo-hero-swiper {
    position: relative;
    height: 645px;
    overflow: hidden;
}

.repo-hero-slide {
    position: relative;
    height: 645px;
}

.repo-hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.repo-hero-fallback {
    background: linear-gradient(115deg, #758be7 0%, #8a6cc2 55%, #7b58ad 100%);
}

/* gradasi dibuat cukup kuat agar gambar tidak terlalu dominan,
   seperti screenshot referensi */
.repo-hero-gradient {
    position: absolute;
    z-index: 2;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(
            112deg,
            rgba(101, 128, 226, .91) 0%,
            rgba(126, 107, 196, .91) 52%,
            rgba(119, 82, 171, .92) 100%
        );
}

.repo-hero-gradient::after {
    content: "";
    position: absolute;
    left: -5%;
    right: -5%;
    bottom: -53px;
    height: 145px;
    transform: rotate(-2.2deg);
    background: rgba(90, 81, 190, .55);
}

.repo-hero-content {
    position: absolute;
    z-index: 5;
    top: 0;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translateX(-50%);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 84px;
    pointer-events: none;
}

.repo-hero-content .row,
.repo-hero-content form,
.repo-hero-content a,
.repo-hero-content button,
.repo-hero-content input {
    pointer-events: auto;
}

/* FONT JUDUL DIPERKECIL */
.repo-hero h1 {
    margin: 0 0 22px;
    color: #08aa62;
    font-size: 46px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -.6px;
}

.repo-hero-subtitle {
    max-width: 900px;
    margin: 0 auto 43px;
    color: #fff;
    font-size: 17px;
    font-weight: 500;
    line-height: 1.55;
}

.repo-search {
    max-width: 565px;
    margin: 0 auto;
}

.repo-search-box {
    height: 48px;
    display: flex;
    overflow: hidden;
    background: #fff;
    border-radius: 25px;
}

.repo-search-box input {
    flex: 1;
    min-width: 0;
    padding: 0 22px;
    color: #5c6572;
    background: #fff;
    border: 0;
    outline: none;
    font-size: 14px;
}

.repo-search-box input::placeholder {
    color: #777e88;
}

.repo-search-box button {
    width: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    color: #fff;
    background: #0876d9;
    border: 0;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.repo-advanced-search {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 15px;
    padding: 8px 18px;
    color: #fff !important;
    border: 1px solid rgba(255,255,255,.85);
    border-radius: 22px;
    font-size: 11px;
    font-weight: 500;
    text-decoration: none !important;
}

.repo-stats {
    max-width: 930px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 27px;
    margin: 43px auto 0;
}

.repo-stat {
    min-height: 151px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.28);
    border-radius: 14px;
}

.repo-stat strong {
    color: #13b65f;
    font-size: 36px;
    font-weight: 700;
    line-height: 1;
}

.repo-stat:nth-child(3) strong {
    color: #16aabd;
}

.repo-stat span {
    margin-top: 22px;
    color: #657083;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .05em;
}

.repo-swiper-prev,
.repo-swiper-next {
    z-index: 7;
    width: 48px !important;
    height: 48px !important;
    margin-top: -24px;
    color: rgba(255,255,255,.4) !important;
    background: rgba(255,255,255,.08);
    border-radius: 50%;
}

.repo-swiper-prev {
    left: 3px !important;
}

.repo-swiper-next {
    right: 3px !important;
}

.repo-swiper-prev::after,
.repo-swiper-next::after {
    font-size: 18px !important;
}

.repo-swiper-pagination {
    z-index: 8 !important;
    bottom: 26px !important;
}

.repo-swiper-pagination .swiper-pagination-bullet {
    width: 5px;
    height: 5px;
    background: #fff;
    opacity: .35;
}

.repo-swiper-pagination .swiper-pagination-bullet-active {
    width: 9px;
    border-radius: 6px;
    opacity: .7;
}

/* LATEST COLLECTIONS */
.repo-latest {
    padding: 58px 0 55px;
    background: #fff;
}

.repo-section-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    margin-bottom: 25px;
}

.repo-section-heading h2 {
    margin: 0 0 5px;
    font-size: 25px;
    font-weight: 700;
}

.repo-section-heading p {
    margin: 0;
    color: #7a8492;
    font-size: 12px;
}

.repo-view-all {
    color: #0874d8 !important;
    font-size: 11px;
    font-weight: 600;
    text-decoration: none !important;
}

.repo-card {
    display: flex;
    flex-direction: column;
    padding: 20px;
    background: #fff;
    border: 1px solid #e9ebee;
    border-radius: 9px;
    box-shadow: 0 4px 14px rgba(0,0,0,.035);
}

.repo-card-meta {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
    color: #767f8b;
    font-size: 10px;
}

.repo-type {
    font-weight: 600;
    text-transform: uppercase;
}

.repo-card h3 {
    margin: 0 0 11px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.55;
}

.repo-card h3 a {
    color: #252c35;
    text-decoration: none !important;
}

.repo-card p {
    flex: 1;
    margin: 0;
    color: #707987;
    font-size: 11px;
    line-height: 1.65;
}

.repo-card-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 17px;
    padding-top: 13px;
    border-top: 1px solid #eee;
}

.repo-detail-btn,
.repo-share-btn {
    color: #0874d8 !important;
    background: transparent;
    border: 0;
    padding: 0;
    font-size: 10px;
    font-weight: 600;
    text-decoration: none !important;
    cursor: pointer;
}

/* WHY CHOOSE */
.repo-benefits {
    padding: 47px 0 68px;
    background: #f7f8fa;
}

.repo-benefits-heading {
    margin-bottom: 42px;
}

.repo-benefits-heading h2 {
    margin: 0;
    font-size: 29px;
    font-weight: 700;
}

.repo-heading-line {
    display: block;
    width: 78px;
    height: 3px;
    margin: 7px auto 0;
    background: #0874d8;
    border-radius: 3px;
}

.repo-benefit-card {
    min-height: 215px;
    padding: 35px 28px 28px;
    text-align: center;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 3px 14px rgba(0,0,0,.05);
}

.repo-benefit-icon {
    margin-bottom: 20px;
    font-size: 39px;
    line-height: 1;
}

.repo-benefit-icon.icon-green {
    color: #13ad58;
}

.repo-benefit-icon.icon-cyan {
    color: #24a8ba;
}

.repo-benefit-card h3 {
    margin: 0 0 13px;
    font-size: 13px;
    font-weight: 600;
}

.repo-benefit-card p {
    max-width: 305px;
    margin: 0 auto;
    color: #697486;
    font-size: 12px;
    line-height: 1.6;
}

/* PAGINATION */
.repo-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 7px;
    margin-top: 25px;
}

.repo-pagination a,
.repo-pagination span {
    padding: 5px 9px;
    color: #0874d8;
    border: 1px solid #e4e6e9;
    border-radius: 4px;
    font-size: 10px;
    text-decoration: none !important;
}

.repo-pagination span.active {
    color: #fff;
    background: #0874d8;
    border-color: #0874d8;
}

/* FOOTER SEPERTI REFERENSI */
.repo-footer {
    padding: 39px 0 35px;
    color: rgba(255,255,255,.92);
    background: #31318B;
}

.repo-footer h4 {
    margin: 0 0 15px;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
}

.repo-footer p,
.repo-footer strong,
.repo-footer a {
    font-size: 11px;
}

.repo-footer p {
    margin-bottom: 8px;
    color: rgba(255,255,255,.88);
    line-height: 1.6;
}

.repo-footer strong {
    display: block;
    color: #fff;
    font-weight: 600;
}

.repo-footer a {
    color: #fff !important;
    text-decoration: none !important;
}

/* LOGO FOOTER DIPERKECIL */
.repo-footer-logo {
    width: auto !important;
    height: 30px !important;
    max-width: 125px !important;
    margin-bottom: 10px;
    object-fit: contain;
}

.repo-footer-name {
    font-size: 11px !important;
}

.repo-footer code {
    color: #ff4f70;
    background: transparent;
    font-size: 8px;
}

.repo-social {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.repo-social a {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff !important;
    background: rgba(255,255,255,.12);
    border-radius: 50%;
    font-size: 14px;
}

/* hilangkan padding section dari theme lama */
.stipan-repository main > .section,
.stipan-repository .repo-main > .section {
    padding: 0 !important;
}

/* RESPONSIVE */
@media (max-width: 991.98px) {
    .repo-brand img {
    display: block;
    width: auto !important;
    height: 28px !important;
    max-width: 135px !important;
    object-fit: contain;
}

@media (max-width: 767.98px) {
    .repo-hero,
    .repo-hero-swiper,
    .repo-hero-slide {
        height: 690px;
    }

    .repo-hero-content {
        padding-top: 65px;
    }

    .repo-hero h1 {
        font-size: 33px;
    }

    .repo-hero-subtitle {
        font-size: 13px;
        margin-bottom: 28px;
    }

    .repo-search-box {
        height: 45px;
    }

    .repo-search-box button {
        width: 92px;
    }

    .repo-stats {
        grid-template-columns: 1fr;
        max-width: 300px;
        gap: 10px;
        margin-top: 28px;
    }

    .repo-stat {
        min-height: 88px;
    }

    .repo-stat strong {
        font-size: 26px;
    }

    .repo-stat span {
        margin-top: 9px;
    }

    .repo-section-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .repo-benefits-heading h2 {
        font-size: 24px;
    }
}


/* =========================================================
   STIPAN BLUE OVERRIDE
   Warna diambil dari background logo STIPAN: #31318B
   ========================================================= */
.repo-footer {
    background: #31318B !important;
    color: rgba(255,255,255,.92) !important;
}

.repo-footer h4,
.repo-footer strong,
.repo-footer a,
.repo-footer p,
.repo-footer .repo-footer-name {
    color: #ffffff !important;
}

.repo-footer code {
    color: #ffffff !important;
    opacity: .78;
}

.repo-social a {
    background: rgba(255,255,255,.14) !important;
    border: 1px solid rgba(255,255,255,.18);
}

.repo-social a:hover {
    background: rgba(255,255,255,.24) !important;
}

/* Paksa ukuran logo agar tidak kembali membesar karena CSS theme lama */
.repo-navigation .repo-brand img {
    width: auto !important;
    height: 28px !important;
    max-height: 28px !important;
    max-width: 135px !important;
}

.repo-footer .repo-footer-logo {
    width: auto !important;
    height: 30px !important;
    max-height: 30px !important;
    max-width: 125px !important;
}


/* =========================================================
   FINAL FOOTER + HERO REFINEMENT
   ========================================================= */

/* Judul hero putih */
.repo-hero h1 {
    color: #ffffff !important;
}

/* Statistik: 40+ dan 1000+ putih; 24+ tetap aksen cyan */
.repo-stat:nth-child(1) strong,
.repo-stat:nth-child(2) strong {
    color: #ffffff !important;
}

.repo-stat:nth-child(3) strong {
    color: #16aabd !important;
}

/* Logo footer diperkecil dan tidak boleh di-override theme lama */
.repo-footer .repo-footer-logo {
    display: block !important;
    width: 260px !important;
    max-width: 260px !important;
    height: auto !important;
    max-height: none !important;
    margin: 0 auto 18px !important;
    object-fit: contain !important;
}

/* Footer kiri dibuat lebih compact */
.repo-footer-name {
    margin-top: 0 !important;
    margin-bottom: 12px !important;
    font-size: 18px !important;
    font-weight: 700 !important;
}

/* Kontak dirapikan */
.repo-contact-box {
    max-width: 350px;
    margin: 0 auto;
    text-align: left;
}

.repo-contact-box h4 {
    margin: 0 0 18px !important;
    color: #ffffff !important;
    font-size: 16px !important;
    font-weight: 700 !important;
}

.repo-contact-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
}

.repo-contact-icon {
    flex: 0 0 18px;
    width: 18px;
    padding-top: 1px;
    color: #ffffff;
    text-align: center;
    font-size: 14px;
    line-height: 1.5;
}

.repo-contact-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    color: rgba(255,255,255,.92);
    font-size: 13px;
    line-height: 1.55;
}

.repo-contact-text a {
    color: #ffffff !important;
    font-size: 13px !important;
    text-decoration: none !important;
}

.repo-contact-text strong {
    display: block;
    margin-bottom: 2px;
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 600 !important;
}

.repo-contact-text span {
    display: block;
    color: rgba(255,255,255,.92) !important;
    font-size: 13px;
}

/* Media sosial tetap rata dan compact */
.repo-footer .col-lg-4:last-child h4 {
    font-size: 16px !important;
    font-weight: 700 !important;
}

.repo-footer .repo-social {
    margin-top: 16px !important;
}

/* Responsive */
@media (max-width: 991.98px) {
    .repo-footer .repo-footer-logo {
        width: 220px !important;
        max-width: 220px !important;
    }

    .repo-contact-box {
        max-width: 320px;
    }
}

@media (max-width: 767.98px) {
    .repo-footer .repo-footer-logo {
        width: 190px !important;
        max-width: 190px !important;
    }

    .repo-contact-box {
        max-width: 290px;
        text-align: left;
    }
}


/* =========================================================
   VIEW ALL COLLECTIONS / ALL COLLECTIONS PAGE
   ========================================================= */

.repo-view-all {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    padding: 9px 15px;
    color: #31318B !important;
    background: #ffffff;
    border: 1px solid #31318B;
    border-radius: 6px;
    font-size: 11px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: all .2s ease;
}

.repo-view-all:hover {
    color: #ffffff !important;
    background: #31318B;
}

.collections-page {
    padding: 42px 0 70px;
    background: #f8f9fb;
    min-height: 70vh;
}

.collections-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    color: #8a93a1;
    font-size: 11px;
}

.collections-breadcrumb a {
    color: #31318B !important;
    font-weight: 600;
    text-decoration: none !important;
}

.collections-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    margin-bottom: 28px;
    padding-bottom: 22px;
    border-bottom: 1px solid #e4e7ec;
}

.collections-heading h1 {
    margin: 0 0 7px;
    color: #242a34;
    font-size: 30px;
    font-weight: 700;
}

.collections-heading p {
    margin: 0;
    color: #707a89;
    font-size: 12px;
}

.collections-heading p strong {
    color: #31318B;
}

.collections-back {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 13px;
    color: #31318B !important;
    background: #fff;
    border: 1px solid #dddfea;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    text-decoration: none !important;
}

.collection-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 115px;
    gap: 24px;
    margin-bottom: 16px;
    padding: 22px;
    background: #ffffff;
    border: 1px solid #e8eaf0;
    border-radius: 9px;
    box-shadow: 0 3px 12px rgba(28, 37, 54, .035);
    transition: box-shadow .18s ease, transform .18s ease;
}

.collection-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(28, 37, 54, .07);
}

.collection-main {
    min-width: 0;
}

.collection-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 9px;
    font-size: 10px;
}

.collection-gmd {
    color: #31318B;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .03em;
}

.collection-date {
    color: #8a93a1;
}

.collection-date i {
    margin-right: 4px;
}

.collection-item h2 {
    margin: 0 0 10px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.55;
}

.collection-item h2 a {
    color: #242a34 !important;
    text-decoration: none !important;
}

.collection-item h2 a:hover {
    color: #31318B !important;
}

.collection-abstract {
    margin: 0;
    color: #697383;
    font-size: 11px;
    line-height: 1.7;
}

.collection-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 16px;
    padding-top: 13px;
    border-top: 1px solid #eff0f3;
}

.collection-share {
    display: flex;
    align-items: center;
    gap: 7px;
}

.collection-share > span {
    margin-right: 2px;
    color: #8a93a1;
    font-size: 10px;
}

.collection-share a {
    width: 25px;
    height: 25px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff !important;
    background: #31318B;
    border-radius: 50%;
    font-size: 10px;
    text-decoration: none !important;
}

.collection-detail {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #31318B !important;
    font-size: 10px;
    font-weight: 700;
    text-decoration: none !important;
}

.collection-cover {
    width: 100%;
    height: 150px;
    display: block;
    overflow: hidden;
    background: #f1f2f7;
    border-radius: 5px;
    text-decoration: none !important;
}

.collection-cover img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.collection-cover-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9da4b1;
    background:
        linear-gradient(145deg, #f4f5f8, #e8eaf0);
    font-size: 35px;
}

.collections-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin-top: 30px;
}

.pagination-page,
.pagination-arrow,
.pagination-dots {
    min-width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    font-size: 11px;
}

.pagination-page,
.pagination-arrow {
    color: #5e6877 !important;
    background: #fff;
    border: 1px solid #e1e4e9;
    text-decoration: none !important;
}

.pagination-page.active {
    color: #fff !important;
    background: #31318B;
    border-color: #31318B;
    font-weight: 700;
}

.pagination-dots {
    color: #8f97a3;
}

.collections-summary {
    margin: 13px 0 0;
    color: #89919c;
    text-align: center;
    font-size: 10px;
}

.collections-empty {
    padding: 60px 20px;
    text-align: center;
    background: #fff;
    border: 1px solid #e7e9ed;
    border-radius: 9px;
}

.collections-empty i {
    margin-bottom: 12px;
    color: #afb5bf;
    font-size: 38px;
}

.collections-empty h2 {
    margin-bottom: 6px;
    font-size: 17px;
}

.collections-empty p {
    margin: 0;
    color: #808996;
    font-size: 11px;
}

@media (max-width: 767.98px) {
    .collections-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .collections-heading h1 {
        font-size: 25px;
    }

    .collection-item {
        grid-template-columns: 1fr;
    }

    .collection-cover {
        width: 90px;
        height: 120px;
        grid-row: 1;
    }

    .collection-actions {
        align-items: flex-start;
        flex-direction: column;
    }
}


/* =========================================================
   ALL COLLECTIONS - REFERENCE STYLE
   ========================================================= */

.collections-reference-page {
    padding: 48px 0 72px !important;
    background: #ffffff !important;
    min-height: 70vh;
    font-family: "Poppins", Arial, sans-serif;
}

.collections-reference-page .container {
    max-width: 1210px;
}

.collections-reference-breadcrumb {
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin-bottom: 18px;
    color: #8a9099;
    background: #ffffff;
    border: 1px solid #e9e9e9;
    border-radius: 9px;
    font-size: 9px;
    letter-spacing: .16em;
}

.collections-reference-breadcrumb a {
    color: #18ad72 !important;
    font-weight: 700;
    text-decoration: none !important;
}

.collections-reference-breadcrumb strong {
    color: #7f8791;
    font-weight: 600;
}

.collections-reference-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 385px;
    align-items: start;
    gap: 20px;
    margin-bottom: 72px;
}

.collections-reference-title h1 {
    margin: 0 0 6px;
    color: #070707;
    font-size: 27px;
    font-weight: 700;
    letter-spacing: -.03em;
}

.collections-reference-title p {
    margin: 0;
    color: #6f7885;
    font-size: 12px;
    line-height: 1.6;
}

.collections-reference-title p i {
    margin-right: 7px;
    color: #5f6872;
}

.collections-reference-title p strong {
    color: #10aa6f;
    font-weight: 700;
}

.collections-reference-back {
    justify-self: start;
    margin-top: 26px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-width: 160px;
    height: 42px;
    padding: 0 18px;
    color: #13af72 !important;
    background: #ffffff;
    border: 1.5px solid #13af72;
    border-radius: 24px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none !important;
    transition: .2s ease;
}

.collections-reference-back:hover {
    color: #ffffff !important;
    background: #13af72;
}

.collections-reference-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.collections-reference-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 370px;
    min-height: 327px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #f0f1f2;
    border-radius: 5px;
    box-shadow: 0 2px 9px rgba(0,0,0,.025);
}

.collections-reference-content {
    padding: 23px 22px 25px 22px;
}

.collections-reference-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 12px;
}

.collections-reference-type,
.collections-reference-date {
    font-size: 10px;
    font-weight: 600;
}

.collections-reference-type {
    color: #13ae74;
}

.collections-reference-type i {
    margin-right: 5px;
}

.collections-reference-date {
    color: #89919b;
}

.collections-reference-date i {
    margin-right: 5px;
}

.collections-reference-content h2 {
    max-width: 760px;
    margin: 0 0 14px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.42;
    text-transform: uppercase;
}

.collections-reference-content h2 a {
    color: #42474d !important;
    text-decoration: none !important;
}

.collections-reference-content h2 a:hover {
    color: #12a96f !important;
}

.collections-reference-abstract {
    max-width: 760px;
    margin: 0;
    color: #7d858f;
    font-size: 11px;
    line-height: 1.75;
    text-transform: uppercase;
}

.collections-reference-share {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 27px;
}

.collections-reference-share > span {
    margin-right: 3px;
    color: #8a9199;
    font-size: 10px;
}

.collections-reference-share a {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 5px;
    font-size: 11px;
    text-decoration: none !important;
}

.collections-reference-share .share-facebook {
    color: #18b678 !important;
    border: 1px solid #18b678;
}

.collections-reference-share .share-twitter {
    color: #18a9d1 !important;
    border: 1px solid #18a9d1;
}

.collections-reference-share .share-linkedin {
    color: #59636d !important;
    border: 1px solid #7a848e;
}

.collections-reference-side {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 20px 20px 22px;
}

.collections-reference-cover {
    width: 168px;
    height: 223px;
    align-self: center;
    display: block;
    overflow: hidden;
    background: #f4f5f6;
    border-radius: 2px;
    box-shadow: 0 3px 12px rgba(0,0,0,.10);
    text-decoration: none !important;
}

.collections-reference-cover img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.collections-reference-cover-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a2a9b1;
    background: linear-gradient(145deg, #f5f6f7, #e9ebed);
    font-size: 34px;
}

.collections-reference-detail {
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin-top: 16px;
    color: #ffffff !important;
    background: #0e7deb;
    border-radius: 24px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none !important;
    transition: .2s ease;
}

.collections-reference-detail:hover {
    color: #ffffff !important;
    background: #066fd5;
}

.collections-reference-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 32px;
}

.collections-reference-pagination a,
.collections-reference-pagination span {
    min-width: 33px;
    height: 33px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    font-size: 10px;
}

.collections-reference-pagination a {
    color: #59616b !important;
    background: #ffffff;
    border: 1px solid #e3e5e7;
    text-decoration: none !important;
}

.collections-reference-pagination .page-number.active {
    color: #ffffff !important;
    background: #0e7deb;
    border: 1px solid #0e7deb;
}

.collections-reference-pagination .dots {
    color: #9198a0;
}

.collections-reference-summary {
    margin-top: 11px;
    color: #8c939b;
    text-align: center;
    font-size: 9px;
}

.collections-reference-empty {
    padding: 60px 20px;
    text-align: center;
    background: #ffffff;
    border: 1px solid #eee;
    border-radius: 5px;
}

.collections-reference-empty i {
    color: #aaa;
    font-size: 36px;
}

.collections-reference-empty h2 {
    margin: 12px 0 6px;
    font-size: 17px;
}

.collections-reference-empty p {
    margin: 0;
    color: #888;
    font-size: 11px;
}

@media (max-width: 991.98px) {
    .collections-reference-head {
        grid-template-columns: 1fr auto;
    }

    .collections-reference-card {
        grid-template-columns: minmax(0, 1fr) 275px;
    }

    .collections-reference-side {
        padding-left: 15px;
        padding-right: 15px;
    }

    .collections-reference-cover {
        width: 150px;
        height: 200px;
    }
}

@media (max-width: 767.98px) {
    .collections-reference-page {
        padding-top: 25px !important;
    }

    .collections-reference-head {
        grid-template-columns: 1fr;
        margin-bottom: 35px;
    }

    .collections-reference-back {
        margin-top: 4px;
    }

    .collections-reference-card {
        grid-template-columns: 1fr;
    }

    .collections-reference-side {
        border-top: 1px solid #f0f0f0;
    }

    .collections-reference-meta {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }

    .collections-reference-content h2,
    .collections-reference-abstract {
        text-transform: none;
    }

    .collections-reference-detail {
        max-width: 320px;
        width: 100%;
        align-self: center;
    }
}
