/* ========================================
   MATPROG - COMPACT LANDING PAGE
   ======================================== */
.matprog {
	max-width: 850px;
	margin: 0 auto;
	font-family: inherit;
	color: #222;
	line-height: 1.4;
}

.matprog * {
	box-sizing: border-box;
}

.matprog h1,
.matprog h2,
.matprog h3,
.matprog p {
	margin: 0;
	padding: 0;
}

.matprog h1 {
	font-size: clamp(26px, 3.5vw, 34px);
	line-height: 1.2;
	margin-bottom: 8px;
}

.matprog h2 {
	font-size: clamp(21px, 2.8vw, 26px);
	line-height: 1.2;
	margin-bottom: 14px;
}

.matprog h3 {
	font-size: 17px;
	line-height: 1.3;
	margin: 0;
}

/* ========================================
   SECTIONS
   ======================================== */
.matprog-section {
	padding: 18px 0;
	text-align: center;
}

.matprog-section:first-child {
	padding-top: 5px;
}

.matprog-section:last-child {
	padding-bottom: 5px;
}

.matprog-section + .matprog-section {
	border-top: 1px solid #e5e7eb;
}

/* ========================================
   INTRODUCTION
   ======================================== */
.matprog-subtitle {
	font-size: 16px;
	max-width: 700px;
	margin: 0 auto 10px !important;
}

.matprog-tag {
	display: inline-block;
	background: #e8f0ff;
	color: #285ca5;
	padding: 4px 13px;
	border-radius: 30px;
	font-weight: 600;
	font-size: 14px;
	margin-bottom: 8px;
}

.matprog-topics {
	font-size: 17px;
	font-weight: 600;
	margin: 5px 0 2px;
}

.matprog-muted {
	color: #666;
}

/* ========================================
   OFFER CARDS - 2x2 DESKTOP GRID
   ======================================== */
.matprog-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	margin-top: 12px;
}

.matprog-card {
	background: #f0f5fc;
	border: 1px solid #e0eaf8;
	border-radius: 10px;
	padding: 13px 16px;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	justify-content: center;
	min-width: 0;
}

/* ICON + HEADING CENTERED TOGETHER */
.matprog-card-header {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: left;
	gap: 9px;
	margin-bottom: 5px;
}

.matprog-icon {
	font-size: 23px;
	line-height: 1;
	margin: 0;
	flex-shrink: 0;
}

.matprog-card h3 {
	font-size: 17px;
	font-weight: 700;
	line-height: 1.3;
	margin: 0;
}

/* DESCRIPTION LEFT-ALIGNED */
.matprog-card p {
	margin: 0;
	color: #555;
	font-size: 14px;
	line-height: 1.35;
	text-align: left;
}

/* ========================================
   INSTRUCTOR
   ======================================== */
.matprog-name {
	color: #4384dc;
	font-size: 22px;
	font-weight: 700;
	margin-bottom: 3px;
}

.matprog-companies {
	background: #f6f7f9;
	border-radius: 10px;
	padding: 12px;
	max-width: 550px;
	margin: 10px auto 0;
}

.matprog-companies strong {
	display: block;
	font-size: 16px;
	line-height: 1.4;
}

/* ========================================
   PRICING
   ======================================== */
.matprog-price {
	background: #effaf2;
	border: 2px solid #36a65b;
	border-radius: 14px;
	padding: 20px 16px;
}

.matprog-date {
	display: inline-block;
	background: #d9f2e0;
	color: #237b3b;
	border-radius: 30px;
	padding: 4px 13px;
	font-size: 14px;
	font-weight: 700;
	margin-bottom: 10px;
}

.matprog-free {
	color: #248a43;
	font-size: clamp(25px, 3.5vw, 32px);
	font-weight: 800;
	line-height: 1.2;
	margin-bottom: 8px;
}

.matprog-amount {
	font-size: 27px;
	font-weight: 700;
	margin: 3px 0 8px;
}

.matprog-limit {
	border-top: 1px solid #c8e7d0;
	padding-top: 9px;
	margin: 10px auto 0;
	max-width: 350px;
	font-weight: 700;
}

/* Secondary line under the place limit: compact, regular weight */
.matprog-limit-note {
	font-size: 14px;
	font-weight: 400;
	line-height: 1.3;
	margin-top: 2px;
}

/* ========================================
   REGISTRATION
   ======================================== */
.matprog-info {
	background: #edf4ff;
	border-radius: 10px;
	padding: 13px 17px;
	margin: 12px auto;
	max-width: 700px;
	text-align: left;
}

.matprog-info strong {
	color: #285ca5;
	font-size: 16px;
}

.matprog-info p {
	margin: 5px 0 0;
	line-height: 1.4;
}

/* ========================================
   MOBILE
   ======================================== */
@media (max-width: 650px) {
	.matprog-section {
		padding: 16px 0;
	}
	
	.matprog-grid {
		grid-template-columns: 1fr;
		gap: 8px;
	}
	
	.matprog-card {
		padding: 12px 14px;
	}
	
	.matprog-price {
		padding: 18px 12px;
	}
	
	.matprog-companies strong {
		font-size: 15px;
	}
	
	.matprog-subtitle {
		font-size: 15px;
	}
	
	.matprog-info {
		padding: 12px 14px;
	}
}

/* ========================================
   MATPROG - FORM WIDTH
   ======================================== */
.matprog-form {
	max-width: 850px;
	width: 100%;
	margin-left: auto !important;
	margin-right: auto !important;
}

/* Reduce space above MatProg landing page */
.matprog-section:first-child {
	padding-top: 0 !important;
}

.matprog {
	margin-top: -30px;
}

/* Normal capitalization of the site title */
.site-header .site-title,
.site-header .site-title a {
	text-transform: none !important;
}