

/* 新闻	 card 样式 */
.card {
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 3px 0px 32px rgba(226, 226, 226, 0.33);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    /*    max-width: 360px;*/
    display: flex;
    flex-direction: column;
    transition: all 1s ease;
}

    .card:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
        cursor: pointer;
    }

        .card:hover .card__title {
            color: var(--color-main);
        }
/* .card:hover .card__image img {
  transform: scale(1.05);
} */
/* 图片部分 */
.card__image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

    .card__image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

/* 图片文字覆盖 */
.card__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    line-height: 1.4;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent 70%);
}

.card__highlight {
    color: #00aaff;
}

/* 正文部分 */
.card__content {
    padding: 16px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    border: 1px solid #f6f6f6;
}

.card__title {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 10px 0;
    line-height: 1.4;
    color: #111;
}

.card__meta {
    font-size: 13px;
    color: #777;
    margin-bottom: 8px;
}

.card__date {
    margin-right: 6px;
}

.card__description {
    margin: 0 0 12px 0;
    flex-grow: 1;
    /* he Xpedition product family has introduced has token-based add-on licensing; */
    font-family: 'HarmonyOS Sans';
    font-weight: 400;
    font-size: 16px;
    line-height: 140%;
    /* or 22px */
    color: #191919;
}

.card__tag {
    font-family: 'HarmonyOS Sans';
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 14px;
    color: #828282;
}

.article-list {
    background: #f8fafc; /* 背景淡灰 */
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.article-list__header {
    background: var(--color-main); /* 青绿色 */

    padding: 10px 16px 10px 25px;
}

.article-list__title {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin: 0;
}

.article-list__items {
    list-style: none;
    margin: 0;
    padding: 0;
}

.article-list__item {
    border-bottom: 1px solid #e5e7eb;
}

.article-list__link {
    display: flex;
    gap: 20px;
    padding: 23px 22px;
    text-decoration: none;
    align-items: center;
    transition: background 0.2s;
}

    .article-list__link:hover {
        background: #ffffff;
    }

.article-list__image {
    width: 121px;
    height: 81px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
}

.article-list__content {
    display: flex;
    flex-direction: column;
}

.article-list__headline {
    margin: 0 0 4px;
    font-family: "HarmonyOS Sans";
    font-style: normal;
    font-weight: 700;
    font-size: 16px;
    color: #333333;
}

.article-list__link:hover .article-list__headline {
    color: #0d9488; /* hover 时变为主题色 */
}

.article-list__date {
    font-family: "HarmonyOS Sans";
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 14px;
    color: #828282;
}

/* 分享和点赞区域 */
.share-actions {
    margin-top: 2rem;
    /* border-top: 1px solid #e5e7eb; */
    padding-top: 1.5rem;
}

.share-actions__row {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.share-actions__votes {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.share-actions__btn {
    background: transparent;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 0.15rem 0.75rem;
    font-size: 14px;
    color: #6b7280;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

    .share-actions__btn::after {
        content: attr(data-count);
        margin-left: 0.25rem;
        font-size: 13px;
    }

    .share-actions__btn:hover {
        background-color: #f3f4f6;
        transform: translateY(-1px);
    }

    .share-actions__btn:active {
        transform: scale(0.96);
    }

.share-actions__btn--up.share-actions__btn--active {
    color: #0d9488;
    border-color: #0d9488;
    background-color: rgba(13, 148, 136, 0.05);
}

.share-actions__btn--down.share-actions__btn--active {
    color: #ef4444;
    border-color: #ef4444;
    background-color: rgba(239, 68, 68, 0.05);
}

.share-actions__btn i {
    font-size: 16px;
    transition: transform 0.2s ease;
}

.share-actions__btn--active i {
    transform: scale(1.2);
}

.share-actions__label {
    font-size: 13px;
    color: #333;
    margin-right: 0.25rem;
}

.share-actions__dot {
    font-size:1.2rem;
    margin: 0 0.25rem;
    color: #333;
}

.share-actions__icon-btn {
    text-align: center;
    color: #333333;
    background: #EBEBEB;
    width: 2rem;
    font-size: 14px;
    border-radius: 4px;
    transition: all 0.15s ease;
}

    .share-actions__icon-btn:hover {
        background-color: #f3f4f6;
        color: #111827;
    }

.share-actions__icon-btn--facebook:hover {
    color: #1877f2;
}

.share-actions__icon-btn--x:hover {
    color: #000000;
}

.share-actions__icon-btn--linkedin:hover {
    color: #0a66c2;
}

/* 点赞动画 */
@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.3);
    }

    100% {
        transform: scale(1);
    }
}

.share-actions__btn--animate i {
    animation: pulse 0.4s ease-in-out;
}

/* 广告栏 */
.quote-card {
    width: 100%;
    background: linear-gradient(167.51deg, #2B8599 9.07%, #244651 98.82%);
    border-radius: 2px;
    padding: 16px 30px;
    color: #fff;
    font-family: ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,PingFang SC,Microsoft Yahei
}

.quote-card__title {
    text-align: center;
    margin: 2px 0 14px;
    font-weight: 800;
    font-size: 28px;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.quote-card__subtitle {
    text-align: center;
    margin: 0 0 14px;
    font-size: 14px;
    line-height: 1.4;
    color: rgba(255,255,255,.9)
}

.quote-card__group {
    margin-bottom: 12px
}

.quote-card__label {
    display: block;
    margin-bottom: 6px;
    font-weight: 700;
    font-size: 13px;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.quote-card__row {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto
}

.quote-card__input, .quote-card__select, .quote-card__unit, .quote-card__sep {
    height: 40px;
    border: 1px solid rgba(255,255,255,.6);
    background: #fff;
    color: #2a2f33;
    font-size: 14px;
    padding: 0 12px;
    box-sizing: border-box;
    outline: none; /* 去掉默认的黑色聚焦边框 */
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

    .quote-card__input:focus, .quote-card__select:focus {
        border-color: rgba(255,255,255,.9);
        box-shadow: 0 0 0 2px rgba(11,110,116,0.15);
    }

.quote-card__input {
    min-width: 0
}

    .quote-card__input::placeholder {
        color: #96a3a9
    }

.quote-card__sep, .quote-card__unit {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    white-space: nowrap
}

.quote-card__sep {
    color: #5b6a70
}

.quote-card__unit {
    color: #2a2f33;
    border-left: 1px solid #C2C2C2
}

.quote-card__cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px
}

.quote-card__select {
    width: 100%;
    border: 1px solid #C2C2C2;
    appearance: none;
    background: #fff url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="%23606c70" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M6 9l6 6 6-6"/></svg>') no-repeat right 10px center;
    padding-right: 32px
}

.quote-card__btn {
    margin-top: 10px;
    width: 100%;
    height: 42px;
    border: 0;
    border-radius: 6px;
    background: #0b6e74;
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px
}

    .quote-card__btn .fa {
        font-size: 14px
    }
.ah-header__nav-item {
    position: relative
}

.ah-header__nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 8px;
    color: #263238;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.ah-header__nav-link--active {
    color: #0e9898
}

.ah-header__caret {
    width: 6px;
    height: 6px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform .2s ease
}

.ah-header__dropdown {
    position: absolute;
    left: 0;
    top: calc(100% + 10px);
    min-width: 220px;
    background: #fff;
    border: 1px solid #e6ecef;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0,0,0,.08);
    padding: 6px 0;
    display: none;
    z-index: 1000
}

.ah-header__dropdown-item {
    list-style: none
}

.ah-header__dropdown-link {
    display: block;
    padding: 10px 14px;
    color: #263238;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

    .ah-header__dropdown-link:hover {
        background: #f1f7f7;
        color: #0e9898
    }

.ah-header__nav-item:hover .ah-header__dropdown,
.ah-header__nav-item:focus-within .ah-header__dropdown {
    display: block
}

.ah-header__nav-item:hover .ah-header__caret,
.ah-header__nav-item:focus-within .ah-header__caret {
    transform: rotate(225deg)
}
.ah-side-menu__section-title {
    font-family: 'HarmonyOS Sans';
    font-style: normal;
    font-weight: 700;
    font-size: 15px;
    line-height: 18px;
    padding:4px 10px;
    color: #00858D;
}
.ah-side-menu__item span {
    font-family: 'HarmonyOS Sans';
    font-style: normal;
    font-weight: 400;
    font-size: 15px;
    line-height: 18px;
    color: #4B4E4E;
}