/* =========================================================================
   Integrations pages: /integrations/ and /integrations/{workday, bullhorn, icims,
   greenhouse, lever}/. Loaded on those six pages only (inc/integrations.php), after
   upgrade.css. Every class here starts with ig-. The pages also reuse three shared
   site pieces and their brand styles: the hero band (.capabilities-page), the FAQ
   accordion (.faq-section) and the closing banner (.final-cta).

   Brand values only, as in upgrade.css: Indigo #21003b, Aubergine #4f0064, Tangerine
   #ff7d00 (never as text on light grounds), Lavender #d8b3ff, Lilac #ebdeff, Vanilla
   #fff9f1. Display type in GT Alpina (var(--so-display)), never below 30px.
   ========================================================================= */

/* Screen-reader text (the theme drops WordPress's own stylesheet, which defines one) */
.ig-page .ig-sr {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* -------------------------------------------------------------------------
   Hero: text left, art right; one column below 1025px
   ------------------------------------------------------------------------- */
.ig-page .ig-hero {
    display: block;
    text-align: left;
}
.ig-page .ig-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 440px);
    column-gap: clamp(2.5rem, 5vw, 5rem);
    align-items: center;
    max-width: 1180px;
    margin: 0 auto;
}
.ig-page .ig-hero-text { min-width: 0; }

/* The page's one H1, set small above the headline */
.ig-page .ig-hero h1.ig-hero-eyebrow {
    font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.45;
    letter-spacing: 0.005em;
    color: #d8b3ff;
    margin: 0 0 1.1rem;
    max-width: 34rem;
    text-wrap: pretty;
}
.ig-page .ig-hero h1.ig-hero-eyebrow::before {
    content: "";
    display: block;
    width: 28px;
    height: 3px;
    border-radius: 2px;
    background: #ff7d00;
    margin-bottom: 0.9rem;
}
.ig-page .ig-hero-headline {
    font-family: var(--so-display);
    font-weight: 400;
    font-size: clamp(2.4rem, 4.6vw, 4rem);
    line-height: 1.04;
    letter-spacing: -0.015em;
    color: #fff9f1;
    margin: 0 0 1.25rem;
    text-wrap: balance;
}
.ig-page .ig-hero .ig-hero-text .ig-hero-body {
    font-size: 1.125rem;
    line-height: 1.65;
    color: #ebdeff;
    max-width: 36rem;
    margin: 0 0 1.5rem;
}

/* Badges: short pills under the hero copy */
.ig-page .ig-badges {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0 0 2rem;
    padding: 0;
}
.ig-page .ig-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.42rem 0.9rem;
    border-radius: 999px;
    background: #4f0064;
    color: #fff9f1;
    font-size: 0.84rem;
    font-weight: 600;
    line-height: 1.3;
}
.ig-page .ig-badge::before {
    content: "";
    flex: 0 0 6px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ff7d00;
}

/* Buttons: both 2px framed so the pair lines up */
.ig-page .ig-hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}
.ig-page .ig-hero .btn-primary { border: 2px solid #ff7d00; }
.ig-page .ig-hero .btn-primary:hover { border-color: #ff5c00; }
.ig-page .ig-hero .ig-btn-glyph {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
}

.ig-page .ig-hero-art { min-width: 0; }

/* Child pages: the connection panel (which way each capability moves data) */
.ig-page .ig-panel {
    background: #4f0064;
    border-radius: 22px;
    padding: 1.5rem 1.5rem 1.25rem;
    box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.7);
}
.ig-page .ig-panel-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    column-gap: 0.9rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(235, 222, 255, 0.18);
}
.ig-page .ig-panel-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 88px;
    padding: 0 1rem;
    border-radius: 16px;
    background: #fff9f1;
}
.ig-page .ig-panel-logo--so { background: #21003b; }
.ig-page .ig-panel-logo .ig-logo {
    display: block;
    width: 100%;
    height: var(--h);
    object-fit: contain;
}
.ig-page .ig-panel-logo--so .ig-logo { height: 24px; }
.ig-page .ig-panel-sync {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #ff7d00;
    color: #21003b;
}
.ig-page .ig-panel-sync svg { width: 22px; height: 22px; }
.ig-page .ig-panel-rows {
    list-style: none;
    margin: 0;
    padding: 0.35rem 0 0;
}
.ig-page .ig-panel-row {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    column-gap: 0.9rem;
    align-items: center;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(235, 222, 255, 0.12);
}
.ig-page .ig-panel-row:last-child { border-bottom: 0; padding-bottom: 0.25rem; }
.ig-page .ig-panel-dir {
    grid-row: span 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #ebdeff;
    color: #4f0064;
}
.ig-page .ig-panel-dir svg { width: 18px; height: 18px; }
.ig-page .ig-panel-name {
    display: block;
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1.3;
    color: #fff9f1;
}
.ig-page .ig-panel-note {
    display: block;
    font-size: 0.84rem;
    line-height: 1.35;
    color: #d8b3ff;
}

/* Hub: SeekOut among the systems it connects to */
.ig-page .ig-cluster {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    max-width: 440px;
    margin-left: auto;
    padding-top: 22px;
}
.ig-page .ig-cluster-tile {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 92px;
    padding: 0 0.7rem;
    border-radius: 16px;
    background: #fff9f1;
    box-shadow: 0 20px 34px -22px rgba(0, 0, 0, 0.65);
}
.ig-page .ig-cluster-tile:nth-child(3n + 2) { transform: translateY(-22px); }
.ig-page .ig-cluster-tile .ig-logo {
    display: block;
    width: 100%;
    height: calc(var(--h) * 0.92);
    object-fit: contain;
}
.ig-page .ig-cluster-tile--so {
    background: #4f0064;
    outline: 2px solid #ff7d00;
    outline-offset: 5px;
}
.ig-page .ig-cluster-tile--so .ig-logo { height: 22px; }

@media (max-width: 1024px) {
    .ig-page .ig-hero-inner { grid-template-columns: minmax(0, 1fr); }
    .ig-page .ig-hero-art {
        width: 100%;
        max-width: 460px;
        margin-top: 2.75rem;
    }
    .ig-page .ig-cluster { margin-left: 0; }
}
@media (max-width: 600px) {
    .ig-page .ig-hero-headline { font-size: 2.35rem; }
    .ig-page .ig-hero-ctas .btn { width: 100%; }
    .ig-page .ig-panel { padding: 1.15rem 1.15rem 1rem; border-radius: 18px; }
    .ig-page .ig-panel-logo { height: 72px; padding: 0 0.75rem; }
    .ig-page .ig-panel-logo .ig-logo { height: calc(var(--h) * 0.85); }
    .ig-page .ig-panel-logo--so .ig-logo { height: 20px; }
    /* The hub's catalog shows every logo just below, so phones skip the cluster */
    .ig-page .ig-cluster { display: none; }
}

/* -------------------------------------------------------------------------
   Content sections: eyebrow (H2) and display headline on the left, the words
   on the right; one column below 901px
   ------------------------------------------------------------------------- */
.ig-page .ig-section {
    display: block;
    padding: clamp(4rem, 7.5vw, 6.5rem) clamp(1.5rem, 4vw, 4rem);
    background: #fff;
    color: #21003b;
}
.ig-page .ig-tone-alt { background: #fff9f1; }
.ig-page .ig-tone-dark { background: #21003b; color: #ebdeff; }
.ig-page .ig-wrap {
    max-width: 1180px;
    margin: 0 auto;
}
.ig-page .ig-split {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    column-gap: clamp(2.5rem, 6vw, 6rem);
    align-items: start;
}
.ig-page .ig-head { min-width: 0; }
.ig-page h2.ig-eyebrow {
    font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.45;
    letter-spacing: 0.005em;
    color: #4f0064;
    text-align: left;
    margin: 0 0 1rem;
    max-width: 30rem;
    text-wrap: pretty;
}
.ig-page h2.ig-eyebrow::before {
    content: "";
    display: block;
    width: 28px;
    height: 3px;
    border-radius: 2px;
    background: #ff7d00;
    margin-bottom: 0.9rem;
}
.ig-page .ig-tone-dark h2.ig-eyebrow { color: #d8b3ff; }
.ig-page .ig-headline {
    font-family: var(--so-display);
    font-weight: 400;
    font-size: clamp(2rem, 3.2vw, 2.85rem);
    line-height: 1.08;
    letter-spacing: -0.012em;
    color: #21003b;
    margin: 0;
    text-wrap: balance;
}
.ig-page .ig-tone-dark .ig-headline { color: #fff9f1; }
.ig-page .ig-body { min-width: 0; }
.ig-page .ig-body > p {
    font-size: 1.075rem;
    line-height: 1.72;
    color: #525252;
    margin: 0 0 1.25rem;
    max-width: 40rem;
}
.ig-page .ig-body > p:last-child { margin-bottom: 0; }
.ig-page .ig-tone-dark .ig-body > p { color: #ebdeff; }

/* Links inside running text */
.ig-page .ig-body p a,
.ig-page .ig-proof-text a,
.ig-page .faq-answer a {
    color: #4f0064;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: #d8b3ff;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
    transition: text-decoration-color 0.2s ease;
}
.ig-page .ig-body p a:hover,
.ig-page .faq-answer a:hover { text-decoration-color: #4f0064; }
.ig-page .ig-tone-dark .ig-body p a { color: #fff9f1; text-decoration-color: #ff7d00; }
.ig-page .ig-tone-dark .ig-body p a:hover { text-decoration-color: #fff9f1; }

/* Capability and feature lists: icon tile and text, as white cards */
.ig-page .ig-points {
    list-style: none;
    display: grid;
    gap: 0.75rem;
    margin: 1.75rem 0 0;
    padding: 0;
    max-width: 40rem;
}
.ig-page .ig-point {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    column-gap: 1rem;
    align-items: center;
    padding: 0.95rem 1.15rem;
    border: 1px solid #ebdeff;
    border-radius: 14px;
    background: #fff;
}
.ig-page .ig-tone-alt .ig-point { border-color: #f1e5d6; }
.ig-page .ig-tile {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #ebdeff;
    color: #4f0064;
}
.ig-page .ig-tile .bi { width: 22px; height: 22px; }
.ig-page .ig-point p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.55;
    color: #21003b;
}
.ig-page .ig-point strong { font-weight: 700; color: #4f0064; }

/* Numbered setup steps */
.ig-page .ig-steps {
    list-style: none;
    counter-reset: ig-step;
    display: grid;
    gap: 0.65rem;
    margin: 1.75rem 0 0;
    padding: 0;
    max-width: 40rem;
}
.ig-page .ig-steps > li {
    counter-increment: ig-step;
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    column-gap: 1rem;
    align-items: center;
    padding: 0.8rem 1.1rem;
    border: 1px solid #f1e5d6;
    border-radius: 14px;
    background: #fff;
    font-size: 1rem;
    line-height: 1.5;
    color: #21003b;
}
.ig-page .ig-steps > li::before {
    content: counter(ig-step);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #21003b;
    color: #fff9f1;
    font-family: var(--so-display);
    font-size: 1.15rem;
    line-height: 1;
}

/* Setup guide links (Help Center) */
.ig-page .ig-guides {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1.75rem;
}
.ig-page .ig-guides-label {
    width: 100%;
    margin: 0;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #4f0064;
}
.ig-page a.ig-guide {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.05rem;
    border: 2px solid #4f0064;
    border-radius: 10px;
    background: #fff;
    color: #4f0064;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.3;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}
.ig-page a.ig-guide:hover { background: #4f0064; color: #fff9f1; }
.ig-page a.ig-guide svg { width: 16px; height: 16px; flex: 0 0 16px; }

/* Social proof, centered. On the hub the site's customer marquee sits right under it. */
.ig-page .ig-proof { text-align: center; }
.ig-page .ig-proof--logos { padding-bottom: 1.5rem; }
.ig-page .ig-proof h2.ig-eyebrow {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}
.ig-page .ig-proof h2.ig-eyebrow::before { margin-left: auto; margin-right: auto; }
.ig-page .ig-proof .ig-headline {
    max-width: 24ch;
    margin: 0 auto 1rem;
}
.ig-page .ig-proof-text {
    max-width: 44rem;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.7;
    color: #525252;
}
.ig-page .ig-proof + .logo-bar {
    border: 0;
    padding: 1.5rem 0 clamp(3.5rem, 6vw, 5rem);
}
.ig-page .ig-proof + .logo-bar .logo-bar-inner > p { display: none; }

/* -------------------------------------------------------------------------
   Hub catalog: category chips, then a card grid per category
   ------------------------------------------------------------------------- */
.ig-page .ig-catalog-intro { margin-bottom: clamp(2rem, 4vw, 3rem); }
.ig-page .ig-jump {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0 0 clamp(2rem, 4vw, 2.75rem);
}
.ig-page a.ig-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.5rem 0.6rem 0.5rem 1rem;
    border: 1px solid #e6d6f5;
    border-radius: 999px;
    background: #fff;
    color: #21003b;
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.3;
    text-decoration: none;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}
.ig-page a.ig-chip:hover { border-color: #4f0064; background: #ebdeff; }
.ig-page .ig-chip-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.6rem;
    height: 1.6rem;
    padding: 0 0.4rem;
    border-radius: 999px;
    background: #ebdeff;
    color: #4f0064;
    font-size: 0.78rem;
    font-weight: 700;
}
.ig-page a.ig-chip:hover .ig-chip-count { background: #fff; }
.ig-page .ig-group { scroll-margin-top: 110px; }
.ig-page .ig-group + .ig-group { margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.ig-page h3.ig-group-title {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 0 0 1.1rem;
    font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.35;
    color: #21003b;
}
.ig-page h3.ig-group-title::after {
    content: "";
    flex: 1 1 auto;
    height: 1px;
    background: #eadccb;
}
.ig-page .ig-grid {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin: 0;
    padding: 0;
}
.ig-page .ig-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 1.15rem 1.2rem 1.1rem;
    border: 1px solid #efe3d3;
    border-radius: 16px;
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.ig-page .ig-card--page { box-shadow: inset 0 3px 0 #ff7d00; }
.ig-page .ig-card:hover,
.ig-page .ig-card:focus-within {
    border-color: #4f0064;
    box-shadow: 0 18px 40px -24px rgba(33, 0, 59, 0.35);
    transform: translateY(-2px);
}
.ig-page .ig-card--page:hover,
.ig-page .ig-card--page:focus-within {
    box-shadow: inset 0 3px 0 #ff7d00, 0 18px 40px -24px rgba(33, 0, 59, 0.35);
}
.ig-page .ig-card-logo {
    display: flex;
    align-items: center;
    height: 64px;
    margin-bottom: 0.85rem;
}
.ig-page .ig-card-logo .ig-logo {
    display: block;
    width: 100%;
    max-width: 170px;
    height: var(--h);
    object-fit: contain;
    object-position: left center;
}
.ig-page h4.ig-card-name {
    margin: 0 0 0.35rem;
    font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
    font-size: 1.02rem;
    font-weight: 700;
    line-height: 1.35;
    color: #21003b;
}
.ig-page .ig-card-desc {
    flex: 1 1 auto;
    margin: 0 0 1rem;
    font-size: 0.92rem;
    line-height: 1.55;
    color: #525252;
}
.ig-page a.ig-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    font-weight: 700;
    color: #4f0064;
    text-decoration: none;
}
/* The whole card is the link's target */
.ig-page a.ig-card-link::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 16px;
}
.ig-page a.ig-card-link:focus-visible { outline: none; }
.ig-page a.ig-card-link:focus-visible::after { outline: 3px solid #4f0064; outline-offset: 2px; }
.ig-page a.ig-card-link svg {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    transition: transform 0.2s ease;
}
.ig-page .ig-card:hover a.ig-card-link svg { transform: translateX(3px); }

/* -------------------------------------------------------------------------
   FAQ: the shared accordion, set in the split layout on Vanilla
   ------------------------------------------------------------------------- */
.ig-page .faq-section.ig-faq {
    display: block;
    max-width: none;
    margin: 0;
    padding: clamp(4rem, 7.5vw, 6.5rem) clamp(1.5rem, 4vw, 4rem);
    background: #fff9f1;
}
.ig-page .ig-faq .faq-list { min-width: 0; }
.ig-page .ig-faq .faq-item { border-color: #eadccb; }
.ig-page .ig-faq .faq-trigger {
    padding: 1.3rem 0;
    gap: 1.25rem;
    color: #21003b;
}
.ig-page .ig-faq .faq-trigger:hover { color: #4f0064; }
.ig-page h3.ig-faq-q {
    margin: 0;
    font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
    font-size: 1.075rem;
    font-weight: 700;
    line-height: 1.45;
    color: inherit;
}
.ig-page .ig-faq .faq-icon { color: #4f0064; }
.ig-page .ig-faq .faq-answer p {
    padding: 0 2.25rem 1.5rem 0;
    font-size: 1rem;
    line-height: 1.7;
    color: #525252;
}

/* -------------------------------------------------------------------------
   Closing banner: the site's .final-cta, with its headline as display text
   ------------------------------------------------------------------------- */
.ig-page .final-cta.ig-cta { display: block; }
.ig-page .final-cta > p.ig-cta-headline {
    max-width: 18ch;
    margin: 0 auto 1rem;
    font-family: var(--so-display);
    font-weight: 400;
    font-size: clamp(2.2rem, 3.8vw, 3.25rem);
    line-height: 1.08;
    letter-spacing: -0.01em;
    color: #fff9f1;
    text-wrap: balance;
}
.ig-page .final-cta > p.ig-cta-body {
    max-width: 36rem;
    margin: 0 auto 2.25rem;
    font-size: 1.125rem;
    line-height: 1.6;
    color: #ebdeff;
}

/* -------------------------------------------------------------------------
   Smaller screens
   ------------------------------------------------------------------------- */
/* Five-card groups fill one row on wide screens */
@media (min-width: 1101px) {
    .ig-page .ig-grid--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (max-width: 1100px) {
    .ig-page .ig-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
    .ig-page .ig-split { grid-template-columns: minmax(0, 1fr); }
    .ig-page .ig-head { margin-bottom: 1.75rem; }
    .ig-page .ig-proof .ig-head { margin-bottom: 1rem; }
    .ig-page .ig-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
    .ig-page .ig-grid { grid-template-columns: minmax(0, 1fr); gap: 0.75rem; }
    .ig-page .ig-card {
        display: grid;
        grid-template-columns: 92px minmax(0, 1fr);
        column-gap: 1rem;
        align-items: start;
        padding: 1rem 1rem 0.95rem;
    }
    .ig-page .ig-card-logo {
        grid-row: 1 / span 3;
        justify-content: center;
        height: 60px;
        margin: 0;
        border-radius: 12px;
        background: #fff9f1;
    }
    .ig-page .ig-card-logo .ig-logo {
        max-width: 78px;
        height: calc(var(--h) * 0.72);
        object-position: center;
    }
    .ig-page .ig-card-desc { margin-bottom: 0.6rem; }
    .ig-page .ig-point { padding: 0.85rem 0.95rem; column-gap: 0.85rem; }
    .ig-page .ig-faq .faq-answer p { padding-right: 0; }
    /* On phones the site's banner sizes its chevrons to the section, which puts them behind
       the headline; here they keep a fixed size and frame the text from the corners. */
    .ig-page .final-cta.ig-cta {
        padding-top: 8.25rem;
        background-size: auto 112px, auto 112px !important;
        background-position: left top, right bottom !important;
    }
}
@media (prefers-reduced-motion: reduce) {
    .ig-page .ig-card,
    .ig-page a.ig-card-link svg { transition: none; }
    .ig-page .ig-card:hover,
    .ig-page .ig-card:focus-within { transform: none; }
}
