.services-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    align-items: stretch;
}

/* 卡片主体 */
.services-cards {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 100%;

    padding: 0;
    overflow: hidden;

    background: #fff;
    border: 1px solid #e2e6ed;
    border-radius: 10px;

    box-shadow: none;
    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s ease;
}

.services-cards:hover {
    border-color: #aabbd4;
    box-shadow: 0 12px 35px rgba(26, 43, 70, 0.08);
    transform: translateY(-4px);
}

/* ---------------------------------------------------------
   顶部视觉区域：不再将图标放在左边
   --------------------------------------------------------- */

.services-logo-area {
    position: absolute;
    top: 0;
    right: 0;

    display: flex;
    align-items: flex-start;
    justify-content: flex-end;

    width: auto;
    height: auto;
    z-index: 2;
}

/* 大图标作为右上角装饰 */
.services-logo-fallback {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 88px;
    height: 88px;
    margin: 0;
    border-radius: 0 0 0 28px;

    color: #244b80;
    background: #edf2f8;
    border: 0;

    font-size: 32px;
    transition:
        color 0.25s ease,
        background 0.25s ease;
}

.services-cards:hover .services-logo-fallback {
    color: #fff;
    background: #244b80;
}

/* 分类图标块使用不同的淡色 */
.services-logo-fallback.university-back {
    color: #244b80;
    background: #edf2f8;
}

.services-logo-fallback.foundation-back {
    color: #177c78;
    background: #e8f5f2;
}

.services-logo-fallback.school-back {
    color: #956b2b;
    background: #faf1df;
}

.services-logo-fallback.language-back {
    color: #7755a1;
    background: #f1ebf8;
}

/* 国家旗帜放在图标块底部 */
.services-logo-country {
    position: absolute;
    right: 12px;
    top: 12px;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 24px;
    height: 24px;
    overflow: hidden;

    background: #fff;
    border: 2px solid #fff;
    border-radius: 50%;
    box-shadow: 0 1px 5px rgba(20, 35, 60, 0.12);
}

.services-logo-country img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* ---------------------------------------------------------
   主内容区域
   --------------------------------------------------------- */

.services-main {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;

    min-width: 0;
    padding: 26px 26px 22px;
}

/* 顶部分类行 */
.services-topline {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;

    width: calc(100% - 80px);
    min-height: 26px;
    margin-bottom: 27px;
}

.services-category {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    padding: 5px 9px;

    color: #244b80;
    background: #edf2f8;
    border-radius: 3px;

    font-size: 11px;
    font-weight: 700;
    line-height: 1.4;
}

.services-category.university-back {
    color: #244b80;
    background: #edf2f8;
}

.services-category.foundation-back {
    color: #177c78;
    background: #e8f5f2;
}

.services-category.school-back {
    color: #956b2b;
    background: #faf1df;
}

.services-category.language-back {
    color: #7755a1;
    background: #f1ebf8;
}

.services-country {
    display: inline-flex;

    align-items: center; 

    gap: 5px;

    color: #788394;
    font-size: 0.7rem;
}


/* 标题区域 */
.services-heading {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;

    width: 100%;
    margin: 0 0 9px;
}

.services-title {
    max-width: 100%;
    margin: 0;
    color: #1b2738;
    font-size: 23px;
    font-weight: 750;
    line-height: 1.45;
    letter-spacing: -0.6px;
}

.services-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.services-title a:hover {
    color: #315f9b;
}

/* 收费标签改成醒目的文字标签 */
.services-charge {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    padding: 5px 10px;

    color: #176a46;
    background: #eaf5ed;
    border: 0;
    border-radius: 3px;

    font-size: 12px;
    font-weight: 700;
    line-height: 1.5;
}

.services-charge i {
    font-size: 13px;
}

/* 英文标题 */
.services-title-en {
    width: 100%;
    margin: 0 0 15px;

    color: #9099a7;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.7;
    letter-spacing: 0.6px;
    text-transform: uppercase;
}

/* 简介 */
.services-summary {
    display: -webkit-box;
    width: 100%;
    min-height: 48px;
    overflow: hidden;

    color: #657184;
    font-size: 13px;
    line-height: 1.85;

    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

/* 服务属性标签 */
.services-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;

    width: 100%;
    margin-top: 20px;
    padding-top: 15px;

    border-top: 1px solid #edf0f4;
}

.services-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;

    padding: 0;
    color: #788394;
    background: transparent;
    border: 0;
    border-radius: 0;

    font-size: 11px;
    line-height: 1.6;
}

.services-meta-item:not(:last-child)::after {
    content: "/";
    margin-left: 5px;
    color: #c6ccd5;
}

.services-meta-item i {
    color: #8a96a7;
    font-size: 12px;
}

/* ---------------------------------------------------------
   底部操作栏
   --------------------------------------------------------- */

.services-action {
    display: flex;
    align-items: stretch;
    gap: 0;

    width: 100%;
    margin-top: auto;

    padding: 0;

    background: #f8f9fb;
    border-top: 1px solid #e9edf2;
}


/* 按钮基础样式 */
.services-view-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;

    flex: 1;
    min-width: 0;
    min-height: 57px;
    padding: 14px 26px;

    color: #33455d;
    background: transparent;
    border: 0;
    border-radius: 0;

    font-size: 12px;
    font-weight: 700;
    line-height: 1.5;
    text-align: left;
    text-decoration: none;

    transition:
        color 0.2s ease,
        background 0.2s ease;
	
}

.services-view-button span {
    min-width: 0;
    overflow-wrap: anywhere;
}

.services-view-button i {
    flex-shrink: 0;
    font-size: 14px;
    transition: transform 0.2s ease;
}

.services-view-button:hover i {
    transform: translateX(4px);
}

/* 主操作 */
.services-view-primary {
    color: #244b80;
    background: transparent;
    border-right: 1px solid #e1e6ed;

}

.services-view-primary:hover {
    color: #17365f;
    background: #eef2f8;
}

/* 次操作 */
.services-view-secondary {
    color: #7b8594;
    background: transparent;
}

.services-view-secondary:hover {
    color: #244b80;
    background: #eef2f8;
}

/* 键盘焦点 */
.services-view-button:focus-visible,
.services-title a:focus-visible {
    outline: 3px solid rgba(36, 75, 128, 0.3);
    outline-offset: -3px;
}

/* ---------------------------------------------------------
   平板
   --------------------------------------------------------- */

@media (max-width: 991.98px) {
    .services-list {
        gap: 17px;
    }

    .services-main {
        padding: 22px 21px 19px;
    }

    .services-logo-fallback {
        width: 76px;
        height: 76px;
        font-size: 28px;
    }

    .services-topline {
        margin-bottom: 22px;
    }

    .services-title {
        font-size: 21px;
    }

    .services-action {
        padding: 0 21px;
    }

    .services-view-button {
        min-height: 52px;
        padding: 12px 9px;
    }
}

/* ---------------------------------------------------------
   手机：单列产品卡片
   --------------------------------------------------------- */

@media (max-width: 767.98px) {
    .services-list {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .services-cards {
        border-radius: 8px;
    }

    .services-main {
        padding: 20px 19px 17px;
    }

    .services-logo-fallback {
        width: 67px;
        height: 67px;
        border-radius: 0 0 0 22px;
        font-size: 25px;
    }

    .services-logo-country {
        right: 8px;
        bottom: 7px;
        width: 21px;
        height: 21px;
    }

    .services-topline {
        width: calc(100% - 62px);
        gap: 6px;
        margin-bottom: 23px;
    }

    .services-category {
        padding: 4px 7px;
        font-size: 10px;
    }

    .services-country {
        font-size: 10px;
    }

    .services-title {
        font-size: 20px;
        letter-spacing: -0.3px;
    }

    .services-heading {
        gap: 9px;
    }

    .services-title-en {
        margin-bottom: 12px;
        font-size: 10px;
    }

    .services-summary {
        min-height: 0;
        font-size: 12px;
        line-height: 1.85;
    }

    .services-meta {
        gap: 6px;
        margin-top: 16px;
        padding-top: 12px;
    }

    .services-meta-item {
        font-size: 10px;
    }

    .services-action {
        padding: 0 13px;
    }

    .services-view-button {
        min-height: 49px;
        padding: 12px 8px;
        font-size: 11px;
    }
}

/* 超窄屏 */
@media (max-width: 360px) {
    .services-main {
        padding: 17px 15px 15px;
    }

    .services-logo-fallback {
        width: 59px;
        height: 59px;
        font-size: 22px;
    }

    .services-topline {
        width: calc(100% - 54px);
        margin-bottom: 20px;
    }

    .services-title {
        font-size: 18px;
    }

    .services-action {
        padding: 0 9px;
    }

    .services-view-button {
        gap: 6px;
        padding: 11px 6px;
        font-size: 10px;
    }
}

/* 减少动态效果 */
@media (prefers-reduced-motion: reduce) {
    .services-cards,
    .services-logo-fallback,
    .services-title a,
    .services-view-button,
    .services-view-button i {
        transition: none;
    }

    .services-cards:hover {
        transform: none;
    }
}




/* 热门关键词区域 */
.hot-keywords {
display: flex;
align-items: center;
justify-content: center;
flex-wrap: wrap;
gap: 10px;
width: 100%;
margin-top: 20px;
}

/* 热门标签 */
.hot-label {
flex-shrink: 0;
color: red;
font-size: 14px;
font-weight: 600;
}

/* 关键词列表 */
.hot-list {
display: flex;
align-items: center;
justify-content: center;
flex-wrap: wrap;
gap: 8px;
}

/* 关键词按钮 */
.hot-list a {
display: inline-flex;
align-items: center;
justify-content: center;
padding: 7px 14px;
border: 1px solid rgba(255, 255, 255, 0.35);
border-radius: 30px;
background: rgba(255, 255, 255, 0.82);
color: red;
font-size: 13px;
line-height: 1.4;
text-decoration: none;
white-space: nowrap;
transition: all 0.25s ease;
}

/* 鼠标悬停 */
.hot-list a:hover {
background: #fff;
border-color: #fff;
color: #2457a7;
transform: translateY(-2px);
}

/* 手机端 */
@media (max-width: 576px) {
.hot-keywords {
gap: 8px;
margin-top: 15px;
}

.hot-label {
    font-size: 12px;
}

.hot-list {
    gap: 6px;
}

.hot-list a {
    padding: 6px 10px;
    font-size: 12px;
}

}
