/* ====== Industry Landing Pages (PBI #45060) ====== */

.ind-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ====== HERO SECTION ====== */
.ind-hero {
    position: relative;
    min-height: 320px;
    display: flex;
    align-items: center;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 40px;
    background: linear-gradient(135deg, #262626 0%, #444 100%);
}
.ind-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 1;
}
.ind-hero-content {
    position: relative;
    z-index: 2;
    padding: 48px 40px;
    max-width: 640px;
    color: #fff;
}
.ind-hero-badge {
    display: inline-block;
    background: #C4112F;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 4px 12px;
    border-radius: 4px;
    margin-bottom: 16px;
}
.ind-hero h1 {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 16px 0;
    color: #fff;
}
.ind-hero-sub {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 24px 0;
}
.ind-hero-cta {
    display: inline-block;
    background: #C4112F;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.2s;
}
.ind-hero-cta:hover {
    background: #9E0D25;
    color: #fff;
    text-decoration: none;
}

/* Industry-specific hero backgrounds (gradient fallbacks — replace with images when available) */
.ind-hero--restaurants { background: linear-gradient(135deg, #8B2500 0%, #C4112F 50%, #444 100%); }
.ind-hero--hotels { background: linear-gradient(135deg, #1a3a5c 0%, #2c5f8a 50%, #444 100%); }
.ind-hero--healthcare { background: linear-gradient(135deg, #0f5132 0%, #198754 50%, #444 100%); }
.ind-hero--education { background: linear-gradient(135deg, #2c1a6e 0%, #5f4bb6 50%, #444 100%); }
.ind-hero--automotive { background: linear-gradient(135deg, #333 0%, #555 50%, #777 100%); }

/* ====== VALUE PROPS BAR ====== */
.ind-valueprops {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    background: #f8f8f8;
    border-radius: 12px;
    padding: 28px 24px;
    margin-bottom: 48px;
}
.ind-vp {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.ind-vp-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #C4112F;
    color: #fff;
    border-radius: 8px;
    font-size: 16px;
}
.ind-vp-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.ind-vp-text strong {
    font-size: 14px;
    font-weight: 700;
    color: #262626;
}
.ind-vp-text span {
    font-size: 13px;
    color: #666;
    line-height: 1.4;
}

/* ====== CATEGORY PILLS ====== */
.ind-categories {
    margin-bottom: 48px;
}
.ind-categories h2 {
    font-size: 22px;
    font-weight: 700;
    color: #262626;
    margin: 0 0 20px 0;
}
.ind-pill-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.ind-pill {
    display: inline-block;
    padding: 10px 20px;
    background: #fff;
    border: 1.5px solid #e5e5e5;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    text-decoration: none;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.ind-pill:hover {
    border-color: #C4112F;
    color: #C4112F;
    background: #fef2f2;
    text-decoration: none;
}

/* ====== PRODUCT GRID SECTION ====== */
.ind-products {
    margin-bottom: 48px;
}
.ind-products h2 {
    font-size: 22px;
    font-weight: 700;
    color: #262626;
    margin: 0 0 20px 0;
}

/* Override Algolia grid for industry page: 4 columns, no sidebar */
#ind-hits .ais-Hits-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}
#ind-hits .ais-Hits-item {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
    min-width: 0;
}
#ind-hits {
    min-height: 300px;
}

.ind-no-products {
    text-align: center;
    color: #999;
    padding: 40px 0;
    font-size: 15px;
}

.ind-viewall {
    text-align: center;
    margin-top: 24px;
}
.ind-viewall a {
    font-size: 15px;
    font-weight: 600;
    color: #C4112F;
    text-decoration: none;
    transition: color 0.2s;
}
.ind-viewall a:hover {
    color: #9E0D25;
    text-decoration: underline;
}

/* ====== WHY BUYDIRECT SECTION ====== */
.ind-benefits {
    margin-bottom: 48px;
    background: #f8f8f8;
    border-radius: 12px;
    padding: 40px 32px;
}
.ind-benefits h2 {
    font-size: 22px;
    font-weight: 700;
    color: #262626;
    margin: 0 0 28px 0;
    text-align: center;
}
.ind-benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.ind-benefit {
    text-align: center;
}
.ind-benefit-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #C4112F;
    color: #fff;
    border-radius: 50%;
    font-size: 18px;
    margin: 0 auto 12px auto;
}
.ind-benefit strong {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: #262626;
    margin-bottom: 6px;
}
.ind-benefit p {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

/* ====== CROSS-SELL GRID ====== */
.ind-crosssell {
    margin-bottom: 48px;
}
.ind-crosssell h2 {
    font-size: 22px;
    font-weight: 700;
    color: #262626;
    margin: 0 0 20px 0;
}
.ind-crosssell-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.ind-crosssell-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px 16px;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    text-decoration: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.ind-crosssell-card:hover {
    border-color: #C4112F;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    text-decoration: none;
}
.ind-crosssell-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border-radius: 12px;
    font-size: 20px;
    color: #C4112F;
    margin-bottom: 12px;
}
.ind-crosssell-card strong {
    font-size: 15px;
    font-weight: 700;
    color: #262626;
    margin-bottom: 4px;
}
.ind-crosssell-card span {
    font-size: 13px;
    color: #666;
    line-height: 1.4;
}

/* ====== CTA BANNER ====== */
.ind-cta {
    background: #C4112F;
    border-radius: 12px;
    padding: 48px 32px;
    text-align: center;
    margin-bottom: 48px;
}
.ind-cta h2 {
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 12px 0;
}
.ind-cta p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 24px 0;
}
.ind-cta-btn {
    display: inline-block;
    background: #fff;
    color: #C4112F;
    font-size: 15px;
    font-weight: 700;
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}
.ind-cta-btn:hover {
    background: #f5f5f5;
    color: #9E0D25;
    text-decoration: none;
}

/* ====== RESPONSIVE ====== */
@media (max-width: 1024px) {
    .ind-valueprops {
        grid-template-columns: repeat(2, 1fr);
    }
    .ind-benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    #ind-hits .ais-Hits-list {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .ind-page {
        padding: 0 12px;
    }
    .ind-hero {
        min-height: 240px;
        margin-bottom: 28px;
        border-radius: 8px;
    }
    .ind-hero-content {
        padding: 28px 20px;
    }
    .ind-hero h1 {
        font-size: 24px;
    }
    .ind-hero-sub {
        font-size: 14px;
        margin-bottom: 16px;
    }
    .ind-hero-cta {
        font-size: 13px;
        padding: 10px 20px;
    }

    .ind-valueprops {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 20px 16px;
        margin-bottom: 32px;
    }
    .ind-vp {
        flex-direction: row;
        gap: 12px;
    }

    .ind-categories {
        margin-bottom: 32px;
    }
    .ind-categories h2 {
        font-size: 18px;
        margin-bottom: 14px;
    }
    .ind-pill {
        padding: 8px 14px;
        font-size: 13px;
    }

    .ind-products {
        margin-bottom: 32px;
    }
    .ind-products h2 {
        font-size: 18px;
    }
    #ind-hits .ais-Hits-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .ind-benefits {
        padding: 28px 16px;
        margin-bottom: 32px;
    }
    .ind-benefits h2 {
        font-size: 18px;
    }
    .ind-benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .ind-benefit {
        display: flex;
        align-items: center;
        text-align: left;
        gap: 12px;
    }
    .ind-benefit-icon {
        margin: 0;
        flex-shrink: 0;
    }

    .ind-crosssell-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .ind-crosssell-card {
        padding: 16px 12px;
    }

    .ind-cta {
        padding: 32px 20px;
        margin-bottom: 32px;
        border-radius: 8px;
    }
    .ind-cta h2 {
        font-size: 20px;
    }
    .ind-cta-btn {
        padding: 12px 24px;
        font-size: 14px;
    }
}
