section[data-cattype="904"] {
    --safety-904-blue: #06346E;
    --safety-904-light-blue: #5d97c4;
    --safety-904-orange: #FA9028;
    --safety-904-white: #ffffff;
    font-family: 'Open Sans', Arial, sans-serif;
    background: #f5f6f8;
    overflow: hidden;
}

section[data-cattype="904"] .safety-904-wrap {
    position: relative;
    padding: 56px 0 68px;
    overflow: hidden;
}

section[data-cattype="904"] .safety-904-bg {
    position: absolute;
    inset: 0;
    background-image: url('image.php?t=Outer Background&w=1600&h=560&ct=ffffff&cb=06346E');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    z-index: 1;
}

section[data-cattype="904"] .safety-904-bg-layer {
    position: absolute;
    inset: 0;
    background: #F5F6F8;
    z-index: 2;
}

section[data-cattype="904"] .safety-904-container {
    position: relative;
    z-index: 3;
    max-width: 1560px;
    padding: 0 25px 0 25px;
}

section[data-cattype="904"] .safety-904-panel {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(560px, 690px);
    gap: 70px;
    align-items: center;
    min-height: 520px;
    padding: 64px 88px;
    border-radius: 22px;
    background: var(--safety-904-blue);
    overflow: hidden;
}

section[data-cattype="904"] .safety-904-panel-bg {
    position: absolute;
    inset: 0;
    background-image: url('image.php?t=Content Background&w=1560&h=620&ct=ffffff&cb=06346E');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    z-index: 1;
}

section[data-cattype="904"] .safety-904-panel-layer {
    position: absolute;
    inset: 0;
    background: 0;
    z-index: 2;
}

section[data-cattype="904"] .safety-904-copy {
    position: relative;
    z-index: 3;
    max-width: 610px;
    color: var(--safety-904-white);
    text-align: left;
}

section[data-cattype="904"] .safety-904-copy h2 {
    margin: 0 0 28px;
    font-size: 50px;
    line-height: 1.15;
    font-weight: 700;
    color: var(--safety-904-white);
}

section[data-cattype="904"] .safety-904-intro,
section[data-cattype="904"] .safety-904-intro p,
section[data-cattype="904"] .safety-904-intro div {
    margin: 0;
    font-size: 16px;
    line-height: 1.55;
    font-weight: 400;
    color: var(--safety-904-white);
}

section[data-cattype="904"] .safety-904-boxes {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

section[data-cattype="904"] .safety-904-box {
    position: relative;
    min-height: 182px;
    border-radius: 14px;
    overflow: hidden;
    background: var(--safety-904-light-blue);
}

section[data-cattype="904"] .safety-904-box img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    z-index: 1;
}

section[data-cattype="904"] .safety-904-box-layer {
    position: absolute;
    inset: 0;
    background: rgba(93, 151, 196, .50);
    z-index: 2;
}

section[data-cattype="904"] .safety-colour-orange .safety-904-box-layer {
    background: rgba(250, 144, 40, .60);
}

section[data-cattype="904"] .safety-904-box-title {
    position: absolute;
    left: 24px;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    text-align: center;
    font-size: 26px;
    line-height: 1.18;
    font-weight: 700;
    color: var(--safety-904-white);
}

@media (max-width: 1199px) {
    section[data-cattype="904"] .safety-904-panel {
        grid-template-columns: 1fr;
        gap: 42px;
        padding: 54px;
    }

    section[data-cattype="904"] .safety-904-copy {
        max-width: none;
    }
}

@media (max-width: 767px) {
    section[data-cattype="904"] .safety-904-wrap {
        padding: 36px 0 48px;
    }

    section[data-cattype="904"] .safety-904-panel {
        min-height: 0;
        padding: 40px 24px;
        border-radius: 16px;
    }

    section[data-cattype="904"] .safety-904-copy h2 {
        font-size: 34px;
    }

    section[data-cattype="904"] .safety-904-boxes {
        grid-template-columns: 1fr;
    }

    section[data-cattype="904"] .safety-904-box {
        min-height: 155px;
    }

    section[data-cattype="904"] .safety-904-box-title {
        font-size: 22px;
    }
}
