/*
 * Destination page banner: a plain stock photo with the red label and the
 * white wave drawn in CSS, so the photo file carries no text and can be
 * swapped for another licensed image without editing it.
 *
 * Markup:
 *   <div class="destination-banner">
 *     <img src="…" alt="…" width="701" height="229" />
 *     <span class="destination-banner-label">Asia Cruises</span>
 *   </div>
 */
.destination-banner {
	position: relative;
	overflow: hidden;
	max-width: 701px;
	line-height: 0;
}

.destination-banner img {
	display: block;
	width: 100%;
	height: auto;
}

/* Gentle white swoosh along the bottom: it starts at nothing near the end
   of the label and rises smoothly to the right corner. Nothing sits under
   the label itself. */
.destination-banner::after {
	content: '';
	position: absolute;
	right: 0;
	bottom: 0;
	width: 72%;
	height: 13%;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 700 30' preserveAspectRatio='none'%3E%3Cpath fill='%23fff' d='M0,30 C200,30 420,24 700,0 L700,30 Z'/%3E%3C/svg%3E") no-repeat bottom / 100% 100%;
}

.destination-banner-label {
	position: absolute;
	z-index: 1;
	left: 0;
	bottom: 8%;
	padding: 6px 34px 6px 16px;
	color: #fff;
	font-family: 'Arial Narrow', 'Helvetica Neue', Arial, sans-serif;
	font-size: 26px;
	font-weight: bold;
	font-stretch: condensed;
	line-height: 1.1;
	letter-spacing: 0.5px;
	text-transform: uppercase;
}

/* Red background with the slanted right end */
.destination-banner-label::before {
	content: '';
	position: absolute;
	z-index: -1;
	inset: 0;
	background: #d93148;
	-webkit-clip-path: polygon(0 0, 100% 0, calc(100% - 22px) 100%, 0 100%);
	clip-path: polygon(0 0, 100% 0, calc(100% - 22px) 100%, 0 100%);
}

/* Flat variant for the 702x165 "Cruises from <port>" headers: no wave,
   same label, and the 5px gap the old #headerImg image had below it. */
.destination-banner-flat {
	max-width: 702px;
	margin-bottom: 5px;
}

.destination-banner-flat::after {
	content: none;
}

.destination-banner-flat .destination-banner-label {
	bottom: 14%;
}

@media (max-width: 480px) {
	.destination-banner-label {
		padding: 4px 24px 4px 10px;
		font-size: 18px;
	}

	.destination-banner-label::before {
		-webkit-clip-path: polygon(0 0, 100% 0, calc(100% - 14px) 100%, 0 100%);
		clip-path: polygon(0 0, 100% 0, calc(100% - 14px) 100%, 0 100%);
	}
}
