.faqpage_content {
    flex: 1;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    padding: 20px;
}

.faqpage_content .page-title {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid #eee;
}

.article-item {
    display: flex;
    flex-direction: column;
    padding: 10px 15px;
    margin-bottom: 10px;
    background-color: #fff;
    border-radius: 6px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
    word-break: break-word;
}

.article-item a {
    font-size: 14px;
    font-weight: 500;
    color: #2c3e50;
    line-height: 1.3;
    margin-bottom: 6px;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.article-item a:hover {
    color: var(--color-primary-hover);
}

.article-item .meta {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    font-size: 12px;
    color: #7f8c8d;
    gap: 8px;
}

.article-item i {
    font-size: 12px;
    color: #7f8c8d;
}

.article-item span {
    font-size: 12px;
    color: #7f8c8d;
    white-space: nowrap;
}

@media (min-width: 768px) {
    .article-item {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 12px 15px;
    }

    .article-item a {
        font-size: 15px;
        white-space: normal;
        flex: 1;
        margin-bottom: 0;
    }
}


/* FAQ article cards */
.faqpage_content {
    min-width: 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
}

.faqpage-header {
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
    padding: 26px 30px;
    border: 1px solid #dcefe7;
    border-radius: 16px;
    background:
        radial-gradient(circle at 88% 18%, rgba(32, 193, 128, 0.18) 0, rgba(32, 193, 128, 0) 34%),
        linear-gradient(135deg, #fff 0%, var(--color-primary-bg) 100%);
}

.faqpage-header::after {
    position: absolute;
    right: -34px;
    bottom: -48px;
    width: 150px;
    height: 150px;
    border: 24px solid rgba(32, 193, 128, 0.07);
    border-radius: 50%;
    content: "";
}

.faqpage-eyebrow {
    position: relative;
    z-index: 1;
    display: inline-block;
    margin-bottom: 7px;
    color: var(--color-primary-active);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.8px;
}

.faqpage_content .page-title {
    position: relative;
    z-index: 1;
    margin: 0;
    padding: 0;
    border: 0;
    color: var(--dark-color);
    font-size: 28px;
    font-weight: 700;
    line-height: 1.3;
}

.faqpage-header p {
    position: relative;
    z-index: 1;
    margin: 8px 0 0;
    color: var(--color-text-light);
    font-size: 14px;
}

.faqpage-list {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
}

.article-card {
    display: flex;
    min-height: 190px;
    overflow: hidden;
    border: 1px solid var(--color-border);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(37, 54, 47, 0.05);
    opacity: 1;
    transform: translateY(0);
    animation: faq-card-in 0.45s ease backwards;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.article-card:nth-child(2) {
    animation-delay: 0.05s;
}

.article-card:nth-child(3) {
    animation-delay: 0.1s;
}

.article-card:nth-child(4) {
    animation-delay: 0.15s;
}

.article-card:nth-child(n+5) {
    animation-delay: 0.2s;
}

.article-card:hover {
    border-color: rgba(32, 193, 128, 0.42);
    box-shadow: 0 14px 30px rgba(30, 74, 56, 0.11);
    transform: translateY(-3px);
}

.card-image {
    flex: 0 0 220px;
    min-height: 190px;
    overflow: hidden;
    background: var(--color-primary-bg);
}

.card-image > a {
    display: flex;
    width: 100%;
    height: 100%;
    color: inherit;
}

.card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.article-card:hover .card-image img {
    transform: scale(1.04);
}

.image-placeholder {
    position: relative;
    display: flex;
    width: 100%;
    min-height: 190px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background:
        linear-gradient(145deg, rgba(32, 193, 128, 0.08), rgba(17, 157, 100, 0.2)),
        repeating-linear-gradient(135deg, transparent 0, transparent 16px, rgba(255, 255, 255, 0.38) 16px, rgba(255, 255, 255, 0.38) 17px);
    color: var(--color-primary-active);
}

.image-placeholder::before,
.image-placeholder::after {
    position: absolute;
    border: 1px solid rgba(17, 157, 100, 0.18);
    border-radius: 50%;
    content: "";
}

.image-placeholder::before {
    top: -38px;
    right: -22px;
    width: 116px;
    height: 116px;
}

.image-placeholder::after {
    bottom: -54px;
    left: -34px;
    width: 142px;
    height: 142px;
}

.placeholder-mark {
    position: relative;
    z-index: 1;
    font-size: 38px;
    font-weight: 800;
    letter-spacing: -2px;
    line-height: 1;
}

.placeholder-label {
    position: relative;
    z-index: 1;
    margin-top: 8px;
    padding: 3px 11px;
    border: 1px solid rgba(17, 157, 100, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.6px;
}

.card-content {
    display: flex;
    min-width: 0;
    flex: 1;
    flex-direction: column;
    padding: 20px 22px;
}

.meta-tag-row {
    display: flex;
    align-items: center;
    margin-bottom: 9px;
}

.category-tag {
    display: inline-flex;
    padding: 4px 11px;
    border: 1px solid rgba(32, 193, 128, 0.16);
    border-radius: 999px;
    background: var(--color-primary-bg);
    color: var(--color-primary-active);
    font-size: 11px;
    font-weight: 600;
    line-height: 1.3;
}

.card-title {
    margin: 0;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.42;
}

.card-title a {
    color: var(--dark-color);
    transition: color 0.2s ease;
}

.card-title a:hover {
    color: var(--color-primary-active);
}

.card-excerpt {
    display: -webkit-box;
    margin: 10px 0 14px;
    overflow: hidden;
    color: var(--color-text-muted);
    font-size: 14px;
    line-height: 1.65;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.card-footer-stats {
    display: flex;
    margin-top: auto;
    padding-top: 12px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-top: 1px solid var(--color-border-light);
    color: #84918c;
    font-size: 12px;
}

.date-text,
.read-count {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.card-footer-stats .iconfont {
    color: var(--color-primary);
    font-size: 13px;
}

.faqpage_content .page {
    margin-top: 24px;
}

@keyframes faq-card-in {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1100px) {
    .card-image {
        flex-basis: 185px;
    }

    .card-content {
        padding: 18px;
    }

    .card-title {
        font-size: 17px;
    }
}

@media (max-width: 900px) {
    .faqpage_content {
        width: 100%;
    }
}

@media (max-width: 640px) {
    .faqpage-header {
        margin-bottom: 14px;
        padding: 21px 20px;
        border-radius: 12px;
    }

    .faqpage_content .page-title {
        font-size: 24px;
    }

    .faqpage-list {
        gap: 14px;
    }

    .article-card {
        min-height: 0;
        flex-direction: column;
        border-radius: 12px;
    }

    .card-image {
        width: 100%;
        min-height: 0;
        flex: none;
        aspect-ratio: 16 / 8;
    }

    .image-placeholder {
        min-height: 0;
    }

    .card-content {
        padding: 17px;
    }

    .card-excerpt {
        margin-bottom: 12px;
        -webkit-line-clamp: 3;
    }
}

@media (max-width: 420px) {
    .card-footer-stats {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .article-card {
        opacity: 1;
        transform: none;
        animation: none;
        transition: none;
    }

    .card-image img {
        transition: none;
    }
}
