/* Block: sp26-industries
 * Extracted from css/solutions-2026.css
 * Variables and the legacy section-padding neutralizer are scoped to the
 * block root (.sp26-industries) so the block is self-contained and
 * configurable. The `.dark_section_v2` modifier (added via the block's
 * className) is scoped to this block so it cannot leak elsewhere.
 */

@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700&family=Poppins:wght@500&display=swap");

.sp26-industries {
    --sp26-black: #000000;
    --sp26-dark: #121212;
    --sp26-dark-card: #212121;
    --sp26-dark-border: #2b2b2b;
    --sp26-dark-bg: #0e0e0e;
    --sp26-light-border: #e5e5e5;
    --sp26-text-muted: #6b6b6b;
    --sp26-text-body: #404040;
    --sp26-green: #1ea482;
    --sp26-green-bold: #0b9b8a;
    --sp26-green-deep: #098374;
    --sp26-green-text: #046257;
    --sp26-white: #ffffff;

    --sp26-page-max: 1440px;
    --sp26-rail: 1152px;
    --sp26-rail-pad: 34px;
    --sp26-grid: 1080px;

    --sp26-font-heading:
        "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        sans-serif;
    --sp26-font-body: "Inter", sans-serif;
    --sp26-font-button: "Poppins", "Inter", sans-serif;

    --sp26-section-pad: 0;

    color: var(--sp26-black);
    font-family: var(--sp26-font-body);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

    border-top: 1px solid var(--sp26-light-border);
}

.sp26-industries:not(.container) {
    padding: var(--sp26-section-pad, 0) !important;
}

section.sp26-industries > div {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 72px;
    padding-bottom: 72px;
    border-left: 1px solid var(--sp26-light-border);
    border-right: 1px solid var(--sp26-light-border);
}

.sp26-industries__header {
    text-align: center;
}

.sp26-industries__title {
    color: var(--sp26-black);
    font-family: var(--sp26-font-heading);
    font-size: 35px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.35px;
}

.sp26-industries__subtitle {
    margin: 11px 0;
}

.sp26-industries__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    padding: 40px 34px 0;
    list-style: none;
}

.sp26-industries__grid div img {
    width: 100%;
    display: block;
}

.sp26-industry-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 275px; /** VERY IMPORTANT - DO NOT CHANGE THIS VALUE **/
    margin-top: 10px;
    border: 1px solid var(--sp26-light-border);
    box-shadow: 2px 2px 4px 0px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    background: var(--sp26-white);
    overflow: hidden;
}

.sp26-industry-card__body {
    padding: 24px;
}

.sp26-industry-card__media + .sp26-industry-card__body {
    padding-bottom: 0;
}

.sp26-industry-card__title {
    display: inline-block;
    margin: 0;
    color: #000;
    font-family: var(--sp26-font-heading);
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: var(--text-base-line-height, 24px); /* 120% */
}

.sp26-industry-card__title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 6px;
    text-align-last: justify;
}

.sp26-industry-card__description {
    color: var(--sp26-text-body);
    font-family: var(--sp26-font-body);
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px; /* 142.857% */
}

.sp26-industry-card.sp26-industry-card a {
    color: var(--sp26-white);
    text-align: center;
    font-family: var(--sp26-font-button);
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.sp26-industry-card__badge {
    padding: 4px 6px;
    border: var(--border-width-border, 1px) solid
        var(--tailwind-colors-base-transparent, rgba(255, 255, 255, 0));
    border-radius: 4px;
    background: #098374;
    color: var(--base-primary-foreground, #fafafa);
    font-family: var(--sp26-font-body);
    font-size: 11px;
    font-style: normal;
    font-weight: 500;
    line-height: var(--text-xs-line-height, 16px); /* 145.455% */
}

/* ============================================
   Shared button primitive (this block's CTA uses the pill variant)
   ============================================ */

.sp26-industries .sp26-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 55px;
    font-family: var(--sp26-font-button);
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    border: 1px solid transparent;
}

.sp26-industries .sp26-btn--pill {
    height: 35px;
    padding: 9px 28px;
    background: var(--sp26-black);
    border-color: #535353;
    color: var(--sp26-white);
    font-size: 13px;
    line-height: 16px;
    align-self: flex-start;
}

/* Unified button states (scoped to this block's button) */
.sp26-industries .sp26-btn {
    transition:
        transform 0.2s cubic-bezier(0.2, 0.7, 0.3, 1),
        box-shadow 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease;
}

.sp26-industries .sp26-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

.sp26-industries .sp26-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.16);
}

.sp26-industries .sp26-btn:focus-visible {
    outline: 2px solid var(--sp26-green-bold);
    outline-offset: 3px;
}

.sp26-industries .sp26-btn--pill:hover {
    background: var(--sp26-black);
    border-color: #535353;
    color: var(--sp26-white);
    transform: none;
    box-shadow: none;
    animation: nylas-btn-bounce 0.45s ease;
}

@keyframes nylas-btn-bounce {
    0% {
        transform: translateY(0);
    }
    30% {
        transform: translateY(-4px);
    }
    55% {
        transform: translateY(0);
    }
    75% {
        transform: translateY(-2px);
    }
    100% {
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .sp26-industries .sp26-btn {
        transition:
            background-color 0.2s ease,
            border-color 0.2s ease,
            color 0.2s ease;
    }

    .sp26-industries .sp26-btn:hover,
    .sp26-industries .sp26-btn:active {
        transform: none;
        animation: none;
    }
}

/* ============================================
   Dark variant (modifier added via the block's className)
   ============================================ */

.sp26-industries.dark_section_v2 {
    background: black;
    color: var(--sp26-white);
}

.sp26-industries.dark_section_v2 > div {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 60px;
    padding-bottom: 142px;
    border-left: 1px solid var(--sp26-dark-border);
    border-right: 1px solid var(--sp26-dark-border);
}

@media (min-width: 900px) {
    .sp26-industries:not(.container) {
        padding-left: 30px !important;
        padding-right: 30px !important;
    }
}

@media (max-width: 1400px) {
    .sp26-industries__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 930px) {
    section.sp26-industries > div,
    .sp26-industries.dark_section_v2 > div {
        padding-top: 56px;
        padding-bottom: 64px;
    }

    .sp26-industries__title {
        font-size: 32px;
    }

    .sp26-industries__grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 34px 24px 0;
    }
}

@media (max-width: 760px) {
    section.sp26-industries > div,
    .sp26-industries.dark_section_v2 > div {
        padding-top: 44px;
        padding-bottom: 52px;
    }

    .sp26-industries__title {
        font-size: 28px;
        line-height: 1.2;
    }

    .sp26-industries__subtitle {
        padding-inline: 20px;
        font-size: 15px;
        line-height: 1.45;
    }

    .sp26-industries__grid {
        grid-template-columns: 1fr;
        padding: 30px 20px 0;
    }

    .sp26-industry-card__body {
        padding: 20px;
    }

    .sp26-industry-card__media + .sp26-industry-card__body {
        padding-bottom: 0;
    }

    .sp26-industry-card__title {
        font-size: 18px;
        line-height: 1.35;
    }

    .sp26-industry-card a {
        font-size: 14px;
    }
}
