/* ===========================================================
   Julia Energy - styles for the newer content pages
   (governance.php / equipments.php)
   Kept in a separate file so style.css stays untouched.
   =========================================================== */

.jp-wrap {
    padding: 10% 10% 3% 10%;
    background-color: #f4f4f4;
    margin-top: 100vh;
    position: relative;
}

.jp-rtl {
    direction: rtl;
}

.jp-ltr {
    direction: ltr;
}

/* ---------- section headings ---------- */

.jp-eyebrow {
    margin-top: 0px;
    margin-bottom: 0px;
    font-weight: bold;
    font-size: 30px;
    color: #909090;
}

.jp-title {
    font-size: 52px;
    font-weight: bolder;
    margin-bottom: 35px;
    color: #143687;
}

.jp-rtl .jp-eyebrow,
.jp-rtl .jp-title {
    text-align: right;
}

.jp-ltr .jp-eyebrow,
.jp-ltr .jp-title {
    text-align: left;
}

.jp-subtitle {
    font-size: 34px;
    font-weight: bolder;
    margin-top: 70px;
    margin-bottom: 30px;
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    background-image: linear-gradient(188deg, #b33131, #143687);
}

.jp-rtl .jp-subtitle {
    text-align: right;
}

.jp-ltr .jp-subtitle {
    text-align: left;
}

/* ---------- generic card ---------- */

.jp-card {
    background-color: #fff;
    margin: 5px 5px 14px 5px;
    border-radius: 26px;
    box-shadow: rgba(140, 140, 140, 0.29) 0px 0px 9px 3px;
    padding: 45px;
    transition: 0.4s;
    height: 100%;
}

.jp-card:hover {
    box-shadow: rgba(140, 140, 140, 0.29) 0px 0px 15px 11px;
}

.jp-card h3 {
    font-size: 26px;
    font-weight: bolder;
    color: #08103e;
    margin-bottom: 18px;
}

.jp-card h4 {
    font-size: 17px;
    font-weight: bolder;
    color: #d31a38;
    margin-bottom: 18px;
}

.jp-card p {
    font-size: 16px;
    font-weight: 300;
    color: #565656;
    line-height: 2;
    margin-bottom: 0px;
}

.jp-rtl .jp-card {
    text-align: right;
}

.jp-ltr .jp-card {
    text-align: left;
}

/* ---------- intro block (text + picture) ---------- */

.jp-intro {
    background-color: #fff;
    border-radius: 26px;
    box-shadow: rgba(140, 140, 140, 0.29) 0px 0px 9px 3px;
    overflow: hidden;
    margin-bottom: 20px;
}

.jp-intro .jp-intro-text {
    padding: 55px;
}

.jp-intro .jp-intro-text p {
    font-size: 17px;
    font-weight: 300;
    color: #505050;
    line-height: 2.1;
}

.jp-intro .jp-intro-text p.jp-en {
    font-size: 15px;
    color: #8a8a8a;
    direction: ltr;
    text-align: left;
    margin-top: 22px;
}

/* the picture fills its column without dictating the row height */
.jp-intro .jp-intro-media {
    position: relative;
    min-height: 340px;
    padding: 0px;
}

.jp-intro .jp-intro-media img {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ---------- standards / ISO list ---------- */

.jp-std {
    display: flex;
    align-items: center;
    background-color: #fff;
    border-radius: 20px;
    box-shadow: rgba(140, 140, 140, 0.22) 0px 0px 8px 2px;
    padding: 22px 26px;
    margin-bottom: 14px;
    transition: 0.4s;
    height: 100%;
}

.jp-std:hover {
    box-shadow: rgba(140, 140, 140, 0.29) 0px 0px 14px 8px;
}

.jp-std .jp-std-tag {
    flex: 0 0 108px;
    text-align: center;
    font-weight: bolder;
    font-size: 22px;
    line-height: 1.1;
    color: #d31a38;
}

.jp-std .jp-std-tag small {
    display: block;
    font-size: 13px;
    color: #8a8a8a;
    font-weight: bolder;
    letter-spacing: 1px;
}

.jp-std .jp-std-body {
    flex: 1 1 auto;
    padding: 0px 18px;
}

.jp-std .jp-std-body h5 {
    font-size: 17px;
    font-weight: bolder;
    color: #08103e;
    margin-bottom: 4px;
}

.jp-std .jp-std-body span {
    font-size: 14px;
    color: #8a8a8a;
    display: block;
}

.jp-rtl .jp-std {
    text-align: right;
}

.jp-ltr .jp-std {
    text-align: left;
}

.jp-rtl .jp-std .jp-std-body span {
    direction: ltr;
    text-align: right;
}

/* ---------- numbered steps ---------- */

.jp-step {
    display: flex;
    align-items: flex-start;
    background-color: #fff;
    border-radius: 20px;
    box-shadow: rgba(140, 140, 140, 0.22) 0px 0px 8px 2px;
    padding: 26px 30px;
    margin-bottom: 14px;
    transition: 0.4s;
    height: 100%;
}

.jp-step:hover {
    box-shadow: rgba(140, 140, 140, 0.29) 0px 0px 14px 8px;
}

.jp-step .jp-step-no {
    flex: 0 0 74px;
    font-size: 40px;
    font-weight: bolder;
    line-height: 1;
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    background-image: linear-gradient(188deg, #b33131, #143687);
}

.jp-step .jp-step-body {
    flex: 1 1 auto;
}

.jp-step .jp-step-body h5 {
    font-size: 18px;
    font-weight: bolder;
    color: #08103e;
    margin-bottom: 6px;
}

.jp-step .jp-step-body span {
    font-size: 14px;
    color: #8a8a8a;
    display: block;
}

.jp-rtl .jp-step {
    text-align: right;
}

.jp-ltr .jp-step {
    text-align: left;
}

.jp-rtl .jp-step .jp-step-body span {
    direction: ltr;
    text-align: right;
}

/* ---------- value chips ---------- */

.jp-values {
    background-color: #08103e;
    border-radius: 26px;
    padding: 45px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.jp-values h3 {
    color: #fff;
    font-size: 30px;
    font-weight: bolder;
    margin-bottom: 30px;
    text-align: center;
}

.jp-chip {
    background-color: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 16px;
    padding: 20px 18px;
    margin-bottom: 14px;
    text-align: center;
    transition: 0.4s;
    height: 100%;
}

.jp-chip:hover {
    background-color: rgba(211, 26, 56, 0.18);
    border-color: rgba(211, 26, 56, 0.55);
}

.jp-chip h5 {
    color: #fff;
    font-size: 16px;
    font-weight: bolder;
    margin-bottom: 6px;
}

.jp-chip span {
    color: #b9bfd4;
    font-size: 13px;
    display: block;
    direction: ltr;
}

/* ---------- equipment blocks ---------- */

.jp-eq {
    background-color: #fff;
    border-radius: 26px;
    box-shadow: rgba(140, 140, 140, 0.29) 0px 0px 9px 3px;
    overflow: hidden;
    margin-bottom: 28px;
    transition: 0.4s;
}

.jp-eq:hover {
    box-shadow: rgba(140, 140, 140, 0.29) 0px 0px 15px 11px;
}

.jp-eq .jp-eq-media {
    position: relative;
    min-height: 340px;
    padding: 0px;
}

.jp-eq .jp-eq-media img {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.jp-eq .jp-eq-text {
    padding: 50px;
}

.jp-eq .jp-eq-text h3 {
    font-size: 30px;
    font-weight: bolder;
    color: #08103e;
    margin-bottom: 4px;
}

.jp-eq .jp-eq-text h4 {
    font-size: 17px;
    font-weight: bolder;
    color: #d31a38;
    margin-bottom: 22px;
    direction: ltr;
}

.jp-eq .jp-eq-text p {
    font-size: 16px;
    font-weight: 300;
    color: #565656;
    line-height: 2;
}

.jp-eq .jp-eq-text p.jp-en {
    font-size: 14px;
    color: #8a8a8a;
    direction: ltr;
    text-align: left;
    margin-top: 18px;
    margin-bottom: 0px;
}

.jp-rtl .jp-eq .jp-eq-text {
    text-align: right;
}

.jp-ltr .jp-eq .jp-eq-text {
    text-align: left;
}

.jp-rtl .jp-eq .jp-eq-text h4 {
    text-align: right;
}

/* ---------- tag pills (sub items) ---------- */

.jp-pills {
    list-style: none;
    padding: 0px;
    margin: 22px 0px 0px 0px;
    display: flex;
    flex-wrap: wrap;
}

.jp-pills li {
    background-color: #f4f4f4;
    border: 1px solid #e2e2e2;
    border-radius: 40px;
    padding: 9px 20px;
    margin: 0px 5px 10px 5px;
    font-size: 14px;
    font-weight: bolder;
    color: #143687;
}

.jp-pills li small {
    display: block;
    font-weight: normal;
    color: #9a9a9a;
    font-size: 12px;
    direction: ltr;
}

/* ---------- responsive ---------- */

@media (max-width: 767px) {
    .jp-wrap {
        padding: 6% 5% 3% 5%;
    }
    .jp-title {
        font-size: 34px;
    }
    .jp-eyebrow {
        font-size: 22px;
    }
    .jp-subtitle {
        font-size: 25px;
    }
    .jp-eq .jp-eq-text,
    .jp-intro .jp-intro-text {
        padding: 30px;
    }
    .jp-card {
        padding: 30px;
    }
    .jp-eq .jp-eq-media,
    .jp-intro .jp-intro-media {
        height: 260px;
        min-height: 260px;
    }
    .jp-step .jp-step-no {
        flex: 0 0 54px;
        font-size: 30px;
    }
    .jp-std .jp-std-tag {
        flex: 0 0 84px;
        font-size: 18px;
    }
}
