/* ==========================================================================
   QDT shared "What else can you check?" cross-link block
   (wwwroot/css/shared/qdt-explore.css)
   --------------------------------------------------------------------------
   Pairs with Views/Shared/_ExploreMore.cshtml. Deliberately self-contained and
   namespaced under .qdt-explore-* with its own neutral palette, so it can drop
   into any tool page (teal IP tools, blue network tools, etc.) without picking
   up or fighting that page's theme variables.
   ========================================================================== */

.qdt-explore {
    margin-top: 20px;
    padding: 24px;
    border: 1px solid #dfe7f0;
    border-radius: 20px;
    background:
        radial-gradient(circle at 6% 0%, rgba(37, 111, 255, 0.06), transparent 26%),
        radial-gradient(circle at 94% 8%, rgba(122, 77, 255, 0.05), transparent 22%),
        #ffffff;
    box-shadow: 0 10px 30px rgba(16, 24, 40, 0.05);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

.qdt-explore-head {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 18px;
}

.qdt-explore-mark {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    font-size: 1.25rem;
    font-weight: 900;
    background: linear-gradient(145deg, #4b8bff, #1d4ed8);
    box-shadow: 0 8px 18px rgba(29, 78, 216, 0.28);
}

.qdt-explore-head h2 {
    margin: 0;
    font-size: 1.12rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    color: #0f172a;
}

.qdt-explore-head p {
    margin: 5px 0 0;
    color: #64748b;
    font-size: 0.86rem;
    line-height: 1.55;
}

.qdt-explore-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 12px;
}

.qdt-explore-card {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 15px 16px;
    border: 1px solid #e3eaf3;
    border-radius: 14px;
    background: #fbfcfe;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.qdt-explore-card:hover {
    border-color: #4b8bff;
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(29, 78, 216, 0.13);
}

.qdt-explore-icon {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: #eef4ff;
    font-size: 1.2rem;
}

.qdt-explore-body {
    min-width: 0;
    flex: 1 1 auto;
}

.qdt-explore-body strong {
    display: block;
    font-size: 0.88rem;
    font-weight: 850;
    color: #0f172a;
    line-height: 1.35;
}

.qdt-explore-body small {
    display: block;
    margin-top: 3px;
    color: #64748b;
    font-size: 0.78rem;
    line-height: 1.5;
}

.qdt-explore-arrow {
    flex: 0 0 auto;
    color: #94a3b8;
    font-size: 1.05rem;
    transition: transform 0.16s ease, color 0.16s ease;
}

.qdt-explore-card:hover .qdt-explore-arrow {
    color: #1d4ed8;
    transform: translateX(3px);
}

@media (max-width: 780px) {
    .qdt-explore {
        padding: 18px 16px;
    }

    .qdt-explore-grid {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .qdt-explore-card,
    .qdt-explore-arrow {
        transition: none;
    }

    .qdt-explore-card:hover {
        transform: none;
    }

    .qdt-explore-card:hover .qdt-explore-arrow {
        transform: none;
    }
}
