/**
 * Prototyping Development of Cross Car Beam
 * Block: pccb
 */
.pccb {
    --pccb-container-width: 1180px;
    --pccb-dark: #282828;
    --pccb-light: #e1e1e1;
    --pccb-surface: #f7f8f8;
    --pccb-hero-accent: #fbf867;
    --pccb-link: #0782c1;
}

.pccb {
    padding-top: 106px;
}

@media (max-width: 768px) {
    .pccb {
        padding-top: 68px;
    }
}

.pccb,
.pccb * {
    box-sizing: border-box;
}

.pccb__container {
    width: var(--pccb-container-width);
    max-width: 100%;
    margin: 0 auto;
    background-color: var(--pccb-surface);
}

.pccb-section__title {
    font-size: 22px;

    font-weight: bold;
    color: var(--pccb-dark);
}

.pccb-section__title--inverse {
    color: #ffffff;
}

.pccb-section__text {

    font-size: 16px;
    line-height: 30px;
    color: #000000;
}

.pccb-section__text--inverse {
    color: #ffffff;
}

.pccb-section__text--dark {
    color: var(--pccb-dark);
}

.pccb--clearfix::after {
    content: "";
    display: table;
    clear: both;
}

.pccb-media {
    display: block;
    max-width: 100%;
    height: auto;
}

/* Hero */
.pccb-hero {
    position: relative;
    width: 100%;
    margin-bottom: 2rem;
    overflow: hidden;
}

.pccb-hero__img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.pccb-hero__content {
    position: absolute;
    top: 20%;
    left: 30%;
    z-index: 2;
    max-width: 1180px;
    margin: 0 auto;
    transform: translate(-50%, -50%);
}

.pccb-hero__text {
    font-family: 'Poppins', sans-serif;
    line-height: 1.5;
    color: var(--pccb-hero-accent);
    font-weight: 600;
    text-transform: uppercase;
}

.pccb-hero__title {
    font-size: 3rem;
}

.pccb-hero__subtitle {
    font-size: 3rem;
}

/* Intro */
.pccb-intro {
    padding: 30px 50px;
}

.pccb-intro__lead {

    font-size: 16px;
    line-height: 30px;
    color: #000000;
    margin-bottom: 1rem;
}

/* Challenges */
.pccb-challenges {
    width: var(--pccb-container-width);
    max-width: 100%;
    height: 400px;
    background-color: var(--pccb-dark);
}

.pccb-challenges__content {
    width: 500px;
    max-width: calc(100% - 100px);
    margin-left: 50px;
    float: left;
    margin-top: 20px;
    padding-top: 20px;
}

.pccb-challenges__img-wrap {
    width: 450px;
    max-width: calc(100% - 100px);
    float: right;
    margin-top: 80px;
    margin-left: 100px;
}

/* Solutions */
.pccb-solutions {
    height: 970px;
    padding-top: 50px;
    background-color: var(--pccb-light);
}

.pccb-solutions__title {
    display: block;
    padding-left: 50px;
    margin-bottom: 1rem;
}

.pccb-solutions__img {
    width: 100%;
    max-width: var(--pccb-container-width);
    height: auto;
    display: block;
}

/* After-sales */
.pccb-after-sales {
    width: var(--pccb-container-width);
    max-width: 100%;
    height: 440px;
    background-color: var(--pccb-dark);
}

.pccb-after-sales__content {
    width: 400px;
    max-width: calc(100% - 100px);
    margin-left: 50px;
    float: left;
    margin-top: 20px;
    padding-top: 20px;
}

.pccb-after-sales__img-wrap {
    float: left;
    width: 508px;
    max-width: calc(100% - 100px);
    margin-top: 70px;
    margin-left: 150px;
}

/* Benefits */
.pccb-benefits {
    width: var(--pccb-container-width);
    max-width: 100%;
    height: 451px;
    background-color: var(--pccb-light);
}

.pccb-benefits__content {
    width: 600px;
    max-width: calc(100% - 100px);
    margin-left: 50px;
    float: left;
    margin-top: 20px;
    padding-top: 20px;
}

.pccb-benefits__img-wrap {
    margin-left: 100px;
    width: 321px;
    max-width: calc(100% - 100px);
    height: 451px;
    float: left;
}

.pccb-benefits__img-wrap .pccb-media {
    width: 100%;
    height: auto;
}

/* Feeling */
.pccb-feeling {
    width: var(--pccb-container-width);
    max-width: 100%;
    height: 480px;
    background-color: var(--pccb-dark);
}

.pccb-feeling__content {
    width: 500px;
    max-width: calc(100% - 100px);
    margin-left: 50px;
    float: left;
    margin-top: 20px;
    padding-top: 20px;
}

.pccb-feeling__img-wrap {
    width: 471px;
    max-width: calc(100% - 100px);
    float: left;
    margin-top: 70px;
    margin-left: 80px;
}

/* Tags */
.pccb-tags {
    width: var(--pccb-container-width);
    max-width: 100%;
    height: 80px;
    line-height: 80px;
    padding-left: 50px;
    padding-top: 20px;
}

.pccb-tags__link {
    color: var(--pccb-link);
    text-decoration: none;
}

.pccb-tags__link:hover {
    text-decoration: underline;
}

@media screen and (max-width: 1200px) {
    .pccb-hero__content {
        max-width: 90%;
    }
}

@media screen and (max-width: 768px) {
    .pccb-hero__img {
        height: 120px;
        object-fit: cover;
    }

    .pccb-hero__content {
        padding: 1.5rem;
        text-align: left;
        left: 50%;
    }

    .pccb-hero__text {
        font-size: 1rem;
        line-height: 1.3;
    }

    .pccb-hero__title {
        margin-bottom: 0.25rem;
    }

    .pccb-intro {
        padding: 20px;
    }

    .pccb-challenges,
    .pccb-after-sales,
    .pccb-benefits,
    .pccb-feeling {
        height: auto;
        padding-bottom: 20px;
    }

    .pccb-challenges__content,
    .pccb-challenges__img-wrap,
    .pccb-after-sales__content,
    .pccb-after-sales__img-wrap,
    .pccb-benefits__content,
    .pccb-benefits__img-wrap,
    .pccb-feeling__content,
    .pccb-feeling__img-wrap {
        float: none;
        width: 100%;
        max-width: 100%;
        margin: 20px auto 0;
        padding: 0 20px;
    }

    .pccb-solutions {
        height: auto;
        padding: 30px 20px;
    }

    .pccb-solutions__title {
        padding-left: 0;
    }

    .pccb-tags {
        height: auto;
        padding: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pccb *,
    .pccb-hero * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

@media (prefers-contrast: high) {
    .pccb-hero__title,
    .pccb-hero__subtitle {
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    }
}
