.ksq-hoi-dap-network-link {
    border-color: rgba(201, 168, 76, 0.38);
}

.ksq-hoi-dap-footer-link {
    text-align: center;
    padding: 0 1rem 1rem;
    font-size: 0.9rem;
}

.ksq-hoi-dap-footer-link a {
    color: #6b5e3e;
    text-decoration: none;
    font-weight: 600;
}

.ksq-hoi-dap-page {
    background: #faf8f3;
}

.ksq-hoi-dap-wrap {
    max-width: 860px;
    margin: 0 auto;
    padding: 2rem 1rem 3rem;
}

.ksq-hoi-dap-hero {
    text-align: center;
    margin-bottom: 1.5rem;
}

.ksq-hoi-dap-hero__title {
    font-family: Merriweather, Georgia, serif;
    font-size: clamp(1.5rem, 4vw, 2rem);
    color: #1a1a2e;
    margin: 0 0 0.75rem;
    line-height: 1.3;
}

.ksq-hoi-dap-hero__subtitle {
    color: #5a5a6e;
    font-size: 1rem;
    margin: 0 0 1.25rem;
    line-height: 1.6;
}

.ksq-hoi-dap-search__input {
    width: 100%;
    max-width: 560px;
    padding: 14px 18px;
    font-size: 1rem;
    border: 2px solid #e8d5a3;
    border-radius: 999px;
    background: #fff;
    color: #1a1a2e;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.ksq-hoi-dap-search__input:focus {
    border-color: #c9a84c;
    box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.2);
}

.ksq-hoi-dap-stats {
    text-align: center;
    font-size: 0.9rem;
    color: #6b5e3e;
    margin-bottom: 1.25rem;
    padding: 0.5rem 0;
}

.ksq-hoi-dap-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.ksq-hoi-dap-filters {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    flex: 1;
    min-width: 0;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

.ksq-hoi-dap-filter {
    flex-shrink: 0;
    border: 1px solid #e8e4dc;
    background: #fff;
    color: #1a1a2e;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
}

.ksq-hoi-dap-filter:hover {
    border-color: #c9a84c;
}

.ksq-hoi-dap-filter.is-active {
    background: #1a1a2e;
    border-color: #1a1a2e;
    color: #fff;
}

.ksq-hoi-dap-sort__select {
    border: 1px solid #e8e4dc;
    border-radius: 8px;
    padding: 6px 10px;
    font-size: 0.85rem;
    background: #fff;
    color: #1a1a2e;
}

.ksq-hoi-dap-loading {
    text-align: center;
    color: #6b5e3e;
    padding: 1rem;
}

.ksq-hoi-dap-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.ksq-hoi-dap-card {
    background: #fff;
    border: 1px solid #e8e4dc;
    border-radius: 10px;
    padding: 16px 18px;
    transition: box-shadow 0.15s, border-color 0.15s;
}

.ksq-hoi-dap-card:hover {
    border-color: #e8d5a3;
    box-shadow: 0 4px 16px rgba(26, 26, 46, 0.06);
}

.ksq-hoi-dap-card__q {
    font-size: 1.05rem;
    font-weight: 600;
    color: #1a1a2e;
    margin: 0 0 0.65rem;
    line-height: 1.45;
}

.ksq-hoi-dap-card__q mark {
    background: #fff3c4;
    color: inherit;
    padding: 0 2px;
    border-radius: 2px;
}

.ksq-hoi-dap-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    align-items: center;
    font-size: 0.82rem;
    color: #6b6b7b;
    margin-bottom: 0.75rem;
}

.ksq-hoi-dap-card__cats {
    color: #6b5e3e;
}

.ksq-hoi-dap-card__badge {
    display: inline-block;
    background: #fff3e0;
    color: #b45309;
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 999px;
    margin-left: 0.25rem;
}

.ksq-hoi-dap-card__footer {
    display: flex;
    justify-content: flex-end;
}

.ksq-hoi-dap-card__link {
    color: #6b5e3e;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
}

.ksq-hoi-dap-card__link:hover {
    color: #c9a84c;
}

.ksq-hoi-dap-empty {
    text-align: center;
    padding: 2rem 1rem;
    color: #6b6b7b;
}

.ksq-hoi-dap-pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.ksq-hoi-dap-pagination button {
    border: 1px solid #e8e4dc;
    background: #fff;
    padding: 8px 14px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    color: #1a1a2e;
}

.ksq-hoi-dap-pagination button:hover:not(:disabled) {
    border-color: #c9a84c;
}

.ksq-hoi-dap-pagination button:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.ksq-hoi-dap-pagination__info {
    display: flex;
    align-items: center;
    padding: 0 8px;
    font-size: 0.85rem;
    color: #6b6b7b;
}

/* Related FAQ on single post */
.ksq-related-faq {
    margin: 2rem 0 1rem;
    padding: 1.25rem 1rem;
    border: 1px solid #e8e4dc;
    border-radius: 10px;
    background: #faf8f3;
    clear: both;
}

.ksq-related-faq__title {
    font-family: Merriweather, serif;
    font-size: 1.1rem;
    color: #1a1a2e;
    margin: 0 0 0.75rem;
}

.ksq-related-faq__list {
    margin: 0 0 0.75rem;
    padding-left: 1.2rem;
}

.ksq-related-faq__list li {
    margin-bottom: 0.4rem;
    line-height: 1.5;
}

.ksq-related-faq__list a {
    color: #6b5e3e;
    text-decoration: none;
}

.ksq-related-faq__list a:hover {
    color: #c9a84c;
}

.ksq-related-faq__more a {
    font-size: 0.9rem;
    font-weight: 600;
    color: #6b5e3e;
}

.ksq-hoi-dap-widget-list {
    margin: 0.5rem 0 0;
    padding-left: 1rem;
}

.ksq-hoi-dap-widget-list li {
    margin-bottom: 0.35rem;
    font-size: 0.9rem;
}

@media (max-width: 600px) {
    .ksq-hoi-dap-wrap {
        padding: 1.25rem 0.75rem 2rem;
    }

    .ksq-hoi-dap-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .ksq-hoi-dap-sort {
        align-self: flex-end;
    }
}
