/* Gift Card Landing Page (/giftcards/) */

/* Hero: borrowed from the class page until a gift card photo exists */
.giftcards .hero {
	background: #000 url(/images/class-hero-mobile.jpg) top center;
	background-size: cover;
}
.giftcards .hero::before {
	background-image: linear-gradient(to right, rgba(0,0,0,.75), rgba(0,0,0,.25));
}
.giftcards .hero .sub-header {
	text-align: left;
	margin: 0 0 16px 0;
	max-width: 640px;
}
.giftcards .hero .hero-actions {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-bottom: 16px;
}

/* Full width: this page has no aside */
.giftcards .wrapper main {
	width: 100%;
}
.giftcards main section {
	margin-bottom: 32px;
}
.giftcards .section-intro {
	margin-bottom: 16px;
}

/* Gift card tiles */
.gc-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 16px;
	margin-bottom: 24px;
}
.gc-card {
	background: #fff;
	box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.2);
	padding: 24px 20px;
	display: flex;
	flex-direction: column;
	position: relative;
	border-top: 4px solid #a20000;
}
.gc-card .flag {
	font-size: 12px;
	letter-spacing: 0.4px;
	padding: 2px 8px;
	background: #f1ff56;
	text-transform: uppercase;
	align-self: flex-start;
	margin-bottom: 8px;
}
.gc-card .gc-amount {
	font-family: Oswald;
	font-size: 44px;
	font-weight: 700;
	line-height: 1;
	color: #a20000;
	margin-bottom: 8px;
}
.gc-card .gc-name {
	font-family: Oswald;
	font-size: 20px;
	font-weight: 700;
	letter-spacing: 0.67px;
	text-transform: uppercase;
	margin: 0 0 8px 0;
}
.gc-card .gc-covers {
	font-weight: 700;
	margin-bottom: 8px;
}
.gc-card p {
	flex: 1;
	margin-bottom: 16px;
}

/* General credit block */
.gc-credit {
	background: #fff;
	box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.2);
	padding: 24px 20px;
	border-top: 4px solid #333;
}
.gc-credit .gc-name {
	font-family: Oswald;
	font-size: 20px;
	font-weight: 700;
	letter-spacing: 0.67px;
	text-transform: uppercase;
	margin: 0 0 8px 0;
}
.gc-credit .gc-warning {
	border-left: 4px solid #f1ff56;
	background: #fffde0;
	padding: 8px 12px;
	margin: 8px 0 16px 0;
}
.gc-credit-options {
	display: grid;
	grid-template-columns: 1fr;
	gap: 12px;
}
.gc-credit-option {
	border: 1px solid rgba(0, 0, 0, 0.16);
	padding: 16px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.gc-credit-option .gc-amount {
	font-family: Oswald;
	font-size: 32px;
	font-weight: 700;
	line-height: 1;
	color: #333;
}
.gc-credit-option .gc-hint {
	font-size: 13px;
	color: #555;
	flex: 1;
}

/* How it works */
.gc-steps {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	grid-template-columns: 1fr;
	gap: 16px;
}
.gc-steps li {
	background: #fff;
	box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.2);
	padding: 16px 16px 16px 64px;
	position: relative;
}
.gc-steps li::before {
	content: '';
	width: 32px;
	height: 32px;
	position: absolute;
	left: 16px;
	top: 16px;
}
.gc-steps li.step1::before { background: url(/images/1.svg) no-repeat center; }
.gc-steps li.step2::before { background: url(/images/2.svg) no-repeat center; }
.gc-steps li.step3::before { background: url(/images/3.svg) no-repeat center; }
.gc-steps strong {
	display: block;
	font-family: Oswald;
	font-size: 18px;
	text-transform: uppercase;
	letter-spacing: 0.6px;
	margin-bottom: 4px;
}

/* Info notes (buyer email, permit) */
.gc-note {
	background: #fff;
	border-left: 4px solid #a20000;
	box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.2);
	padding: 12px 16px;
	margin: 16px 0;
}

@media (min-width: 768px) {
	.gc-grid {
		grid-template-columns: 1fr 1fr;
	}
	.gc-credit-options,
	.gc-steps {
		grid-template-columns: repeat(3, 1fr);
	}
	.giftcards .hero .hero-actions {
		flex-direction: row;
	}
}

@media (min-width: 1024px) {
	.giftcards .hero {
		background: #000 url(/images/class-hero-desktop.jpg) 0 -80px;
		background-size: cover;
		padding-bottom: 32px;
	}
	.giftcards .wrapper main {
		margin: 32px;
	}
}
