/* 基础样式 */
body {
    font-family: Arial, sans-serif;
    font-size: 9pt;
    margin: 0;
    padding: 0;
    background-color: #f0f8ff;
}
a:link, a:active, a:visited {
    color: black;
    text-decoration: none;
}
a:hover {
    color: red;
    text-decoration: none;
}
.header, .footer {
    background-color: #4682b4;
    color: white;
    text-align: center;
    padding: 10px 0;
}
.search-bar {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}
.search-bar input[type="text"] {
    width: 400px;
    padding: 10px;
    font-size: 16px;
}
.search-bar input[type="button"] {
    padding: 10px;
    font-size: 16px;
    background-color: #4682b4;
    color: white;
    border: none;
    cursor: pointer;
}
.container {
    width: 90%;
    margin: 0 auto;
}
.column {
    margin-bottom: 10px;
}
.column-title {
    background-color: #6699cc;
    color: white;
    padding: 10px;
    border-radius: 5px;
}
.column-path {
    background-color: #CDD1CD;
    color: black;
    padding: 10px;
    border-radius: 5px;
}
.sub-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
    justify-content: flex-start;
}
.sub-column {
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: calc(25% - 8px);
    padding: 10px;
    align-items: flex-start; /* 垂直顶部对齐 */
    display: flex;
    flex-direction: row;
    box-sizing: border-box;
    min-width: 0;
}
.sub-column img {
    width: 50px;
    height: 50px;
    margin-right: 10px;
    flex: 0 0 auto;
}
.sub-column > div {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    flex: 1 1 0;
    min-width: 0;
}
.sub-column .site-name {
    font-weight: bold;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    line-height: 1.45;
}
.sub-column .site-description {
    display: -webkit-box;
    min-height: 2.9em;
    margin-top: 2px;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-height: 1.45;
}
.sub-column .site-name .vtag {
    flex: none;
    margin-left: 6px;
    margin-top: 2px;
    white-space: nowrap;
}
.sub-column .site-link {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 4px 5px;
    min-height: 28px;
    margin-top: 4px;
    line-height: 1.25;
}
.sub-column .site-link-label {
    flex: 0 0 auto;
    color: #4a5b78;
    font-weight: 600;
}
.sub-column .site-link .site-link-chip {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    min-height: 23px;
    padding: 2px 7px;
    border: 1px solid #c8daf4;
    border-radius: 999px;
    background: #edf4ff;
    color: #2f5fb3;
    font-size: 12px;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
}
.sub-column .site-link .site-link-chip:hover {
    background: #dceaff;
    border-color: #2f5fb3;
    color: #28509c;
}
.sub-column .site-link .site-link-knowledge {
    border-color: #cce4d6;
    background: #eff9f2;
    color: #28704b;
}
.sub-column .site-get {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 8px;
    line-height: 1.5;
    margin-top: 3px;
}
.sub-column .site-get-label,
.sub-column .site-get > a {
    flex: 0 0 auto;
    white-space: nowrap;
}
.footer {
    margin-top: 20px;
}
.STYLE1 {
    color: #FF0000;
    font-weight: bold;
}
.STYLE2 {
    color: #FFFFFF;
}
.column-title1, .column-title2, .column-title3, .column-title4 {
    background-color: #6699cc;
    color: white;
    padding: 10px;
    border-radius: 5px;
}


/* 响应式样式 */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
    }

    .image2 img {
        width: 60px;
        height: 60px;
    }

    .title h1 {
        font-size: 20px;
    }

    .search-bar input[type="text"] {
        width: 80%;
    }

    .sub-column {
        width: calc(50% - 6px);
        display: flex;
        flex-direction: row;
    }

    .sub-column img {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .image2 img {
        width: 50px;
        height: 50px;
    }

    .title h1 {
        font-size: 18px;
    }

    .search-bar input[type="text"] {
        width: 80%;
    }

    .sub-column {
        width: calc(50% - 6px);
        display: flex;
        flex-direction: row;
    }

    .sub-column img {
        width: 30px;
        height: 30px;
    }
}


/* 购买有效期标签 */
.vtag { display: inline-block; margin-left: 6px; padding: 1px 6px; border-radius: 999px; background: #EEF4FF; color: #2F5FB3; font-size: 12px; font-style: normal; font-weight: 600; vertical-align: middle; }
.validity-line { margin: 10px 0 0; font-size: .95em; color: #444; }
