.journal-portal {
    max-width: 1280px;
    margin: 0 auto;
    background: #f5f5f5;
    color: #333;
    font-family: __Inter_aaf875, __Inter_Fallback_aaf875, Arial, sans-serif;
    font-size: 14px;
    font-style: normal;
}
.journal-portal *,
.journal-portal *::before,
.journal-portal *::after {
    box-sizing: border-box;
}

.journal-portal__top {
    background: #fff;
}

.journal-catalog-search {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: #fff;
    color: #333;
    font-size: 14px;
}

.journal-catalog-search__field {
    display: flex;
    align-items: center;
    min-width: 0;
    margin: 0 16px 8px 0;
}

.journal-catalog-search__field label,
.journal-catalog-search__label {
    flex: 0 0 auto;
    margin-right: 8px;
    white-space: nowrap;
}

.journal-catalog-search input[type="text"],
.journal-catalog-search select,
.journal-name-picker__trigger {
    height: 32px;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    background: #fff;
    color: #333;
    font-size: 14px;
    line-height: 30px;
    outline-color: #008868;
}

.journal-catalog-search input[type="text"] {
    width: 190px;
    padding: 0 8px;
}

.journal-catalog-search select {
    width: 174px;
    padding: 0 8px;
}

.journal-name-picker {
    position: relative;
    z-index: 20;
    width: 220px;
    flex: 0 0 220px;
}

.journal-name-picker__trigger {
    display: flex;
    width: 220px;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px;
    text-align: left;
}

.journal-name-picker__value {
    display: block;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.journal-name-picker__trigger i {
    width: 0;
    height: 0;
    margin-left: 8px;
    border-right: 4px solid transparent;
    border-left: 4px solid transparent;
    border-top: 6px solid #6b7280;
    flex: 0 0 auto;
}

.journal-name-picker__menu {
    position: absolute;
    top: calc(100% + 3px);
    left: 0;
    z-index: 40;
    width: 220px;
    max-height: 320px;
    overflow-x: hidden;
    overflow-y: auto;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .14);
}

.journal-name-picker__menu[hidden] {
    display: none;
}

.journal-name-picker__menu button {
    display: block;
    width: 100%;
    padding: 7px 10px;
    color: #333;
    font-size: 13px;
    line-height: 18px;
    text-align: left;
    white-space: normal;
    overflow-wrap: anywhere;
}

.journal-name-picker__menu button:hover,
.journal-name-picker__menu button[aria-selected="true"] {
    background: #e8f5e9;
    color: #00795e;
}

.journal-catalog-search__submit {
    margin: 0 0 8px;
    border-radius: 4px;
    padding: 4px 8px;
    background: #008868;
    color: #fff;
    font-size: 14px;
    line-height: 20px;
}

.journal-portal__grid {
    display: grid;
    grid-template-columns: 256px minmax(0, 1fr) 256px;
    gap: 15px;
    align-items: start;
    padding: 15px;
}

.journal-portal__left,
.journal-portal__right {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 15px;
}

/* Root homepage-only controls keep their content while sharing the catalog UI. */
.journal-portal--home .portal-submit-wrap {
    padding: 12px;
    background: #fff;
}

.journal-portal--home .portal-submit-button {
    width: 100%;
    border: 0;
    border-radius: 4px;
    padding: 10px;
    background: #008868;
    color: #fff;
    font-size: 15px;
    line-height: 20px;
    font-weight: 700;
    cursor: pointer;
}

.journal-portal--home .portal-submit-button:hover {
    background: #006f56;
}

.portal-panel,
.journal-catalog {
    min-width: 0;
    background: #fff;
}

.portal-panel__title {
    margin: 0;
    padding: 8px 16px 8px 24px;
    background-color: #fff;
    background-image: linear-gradient(#00795e, #00795e);
    background-position: 12px center;
    background-repeat: no-repeat;
    background-size: 4px 1em;
    color: #444;
    font-size: 16px;
    line-height: 24px;
    font-weight: 700;
}

.portal-link-list,
.portal-content-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 10px 16px 16px;
}

.portal-link-list a,
.portal-content-list a {
    display: flex;
    min-width: 0;
    align-items: center;
    color: #444;
    font-size: 13px;
    line-height: 16px;
    text-decoration: none;
}

.portal-link-list a > span,
.portal-content-list a > span {
    width: 4px;
    height: 4px;
    margin-right: 8px;
    border-radius: 50%;
    background: #6b7280;
    flex: 0 0 4px;
}

.portal-link-list a:hover,
.portal-link-list a.is-active,
.portal-content-list a:hover {
    color: #008868;
    font-weight: 700;
    text-decoration: underline;
}

.portal-link-list a:hover > span,
.portal-link-list a.is-active > span,
.portal-content-list a:hover > span {
    background: #008868;
}

.portal-content-list strong {
    display: block;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 400;
}

.journal-catalog__header {
    overflow: hidden;
    background: linear-gradient(135deg, #00795e 0%, #004d3a 100%);
    color: #fff;
}

.journal-catalog__title {
    position: relative;
    display: flex;
    min-height: 37px;
    align-items: center;
    overflow: hidden;
    padding: 8px 32px 5px 12px;
}

.journal-catalog__title > i {
    width: 4px;
    height: 16px;
    margin-right: 8px;
    background: #fff;
    flex: 0 0 4px;
}

.journal-catalog__title h1 {
    margin: 0;
    color: #fff;
    font-size: 16px;
    line-height: 24px;
    font-weight: 700;
}

.journal-catalog__title strong {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, .35);
    font-size: 16px;
    line-height: 1;
    font-style: normal;
    font-weight: 900;
    pointer-events: none;
    user-select: none;
}

.journal-catalog__filter {
    display: flex;
    min-height: 32px;
    align-items: center;
    gap: 8px;
    padding: 4px 32px 12px 12px;
    color: #fff;
    font-size: 13px;
    line-height: 16px;
}

.journal-catalog__filter > span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.journal-catalog__filter > span > i {
    width: 0;
    height: 0;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-left: 7px solid #fff;
}

.journal-catalog__filter strong {
    color: #fff;
    text-decoration: underline;
}

.filter-chip {
    display: inline-flex;
    max-width: 65%;
    align-items: center;
    gap: 4px;
    border: 1px solid #fff;
    border-radius: 5px;
    padding: 2px 8px;
    color: #fff;
    font-size: 12px;
    line-height: 16px;
    text-decoration: none;
}

.filter-chip b {
    color: #fff;
    font-size: 13px;
    line-height: 1;
}

.journal-card {
    display: flex;
    gap: 12px;
    padding: 18px 22px 18px 17px;
    border-bottom: 1px solid #e5e7eb;
    color: inherit;
    text-decoration: none;
    transition: background-color .2s ease;
}

.journal-card:last-child {
    border-bottom: 0;
}

.journal-card:hover {
    background: #e8f5e9;
}

.journal-card:hover h2 {
    color: #00795e;
    text-decoration: underline;
}

.journal-card__cover {
    width: 144px;
    height: auto;
    align-self: flex-start;
    background: #f1f3f4;
    box-shadow: 5px 5px 10px rgba(0, 136, 104, .3);
    flex: 0 0 144px;
}

.journal-card__body {
    display: flex;
    min-width: 0;
    align-self: stretch;
    flex: 1;
    flex-direction: column;
    overflow: hidden;
}

.journal-card__body h2 {
    margin: 0;
    color: #333;
    font-size: 18px;
    line-height: 28px;
    font-weight: 700;
}

.journal-card__subtitle {
    overflow: hidden;
    color: #777;
    font-size: 13px;
    line-height: 16px;
    font-style: italic;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.journal-card__description {
    display: -webkit-box;
    overflow: hidden;
    margin: 10px 0 0;
    color: #444;
    font-size: 13px;
    line-height: 20px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.journal-portal--zh .journal-card__description {
    text-align: left;
}

.journal-card__description em {
    margin-left: 2px;
    color: #00795e;
    font-style: italic;
}

.journal-card__keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 5px;
}

.journal-card__keywords span {
    display: inline-flex;
    border: 1px solid #008868;
    border-radius: 4px;
    padding: 2px 8px;
    color: #008868;
    font-size: 12px;
    line-height: 16px;
}

.journal-card__meta {
    display: flex;
    min-width: 0;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-top: auto;
    color: #444;
    font-size: 13px;
    line-height: 20px;
}

.journal-card__meta-primary {
    flex: 1 1 0;
    min-width: 0;
    max-width: none;
}

.journal-card__meta-secondary {
    flex: 0 1 auto;
    min-width: 0;
    max-width: 50%;
    margin-left: auto;
    text-align: left;
}

.journal-card__meta-primary > div,
.journal-card__meta-secondary > div {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.journal-portal--zh .journal-card__meta-label {
    display: inline-block;
    width: 4em;
    text-align: right;
}

.journal-card__issn {
    font-family: "Times New Roman", Times, serif;
    white-space: nowrap;
}

.journal-catalog__pages {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    padding: 22px 14px;
    color: #333;
    line-height: 36px;
    text-align: center;
}

.portal-page-link {
    min-width: 34px;
    border-radius: 4px;
    padding: 0 10px;
    color: #4b5563;
    font-size: 12px;
    line-height: 34px;
    text-decoration: none;
}

.portal-page-link:hover,
.portal-page-link.is-active {
    background: #008868;
    color: #fff;
}

.portal-page-link.is-disabled {
    color: #b1b5b8;
    cursor: default;
}

.portal-contact {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 10px 16px 16px;
    color: #444;
    font-size: 13px;
    line-height: 16px;
}

.portal-contact div {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.portal-contact svg {
    width: 14px;
    height: 14px;
    margin-top: 2px;
    flex: 0 0 14px;
}

.portal-empty {
    color: #9aa0a6;
    font-size: 13px;
}

.portal-empty--large {
    padding: 70px 20px;
    text-align: center;
}

/* English catalog typography follows the supplied journal-en.html artwork. */
.journal-portal--en .journal-portal__grid {
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
    font-size: 14px;
    font-weight: 400;
}

.journal-portal--en .portal-panel__title {
    color: #333;
    font-family: inherit;
    font-size: 16px;
    line-height: 24px;
    font-weight: 700;
}

.journal-portal--en .portal-link-list a,
.journal-portal--en .portal-content-list a,
.journal-portal--en .portal-contact {
    color: #374151;
    font-family: inherit;
    font-size: 13px;
    line-height: 16px;
    font-weight: 400;
}

.journal-portal--en .portal-content-list strong {
    font-family: inherit;
    font-size: 13px;
    line-height: 16px;
    font-weight: 400;
}

.journal-portal--en .journal-catalog__title h1 {
    font-family: inherit;
    font-size: 16px;
    line-height: 24px;
    font-weight: 700;
}

.journal-portal--en .journal-catalog__filter {
    font-family: inherit;
    font-size: 13px;
    line-height: 16px;
}

.journal-portal--en .filter-chip {
    font-family: inherit;
    font-size: 12px;
    line-height: 16px;
}

.journal-portal--en .journal-card__body h2 {
    color: #333;
    font-family: inherit;
    font-size: 18px;
    line-height: 28px;
    font-weight: 700;
}

.journal-portal--en .journal-card__subtitle {
    color: #999;
    font-family: inherit;
    font-size: 13px;
    line-height: 16px;
    font-weight: 400;
}

.journal-portal--en .journal-card__description {
    color: #666;
    font-family: inherit;
    font-size: 13px;
    line-height: 20px;
    font-weight: 400;
    font-style: normal;
}

.journal-portal--en .journal-card__keywords span {
    font-family: inherit;
    font-size: 12px;
    line-height: 16px;
    font-weight: 400;
}

.journal-portal--en .journal-card__meta {
    color: #333;
    font-family: inherit;
    font-size: 13px;
    line-height: 20px;
    font-weight: 400;
}

.journal-portal--en .journal-card__issn {
    font-family: "Times New Roman", Times, serif;
    font-size: 13px;
    line-height: 20px;
    font-weight: 400;
}

/* Journal news/FAQ detail pages retain their existing isolated presentation. */
.journal-portal-detail {
    max-width: 980px;
    min-height: 420px;
    margin: 20px auto 30px;
    padding: 34px 42px;
    background: #fff;
}

.journal-portal-detail h1 {
    margin: 0;
    color: #252a2e;
    font-size: 28px;
    line-height: 38px;
}

.journal-portal-detail__summary {
    margin: 15px 0 22px;
    border-left: 4px solid #008868;
    padding: 10px 15px;
    background: #f4f7f6;
    color: #667078;
    line-height: 1.8;
}

.journal-portal-detail__content {
    color: #333;
    font-size: 15px;
    line-height: 1.9;
    word-break: break-word;
}

.journal-portal-detail__content img {
    max-width: 100%;
    height: auto;
}

.journal-detail-summary {
    margin: 0 0 22px;
    border-left: 4px solid #008868;
    padding: 10px 15px;
    background: #f4f7f6;
    color: #667078;
    font-size: 13px;
    line-height: 1.8;
    overflow-wrap: anywhere;
}

.journal-detail-content .RichText {
    min-width: 0;
}

.journal-detail-content .RichText iframe,
.journal-detail-content .RichText video {
    max-width: 100%;
}

@media (max-width: 639px) {
    .journal-catalog-search {
        display: block;
        padding: 16px;
    }

    .journal-catalog-search__field {
        display: block;
        width: 100%;
        margin: 0 0 10px;
    }

    .journal-catalog-search__field label,
    .journal-catalog-search__label {
        display: block;
        margin: 0 0 4px;
    }

    .journal-catalog-search input[type="text"],
    .journal-catalog-search select,
    .journal-name-picker,
    .journal-name-picker__trigger,
    .journal-name-picker__menu {
        width: 100%;
    }

    .journal-catalog-search__submit {
        width: 100%;
        margin-bottom: 0;
    }

    .journal-portal__grid {
        display: flex;
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }

    .journal-portal__left,
    .journal-catalog,
    .journal-portal__right {
        width: 100%;
    }

    .journal-catalog__title strong {
        display: none;
    }

    .journal-catalog__filter {
        flex-wrap: wrap;
    }

    .journal-card {
        gap: 12px;
        padding: 18px 12px;
    }

    .journal-card__cover {
        width: 96px;
        flex-basis: 96px;
    }

    .journal-card__meta {
        display: block;
        margin-top: 12px;
    }

    .journal-card__meta-primary {
        max-width: none;
    }

    .journal-card__meta-secondary {
        max-width: none;
        margin: 6px 0 0;
    }

    .journal-portal--zh .journal-card__meta-label {
        width: auto;
        text-align: left;
    }

    .journal-card__issn {
        white-space: normal;
    }

    .journal-portal-detail {
        margin: 12px 10px 22px;
        padding: 24px 18px;
    }

    .journal-portal-detail h1 {
        font-size: 23px;
        line-height: 32px;
    }
}
