/* Category Pages CSS - Expeditious Tools */
.category-masthead {
    background: linear-gradient(135deg, #111418 0%, #1e2530 100%);
    color: #ffffff;
    padding: 130px 0 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.category-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    margin-bottom: 24px;
}

.category-breadcrumbs a {
    color: #ffc800;
    text-decoration: none;
    transition: opacity 0.2s;
}

.category-breadcrumbs a:hover {
    text-decoration: underline;
}

.category-breadcrumbs .sep {
    color: rgba(255, 255, 255, 0.4);
}

.category-breadcrumbs .curr {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.category-header-wrap {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.category-icon-large {
    width: 64px;
    height: 64px;
    background: rgba(255, 200, 0, 0.12);
    border: 1px solid rgba(255, 200, 0, 0.3);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.category-icon-large img {
    object-fit: contain;
}

.category-kicker {
    display: inline-block;
    text-transform: uppercase;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #ffc800;
    margin-bottom: 4px;
}

.category-h1 {
    font-size: 2.25rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
    margin: 0;
}

@media (max-width: 768px) {
    .category-masthead {
        padding: 100px 0 36px;
    }
    .category-h1 {
        font-size: 1.65rem;
    }
    .category-header-wrap {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}

.category-editorial-box {
    max-width: 860px;
    margin-top: 14px;
    margin-bottom: 24px;
}

.category-editorial-intro {
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}

.category-stats-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.stat-pill {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.84rem;
    font-weight: 500;
    color: #f1f3f5;
}

/* Main Content & Grid */
.category-main-content {
    background-color: #f8f9fa;
    padding: 60px 0 80px;
}

.category-section-title-wrap {
    margin-bottom: 32px;
}

.category-section-title-wrap h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #111418;
    margin-bottom: 6px;
}

.category-section-title-wrap p {
    color: #6c757d;
    font-size: 0.98rem;
    margin: 0;
}

.category-tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    margin-bottom: 60px;
}

@media (max-width: 576px) {
    .category-tools-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

.cat-tool-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e9ecef;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
    padding: 24px;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.cat-tool-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
    border-color: #ffc800;
}

.cat-tool-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.cat-tool-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #dee2e6;
}

.cat-tool-icon img {
    object-fit: contain;
}

.cat-tool-badges {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.badge-tag {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 3px 8px;
    border-radius: 6px;
}

.badge-popular {
    background: #fff3cd;
    color: #856404;
}

.badge-new {
    background: #d4edda;
    color: #155724;
}

.badge-client {
    background: #e7f5ff;
    color: #0c85d0;
}

.badge-server {
    background: #f3f0ff;
    color: #6741d9;
}

.cat-tool-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.35;
}

.cat-tool-title a {
    color: #212529;
    text-decoration: none;
    transition: color 0.2s;
}

.cat-tool-title a:hover {
    color: #d9aa00;
}

.cat-tool-blurb {
    font-size: 0.92rem;
    color: #555e68;
    line-height: 1.55;
    margin-bottom: 20px;
    flex-grow: 1;
}

.cat-tool-footer {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid #f1f3f5;
}

.btn-use-tool {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 10px 16px;
    border-radius: 10px;
    background: #f8f9fa;
    color: #212529;
    font-weight: 600;
    font-size: 0.88rem;
    text-decoration: none;
    border: 1px solid #dee2e6;
    transition: all 0.2s ease;
}

.btn-use-tool:hover {
    background: #ffc800;
    color: #111418;
    border-color: #ffc800;
}

/* Related Guides */
.category-related-guides {
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid #e9ecef;
    padding: 32px;
    margin-bottom: 60px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

.guides-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 24px;
    border-bottom: 1px solid #f1f3f5;
    padding-bottom: 16px;
}

.guides-tag {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #d9aa00;
    display: block;
    margin-bottom: 4px;
}

.guides-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111418;
    margin: 0;
}

.btn-view-all-guides {
    color: #212529;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.2s;
}

.btn-view-all-guides:hover {
    color: #d9aa00;
}

.guides-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.guide-card {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.guide-thumb-img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    display: block;
}

.guide-card-content {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.guide-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.35;
}

.guide-title a {
    color: #212529;
    text-decoration: none;
}

.guide-title a:hover {
    color: #d9aa00;
}

.guide-excerpt {
    font-size: 0.84rem;
    color: #6c757d;
    line-height: 1.5;
    margin-bottom: 12px;
    flex-grow: 1;
}

.guide-read-link {
    font-size: 0.84rem;
    font-weight: 600;
    color: #ffc800;
    text-decoration: none;
}

.guide-read-link:hover {
    text-decoration: underline;
}

/* Other Categories Pills */
.category-other-nav {
    margin-top: 40px;
}

.other-categories-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #111418;
    margin-bottom: 18px;
}

.other-categories-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.category-pill-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    border: 1px solid #dee2e6;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.88rem;
    font-weight: 600;
    color: #212529;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
    transition: all 0.2s ease;
}

.category-pill-link:hover {
    border-color: #ffc800;
    color: #111418;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.07);
}

.pill-count {
    background: #f1f3f5;
    color: #495057;
    font-size: 0.76rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 12px;
}
