/* ESG专区样式 */
.esg-container {
    position: relative;
    display: inline-block;
    width: 100%;
}

.esg-container img {
    width: 100%;
    height: auto;
    display: block;
}

.esg-text-overlay {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    color: #333333;
    font-size: 32px;
    font-weight: 600;
    text-align: center;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .esg-text-overlay {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .esg-text-overlay {
        font-size: 16px;
    }
}

/* 搜索容器样式 */
.esg-search-container {
    max-width: 1000px;
    margin: 20px auto 0;
}

/* 搜索框样式 */
.esg-search-box {
    display: flex;
    margin-bottom: 20px;
    border-radius: 25px;
    background: #fff;
    position: relative;
    overflow: visible;
}

.esg-search-input {
    flex: 1;
    padding: 12px 20px;
    border: none;
    outline: none;
    font-size: 16px;
    border-radius: 25px;
}

.esg-search-input::placeholder {
    color: #999;
}

.esg-search-btn {
    padding: 9px 39px;
    background: #1e5aa8;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    margin: 10px 16px;
    border-radius: 60px;
    transition: background-color 0.3s;
}

.esg-search-btn:hover {
    background: #164a94;
}

/* 热搜样式 */
.esg-hot-search {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.esg-contact-text {
    color: #333333;
    font-size: 14px;
}

.esg-contact-email {
    color: #00479F;
    text-decoration: underline;
}

.esg-contact-email:hover {
    color: #00479F;
    text-decoration: underline;
}

.required-asterisk {
    color: #ff0000;
    font-weight: bold;
    position: absolute;
    left: -12px;
    top: 38%;
    transform: translateY(-50%);
}

.form-input.form-item {
    position: relative;
}

.hot-label {
    position: relative;
    background: #FFE0C8;
    color: #FF8322;
    font-size: 15px;
    font-weight: 600;
    padding: 0 11px;
    border-radius: 5px;
    display: inline-block;
    transform: skewX(-8deg);
}

.hot-label::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid #FFE0C8;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
}

.hot-tags {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-left: 15px;
}

.hot-tag {
    padding: 0;
    background: none;
    color: #333;
    border: none;
    border-radius: 0;
    font-weight: 500;
    font-size: 16px;
    cursor: pointer;
    transition: color 0.3s;
    position: relative;
}

.hot-tag:not(:last-child)::after {
    content: '|';
    position: absolute;
    right: -18px;
    top: 50%;
    transform: translateY(-50%);
    color: #ccc;
    font-weight: normal;
}

.hot-tag:hover {
    color: #1e5aa8;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .esg-search-container {
        margin-top: 15px;
        max-width: 90%;
    }

    .esg-search-input {
        font-size: 14px;
        padding: 10px 15px;
    }

    .esg-search-btn {
        font-size: 14px;
        padding: 8px 25px;
        margin: 8px 12px;
        border-radius: 50px;
    }

    .hot-label {
        font-size: 13px;
    }

    .hot-label::after {
        border-left-width: 6px;
        border-top-width: 6px;
        border-bottom-width: 6px;
        right: -6px;
    }

    .hot-tags {
        gap: 20px;
        margin-left: 10px;
    }

    .hot-tag {
        font-size: 15px;
        font-weight: 500;
        padding: 0;
    }

    .hot-tag:not(:last-child)::after {
        right: -10px;
    }
}

@media (max-width: 480px) {
    .esg-search-container {
        max-width: 95%;
    }

    .esg-hot-search {
        gap: 10px;
    }

    .esg-search-btn {
        margin: 6px 10px;
        padding: 7px 20px;
    }

    .esg-info-title {
        font-size: 18px;
    }

    .esg-info-text {
        font-size: 13px;
        line-height: 1.6;
    }
}

.esg-info-section {
    margin-top: 80px;
}

.esg-info-title {
    font-size: 32px;
    font-weight: 600;
    color: #333;
    text-align: center;
    margin-bottom: 10px;
}

.esg-info-text {
    font-size: 18px;
    line-height: 1.4;
    color: #666;
    margin-bottom: 20px;
    text-align: justify;
}

.esg-info-text:last-child {
    margin-bottom: 0;
}

/* 响应式设计 - ESG信息区域 */
@media (max-width: 768px) {
    .esg-info-section {
        margin-top: 40px;
        padding: 0 15px;
    }

    .esg-info-title {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .esg-info-text {
        font-size: 13px;
        line-height: 1.7;
    }
}

/* ESG图片容器样式 */
.esg-images-container {
    display: flex;
    gap: 20px;
    margin-top: 40px;
    align-items: stretch;
}

.esg-image-left {
    flex: 2;
    display: flex;
    align-items: center;
}

.esg-image-right {
    flex: 1.0144;
    display: flex;
    align-items: center;
    position: relative;
}

.esg-image-left img,
.esg-image-right img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

.esg-note {
    position: absolute;
    bottom: 15px;
    left: 0;
    right: 0;
    margin: 0;
    font-size: 14px;
    padding: 0 20px;
    color: #71797E;
    line-height: 1.5;
    text-align: left;
}

/* 响应式设计 - ESG图片 */
@media (max-width: 768px) {
    .esg-images-container {
        flex-direction: column;
        gap: 15px;
        margin-top: 30px;
    }

    .esg-image-left,
    .esg-image-right {
        flex: none;
    }

    .esg-note {
        font-size: 12px;
    }
}

/* esg-section 样式 */
.esg-section {
    padding-top: 120px;
    padding-bottom: 120px;
    background: var(--tj-color-theme-bg);
}


@media only screen and (min-width: 768px) and (max-width: 991px),
only screen and (min-width: 576px) and (max-width: 767px),
(max-width: 575px) {
    .esg-section {
        padding-top: 80px;
        padding-bottom: 80px;
    }
}

/* ESG详情区域样式 */
.esg-details-section {
    padding-top: 80px;
}

/* 调整主内容区域和侧边栏的宽度和间距 */
.esg-details-section .col-lg-9 {
    padding-right: 10px;
    flex: 0 0 calc(75% - 25px);
    max-width: calc(75% - 25px);
}

.esg-details-section .col-lg-3 {
    padding-left: 10px;
    flex: 0 0 calc(25% + 25px);
    max-width: calc(25% + 25px);
}

/* 响应式设计 - 在小屏幕上恢复默认宽度和间距 */
@media (max-width: 1199px) {
    .esg-details-section .col-lg-9 {
        padding-right: 15px;
        flex: 0 0 70%;
        max-width: 70%;
    }

    .esg-details-section .col-lg-3 {
        padding-left: 15px;
        flex: 0 0 30%;
        max-width: 30%;
    }
}

@media (max-width: 991px) {

    .esg-details-section .col-lg-9,
    .esg-details-section .col-lg-3 {
        padding-left: 15px;
        padding-right: 15px;
        flex: 0 0 100%;
        max-width: 100%;
    }

    /* 移动端取消等高布局 */
    .esg-details-section .col-lg-9,
    .esg-details-section .col-lg-3 {
        display: block;
    }

    .esg-reports-section {
        height: auto;
        margin-top: 20px;
    }

    .esg-reports-content {
        height: auto;
        max-height: none;
        overflow: visible;
    }
}

/* ESG服务介绍区域样式 */
.esg-services-section {
    padding: 80px 0;
    background: #f8f9fa;
    margin-top: 60px;
    background-size: cover;
    background-repeat: no-repeat;
    background-image: url("../images/service_bg.png");
}

.esg-services-header {
    text-align: center;
    margin-bottom: 50px;
}

.esg-services-title {
    font-size: 32px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 20px;
    position: relative;
}

/* ESG服务标签导航 */
.esg-services-tabs {
    display: flex;
    justify-content: space-evenly;
    margin-bottom: 50px;
    flex-wrap: wrap;
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 0;
    padding: 0 20px;
}

.esg-tab-item {
    padding: 15px 0;
    background: transparent;
    border: none;
    cursor: pointer;
    font-weight: 500;
    font-size: 16px;
    color: #666;
    transition: all 0.3s ease;
    position: relative;
    text-align: center;
    min-width: auto;
    border-radius: 0;
    border-bottom: 2px solid transparent;
}

.esg-tab-item:hover {
    color: #00479F;
}

.esg-tab-item.active {
    color: #00479F;
    font-weight: 600;
    border-bottom: 2px solid #00479F;
}

/* ESG服务内容区域 */
.esg-services-content {
    position: relative;
    width: 100%;
}

.esg-service-item {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
    background: transparent;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}

.esg-service-item.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* ESG服务图片区域 */
.esg-service-image-area {
    position: relative;
    height: 320px;
    overflow: hidden;
    background: #f5f5f5;
}

.esg-main-image {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.esg-service-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    margin: 0;
    padding: 0;
    position: absolute;
    top: 0;
    left: 0;
}

/* ESG服务内容区域 */
.esg-service-content-area {
    padding-left: 40px;
}



/* ESG服务内容 */
.esg-service-content {
    margin-bottom: 30px;
}

.esg-service-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 30px;
    text-align: justify;
}

.esg-service-content p:last-child {
    margin-bottom: 0;
}

.service-label {
    font-weight: 600;
    color: #333;
}



/* 动画效果 */
@keyframes esgFadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.esg-service-item.active {
    animation: esgFadeInUp 0.6s ease;
}

/* 响应式设计 */
@media (max-width: 991px) {
    .esg-service-content-area {
        padding-left: 0;
        margin-top: 30px;
    }

    .esg-services-title {
        font-size: 28px;
        text-align: center;
    }

    .esg-service-image-area {
        height: 280px;
    }

    .esg-service-item {
        padding: 0;
    }
}

@media (max-width: 767px) {
    .esg-details-section {
        padding-top: 60px;
    }

    .esg-services-section {
        padding: 60px 0;
    }

    .esg-services-tabs {
        margin-bottom: 40px;
        flex-wrap: wrap;
        padding: 0 15px;
    }

    .esg-tab-item {
        padding: 12px 0;
        font-size: 14px;
        min-width: auto;
        text-align: center;
    }

    .esg-services-title {
        font-size: 24px;
    }

    .esg-service-image-area {
        height: 220px;
    }

    .esg-service-content p {
        font-size: 14px;
    }

    .service-label {
        font-size: 14px;
    }

    .esg-service-item {
        padding: 0;
    }
}

@media (max-width: 575px) {
    .esg-services-tabs {
        justify-content: center;
        gap: 15px;
        flex-direction: column;
        align-items: center;
        padding: 0 10px;
    }

    .esg-tab-item {
        padding: 12px 0;
        font-size: 13px;
        width: 100%;
        max-width: 250px;
        text-align: center;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .esg-services-title {
        font-size: 20px;
    }

    .esg-service-image-area {
        height: 180px;
    }

    .esg-service-content p {
        font-size: 13px;
    }

    .service-label {
        font-size: 13px;
    }
}

/* ESG资讯区域样式 */
.esg-news-section {
    padding: 80px 0;
    background: #fff;
    overflow-x: hidden;
    width: 100%;
}

.esg-news-title {
    font-size: 32px;
    font-weight: 600;
    color: #333;
    text-align: center;
    margin-bottom: 60px;
}

/* 左侧特色图片区域 */
.esg-news-featured {
    position: relative;
    height: 520px;
    border-radius: 12px;
    overflow: hidden;
    width: 100%;
}

.featured-image {
    position: relative;
    width: 100%;
    height: 100%;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 85%;
    background: linear-gradient(to bottom, rgba(0, 71, 159, 0) 0%, rgba(0, 71, 159, 0.7) 100%);
    pointer-events: none;
    z-index: 1;
}

.featured-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    /* background: linear-gradient(transparent, rgba(0, 0, 0, 0.8)); */
    padding: 40px 30px 30px;
    color: white;
    z-index: 2;
}

.featured-content h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
    color: white;
}

.featured-content p {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


#featured-news-content {
    display: block;
    -webkit-line-clamp: initial;
    -webkit-box-orient: initial;
    line-height: 22px;
    height: 110px;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    position: relative;
}

#featured-news-content::-webkit-scrollbar {
    display: none;
}

.featured-news-inner {
    white-space: pre-wrap;
}

/* 右侧新闻列表 */
.esg-news-list {
    padding-left: 30px;
    width: 100%;
    overflow: hidden;
}

.news-item {
    padding: 20px 0;
    border-bottom: none;
    width: 100%;
    overflow: hidden;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.news-item:first-child {
    padding-top: 0;
}

.news-item:last-child {
    border-bottom: none;
}

.news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    gap: 20px;
    padding-bottom: 18px;
    border-bottom: 1px solid #eee;
    width: 100%;
    overflow: hidden;
}

.news-item h4 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0;
    line-height: 1.4;
    flex: 1;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    min-width: 0;
}

.news-title-link {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-title-link:hover {
    color: #00479F;
    text-decoration: none;
}

.news-item p {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-date {
    font-size: 12px;
    color: #999;
    white-space: nowrap;
    flex-shrink: 0;
}

/* 响应式样式 */
@media (max-width: 991px) {
    .esg-news-section {
        padding: 60px 0;
    }

    .esg-news-title {
        font-size: 28px;
        margin-bottom: 40px;
    }

    .esg-news-featured {
        height: 400px;
        margin-bottom: 40px;
    }

    .esg-news-list {
        padding-left: 0;
    }

    .featured-content h3 {
        font-size: 20px;
    }

    .featured-content p {
        font-size: 13px;
    }

    .news-header {
        gap: 15px;
        padding-bottom: 10px;
    }

    .news-item h4 {
        font-size: 17px;
    }

    .news-item p {
        font-size: 13px;
    }
}

@media (max-width: 767px) {
    .esg-news-section {
        padding: 40px 0;
        overflow-x: hidden;
    }

    .esg-news-section .container {
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100%;
        overflow-x: hidden;
    }

    .esg-news-title {
        font-size: 24px;
        margin-bottom: 30px;
    }

    .esg-news-featured {
        height: 320px;
    }

    .featured-overlay {
        padding: 20px;
    }

    .featured-content h3 {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .featured-content p {
        font-size: 12px;
        -webkit-line-clamp: 3;
    }

    .news-item {
        padding: 20px 0;
    }

    .news-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        margin-bottom: 10px;
        padding-bottom: 10px;
        border-bottom: 1px solid #eee;
    }

    .news-item h4 {
        font-size: 16px;
        margin: 0;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        line-height: 1.3;
    }

    .news-item p {
        font-size: 13px;
        margin: 0;
    }

    .news-date {
        font-size: 11px;
        align-self: flex-end;
    }
}

/* 超小屏幕优化 */
@media (max-width: 400px) {
    .esg-services-tabs {
        justify-content: center;
        gap: 12px;
        padding: 0 5px;
    }

    .esg-tab-item {
        padding: 10px 0;
        font-size: 12px;
        max-width: 280px;
        line-height: 1.3;
        white-space: normal;
        text-overflow: unset;
        overflow: visible;
    }
}

/* 公司信息卡片样式 */
.company-info-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px 20px 70px 30px;
    margin-bottom: 30px;
}

.company-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.company-logo {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: #f8f9fa;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.company-basic-info {
    flex: 1;
    min-width: 0;
}

.company-name {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.stock-code {
    font-size: 16px;
    color: #71797E;
    margin: 0;
    font-weight: 500;
}

.download-section {
    flex-shrink: 0;
    margin-bottom: 10px;
}

.download-btn {
    display: inline-block;
    padding: 12px 24px;
    background: #1e5aa8;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.download-btn:hover {
    background: #164a94;
    color: white;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(30, 90, 168, 0.3);
}

.download-link {
    display: inline-block;
    color: #1e5aa8;
    text-decoration: none;
    font-size: 14px;
    position: relative;
    transition: all 0.3s ease;
    border-bottom: 1px solid #1e5aa8;
}

.download-link:hover {
    color: #164a94;
    text-decoration: none;
    border-bottom-color: #164a94;
}

.company-description {
    line-height: 1.8;
    max-height: 200px;
    overflow-y: auto;
    padding-right: 10px;
    margin-right: -10px;
}

/* 公司描述滚动条样式 */
.company-description::-webkit-scrollbar {
    width: 4px;
}

.company-description::-webkit-scrollbar-track {
    background: transparent;
}

.company-description::-webkit-scrollbar-thumb {
    background: #E2E3E6;
    border-radius: 2px;
}

.company-description::-webkit-scrollbar-thumb:hover {
    background: #d0d1d4;
}

.company-description p {
    font-size: 15px;
    color: #555;
    margin: 0;
    text-align: justify;
    line-height: 1.6;
}

/* 响应式设计 - 公司信息卡片 */
@media (max-width: 1199px) {
    .company-info-card {
        padding: 25px 18px 25px 25px;
    }

    .company-description {
        max-height: 180px;
    }

    .company-name {
        font-size: 20px;
    }

    .stock-code {
        font-size: 13px;
    }
}

@media (max-width: 991px) {
    .company-info-card {
        padding: 25px;
    }

    .company-description {
        max-height: 150px;
    }

    .company-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 25px;
    }

    .company-logo {
        width: 55px;
        height: 55px;
    }

    .company-name {
        font-size: 22px;
    }

    .download-section {
        align-self: flex-start;
    }
}

@media (max-width: 767px) {
    .company-info-card {
        padding: 20px;
        margin-bottom: 20px;
    }

    .company-header {
        flex-direction: row;
        align-items: center;
        gap: 12px;
        margin-bottom: 25px;
        flex-wrap: wrap;
    }

    .company-logo {
        flex-shrink: 0;
    }

    .company-basic-info {
        flex: 1;
        min-width: 0;
    }

    .company-logo {
        width: 50px;
        height: 50px;
    }

    .download-section {
        width: 100%;
        margin-top: 10px;
    }

    .company-name {
        font-size: 20px;
    }

    .stock-code {
        font-size: 14px;
    }

    .download-btn {
        padding: 10px 20px;
        font-size: 13px;
    }

    .download-link {
        font-size: 13px;
    }

    .company-description {
        max-height: none;
        overflow: visible;
    }

    .company-description p {
        font-size: 14px;
        line-height: 1.5;
    }
}

@media (max-width: 575px) {
    .company-info-card {
        padding: 15px;
    }

    .company-header {
        flex-direction: row;
        align-items: center;
        gap: 8px;
        margin-bottom: 20px;
        flex-wrap: wrap;
    }

    .company-logo {
        flex-shrink: 0;
    }

    .company-basic-info {
        flex: 1;
        min-width: 0;
    }

    .download-section {
        width: 100%;
        margin-top: 8px;
    }

    .company-logo {
        width: 45px;
        height: 45px;
    }

    .company-name {
        font-size: 18px;
        line-height: 1.2;
    }

    .stock-code {
        font-size: 13px;
    }

    .download-btn {
        padding: 8px 16px;
        font-size: 12px;
    }

    .download-link {
        font-size: 12px;
    }

    .company-description {
        max-height: none;
        overflow: visible;
    }

    .company-description p {
        font-size: 13px;
        line-height: 1.4;
    }
}

/* 行业评级分布样式 */
.industry-rating-section {
    margin-top: 43px;
}

.rating-title {
    display: flex;
    align-items: center;
    position: relative;
}

.title-indicator {
    width: 3px;
    height: 20px;
    background: #1e5aa8;
    margin-right: 12px;
    border-radius: 2px;
}

.rating-title h3 {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.rating-chart-container {
    width: 100%;
    height: 300px;
}

/* 响应式设计 - 评级分布 */
@media (max-width: 767px) {
    .industry-rating-section {
        margin-top: 30px;
    }

    .rating-title h3 {
        font-size: 18px;
    }

    .rating-chart-container {
        height: 250px;
    }
}

@media (max-width: 575px) {
    .rating-title h3 {
        font-size: 16px;
    }

    .rating-chart-container {
        height: 220px;
    }
}

.esg-rating-card {
    background-image: url('../images/esg-rating-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 15px;
    border-radius: 15px;
    min-height: 400px;
    position: relative;
    display: flex;
    flex-direction: column;
}

.rating-badge {
    text-align: center;
    margin-bottom: 15px;
}

.rating-score-img {
    max-width: 140px;
    height: auto;
}

.rating-info {
    margin-bottom: 40px;
    text-align: center;
}

.rating-info>div {
    margin-bottom: 6px;
    font-size: 13px;
}

.rating-info .label {
    color: #71797E;
}

.rating-info .value {
    color: #71797E;
    font-weight: 500;
}

.download-btn {
    color: #357ED8;
    text-decoration: underline;
    font-size: 14px;
}

.download-btn:hover {
    color: #2563EB;
}

.industry-info {
    margin-bottom: 10px;
}

.industry-info>div {
    margin-bottom: 6px;
    font-size: 13px;
}

.industry-info .label {
    color: #333;
}

.industry-info .value {
    color: #333;
}

.trend-label {
    color: #333;
    font-size: 14px;
}

.trend-chart-container {
    flex: 1;
    margin-top: auto;
    min-height: 120px;
    margin-bottom: 20px;
}

.trend-chart {
    width: 100%;
    height: 120px;
}

/* ESG报告列表样式 */
.esg-reports-section {
    background: #fff;
    border-radius: 15px;
    padding: 20px;
    padding-right: 0;
    display: flex;
    flex-direction: column;
}

/* 报告包装容器 */
.esg-reports-wrapper {
    flex: 1;
    position: relative;
    overflow: hidden;
}

/* 报告内容滚动区域 */
.esg-reports-content {
    max-height: 760px;
    overflow-y: auto;
    flex: 1;
    position: relative;
    padding-right: 0;
}

/* 自定义滚动条样式 */
.esg-reports-content::-webkit-scrollbar {
    width: 4px;
}

.esg-reports-content::-webkit-scrollbar-track {
    background: transparent;
}

.esg-reports-content::-webkit-scrollbar-thumb {
    background: #E2E3E6;
    border-radius: 4px;
}

.esg-reports-content::-webkit-scrollbar-thumb:hover {
    background: #d0d1d4;
}

.esg-reports-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
    padding-left: 10px;
    border-left: 3px solid #1e5aa8;
}

.year-section {
    margin-bottom: 30px;
    padding-right: 30px;
}

/* 响应式设计 - ESG报告区域 */
@media (max-width: 1199px) {
    .esg-reports-section {
        padding: 25px;
        padding-right: 0;
    }

    .esg-reports-content {
        max-height: 650px;
    }

    .year-section {
        padding-right: 25px;
        margin-bottom: 25px;
    }

    .year-title {
        font-size: 16px;
        margin-bottom: 12px;
    }
}

@media (max-width: 991px) {
    .esg-reports-section {
        padding: 20px;
        padding-right: 0;
    }

    .esg-reports-content {
        max-height: 500px;
    }

    .year-section {
        padding-right: 20px;
        margin-bottom: 20px;
    }
}

@media (max-width: 767px) {
    .esg-reports-section {
        padding: 18px;
        padding-right: 0;
    }

    .esg-reports-content {
        max-height: 400px;
    }

    .year-section {
        padding-right: 18px;
        margin-bottom: 18px;
    }

    .year-title {
        font-size: 15px;
        margin-bottom: 10px;
    }
}

@media (max-width: 575px) {
    .esg-reports-section {
        padding: 15px;
        padding-right: 0;
    }

    .esg-reports-content {
        max-height: 350px;
    }

    .year-section {
        padding-right: 15px;
        margin-bottom: 15px;
    }

    .year-title {
        font-size: 14px;
        margin-bottom: 8px;
    }
}

.year-title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.year-divider {
    height: 3px;
    background: linear-gradient(90deg, #357ED8 0%, #5BA3F5 100%);
    border-radius: 2px;
    margin-bottom: 15px;
}

.report-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    background: #f8f9fa;
    border-radius: 10px;
    padding: 15px;
    padding-bottom: 0;
    margin-bottom: 10px;
    position: relative;
    transition: all 0.3s ease;
}


.report-content {
    flex: 1;
    padding-bottom: 15px;
    position: relative;
    z-index: 2;
}

.report-name {
    font-size: 14px;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

.report-date {
    font-size: 12px;
    color: #666;
    margin-bottom: 8px;
}

.report-link {
    font-size: 12px;
    color: #357ED8;
    text-decoration: none;
    font-weight: 500;
}

.report-link:hover {
    color: #2563eb;
    text-decoration: underline;
}

.report-image {
    position: absolute;
    bottom: 0;
    right: 15px;
    width: 70px;
    height: 70px;
    z-index: 1;
}

.report-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.annual-report-highlight {
    color: #D89F35 !important;
}

.annual-report-item {
    background: #FFFBF3 !important;
    position: relative;
}

.annual-report-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #D89F35;
    border-radius: 10px 10px 0 0;
}

.social-responsibility-highlight {
    color: #357ED8 !important;
}

.social-responsibility-item {
    background: #F8FBFF !important;
    position: relative;
}

.social-responsibility-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #357ED8;
    border-radius: 10px 10px 0 0;
}

.environment-report-highlight {
    color: #64C2C3 !important;
}

.environment-report-item {
    background: #F3FFFF !important;
    position: relative;
}

.environment-report-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #64C2C3;
    border-radius: 10px 10px 0 0;
}

.sustainable-report-highlight {
    color: #87C765 !important;
}

.sustainable-report-item {
    background: #F5FFF0 !important;
    position: relative;
}

.sustainable-report-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #87C765;
    border-radius: 10px 10px 0 0;
}

.esg-report-highlight {
    color: #3E7F69 !important;
}

.esg-report-item {
    background: #F5FAF4 !important;
    position: relative;
}

.esg-report-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #3E7F69;
    border-radius: 10px 10px 0 0;
}

.esg-score-comparison-section {
    margin-top: 30px;
}

.esg-radar-chart-container {
    width: 100%;
    height: 300px;
}

/* 响应式设计 - ESG得分对比 */
@media (max-width: 767px) {
    .esg-score-comparison-section {
        margin-top: 30px;
    }

    .esg-radar-chart-container {
        height: 250px;
    }
}

@media (max-width: 575px) {
    .esg-radar-chart-container {
        height: 200px;
    }
}

/* ESG联系我们样式 */
.esg-contact-section {
    background: #fff;
    border-radius: 15px;
    padding: 20px;
    margin-top: 15px;
}

.contact-content {
    margin: 20px 0;
}

.contact-text {
    font-size: 16px;
    color: #333;
    margin-bottom: 0;
    line-height: 1.6;
    font-weight: 400;
}

.contact-email {
    font-size: 18px;
    color: #333;
    font-weight: 400;
    margin: 0;
    line-height: 1.5;
}

/* 响应式设计 - 联系我们 */
@media (max-width: 767px) {
    .esg-contact-section {
        padding: 15px;
        margin-top: 20px;
    }

    .contact-text {
        font-size: 14px;
    }

    .contact-email {
        font-size: 16px;
    }
}

@media (max-width: 575px) {
    .esg-contact-section {
        padding: 12px;
    }

    .contact-text {
        font-size: 13px;
    }

    .contact-email {
        font-size: 15px;
    }
}

/* ESG得分构成进度条样式 */
.esg-score-breakdown-section {
    margin-top: 30px;
}

.score-breakdown-container {
    margin-top: 50px;
}

.score-breakdown-container-mr {
    margin-right: 30px;
}

.esg-contac-bt {
    margin-top: 20px;
}

/* 移动端取消右边距 */
@media (max-width: 767px) {
    .score-breakdown-container-mr {
        margin-right: 0;
    }
}

.score-item {
    margin-bottom: 22px;
}

.score-item:last-child {
    margin-bottom: 0;
}

.score-row {
    display: flex;
    align-items: center;
    gap: 15px;
}

.score-label {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    flex-shrink: 0;
}

.progress-container {
    flex: 1;
    position: relative;
}

.progress-bar {
    width: 100%;
    height: 5px;
    background: #e9ecef;
    border-radius: 5px;
    overflow: visible;
    position: relative;
}

.progress-fill {
    height: 100%;
    border-radius: 5px;
    transition: width 0.8s ease;
    position: relative;
}

.progress-fill .progress-dot {
    position: absolute;
    top: 50%;
    right: -8px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    transform: translateY(-50%);
    z-index: 3;
}

.progress-fill .progress-dot::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 50%;
    z-index: -1;
}

.score-value {
    position: absolute;
    top: -32px;
    right: -7px;
    background: none;
    color: #333;
    padding: 0;
    border-radius: 0;
    font-size: 14px;
    font-weight: 400;
    transform: translateX(50%);
    z-index: 5;
}

.score-value::after {
    display: none;
}

.industry-rank {
    font-size: 14px;
    color: #666;
    min-width: 100px;
    flex-shrink: 0;
}



.progress-fill.environment {
    background: #87C765;
}

.progress-fill.environment .progress-dot {
    background: #87C765;
}

.progress-fill.environment .progress-dot::before {
    background: rgba(135, 199, 101, 0.2);
}

.progress-fill.environment .score-value {
    color: #87C765;
}

.progress-fill.social {
    background: #F7962B;
}

.progress-fill.social .progress-dot {
    background: #F7962B;
}

.progress-fill.social .progress-dot::before {
    background: rgba(247, 150, 43, 0.2);
}

.progress-fill.social .score-value {
    color: #F7962B;
}

.progress-fill.governance {
    background: #357ED8;
}

.progress-fill.governance .progress-dot {
    background: #357ED8;
}

.progress-fill.governance .progress-dot::before {
    background: rgba(53, 126, 216, 0.2);
}

.progress-fill.governance .score-value {
    color: #357ED8;
}

/* ESG得分对比圆形进度环样式 */
.comparison-legend {
    position: absolute;
    right: 0;
    top: 0;
    display: flex;
    gap: 20px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #666;
}

.legend-color {
    width: 10px;
    height: 10px;
}

.company-color {
    background: #333;
}

.industry-color {
    background: #A9A9A9;
}

.esg-comparison-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 45px;
    gap: 20px;
}

.comparison-item {
    flex: 1;
    display: flex;
    justify-content: center;
    min-width: 0;
    /* 允许flex项目收缩 */
    max-width: 200px;
    /* 限制最大宽度 */
}

.circular-progress {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 140px;
    aspect-ratio: 1;
}

.circular-progress svg {
    width: 100%;
    height: 100%;
    max-width: 140px;
    max-height: 140px;
}

.progress-ring {
    transform: rotate(-90deg);
}

/* 外圈背景 */
.progress-ring-bg-outer {
    fill: none;
    stroke: #D9D9D9;
    stroke-width: 3;
}

/* 内圈背景 */
.progress-ring-bg-inner {
    fill: none;
    stroke: #D9D9D9;
    stroke-width: 3;
}

/* 外圈进度（本公司得分） */
.progress-ring-company {
    fill: none;
    stroke-width: 3;
    stroke-dasharray: 377;
    /* 2π * 60 */
    stroke-dashoffset: 377;
    transition: stroke-dashoffset 1s ease;
    stroke-linecap: round;
}

/* 内圈进度（行业平均得分） */
.progress-ring-industry {
    fill: none;
    stroke: #A9A9A9;
    stroke-width: 3;
    stroke-dasharray: 314;
    /* 2π * 50 */
    stroke-dashoffset: 314;
    transition: stroke-dashoffset 1s ease;
    stroke-linecap: round;
}

.circular-progress[data-type="environment"] .progress-ring-company {
    stroke: #87C765;
}

.circular-progress[data-type="social"] .progress-ring-company {
    stroke: #F7962B;
}

.circular-progress[data-type="governance"] .progress-ring-company {
    stroke: #357ED8;
}

.progress-content {
    position: absolute;
    text-align: center;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.progress-label {
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

/* 下载弹窗样式 */
.download-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
}

/* 防止页面滚动 */
body.modal-open {
    overflow: hidden;
}

.modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 0;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid #eee;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px 12px 0 0;
}

.modal-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: #333;
}

.close-btn {
    font-size: 28px;
    font-weight: bold;
    color: #999;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s ease;
}

.close-btn:hover {
    color: #333;
}

.modal-body {
    padding: 25px;
}

.modal-description {
    margin: 0 0 20px 0;
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

/* 弹窗中的表单验证样式 */
.download-modal .form-item {
    position: relative;
    margin-bottom: 10px;
}

.download-modal .form-item.error input {
    border-color: #ff4757 !important;
}

.download-modal .error-message {
    color: #ff4757;
    font-size: 12px;
    margin-top: 5px;
    min-height: 18px;
    display: block;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.download-modal .error-message.show {
    opacity: 1;
}

/* 弹窗中的按钮居中 */
.download-modal .tj-contact-button {
    text-align: center;
    margin-top: 20px;
}

/* 股票搜索下拉框样式 */
.esg-search-container {
    position: relative;
}

.stock-search-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #e2e3e6;
    border-top: none;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
}

.search-result-item {
    padding: 12px 16px;
    border-bottom: 1px solid #f5f5f5;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover,
.search-result-item.selected {
    background-color: #f8f9fa;
}

.search-result-item .stock-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.search-result-item .stock-main {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    line-height: 1.4;
}

.search-result-item .stock-full-name {
    font-size: 12px;
    color: #666;
    line-height: 1.3;
}

.search-result-item .stock-meta {
    display: flex;
    gap: 8px;
    font-size: 11px;
    color: #999;
}

.search-result-item .stock-meta .market,
.search-result-item .stock-meta .industry {
    padding: 2px 6px;
    background: #f0f0f0;
    border-radius: 3px;
}

.search-result-item .highlight {
    background-color: #fff3cd;
    color: #856404;
    font-weight: 600;
}

.search-loading,
.search-no-results,
.search-error {
    padding: 16px;
    text-align: center;
    color: #666;
    font-size: 14px;
}

.search-error {
    color: #dc3545;
}

/* 响应式设计 */
@media (max-width: 767px) {
    .stock-search-dropdown {
        max-height: 250px;
    }

    .search-result-item {
        padding: 10px 12px;
    }

    .search-result-item .stock-main {
        font-size: 13px;
    }

    .search-result-item .stock-full-name {
        font-size: 11px;
    }
}

.download-modal .form-input input:focus {
    outline: none;
}

.download-modal .form-input input {
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* 响应式设计 - 下载弹窗 */
@media (max-width: 767px) {
    .modal-content {
        margin: 10% auto;
        width: 95%;
        max-height: 85vh;
    }

    .modal-header {
        padding: 15px 20px;
    }

    .modal-header h3 {
        font-size: 18px;
    }

    .modal-body {
        padding: 20px;
    }
}

@media (max-width: 575px) {
    .modal-content {
        margin: 5% auto;
        width: 98%;
        border-radius: 8px;
    }

    .modal-header {
        padding: 12px 15px;
        border-radius: 8px 8px 0 0;
    }

    .modal-header h3 {
        font-size: 16px;
    }

    .close-btn {
        font-size: 24px;
    }

    .modal-body {
        padding: 15px;
    }

    .modal-description {
        font-size: 13px;
        margin-bottom: 15px;
    }
}



/* New Badge Card Styles (Copied from old classes) */
.badge-card {
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    padding: 15px;
    border-radius: 15px;
    position: relative;
    display: flex;
    flex-direction: column;
    height: auto;
}

/* 两栏布局容器 */
.badge-card-content {
    display: flex;
    width: 100%;
    align-items: stretch;
    /* 确保左右两栏高度一致 */
}

/* 左侧内容样式 */
.badge-card-left {
    padding-right: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: 100%;
    /* 确保左侧高度占满容器 */
}

/* 右侧内容样式 */
.badge-card-right {
    width: 60%;
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    /* 确保右侧高度占满容器 */
}

.badge-card__icon-wrapper {
    text-align: center;
    margin-bottom: 15px;
}

.badge-card__icon-img {
    max-width: 140px;
    height: auto;
}

.badge-card__info {
    margin-bottom: 20px;
    text-align: center;
}

.badge-card__info-item {
    margin-bottom: 6px;
    font-size: 13px;
}

.badge-card__info .label {
    color: #71797E;
}

.badge-card__info .value {
    color: #71797E;
    font-weight: 500;
}

.badge-card__industry {
    margin-bottom: 10px;
}

.badge-card__industry>div {
    margin-bottom: 6px;
    font-size: 13px;
}

.badge-card__industry .label {
    color: #333;
}

.badge-card__industry .value {
    color: #333;
}

.badge-card__trend-title .trend-label {
    color: #333;
    font-size: 14px;
}

.badge-card__chart-container {
    flex: 1;
    margin-top: auto;
    min-height: 120px;
    margin-bottom: 20px;
}

.badge-card__chart-container .trend-chart {
    width: 100%;
    height: 120px;
}

.badge-card__breakdown {
    margin-top: 0 !important;
}


.badge-card__breakdown-container {
    margin-top: 50px;
}

@media (max-width: 991px) {
    .badge-card__breakdown {
        margin-top: 20px;
    }
}

@media (max-width: 767px) {
    .badge-card__breakdown {
        margin-top: 30px;
    }
}


.hidden-for-capture {
    position: absolute;
    left: -9999px;
    top: -9999px;
    z-index: -1;
    width: 700px;
    height: auto;
}


/* 报告列表为空时提示 */
.esg-reports-empty {
    text-align: center;
    color: #999;
    padding: 20px;
}

/* 文件下载中提示 */
.download-loading-indicator {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 20px;
    border-radius: 5px;
    z-index: 10000;
}

/* 联系我们地图 iframe */
.contact-map iframe {
    border: none;
}

/* PDF 预览弹窗自定义样式 */
#pdfPreviewModal .modal-content {
    width: 80%;
    max-width: 1200px;
    height: 90vh;
}

#pdfPreviewModal .modal-body {
    padding: 0;
    height: calc(100% - 60px);
}

#pdfLoading {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.certificate-format-selection {
    padding: 20px 0;
}

.format-option {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.format-option:hover,
.format-option.hovered,
.format-option.focused {
    background: #e9ecef;
    border-color: #1e5aa8;
    transform: translateY(-2px);
}

.format-option:focus {
    outline: none;
    border-color: #1e5aa8;
}

.format-preview {
    text-align: center;
}

@media (max-width: 767px) {
    .format-option {
        padding: 20px;
        margin-bottom: 15px;
    }
}