.image-box-with-caption {
	max-width: 966px;
	margin: 0 auto;
    margin-bottom: 15px;
}

.image-box-with-caption .asset-link {
    text-decoration: none !important;
    color: inherit !important;
}

.image-box-with-caption .slide {
    width: 100%;
    max-width: var(--width-base);
    margin: 0 auto;
}

.image-box-with-caption.add-margin .slide {
    width: calc(100% - 60px);
    max-width: calc(var(--width-base) - 60px);
}

.image-box-with-caption .slide-pic {
    position: relative;
    display: block;
}

.image-box-with-caption .slide-img {
    position: relative;
    z-index: 1;
    width: 100%;
}

.image-box-with-caption .caption {
    padding: var(--space-3) 0;
    text-align: center;
    font-size: var(--text-sm);
    font-style: italic;
    font-weight: 400;
    line-height: var(--leading-tight);
    color: var(--gray-600);
}

.image-box-with-caption .text-content {
    position: absolute;
    bottom: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
}

.image-box-with-caption .image-title {
    font-size: 21px;
    color: white;
    padding: 0 10px;
    z-index: 2;
    margin: 0;
}

.image-box-with-caption .photo-credit {
    font-size: 12px;
    color: white;
    padding: 0 10px;
    z-index: 2;
	text-transform: uppercase;
    flex: 1;
}

.image-box-with-caption .slide-pic::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 25%;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 100%);
	z-index: 1;
    pointer-events: none;
}

@media (min-width: 579px) {
    .image-box-with-caption .text-content {
        flex-flow: row wrap;
        align-items: center;
    }
    
    .image-box-with-caption .photo-credit {
        text-align: right;
    }
}

@media (min-width: 64em) {
    .image-box-with-caption {
        margin-bottom: 15px;
    }

    .image-box-with-caption.add-margin .slide {
        width: calc(100% - 200px);
        max-width: calc(var(--width-base) - 200px);
    }

    .image-box-with-caption .caption {
        padding: var(--space-4) 0;
        font-size: var(--text-lg);
        line-height: var(--leading-normal);
    }
    
    .image-box-with-caption .photo-credit {
		font-size: 16px;
	}
}
