/* ==========================================================================
   PISTON TRIBE: TOOLS PAGE STYLES
   ========================================================================== */

/* --- 1. HERO SECTION OVERRIDES (DIMENSIONS) --- */
.pt-home-hero.tools-hub-hero {
    height: 60vh; 
    min-height: 500px;
    max-height: 800px;
    position: relative;
}

/* --- 2. HERO COLOR & OVERLAY OVERRIDES (CRITICAL) --- */

/* A. The Overlay Background (Flat Professional Blue) */
.pt-home-hero.tools-hub-hero .pt-overlay {
    /* Deep Slate Blue (RGB 30, 41, 59) */
    /* 0.4 opacity allows the image to shine through clearly */
    background-color: rgba(20, 20, 20, 0.95); 
    background-image: none; /* Explicitly remove any gradient */
    opacity: 1; 
}

/* B. Title Color */
.pt-home-hero.tools-hub-hero .pt-home-title.tools-title {
    font-size: 64px; 
    margin-bottom: 25px;
    color: #ffffff; 
}

/* C. Subtitle Color */
.pt-home-hero.tools-hub-hero .pt-home-subtitle {
    color: #f0f0f0; 
    font-weight: 500;
}

/* D. Primary Button Colors (Black Base / Red Hover) */
/*.pt-home-hero.tools-hub-hero .pt-btn-hero-primary {
    background-color: #000000; /* Base: Black */
    border: 2px solid #000000;
    color: #ffffff;
}

/*.pt-home-hero.tools-hub-hero .pt-btn-hero-primary:hover {
    background-color: #333; /* Hover: Grey */
    border-color: #333;
    color: #ffffff;
}

/* E. The "Professional Grade" Tag */
.pt-home-hero.tools-hub-hero .pt-hero-inner span {
    background-color: #cc0000 !important; 
    color: #fff !important;
}

/* --- 3. GRID SYSTEMS --- */
.pt-grid-5 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.pt-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

/* --- 4. PROMO BANNERS --- */
.pt-promo-banner-large {
    position: relative;
    height: 500px;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-decoration: none;
    background-size: cover;
    background-position: center;
    margin-bottom: 0;
}

.pt-promo-banner-large .pt-overlay {
    background: linear-gradient(90deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.3) 100%);
}

.pt-banner-content {
    position: relative;
    z-index: 2;
    padding: 60px;
    max-width: 600px;
    color: #fff;
}

.pt-banner-title {
    font-size: 42px;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 15px;
    line-height: 1;
    color: #fff;
}

.pt-banner-desc {
    font-size: 18px;
    margin-bottom: 25px;
    color: #ddd;
}

/* --- RESPONSIVE --- */
@media (max-width: 1200px) {
    .pt-grid-5 { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .pt-grid-5 { grid-template-columns: repeat(2, 1fr); }
    .pt-grid-2 { grid-template-columns: 1fr; }
    
    .pt-home-hero.tools-hub-hero {
        height: 500px; 
    }
    
    .pt-home-title.tools-title {
        font-size: 64px;
    }

    .pt-promo-banner-large { height: 400px; justify-content: center; text-align: center; }
    .pt-banner-content { padding: 30px; }
    .pt-promo-banner-large .pt-overlay { background: rgba(0,0,0,0.6); }
}