/* =========================================================
   CHEMICOAT R&D SECTION
========================================================= */

.chemicoat-ink-rd-section {
    width: 100%;
    position: relative;
    padding: 90px 0;
    overflow: hidden;
}

.chemicoat-ink-rd-container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 30px;

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 75px;
    align-items: center;
}


/* =========================================================
   LEFT CONTENT
========================================================= */

.chemicoat-ink-rd-left {
    width: 100%;
    position: relative;
    z-index: 2;
}

.chemicoat-ink-rd-eyebrow {
    position: relative;

    display: inline-flex;
    align-items: center;
    gap: 12px;

    margin-bottom: 15px;

    color: #d90000;
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;

    letter-spacing: 2.5px;
    text-transform: uppercase;
}

.chemicoat-ink-rd-eyebrow::before {
    content: "";

    width: 32px;
    height: 2px;

    background: #d90000;
}


/* =========================================================
   MAIN HEADING
========================================================= */

.chemicoat-ink-rd-title {
    margin: 0;

    color: #191919;

    font-size: 40px;
    line-height: 1.08;

    font-weight: 700;

    letter-spacing: -1.2px;
}

.chemicoat-ink-rd-title span {
    display: block;

    margin-top: 5px;

    color: #d90000;

    font-size: 40px;
    line-height: 1.15;

    font-weight: 600;
}


/* Heading line */

.chemicoat-ink-rd-title-line {
    position: relative;

    width: 70px;
    height: 3px;

    margin: 23px 0 28px;

    background: #d90000;
}

.chemicoat-ink-rd-title-line::after {
    content: "";

    position: absolute;

    left: 82px;
    top: 0;

    width: 28px;
    height: 3px;

    background: #222;
}


/* =========================================================
   PARAGRAPHS
========================================================= */

.chemicoat-ink-rd-text {
    max-width: 650px;
}

.chemicoat-ink-rd-text p {
    margin: 0 0 17px;

    color: #666;

    font-size: 15px;
    line-height: 1.75;

    font-weight: 400;
}

.chemicoat-ink-rd-text p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   HIGHLIGHT BOX
========================================================= */

.chemicoat-ink-rd-highlight {
    display: flex;
    align-items: center;

    gap: 16px;

    max-width: 620px;

    margin-top: 28px;
    padding: 15px 18px;

    background: rgba(255, 255, 255, 0.75);

    border-left: 3px solid #d90000;

    box-shadow:
        0 12px 35px rgba(0, 0, 0, 0.07);

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}

.chemicoat-ink-rd-highlight:hover {
    transform: translateY(-3px);

    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.11);
}


/* Highlight icon */

.chemicoat-ink-rd-highlight-icon {
    width: 45px;
    height: 45px;

    min-width: 45px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #fff;

    background: #d90000;

    font-size: 18px;
}


/* Highlight text */

.chemicoat-ink-rd-highlight strong {
    display: block;

    margin-bottom: 4px;

    color: #222;

    font-size: 15px;
    font-weight: 700;

    letter-spacing: 0.7px;
}

.chemicoat-ink-rd-highlight span {
    display: block;

    color: #777;

    font-size: 14px;
    line-height: 1.5;
}


/* =========================================================
   RIGHT IMAGE
========================================================= */

.chemicoat-ink-rd-right {
    width: 100%;

    display: flex;
    justify-content: center;

    position: relative;
}

.chemicoat-ink-rd-image {
    width: 100%;
    max-width: 520px;

    height: 540px;

    position: relative;

    overflow: hidden;

    background: #111;

    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.16);
}


/* Image */

.chemicoat-ink-rd-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.chemicoat-ink-rd-image:hover img {
    transform: scale(1.045);
}


/* =========================================================
   IMAGE OVERLAY
========================================================= */

.chemicoat-ink-rd-image-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.03) 25%,
            rgba(5, 10, 15, 0.15) 45%,
            rgba(5, 10, 15, 0.88) 100%
        );

    z-index: 1;
}


/* =========================================================
   IMAGE CONTENT
========================================================= */

.chemicoat-ink-rd-image-content {
    position: absolute;

    left: 32px;
    right: 30px;
    bottom: 32px;

    z-index: 3;

    color: #fff;
}

.chemicoat-ink-rd-image-content > span {
    display: block;

    margin-bottom: 10px;

    color: #e00000;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 2px;
}

.chemicoat-ink-rd-image-content h3 {
    margin: 0 0 12px;

    color: #fff;

    font-size: 31px;
    line-height: 1.05;

    font-weight: 700;
}

.chemicoat-ink-rd-image-content p {
    max-width: 320px;

    margin: 0;

    color: rgba(255, 255, 255, 0.86);

    font-size: 13px;
    line-height: 1.6;
}


/* =========================================================
   IMAGE TAG
========================================================= */

.chemicoat-ink-rd-image-tag {
    position: absolute;

    top: 22px;
    right: 22px;

    z-index: 3;

    width: 56px;
    height: 56px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255, 255, 255, 0.5);

    color: #fff;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 1px;

    backdrop-filter: blur(5px);
}


/* =========================================================
   RED BOTTOM ACCENT
========================================================= */

.chemicoat-ink-rd-image::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 0;

    width: 42%;
    height: 5px;

    background: #d90000;

    z-index: 4;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991px) {

    .chemicoat-ink-rd-section {
        padding: 70px 0;
    }

    .chemicoat-ink-rd-container {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
        padding: 0 25px;
    }

    .chemicoat-ink-rd-title {
        font-size: 37px;
    }

    .chemicoat-ink-rd-title span {
        font-size: 31px;
    }

    .chemicoat-ink-rd-text p {
        font-size: 14px;
        line-height: 1.7;
    }

    .chemicoat-ink-rd-image {
        height: 480px;
    }

    .chemicoat-ink-rd-image-content h3 {
        font-size: 28px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .chemicoat-ink-rd-section {
        padding: 55px 0;
    }

    .chemicoat-ink-rd-container {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0 20px;
    }

    .chemicoat-ink-rd-title {
        font-size: 34px;
        letter-spacing: -0.6px;
    }

    .chemicoat-ink-rd-title span {
        font-size: 29px;
    }

    .chemicoat-ink-rd-title-line {
        margin-top: 18px;
        margin-bottom: 23px;
    }

    .chemicoat-ink-rd-text p {
        font-size: 14px;
        line-height: 1.7;
        margin-bottom: 15px;
    }

    .chemicoat-ink-rd-highlight {
        align-items: flex-start;
        margin-top: 23px;
    }

    .chemicoat-ink-rd-highlight span {
        font-size: 11px;
    }

    .chemicoat-ink-rd-image {
        height: 440px;
        max-width: 100%;
    }

    .chemicoat-ink-rd-image-content {
        left: 24px;
        right: 20px;
        bottom: 25px;
    }

    .chemicoat-ink-rd-image-content h3 {
        font-size: 27px;
    }

    .chemicoat-ink-rd-image-content p {
        font-size: 12px;
    }

    .chemicoat-ink-rd-image-tag {
        top: 18px;
        right: 18px;

        width: 50px;
        height: 50px;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .chemicoat-ink-rd-section {
        padding: 45px 0;
    }

    .chemicoat-ink-rd-container {
        padding: 0 16px;
    }

    .chemicoat-ink-rd-title {
        font-size: 30px;
    }

    .chemicoat-ink-rd-title span {
        font-size: 26px;
    }

    .chemicoat-ink-rd-eyebrow {
        font-size: 10px;
        letter-spacing: 2px;
    }

    .chemicoat-ink-rd-text p {
        font-size: 13.5px;
    }

    .chemicoat-ink-rd-highlight {
        gap: 12px;
        padding: 13px 14px;
    }

    .chemicoat-ink-rd-highlight-icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
        font-size: 16px;
    }

    .chemicoat-ink-rd-highlight strong {
        font-size: 13px;
    }

    .chemicoat-ink-rd-highlight span {
        font-size: 10.5px;
    }

    .chemicoat-ink-rd-image {
        height: 390px;
    }

    .chemicoat-ink-rd-image-content {
        left: 20px;
        right: 18px;
        bottom: 20px;
    }

    .chemicoat-ink-rd-image-content h3 {
        font-size: 24px;
    }

    .chemicoat-ink-rd-image-content p {
        font-size: 11px;
    }

    .chemicoat-ink-rd-image-tag {
        top: 15px;
        right: 15px;
        width: 46px;
        height: 46px;
        font-size: 10px;
    }
}