/* Industries page (/industries). Loaded only by industries/index.blade.php.
   The hero is the shared page hero (css/page-hero.css). Card base styles
   (.advantages .adv-item, .item-title, .item-desc) come from app.css; this
   adds the directory cards with their sub-industry links, and the sections
   below. app.css sets h2/h3 font
   sizes with !important site-wide, hence the !important on headings here. */

/* Directory. app.css gives this heading a 22px line height on phones,
   which is too tight once it wraps. */
.advantages-section.ind-list .title {
    line-height: 1.3;
}

.ind-list__intro {
    max-width: 720px;
    margin: 0 auto 24px;
    color: #3C4858;
    font-size: 18px;
    line-height: 28px;
    text-align: center;
}

.advantages .adv-item.ind-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: border-color .2s, box-shadow .2s;
}

.advantages .adv-item.ind-card:hover {
    border-color: #0282DA;
    box-shadow: 0 6px 20px rgba(2, 130, 218, .12);
}

.ind-card__head {
    display: flex;
    flex-direction: column;
    gap: 14px;
    color: inherit;
    text-decoration: none;
}

.ind-card__head:hover .item-title,
.ind-card__head:focus-visible .item-title {
    color: #0282DA;
}

/* The source images are the category pages' hero compositions, with
   different proportions, so each one sits whole inside a fixed frame. */
.ind-card__img {
    aspect-ratio: 4 / 3;
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.advantages .adv-item.ind-card .ind-card__img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.advantages .adv-item.ind-card .item-title {
    font-size: 20px !important;
    line-height: 27px;
    margin-bottom: 0;
    transition: color .2s;
}

.advantages .adv-item.ind-card .item-desc {
    min-height: 0;
    color: #3C4858;
    font-size: 15px;
    line-height: 23px;
}

.ind-card__subs {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.ind-card__subs a {
    display: inline-block;
    padding: 3px 10px;
    border: 1px solid #DEEAFF;
    border-radius: 999px;
    background: #fff;
    color: #3C4858;
    font-size: 13px;
    line-height: 20px;
    text-decoration: none;
    transition: border-color .2s, color .2s;
}

.ind-card__subs a:hover,
.ind-card__subs a:focus-visible {
    border-color: #0282DA;
    color: #0282DA;
}

.ind-card__more,
.ind-link {
    color: #0282DA;
    font-weight: 700;
    text-decoration: none;
}

.ind-card__more {
    margin-top: auto;
    padding-top: 4px;
    font-size: 15px;
}

.ind-card__more:hover,
.ind-card__more:focus-visible,
.ind-link:hover,
.ind-link:focus-visible {
    text-decoration: underline;
}

/* Sections below the directory */
.ind-section {
    padding: 72px 0;
    color: #3C4858;
}

.ind-section--tint {
    background: #F7FAFF;
}

.ind-section__title {
    color: #161C2D;
    font: normal 700 32px/42px Nunito;
    text-align: center;
    margin-bottom: 12px;
}

.ind-section__intro {
    max-width: 720px;
    margin: 0 auto 32px;
    font-size: 18px;
    line-height: 28px;
    text-align: center;
}

.ind-section__more {
    margin: 28px 0 0;
    text-align: center;
    font-size: 16px;
}

.ind-features,
.ind-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.ind-features li,
.ind-steps li {
    background: #fff;
    border: 1px solid #DEEAFF;
    border-radius: 10px;
    padding: 20px 22px;
}

.ind-features p,
.ind-steps p {
    margin: 0;
    font-size: 15px;
    line-height: 23px;
}

.ind-features__title,
.ind-steps__title,
.ind-faq__q {
    color: #161C2D;
    font: normal 700 18px/25px Nunito;
    font-size: 18px !important;
    margin-bottom: 6px;
}

.ind-features__title a {
    color: inherit;
    text-decoration: none;
}

.ind-features__title a:hover,
.ind-features__title a:focus-visible {
    color: #0282DA;
    text-decoration: underline;
}

.ind-steps {
    margin-top: 28px;
}

.ind-steps__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    margin-bottom: 12px;
    border-radius: 50%;
    background: linear-gradient(6.73deg, #0282DA 28.52%, #45CAFF 163.03%);
    color: #fff;
    font-weight: 700;
}

.ind-faq {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 48px;
    max-width: 1000px;
    margin: 32px auto 0;
}

.ind-faq__a {
    margin: 0;
    font-size: 16px;
    line-height: 25px;
}

.ind-cta {
    text-align: center;
}

.ind-btn {
    display: inline-flex;
    align-items: center;
    height: 48px;
    padding: 0 28px;
    border-radius: 4px;
    background: #0282DA;
    color: #fff;
    font: normal 700 18px/25px Nunito;
    text-decoration: none;
    transition: background .2s;
}

.ind-btn:hover,
.ind-btn:focus-visible {
    background: #026BB4;
    color: #fff;
}

.ind-cta__contact {
    margin: 18px 0 0;
    font-size: 16px;
}

.ind-cta__contact a {
    color: #3C4858;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

@media (max-width: 991.98px) {
    .ind-features,
    .ind-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .ind-list__intro,
    .ind-section__title,
    .ind-section__intro {
        text-align: left;
    }

    .ind-list__intro,
    .ind-section__intro {
        font-size: 16px;
        line-height: 24px;
    }

    .ind-section {
        padding: 48px 0;
    }

    .ind-features,
    .ind-steps,
    .ind-faq {
        grid-template-columns: 1fr;
    }

    .ind-faq {
        gap: 22px;
    }
}
