
/* 主要内容区域 */
.main-content {
    padding: 20px;
    padding-bottom: 0px;
}

.content-placeholder {
    text-align: center;
    color: #666;
}

.content-placeholder h2 {
    margin-bottom: 15px;
    color: #333;
}



/* 搜索按钮组样式 */
.flfg-search {
    margin-top: 15px;
}

.flfg-search::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    margin-top: -90px;
    margin-left: 25px;
    margin-right: 25px;
    height: 77px;
    background-color: #e0e0e000;
    box-shadow: 1px 0px 9px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    z-index: -10;
}

.flfg-search-btn {
    display: flex;
    justify-content: center;
}

.flfg-tab-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px 10px 10px;
    border: none;
    background: transparent;
    cursor: pointer;
    height: 96px;
    transition: all 0.3s ease;
}

.flfg-tab-btn .flfg-tab-icon {
    margin-bottom: 8px;
    display: block;
    transition: all 0.3s ease;
}

.flfg-tab-btn span {
    font-size: 12px;
    font-weight: 600;
    color: #000;
    text-align: center;
    line-height: 1.2;
    transition: all 0.3s ease;
}

/* 激活状态 */
.flfg-tab-btn.active {
    background: url('../images/flfg-list-tab-bg.png') no-repeat center;
    background-size: 100% 100%;
}

.flfg-tab-btn.active span {
    color: #fff;
    font-weight: 500;
}

/* 图标显示控制 */
.flfg-tab-btn .flfg-tab-default-icon {
    display: block;
}

.flfg-tab-btn .flfg-tab-active-icon {
    display: none;
}

.flfg-tab-btn.active .flfg-tab-default-icon {
    display: none;
}

.flfg-tab-btn.active .flfg-tab-active-icon {
    display: block;
}

/* 悬停效果 */
.flfg-tab-btn:hover:not(.active) {
    background-color: #f5f5f5;
}

/* 搜索结果列表样式 */
.flfg-list {
    padding: 0 20px;
}

.flfg-list-item {
    background: #F5F9FC;
    margin-bottom: 15px;
    padding: 20px;
    transition: box-shadow 0.3s ease;
}

.flfg-list-item-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.flfg-list-item:nth-child(even) {
    background: #FFFFFF;
}

.flfg-list-item:nth-child(odd) {
    background: #F5F9FC;
}

.flfg-list-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.flfg-list-item-top {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 15px;
    gap: 10px;
}

.flfg-list-item-top div:first-child {
    font-family: Source Han Sans;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    flex: none;
    max-width: 75%;
    width: auto;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.flfg-list-item-top div:last-child {
    background-image: url('../images/flfg-xxyx-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #0063F9;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    width: 72px;
    flex: none;
    text-align: center;
}

.flfg-list-item-bottom-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: 10px;
}

.flfg-list-item-bottom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    font-size: 14px;
    color: #666;
    align-items: center;
    width: 85%;
}

.flfg-list-item-bottom div {
    display: flex;
    align-items: center;
    font-size: 11px;
}

.flfg-list-item-bottom span {
    color: #333;
    font-weight: 500;
    margin-left: 5px;
}

.flfg-list-item-bottom-btn {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    width: 15%;
    font-size: 11px;
}

.flfg-list-item-btn {
    background-color: #d1e9ff;
    color: #4c94fb;
    border: none;
    padding: 3px 6px;
    border-radius: 4px;
    font-size: 11px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border: 1px solid #126ef9;
}

.flfg-list-item-btn:hover {
    background-color: #0052cc;
}


/* 加载状态和无结果状态样式 */
.loading {
    text-align: center;
    padding: 40px;
    color: #666;
    font-size: 16px;
}

.loading::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #ddd;
    border-top: 2px solid #0063F9;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 10px;
    vertical-align: middle;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}



.no-results {
    text-align: center;
    padding: 60px 20px;
    color: #999;
    font-size: 16px;
}

.no-results::before {
    content: '📋';
    display: block;
    font-size: 48px;
    margin-bottom: 15px;
    opacity: 0.5;
}

/* flfg-list-header 样式 */
.flfg-list-header {
    background-color: #EDF4F9;
    display: flex;
    align-items: center;
    padding: 0px 20px;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 10px;
    position: relative;
    overflow: hidden;
    margin-left: 20px;
}

.flfg-list-header-container {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    flex: 1;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
}

.flfg-list-header-container::-webkit-scrollbar {
    display: none; /* Chrome/Safari/Opera */
}

.flfg-list-header-item {
    font-size: 16px;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
    line-height: 40px;
}

.flfg-list-header-item.active {
    color: #0063F9;
    position: relative;
}

.flfg-list-header-item.active::after {
    content: '';
    position: absolute;
    bottom: 0px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #0063F9;
}

/* 右侧滑动按钮 */
.flfg-list-header-nav {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 40px;
    background: linear-gradient(to right, transparent, #EDF4F9);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.flfg-list-header-nav.show {
    opacity: 1;
    pointer-events: auto;
}

.flfg-list-header-nav img {
    width: 40px;
    height: 42px;
    display: block;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* sps措施 */
.policy-reading-list {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 0 20px;
}

.policy-reading-item {
    display: flex;
    overflow: hidden;
    transition: all 0.3s ease;
    border-bottom: 1px solid #f0f0f0;
    min-height: 80px;
    align-items: center;
}

.policy-reading-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    border-color: #0063F9;
}

.policy-reading-time {
    flex: 0 0 25%;
    max-width: 25%;
    padding: 15px;
    color: #666666;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.policy-reading-time p:first-child {
    font-size: 36px;
    font-weight: bold;
    margin: 0;
    line-height: 1.2;
}

.policy-reading-time p:last-child {
    font-size: 10px;
    margin: 5px 0 0 0;
    line-height: 1.2;
		 color: #C2C2C2;
}

.policy-reading-content {
    flex: 1;
    padding: 15px;
    display: flex;
    align-items: center;
    min-width: 0;
}

.policy-reading-title {
    font-family: Source Han Sans;
    font-size: 16px;
    font-weight: bold;
    line-height: 1.4;
    color: #333;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 44.8px; /* 16px * 1.4 * 2 = 44.8px，确保两行高度 */
    min-height: 44.8px;
    text-align: left;
}

/* 疫情信息 */
.policy-list {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 10px 20px;
}

.policy-item {
    display: flex;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    border-bottom: 1px solid #f0f0f0;
    min-height: 100px;
    align-items: stretch;
}

.policy-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    border-color: #0063F9;
}

.policy-time {
    flex: 0 0 20.666%;
    max-width: 20.666%;
    flex-direction: column;
    justify-content: center;
    padding: 17px 10px;
    
}

.policy-time p:first-child {
    font-size: 18px;
    font-weight: bold;
    color: #000000;
    margin: 0;
    line-height: 25px;
}

.policy-time p:last-child {
    font-size: 14px;
    color: #666;
    margin-right: 8px;
    line-height: 25px;
    /*text-align: right;*/
    padding-bottom: 25px;
		color: #C2C2C2;
}

.policy-content {
    flex: 1;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.policy-title {
    font-family: Source Han Sans;
    font-size: 16px;
    font-weight: bold;
    line-height: 25px;
    color: rgba(0, 0, 0, 0.8);
    margin: 0 0 8px 0;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-align: left;
}

.policy-text {
    font-family: Source Han Sans;
    font-size: 14px;
    font-weight: normal;
    line-height: 22px;
    color: #999999;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 39.2px;
    min-height: 39.2px;
    text-align: left;
}

.policy-btn button {
    margin-top: 10px;
    padding: 5px 10px 5px 10px;
    font-family: Source Han Sans;
    font-size: 12px;
    font-weight: 500;
    line-height: 25px;
    letter-spacing: 0px;
    font-variation-settings: "opsz" auto;
    font-feature-settings: "kern" on;
    color: #0063F9;
    background-color: #edf4f9;
    border: 0px;
}


