/**
 * ToolsHub - Universal All-Tools Design System (tools.css)
 * A single unified, premium, minimalistic stylesheet powering ALL 525+ tools across all 21 categories.
 */

/* ==========================================================================
   1. Breadcrumb Navigation Trail
   ========================================================================== */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: var(--text-secondary);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-weight: 500;
}

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

.breadcrumb span {
    color: var(--text-light);
}

.breadcrumb span:last-child {
    color: var(--text-primary);
    font-weight: 600;
}

/* ==========================================================================
   2. Single Tool Page Header & AEO Overview Callout
   ========================================================================== */
.tool-page-header {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.5rem 1.75rem;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-sm);
}

.tool-title-row {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.tool-page-icon {
    width: 62px;
    height: 62px;
    min-width: 62px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(37, 99, 235, 0.12);
}

.tool-header-content {
    flex: 1;
    min-width: 0;
}

.tool-header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 0.35rem;
}

.tool-page-title {
    font-size: clamp(1.45rem, 2.4vw, 1.95rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.025em;
    color: var(--text-primary);
    margin: 0;
}

.tool-badges-group {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    flex-wrap: wrap;
}

.tool-meta-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.24rem 0.68rem;
    border-radius: 9999px;
    font-size: 0.74rem;
    font-weight: 700;
    background: #eff6ff;
    color: #2563eb;
    border: 1px solid rgba(37, 99, 235, 0.16);
}

.tool-free-pill {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
    border-color: rgba(16, 185, 129, 0.24);
}

.tool-page-desc {
    color: var(--text-secondary);
    font-size: 0.98rem;
    margin: 0;
    line-height: 1.55;
    max-width: 820px;
}

/* AEO Direct Answer / Quick Overview (Featured Snippet Optimized) */
.aeo-overview-box {
    background: linear-gradient(135deg, rgba(239, 246, 255, 0.88) 0%, rgba(248, 250, 252, 0.95) 100%);
    border: 1px solid rgba(37, 99, 235, 0.16);
    border-radius: var(--radius-lg);
    padding: 1rem 1.5rem;
    margin-bottom: 1.65rem;
    display: flex;
    align-items: flex-start;
    gap: 0.95rem;
    box-shadow: var(--shadow-xs);
}

.aeo-overview-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 10px;
    background: rgba(37, 99, 235, 0.12);
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    margin-top: 0.1rem;
}

.aeo-overview-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.aeo-overview-text {
    font-size: 0.92rem;
    color: var(--text-primary);
    line-height: 1.58;
}

.aeo-meta-pills {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.aeo-spec-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.2rem 0.62rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    background: #ffffff;
    color: var(--text-secondary);
    border: 1px solid rgba(203, 213, 225, 0.85);
}

.aeo-spec-pill i {
    font-size: 0.72rem;
    color: var(--primary);
}

/* ==========================================================================
   3. Interactive Tool Workspace Container
   ========================================================================== */
.tool-workspace {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 2.25rem;
    margin: 0 auto 2.5rem;
    transition: var(--transition);
    overflow-x: hidden;
}

/* Uniform Centering & Structural Polish Across All Tool Category Apps */
.tool-workspace [id$="-tool-app"],
.tool-workspace .universal-tool-shell,
.tool-workspace > form {
    max-width: 880px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.tool-workspace [id$="-tool-app"] > div:first-child:not(.aud-top-bar):not(.ai-top-bar):not(.calc-bench-topbar) {
    padding-bottom: 0.75rem;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid var(--border-color);
}

.tool-workspace .card {
    background: var(--bg-subtle);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 1.6rem;
    margin-bottom: 1.25rem;
    box-shadow: var(--shadow-sm);
    width: 100%;
    transition: var(--transition);
}

.tool-workspace .card > p,
.tool-workspace .card .form-text {
    text-align: center;
}

.tool-workspace .card:last-child {
    margin-bottom: 0;
}

/* Shared Bootstrap-compatible Utility Helpers (Missing in Custom CSS) */
.d-none { display: none !important; }
.p-2 { padding: 0.75rem !important; }
.p-3 { padding: 1.35rem !important; }
.p-4 { padding: 1.75rem !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 0.5rem !important; }
.mb-2 { margin-bottom: 0.85rem !important; }
.mb-3 { margin-bottom: 1.25rem !important; }
.mb-4 { margin-bottom: 1.75rem !important; }
.mt-1 { margin-top: 0.5rem !important; }
.mt-2 { margin-top: 0.85rem !important; }
.mt-3 { margin-top: 1.25rem !important; }
.text-center { text-align: center !important; }
.text-muted { color: var(--text-muted) !important; }
.text-success { color: #10b981 !important; }
.text-danger { color: #ef4444 !important; }
.text-primary { color: var(--primary) !important; }
.form-text {
    display: block;
    margin-top: 0.45rem;
    font-size: 0.84rem;
    line-height: 1.5;
    color: var(--text-muted);
}

/* Centered Primary CTA & Download Buttons Inside Tool Sections */
.tool-workspace .btn-block,
.tool-workspace #vid-download-link,
.tool-workspace #aud-download-link {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    width: 100%;
    max-width: 420px;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center;
    border-radius: 12px;
}

.tool-workspace #vid-download-link[style*="display:none"],
.tool-workspace #vid-download-link[style*="display: none"] {
    display: none !important;
}

/* Clean File Input Styling */
.tool-workspace input[type="file"].form-control {
    padding: 0.7rem 0.9rem;
    border-style: dashed;
    border-width: 1.5px;
    cursor: pointer;
    border-radius: 10px;
}

.tool-workspace input[type="file"].form-control::file-selector-button {
    background: var(--primary);
    color: #ffffff;
    border: none;
    border-radius: 7px;
    padding: 0.45rem 0.95rem;
    margin-right: 0.85rem;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: opacity 0.2s ease, transform 0.15s ease;
}

.tool-workspace input[type="file"].form-control::file-selector-button:hover {
    opacity: 0.92;
}

/* ==========================================================================
   4. Universal Drag & Drop File Upload Zone
   ========================================================================== */
.tool-dropzone {
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-md);
    padding: 3rem 1.5rem;
    text-align: center;
    background: var(--bg-subtle);
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    user-select: none;
}

.tool-dropzone:hover,
.tool-dropzone.dragover {
    border-color: var(--primary);
    background: var(--primary-light);
    box-shadow: var(--shadow-glow);
}

.tool-dropzone i {
    font-size: 2.75rem;
    color: var(--primary);
    margin-bottom: 0.85rem;
    display: inline-block;
    transition: transform 0.2s ease;
}

.tool-dropzone:hover i {
    transform: translateY(-4px);
}

.tool-dropzone h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
    color: var(--text-primary);
}

.tool-dropzone p {
    font-size: 0.88rem;
    color: var(--text-muted);
}

.tool-dropzone input[type="file"] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

/* Selected File Info Card */
.selected-file-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1.15rem;
    margin: 1.25rem 0;
    background: var(--bg-subtle);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    gap: 1rem;
}

.file-info-main {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.file-info-main i {
    font-size: 1.4rem;
    color: var(--primary);
}

/* ==========================================================================
   5. Form Controls, Labels, Inputs & Monospace Editors
   ========================================================================== */
.form-group {
    margin-bottom: 1.35rem;
}

.form-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 0.92rem;
    margin-bottom: 0.45rem;
    color: var(--text-primary);
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    color: var(--text-primary);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: var(--shadow-glow);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
    line-height: 1.6;
}

textarea.code-font,
input.code-font {
    font-family: var(--font-mono);
    font-size: 0.88rem;
    letter-spacing: -0.01em;
    tab-size: 4;
}

/* Range Slider Styling */
input[type="range"].form-control {
    padding: 0;
    height: 8px;
    background: var(--border-color);
    border-radius: var(--radius-full);
    outline: none;
    border: none;
    cursor: pointer;
}

input[type="range"].form-control::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: transform 0.1s ease;
}

input[type="range"].form-control::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}

.range-badge {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    background: var(--primary-light);
    color: var(--primary);
    padding: 2px 8px;
    border-radius: var(--radius-full);
    font-weight: 700;
}

/* Live Character / Word / Line Stats Bar */
.input-stats-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-top: 0.45rem;
    flex-wrap: wrap;
    gap: 0.75rem;
}

/* ==========================================================================
   6. Action Buttons Bar
   ========================================================================== */
.tool-actions-bar {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.btn-execute {
    padding: 0.85rem 1.85rem;
    font-size: 1rem;
    font-weight: 700;
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    box-shadow: 0 2px 4px rgba(37, 99, 235, 0.25);
}

.btn-execute:hover {
    box-shadow: 0 6px 16px var(--primary-glow);
    transform: translateY(-1px);
}

/* ==========================================================================
   7. Progress Bar & Real-time Status
   ========================================================================== */
.progress-container {
    width: 100%;
    height: 8px;
    background: var(--border-color);
    border-radius: var(--radius-full);
    margin: 1.5rem 0 1rem;
    overflow: hidden;
    display: none;
}

.progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--primary) 0%, #38bdf8 100%);
    border-radius: var(--radius-full);
    transition: width 0.3s ease;
}

/* ==========================================================================
   8. Output Result Card
   ========================================================================== */
.output-card {
    background: var(--bg-subtle);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    margin-top: 1.75rem;
    display: none;
    animation: slideDown 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.output-card.active {
    display: block;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

.output-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.95rem;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.output-title {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--text-primary);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.output-actions {
    display: flex;
    gap: 0.5rem;
}

.output-stats-line {
    margin-top: 0.85rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ==========================================================================
   9. Category-Specific Interactive Tool Components
   ========================================================================== */

/* Unit Converter Grid */
.converter-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 1.25rem;
    align-items: center;
    margin-bottom: 1.5rem;
}

.btn-swap-units {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    color: var(--primary);
    cursor: pointer;
    font-size: 1.15rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.btn-swap-units:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
    transform: rotate(180deg);
}

/* Color & Design Tools */
.color-swatch-large {
    width: 100%;
    height: 120px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.06);
    margin: 1rem 0;
    transition: background-color 0.15s ease;
}

.color-preview-box {
    width: 100%;
    min-height: 180px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-subtle);
    border: 1px solid var(--border-color);
    margin: 1.25rem 0;
    padding: 1.5rem;
}

.interactive-shadow-target {
    width: 160px;
    height: 120px;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--text-primary);
    transition: box-shadow 0.1s ease;
}

.copy-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.4rem 0.85rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    font-family: var(--font-mono);
    font-size: 0.85rem;
    cursor: pointer;
    color: var(--text-primary);
    transition: var(--transition);
    user-select: none;
}

.copy-pill:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-light);
}

.copy-pill:active {
    transform: scale(0.96);
}

/* Digital LED Clock & Timer Display */
.digital-clock-display {
    font-family: var(--font-mono);
    font-size: 3.5rem;
    font-weight: 800;
    text-align: center;
    letter-spacing: 2px;
    color: var(--primary);
    padding: 1.75rem;
    background: var(--bg-subtle);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    margin: 1rem 0;
    user-select: none;
}

/* Google SERP Preview Mockup */
.serp-preview-card {
    background: #ffffff;
    border: 1px solid #dfe1e5;
    border-radius: 8px;
    padding: 1.25rem;
    font-family: Arial, sans-serif;
    color: #4d5156;
    margin: 1.25rem 0;
    max-width: 650px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.serp-preview-cite {
    font-size: 13px;
    color: #202124;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
}

.serp-preview-title {
    font-size: 19px;
    color: #1a0dab;
    line-height: 1.3;
    cursor: pointer;
    margin-bottom: 4px;
    word-break: break-word;
    font-weight: 400;
}

.serp-preview-snippet {
    font-size: 14px;
    line-height: 1.58;
    color: #4d5156;
    word-break: break-word;
}

/* Responsive Data Table */
.tool-table-responsive {
    width: 100%;
    overflow-x: auto;
    margin: 1rem 0;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
}

.tool-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
    text-align: left;
}

.tool-table th {
    background: var(--bg-subtle);
    padding: 0.85rem 1rem;
    font-weight: 600;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-primary);
}

.tool-table td {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.tool-table tr:last-child td {
    border-bottom: none;
}

.tool-table tr:hover td {
    background: var(--bg-subtle);
}

/* BMI Meter Gauge */
.bmi-gauge-container {
    margin: 1.5rem 0;
}

.bmi-bar {
    height: 16px;
    border-radius: var(--radius-full);
    display: flex;
    overflow: hidden;
    position: relative;
    margin-bottom: 0.5rem;
}

.bmi-bar-segment {
    height: 100%;
}

.bmi-seg-under { background: #3b82f6; width: 18.5%; }
.bmi-seg-normal { background: #10b981; width: 33%; }
.bmi-seg-over { background: #f59e0b; width: 20%; }
.bmi-seg-obese { background: #ef4444; width: 28.5%; }

/* Audio Recording Pulse */
.recording-pulse {
    animation: recordPulse 1.5s infinite;
}

@keyframes recordPulse {
    0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.6); }
    70% { box-shadow: 0 0 0 14px rgba(239, 68, 68, 0); }
    100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

/* ==========================================================================
   10. Educational & SEO Content Blocks (How-To, Features, Tips, FAQ)
   ========================================================================== */
.info-section {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 2rem;
    margin-bottom: 1.75rem;
}

.info-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    color: var(--text-primary);
}

/* Step-by-Step How To Steps Grid */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.step-card {
    background: var(--bg-subtle);
    padding: 1.15rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
}

.step-badge {
    display: inline-flex;
    width: 30px;
    height: 30px;
    background: var(--primary);
    color: #ffffff;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.88rem;
    margin-bottom: 0.6rem;
}

/* Features Checklist */
.features-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 0.85rem;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.features-list li i {
    color: var(--success);
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* FAQ Accordion */
.faq-item {
    border-bottom: 1px solid var(--border-color);
    padding: 1.15rem 0;
}

.faq-item:first-child {
    padding-top: 0.25rem;
}

.faq-item:last-child {
    border-bottom: none;
    padding-bottom: 0.25rem;
}

.faq-question {
    font-weight: 600;
    font-size: 1.05rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
    gap: 1rem;
    color: var(--text-primary);
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--primary);
}

.faq-question i {
    font-size: 0.85rem;
    color: var(--text-muted);
    transition: transform 0.2s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    margin-top: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.65;
}

/* ==========================================================================
   11. Responsiveness for Tools
   ========================================================================== */
@media (max-width: 768px) {
    .tool-page-header {
        padding: 1.2rem;
    }

    .tool-workspace {
        padding: 1.15rem;
        border-radius: 14px;
    }

    .tool-workspace .card,
    .tool-workspace .p-3,
    .tool-workspace .aud-card,
    .tool-workspace .ai-card {
        padding: 1rem !important;
    }

    .tool-workspace .btn-block {
        max-width: 100%;
    }

    .tool-workspace [id$="-tool-app"] > div:first-child {
        justify-content: center;
        text-align: center;
    }

    .tool-title-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.85rem;
    }

    .tool-header-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .aeo-overview-box {
        padding: 0.95rem 1.1rem;
    }

    .tool-page-title {
        font-size: 1.75rem;
    }

    .tool-page-desc {
        font-size: 0.95rem;
    }

    .tool-dropzone {
        padding: 2rem 1rem;
    }

    .converter-grid {
        grid-template-columns: 1fr;
    }

    .digital-clock-display {
        font-size: 2.25rem;
        padding: 1rem;
    }

    .info-section {
        padding: 1.35rem;
    }

    .output-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .output-actions {
        width: 100%;
    }

    .output-actions .btn {
        flex: 1;
    }
}

/* ==========================================================================
   12. Responsive Tool Guides + Sticky Sidebar Ad Layout
   ========================================================================== */
.tool-guides-with-sidebar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 1.75rem;
    align-items: start;
}

.tool-guides-main {
    min-width: 0;
}

.tool-guides-sidebar {
    width: 300px;
    max-width: 100%;
}

.tool-sidebar-sticky {
    position: sticky;
    top: 90px;
}

@media (max-width: 991px) {
    .tool-guides-with-sidebar {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .tool-guides-sidebar {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .tool-sidebar-sticky {
        position: static;
        width: 100%;
    }
}
