/* Industry pages: pains, one job start to finish, videos, resources, FAQ
=========================================== */
.industries__inner-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
}

.industries__inner-link {
    color: #fff;
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.isection {
    padding: 80px 0;
}

#job {
    scroll-margin-top: 80px;
}

.isection--tint {
    background: #f5f9fd;
}

.isection__title {
    max-width: 760px;
    margin: 0 auto 48px;
    text-align: center;
}

.isection__title p {
    margin-top: 12px;
    color: #5a6b78;
}

/* Pains */
.ipains {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.ipain {
    padding: 28px;
    background: #fff;
    border: 1px solid #e1edf7;
    border-radius: 16px;
}

.ipain h3 {
    margin-bottom: 12px;
    color: #0a263b;
    font-size: 20px;
    line-height: 28px;
    font-weight: 600;
}

.ipain p {
    color: #5a6b78;
    font-size: 15px;
    line-height: 22px;
}

/* One job, start to finish */
.ijob {
    display: flex;
    flex-direction: column;
    gap: 64px;
}

.ijobStep {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 48px;
}

.ijobStep:nth-child(even) .ijobStep__media {
    order: 2;
}

.ijobStep__media {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    padding: 24px;
    background: #f5f9fd;
    border-radius: 16px;
}

.ijobStep__media img {
    display: block;
    width: 100%;
    max-width: 480px;
    height: auto;
}

.ijobStep__media video {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.ijobStep__week {
    display: block;
    margin-bottom: 8px;
    color: #1a7fb9;
    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
}

.ijobStep__content h3 {
    margin-bottom: 12px;
    color: #0a263b;
    font-size: 24px;
    line-height: 32px;
    font-weight: 600;
}

.ijobStep__content p {
    color: #5a6b78;
    font-size: 15px;
    line-height: 22px;
}

.ijobStep__content ul {
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
}

.ijobStep__content li {
    position: relative;
    margin-top: 8px;
    padding-left: 20px;
    color: #0a263b;
    font-size: 15px;
    line-height: 22px;
}

.ijobStep__content li::before {
    content: "";
    position: absolute;
    top: 8px;
    left: 0;
    width: 8px;
    height: 8px;
    background: #1a7fb9;
    border-radius: 50%;
}

/* Example programme */
.ijobGantt {
    width: 100%;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(10, 38, 59, 0.08);
}

.ijobGantt__title {
    margin-bottom: 16px;
    color: #0a263b;
    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
}

.ijobGantt__row {
    display: grid;
    grid-template-columns: 96px 1fr;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    color: #0a263b;
    font-size: 12px;
    line-height: 16px;
}

.ijobGantt__row--head {
    margin-top: 0;
    color: #5a6b78;
}

.ijobGantt__track {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    column-gap: 2px;
    min-height: 16px;
    background: #f1f5f8;
    border-radius: 4px;
}

.ijobGantt__row--head .ijobGantt__track {
    background: none;
    text-align: center;
}

.ijobGantt__bar {
    min-height: 16px;
    background: #1a7fb9;
    border-radius: 4px;
}

.ijobGantt__bar--w1 { grid-column: 1; }
.ijobGantt__bar--w2 { grid-column: 2; }
.ijobGantt__bar--w3 { grid-column: 3; }
.ijobGantt__bar--w4 { grid-column: 4; }
.ijobGantt__bar--w5 { grid-column: 5; }
.ijobGantt__bar--w6 { grid-column: 6; }
.ijobGantt__bar--w1to2 { grid-column: 1 / span 2; }
.ijobGantt__bar--w2to3 { grid-column: 2 / span 2; }
.ijobGantt__bar--w3to4 { grid-column: 3 / span 2; }
.ijobGantt__bar--w5to6 { grid-column: 5 / span 2; }

/* Videos */
.ivideos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.ivideo video {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
    background: #0a263b;
}

.ivideo h3 {
    margin-top: 16px;
    color: #0a263b;
    font-size: 20px;
    line-height: 28px;
    font-weight: 600;
}

.ivideo p {
    margin-top: 4px;
    color: #5a6b78;
    font-size: 15px;
    line-height: 22px;
}

/* Resources */
.iresources {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.iresource {
    display: block;
    padding: 20px 24px;
    background: #fff;
    border: 1px solid #e1edf7;
    border-radius: 12px;
    transition: border-color 0.2s ease-in-out;
}

.iresource:hover {
    border-color: #1a7fb9;
}

.iresource strong {
    display: block;
    margin-bottom: 4px;
    color: #0a263b;
    font-size: 16px;
    line-height: 24px;
    font-weight: 600;
}

.iresource span {
    color: #5a6b78;
    font-size: 15px;
    line-height: 22px;
}

/* FAQ */
.ifaq {
    max-width: 760px;
    margin: 0 auto;
}

.ifaq details {
    border-bottom: 1px solid #e1edf7;
}

.ifaq summary {
    padding: 20px 0;
    color: #0a263b;
    font-size: 16px;
    line-height: 24px;
    font-weight: 600;
    cursor: pointer;
}

.ifaq details p {
    padding-bottom: 20px;
    color: #5a6b78;
    font-size: 15px;
    line-height: 22px;
}

@media (max-width: 930px) {
    .isection {
        padding: 56px 0;
    }

    .ipains,
    .ivideos,
    .iresources {
        grid-template-columns: 1fr;
    }

    .ijob {
        gap: 48px;
    }

    .ijobStep {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .ijobStep:nth-child(even) .ijobStep__media {
        order: 0;
    }
}

@media (max-width: 540px) {
    .ijobStep__media {
        padding: 12px;
    }

    .ijobGantt {
        padding: 12px;
    }

    .ijobGantt__row {
        grid-template-columns: 72px 1fr;
    }
}
