body.page-learning-html {
	background: linear-gradient(180deg, #f4f6f8 0%, #edf1f5 100%);
}

/* HERO */
.html-tutorial-hero {
	position: relative;
	padding: 90px 24px 80px;
	min-height: 430px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	background-image: url('https://readthinkcode.org/wp-content/uploads/2026/04/coding-tutorials.webp');
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
	overflow: hidden;
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

.html-tutorial-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to right,
		rgba(0,0,0,0.50) 0%,
		rgba(0,0,0,0.30) 45%,
		rgba(0,0,0,0.12) 100%
	);
	z-index: 1;
}

.html-tutorial-hero__content {
	position: relative;
	z-index: 2;
	max-width: 760px;
	margin: 0 auto;
	padding: 30px 32px;
	border-radius: 24px;
	background: rgba(255,255,255,0.10);
	backdrop-filter: blur(5px);
	border: 1px solid rgba(255,255,255,0.18);
}

.html-tutorial-hero__eyebrow {
	margin: 0 0 10px;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: #ffffff;
}

.html-tutorial-hero__title {
	margin: 0 0 14px;
	font-size: clamp(2.2rem, 4vw, 3.6rem);
	line-height: 1.08;
	color: #ffffff;
	text-shadow: 0 3px 10px rgba(0,0,0,0.35);
}

.html-tutorial-hero__text {
	max-width: 650px;
	margin: 0 auto;
	font-size: 18px;
	line-height: 1.7;
	color: #f5f8fb;
}

/* SUPPORT CARD */
.html-support-card {
	margin-top: 34px;
	margin-bottom: 30px;
	padding: 30px 24px;
	border-radius: 22px;
	background: linear-gradient(180deg, #f6edd9 0%, #efe3c4 100%);
	border: 1px solid #d8c59b;
	box-shadow: 0 8px 22px rgba(0,0,0,0.04);
}

.html-support-card__title {
	margin: 0 0 10px;
	font-size: 30px;
	color: #1f2937;
}

.html-support-card__text {
	margin: 0 0 18px;
	font-size: 16px;
	line-height: 1.7;
	color: #5b4a1d;
}

.html-support-card__button .wp-block-button__link,
.html-support-card__button .wp-block-button__link:visited {
	background: #000000 !important;
	color: #ffffff !important;
	border-radius: 999px;
	padding: 13px 24px;
	text-decoration: none;
	font-weight: 700;
	letter-spacing: 2px;
	text-transform: uppercase;
	border: 2px solid #000000 !important;
	transition: all 0.25s ease;
}

.html-support-card__button .wp-block-button__link:hover,
.html-support-card__button .wp-block-button__link:focus,
.html-support-card__button .wp-block-button__link:active {
	background: #ffffff !important;
	color: #000000 !important;
	border-color: #000000 !important;
}

/* INTRO */
.html-tutorial-intro {
	margin-top: 10px;
	margin-bottom: 34px;
}

.html-tutorial-intro__text {
	max-width: 1080px;
	margin: 0 auto;
	font-size: 18px;
	line-height: 1.75;
	color: #334155;
}

/* GRID */
.html-tutorial-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 34px;
	max-width: var(--wp--style--global--wide-size, 1400px);
	width: 100%;
	margin: 0 auto 50px;
	padding: 0 24px;
	box-sizing: border-box;
	align-items: stretch;
}

.html-tutorial-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 24px 22px 24px;
	border-radius: 22px;
	background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
	border: 1px solid #dfe8f1;
	box-shadow: 0 10px 26px rgba(0,0,0,0.06);
	min-height: 430px;
	transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.html-tutorial-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 14px 32px rgba(0,0,0,0.10);
}

.html-tutorial-card__image {
	margin: 0 0 18px;
}

.html-tutorial-card__image img {
	width: 100%;
	max-width: 260px;
	height: 220px;
	object-fit: contain;
	display: block;
	margin: 0 auto;
	border-radius: 10px;
	box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

.html-tutorial-card__number {
	margin: 0 0 10px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: #2563eb;
}

.html-tutorial-card__title {
	margin: 0 0 18px;
	font-size: 22px;
	line-height: 1.28;
	color: #111827;
	/*min-height: 84px;*/
}

.html-tutorial-card__button {
	margin-top: auto;
}

.html-tutorial-card__button .wp-block-button__link,
.html-tutorial-card__button .wp-block-button__link:visited {
	background: #000000 !important;
	color: #ffffff !important;
	border-radius: 999px;
	padding: 13px 22px;
	text-decoration: none;
	font-weight: 700;
	letter-spacing: 2px;
	text-transform: uppercase;
	border: 2px solid #000000 !important;
	transition: all 0.25s ease;
	display: inline-block;
	font-size: 13px;
}

.html-tutorial-card__button .wp-block-button__link:hover,
.html-tutorial-card__button .wp-block-button__link:focus,
.html-tutorial-card__button .wp-block-button__link:active {
	background: #ffffff !important;
	color: #000000 !important;
	border-color: #000000 !important;
}

.html-tutorial-card--review {
	background: linear-gradient(180deg, #fffdf8 0%, #f8f1df 100%);
	border-color: #e1d2ad;
}

.html-tutorial-card--final {
	background: linear-gradient(180deg, #f1f8ff 0%, #e3f0ff 100%);
	border-color: #c8dcef;
}

/* RESPONSIVE */
@media (max-width: 1200px) {
	.html-tutorial-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 900px) {
	.html-tutorial-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.html-tutorial-hero {
		padding: 72px 20px 64px;
		min-height: 360px;
	}

	.html-tutorial-hero__content {
		padding: 24px 20px;
	}

	.html-tutorial-card {
		min-height: 400px;
	}

	.html-tutorial-card__title {
		font-size: 20px;
	}
}

@media (max-width: 600px) {
	.html-tutorial-grid {
		grid-template-columns: 1fr;
	}

	.html-tutorial-card__image img {
		max-width: 280px;
		height: 220px;
	}

	.html-support-card__title {
		font-size: 26px;
	}
}