
:root {
    --csj-r-bg: rgba(82, 39, 107, .92);
    --csj-r-bg-2: rgba(99, 49, 128, .94);
    --csj-r-border: rgba(242, 232, 255, .22);
    --csj-r-text: #fffaff;
    --csj-r-soft: #eee5f5;
    --csj-r-muted: #cfbfdc;
    --csj-r-accent: #c9a7ff;
    --csj-r-accent-2: #8b5cf6;
    --csj-r-shadow: 0 18px 44px rgba(45, 16, 61, .22);
}

.csj-research-home,
.csj-research-hub {
    width: min(1280px, calc(100% - 32px));
    margin: 72px auto;
}

.csj-research-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
}

.csj-research-section-head--latest {
    margin-top: 62px;
}

.csj-research-section-head span,
.csj-research-hub__hero > span,
.csj-journal-partner-cta span {
    display: block;
    color: #ead7ff;
    font-size: .75rem;
    font-weight: 850;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.csj-research-section-head h2 {
    margin: 8px 0 0;
    font-size: clamp(2rem, 4vw, 3.45rem);
}

.csj-research-section-head p {
    max-width: 760px;
    margin-bottom: 0;
    line-height: 1.7;
}

.csj-research-section-head > a {
    color: #eddcff !important;
    font-weight: 850;
    text-decoration: none;
    white-space: nowrap;
}

.csj-research-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 17px;
}

.csj-research-grid--featured .csj-research-card:first-child {
    grid-column: span 2;
}

.csj-research-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--csj-r-border);
    border-radius: 16px;
    background: linear-gradient(145deg, var(--csj-r-bg-2), var(--csj-r-bg));
    box-shadow: var(--csj-r-shadow);
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.csj-research-card:hover {
    transform: translateY(-4px);
    border-color: rgba(235, 216, 255, .46);
    box-shadow: 0 24px 56px rgba(45, 16, 61, .32);
}

.csj-research-card__visual {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    min-height: 94px;
    padding: 17px;
    overflow: hidden;
    color: #fff !important;
    text-decoration: none !important;
    background:
        radial-gradient(circle at 84% 8%, rgba(255,255,255,.26), transparent 9rem),
        repeating-linear-gradient(135deg, rgba(255,255,255,.03) 0 1px, transparent 1px 15px),
        linear-gradient(135deg, #9b64bc, #60347a);
}

.csj-research-card__visual::before,
.csj-research-card__visual::after {
    content: "";
    position: absolute;
    width: 140px;
    height: 140px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 50%;
}

.csj-research-card__visual::before {
    right: -54px;
    top: -74px;
}

.csj-research-card__visual::after {
    right: 18px;
    top: -101px;
}

.csj-research-card__mark,
.csj-research-card__field {
    position: relative;
    z-index: 1;
}

.csj-research-card__mark {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.45rem;
    font-weight: 900;
    letter-spacing: .06em;
}

.csj-research-card__field {
    max-width: 66%;
    text-align: right;
    font-size: .66rem;
    font-weight: 850;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.csj-research-card__body {
    padding: 18px;
}

.csj-research-card__labels {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}

.csj-research-card__labels span,
.csj-research-card__labels em {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 8px;
    border-radius: 999px;
    font-size: .61rem;
    font-style: normal;
    font-weight: 850;
    letter-spacing: .06em;
    line-height: 1.2;
    text-transform: uppercase;
}

.csj-research-card__labels span {
    color: #fff;
    background: rgba(152, 92, 206, .92);
    border: 1px solid rgba(255,255,255,.17);
}

.csj-research-card__labels em {
    color: #fbe8d8;
    background: rgba(167, 90, 57, .28);
    border: 1px solid rgba(245, 190, 152, .28);
}

.csj-research-card h3 {
    margin: 0 0 10px;
    font-size: 1.22rem;
    line-height: 1.24;
}

.csj-research-card h3 a {
    color: #fff !important;
    text-decoration: none;
}

.csj-research-card__author {
    color: #f0e5f7;
    font-size: .84rem;
    font-weight: 750;
}

.csj-research-card__source {
    margin-top: 3px;
    color: var(--csj-r-muted);
    font-size: .78rem;
}

.csj-research-card p {
    display: -webkit-box;
    min-height: 4.4em;
    margin: 13px 0 0;
    overflow: hidden;
    color: var(--csj-r-soft);
    font-size: .88rem;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.csj-research-card__footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 10px;
    margin-top: 16px;
    padding-top: 13px;
    border-top: 1px solid rgba(242,232,255,.14);
}

.csj-research-card__footer > div {
    display: flex;
    align-items: center;
    gap: 7px;
    color: var(--csj-r-muted);
    font-size: .69rem;
}

.csj-doi-badge {
    display: inline-flex;
    align-items: center;
    min-height: 20px;
    padding: 0 6px;
    color: #fff;
    background: rgba(255,255,255,.10);
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 5px;
    font-weight: 850;
}

.csj-research-card__footer > a {
    color: #ead7ff !important;
    font-size: .74rem;
    font-weight: 850;
    text-align: right;
    text-decoration: none;
}

.csj-research-empty {
    padding: 22px;
    border: 1px solid var(--csj-r-border);
    border-radius: 14px;
    background: rgba(255,255,255,.05);
}

.csj-journal-partner-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 34px;
    margin-top: 64px;
    padding: clamp(30px, 5vw, 52px);
    border: 1px solid var(--csj-r-border);
    border-radius: 22px;
    background:
        radial-gradient(circle at 90% 0%, rgba(231, 212, 255, .20), transparent 22rem),
        linear-gradient(135deg, rgba(108, 55, 139, .98), rgba(70, 31, 92, .98));
    box-shadow: var(--csj-r-shadow);
}

.csj-journal-partner-cta h2 {
    margin: 10px 0;
    font-size: clamp(2rem, 3.6vw, 3.2rem);
}

.csj-journal-partner-cta p {
    max-width: 800px;
    margin-bottom: 0;
    line-height: 1.72;
}

.csj-journal-partner-cta > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 22px;
    color: #fff !important;
    background: linear-gradient(135deg, #bc91ff, #7c3aed);
    border: 1px solid rgba(255,255,255,.26);
    border-radius: 10px;
    font-weight: 850;
    text-decoration: none;
    white-space: nowrap;
}

.csj-research-hub__hero {
    padding: clamp(38px, 6vw, 72px);
    border: 1px solid var(--csj-r-border);
    border-radius: 24px;
    background:
        radial-gradient(circle at 90% 0%, rgba(236, 220, 255, .24), transparent 24rem),
        linear-gradient(135deg, rgba(111, 57, 142, .98), rgba(70, 31, 93, .98));
    box-shadow: var(--csj-r-shadow);
}

.csj-research-hub__hero h1 {
    max-width: 1040px;
    margin: 16px 0;
    font-size: clamp(2.6rem, 5vw, 5.1rem);
    line-height: 1.02;
}

.csj-research-hub__hero p {
    max-width: 920px;
    margin-bottom: 0;
    font-size: 1.16rem;
    line-height: 1.75;
}

.csj-research-hub__principles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin: 18px 0 64px;
}

.csj-research-hub__principles article {
    padding: 22px;
    border: 1px solid var(--csj-r-border);
    border-radius: 15px;
    background: rgba(90, 43, 117, .80);
}

.csj-research-hub__principles strong,
.csj-research-hub__principles span {
    display: block;
}

.csj-research-hub__principles strong {
    color: #fff;
    margin-bottom: 7px;
}

.csj-research-hub__principles span {
    line-height: 1.6;
}

.csj-research-hub__section {
    margin: 66px 0;
}

.csj-research-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 22px;
}

.csj-research-filters button {
    min-height: 38px;
    padding: 0 14px;
    color: #f4ecf8 !important;
    background: rgba(255,255,255,.055) !important;
    border: 1px solid rgba(242,232,255,.20) !important;
    border-radius: 999px !important;
    box-shadow: none !important;
    font-size: .78rem;
    font-weight: 800;
}

.csj-research-filters button:hover,
.csj-research-filters button.is-active {
    color: #fff !important;
    background: linear-gradient(135deg, #a56cf5, #7c3aed) !important;
}

.csj-research-filterable .csj-research-card.is-hidden {
    display: none;
}

/* Single Research Record */
.csj-single-research-record .entry-header,
.csj-single-research-record .hero-section[data-type="type-1"] {
    display: none !important;
}

.csj-research-record {
    width: min(1180px, calc(100% - 32px));
    margin: 48px auto 76px;
}

.csj-research-record__banner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 170px;
    gap: 34px;
    align-items: center;
    min-height: 260px;
    padding: clamp(32px, 5vw, 60px);
    border: 1px solid var(--csj-r-border);
    border-radius: 24px;
    background:
        radial-gradient(circle at 87% 15%, rgba(255,255,255,.22), transparent 18rem),
        repeating-linear-gradient(135deg, rgba(255,255,255,.025) 0 1px, transparent 1px 18px),
        linear-gradient(135deg, rgba(117, 61, 149, .98), rgba(67, 29, 90, .98));
    box-shadow: var(--csj-r-shadow);
}

.csj-research-record__banner h1 {
    margin: 16px 0;
    font-size: clamp(2.3rem, 4.7vw, 4.5rem);
    line-height: 1.03;
}

.csj-research-record__banner p {
    max-width: 850px;
    margin-bottom: 0;
    font-size: 1.08rem;
    line-height: 1.72;
}

.csj-research-record__labels {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.csj-research-record__labels span,
.csj-research-record__labels em {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: .68rem;
    font-style: normal;
    font-weight: 850;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.csj-research-record__labels span {
    color: #fff;
    background: rgba(169, 104, 225, .70);
    border: 1px solid rgba(255,255,255,.18);
}

.csj-research-record__labels em {
    color: #ffe8d7;
    background: rgba(151, 71, 43, .26);
    border: 1px solid rgba(246, 191, 152, .27);
}

.csj-research-record__seal {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,.27);
    border-radius: 50%;
    background: rgba(255,255,255,.06);
    box-shadow: inset 0 0 0 12px rgba(255,255,255,.025);
}

.csj-research-record__seal strong {
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2.4rem;
}

.csj-research-record__seal span {
    max-width: 100px;
    color: #e9d8f6;
    font-size: .62rem;
    font-weight: 850;
    letter-spacing: .08em;
    text-align: center;
    text-transform: uppercase;
}

.csj-research-record__metadata {
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 12px;
    margin: 18px 0 28px;
}

.csj-research-record__metadata > div {
    padding: 17px;
    border: 1px solid var(--csj-r-border);
    border-radius: 13px;
    background: rgba(89, 43, 116, .82);
}

.csj-research-record__metadata span,
.csj-research-record__metadata strong {
    display: block;
}

.csj-research-record__metadata span {
    margin-bottom: 5px;
    color: var(--csj-r-muted);
    font-size: .68rem;
    font-weight: 850;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.csj-research-record__metadata strong {
    color: #fff;
    font-size: .88rem;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.csj-research-record__summary {
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 14px;
    margin: 28px 0;
}

.csj-research-record__summary article {
    padding: 22px;
    border: 1px solid var(--csj-r-border);
    border-radius: 15px;
    background: linear-gradient(145deg, rgba(101, 49, 130, .94), rgba(79, 37, 103, .94));
}

.csj-research-record__summary span {
    display: block;
    margin-bottom: 9px;
    color: #e9d8f7;
    font-size: .72rem;
    font-weight: 850;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.csj-research-record__summary p {
    margin: 0;
    font-size: .9rem;
    line-height: 1.66;
}

.csj-research-record__keywords {
    display: grid;
    grid-template-columns: 140px minmax(0,1fr);
    gap: 20px;
    align-items: center;
    margin: 28px 0;
    padding: 20px 24px;
    border: 1px solid var(--csj-r-border);
    border-radius: 14px;
    background: rgba(255,255,255,.05);
}

.csj-research-record__keywords strong {
    color: #fff;
}

.csj-research-record__keywords p {
    margin: 0;
}

.csj-research-record__content {
    margin: 36px 0;
    padding: clamp(28px, 4.5vw, 56px);
    border: 1px solid var(--csj-r-border);
    border-radius: 20px;
    background: rgba(84, 40, 109, .88);
    box-shadow: var(--csj-r-shadow);
}

.csj-research-record__content h2 {
    margin-top: 42px;
    font-size: clamp(1.7rem, 3vw, 2.5rem);
}

.csj-research-record__content h2:first-child {
    margin-top: 0;
}

.csj-research-record__content p,
.csj-research-record__content li {
    line-height: 1.82;
}

.csj-research-record__citation {
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    gap: 28px;
    align-items: center;
    padding: 28px;
    border: 1px solid var(--csj-r-border);
    border-radius: 17px;
    background: linear-gradient(145deg, rgba(100, 48, 129, .94), rgba(73, 33, 96, .94));
}

.csj-research-record__citation span {
    display: block;
    margin-bottom: 8px;
    color: var(--csj-r-muted);
    font-size: .72rem;
    font-weight: 850;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.csj-research-record__citation p {
    margin: 0;
    line-height: 1.65;
}

.csj-research-record__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.csj-research-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 18px;
    color: #fff !important;
    background: rgba(255,255,255,.08) !important;
    border: 1px solid rgba(255,255,255,.20) !important;
    border-radius: 9px !important;
    box-shadow: none !important;
    font-weight: 850;
    text-decoration: none !important;
}

.csj-research-button--primary {
    background: linear-gradient(135deg, #b98cff, #7c3aed) !important;
}

.csj-copy-citation.is-copied {
    background: linear-gradient(135deg, #5ba67a, #367d55) !important;
}

.csj-research-record__notice {
    margin-top: 20px;
    padding: 22px;
    border-left: 4px solid #c9a7ff;
    border-radius: 0 14px 14px 0;
    background: rgba(184, 139, 246, .11);
}

.csj-research-record__notice strong {
    color: #fff;
}

.csj-research-record__notice p {
    margin: 7px 0 0;
    line-height: 1.68;
}

@media (max-width: 1100px) {
    .csj-research-grid {
        grid-template-columns: repeat(3, minmax(0,1fr));
    }

    .csj-research-record__metadata,
    .csj-research-record__summary {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }
}

@media (max-width: 820px) {
    .csj-research-grid {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }

    .csj-research-grid--featured .csj-research-card:first-child {
        grid-column: span 1;
    }

    .csj-research-record__banner {
        grid-template-columns: 1fr;
    }

    .csj-research-record__seal {
        width: 140px;
    }

    .csj-research-record__citation {
        grid-template-columns: 1fr;
    }

    .csj-research-record__actions {
        justify-content: flex-start;
    }

    .csj-journal-partner-cta {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 620px) {
    .csj-research-home,
    .csj-research-hub,
    .csj-research-record {
        width: min(100% - 20px, 1280px);
    }

    .csj-research-section-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .csj-research-grid,
    .csj-research-hub__principles,
    .csj-research-record__metadata,
    .csj-research-record__summary {
        grid-template-columns: 1fr;
    }

    .csj-research-record__keywords {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .csj-research-record__banner,
    .csj-research-record__content,
    .csj-research-record__citation,
    .csj-journal-partner-cta {
        padding: 25px;
    }
}
