.pit-catalog-page,
.pit-catalog-page .site-main {
	width: 100%;
	max-width: none;
	margin-left: auto;
	margin-right: auto;
}

#primary.pit-catalog-page {
	width: 100%;
	max-width: none;
	padding-left: 0;
	padding-right: 0;
}

.pit-catalog,
.pit-single {
	--pit-brand-blue: #000043;
	--pit-brand-blue-soft: #eef1ff;
	--pit-brand-gold: #d7ac46;
	--pit-institute-accent: #000043;
	width: 100%;
	max-width: none;
	margin: 0 auto;
	padding: 0 max(12px, env(safe-area-inset-right)) 24px max(12px, env(safe-area-inset-left));
	box-sizing: border-box;
	overflow-x: clip;
}

.pit-catalog *,
.pit-single * {
	box-sizing: border-box;
	min-width: 0;
	word-break: break-word;
	overflow-wrap: anywhere;
}

.pit-catalog-update-flash {
	position: sticky;
	top: 0;
	z-index: 50;
	width: 100%;
	margin: 0 0 20px;
	padding: 14px 18px;
	border: 1px solid #d7ac46;
	border-radius: 0 0 12px 12px;
	background: linear-gradient(90deg, #000043 0%, #17236b 50%, #000043 100%);
	box-shadow: 0 10px 24px rgba(0, 0, 67, 0.18);
	color: #fff;
	font-weight: 800;
	letter-spacing: 0.02em;
	text-align: center;
	animation: pit-catalog-update-flash-pulse 2.8s ease-in-out infinite;
}

@keyframes pit-catalog-update-flash-pulse {
	0%, 100% {
		box-shadow: 0 10px 24px rgba(0, 0, 67, 0.18);
	}

	50% {
		box-shadow: 0 10px 30px rgba(215, 172, 70, 0.42);
	}
}

@media (prefers-reduced-motion: reduce) {
	.pit-catalog-update-flash {
		animation: none;
	}
}

.pit-catalog .pit-search {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 16px;
	width: 100%;
}

.pit-catalogue-pdf-cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	margin: 0 0 18px;
	padding: 22px 24px;
	border: 1px solid rgba(215, 172, 70, 0.62);
	border-left: 6px solid var(--pit-brand-gold);
	border-radius: 14px;
	background: linear-gradient(135deg, #000043 0%, #111866 100%);
	box-shadow: 0 14px 32px rgba(0, 0, 67, 0.12);
	color: #fff;
}

.pit-catalogue-pdf-cta > div {
	flex: 1 1 auto;
	max-width: 58ch;
	padding: 2px 8px 2px 0;
}

.pit-catalogue-pdf-cta strong,
.pit-catalogue-pdf-cta span {
	display: block;
}

.pit-catalogue-pdf-cta strong {
	font-size: clamp(1.1rem, 2vw, 1.45rem);
	letter-spacing: -0.01em;
}

.pit-catalogue-pdf-cta p {
	max-width: 48ch;
	margin: 6px 0 0;
	color: rgba(255, 255, 255, 0.9);
	line-height: 1.5;
	overflow-wrap: normal;
	word-break: normal;
}

.pit-catalogue-pdf-eyebrow {
	margin-bottom: 4px;
	color: var(--pit-brand-gold);
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.pit-catalogue-pdf-button {
	flex: 0 0 auto;
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-width: 214px;
	padding: 12px 16px;
	border: 1px solid rgba(0, 0, 67, 0.18);
	border-radius: 999px;
	background: #fff;
	color: var(--pit-brand-blue);
	font-weight: 900;
	line-height: 1.25;
	text-align: center;
	text-decoration: none;
	box-shadow: 0 10px 24px rgba(0, 0, 67, 0.16);
}

.pit-catalogue-pdf-button span {
	margin-top: 2px;
	color: #50575e;
	font-size: 0.78rem;
	font-weight: 700;
}

.pit-catalogue-pdf-button:hover,
.pit-catalogue-pdf-button:focus {
	background: var(--pit-brand-gold);
	color: var(--pit-brand-blue);
	outline: 3px solid rgba(255, 255, 255, 0.9);
	outline-offset: 2px;
}

@media (max-width: 760px) {
	.pit-catalogue-pdf-cta {
		align-items: stretch;
		flex-direction: column;
		background: linear-gradient(135deg, #000043 0%, #111866 100%);
	}

	.pit-catalogue-pdf-cta > div {
		max-width: none;
		padding: 0;
	}

	.pit-catalogue-pdf-button {
		width: 100%;
	}
}

.pit-guidance-cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	margin: 22px 0 0;
	padding: 14px 16px;
	border: 1px solid rgba(215, 172, 70, 0.55);
	border-radius: 10px;
	background: linear-gradient(135deg, #fffaf0 0%, #eef1ff 100%);
	box-shadow: 0 10px 24px rgba(0, 0, 67, 0.08);
	color: var(--pit-brand-blue);
}

.pit-guidance-cta strong,
.pit-guidance-cta span {
	display: block;
}

.pit-guidance-cta span {
	margin-top: 3px;
	font-size: 0.95rem;
}

.pit-guidance-cta-button {
	flex: 0 0 auto;
	padding: 10px 14px;
	border: 1px solid rgba(255, 255, 255, 0.72);
	border-radius: 999px;
	background: var(--pit-brand-blue);
	color: #fff;
	font-weight: 800;
	cursor: pointer;
}

.pit-guidance-cta-button:hover,
.pit-guidance-cta-button:focus {
	background: #101466;
	outline: 2px solid var(--pit-brand-gold);
	outline-offset: 2px;
}

@media (max-width: 640px) {
	.pit-guidance-cta {
		align-items: stretch;
		flex-direction: column;
	}

	.pit-guidance-cta-button {
		width: 100%;
	}
}

.pit-catalog .pit-search input[type="search"],
.pit-catalog .pit-search select {
	flex: 1;
	min-width: 0;
	width: 100%;
	padding: 12px 14px;
	border: 1px solid #cdd3ff;
	border-radius: 6px;
	background: #fff;
	color: var(--pit-brand-blue);
	line-height: 1.4;
}

.pit-catalog .pit-search button,
.pit-catalog .pit-link,
.pit-single .pit-download,
.pit-single .pit-link {
	display: inline-block;
	padding: 10px 14px;
	border: 1px solid var(--pit-brand-blue);
	border-radius: 6px;
	background: var(--pit-brand-blue);
	color: #fff;
	text-decoration: none;
	text-align: center;
	line-height: 1.4;
	white-space: normal;
}

.pit-catalog .pit-results,
.pit-single .pit-summary-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
	gap: 16px;
	width: 100%;
}

.pit-catalog .pit-results--list {
	display: flex;
	flex-direction: column;
}

.pit-catalog .pit-course-card,
.pit-single .pit-summary-grid > div,
.pit-single .pit-section,
.pit-single .pit-single-header {
	border: 1px solid #d7dbe1;
	border-radius: 6px;
	padding: 18px;
	background: #fff;
	width: 100%;
	max-width: 100%;
}

.pit-catalog .pit-course-card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	min-height: 100%;
	border-top: 5px solid var(--pit-institute-accent);
	box-shadow: 0 10px 28px rgba(0, 0, 67, 0.06);
}

.pit-catalog .pit-course-card h3,
.pit-catalog .pit-course-card .pit-course-meta {
	width: 100%;
}

.pit-catalog .pit-course-card h3 a,
.pit-single .pit-single-header h1 {
	color: var(--pit-brand-blue);
}

.pit-catalog .pit-course-card > p:last-child {
	margin-top: auto;
	margin-bottom: 0;
	padding-top: 16px;
}

.pit-catalog .pit-course-card .pit-link {
	min-width: 128px;
}

.pit-catalog .pit-breadcrumbs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-bottom: 14px;
	color: #50575e;
}

.pit-catalog .pit-breadcrumb-link {
	display: inline-block;
	padding: 10px 14px;
	border: 1px solid var(--pit-brand-blue);
	border-radius: 6px;
	background: var(--pit-brand-blue);
	color: #fff;
	text-decoration: none;
	text-align: center;
	line-height: 1.4;
}

.pit-catalog .pit-breadcrumb-current {
	display: inline-block;
	padding: 10px 14px;
	border: 1px solid var(--pit-brand-blue);
	border-radius: 6px;
	background: var(--pit-brand-blue);
	color: #fff;
	font-weight: 400;
	line-height: 1.4;
}

.pit-catalog .pit-breadcrumb-sep {
	color: #7a8694;
}

.pit-catalog .pit-category-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
	gap: 16px;
	margin-bottom: 18px;
	width: 100%;
}

.pit-catalog .pit-category-card {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 18px;
	border: 1px solid #d7dbe1;
	border-top: 5px solid var(--pit-institute-accent);
	border-radius: 6px;
	background: linear-gradient(180deg, #ffffff 0%, #f7f8ff 100%);
	color: var(--pit-brand-blue);
	text-decoration: none;
	box-shadow: 0 10px 28px rgba(0, 0, 67, 0.06);
	transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
	width: 100%;
	max-width: 100%;
}

.pit-catalog .pit-category-card:hover,
.pit-catalog .pit-category-card:focus-visible {
	transform: translateY(-1px);
	border-color: #b9c2cd;
	box-shadow: 0 8px 20px rgba(16, 24, 40, 0.08);
	outline: none;
}

.pit-catalog .pit-category-eyebrow {
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--pit-institute-accent);
}

.pit-catalog .pit-category-title {
	font-size: 1rem;
	line-height: 1.35;
}

.pit-catalog .pit-category-title-row {
	display: flex;
	align-items: center;
	gap: 10px;
}

.pit-catalog .pit-category-icon {
	flex: 0 0 auto;
	font-size: 20px;
	width: 20px;
	height: 20px;
	color: var(--pit-institute-accent);
}

.pit-catalog .pit-category-meta,
.pit-catalog .pit-course-meta,
.pit-catalog .pit-course-level,
.pit-catalog .pit-results-count {
	color: #50575e;
}

.pit-catalog .pit-course-meta,
.pit-single .pit-single-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
}

.pit-catalog .pit-institute-pill,
.pit-single .pit-institute-pill {
	display: inline-flex;
	align-items: center;
	max-width: 100%;
	padding: 3px 9px;
	border: 1px solid var(--pit-institute-accent);
	border-radius: 999px;
	color: var(--pit-institute-accent);
	font-weight: 700;
	background: #fff;
	white-space: normal;
	overflow-wrap: anywhere;
}

.pit-catalog .pit-department-section {
	margin-top: 28px;
	padding-top: 18px;
	border-top: 2px solid var(--pit-institute-accent);
}

.pit-catalog .pit-department-section h2 {
	margin: 0 0 14px;
	color: var(--pit-brand-blue);
	font-size: clamp(1.25rem, 2vw, 1.7rem);
}

.pit-catalog .pit-department-grid {
	margin-bottom: 0;
}

.pit-catalog .pit-department-card {
	border-top-width: 3px;
	background: #fff;
}

.pit-catalog .pit-course-level {
	margin: 10px 0 16px;
}

.pit-single .pit-single-header {
	margin-bottom: 18px;
	border-top: 5px solid var(--pit-institute-accent);
	box-shadow: 0 10px 28px rgba(0, 0, 67, 0.06);
}

.pit-single .pit-back-link-wrap {
	display: flex;
	justify-content: flex-start;
	margin: 0 0 18px;
	padding: 10px 0;
	text-align: left;
	width: 100%;
}

.pit-single .pit-back-link-wrap .pit-link {
	margin-left: 0;
}

.pit-single .pit-single-header h1,
.pit-catalog .pit-course-card h3 {
	margin-top: 0;
}

.pit-single .pit-single-header h1 {
	font-size: clamp(1.5rem, 5vw, 2.2rem);
	line-height: 1.12;
}

.pit-catalog .pit-course-card h3 {
	font-size: clamp(1.05rem, 4vw, 1.25rem);
	line-height: 1.25;
	min-height: 0;
	margin-bottom: 12px;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 4;
	overflow: hidden;
	overflow-wrap: anywhere;
	word-break: normal;
	hyphens: auto;
}

.pit-catalog .pit-course-card h3 a {
	display: inline;
	overflow-wrap: anywhere;
	word-break: normal;
	hyphens: auto;
}

.pit-catalog .pit-card-view--list h3 {
	display: block;
	-webkit-line-clamp: unset;
	overflow: visible;
	font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.pit-catalog .pit-course-card h3,
.pit-catalog .pit-course-card h3 a {
	color: var(--pit-brand-blue);
	font-weight: 700;
}

.pit-single .pit-single-meta,
.pit-single .pit-single-meta strong {
	color: var(--pit-brand-blue);
	font-weight: 700;
}

.pit-single .pit-entry-requirements-list {
	margin: 0;
	padding-left: 22px;
}

.pit-single .pit-entry-requirements-list li {
	margin: 0 0 8px;
}

.pit-single .pit-course-notices {
	display: grid;
	gap: 12px;
	margin: 16px 0;
}

.pit-single .pit-course-notice {
	border: 2px solid var(--pit-brand-blue);
	border-radius: 4px;
	padding: 12px 16px;
	color: var(--pit-brand-blue);
	background: #fff;
	line-height: 1.6;
}

.pit-single .pit-course-notice strong,
.pit-single .pit-course-notice a,
.pit-single .pit-course-notice span {
	display: inline;
}

.pit-single .pit-course-notice a {
	color: var(--pit-institute-accent);
	font-weight: 700;
	text-decoration: none;
}

.pit-single .pit-download-list {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 14px;
}

.pit-single .pit-annex-downloads {
	margin-top: 16px;
	padding: 14px 16px;
	border: 1px solid #d7dbe1;
	border-radius: 6px;
	background: #f8fafc;
}

.pit-single .pit-annex-downloads p {
	margin: 0 0 10px;
	line-height: 1.3;
	color: var(--pit-brand-blue);
}

.pit-single .pit-annex-downloads ul {
	margin: 0;
	padding-left: 18px;
}

.pit-single .pit-annex-downloads li {
	margin: 6px 0;
}

.pit-single .pit-annex-downloads a {
	color: var(--pit-brand-blue);
	font-weight: 600;
	text-decoration: none;
}

.pit-single .pit-summary-grid {
	margin-bottom: 18px;
}

.pit-single .pit-summary-grid > div {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.pit-single .pit-summary-grid > .pit-summary-mqf-acca span {
	text-align: right;
}

.pit-single .pit-section {
	margin-bottom: 16px;
	overflow: hidden;
	padding: 0;
}

.pit-single .pit-section-summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	cursor: pointer;
	font-weight: 600;
	list-style: none;
	width: 100%;
	padding: 18px;
}

.pit-single .pit-section-summary::-webkit-details-marker {
	display: none;
}

.pit-single .pit-section-summary::after {
	content: "+";
	font-size: 1.1rem;
	line-height: 1;
	color: var(--pit-institute-accent);
}

.pit-single .pit-section[open] .pit-section-summary::after {
	content: "-";
}

.pit-single .pit-section-content {
	padding: 14px 18px 18px;
	margin-top: 0;
	padding-top: 14px;
	border-top: 1px solid #e6e9ed;
	width: 100%;
	max-width: none;
	text-align: left;
}

.pit-single .pit-section-content > * {
	width: 100%;
	max-width: none;
}

.pit-single .pit-section-content p:last-child {
	margin-bottom: 0;
}

.pit-single .pit-section-preformatted {
	margin: 0;
	white-space: pre-wrap;
	overflow-x: auto;
	font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
	font-size: 0.92rem;
	line-height: 1.55;
	word-break: normal;
	overflow-wrap: normal;
}

.pit-catalog .pit-results-count {
	margin: 0;
}

.pit-catalog .pit-results-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 0 0 16px;
}

.pit-catalog .pit-view-toggle {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px;
	border: 1px solid #d7dbe1;
	border-radius: 999px;
	background: #fff;
	white-space: nowrap;
}

.pit-catalog .pit-view-toggle-label {
	padding: 0 6px;
	color: #50575e;
	font-size: 0.9rem;
}

.pit-catalog .pit-view-toggle-option {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 52px;
	padding: 7px 11px;
	border-radius: 999px;
	color: var(--pit-brand-blue);
	font-weight: 700;
	text-decoration: none;
}

.pit-catalog .pit-view-toggle-option.is-active {
	background: var(--pit-brand-blue);
	color: #fff;
}

.pit-catalog .pit-results--list .pit-course-card {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	grid-template-areas:
		"title action"
		"meta action"
		"level action"
		"match match";
	gap: 6px 18px;
	min-height: 0;
	padding: 16px 18px;
}

.pit-catalog .pit-results--list .pit-course-card h3 {
	grid-area: title;
	margin-bottom: 2px;
}

.pit-catalog .pit-results--list .pit-course-meta {
	grid-area: meta;
	margin: 0;
}

.pit-catalog .pit-results--list .pit-course-level {
	grid-area: level;
	margin: 0;
}

.pit-catalog .pit-results--list .pit-match-reasons {
	grid-area: match;
	margin-top: 8px;
}

.pit-catalog .pit-results--list .pit-course-card > p:last-child {
	grid-area: action;
	align-self: center;
	margin: 0;
	padding-top: 0;
}

.pit-catalog .pit-empty-state {
	grid-column: 1 / -1;
	margin: 0;
	padding: 18px;
	border: 1px solid #d7dbe1;
	border-radius: 6px;
	background: #fff;
	width: 100%;
	max-width: 100%;
}

@media (max-width: 640px) {
	.pit-catalog,
	.pit-single {
		padding-left: max(10px, env(safe-area-inset-left));
		padding-right: max(10px, env(safe-area-inset-right));
	}
}

.pit-match-reasons {
	margin: 10px 0 0;
	padding: 10px 12px;
	border-radius: 6px;
	background: #f7f8ff;
	color: var(--pit-brand-blue);
	font-size: 0.92rem;
}

.pit-match-reasons ul {
	margin: 6px 0 0 18px;
	padding: 0;
}

.pit-chatbot {
	position: fixed;
	right: 18px;
	bottom: 18px;
	z-index: 9999;
	font-family: inherit;
}

.pit-chatbot-toggle,
.pit-chatbot-choice,
.pit-chatbot-submit {
	border: 0;
	border-radius: 999px;
	background: #000043;
	color: #fff;
	padding: 11px 16px;
	font-weight: 700;
	box-shadow: 0 8px 24px rgba(0, 0, 67, 0.22);
	cursor: pointer;
}

.pit-chatbot-toggle {
	border: 1px solid rgba(255, 255, 255, 0.72);
}

.pit-chatbot-panel {
	position: absolute;
	right: 0;
	bottom: 56px;
	width: min(380px, calc(100vw - 28px));
	max-height: min(620px, calc(100vh - 96px));
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 14px;
	border: 1px solid #d7dbe1;
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 20px 60px rgba(0, 0, 67, 0.26);
	overflow-x: hidden;
	overflow-y: auto;
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
}

.pit-chatbot.is-fullscreen .pit-chatbot-panel {
	position: fixed;
	inset: 12px;
	width: auto;
	max-height: none;
	height: calc(100dvh - 24px);
	z-index: 10000;
	border-radius: 16px;
	overflow-x: hidden;
	overflow-y: auto;
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
}

body.pit-chatbot-open,
body.pit-chatbot-fullscreen-open {
	overflow: hidden;
}

.pit-chatbot-panel[hidden] {
	display: none;
}

.pit-chatbot-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 10px;
	color: #000043;
	flex: 0 0 auto;
}

.pit-chatbot-header-actions {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	flex-wrap: wrap;
	justify-content: flex-end;
}

.pit-chatbot-restart,
.pit-chatbot-fullscreen,
.pit-chatbot-close {
	border: 1px solid #d7dbe1;
	border-radius: 999px;
	background: #fff;
	color: #000043;
	font-size: 1rem;
	line-height: 1;
	padding: 7px 10px;
	display: inline-flex;
	align-items: center;
	gap: 5px;
	cursor: pointer;
}

.pit-chatbot-restart:hover,
.pit-chatbot-restart:focus,
.pit-chatbot-fullscreen:hover,
.pit-chatbot-fullscreen:focus,
.pit-chatbot-close:hover,
.pit-chatbot-close:focus {
	background: #f3f4ff;
	outline: 2px solid #cdd3ff;
	outline-offset: 1px;
}

.pit-chatbot-icon {
	width: 14px;
	height: 14px;
	fill: currentColor;
	flex: 0 0 auto;
}

.pit-chatbot-restart,
.pit-chatbot-fullscreen-text,
.pit-chatbot-close-text {
	font-size: 0.82rem;
	font-weight: 700;
}

.pit-chatbot-messages {
	overflow-y: auto;
	overscroll-behavior: contain;
	max-height: 260px;
	min-height: 120px;
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 8px;
	padding-right: 4px;
	-webkit-overflow-scrolling: touch;
}

.pit-chatbot.is-fullscreen .pit-chatbot-messages {
	max-height: none;
	min-height: 0;
	flex: 0 0 auto;
	overflow: visible;
}

.pit-chatbot.is-fullscreen .pit-chatbot-form {
	flex: 0 0 auto;
}

.pit-chatbot-current-question,
.pit-chatbot-form,
.pit-chatbot-privacy {
	flex: 0 0 auto;
}

.pit-chatbot-current-question {
	margin-bottom: 8px;
	padding: 8px 10px;
	border: 1px solid #dfe3ff;
	border-radius: 10px;
	background: #f7f8ff;
	color: #000043;
	font-weight: 700;
}

.pit-chatbot-current-question[hidden] {
	display: none;
}

.pit-chatbot-message {
	padding: 9px 11px;
	border-radius: 12px;
	line-height: 1.35;
}

.pit-chatbot-message-bot {
	align-self: flex-start;
	background: #eef1ff;
	color: #000043;
}

.pit-chatbot-message-user {
	align-self: flex-end;
	background: #000043;
	color: #fff;
}

.pit-chatbot-options {
	display: grid;
	gap: 8px;
}

.pit-chatbot-choice {
	width: 100%;
	border-radius: 8px;
	text-align: left;
	box-shadow: none;
}

.pit-chatbot-input {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid #cdd3ff;
	border-radius: 8px;
	min-height: 52px;
	resize: vertical;
}

.pit-chatbot-submit {
	margin-top: 8px;
	box-shadow: none;
}

.pit-chatbot-result {
	display: grid;
	gap: 6px;
	padding: 10px;
	border: 1px solid #d7dbe1;
	border-radius: 8px;
	background: #fafbff;
}

.pit-chatbot-result span,
.pit-chatbot-privacy {
	font-size: 0.84rem;
	color: #4b5563;
}

.pit-chatbot-result ul {
	margin: 0 0 0 18px;
	padding: 0;
	font-size: 0.86rem;
}

.pit-chatbot-institute-link {
	color: #000043;
	font-weight: 700;
	text-decoration: underline;
}

.pit-chatbot-result .pit-link {
	justify-self: start;
	padding: 7px 10px;
}

@media (max-width: 768px) {
	.pit-single .pit-summary-grid,
	.pit-catalog .pit-category-grid {
		grid-template-columns: 1fr;
	}

	.pit-single .pit-single-header,
	.pit-catalog .pit-course-card,
	.pit-single .pit-summary-grid > div,
	.pit-catalog .pit-empty-state {
		padding: 14px;
	}

	.pit-single .pit-section {
		padding: 0;
	}

	.pit-single .pit-section-summary {
		padding: 14px;
		gap: 12px;
	}

	.pit-single .pit-section-content {
		padding: 12px 14px 14px;
	}

	.pit-catalog .pit-course-card h3 {
		min-height: 0;
		-webkit-line-clamp: unset;
	}
}

@media (max-width: 640px) {
	.pit-chatbot {
		right: 12px;
		bottom: 12px;
	}

	.pit-chatbot-panel {
		right: -2px;
		bottom: 54px;
		width: calc(100vw - 20px);
		max-height: min(76vh, calc(100vh - 82px));
		padding: 12px;
	}

	.pit-chatbot.is-fullscreen .pit-chatbot-panel {
		inset: 0;
		width: 100vw;
		height: 100dvh;
		max-height: none;
		border-radius: 0;
		border: 0;
		padding: 14px;
		overflow-x: hidden;
		overflow-y: auto;
	}

	.pit-chatbot-restart,
	.pit-chatbot-fullscreen-text,
	.pit-chatbot-close-text {
		font-size: 0.78rem;
	}

	.pit-chatbot .pit-chatbot-messages {
		max-height: min(44vh, 360px);
	}

	.pit-chatbot.is-fullscreen .pit-chatbot-messages {
		max-height: none;
		min-height: 0;
		flex: 0 0 auto;
		overflow: visible;
	}

	.pit-catalog .pit-search {
		flex-direction: column;
	}

	.pit-catalog .pit-search input[type="search"],
	.pit-catalog .pit-search button,
	.pit-single .pit-download,
	.pit-single .pit-link {
		width: 100%;
	}

	.pit-catalog .pit-breadcrumbs {
		row-gap: 6px;
	}

	.pit-catalog .pit-results-toolbar {
		align-items: flex-start;
		flex-direction: column;
	}

	.pit-catalog .pit-results--list .pit-course-card {
		grid-template-columns: 1fr;
		grid-template-areas:
			"title"
			"meta"
			"level"
			"match"
			"action";
	}

	.pit-catalog .pit-results--list .pit-course-card > p:last-child {
		align-self: stretch;
	}

	.pit-single .pit-download-list {
		flex-direction: column;
	}
}
