/* Element Plus 风格 PC 模板布局与组件补充 */

.ep-layout {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Computer graduation project sharing theme */
.study-site {
    margin: 0;
    color: #172033;
    background: #f6f8fb;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
}

.study-container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.study-topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, .96);
    border-bottom: 1px solid #e6ebf2;
    box-shadow: 0 8px 22px rgba(24, 34, 57, .05);
    backdrop-filter: blur(12px);
}

.study-topbar__inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 24px;
    min-height: 74px;
}

.study-brand__link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #172033;
    text-decoration: none;
}

.study-brand__logo {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.study-brand__text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.study-brand__text strong {
    font-size: 18px;
    font-weight: 800;
}

.study-brand__text em {
    margin-top: 4px;
    color: #687386;
    font-size: 12px;
    font-style: normal;
}

.study-nav {
    display: flex;
    justify-content: center;
    min-width: 0;
    gap: 2px;
}

.study-nav__group {
    position: relative;
}

.study-nav__item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 74px;
    padding: 0 13px;
    color: #2b3548;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.study-nav__item:hover,
.study-nav__group.is-active > .study-nav__item,
.study-nav__item.is-active {
    color: #1d63d8;
    text-decoration: none;
}

.study-nav__dropdown {
    position: absolute;
    top: calc(100% - 8px);
    left: 50%;
    display: none;
    min-width: 190px;
    padding: 10px;
    border: 1px solid #e6ebf2;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 42px rgba(24, 34, 57, .14);
    transform: translateX(-50%);
}

.study-nav__group:hover .study-nav__dropdown {
    display: grid;
    gap: 4px;
}

.study-nav__subitem {
    display: block;
    padding: 10px 12px;
    border-radius: 6px;
    color: #2b3548;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.study-nav__subitem:hover,
.study-nav__subitem.is-active {
    color: #0f766e;
    background: #eefaf8;
    text-decoration: none;
}

.study-topbar__actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.study-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid #dce4ef;
    border-radius: 8px;
    color: #1d63d8;
    background: #fff;
    cursor: pointer;
}

.study-searchbar {
    display: none;
    padding: 16px 0 18px;
    border-top: 1px solid #edf1f6;
    background: #fff;
}

.study-searchbar.is-open {
    display: block;
}

.study-searchform {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    min-height: 52px;
    padding: 6px 8px 6px 18px;
    border: 1px solid #dce4ef;
    border-radius: 8px;
    background: #f9fbfd;
}

.study-searchform input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    font-size: 15px;
}

.study-searchform button,
.study-btn {
    border: 0;
    border-radius: 8px;
    font-weight: 800;
}

.study-searchform button {
    height: 40px;
    padding: 0 22px;
    color: #fff;
    background: #1d63d8;
}

.study-keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    margin-top: 12px;
    color: #687386;
    font-size: 13px;
}

.study-keywords span {
    color: #172033;
    font-weight: 800;
}

.study-keywords a {
    color: #0f766e;
    text-decoration: none;
}

.study-main {
    padding: 34px 0 0;
}

.study-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, .86fr);
    gap: 22px;
    align-items: stretch;
    min-height: 420px;
}

.study-hero__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 46px;
    border-radius: 8px;
    color: #fff;
    background: linear-gradient(135deg, #15243b 0%, #1d63d8 68%, #0f766e 100%);
}

.study-section__eyebrow {
    display: inline-flex;
    color: #1d63d8;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0;
}

.study-hero__content .study-section__eyebrow {
    color: #bfe3ff;
}

.study-hero h1 {
    margin: 16px 0 14px;
    font-size: 42px;
    line-height: 1.18;
    font-weight: 900;
    letter-spacing: 0;
}

.study-hero p {
    max-width: 650px;
    margin: 0;
    color: rgba(255, 255, 255, .86);
    font-size: 16px;
    line-height: 1.9;
}

.study-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.study-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 22px;
    text-decoration: none;
}

.study-btn--primary {
    color: #fff;
    background: #f59e0b;
}

.study-btn--ghost {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .45);
    background: rgba(255, 255, 255, .1);
}

.study-hero__panel,
.study-strip,
.study-direction-card,
.study-feature-card,
.study-side-card,
.study-project-card,
.study-material-card,
.study-page-head,
.study-list-card,
.study-aside-card,
.study-rich-card,
.study-note-card,
.study-show,
.study-channel-block {
    border: 1px solid #e3e9f2;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(24, 34, 57, .07);
}

.study-hero__panel {
    overflow: hidden;
    padding: 16px;
}

.study-hero__panel-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}

.study-hero__panel-head strong {
    font-size: 18px;
}

.study-hero__panel-head span {
    color: #687386;
    font-size: 13px;
}

.study-hero__slides {
    display: grid;
    grid-template-rows: repeat(3, minmax(0, 1fr));
    gap: 12px;
    height: calc(100% - 34px);
}

.study-hero__slide {
    position: relative;
    display: block;
    min-height: 104px;
    overflow: hidden;
    border-radius: 8px;
    color: #fff;
    background: #e7edf5;
    text-decoration: none;
}

.study-hero__slide:first-child {
    grid-row: span 2;
}

.study-hero__slide img,
.study-feature-card__media img,
.study-side-card__media img,
.study-project-card__media img,
.study-list-card__media img,
.study-side-item__thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.study-hero__mask {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 18, 32, .04) 35%, rgba(8, 18, 32, .78) 100%);
}

.study-hero__label {
    position: absolute;
    right: 18px;
    bottom: 16px;
    left: 18px;
    z-index: 2;
    font-size: 16px;
    font-weight: 900;
    line-height: 1.45;
}

.study-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    margin-top: 22px;
    overflow: hidden;
}

.study-strip__item {
    padding: 22px 24px;
    background: #fff;
}

.study-strip__item strong {
    display: block;
    margin-bottom: 6px;
    font-size: 17px;
}

.study-strip__item span,
.study-section__head p,
.study-direction-card p,
.study-project-card p,
.study-feature-card p,
.study-list-card p,
.study-side-card p,
.study-material-card span,
.study-rich-content,
.study-note-card p {
    color: #687386;
    line-height: 1.75;
}

.study-section {
    margin-top: 50px;
}

.study-section__head {
    margin-bottom: 22px;
}

.study-section__head--split {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
}

.study-section__head h2,
.study-page-head h1,
.study-channel-block__head h2 {
    margin: 9px 0 0;
    color: #172033;
    font-size: 28px;
    line-height: 1.35;
    font-weight: 900;
    letter-spacing: 0;
}

.study-section__head p {
    max-width: 680px;
    margin: 8px 0 0;
}

.study-more {
    color: #1d63d8;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.study-direction-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.study-home-feature-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 22px;
    align-items: start;
}

.study-home-feature-main {
    min-width: 0;
}

.study-home-feature-main .study-section__head {
    margin-bottom: 22px;
}

.study-home-sidebar {
    position: sticky;
    top: 92px;
    display: grid;
    gap: 14px;
}

.study-home-sidebar__card {
    overflow: hidden;
    border: 1px solid #e3e9f2;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(24, 34, 57, .06);
}

.study-home-sidebar__contact {
    color: #fff;
    border-color: #1d365f;
    background: #1d365f;
}

.study-home-sidebar__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 18px 18px 14px;
}

.study-home-sidebar__head span {
    display: block;
    margin-bottom: 4px;
    color: #1d63d8;
    font-size: 10px;
    font-weight: 900;
    line-height: 1;
}

.study-home-sidebar__contact .study-home-sidebar__head span {
    color: #74d8cc;
}

.study-home-sidebar__head h3 {
    margin: 0;
    color: #172033;
    font-size: 17px;
    line-height: 1.35;
    font-weight: 900;
}

.study-home-sidebar__contact .study-home-sidebar__head h3 {
    color: #fff;
}

.study-home-sidebar__head > i {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    border-radius: 6px;
    color: #1d63d8;
    background: #edf4ff;
    font-size: 15px;
}

.study-home-sidebar__contact .study-home-sidebar__head > i {
    color: #74d8cc;
    background: rgba(255, 255, 255, .12);
}

.study-home-sidebar__contact > p {
    margin: 0;
    padding: 0 18px;
    color: rgba(255, 255, 255, .74);
    font-size: 12px;
    line-height: 1.7;
}

.study-home-sidebar__contact-list {
    display: grid;
    gap: 8px;
    margin: 15px 18px 14px;
}

.study-home-sidebar__contact-list > div {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    padding: 9px 10px;
    border-radius: 5px;
    color: rgba(255, 255, 255, .75);
    background: rgba(255, 255, 255, .08);
    font-size: 12px;
}

.study-home-sidebar__contact-list > div > i {
    margin-top: 2px;
    color: #74d8cc;
}

.study-home-sidebar__contact-list span,
.study-home-sidebar__contact-list b {
    display: block;
}

.study-home-sidebar__contact-list b {
    margin-top: 2px;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
}

.study-home-sidebar__contact > small {
    display: block;
    padding: 11px 18px 15px;
    border-top: 1px solid rgba(255, 255, 255, .12);
    color: rgba(255, 255, 255, .56);
    font-size: 11px;
    line-height: 1.55;
}

.study-home-sidebar__quick-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    padding: 0 14px 16px;
}

.study-home-sidebar__quick-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 5px;
    min-width: 0;
    min-height: 38px;
    padding: 0 9px;
    border: 1px solid #e7edf5;
    border-radius: 5px;
    color: #354258;
    font-size: 12px;
    font-weight: 750;
    text-decoration: none;
}

.study-home-sidebar__quick-list a span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.study-home-sidebar__quick-list a:hover {
    border-color: #b9d3ff;
    color: #1d63d8;
    background: #f3f7fd;
    text-decoration: none;
}

.study-home-sidebar__quick-list a i {
    flex: 0 0 auto;
    color: #0f766e;
    font-size: 10px;
}

.study-home-sidebar__update-list {
    display: grid;
    padding: 0 18px;
}

.study-home-sidebar__update-list a {
    display: grid;
    grid-template-columns: 37px minmax(0, 1fr);
    gap: 2px 8px;
    padding: 11px 0;
    border-top: 1px solid #edf1f6;
    color: #172033;
    text-decoration: none;
}

.study-home-sidebar__update-list a:hover strong {
    color: #1d63d8;
}

.study-home-sidebar__update-list time {
    grid-row: span 2;
    align-self: start;
    padding-top: 2px;
    color: #1d63d8;
    font-size: 11px;
    font-weight: 900;
}

.study-home-sidebar__update-list strong {
    overflow: hidden;
    font-size: 12px;
    line-height: 1.4;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.study-home-sidebar__update-list span {
    overflow: hidden;
    color: #8390a3;
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.study-home-sidebar__more {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 40px;
    padding: 0 18px;
    border-top: 1px solid #edf1f6;
    color: #1d63d8;
    background: #fafcff;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}

.study-home-sidebar__more:hover {
    color: #0f766e;
    text-decoration: none;
}

.study-direction-card,
.study-material-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    padding: 22px;
    color: #172033;
    text-decoration: none;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.study-direction-card:hover,
.study-material-card:hover,
.study-project-card:hover,
.study-list-card:hover,
.study-side-card:hover {
    transform: translateY(-3px);
    border-color: #b9d3ff;
    box-shadow: 0 18px 40px rgba(29, 99, 216, .12);
    text-decoration: none;
}

.study-direction-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.study-direction-card__top strong {
    font-size: 19px;
    font-weight: 900;
}

.study-direction-card__top i {
    color: #0f766e;
}

.study-direction-card p {
    min-height: 52px;
    margin: 12px 0 16px;
    font-size: 14px;
}

.study-direction-card__chips,
.study-tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.study-direction-card__chips span,
.study-tag-list a {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 10px;
    border-radius: 999px;
    color: #0f766e;
    background: #eaf8f6;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.study-feature-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(320px, .6fr);
    gap: 18px;
}

.study-feature-card {
    overflow: hidden;
}

.study-feature-card__media,
.study-project-card__media,
.study-list-card__media,
.study-side-card__media {
    display: block;
    overflow: hidden;
    background: #e7edf5;
}

.study-feature-card__media {
    aspect-ratio: 16 / 9;
}

.study-feature-card__body,
.study-project-card__body,
.study-list-card__body,
.study-side-card__body {
    padding: 20px;
}

.study-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 14px;
    color: #687386;
    font-size: 13px;
}

.study-feature-card h3,
.study-project-card h3,
.study-list-card h3,
.study-side-card h3 {
    margin: 11px 0 8px;
    font-size: 18px;
    line-height: 1.45;
    font-weight: 900;
}

.study-feature-card h3 {
    font-size: 24px;
}

.study-feature-card h3 a,
.study-project-card h3 a,
.study-list-card h3 a,
.study-side-card h3 a,
.study-channel-block__head h2 a {
    color: #172033;
    text-decoration: none;
}

.study-feature-card h3 a:hover,
.study-project-card h3 a:hover,
.study-list-card h3 a:hover,
.study-side-card h3 a:hover,
.study-channel-block__head h2 a:hover {
    color: #1d63d8;
}

.study-feature-side {
    display: grid;
    gap: 18px;
}

.study-side-card {
    display: grid;
    grid-template-columns: 160px minmax(0, 1fr);
    overflow: hidden;
}

.study-side-card__media {
    min-height: 160px;
}

.study-side-card__body span {
    color: #0f766e;
    font-size: 12px;
    font-weight: 800;
}

.study-project-grid,
.study-list-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.study-project-card,
.study-list-card {
    min-width: 0;
    overflow: hidden;
}

.study-project-card__media,
.study-list-card__media {
    position: relative;
    aspect-ratio: 16 / 10;
}

.study-project-card__media span {
    position: absolute;
    right: 12px;
    bottom: 12px;
    left: 12px;
    display: none;
}

.study-material-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.study-material-card {
    min-height: 118px;
    justify-content: center;
}

.study-material-card strong {
    margin-bottom: 8px;
    font-size: 17px;
    font-weight: 900;
}

.study-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
    color: #8390a3;
    font-size: 13px;
}

.study-breadcrumb a {
    color: #1d63d8;
    text-decoration: none;
}

.study-page-head {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding: 30px;
}

.study-page-head p {
    max-width: 780px;
    margin: 10px 0 0;
    color: #687386;
    line-height: 1.8;
}

.study-page-head__links {
    display: flex;
    align-content: flex-start;
    justify-content: flex-end;
    flex-wrap: wrap;
    min-width: 260px;
    gap: 8px;
}

.study-page-head__links a {
    padding: 8px 12px;
    border-radius: 999px;
    color: #0f766e;
    background: #eaf8f6;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.study-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 22px;
}

.study-page-head + .study-content-grid,
.study-breadcrumb + .study-content-grid {
    margin-top: 20px;
}

.study-list-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.study-list-grid--compact {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.study-aside-card {
    overflow: hidden;
}

.study-sidebar {
    position: sticky;
    top: 92px;
    display: grid;
    gap: 16px;
}

.study-aside-card__head {
    padding: 18px 18px 0;
}

.study-aside-card__head--split {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 19px 20px 16px;
    border-bottom: 1px solid #edf1f6;
}

.study-aside-card__head--split > div {
    min-width: 0;
}

.study-aside-card__head--split > i {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    border-radius: 6px;
    color: #1d63d8;
    background: #edf4ff;
    font-size: 15px;
}

.study-aside-card__eyebrow {
    display: block;
    margin-bottom: 4px;
    color: #1d63d8;
    font-size: 10px;
    font-weight: 900;
    line-height: 1;
}

.study-aside-card__head strong {
    font-size: 18px;
    font-weight: 900;
}

.study-aside-nav__body {
    padding: 14px;
}

.study-aside-nav__parent {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 13px 14px;
    border-radius: 6px;
    color: #fff;
    background: #1d365f;
    text-decoration: none;
}

.study-aside-nav__parent:hover {
    color: #fff;
    background: #234574;
    text-decoration: none;
}

.study-aside-nav__parent small,
.study-aside-nav__parent strong {
    display: block;
}

.study-aside-nav__parent small {
    margin-bottom: 3px;
    color: rgba(255, 255, 255, .68);
    font-size: 10px;
}

.study-aside-nav__parent strong {
    font-size: 15px;
    line-height: 1.35;
}

.study-aside-nav__parent > i {
    flex: 0 0 auto;
    color: #77d6c8;
    font-size: 12px;
}

.study-aside-nav__list {
    display: grid;
    gap: 3px;
    margin-top: 9px;
}

.study-aside-nav__list--root {
    margin-top: 0;
}

.study-aside-nav__list a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 42px;
    padding: 9px 11px 9px 13px;
    border-radius: 6px;
    color: #354258;
    font-size: 13px;
    font-weight: 750;
    text-decoration: none;
    transition: color .16s ease, background .16s ease;
}

.study-aside-nav__list a::before {
    position: absolute;
    top: 10px;
    bottom: 10px;
    left: 0;
    width: 3px;
    border-radius: 3px;
    background: transparent;
    content: "";
}

.study-aside-nav__list a:hover {
    color: #1d63d8;
    background: #f3f7fd;
}

.study-aside-nav__list a.is-active {
    color: #1556bd;
    background: #edf4ff;
}

.study-aside-nav__list a.is-active::before {
    background: #1d63d8;
}

.study-aside-nav__list a i {
    color: #9aa8ba;
}

.study-aside-nav__list a em {
    flex: 0 0 auto;
    padding: 3px 6px;
    border-radius: 4px;
    color: #0b766c;
    background: #ddf7f2;
    font-size: 10px;
    font-style: normal;
    font-weight: 800;
}

.study-aside-card__body {
    display: grid;
    gap: 12px;
    padding: 16px 18px 18px;
}

.study-side-item {
    position: relative;
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 12px;
    color: #172033;
    text-decoration: none;
}

.study-aside-ranking__body {
    counter-reset: sidebar-rank;
    gap: 0;
    padding: 4px 18px 8px;
}

.study-aside-ranking__body .study-side-item {
    align-items: center;
    min-height: 82px;
    padding: 10px 0;
    border-bottom: 1px solid #edf1f6;
    counter-increment: sidebar-rank;
}

.study-aside-ranking__body .study-side-item:last-child {
    border-bottom: 0;
}

.study-aside-ranking__body .study-side-item::after {
    position: absolute;
    top: 14px;
    left: 4px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 4px;
    color: #fff;
    background: #526176;
    box-shadow: 0 3px 8px rgba(23, 32, 51, .18);
    content: counter(sidebar-rank, decimal-leading-zero);
    font-size: 9px;
    font-weight: 900;
}

.study-aside-ranking__body .study-side-item:nth-child(-n+3)::after {
    background: #1d63d8;
}

.study-aside-ranking__body .study-side-item__thumb {
    aspect-ratio: 16 / 11;
}

.study-aside-ranking__body .study-side-item__body strong {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.study-aside-ranking__body .study-side-item:hover strong {
    color: #1d63d8;
}

.study-aside-ranking__body .study-side-item__body em {
    white-space: nowrap;
}

.study-aside-ranking__body .study-side-item__body em i {
    margin-right: 3px;
}

.study-aside-ranking__more {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 44px;
    padding: 0 18px;
    border-top: 1px solid #edf1f6;
    color: #1d63d8;
    background: #fafcff;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}

.study-aside-ranking__more:hover {
    color: #0f766e;
    text-decoration: none;
}

.study-side-item__thumb {
    display: block;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border-radius: 6px;
    background: #e7edf5;
}

.study-side-item__body {
    min-width: 0;
}

.study-side-item__body strong {
    display: block;
    color: #172033;
    font-size: 13px;
    line-height: 1.45;
}

.study-side-item__body em {
    display: block;
    margin-top: 4px;
    color: #687386;
    font-size: 12px;
    font-style: normal;
    line-height: 1.45;
}

.study-pagination {
    margin-top: 22px;
}

.study-page-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 22px;
    margin-top: 22px;
}

.study-rich-card,
.study-show {
    padding: 34px;
}

.study-rich-content {
    color: #2b3548;
    font-size: 16px;
}

.study-rich-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.study-note-card {
    padding: 24px;
}

.study-note-card strong {
    color: #172033;
    font-size: 18px;
    font-weight: 900;
}

.study-note-card--wide {
    margin-top: 28px;
    background: #f8fbff;
}

.study-show__head {
    padding-bottom: 24px;
    border-bottom: 1px solid #e6ebf2;
}

.study-show h1 {
    margin: 14px 0 10px;
    color: #172033;
    font-size: 32px;
    line-height: 1.35;
    font-weight: 900;
    letter-spacing: 0;
}

.study-show__head p {
    margin: 0 0 16px;
    color: #687386;
    font-size: 15px;
    line-height: 1.8;
}

.study-show .study-rich-content {
    margin-top: 28px;
}

.study-prevnext {
    display: grid;
    gap: 10px;
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid #e6ebf2;
}

.study-prevnext p {
    margin: 0;
}

.study-prevnext a {
    color: #1d63d8;
    text-decoration: none;
}

.study-channel-grid {
    display: grid;
    gap: 22px;
}

.study-channel-block {
    padding: 24px;
}

.study-channel-block__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.study-footer {
    margin-top: 58px;
    color: rgba(255, 255, 255, .76);
    background: #15243b;
}

.study-footer__inner {
    display: grid;
    grid-template-columns: 1.15fr 1fr 1fr;
    gap: 34px;
    padding: 42px 0 30px;
}

.study-footer strong,
.study-footer h4 {
    color: #fff;
}

.study-footer strong {
    display: block;
    margin-bottom: 10px;
    font-size: 20px;
}

.study-footer h4 {
    margin: 0 0 12px;
    font-size: 15px;
}

.study-footer p {
    margin: 0 0 8px;
    line-height: 1.8;
}

.study-footer__links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 15px;
}

.study-footer a {
    color: rgba(255, 255, 255, .78);
    text-decoration: none;
}

.study-footer a:hover {
    color: #fff;
}

.study-footer__bottom {
    padding: 16px 0 24px;
    border-top: 1px solid rgba(255, 255, 255, .12);
}

.study-footer__bottom .study-container {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    font-size: 13px;
}

.study-backtop {
    position: fixed;
    right: 22px;
    bottom: 24px;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    color: #fff;
    background: #1d63d8;
    box-shadow: 0 12px 28px rgba(29, 99, 216, .26);
    cursor: pointer;
}

@media (max-width: 1100px) {
    .study-topbar__inner {
        grid-template-columns: auto auto;
    }

    .study-nav {
        grid-column: 1 / -1;
        justify-content: flex-start;
        overflow-x: auto;
        border-top: 1px solid #eef2f7;
    }

    .study-nav__item {
        height: 54px;
    }

    .study-feature-grid,
    .study-content-grid,
    .study-page-layout,
    .study-hero {
        grid-template-columns: 1fr;
    }

    .study-home-feature-layout {
        grid-template-columns: 1fr;
    }

    .study-home-sidebar {
        position: static;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        align-items: start;
    }

    .study-sidebar {
        position: static;
    }

    .study-sidebar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: start;
    }
}

@media (max-width: 760px) {
    .study-container {
        width: min(100% - 24px, 1180px);
    }

    .study-main {
        padding-top: 20px;
    }

    .study-brand__text em,
    .study-topbar__actions,
    .study-nav__dropdown {
        display: none;
    }

    .study-hero__content,
    .study-page-head,
    .study-rich-card,
    .study-show,
    .study-channel-block {
        padding: 24px;
    }

    .study-hero h1 {
        font-size: 30px;
    }

    .study-strip,
    .study-direction-grid,
    .study-project-grid,
    .study-material-grid,
    .study-list-grid,
    .study-list-grid--compact,
    .study-footer__inner {
        grid-template-columns: 1fr;
    }

    .study-home-sidebar {
        grid-template-columns: 1fr;
    }

    .study-side-card {
        grid-template-columns: 120px minmax(0, 1fr);
    }

    .study-section__head--split,
    .study-page-head,
    .study-channel-block__head,
    .study-footer__bottom .study-container {
        align-items: flex-start;
        flex-direction: column;
    }

    .study-page-head {
        display: block;
    }

    .study-page-head__links {
        justify-content: flex-start;
        min-width: 0;
        margin-top: 18px;
    }

    .study-sidebar {
        grid-template-columns: 1fr;
    }
}

/* Floating contact entry */
.study-contact-float { position: fixed; top: 48%; right: 0; z-index: 75; }
.study-contact-float__toggle { display: flex; align-items: center; justify-content: center; gap: 7px; width: 48px; min-height: 106px; padding: 10px 0; border: 1px solid #1d63d8; border-right: 0; border-radius: 8px 0 0 8px; color: #fff; background: #1d63d8; box-shadow: 0 10px 26px rgba(29,99,216,.24); cursor: pointer; writing-mode: vertical-rl; }
.study-contact-float__toggle i { writing-mode: horizontal-tb; font-size: 17px; }
.study-contact-float__toggle span { font-size: 13px; font-weight: 800; }
.study-contact-float__toggle:hover, .study-contact-float.is-open .study-contact-float__toggle { background: #1556bd; }
.study-contact-float__panel { position: absolute; top: 50%; right: 58px; display: none; width: 286px; padding: 22px 20px 16px; border: 1px solid #dfe7f1; border-radius: 8px; color: #172033; background: #fff; box-shadow: 0 20px 48px rgba(24,34,57,.2); transform: translateY(-50%); }
.study-contact-float.is-open .study-contact-float__panel { display: block; }
.study-contact-float__panel::after { position: absolute; top: 50%; right: -7px; width: 12px; height: 12px; border-top: 1px solid #dfe7f1; border-right: 1px solid #dfe7f1; background: #fff; content: ""; transform: translateY(-50%) rotate(45deg); }
.study-contact-float__close { position: absolute; top: 12px; right: 12px; display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; border: 0; border-radius: 5px; color: #8390a3; background: #f2f5f8; cursor: pointer; }
.study-contact-float__close:hover { color: #1d63d8; background: #edf4ff; }
.study-contact-float__eyebrow { display: block; margin-bottom: 5px; color: #1d63d8; font-size: 10px; font-weight: 900; }
.study-contact-float__panel h3 { margin: 0 38px 7px 0; font-size: 19px; font-weight: 900; }
.study-contact-float__panel > p { margin: 0; color: #687386; font-size: 12px; line-height: 1.7; }
.study-contact-float__list { display: grid; gap: 8px; margin: 15px 0 13px; }
.study-contact-float__list > div { display: flex; align-items: flex-start; gap: 9px; padding: 9px 10px; border: 1px solid #e7edf5; border-radius: 5px; background: #f8faff; font-size: 12px; }
.study-contact-float__list > div > i { margin-top: 2px; color: #1d63d8; }
.study-contact-float__list span, .study-contact-float__list b { display: block; }
.study-contact-float__list b { margin-top: 2px; color: #172033; font-size: 13px; }
.study-contact-float__panel > small { display: block; padding-top: 11px; border-top: 1px solid #edf1f6; color: #8390a3; font-size: 11px; line-height: 1.55; }
@media (max-width: 760px) {
    .study-contact-float { top: auto; right: 16px; bottom: 78px; }
    .study-contact-float__toggle { width: 46px; min-height: 46px; padding: 0; border: 0; border-radius: 50%; writing-mode: horizontal-tb; }
    .study-contact-float__toggle span { display: none; }
    .study-contact-float__panel { position: fixed; right: 12px; bottom: 136px; top: auto; width: min(286px, calc(100vw - 24px)); transform: none; }
    .study-contact-float__panel::after { top: auto; right: 18px; bottom: -7px; transform: rotate(135deg); }
}

.ep-header {
    position: sticky;
    top: 0;
    z-index: 100;
    height: var(--ep-header-height);
    background: var(--el-bg-color);
    border-bottom: 1px solid var(--el-border-color-light);
    box-shadow: var(--el-box-shadow-lighter);
}

.ep-header-inner {
    max-width: var(--ep-container-max);
    margin: 0 auto;
    padding: 0 20px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.ep-logo img {
    height: 40px;
    width: auto;
    vertical-align: middle;
}

.ep-nav {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
}

.ep-nav > ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
}

.ep-nav-item {
    position: relative;
}

.ep-nav-item > a {
    display: inline-flex;
    align-items: center;
    padding: 0 14px;
    height: 36px;
    border-radius: var(--el-border-radius-base);
    color: var(--el-text-color-regular);
    font-size: 15px;
    font-weight: 500;
}

.ep-nav-item > a:hover {
    color: var(--el-color-primary);
    background: var(--el-color-primary-light-9);
}

.ep-nav-item.is-active > a {
    color: var(--el-color-primary);
    background: var(--el-color-primary-light-9);
}

.ep-nav-arrow {
    margin-left: 4px;
    font-size: 10px;
    opacity: 0.65;
}

/* 子菜单与父级之间禁止留 margin，否则鼠标经过空隙时父级失去 :hover，菜单会收起 */
.ep-submenu {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    min-width: 180px;
    padding: 8px 0;
    margin: 0;
    background: var(--el-bg-color-overlay);
    border: 1px solid var(--el-border-color-light);
    border-radius: var(--el-border-radius-base);
    box-shadow: var(--el-box-shadow-light);
    list-style: none;
    z-index: 200;
}

.ep-nav-item:hover > .ep-submenu {
    display: block;
}

.ep-submenu li a {
    display: block;
    padding: 8px 16px;
    color: var(--el-text-color-regular);
    font-size: 14px;
}

.ep-submenu li a:hover {
    background: var(--el-fill-color-light);
    color: var(--el-color-primary);
}

.ep-submenu li.is-active > a {
    color: var(--el-color-primary);
    font-weight: 600;
}

/* 三级菜单与二级项之间不留缝；左侧透明带承接鼠标，避免移入时丢 hover */
.ep-submenu-nested {
    left: 100%;
    top: 0;
    margin-left: 0;
    padding-left: 0;
}

.ep-submenu-nested::before {
    content: "";
    position: absolute;
    left: -14px;
    top: 0;
    bottom: 0;
    width: 14px;
}

.ep-submenu > li {
    position: relative;
}

.ep-submenu > li:hover > .ep-submenu-nested {
    display: block;
}

.ep-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.ep-search-popover {
    position: relative;
}

.ep-search-toggle {
    cursor: pointer;
    padding: 8px;
    border-radius: var(--el-border-radius-base);
    color: var(--el-text-color-secondary);
}

.ep-search-toggle:hover {
    background: var(--el-fill-color-light);
    color: var(--el-color-primary);
}

/* 与 ep-submenu 相同：不能与触发区留缝，否则 .ep-search-popover 仅图标高度，鼠标经空隙会丢 hover */
.ep-search-panel {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    margin-top: 0;
    width: 320px;
    padding: 16px;
    padding-top: 20px;
    background: var(--el-bg-color-overlay);
    border: 1px solid var(--el-border-color-light);
    border-radius: var(--el-border-radius-base);
    box-shadow: var(--el-box-shadow-light);
    z-index: 300;
}

.ep-search-panel::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -12px;
    height: 12px;
}

.ep-search-popover:hover .ep-search-panel {
    display: block;
}

.ep-user {
    position: relative;
}

.ep-user-trigger {
    cursor: pointer;
    display: flex;
    align-items: center;
}

.ep-user-trigger img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--el-border-color-lighter);
}

.ep-user-menu {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    margin-top: 0;
    min-width: 200px;
    padding: 8px 0;
    background: var(--el-bg-color-overlay);
    border: 1px solid var(--el-border-color-light);
    border-radius: var(--el-border-radius-base);
    box-shadow: var(--el-box-shadow-light);
    z-index: 300;
}

.ep-user-menu::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -12px;
    height: 12px;
}

.ep-user:hover .ep-user-menu {
    display: block;
}

.ep-user-menu a {
    display: block;
    padding: 10px 16px;
    color: var(--el-text-color-regular);
    font-size: 14px;
}

.ep-user-menu a:hover {
    background: var(--el-fill-color-light);
    color: var(--el-color-primary);
}

.ep-user-hd {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--el-border-color-lighter);
}

.ep-user-hd img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
}

.ep-main {
    flex: 1;
    padding: 20px 0 40px;
}

.ep-container {
    max-width: var(--ep-container-max);
    margin: 0 auto;
    padding: 0 20px;
}

.ep-breadcrumb {
    margin-bottom: 16px;
    font-size: 14px;
    color: var(--el-text-color-secondary);
}

.ep-breadcrumb a {
    color: var(--el-text-color-secondary);
}

.ep-breadcrumb a:hover {
    color: var(--el-color-primary);
}

.ep-breadcrumb .ep-bc-sep {
    margin: 0 8px;
    color: var(--el-text-color-placeholder);
}

.ep-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: flex-start;
}

.ep-col-main {
    flex: 1 1 640px;
    min-width: 0;
}

.ep-col-side {
    flex: 0 1 340px;
    min-width: 280px;
}

@media (max-width: 991px) {
    .ep-col-main,
    .ep-col-side {
        flex: 1 1 100%;
    }
    .ep-nav {
        display: none;
    }
}

.ep-card {
    background: var(--el-bg-color-overlay);
    border-radius: var(--el-border-radius-base);
    border: 1px solid var(--el-border-color-lighter);
    overflow: hidden;
    margin-bottom: 20px;
}

.ep-card-hd {
    padding: 16px 20px;
    border-bottom: 1px solid var(--el-border-color-lighter);
    font-size: 16px;
    font-weight: 600;
    color: var(--el-text-color-primary);
}

.ep-card-bd {
    padding: 20px;
}

.ep-list-item {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--el-border-color-lighter);
}

.ep-list-item:last-child {
    border-bottom: none;
}

.ep-thumb {
    width: 120px;
    height: 80px;
    border-radius: var(--el-border-radius-base);
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
    background-color: var(--el-fill-color);
}

img.ep-thumb {
    object-fit: cover;
    display: block;
}

.ep-thumb--sm {
    width: 72px;
    height: 48px;
}

@media (max-width: 576px) {
    .mobile-hidden {
        display: none !important;
    }
    .ep-list-item {
        flex-direction: column;
    }
    .ep-thumb,
    img.ep-thumb {
        width: 100%;
        height: 160px;
    }
}

.ep-article-title {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 600;
}

.ep-article-title a {
    color: var(--el-text-color-primary);
}

.ep-article-title a:hover {
    color: var(--el-color-primary);
}

.ep-meta {
    font-size: 13px;
    color: var(--el-text-color-secondary);
}

.ep-meta span,
.ep-meta a {
    margin-right: 12px;
}

.ep-badge {
    display: inline-block;
    padding: 0 8px;
    height: 22px;
    line-height: 22px;
    font-size: 12px;
    border-radius: var(--el-border-radius-round);
    background: var(--el-color-primary-light-9);
    color: var(--el-color-primary);
    margin: 4px 8px 4px 0;
}

.ep-badge.is-plain {
    background: var(--el-fill-color-blank);
    border: 1px solid var(--el-color-primary-light-5);
}

.ep-footer {
    margin-top: auto;
    padding: 20px;
    background: var(--el-bg-color);
    border-top: 1px solid var(--el-border-color-light);
    font-size: 14px;
    color: var(--el-text-color-secondary);
}

.ep-footer-inner {
    max-width: var(--ep-container-max);
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.ep-footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
}

.ep-footer-links a {
    color: var(--el-text-color-secondary);
}

.ep-footer-links a:hover {
    color: var(--el-color-primary);
}

.ep-scrolltop {
    position: fixed;
    right: 24px;
    bottom: 32px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--el-color-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--el-box-shadow);
    z-index: 99;
    border: none;
    transition: opacity 0.2s;
}

.ep-scrolltop:hover {
    opacity: 0.9;
}

/* 分页区域（系统 {$pages} 输出）
   典型结构：<div class="xrpagination"><ul class="pagination"><li class="active"><a>1</a></li>...</ul></div> */
.xrpagination {
    width: 100%;
    margin-top: 24px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.xrpagination ul.pagination {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.xrpagination ul.pagination li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.xrpagination ul.pagination li > a,
.xrpagination ul.pagination li > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 12px;
    font-size: 14px;
    line-height: 1;
    border-radius: var(--el-border-radius-base);
    border: 1px solid var(--el-border-color);
    background: var(--el-bg-color-overlay);
    color: var(--el-text-color-regular);
    box-sizing: border-box;
    text-decoration: none;
    transition: color 0.2s, border-color 0.2s, background 0.2s;
}

/* 总条数等无 href 的 <a> */
.xrpagination ul.pagination li > a:not([href]) {
    cursor: default;
    background: var(--el-fill-color-light);
    border-color: var(--el-border-color-lighter);
    color: var(--el-text-color-secondary);
}

.xrpagination ul.pagination li > a[href]:hover {
    color: var(--el-color-primary);
    border-color: var(--el-color-primary-light-5);
}

.xrpagination ul.pagination li.active > a,
.xrpagination ul.pagination li.active > span {
    background: var(--el-color-primary);
    border-color: var(--el-color-primary);
    color: #fff;
    cursor: default;
}

.xrpagination ul.pagination li.active > a:hover {
    color: #fff;
    border-color: var(--el-color-primary);
    background: var(--el-color-primary);
}

.xrpagination ul.pagination li.disabled > a,
.xrpagination ul.pagination li.disabled > span {
    cursor: not-allowed;
    opacity: 0.55;
    background: var(--el-fill-color-light);
}

/* 兼容：分页直接挂在 .xrpagination 下（无 ul） */
.xrpagination > a,
.xrpagination > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 12px;
    font-size: 14px;
    border-radius: var(--el-border-radius-base);
    border: 1px solid var(--el-border-color);
    background: var(--el-bg-color-overlay);
    color: var(--el-text-color-regular);
    box-sizing: border-box;
    text-decoration: none;
}

.xrpagination > a:hover {
    color: var(--el-color-primary);
    border-color: var(--el-color-primary-light-5);
}

.xrpagination .active > span,
.xrpagination .active > a,
.xrpagination li.active > a,
.xrpagination span.current,
.xrpagination .current {
    background: var(--el-color-primary);
    border-color: var(--el-color-primary);
    color: #fff;
}

/* 正文区域 */
.neirong {
    line-height: 1.75;
    font-size: 15px;
    color: var(--el-text-color-regular);
}

.neirong img {
    max-width: 100%;
    height: auto;
}

.fc-show-prev-next {
    font-size: 14px;
    color: var(--el-text-color-secondary);
}

/* Swiper 容器在首页 */
.ep-swiper-wrap {
    border-radius: var(--el-border-radius-base);
    overflow: hidden;
    border: 1px solid var(--el-border-color-lighter);
    background: var(--el-bg-color-overlay);
}

.ep-swiper-wrap .swiper-slide img {
    display: block;
    width: 100%;
    height: 400px;
    object-fit: cover;
}

/* 提示页 / 404 */
.ep-auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: linear-gradient(135deg, var(--el-color-primary-light-9) 0%, var(--el-fill-color-light) 100%);
}

.ep-auth-card {
    width: 100%;
    max-width: 480px;
    text-align: center;
}

.ep-auth-card .el-card__body {
    padding: 40px 32px;
}

.ep-404-visual {
    width: 100%;
    max-width: 280px;
    height: 160px;
    margin: 0 auto 16px;
    border-radius: var(--el-border-radius-base);
    background: linear-gradient(145deg, var(--el-color-primary-light-7), var(--el-color-primary-light-9));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
    font-weight: 700;
    color: var(--el-color-primary);
}

/* ========== 页面模块化（模板不写内联 style） ========== */
.ep-mt-8 {
    margin-top: 8px;
}

.ep-mb-20 {
    margin-bottom: 20px;
}

.ep-mb-16 {
    margin-bottom: 16px;
}

.ep-mt-16 {
    margin-top: 16px;
}

.ep-flex-grow {
    flex: 1;
    min-width: 0;
}

.ep-list-desc {
    margin: 0 0 8px;
    font-size: 14px;
    color: var(--el-text-color-secondary);
    line-height: 1.6;
}

.ep-list-desc--tight {
    line-height: 1.5;
}

.ep-list-item--flush {
    padding: 0;
    border: none;
}

.ep-side-hit-row {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.ep-side-hit-title {
    display: block;
    font-weight: 600;
    font-size: 14px;
    color: var(--el-text-color-primary);
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

a.ep-side-hit-title:hover {
    color: var(--el-color-primary);
}

.ep-side-hit-desc {
    font-size: 12px;
    color: var(--el-text-color-secondary);
    margin-top: 4px;
}

.ep-latest-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--el-border-color-lighter);
}

.ep-latest-title {
    font-weight: 600;
    font-size: 14px;
    color: var(--el-text-color-primary);
    text-decoration: none;
}

a.ep-latest-title:hover {
    color: var(--el-color-primary);
}

.ep-latest-time {
    font-size: 12px;
    color: var(--el-text-color-secondary);
    margin-top: 4px;
}

.ep-yqlj-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--el-border-color-lighter);
}

.ep-card-body--tight-y {
    padding-top: 8px;
    padding-bottom: 8px;
}

.ep-btn-icon-noshrink {
    flex-shrink: 0;
}

.ep-header-search-input {
    width: 100%;
    margin-bottom: 12px;
}

.ep-header-search-submit {
    width: 100%;
}

.ep-user-name {
    font-weight: 600;
}

.ep-user-meta {
    font-size: 12px;
    color: var(--el-text-color-secondary);
}

/* 搜索页筛选区 */
.ep-search-filters {
    margin-bottom: 24px;
}

.ep-search-row {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.ep-search-row--center {
    align-items: center;
}

.ep-search-label {
    width: 72px;
    font-weight: 600;
    flex-shrink: 0;
}

.ep-search-field {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ep-search-divider {
    border-bottom: 1px dashed var(--el-border-color);
    margin: 12px 0;
}

.ep-search-keyword-wrap {
    width: 260px;
    max-width: 100%;
}

/* 详情页 */
.ep-show-card-body {
    padding: 28px;
}

.ep-show-title {
    margin: 0 0 16px;
    font-size: 22px;
    font-weight: 600;
    color: var(--el-text-color-primary);
}

.ep-show-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 20px;
    font-size: 13px;
    color: var(--el-text-color-secondary);
}

.ep-show-tags {
    margin-top: 24px;
}

.ep-show-prevnext-wrap {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid var(--el-border-color-lighter);
}

.ep-show-related {
    margin-top: 28px;
}

.ep-show-related-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
}

.ep-show-related-grid {
    gap: 16px;
}

.ep-show-related-col {
    flex: 1 1 calc(33.333% - 12px);
    min-width: 200px;
}

.ep-related-card {
    height: 100%;
}

.ep-related-cover {
    display: block;
    height: 140px;
    overflow: hidden;
    border-radius: 4px 4px 0 0;
}

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

.ep-related-title {
    font-weight: 600;
    font-size: 14px;
    color: var(--el-text-color-primary);
}

a.ep-related-title:hover {
    color: var(--el-color-primary);
}

.ep-related-desc {
    font-size: 12px;
    color: var(--el-text-color-secondary);
    margin: 8px 0;
}

.ep-related-date {
    font-size: 12px;
    color: var(--el-text-color-placeholder);
}

/* 单页 */
.ep-page-card {
    margin-top: 16px;
}

.ep-page-body {
    padding: 32px 40px;
}

.ep-page-title {
    text-align: center;
    margin: 0 0 24px;
    font-size: 26px;
    font-weight: 600;
}

/* 频道封面标题链 */
.ep-cat-title-link {
    font-size: 16px;
    font-weight: 600;
}

/* 提示 / 404 文案 */
.ep-msg-icon-box {
    font-size: 48px;
    margin-bottom: 16px;
}

.ep-msg-icon--ok {
    color: var(--el-color-success);
}

.ep-msg-icon--err {
    color: var(--el-color-danger);
}

.ep-msg-title {
    margin: 0 0 12px;
    font-size: 20px;
    font-weight: 600;
}

.ep-msg-actions {
    font-size: 14px;
    color: var(--el-text-color-secondary);
}

.ep-404-msg {
    margin: 0 0 20px;
    font-size: 15px;
    color: var(--el-text-color-secondary);
}

/* 可视化编辑占位（dev/action） */
.ep-dev-hint {
    text-align: center;
    padding-top: 30px;
}

.study-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(360px, 0.82fr);
    align-items: stretch;
    min-height: 430px;
    overflow: hidden;
    border-radius: 8px;
    background: #0f172a;
}

.study-hero__media,
.study-hero-swiper,
.study-hero-swiper .swiper-wrapper,
.study-hero-swiper .swiper-slide {
    min-height: 430px;
}

.study-hero-swiper .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 430px;
    object-fit: cover;
}

.study-hero__content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 56px;
    color: #fff;
    background: linear-gradient(135deg, rgba(15, 23, 42, .98), rgba(30, 64, 175, .86));
}

.study-eyebrow,
.study-section__head span,
.study-cta span {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    color: #2563eb;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0;
}

.study-hero__content .study-eyebrow {
    color: #bfdbfe;
}

.study-hero h1 {
    margin: 18px 0 16px;
    font-size: 42px;
    line-height: 1.16;
    font-weight: 800;
    letter-spacing: 0;
}

.study-hero p {
    max-width: 520px;
    margin: 0;
    color: rgba(255, 255, 255, .86);
    font-size: 16px;
    line-height: 1.9;
}

.study-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.study-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 22px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.study-btn:hover {
    transform: translateY(-2px);
    text-decoration: none;
}

.study-btn--primary {
    color: #fff;
    background: #2563eb;
    box-shadow: 0 12px 24px rgba(37, 99, 235, .24);
}

.study-btn--primary:hover {
    color: #fff;
    background: #1d4ed8;
}

.study-btn--ghost {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .42);
    background: rgba(255, 255, 255, .08);
}

.study-btn--ghost:hover {
    color: #fff;
    background: rgba(255, 255, 255, .14);
}

.study-section {
    margin-top: 56px;
}

.study-section--compact {
    margin-top: 42px;
}

.study-section__head {
    margin-bottom: 24px;
}

.study-section__head--split {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
}

.study-section__head h2,
.study-cta h2 {
    margin: 10px 0 0;
    color: #111827;
    font-size: 28px;
    line-height: 1.35;
    font-weight: 800;
    letter-spacing: 0;
}

.study-more {
    color: #2563eb;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.study-more:hover {
    color: #1d4ed8;
}

.study-category-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.study-category,
.study-project,
.study-step {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(15, 23, 42, .06);
}

.study-category {
    display: flex;
    min-height: 138px;
    flex-direction: column;
    justify-content: space-between;
    padding: 22px;
    color: #111827;
    text-decoration: none;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.study-category:hover,
.study-project:hover,
.study-step:hover {
    transform: translateY(-3px);
    border-color: #bfdbfe;
    box-shadow: 0 16px 34px rgba(37, 99, 235, .12);
}

.study-category__mark {
    color: #2563eb;
    font-size: 13px;
    font-weight: 800;
}

.study-category strong {
    margin-top: 14px;
    color: #111827;
    font-size: 18px;
    line-height: 1.35;
}

.study-category em {
    margin-top: 12px;
    color: #6b7280;
    font-size: 13px;
    font-style: normal;
}

.study-project-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.study-project {
    overflow: hidden;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.study-project__thumb {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #f3f4f6;
}

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

.study-project__body {
    padding: 18px;
}

.study-project__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: #6b7280;
    font-size: 13px;
}

.study-project h3 {
    margin: 12px 0 10px;
    font-size: 18px;
    line-height: 1.45;
    font-weight: 800;
    letter-spacing: 0;
}

.study-project h3 a {
    color: #111827;
    text-decoration: none;
}

.study-project h3 a:hover {
    color: #2563eb;
}

.study-project p {
    min-height: 48px;
    margin: 0;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.7;
}

.study-project__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.study-project__tags a {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 9px;
    border-radius: 999px;
    color: #1d4ed8;
    background: #eff6ff;
    font-size: 12px;
    text-decoration: none;
}

.study-service {
    padding: 38px;
    border-radius: 8px;
    background: #f8fafc;
}

.study-step-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.study-step {
    min-height: 174px;
    padding: 22px;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.study-step span {
    color: #2563eb;
    font-size: 22px;
    font-weight: 900;
}

.study-step strong {
    display: block;
    margin-top: 18px;
    color: #111827;
    font-size: 17px;
}

.study-step p {
    margin: 10px 0 0;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.7;
}

.study-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 36px 40px;
    border-radius: 8px;
    color: #fff;
    background: #111827;
}

.study-cta span {
    color: #93c5fd;
}

.study-cta h2 {
    max-width: 760px;
    color: #fff;
}

.study-footer {
    margin-top: 64px;
    background: #0f172a;
}

.study-footer__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1fr);
    gap: 34px;
    padding: 44px 20px 34px;
}

.study-footer strong,
.study-footer h4 {
    color: #fff;
}

.study-footer strong {
    display: block;
    margin-bottom: 12px;
    font-size: 22px;
}

.study-footer h4 {
    margin: 0 0 14px;
    font-size: 16px;
}

.study-footer p,
.study-footer a,
.study-footer__bottom {
    color: rgba(255, 255, 255, .72);
}

.study-footer p {
    margin: 0 0 8px;
    line-height: 1.8;
}

.study-footer__nav div {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
}

.study-footer__nav a {
    text-decoration: none;
}

.study-footer__nav a:hover {
    color: #fff;
}

.study-footer__bottom {
    max-width: var(--ep-container-max);
    margin: 0 auto;
    padding: 18px 20px 28px;
    border-top: 1px solid rgba(255, 255, 255, .1);
    font-size: 13px;
}

@media (max-width: 1024px) {
    .study-hero,
    .study-project-grid {
        grid-template-columns: 1fr;
    }

    .study-category-grid,
    .study-step-grid,
    .study-footer__inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .study-hero {
        min-height: auto;
    }

    .study-hero__media,
    .study-hero-swiper,
    .study-hero-swiper .swiper-wrapper,
    .study-hero-swiper .swiper-slide,
    .study-hero-swiper .swiper-slide img {
        min-height: 240px;
    }

    .study-hero__content {
        padding: 30px 22px;
    }

    .study-hero h1 {
        font-size: 30px;
    }

    .study-category-grid,
    .study-step-grid,
    .study-footer__inner {
        grid-template-columns: 1fr;
    }

    .study-section__head--split,
    .study-cta {
        align-items: flex-start;
        flex-direction: column;
    }

    .study-service,
    .study-cta {
        padding: 26px 20px;
    }
}

/* Homepage A+B: editorial portal with a compact magazine focus area */
.ep-layout {
    background: #ffffff;
}

.ep-main {
    padding-top: 0;
}

.ep-header {
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 8px 24px rgba(17, 24, 39, .05);
    backdrop-filter: blur(14px);
}

.study-intro {
    max-width: 820px;
    margin: 0 auto;
    padding: 58px 20px 34px;
    text-align: center;
}

.study-intro .study-eyebrow,
.study-section__head--center > span {
    margin-right: auto;
    margin-left: auto;
}

.study-intro h1 {
    margin: 14px 0 12px;
    color: #111827;
    font-size: 38px;
    line-height: 1.25;
    font-weight: 800;
    letter-spacing: 0;
}

.study-intro > p {
    max-width: 650px;
    margin: 0 auto;
    color: #64748b;
    font-size: 15px;
    line-height: 1.8;
}

.study-search {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    max-width: 680px;
    min-height: 56px;
    margin: 26px auto 0;
    padding: 6px 7px 6px 18px;
    border: 1px solid #dbe3ef;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 16px 42px rgba(15, 23, 42, .08);
}

.study-search > i {
    color: #2563eb;
    font-size: 17px;
}

.study-search input {
    width: 100%;
    min-width: 0;
    height: 42px;
    padding: 0;
    border: 0;
    outline: 0;
    color: #111827;
    background: transparent;
    font-size: 15px;
}

.study-search input::placeholder {
    color: #94a3b8;
}

.study-search button {
    height: 42px;
    padding: 0 22px;
    border: 0;
    border-radius: 6px;
    color: #fff;
    background: #2563eb;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease;
}

.study-search button:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
}

.study-quick-links {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 14px;
    margin-top: 18px;
    color: #64748b;
    font-size: 13px;
}

.study-quick-links > span {
    color: #111827;
    font-weight: 700;
}

.study-quick-links a {
    color: #64748b;
    text-decoration: none;
}

.study-quick-links a:hover {
    color: #2563eb;
}

.study-focus {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
    gap: 16px;
    height: 380px;
}

.study-focus__main,
.study-focus-swiper,
.study-focus-swiper .swiper-wrapper,
.study-focus-swiper .swiper-slide,
.study-focus__side,
.study-side-story,
.study-side-story > a {
    min-width: 0;
    min-height: 0;
    height: 100%;
}

.study-focus__main,
.study-side-story {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background: #e8edf3;
}

.study-focus__side {
    display: grid;
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.study-focus-swiper .swiper-slide > a,
.study-side-story > a {
    position: relative;
    display: block;
    overflow: hidden;
    color: #fff;
}

.study-focus-swiper img,
.study-side-story img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .55s ease;
}

.study-focus-swiper .swiper-slide:hover img,
.study-side-story:hover img {
    transform: scale(1.035);
}

.study-focus__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(4, 14, 31, .03) 30%, rgba(4, 14, 31, .82) 100%);
}

.study-focus__caption {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 36px 70px 34px;
    text-align: center;
}

.study-focus__caption em,
.study-side-story__content em {
    margin-bottom: 8px;
    color: #bfdbfe;
    font-size: 12px;
    line-height: 1.4;
    font-style: normal;
    font-weight: 700;
}

.study-focus__caption strong {
    max-width: 720px;
    font-size: 25px;
    line-height: 1.45;
    font-weight: 800;
}

.study-side-story__content {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 7px 12px;
    padding: 18px 20px;
}

.study-side-story__content em {
    grid-column: 1 / -1;
    margin: 0;
}

.study-side-story__content strong {
    min-width: 0;
    font-size: 16px;
    line-height: 1.45;
    font-weight: 800;
}

.study-side-story__content small {
    color: rgba(255, 255, 255, .76);
    font-size: 12px;
}

.study-focus-swiper .swiper-pagination-bullets {
    bottom: 14px;
}

.study-focus-swiper .swiper-pagination-bullet {
    width: 22px;
    height: 3px;
    border-radius: 2px;
    background: rgba(255, 255, 255, .65);
}

.study-focus-swiper .swiper-pagination-bullet-active {
    width: 36px;
    background: #fff;
}

.study-focus-swiper .swiper-button-prev,
.study-focus-swiper .swiper-button-next {
    width: 38px;
    height: 38px;
    margin-top: -19px;
    border-radius: 50%;
    background-color: rgba(15, 23, 42, .48);
    background-size: 10px 18px;
}

.study-focus-swiper .swiper-button-prev {
    left: 16px;
}

.study-focus-swiper .swiper-button-next {
    right: 16px;
}

.study-section {
    margin-top: 78px;
}

.study-section__head {
    margin-bottom: 30px;
}

.study-section__head h2 {
    margin-top: 9px;
    font-size: 29px;
}

.study-section__head > div > span,
.study-section__head--center > span,
.study-resource__head > span {
    color: #2563eb;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
}

.study-section__head--center {
    max-width: 660px;
    margin-right: auto;
    margin-bottom: 32px;
    margin-left: auto;
    text-align: center;
}

.study-section__head--center p {
    margin: 12px 0 0;
    color: #64748b;
    font-size: 14px;
    line-height: 1.7;
}

.study-category-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.study-category {
    position: relative;
    min-height: 158px;
    justify-content: flex-start;
    padding: 24px;
    border-color: #e5eaf1;
    box-shadow: 0 8px 26px rgba(15, 23, 42, .045);
}

.study-category__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 6px;
    color: #2563eb;
    background: #eff6ff;
    font-size: 16px;
}

.study-category strong {
    margin-top: 18px;
}

.study-category em {
    margin-top: 7px;
}

.study-category__arrow {
    position: absolute;
    right: 22px;
    bottom: 23px;
    color: #0d9488;
    transition: transform .2s ease;
}

.study-category:hover .study-category__arrow {
    transform: translateX(4px);
}

.study-editorial__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(380px, .88fr);
    gap: 34px;
    align-items: start;
}

.study-lead-story {
    overflow: hidden;
    border-radius: 8px;
    background: #f8fafc;
}

.study-lead-story__media {
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #e8edf3;
}

.study-lead-story__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
}

.study-lead-story:hover .study-lead-story__media img {
    transform: scale(1.025);
}

.study-lead-story__body {
    padding: 25px 28px 28px;
}

.study-lead-story h3 {
    margin: 13px 0 10px;
    font-size: 24px;
    line-height: 1.45;
}

.study-lead-story h3 a,
.study-list-story h3 a {
    color: #111827;
    text-decoration: none;
}

.study-lead-story h3 a:hover,
.study-list-story h3 a:hover {
    color: #2563eb;
}

.study-lead-story p {
    margin: 0;
    color: #64748b;
    font-size: 14px;
    line-height: 1.8;
}

.study-text-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 20px;
    color: #0d9488;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.study-editorial__list {
    display: grid;
    gap: 0;
    border-top: 1px solid #e5e7eb;
}

.study-list-story {
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr);
    gap: 18px;
    min-height: 125px;
    padding: 17px 0;
    border-bottom: 1px solid #e5e7eb;
}

.study-list-story__thumb {
    display: block;
    overflow: hidden;
    min-height: 90px;
    border-radius: 6px;
    background: #e8edf3;
}

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

.study-list-story__body {
    min-width: 0;
}

.study-list-story__body > span {
    color: #0d9488;
    font-size: 12px;
}

.study-list-story h3 {
    margin: 7px 0 5px;
    font-size: 16px;
    line-height: 1.45;
}

.study-list-story p {
    display: -webkit-box;
    overflow: hidden;
    margin: 0;
    color: #64748b;
    font-size: 13px;
    line-height: 1.6;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.study-latest {
    padding-top: 62px;
    padding-bottom: 66px;
    background: #f6f8fb;
    box-shadow: 0 0 0 100vmax #f6f8fb;
    clip-path: inset(0 -100vmax);
}

.study-project-grid {
    gap: 18px;
}

.study-project {
    border-color: #e5eaf1;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .05);
}

.study-project__thumb {
    position: relative;
    aspect-ratio: 16 / 9;
}

.study-project__thumb > span {
    position: absolute;
    left: 14px;
    bottom: 12px;
    padding: 5px 9px;
    border-radius: 4px;
    color: #fff;
    background: rgba(15, 23, 42, .78);
    font-size: 11px;
}

.study-project__thumb img {
    transition: transform .4s ease;
}

.study-project:hover .study-project__thumb img {
    transform: scale(1.03);
}

.study-project__tags a {
    border-radius: 4px;
    color: #0f766e;
    background: #ecfdf5;
}

.study-resource {
    display: grid;
    grid-template-columns: minmax(280px, .8fr) minmax(0, 1.2fr);
    gap: 56px;
    align-items: center;
    padding: 46px 50px;
    border-radius: 8px;
    color: #fff;
    background: #111827;
}

.study-resource__head > span {
    color: #5eead4;
}

.study-resource__head h2 {
    margin: 10px 0 12px;
    color: #fff;
    font-size: 27px;
    line-height: 1.45;
}

.study-resource__head p {
    margin: 0;
    color: #aeb9ca;
    font-size: 14px;
    line-height: 1.8;
}

.study-resource__links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.study-resource__links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 52px;
    padding: 0 17px;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 6px;
    color: #e5e7eb;
    background: rgba(255, 255, 255, .045);
    text-decoration: none;
    transition: background .2s ease, border-color .2s ease;
}

.study-resource__links a:hover {
    border-color: rgba(94, 234, 212, .48);
    color: #fff;
    background: rgba(13, 148, 136, .18);
}

.study-resource__links i {
    color: #5eead4;
}

@media (max-width: 1080px) {
    .study-focus {
        grid-template-columns: minmax(0, 1.65fr) minmax(260px, .85fr);
        height: 350px;
    }

    .study-category-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .study-editorial__grid {
        grid-template-columns: 1fr;
    }

    .study-editorial__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0 24px;
    }

    .study-resource {
        gap: 34px;
        padding: 38px;
    }
}

@media (max-width: 760px) {
    .study-intro {
        padding: 42px 8px 28px;
    }

    .study-intro h1 {
        font-size: 31px;
    }

    .study-focus {
        grid-template-columns: 1fr;
        height: auto;
    }

    .study-focus__main,
    .study-focus-swiper,
    .study-focus-swiper .swiper-wrapper,
    .study-focus-swiper .swiper-slide {
        height: 250px;
    }

    .study-focus__side {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: 165px;
        height: 165px;
    }

    .study-focus__caption {
        padding: 32px 54px 30px;
    }

    .study-focus__caption strong {
        font-size: 20px;
    }

    .study-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .study-section {
        margin-top: 58px;
    }

    .study-editorial__list {
        grid-template-columns: 1fr;
    }

    .study-project-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

@media (max-width: 520px) {
    .ep-container {
        padding-right: 14px;
        padding-left: 14px;
    }

    .study-intro h1 {
        font-size: 27px;
    }

    .study-intro > p {
        font-size: 14px;
    }

    .study-search {
        grid-template-columns: 20px minmax(0, 1fr) auto;
        padding-left: 12px;
    }

    .study-search button {
        width: 46px;
        padding: 0;
        overflow: hidden;
        color: transparent;
        font-size: 0;
    }

    .study-search button::before {
        content: "\f002";
        color: #fff;
        font-family: FontAwesome;
        font-size: 15px;
    }

    .study-focus__main,
    .study-focus-swiper,
    .study-focus-swiper .swiper-wrapper,
    .study-focus-swiper .swiper-slide {
        height: 220px;
    }

    .study-focus__side {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(2, 145px);
        height: 306px;
    }

    .study-focus__caption {
        align-items: flex-start;
        padding: 28px 45px 26px;
        text-align: left;
    }

    .study-focus__caption strong {
        font-size: 18px;
    }

    .study-section__head h2,
    .study-resource__head h2 {
        font-size: 24px;
    }

    .study-category-grid,
    .study-project-grid,
    .study-resource__links {
        grid-template-columns: 1fr;
    }

    .study-category {
        min-height: 138px;
    }

    .study-lead-story__body {
        padding: 21px 20px 24px;
    }

    .study-lead-story h3 {
        font-size: 20px;
    }

    .study-list-story {
        grid-template-columns: 112px minmax(0, 1fr);
        gap: 14px;
    }

    .study-list-story p {
        display: none;
    }

    .study-latest {
        padding-top: 48px;
        padding-bottom: 50px;
    }

    .study-resource {
        padding: 30px 22px;
    }
}

/* Final overrides for the graduation project resource layout */
body.study-site {
    color: #172033;
    background: #f6f8fb;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
}

body.study-site .study-container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

body.study-site .study-main {
    padding-top: 34px;
}

body.study-site .study-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr);
    gap: 22px;
    align-items: stretch;
    min-height: 330px;
    overflow: visible;
    border-radius: 0;
    background: transparent;
}

body.study-site .study-hero__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 46px;
    border-radius: 8px;
    color: #fff;
    background: linear-gradient(135deg, #15243b 0%, #1d63d8 68%, #0f766e 100%);
}

body.study-site .study-hero__panel {
    max-height: 330px;
}

body.study-site .study-hero__slides {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 10px;
    height: 250px;
    overflow: hidden;
}

body.study-site .study-hero__slide,
body.study-site .study-hero__slide:first-child {
    grid-row: auto;
    min-height: 0;
}

body.study-site .study-hero__label {
    right: 12px;
    bottom: 11px;
    left: 12px;
    font-size: 13px;
}

body.study-site .study-direction-card__subhead {
    margin: 2px 0 10px;
    color: #1d63d8;
    font-size: 12px;
    font-weight: 900;
}

body.study-site .study-topbar__inner {
    width: min(1360px, calc(100% - 32px));
    grid-template-columns: minmax(180px, auto) minmax(0, 1fr) auto;
    gap: 18px;
    min-height: 70px;
}

body.study-site .study-nav {
    min-width: 0;
    grid-column: auto;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    row-gap: 0;
    overflow: visible;
}

body.study-site .study-nav__item {
    height: 70px;
    padding-right: 11px;
    padding-left: 11px;
    font-size: 13px;
}

body.study-site .study-topbar__actions {
    position: relative;
    z-index: 90;
    justify-self: end;
    flex-wrap: nowrap;
}

body.study-site .study-brand,
body.study-site .study-brand__link,
body.study-site .study-brand__text {
    min-width: 0;
}

body.study-site .study-brand__text strong,
body.study-site .study-brand__text em {
    white-space: nowrap;
}

@media (max-width: 1220px) and (min-width: 761px) {
    body.study-site .study-topbar__inner {
        width: min(100% - 24px, 1180px);
        grid-template-columns: auto minmax(0, 1fr) auto;
        gap: 10px;
    }

    body.study-site .study-brand__link {
        gap: 7px;
    }

    body.study-site .study-brand__logo {
        width: 34px;
        height: 34px;
    }

    body.study-site .study-brand__text strong {
        font-size: 15px;
    }

    body.study-site .study-brand__text em {
        display: none;
    }

    body.study-site .study-nav {
        grid-column: auto;
        border-top: 0;
    }

    body.study-site .study-nav__item {
        height: 64px;
        padding-right: 7px;
        padding-left: 7px;
        font-size: 12px;
    }

    body.study-site .study-nav__item i {
        margin-left: -2px;
    }

    body.study-site .study-topbar__actions {
        display: flex;
        gap: 6px;
    }

    body.study-site .study-icon-btn {
        width: 36px;
        height: 36px;
    }
}

body.study-site .study-direction-card__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    min-height: 34px;
}

body.study-site .study-direction-card__chips span {
    border: 1px solid #b9efe5;
    color: #075e57;
    background: #e6fbf6;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .65);
}

body.study-site .study-user {
    position: relative;
    z-index: 90;
}

body.study-site .study-user__panel {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    z-index: 80;
    display: none;
    min-width: 190px;
    padding: 10px;
    border: 1px solid #e3e9f2;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 42px rgba(24, 34, 57, .16);
}

body.study-site .study-user:hover .study-user__panel,
body.study-site .study-user:focus-within .study-user__panel,
body.study-site .study-user.is-open .study-user__panel {
    display: grid;
    gap: 4px;
}

body.study-site .study-user__panel::after {
    position: absolute;
    right: 0;
    bottom: 100%;
    left: 0;
    height: 14px;
    content: "";
}

body.study-site .study-user.is-open .study-user__toggle {
    border-color: #a8c9ff;
    color: #1556bd;
    background: #edf4ff;
}

body.study-site .study-user__panel::before {
    content: "";
    position: absolute;
    right: 13px;
    bottom: 100%;
    width: 0;
    height: 0;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #fff;
    border-left: 8px solid transparent;
}

body.study-site .study-user__panel a {
    display: flex;
    align-items: center;
    min-height: 36px;
    padding: 0 10px;
    border-radius: 6px;
    color: #2b3548;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

/* Local project previews used only while a CMS section has no real content. */
.study-demo-cover {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    min-height: 118px;
    overflow: hidden;
    color: #326be8;
    background: #edf3fa;
    font-size: 10px;
}

.study-demo-cover::after {
    position: absolute;
    right: -8%;
    bottom: -22%;
    width: 46%;
    height: 55%;
    border-radius: 50%;
    background: rgba(15, 118, 110, .14);
    content: "";
}

.study-demo-cover__bar {
    display: flex;
    align-items: center;
    gap: 5px;
    height: 22%;
    min-height: 25px;
    padding: 0 8%;
    color: #6f7e91;
    background: #fff;
    box-shadow: 0 1px 0 rgba(34, 49, 74, .08);
}

.study-demo-cover__bar i {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #c8d2df;
}

.study-demo-cover__bar b {
    margin-left: auto;
    font-size: .72em;
    letter-spacing: 0;
}

.study-demo-cover__app {
    position: absolute;
    inset: 22% 0 0;
    display: grid;
    grid-template-columns: 18% minmax(0, 1fr);
}

.study-demo-cover__rail {
    display: flex;
    flex-direction: column;
    gap: 10%;
    padding: 25% 22%;
    background: #172b4d;
}

.study-demo-cover__rail i {
    height: 5px;
    border-radius: 3px;
    background: rgba(255, 255, 255, .58);
}

.study-demo-cover__main {
    display: flex;
    flex-direction: column;
    padding: 7% 8%;
}

.study-demo-cover__title {
    width: 36%;
    height: 7px;
    border-radius: 4px;
    background: #8fa2b9;
}

.study-demo-cover__stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 5%;
    margin-top: 7%;
}

.study-demo-cover__stats i {
    height: 25px;
    border: 1px solid rgba(50, 107, 232, .12);
    border-radius: 4px;
    background: rgba(255, 255, 255, .88);
    box-shadow: 0 5px 12px rgba(31, 51, 77, .06);
}

.study-demo-cover__chart {
    display: flex;
    align-items: flex-end;
    gap: 6%;
    height: 42%;
    margin-top: 7%;
    padding: 0 5%;
    border-radius: 4px;
    background: rgba(255, 255, 255, .82);
}

.study-demo-cover__chart i {
    width: 12%;
    height: 40%;
    border-radius: 3px 3px 0 0;
    background: currentColor;
    opacity: .75;
}

.study-demo-cover__chart i:nth-child(2) { height: 68%; }
.study-demo-cover__chart i:nth-child(3) { height: 52%; }
.study-demo-cover__chart i:nth-child(4) { height: 82%; }
.study-demo-cover__chart i:nth-child(5) { height: 62%; }

.study-demo-cover--python { color: #0891b2; background: #ecf9fb; }
.study-demo-cover--app { color: #0f9f78; background: #effaf5; }
.study-demo-cover--web { color: #e06f32; background: #fff5ed; }
.study-demo-cover--ai,
.study-demo-cover--data { color: #7c56c5; background: #f5f0fb; }
.study-demo-cover--paper { color: #d19a22; background: #fff9e8; }

.study-demo-cover--app .study-demo-cover__app {
    inset: 25% 28% 5%;
    display: block;
    overflow: hidden;
    border: 3px solid #17334b;
    border-radius: 9px;
    background: #fff;
    box-shadow: 0 9px 20px rgba(23, 51, 75, .18);
}

.study-demo-cover--app .study-demo-cover__rail { display: none; }
.study-demo-cover--app .study-demo-cover__main { height: 100%; padding: 14% 11%; }

.study-demo-badge,
.study-tag-list span {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 10px;
    border-radius: 999px;
    color: #536276;
    background: #f0f3f7;
    font-size: 12px;
    font-weight: 700;
}

.study-demo-badge {
    color: #9a6500;
    background: #fff3cd;
}

.study-side-card__body > .study-demo-badge {
    margin-top: 8px;
}

.study-side-item__thumb .study-demo-cover {
    min-height: 68px;
}

@media (max-width: 780px) {
    .study-demo-cover__bar b { display: none; }
}

body.study-site .study-user__panel a:hover {
    color: #1d63d8;
    background: #eef5ff;
}

body.study-site .study-user__info {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    min-width: 0;
    padding: 8px 8px 12px;
    margin-bottom: 6px;
    border-bottom: 1px solid #edf1f6;
}

body.study-site .study-user__info img {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
}

body.study-site .study-user__info strong,
body.study-site .study-user__info span {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.study-site .study-user__info strong {
    color: #172033;
    font-size: 14px;
}

body.study-site .study-user__info span {
    margin-top: 3px;
    color: #687386;
    font-size: 12px;
}

body.study-site .study-section {
    margin-top: 50px;
}

body.study-site .study-section__head {
    margin-bottom: 22px;
}

body.study-site .study-section__head h2 {
    margin: 9px 0 0;
    color: #172033;
    font-size: 28px;
    line-height: 1.35;
    font-weight: 900;
    letter-spacing: 0;
}

body.study-site .study-project-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

body.study-site .study-footer {
    margin-top: 58px;
    color: rgba(255, 255, 255, .76);
    background: #15243b;
}

body.study-site .study-footer__inner {
    display: grid;
    grid-template-columns: 1.15fr 1fr 1fr;
    gap: 34px;
    padding: 42px 0 30px;
}

body.study-site .study-friendlinks {
    padding: 24px;
    border: 1px solid #e3e9f2;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(24, 34, 57, .07);
}

body.study-site .study-friendlinks__body {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
}

body.study-site .study-friendlinks__body a {
    color: #0f766e;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

@media (max-width: 1100px) {
    body.study-site .study-hero {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    body.study-site .study-container {
        width: min(100% - 24px, 1180px);
    }

    body.study-site .study-hero__content {
        padding: 24px;
    }

    body.study-site .study-project-grid,
    body.study-site .study-footer__inner {
        grid-template-columns: 1fr;
    }
}

/* Configurable floating QR contact card */
@keyframes study-contact-drift {
    0%, 100% { transform: translateY(-10px); }
    50% { transform: translateY(10px); }
}

body.study-site .study-contact-float {
    top: 16px;
    left: 16px;
    right: auto;
    animation: none;
    transition: none;
}

body.study-site .study-contact-float:hover,
body.study-site .study-contact-float:focus-within,
body.study-site .study-contact-float.is-paused {
    animation-play-state: paused;
}

body.study-site .study-contact-float__toggle {
    display: none;
    width: 48px;
    min-height: 48px;
    border: 0;
    border-radius: 8px 0 0 8px;
    writing-mode: horizontal-tb;
}

body.study-site .study-contact-float.is-minimized {
    top: 50% !important;
    right: 0 !important;
    left: auto !important;
    bottom: auto !important;
    transform: translateY(-50%) !important;
    animation: none;
    transition: none;
}

body.study-site .study-contact-float.is-minimized .study-contact-float__toggle {
    display: flex;
}

body.study-site .study-contact-float.is-minimized .study-contact-float__toggle span {
    display: none;
}

body.study-site .study-contact-float__panel,
body.study-site .study-contact-float.is-open .study-contact-float__panel {
    position: relative;
    top: auto;
    right: auto;
    display: flex;
    width: 300px;
    height: 300px;
    flex-direction: column;
    align-items: center;
    padding: 18px;
    overflow: hidden;
    text-align: center;
    transform: none;
}

body.study-site .study-contact-float.is-minimized .study-contact-float__panel {
    display: none;
}

body.study-site .study-contact-float__panel::after {
    display: none;
}

body.study-site .study-contact-float__title h3 {
    margin: 0 34px 6px;
    font-size: 22px;
}

body.study-site .study-contact-float__qr {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 116px;
    height: 116px;
    margin: 5px auto 8px;
    padding: 6px;
    border: 1px solid #e0e8f2;
    border-radius: 6px;
    background: #fff;
}

body.study-site .study-contact-float__qr img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

body.study-site .study-contact-float__qr--empty { flex-direction: column; gap: 5px; color: #8390a3; font-size: 10px; }
body.study-site .study-contact-float__qr--empty i { color: #1d63d8; font-size: 34px; }

body.study-site .study-contact-float__panel > p {
    max-width: 240px;
    line-height: 1.5;
}

body.study-site .study-contact-float__list {
    width: 100%;
    max-height: 68px;
    margin: 8px 0;
    overflow: auto;
}

body.study-site .study-contact-float__list > div {
    padding: 6px 9px;
    text-align: left;
}

body.study-site .study-contact-float__panel > small {
    margin-top: auto;
    padding-top: 7px;
    font-size: 10px;
}

@media (max-width: 760px) {
    body.study-site .study-contact-float { top: 10px; left: 10px; right: auto; bottom: auto; transition: none; }
    body.study-site .study-contact-float__panel,
    body.study-site .study-contact-float.is-open .study-contact-float__panel { width: min(280px, calc(100vw - 20px)); height: 280px; }
    body.study-site .study-contact-float__qr { width: 104px; height: 104px; }
}
