/* isoCert certificate image - replaces former ISO PDF button.
   Also tightens the vertical spacing across the certificates and
   labour manual section so the page reads as one cohesive block. */

/* --- isoCert heading + image row --- */

.et_pb_row_isocert {
    text-align: center;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 0;
    margin-bottom: 0;
}

.et_pb_row_isocert .et_pb_module.et_pb_text_isocert {
    margin-bottom: 8px;
}

.et_pb_row_isocert .et_pb_text_isocert .et_pb_text_inner h1 {
    text-align: center;
    margin: 0;
    padding: 0;
    color: #000 !important;
}

.et_pb_row_isocert .et_pb_module.et_pb_image_isocert {
    margin-bottom: 0;
}

.isocert-figure {
    margin: 0 auto;
    padding: 0;
    max-width: 540px;
    text-align: center;
}

.isocert-img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    border: 1px solid #e6e6e6;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* --- Tighten the certificates + labour manual section spacing ---
   Section_4 wraps everything from the CERTIFICATES heading down to
   PAIA LABOUR MANUAL. Divi defaults give big top/bottom padding on
   every row and section; we shrink them inside this section only. */

.et_pb_section_4 {
    padding-top: 12px !important;
    padding-bottom: 12px !important;
}

.et_pb_section_4 .et_pb_row {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    margin-top: 0;
    margin-bottom: 0;
}

.et_pb_section_4 .et_pb_text_inner h1,
.et_pb_section_4 .et_pb_text_inner h2 {
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 6px;
    padding-bottom: 6px;
}

@media (max-width: 980px) {
    .isocert-figure {
        max-width: 480px;
        padding: 0 16px;
    }
    .et_pb_section_4 .et_pb_row {
        padding-top: 8px !important;
        padding-bottom: 8px !important;
    }
}

@media (max-width: 480px) {
    .isocert-figure {
        max-width: 100%;
        padding: 0 12px;
    }
    .et_pb_section_4 {
        padding-top: 8px !important;
        padding-bottom: 8px !important;
    }
    .et_pb_section_4 .et_pb_row {
        padding-top: 6px !important;
        padding-bottom: 6px !important;
    }
}
