/* ============================================================
   SMS PERSONNEL — industry-page.css
   All styles for industry page templates (ind-pg- prefix).
   Reusable for all 8 industry pages.

   Enqueue from functions.php:
   wp_enqueue_style( 'smsp-industry', $uri.'/assets/industry-page.css', ['smsp-main'], $v );

   Also depends on:
   - main.css for: .logos-strip, .logos-track-wrap, .logos-track,
     .logo-item, .testi-section, .tcard, .tc-*, .ip-working-grid,
     .ip-wi, .ip-wi-ico, .whole-banner-outer, .whole-banner,
     .whole-banner-overlay, .whole-banner-content, .btn, .section,
     .container, .container-wide, .sec-h, .sec-sub
============================================================ */

/* ── HERO ────────────────────────────────────────────────────
   Single whole-image banner. Gray placeholder until image
   uploaded via Customizer. Same pattern as all other page heroes.
─────────────────────────────────────────────────────────────*/
.ind-pg-hero {
    position: relative;
    min-height: 280px;
    overflow: hidden;
    display: flex;
    align-items: center;
    background: #b2b2b2;
    background-size: cover;
    background-position: center;
}
.ind-pg-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        135deg,
        rgba(0,0,0,.04) 0px, rgba(0,0,0,.04) 1px,
        transparent 1px, transparent 28px
    );
    pointer-events: none;
}
.ind-pg-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(14,14,14,.88) 30%,
        rgba(14,14,14,.55) 65%,
        rgba(14,14,14,.15) 100%
    );
}
.ind-pg-hero-content {
    position: relative;
    z-index: 2;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 60px;
    width: 100%;
}
.ind-pg-hero-content h1 {
    font-size: clamp(26px, 3.5vw, 44px);
    font-weight: 800;
    color: #fff;
    line-height: 1.12;
    margin-bottom: 10px;
    letter-spacing: -.02em;
}
.ind-pg-hero-content p {
    font-size: 15px;
    color: rgba(255,255,255,.6);
    font-style: italic;
    margin: 0;
    line-height: 1.6;
}

/* ── STAFF STRIP ─────────────────────────────────────────────
   Light green-tinted background (#f0f5f0) — same as logos strip.
   Sits directly below hero, above highlight cards.
   4-col grid. Green dot bullets, dark text.
─────────────────────────────────────────────────────────────*/
.ind-pg-staff-strip {
    background: #f0f5f0;
    padding: 28px 0;
    width: 100%;
}
.ind-pg-staff-strip-inner {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 60px;
}
.ind-pg-staff-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 18px;
}
.ind-pg-roles-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px 20px;
}
/* Override color for strip context (roles default to white for split panel) */
.ind-pg-roles-strip .ind-pg-role {
    color: #111111;
}

/* ── HIGHLIGHT CARDS — 4-col image cards ─────────────────────*/
.ind-pg-hl-wrap {
    padding: 29px 60px;
    background: #fff;
    max-width: 1600px;
    margin: 0 auto;
}
.ind-pg-hl-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}
.ind-pg-hl {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
    cursor: pointer;
    transition: box-shadow .2s, transform .2s;
}
.ind-pg-hl:hover { box-shadow: 0 6px 24px rgba(0,0,0,.13); transform: translateY(-2px); }
.ind-pg-hl-img {
    width: 100%;
    aspect-ratio: 16/9;
    background: #c0c0c0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.ind-pg-hl-img::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        135deg,
        rgba(0,0,0,.03) 0px, rgba(0,0,0,.03) 1px,
        transparent 1px, transparent 20px
    );
}
.ind-pg-hl-img i { font-size: 28px; color: rgba(255,255,255,.35); position: relative; z-index: 1; }
.ind-pg-hl-body  { padding: 8px 10px 10px; }
.ind-pg-hl-body strong { display: block; font-size: 13px; font-weight: 700; color: #111; line-height: 1.4; }
.ind-pg-hl-body strong em { font-style: normal; color: #4CAF50; }

/* ── OVERVIEW SPLIT — image left, text right ─────────────────*/
.ind-pg-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: #fff;
}

/* Left column — gray image placeholder */
.ind-pg-staff {
    background: #b8b8b8;
    position: relative;
    overflow: hidden;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 8px;
    min-height: 420px;
    background-size: cover;
    background-position: center;
}
.ind-pg-staff::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        135deg,
        rgba(0,0,0,.04) 0px, rgba(0,0,0,.04) 1px,
        transparent 1px, transparent 24px
    );
}
.ind-pg-staff-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Shared role dot-item used in both strip and split contexts */
.ind-pg-role {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 500;
    color: #fff;           /* white for split context; overridden to #111 in strip */
    line-height: 1.3;
}
.ind-pg-role::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #4CAF50;
    flex-shrink: 0;
}

/* Right column — overview text */
.ind-pg-overview {
    padding: 40px 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.ind-pg-overview p {
    font-size: 14.5px;
    color: #555555;
    line-height: 1.8;
    margin-bottom: 14px;
}
.ind-pg-overview p:last-child { margin-bottom: 0; }

/* ── TABLET ≤ 1024px ─────────────────────────────────────────*/
@media (max-width: 1024px) {
    /* Hero */
    .ind-pg-hero-content { padding: 0 28px; }

    /* Staff strip */
    .ind-pg-staff-strip        { padding: 20px 0; }
    .ind-pg-staff-strip-inner  { padding: 0 28px; }
    .ind-pg-roles-strip        { grid-template-columns: repeat(2, 1fr); }

    /* Highlight cards — 2-col */
    .ind-pg-hl-wrap  { padding: 20px 28px; }
    .ind-pg-hl-grid  { grid-template-columns: repeat(2, 1fr); }

    /* Overview — stack */
    .ind-pg-split    { grid-template-columns: 1fr; }
    .ind-pg-staff    { min-height: 260px; }
    .ind-pg-overview { padding: 28px 32px; }
}

/* ── MOBILE ≤ 768px ──────────────────────────────────────────*/
@media (max-width: 768px) {
    /* Hero */
    .ind-pg-hero           { min-height: 220px; }
    .ind-pg-hero-content   { padding: 0 16px; }
    .ind-pg-hero-content h1 { font-size: 26px; }
    .ind-pg-hero-content p  { font-size: 14px; }

    /* Staff strip */
    .ind-pg-staff-strip        { padding: 16px 0; }
    .ind-pg-staff-strip-inner  { padding: 0 16px; }
    .ind-pg-roles-strip        { grid-template-columns: repeat(2, 1fr); gap: 8px 14px; }

    /* Highlight cards — 1-col stacked */
    .ind-pg-hl-wrap { padding: 16px; }
    .ind-pg-hl-grid { grid-template-columns: 1fr; }

    /* Overview — stack */
    .ind-pg-split    { grid-template-columns: 1fr; }
    .ind-pg-staff    { min-height: 200px; }
    .ind-pg-overview { padding: 20px; }
    .ind-pg-overview p { font-size: 14px; }
}

/* ── SMALL MOBILE ≤ 480px ────────────────────────────────────*/
@media (max-width: 480px) {
    .ind-pg-hero-content { padding: 0 14px; }
    .ind-pg-staff-strip  { padding: 14px 0; }
    .ind-pg-staff-strip-inner { padding: 0 14px; }
    .ind-pg-roles-strip  { grid-template-columns: 1fr 1fr; gap: 7px 12px; }
    .ind-pg-hl-wrap      { padding: 12px 14px; }
    .ind-pg-overview     { padding: 16px; }
    .ind-pg-role         { font-size: 13px; }
}
