.pbr-impact-wrapper {
    box-sizing: border-box;
    width: 100%;
    margin: 0 auto;
}

.pbr-impact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    box-sizing: border-box;
}

.pbr-impact-media-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    background-color: #f0f0f0;
}

.pbr-impact-media-container img,
.pbr-impact-media-container video,
.pbr-impact-media-container iframe {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: none;
}

.pbr-impact-media-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

/* Slideshow styles */
.pbr-impact-slideshow {
    position: relative;
    width: 100%;
    height: 100%;
}

.pbr-impact-slides-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.pbr-impact-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

.pbr-impact-slide.pbr-active {
    opacity: 1;
    position: relative;
}

.pbr-slideshow-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 18px;
    z-index: 2;
    transition: background 0.3s;
}

.pbr-slideshow-arrow:hover {
    background: rgba(0, 0, 0, 0.7);
}

.pbr-slideshow-arrow.pbr-prev {
    left: 15px;
}

.pbr-slideshow-arrow.pbr-next {
    right: 15px;
}

.pbr-slideshow-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
}

.pbr-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s;
}

.pbr-dot.pbr-active {
    background: #fff;
}

/* Content Column styling */
.pbr-impact-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.pbr-impact-eyebrow {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
    display: block;
}

.pbr-impact-heading {
    font-family: serif;
    font-size: 38px;
    line-height: 1.2;
    margin: 0 0 20px 0;
}

.pbr-impact-description {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
}

.pbr-impact-description p {
    margin: 0 0 15px 0;
}

.pbr-impact-description p:last-child {
    margin-bottom: 0;
}

/* Highlights Repeater */
.pbr-impact-highlights {
    display: grid;
    margin-bottom: 35px;
}

.pbr-impact-highlight-item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.pbr-impact-highlight-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    flex-shrink: 0;
}

.pbr-impact-highlight-icon svg,
.pbr-impact-highlight-icon i {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pbr-impact-highlight-title {
    font-size: 15px;
    font-weight: 600;
}

/* Buttons style */
.pbr-impact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
    box-sizing: border-box;
}

.pbr-btn-arrow {
    margin-left: 8px;
    transition: transform 0.2s ease;
}

.pbr-impact-btn:hover .pbr-btn-arrow,
.pbr-impact-careers-btn:hover .pbr-btn-arrow {
    transform: translateX(3px);
}

/* Divider styling */
.pbr-impact-divider-wrapper {
    box-sizing: border-box;
}

.pbr-impact-divider {
    border-top-style: solid;
    width: 100%;
}

/* Careers CTA Bar */
.pbr-impact-careers {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    box-sizing: border-box;
}

.pbr-impact-careers-left {
    display: flex;
    align-items: center;
}

.pbr-impact-careers-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pbr-impact-careers-icon svg,
.pbr-impact-careers-icon i {
    display: block;
}

.pbr-impact-careers-copy {
    display: flex;
    flex-direction: column;
}

.pbr-impact-careers-eyebrow {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 6px;
}

.pbr-impact-careers-heading {
    font-family: serif;
    font-size: 24px;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.pbr-impact-careers-description {
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

.pbr-impact-careers-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
    box-sizing: border-box;
    white-space: nowrap;
}

/* Tablet Stacked Behavior Selector class (triggered via prefix_class) */
.pbr-impact-tablet-stacked .pbr-impact-grid {
    @media (max-width: 1024px) {
        grid-template-columns: 1fr;
    }
}

/* Responsive Behaviors */
@media (max-width: 1024px) {
    .pbr-impact-tablet-stacked .pbr-impact-grid {
        grid-template-columns: 1fr;
    }
    
    .pbr-impact-careers {
        grid-template-columns: 1fr;
        gap: 30px !important;
    }

    .pbr-impact-careers-button-wrapper {
        width: 100%;
    }

    .pbr-impact-careers-btn {
        width: 100%;
    }
}

@media (max-width: 767px) {
    .pbr-impact-grid {
        grid-template-columns: 1fr !important;
    }

    .pbr-impact-highlights {
        grid-template-columns: 1fr !important;
    }

    .pbr-impact-careers-left {
        flex-direction: row;
        align-items: flex-start;
    }

    .pbr-impact-btn {
        width: 100%;
    }
}
