/* ==========================================================
   专家共识 course-consensus.css（列表页 + 详情页）
   - 继承 home.css :root 变量（--iti-primary 等）
   ========================================================== */

/* ============ 面包屑 ============ */

.iti-cs-crumbs .iti-container {
    padding-top: 14px;
    padding-bottom: 34px;
    font-size: 12px;
    color: var(--iti-text-light);

}
.iti-cs-crumbs a { color: var(--iti-text-light); }
.iti-cs-crumbs a:hover { color: var(--iti-primary); }
.iti-cs-crumbs .sep { margin: 0 8px; color: var(--iti-bg-soft-2); }
.iti-cs-crumbs .cur { color: var(--iti-navy); font-weight: 600; }

/* ============ Hero ============ */
.iti-cs-hero {
    border-bottom: 1px solid var(--iti-bg-soft-2);
    position: relative;
}
.iti-cs-hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    max-width: 100%!important;
    padding: 0!important;
}
.iti-cs-hero-media {
    z-index: 9;
}
.iti-cs-hero-tag {
    display: inline-block;
    background: var(--iti-primary);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    padding: 4px 14px;
    border-radius: 999px;
    margin-bottom: 18px;
}
.iti-cs-hero-title {
    font-size: 38px;
    font-weight: 800;
    line-height: 1.3;
    color: var(--iti-navy);
    margin: 0 0 16px;
}
/* 装饰性弧形 - 左下青色 */
.iti-cs-hero::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 240px;
    background: #00599b;
    clip-path: polygon(0% 100%, 100% 100%, 0 80%);
    opacity: 0.9;
}

/* 装饰性弧形 - 左下黄绿 */
.iti-cs-hero::after {
    content: "";
    position: absolute;
    left: 39%;
    bottom: 0;
    width: 200px;
    height: 75%;
    background: #d2da16;
    clip-path: polygon(50% 100%, 100% 0, 100% 100%);
    opacity: 0.7;
    z-index: 2;

}
.iti-cs-hero-text::after {
    content: "";
    position: absolute;
    left: 37%;
    bottom: 0;
    width: 340px;
    height: 40%;
    background: #00b2b8;
    clip-path: polygon(0% 100%, 100% 0%, 100% 100%);
    opacity: 1;
    z-index: 1;
}
.iti-cs-hero-text {
     display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-left: 25%;
    padding-top: 10px;
    height: 100%;
}

.iti-cs-hero-sub {
    font-size: 15px;
    line-height: 1.9;
    color: var(--iti-text);
    max-width: 520px;
    margin: 0;
}

/* Hero 右侧会议照片 */

.iti-cs-hero-photo img {
    width: 100%;
    z-index: 2;
}

.iti-cs-hero-photo-cap {
    position: relative;
    z-index: 3;
    width: 100%;
    padding: 22px 24px;
    background: linear-gradient(180deg, transparent, rgba(15, 31, 61, 0.85));
    color: #fff;
}
.iti-cs-hero-photo-cap span {
    display: block;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.85;
    margin-bottom: 2px;
}
.iti-cs-hero-photo-cap strong {
    font-size: 16px;
    font-weight: 600;
}

/* ============ 通用区块标题 ============ */
.iti-cs-sec-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 26px;
}
.iti-cs-sec-title {
    font-size: 26px;
    font-weight: 800;
    color: var(--iti-navy);
    margin: 0;
}
.iti-cs-sec-title--center {
    text-align: center;
    margin-bottom: 30px;
}

/* ============ 会议论文集（轮播） ============ */
.iti-cs-conf {
    background: var(--iti-bg-soft);
    padding: 48px 0 140px;
    background-image: url(/assets/images/course/sekuai.png);
    background-position: right bottom;
    background-size: 35%;
    background-repeat: no-repeat;
}
.iti-cs-sec-nav {
    display: flex;
    gap: 10px;
}
.iti-cs-nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--iti-border);
    background: #fff;
    color: var(--iti-navy);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all var(--iti-transition);
    cursor: pointer;
}
.iti-cs-nav-btn:hover:not(:disabled) {
    background: var(--iti-primary);
    border-color: var(--iti-primary);
    color: #fff;
}
.iti-cs-nav-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}
.iti-cs-nav-btn svg {
    width: 18px;
    height: 18px;
}

.iti-cs-carousel {
    overflow: hidden;
}
.iti-cs-carousel-track {
    display: flex;
    gap: 20px;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

.iti-cs-conf-card {
    flex: 0 0 276px;
    background: #fff;
    border: 1px solid var(--iti-border);
    border-radius: 12px;
    overflow: hidden;
    transition: box-shadow var(--iti-transition), transform var(--iti-transition);
}
.iti-cs-conf-card:hover {
    box-shadow: var(--iti-shadow-md);
    transform: translateY(-4px);
}

/* 封面：CSS 书籍封面（4 种主题色），图片存在时覆盖其上 */
.iti-cs-conf-cover {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 200px;
    padding: 18px 20px;
    color: #fff;
    overflow: hidden;
    text-decoration: none;
}
.iti-cs-conf-cover--1 { background: linear-gradient(135deg, #0F1F3D 0%, #1a3a6e 70%, #1AB5B5 130%); }
.iti-cs-conf-cover--2 { background: linear-gradient(135deg, #0d5f5f 0%, #1AB5B5 75%, #d2da16 140%); }
.iti-cs-conf-cover--3 { background: linear-gradient(135deg, #163a6b 0%, #0F1F3D 60%, #1a5c7a 120%); }
.iti-cs-conf-cover--4 { background: linear-gradient(135deg, #7a8b1a 0%, #0F1F3D 55%, #1AB5B5 120%); }
.iti-cs-conf-cover img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}
.iti-cs-conf-badge {
    position: absolute;
  
    width: 140px;
    top: 0;
    left: -14px;
    z-index: 2;
    background: url(/assets/images/course/badge-bg.png);
    background-size: 100%;
    background-repeat: no-repeat;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 3px 10px;
      padding-left: 36px;

}
.iti-cs-conf-logo {
    position: absolute;
    top: 10px;
    right: 14px;
    z-index: 2;
    font-size: 30px;
    font-weight: 900;
    letter-spacing: 1px;
    opacity: 0.35;
}
.iti-cs-conf-cover-title {
    position: relative;
    z-index: 2;
    max-width: 100%;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
    /* 专题会议全名较长（如 ITI Zygoma Consensus Workshop），按词换行避免溢出 */
    overflow-wrap: break-word;
}
.iti-cs-conf-cover-year {
    position: relative;
    z-index: 2;
    margin-top: 6px;
    font-size: 13px;
    opacity: 0.9;
    letter-spacing: 1px;
}

.iti-cs-conf-body {
    padding: 16px 18px 0;
}
.iti-cs-conf-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--iti-navy);
    line-height: 1.5;
    margin: 0 0 4px;
    padding-bottom: 30px;
    border-bottom: 1px solid #58585875;
}
.xiazai{
    letter-spacing: 6px;
    margin-top: 20px;
}
.iti-cs-conf-year { font-weight: 500; }
.iti-cs-conf-count {
    font-size: 12px;
    color: var(--iti-muted);
    margin: 0 0 14px;
}

/* ============ 声明列表 ============ */
.iti-cs-list {
    padding: 48px 0 60px;
    scroll-margin-top: 80px;   /* 带参数直接定位到结果区时，避免被吸顶导航遮挡 */
}

.iti-cs-toolbar {
    display: flex;
    align-items: center;
    background-color: #e9e7e6;
    border-radius: 8px 8px 0 0;
    justify-content: space-between;
    gap: 16px;
    width: 110%;
    margin-left: -5%;
    padding: 18px 2.5%;
}
.iti-cs-search {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    max-width: 100%;
    background: #fff;
    border: 1px solid var(--iti-bg-soft-2);
    border-radius: 6px;
    padding: 6px 6px 6px 18px;
    box-shadow: 0 1px 2px rgba(15, 31, 61, 0.04);
}
.iti-cs-search-icon {
    display: inline-flex;
    color: var(--iti-muted);
}
.iti-cs-search-icon svg { width: 17px; height: 17px; }
.iti-cs-search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 14px;
    font-family: inherit;
    color: var(--iti-text);
    background: transparent;
    min-width: 0;
}
.iti-cs-count {
    font-size: 13px;
    color: var(--iti-text-light);
    white-space: nowrap;
}

.iti-cs-filters {
    width: 110%;
    margin-left: -5%;
    display: flex;
    gap: 12px;
    margin-bottom: 26px;
    background-color: #e9e7e6;
    border-radius: 0 0 8px 8px;
    padding: 0px 2.5% 18px;
}
.iti-cs-select {
    appearance: none;
    -webkit-appearance: none;
    padding: 9px 36px 9px 14px;
    font-size: 13px;
    font-family: inherit;
    color: var(--iti-navy);
    background: #fff
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2398A2B3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E")
        no-repeat right 14px center;
    border: 1px solid var(--iti-border);
    border-radius: 8px;
    cursor: pointer;
    transition: border-color var(--iti-transition);
}
.iti-cs-select:hover { border-color: var(--iti-primary); }
.iti-cs-select:focus { outline: none; border-color: var(--iti-primary); }

.iti-cs-empty {
    text-align: center;
    color: var(--iti-muted);
    padding: 60px 0;
    font-size: 14px;
}

.iti-cs-rows {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.iti-cs-row {
    display: flex;
    align-items: center;
    gap: 18px;
    background: #fff;
    border: 1px solid var(--iti-border);
    border-radius: 10px;
    padding: 0 22px 0 0;
    transition: box-shadow var(--iti-transition), transform var(--iti-transition);
}
.iti-cs-row:hover {
    box-shadow: var(--iti-shadow);
    transform: translateY(-2px);
}

/* 会议标签（青色块） */
.iti-cs-row-tag {
    flex: 0 0 auto;
    min-width: 108px;
    /* 专题会议全名较长（如 ITI Zygoma Consensus Workshop）：
       限宽 + 自动换行，避免标签撑宽挤压右侧标题 */
    max-width: 168px;
    text-align: center;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
    border-radius: 6px;
    overflow-wrap: break-word;
}
.iti-cs-row-tag img {
    border-radius: 6px 0 0 6px;
}
.iti-cs-row-main {
    flex: 1;
    min-width: 0;
}
.iti-cs-row-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--iti-navy);
    line-height: 1.5;
    margin: 0 0 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.iti-cs-row-authors {
    font-size: 13px;
    color: var(--iti-primary);
    margin: 0 0 2px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.iti-cs-row-group {
    font-size: 12px;
    color: var(--iti-muted);
    margin: 0;
}

.iti-cs-row-side {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

/* 语言徽章 */
.iti-cs-lang {
    display: inline-block;
    width: 100px;
    text-align: center;
    font-size: 12px;
    font-weight: 400;
    padding: 4px 20px;
    border-radius: 10px;
    white-space: nowrap;
}
.gssm {
     display: inline-block;
    width: 100px;
    font-size: 12px;
    text-align: center;
    color: #000;
    border-radius: 10px;
    padding: 4px 20px;
    white-space: nowrap;
    background-color: var(--iti-bg-soft);
}
.iti-cs-lang--en {
    background: #fff5d9;
    color: #000;
}
.iti-cs-lang--zh {
    background: #fff5d9;
    color: #000;
}

/* 分页 */
.iti-cs-pager {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 34px;
}
.iti-cs-pager-btn {
    min-width: 38px;
    height: 38px;
    padding: 0 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--iti-border);
    border-radius: 8px;
    background: #fff;
    color: var(--iti-text-light);
    font-size: 14px;
    transition: all var(--iti-transition);
}
.iti-cs-pager-btn:hover:not(.is-active) {
    border-color: var(--iti-primary);
    color: var(--iti-primary);
}
.iti-cs-pager-btn.is-active {
    background: var(--iti-primary);
    border-color: var(--iti-primary);
    color: #fff;
    font-weight: 600;
}
.iti-cs-pager-btn svg { width: 16px; height: 16px; }
.iti-cs-pager-dots { color: var(--iti-muted); padding: 0 2px; }

/* ============ CTA ============ */
.iti-cs-cta {
    position: relative;
    background: var(--iti-navy);
    overflow: hidden;
    padding: 56px 0;
}
.iti-cs-cta-deco-left,
.iti-cs-cta-deco-right {
    position: absolute;
    border-radius: 50%;
    opacity: 0.14;
    pointer-events: none;
}
.iti-cs-cta-deco-left {
    left: -60px;
    top: -70px;
    width: 260px;
    height: 260px;
    background: var(--iti-primary);
}
.iti-cs-cta-deco-right {
    right: -50px;
    bottom: -90px;
    width: 280px;
    height: 280px;
    background: var(--iti-yellow);
}
.iti-cs-cta-inner {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #fff;
}
.iti-cs-cta-title {
    font-size: 28px;
    font-weight: 800;
    margin: 0 0 8px;
}
.iti-cs-cta-desc {
    font-size: 14px;
    opacity: 0.8;
    margin: 0 0 24px;
}

/* ==========================================================
   详情页
   ========================================================== */
.iti-csd-head {
    border-bottom: 1px solid var(--iti-bg-soft-2);
    padding: 44px 0 40px;
   
}
.iti-csd-head-inner {
 border-left: 4px solid #648b49;
 max-width: 900px;
}
.iti-csd-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    /* margin-bottom: 18px; */
}
.iti-csd-meta-item {
    font-size: 16px;
    /* color: var(--iti-text-light); */
    background: #fff;
    /* border: 1px solid var(--iti-border); */
    padding: 4px 12px;
    border-radius: 999px;
}
.iti-csd-meta-item  {
    color: #648b49;
}
.iti-csd-title {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.35;
    color: var(--iti-navy);
    margin: 0 0 12px;
}
.iti-csd-authors {
    font-size: 14px;
    color: #a11761;
    margin: 0;
}

.iti-csd-body {
    background: #fff;
    padding: 44px 0 56px;
}
.iti-csd-body-inner {
    max-width: 900px;
}
.iti-csd-content {
    font-size: 15px;
    line-height: 1.95;
    color: var(--iti-text);
}
.forum-section-container__inner h2{
    font-weight: 700!important;
}
.forum-section-container__inner div{
    background-color: #e9e7e6;
    padding: 16px 10px;
}
.iti-consensus__references {
    display: none;
}
.iti-csd-content h1,
.iti-csd-content h2,
.iti-csd-content h3,
.iti-csd-content h4 {
    color: var(--iti-navy);
    font-weight: 700;
    line-height: 1.4;
    margin: 30px 0 12px;
}
.iti-csd-content h1 { font-size: 24px; }
.iti-csd-content h2 { font-size: 21px;}
.iti-csd-content h3 { font-size: 18px; }
.iti-csd-content h4 { font-size: 16px; }
.iti-csd-content p {
    margin: 0 0 14px;
}
.iti-csd-content ul,
.iti-csd-content ol {
    margin: 0 0 16px;
    padding-left: 22px;
}
.iti-csd-content li {
    margin-bottom: 8px;
}
.iti-csd-content a {
    color: var(--iti-primary);
    text-decoration: underline;
}
.iti-csd-content strong { color: var(--iti-navy); }
.iti-csd-content blockquote {
    border-left: 3px solid var(--iti-primary);
    background: var(--iti-primary-light);
    padding: 12px 18px;
    margin: 0 0 16px;
    border-radius: 0 6px 6px 0;
    color: var(--iti-text-light);
}
.iti-csd-content img {
    border-radius: 10px;
    margin: 14px 0;
}

/* 下载区 */
.iti-csd-download {
    padding: 40px 0;
}
.xiazai {
    background-color: var(--iti-primary);
    color: #fff;
    letter-spacing: 0;
}
.iti-csd-download-inner {
    text-align: center;
}
.iti-csd-download-tip {
    font-size: 14px;
    color: var(--iti-text-light);
    margin: 0 0 18px;
}
.iti-csd-download-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}
.iti-csd-download-actions .iti-btn svg {
    width: 17px;
    height: 17px;
}

/* 返回列表 */
.iti-csd-back {
    background: #fff;
    padding: 26px 0 40px;
}
.iti-csd-back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--iti-text-light);
}
.iti-csd-back-link:hover { color: var(--iti-primary); }
.iti-csd-back-link svg { width: 16px; height: 16px; }

/* ============ 响应式 ============ */
@media (max-width: 991px) {
    .iti-cs-hero-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .iti-cs-hero-title { font-size: 30px; }
    .iti-cs-hero-photo { min-height: 240px; }
}

@media (max-width: 767px) {
    .iti-cs-hero { padding: 40px 0 44px; }
    .iti-cs-hero-title { font-size: 26px; }
    .iti-cs-toolbar {
        flex-direction: column;
        align-items: stretch;
    }
    .iti-cs-search { max-width: none; }
    .iti-cs-count { text-align: right; }
    .iti-cs-filters { flex-direction: column; }
    .iti-cs-row {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    .iti-cs-row-tag { align-self: flex-start; }
    .iti-cs-row-side {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
    .iti-cs-conf-card { flex-basis: 82%; }
}
