.xq-transaction-links__head { margin-bottom: 16px; }
.xq-transaction-links__title { margin:0 0 8px; font-size:1.2rem; font-weight:700; display:flex; align-items:center; flex-wrap:wrap; gap:8px; }
.xq-transaction-links__badge { display:inline-flex; align-items:center; justify-content:center; padding:4px 10px; border-radius:999px; background:rgba(13,110,253,.08); color:#0d6efd; font-size:12px; font-weight:700; letter-spacing:.02em; }
.xq-transaction-links__desc { margin:0; color:#6c757d; line-height:1.75; }
.xq-transaction-links__grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:14px; }
.xq-transaction-links__item { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:8px; padding:18px 16px; border-radius:16px; background:linear-gradient(180deg,#f8fbff 0%,#ffffff 100%); border:1px solid rgba(54,136,252,.12); text-decoration:none; box-shadow:0 8px 22px rgba(15,23,42,.04); transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease; text-align:center; min-height:148px; }
.xq-transaction-links__item:hover { transform:translateY(-2px); border-color:rgba(54,136,252,.28); box-shadow:0 14px 28px rgba(15,23,42,.08); text-decoration:none; }
.xq-transaction-links__item-title { font-size:1rem; font-weight:700; color:#1f2937; }
.xq-transaction-links__item-desc { font-size:13px; line-height:1.7; color:#6b7280; }

.xq-home-topic-panel__title { font-size:1.45rem; font-weight:800; color:#111827; }
.xq-home-topic-panel__desc { line-height:1.8; }
.xq-home-topic-panel__head { display:flex; flex-direction:column; gap:18px; }
.xq-home-topic-panel__topics { padding-top:2px; }
.xq-topic-entry-grid { row-gap:22px; margin-bottom:0; }
.xq-topic-entry-grid > [class*="col-"] { margin-bottom:0 !important; }
.xq-topic-entry-card { height:100%; }
.xq-topic-entry-card__media { padding:0; align-items:stretch; justify-content:stretch; background:linear-gradient(180deg, #f8fbff 0%, #ffffff 100%); }
.xq-topic-entry-card__img {
    display:block;
    width:100%;
    height:auto;
    aspect-ratio:1280 / 768;
    object-fit:cover;
    object-position:center center;
    border-radius:0;
    background:#f8fbff;
}
.xq-topic-entry-card__body { padding:18px 18px 20px; }
.xq-topic-entry-card__title,
.xq-topic-entry-card__desc { text-align:left; }
.xq-topic-entry-card__desc {
    min-height:72px;
    -webkit-line-clamp:3;
}
.xq-home-topic-panel__filters {
    border-top:1px solid rgba(15,23,42,.06);
    padding-top:18px;
}
.xq-home-topic-panel__filters-head {
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:14px;
    flex-wrap:wrap;
    margin-bottom:10px;
}
.xq-home-topic-panel__filters-title { margin:0; font-size:1rem; font-weight:700; color:#111827; }
.xq-home-topic-panel__filters-desc { margin:0; font-size:13px; line-height:1.75; color:#6b7280; }
.xq-home-category-tags {
    display:flex;
    flex-wrap:wrap;
    gap:6px;
}
.xq-home-category-tag {
    appearance:none;
    min-height:24px;
    padding:5px 5px;
    border:1px solid #3688fc;
    background:rgba(255,255,255,.04);
    color:#eefbff;
    border-radius:4px;
    font-size:14px;
    line-height:1.25;
    font-weight:500;
    cursor:pointer;
    transition:all .18s ease;
    box-shadow:none;
}
.xq-home-category-tag:hover,
.xq-home-category-tag:focus {
    outline:none;
    border-color:#CF6830;
    background:rgba(71,194,234,.16);
    color:#ffffff;
}
.xq-home-category-tag.btn-info {
    border-color:#47c2ea;
    background:#2fb7e5;
    color:#ffffff;
}
.xq-home-category-tag.btn-outline-info {
    background:rgba(255,255,255,.02);
    color:#3688fc;
}
.xq-home-category-tag.btn-outline-info:hover,
.xq-home-category-tag.btn-outline-info:focus {
    background:#fff;
    color:#CF6830;
}

.xq-topic-index-page .xq-topic-index-hero__title { margin:0 0 10px; font-size:1.5rem; font-weight:800; color:#111827; }
.xq-topic-index-page .xq-topic-index-hero__desc { margin:0; color:#6b7280; line-height:1.85; }
.xq-topic-index-page .xq-topic-index-hero-card { overflow:hidden; }
.xq-topic-index-page .xq-topic-index-hero-card { margin-bottom:20px !important; }
.xq-topic-index-page .xq-topic-entry-card { border-radius:.25rem; }
.xq-topic-index-page .xq-topic-entry-card .xq-search-card__media { border-top-left-radius:.25rem; border-top-right-radius:.25rem; overflow:hidden; }
.xq-topic-index-page .xq-topic-entry-card .xq-topic-entry-card__desc { text-align:left; }

@media (max-width: 991.98px) {
    .xq-home-topic-grid,
    .xq-topic-index-grid { grid-template-columns:repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767.98px) {
    .xq-home-topic-panel__title { font-size:1.2rem; }

    .xq-home-topic-panel__filters {
        display:none !important;
    }

    .xq-transaction-links__grid,
    .xq-home-topic-grid,
    .xq-topic-index-grid { grid-template-columns:1fr; }

    .xq-transaction-links__item { min-height:132px; }
    .xq-topic-entry-card__body { padding:16px; }
    .xq-topic-entry-card__desc { min-height:auto; }
}
