/* NRC — hero (from template) */

.hero {
	position: relative;
	z-index: 2;
	background: linear-gradient(120deg, #f59415 0%, #f08700 60%, #e87f04 100%);
	color: #fff;
}

.hero__inner {
	position: relative;
	display: grid;
	gap: clamp(2rem, 5vw, 4rem);
	align-items: center;
	padding-block: clamp(2rem, 4.5vw, 3.5rem);
}

@media (min-width: 900px) {
	.hero__inner {
		grid-template-columns: 1.1fr 0.9fr;
	}
}

.hero__content {
	max-width: 36rem;
}

.hero__title {
	color: #fff;
	font-size: clamp(2.25rem, 4.6vw, 3.4rem);
	line-height: 1.08;
	margin-block: 0.75rem 1rem;
}

.hero__text {
	font-size: 1.125rem;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.9);
	max-width: 34rem;
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 1.5rem;
}

.hero__media {
	position: relative;
}

.hero__media .media {
	aspect-ratio: 4 / 5;
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 24px 50px rgba(74, 32, 8, 0.28);
}

.hero__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

@media (min-width: 900px) {
	.hero__media {
		margin-bottom: -100px;
	}
}

.hero + main .intro-block:first-child {
	background: #fff;
}

@media (min-width: 992px) {
	.hero:not(.hero--cover) .hero__inner {
		padding-bottom: calc(5.5rem + 40px);
	}

	.hero:not(.hero--cover) .hero__media {
		margin-bottom: calc(-5.5rem - 120px);
	}

	.hero:not(.hero--cover) + main .intro-block:first-child {
		padding-top: calc(4rem + 80px);
	}
}

.hero--cover {
	background: var(--color-sand, #f1e9de);
	min-height: clamp(22rem, 52vw, 38rem);
	display: flex;
	align-items: flex-end;
	padding-block: clamp(4.5rem, 10vw, 8rem) 0;
	overflow: visible;
}

.hero--cover .hero__backdrop {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.hero--cover .hero__backdrop img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.hero--cover .container {
	position: relative;
	z-index: 1;
	width: 100%;
}

.hero--cover .hero__card {
	--hero-card-overlap: clamp(2.25rem, 5vw, 4.25rem);
	background: linear-gradient(120deg, #f59415 0%, #f08700 60%, #e87f04 100%);
	color: #fff;
	border-radius: var(--radius-lg, 20px);
	padding: clamp(1.5rem, 3.5vw, 2.5rem) clamp(1.5rem, 3.5vw, 2.75rem);
	max-width: 36rem;
	margin-bottom: calc(-1 * var(--hero-card-overlap));
	box-shadow: 0 24px 50px rgba(74, 32, 8, 0.28);
}

.hero--cover .hero__content {
	max-width: none;
}

.hero--cover .eyebrow {
	color: #fff;
}

.hero--cover .eyebrow::before {
	background: #fff;
}

.hero--cover + main > :first-child {
	padding-top: calc(var(--section-padding-y, 4rem) + clamp(2.25rem, 5vw, 4.25rem));
}

.page-header {
	background: linear-gradient(180deg, #6e4a36 0%, #5a3a2a 100%);
	color: #f1e9de;
	padding-block: clamp(2.5rem, 6vw, 4.5rem);
}

.page-header h1 {
	color: #fff;
}

.page-header .lead {
	color: rgba(255, 255, 255, 0.75);
	margin-top: 0.75rem;
}

.page-header--book {
	position: relative;
	z-index: 2;
	overflow: visible;
	padding-top: 50px;
	padding-bottom: calc(2.25rem + 40px);
}

.page-header--book .page-header__inner {
	display: grid;
	grid-template-columns: 12rem minmax(0, 1fr);
	gap: 1.25rem 1.5rem;
	align-items: start;
}

.page-header--book .breadcrumbs {
	margin-top: 20px;
}

.page-header--book .page-header__cover {
	width: 12rem;
	height: 0;
	overflow: visible;
}

.page-header--book .page-header__content h1 {
	margin-top: 0;
}

.page-header--book .book-cover.book-cover--hero {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	box-sizing: border-box;
	width: 100%;
	height: auto;
	min-height: 0;
	background: #fff;
	padding: 0.9rem 0.9rem 0.75rem;
	border-radius: var(--radius-md, 12px);
	box-shadow: 0 18px 40px rgba(46, 30, 18, 0.28);
	max-width: none;
}

.page-header--book .book-cover.book-cover--hero img {
	width: 100%;
	max-width: 100%;
	max-height: none;
	min-width: 0;
	height: auto;
	margin: 0;
	object-fit: contain;
	display: block;
}

.book-cover__zoom {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	margin-top: 0.65rem;
	color: var(--color-rust, #8a4b2a);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.01em;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
}

.book-cover__zoom:hover {
	color: var(--color-orange, #f08700);
}

.book-cover__zoom svg {
	flex-shrink: 0;
}

.page-header--book + main > .section:first-child {
	padding-top: calc(var(--section-padding-y, 3rem) + 5.5rem);
}

@media (min-width: 768px) {
	.page-header--book .page-header__inner {
		grid-template-columns: 15.5rem minmax(0, 1fr);
		gap: 1.5rem 2rem;
		align-items: start;
	}

	.page-header--book .page-header__cover {
		width: 15.5rem;
	}

	.book-cover__zoom {
		font-size: 0.8125rem;
	}
}

@media (min-width: 960px) {
	.book-detail-layout {
		grid-template-columns: minmax(0, 1fr) 340px;
		gap: var(--space-xl, 2.5rem);
	}
}

@media (min-width: 1080px) {
	.book-detail-layout {
		grid-template-columns: minmax(0, 1fr) 360px;
		gap: 3rem;
	}
}

.book-detail-layout .prose,
.book-detail-layout .prose p,
.book-detail-layout .prose li {
	max-width: none;
}

.badge--orange {
	display: inline-block;
	margin-bottom: 1rem;
	padding: 0.25rem 0.75rem;
	border-radius: 999px;
	background: #f08700;
	color: #fff;
	font-size: 0.8125rem;
	font-weight: 600;
}

.block-space--none {
	padding-bottom: 0;
}

.block-space--small {
	padding-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.block-space--large {
	padding-bottom: clamp(4.5rem, 10vw, 8rem);
}

.cta-block {
	padding-top: 0;
}

.text-image__media .media--video {
	aspect-ratio: 16 / 9;
}

.text-image__media .media--video iframe {
	width: 100%;
	height: 100%;
	border: 0;
	display: block;
}

.text-image__content h2 + .lead,
.text-image__content h2 + .text-image__text {
	margin-top: var(--space-lg, 1.5rem);
}

.text-image--text {
	grid-template-columns: 1fr;
}

@media (min-width: 800px) {
	.text-image.text-image--text {
		grid-template-columns: 1fr;
	}
}

.text-image--text .text-image__content,
.text-image--text .text-image__text {
	max-width: none;
}

.text-image--text .text-image__text h3 {
	margin: var(--space-xl, 2rem) 0 var(--space-sm, 0.5rem);
	font-size: var(--fs-600, 1.25rem);
}

.text-image--text .text-image__text h3:first-child {
	margin-top: 0;
}

.text-image--text .text-image__text ul {
	margin: 0 0 var(--space-md, 1rem);
	padding: 0;
	list-style: none;
}

.text-image--text .text-image__text ul li {
	position: relative;
	padding-left: 1.6rem;
	margin-bottom: var(--space-xs, 0.35rem);
}

.text-image--text .text-image__text ul li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.65em;
	width: 8px;
	height: 8px;
	border-radius: 2px;
	background: var(--color-orange, #f08700);
	transform: rotate(45deg);
}

.text-image--text .text-image__content p,
.text-image--text .text-image__text p,
.text-image--text .text-image__note {
	max-width: none;
}

.text-image--text .text-image__text p {
	margin: 0 0 var(--space-md, 1rem);
}

.text-image--text .text-image__note {
	margin-top: var(--space-md, 1rem);
	color: var(--text-muted, #6f655c);
	font-size: var(--fs-300, 0.875rem);
}

.text-people {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--space-lg, 1.5rem);
	margin: var(--space-md, 1rem) 0 var(--space-xl, 2rem);
	max-width: 32rem;
}

.text-people figure {
	margin: 0;
}

.text-people img {
	display: block;
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	border-radius: var(--radius-md, 12px);
}

.text-people figcaption {
	margin-top: 0.5rem;
	font-size: var(--fs-300, 0.875rem);
	line-height: 1.4;
}

.intro-block {
	padding-top: clamp(1.5rem, 3vw, 2.5rem);
	padding-bottom: clamp(4rem, 8vw, 7.5rem);
}

.intro-block__inner {
	max-width: 960px;
	text-align: center;
}

.intro-block .eyebrow {
	justify-content: center;
}

.intro-block h2 {
	margin-top: 0.75rem;
}

.intro-block .lead {
	margin-top: 1rem;
	margin-inline: auto;
}

@media (min-width: 992px) {
	.footer-top {
		grid-template-columns: 170px minmax(0, 1fr) minmax(0, 1fr) 300px;
		column-gap: 2.5rem;
	}

	.footer-brand {
		max-width: none;
		padding-right: 30px;
	}
}

.footer-col .footer-contact {
	margin-top: 0;
}

.footer-col .social-links {
	margin-top: 0.25rem;
}

.course-featured {
	margin-bottom: var(--space-xl, 2.5rem);
}

.faq {
	margin-top: var(--space-2xl, 4rem);
}

.faq h2 {
	margin-bottom: var(--space-md, 1rem);
}

.info-card__actions {
	display: flex;
	flex-direction: column;
	gap: var(--space-sm, 0.75rem);
	margin-top: var(--space-md, 1rem);
}

.info-list__dates {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.15rem;
}

.info-list__series {
	display: block;
	margin-top: 0.45rem;
	font-size: 0.625rem;
	font-style: normal;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--text-meta, #8c8178);
}

.info-list__series:first-child {
	margin-top: 0;
}

.info-list li:has(.info-list__series) {
	align-items: start;
}

@media (min-width: 960px) {
	.course-sidebar {
		position: sticky;
		top: calc(var(--header-height, 4.5rem) + var(--topbar-height, 2.25rem) + var(--space-md, 1rem));
	}

	.course-sidebar .info-card {
		position: static;
	}
}

.course-teachers {
	margin-top: var(--space-xl, 2.5rem);
}

.course-teachers__title {
	font-family: var(--font-body, inherit);
	font-size: 0.75rem;
	font-style: normal;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--text-meta, #8c8178);
	margin: 0 0 1rem;
}

.course-teachers__list {
	display: grid;
	gap: 0.75rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.course-teachers__item {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	color: inherit;
	text-decoration: none;
}

.course-teachers__item:hover .course-teachers__name {
	color: var(--color-orange, #f08700);
}

.course-teachers__photo {
	flex-shrink: 0;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	overflow: hidden;
	background: var(--color-sand, #f1e9de);
}

.course-teachers__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.course-teachers__name {
	font-size: 0.9375rem;
	font-weight: 500;
	line-height: 1.3;
	transition: color 0.2s ease;
}

.teachers-grid {
	display: grid;
	gap: 1rem;
	margin: 0;
	padding: 0;
	list-style: none;
	grid-template-columns: 1fr;
}

@media (min-width: 640px) {
	.teachers-grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (min-width: 900px) {
	.teachers-grid {
		grid-template-columns: 1fr 1fr 1fr;
	}
}

@media (min-width: 1100px) {
	.teachers-grid {
		grid-template-columns: 1fr 1fr 1fr 1fr;
	}
}

.teachers-grid > li {
	min-width: 0;
	display: flex;
}

.teachers-grid .teachers-tile {
	width: 100%;
}

.teachers-slider__actions {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	margin-inline-start: auto;
	flex-wrap: wrap;
}

.teachers-slider__nav {
	display: flex;
	gap: 0.5rem;
}

.teachers-slider__btn {
	display: grid;
	place-items: center;
	width: 2.75rem;
	height: 2.75rem;
	padding: 0;
	border: 1px solid var(--color-line-strong, #d8cabb);
	border-radius: 50%;
	background: var(--color-white, #fff);
	color: var(--color-ink, #1c1a18);
	cursor: pointer;
	transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}

.teachers-slider__btn:hover:not(:disabled) {
	border-color: var(--color-orange, #f08700);
	color: var(--color-orange, #f08700);
}

.teachers-slider__btn:focus-visible {
	outline: 3px solid var(--color-orange, #f08700);
	outline-offset: 2px;
}

.teachers-slider__btn:disabled {
	opacity: 0.35;
	cursor: default;
}

.teachers-slider__nav[hidden] {
	display: none;
}

.teachers-slider__viewport {
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scroll-padding-inline: 0;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
	padding-block: 0.5rem 1.25rem;
	margin-block: -0.5rem -0.25rem;
}

.teachers-slider__viewport::-webkit-scrollbar {
	display: none;
}

.teachers-slider {
	--teachers-gap: 1rem;
	--teachers-cols: 1;
}

@media (min-width: 640px) {
	.teachers-slider {
		--teachers-cols: 2;
	}
}

@media (min-width: 1100px) {
	.teachers-slider {
		--teachers-cols: 4;
	}
}

.teachers-slider__track {
	display: flex;
	gap: var(--teachers-gap);
	margin: 0;
	padding: 0;
	list-style: none;
}

.teachers-slider__slide {
	flex: 0 0 calc((100% - (var(--teachers-cols) - 1) * var(--teachers-gap)) / var(--teachers-cols));
	scroll-snap-align: start;
	min-width: 0;
}

.teachers-tile {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	height: 100%;
	gap: 0.85rem;
	padding: 1.35rem 1rem 1.2rem;
	background: var(--color-white, #fff);
	border: 1px solid var(--color-line, #e7ddd0);
	border-radius: var(--radius-md, 12px);
	color: inherit;
	text-decoration: none;
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.teachers-tile:hover {
	color: inherit;
	text-decoration: none;
	border-color: var(--color-line-strong, #d8cabb);
	box-shadow: var(--shadow-md, 0 8px 24px rgba(28, 26, 24, 0.08));
	transform: translateY(-2px);
}

.teachers-tile:hover .teachers-tile__name {
	color: var(--color-orange, #f08700);
}

.teachers-tile__photo {
	width: 5.5rem;
	height: 5.5rem;
	border-radius: 50%;
	overflow: hidden;
	background: var(--color-sand, #f1e9de);
	flex-shrink: 0;
}

.teachers-tile__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.teachers-tile__name {
	font-size: 1.0625rem;
	line-height: 1.25;
	margin: 0 0 0.3rem;
	transition: color 0.2s ease;
}

.teachers-tile__intro {
	margin: 0;
	color: var(--text-muted, #6f655c);
	font-size: 0.8125rem;
	line-height: 1.45;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
	.teachers-slider__viewport {
		scroll-behavior: auto;
	}

	.teachers-tile,
	.teachers-tile:hover {
		transform: none;
	}
}

.teacher-modal .modal-content {
	position: relative;
	border: 0;
	border-radius: var(--radius-lg, 20px);
	overflow: hidden;
	box-shadow: 0 24px 50px rgba(28, 26, 24, 0.2);
}

.teacher-modal .modal-body {
	padding: clamp(1.5rem, 4vw, 2.25rem);
}

.teacher-modal__close {
	position: absolute;
	top: 0.85rem;
	right: 0.85rem;
	z-index: 2;
}

.teacher-modal__layout {
	display: grid;
	gap: 1.25rem;
	padding-right: 1.5rem;
}

@media (min-width: 640px) {
	.teacher-modal__layout {
		grid-template-columns: 8.5rem 1fr;
		align-items: start;
		gap: 1.5rem;
		padding-right: 2rem;
	}
}

.teacher-modal__photo {
	width: 8.5rem;
	height: 8.5rem;
	border-radius: var(--radius-md, 12px);
	overflow: hidden;
	background: var(--color-sand, #f1e9de);
}

.teacher-modal__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.teacher-modal__title {
	margin: 0 0 0.75rem;
	font-size: clamp(1.35rem, 3vw, 1.75rem);
}

.teacher-modal__intro {
	color: var(--text-muted, #6f655c);
	font-size: 1rem;
	line-height: 1.6;
}

.teacher-modal__intro p:last-child {
	margin-bottom: 0;
}

.book-preview-modal .modal-dialog {
	width: calc(100vw - 1.5rem);
	max-width: none;
	height: calc(100dvh - 1.5rem);
	margin: 0.75rem auto;
}

.book-preview-modal .modal-content {
	display: flex;
	flex-direction: column;
	height: 100%;
	border: 0;
	border-radius: var(--radius-md, 12px);
	overflow: hidden;
	background: #1c1a18;
}

.book-preview-modal__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	flex: 0 0 auto;
	padding: 0.7rem 1rem;
	background: #1c1a18;
	color: #fff;
}

.book-preview-modal__title {
	margin: 0;
	color: #fff;
	font-size: 1rem;
	font-weight: 600;
}

.book-preview-modal .modal-body {
	position: relative;
	flex: 1 1 auto;
	padding: 0;
	min-height: 0;
	background: #111;
}

.book-preview-modal iframe {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
	background: #fff;
}

.partners-block__title {
	text-align: center;
	color: var(--text-meta, #8c8178);
	font-size: 0.8125rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	margin-bottom: 2.5rem;
}

.course-tiles--compact {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.65rem;
	margin-top: 0;
}

.course-tiles--compact .course-tile {
	align-items: stretch;
	gap: 0.75rem;
}

.course-tiles--compact .course-tile__media {
	width: 104px;
}

.course-tiles--compact .course-tile__body {
	padding: 0.7rem 1rem 0.7rem 0;
	justify-content: center;
	gap: 0.2rem;
}

.course-tiles--compact .course-tile__title {
	font-size: var(--fs-500, 1.125rem);
	line-height: 1.3;
}

.course-tiles--compact .course-tile__meta {
	margin-top: 0.15rem;
	gap: 2px 0.85rem;
	font-size: var(--fs-300, 0.8125rem);
}

@media (min-width: 992px) {
	.course-tiles--compact {
		grid-template-columns: 1fr 1fr;
		gap: 0.75rem;
	}
}

@media (max-width: 480px) {
	.course-tiles--compact .course-tile__media {
		width: 84px;
	}

	.course-tiles--compact .course-tile__body {
		padding: 0.55rem 0.75rem 0.55rem 0;
	}
}

.course-agenda__month > .course-agenda__empty {
	grid-column: 2;
}

.course-agenda__empty {
	margin: 0;
	font-size: 0.8125rem;
	color: var(--text-meta, #8c8178);
	font-style: italic;
}

.course-overview__toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem 1.25rem;
	margin-bottom: var(--space-xl, 2.5rem);
}

.course-overview__toolbar .view-tabs {
	margin-bottom: 0;
}

.course-overview__toolbar .hero__actions {
	margin-top: 0;
}

.docent-back {
	margin: 0 0 1.25rem;
}

.featured-courses-banners .intro-col .eyebrow + .intro-col__title {
	margin-top: var(--space-sm, 0.5rem);
}

.featured-courses-banners .btn svg {
	margin-left: 0.25em;
}

.link-arrow--back:hover svg {
	transform: translateX(-4px);
}

/* Book covers sit on white and are never cropped */
.book-entry__cover {
	background: #fff;
}

.book-entry__cover img {
	object-fit: contain;
	background: #fff;
}

.book-entry__sep {
	color: var(--text-meta, #8c8178);
	padding-inline: 0.15em;
}

.book-cover {
	background: #fff;
	max-width: 340px;
	display: flex;
	align-items: flex-start;
	justify-content: flex-start;
	padding: 0;
	border: 0;
}

.book-cover img {
	position: static;
	inset: auto;
	width: auto;
	height: auto;
	min-width: 180px;
	max-width: 100%;
	object-fit: contain;
	display: block;
}

.book-meta-status {
	margin-top: var(--space-md, 1rem);
}

@media (min-width: 992px) {
	.book-detail-layout .text-image {
		grid-template-columns: auto minmax(0, 1fr);
		gap: 50px;
		align-items: start;
		justify-content: start;
	}

	.book-detail-layout .text-image__content {
		max-width: none;
	}

	.book-cover img {
		min-width: 260px;
		width: 260px;
	}

	.page-header--book .book-cover.book-cover--hero img {
		width: 100%;
		min-width: 0;
		max-width: 100%;
		max-height: none;
	}
}

.related-combined__grid {
	display: grid;
	gap: 2.75rem;
}

@media (min-width: 960px) {
	.related-combined__grid--split {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		gap: 2.5rem 3.5rem;
		align-items: start;
	}
}

.related-combined__col .section-header {
	max-width: none;
	margin-bottom: 1.35rem;
}

.related-combined__col .section-header h2 {
	font-size: var(--fs-700, 1.65rem);
}

.related-combined .book-grid,
.related-combined .news-grid {
	grid-template-columns: 1fr;
}

.related-combined .news-grid {
	gap: var(--space-md, 1rem);
}

.related-combined .news-tile--compact {
	align-items: center;
	gap: 0.9rem;
	padding: 0.85rem 1rem;
	background: var(--color-white, #fff);
	border: 1px solid var(--color-line, #e6ddd3);
	border-radius: var(--radius-md, 12px);
}

.related-combined .news-tile--compact .news-tile__media {
	width: 4.25rem;
	height: 4.25rem;
	border-radius: var(--radius-sm, 6px);
}

.related-combined .news-tile--compact .news-tile__body {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	min-width: 0;
}

.related-combined .news-tile--compact .news-tile__title {
	order: -1;
	font-size: var(--fs-400, 1rem);
}

.related-combined .news-tile--compact .news-tile__date {
	margin: 0;
	font-size: 0.75rem;
}

.form-block__panel {
	background: var(--color-sand, #f1e9de);
	border-radius: var(--radius-lg, 20px);
	padding: clamp(1.5rem, 4vw, 2.5rem);
}

.form-block__panel .section-header {
	max-width: none;
	margin-bottom: var(--space-lg, 1.5rem);
}

.gform_wrapper,
.gform_wrapper.gform-theme--framework,
.gform_wrapper.gform-theme--api,
.gform-theme--framework,
.gform-theme--api {
	--gf-color-primary: #f08700;
	--gf-color-primary-rgb: 240, 135, 0;
	--gf-color-primary-darker: #d27600;
	--gf-color-primary-lighter: #d27600;
	--gf-ctrl-border-color-focus: #f08700;
	--gf-ctrl-outline-color-focus: rgba(240, 135, 0, 0.45);
	--gf-local-outline-color: rgba(240, 135, 0, 0.45);
	--gf-font-family-primary: var(--font-body, "DIN", sans-serif);
	font-family: var(--font-body, "DIN", sans-serif);
}

.gform_wrapper .gform_heading,
.gform_wrapper .gform_title {
	font-family: var(--font-heading, "Caecilia", serif);
	font-style: italic;
	font-weight: 600;
	color: var(--text-base, #1c1a18);
}

.gform_wrapper .gfield_label,
.gform_wrapper legend.gfield_label {
	font-family: var(--font-body, "DIN", sans-serif);
	font-size: var(--fs-300, 0.8125rem);
	font-weight: 600;
	color: var(--text-base, #1c1a18);
}

.gform_wrapper .gfield_required {
	color: var(--color-rust, #944d3b) !important;
	font-style: italic;
	font-weight: 400;
}

.gform_wrapper input[type="text"],
.gform_wrapper input[type="email"],
.gform_wrapper input[type="tel"],
.gform_wrapper input[type="url"],
.gform_wrapper input[type="number"],
.gform_wrapper input[type="password"],
.gform_wrapper select,
.gform_wrapper textarea {
	width: 100%;
	padding: 0.8rem 1rem;
	border: 1px solid var(--color-line-strong, #d8cabb);
	border-radius: var(--radius-sm, 6px);
	background: var(--color-white, #fff);
	color: var(--text-base, #1c1a18);
	font-family: var(--font-body, "DIN", sans-serif);
	font-size: var(--fs-400, 1rem);
	box-shadow: none;
}

.gform_wrapper input:focus,
.gform_wrapper input:focus-visible,
.gform_wrapper select:focus,
.gform_wrapper select:focus-visible,
.gform_wrapper textarea:focus,
.gform_wrapper textarea:focus-visible,
.gform_wrapper .form-control:focus,
.gform_wrapper .form-control:focus-visible {
	border-color: var(--color-orange, #f08700) !important;
	outline: 3px solid rgba(240, 135, 0, 0.45) !important;
	outline-offset: 0 !important;
	box-shadow: none !important;
}

.gform_wrapper textarea {
	min-height: 140px;
	resize: vertical;
}

.gform_wrapper .gform_footer,
.gform_wrapper .gform_page_footer {
	padding: 0.5rem 0 0;
	margin: 0;
}

.gform_wrapper .gform_button,
.gform_wrapper .gform_next_button,
.gform_wrapper .gform-button--primary,
.gform_wrapper input[type="submit"],
.gform_wrapper button[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.85em 1.6em;
	border: 2px solid transparent;
	border-radius: var(--radius-pill, 999px);
	background: var(--color-orange, #f08700) !important;
	color: var(--color-white, #fff) !important;
	font-family: var(--font-body, "DIN", sans-serif);
	font-size: var(--fs-400, 1rem);
	font-weight: 600;
	line-height: 1.1;
	cursor: pointer;
	transition: background 0.2s ease, transform 0.2s ease;
}

.gform_wrapper .gform_button:hover,
.gform_wrapper .gform_next_button:hover,
.gform_wrapper .gform-button--primary:hover,
.gform_wrapper input[type="submit"]:hover,
.gform_wrapper button[type="submit"]:hover {
	background: var(--color-orange-dark, #d27600) !important;
	color: var(--color-white, #fff) !important;
	transform: translateY(-1px);
}

.gform_wrapper .gform_confirmation_message {
	font-family: var(--font-body, "DIN", sans-serif);
	color: var(--text-base, #1c1a18);
}

.contact-info__col h2 {
	margin: 0.35rem 0 1.25rem;
}

.contact-info__media {
	margin-bottom: 0;
}

@media (min-width: 992px) {
	.contact-info__col--visit {
		display: flex;
		flex-direction: column;
	}

	.contact-info__media {
		flex: 1 1 auto;
		height: 100%;
		aspect-ratio: auto;
	}
}

.contact-info__lead {
	margin: -0.5rem 0 1.25rem;
	color: var(--text-muted, #6b6460);
}

.contact-info__col--reach {
	background: var(--color-sand, #f3ebe3);
	border-radius: var(--radius-md, 12px);
	padding: var(--space-xl, 2rem);
}

.section--sand .contact-info__col--reach,
.section--white .contact-info__col--reach {
	background: var(--color-cream, #faf6f1);
}

.contact-info .contact-detail:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.topbar__links {
	gap: var(--space-md, 1rem);
}

.topbar__links a.topbar__contact {
	color: var(--color-white, #fff);
	font-weight: var(--fw-semibold);
	padding: 0.35em 0.95em;
	transform: none;
}

.topbar__links a.topbar__contact:hover {
	color: var(--color-white, #fff);
	background: var(--color-orange-dark, #d27600);
	transform: none;
}

@media (max-width: 720px) {
	.topbar__links {
		display: flex;
	}

	.topbar__phone {
		display: none;
	}
}

.news-hero {
	background: var(--color-cream, #faf6f1);
	padding-block: clamp(2rem, 5vw, 3.5rem) clamp(1.25rem, 3vw, 2rem);
}

.news-hero h1 {
	max-width: 22ch;
	margin: 0.35rem 0 0;
	color: var(--color-ink, #1c1a18);
}

.news-hero .breadcrumbs {
	color: var(--text-muted, #6f655c);
}

.news-hero .breadcrumbs a {
	color: var(--color-ink, #1c1a18);
}

.news-hero .breadcrumbs a:hover {
	color: var(--color-orange, #f08700);
}

.news-hero .breadcrumbs li:not(:last-child)::after {
	color: var(--color-line-strong, #d8cabb);
}

.news-hero + main .news-detail--has-media {
	--news-media-overlap: clamp(3.5rem, 8vw, 6rem);
	position: relative;
	background: var(--color-cream, #faf6f1);
	padding-top: 0;
}

.news-hero + main .news-detail--has-media::before {
	content: "";
	position: absolute;
	inset: var(--news-media-overlap) 0 0;
	background: var(--color-white, #fff);
	pointer-events: none;
}

.news-hero + main .news-detail--has-media > .container {
	position: relative;
	z-index: 1;
}

@media (min-width: 960px) {
	.news-hero + main .news-detail--has-media .news-related {
		padding-top: calc(var(--news-media-overlap) + 30px);
	}
}

.news-detail__media {
	margin-bottom: var(--space-xl, 2rem);
}

.news-grid {
	display: grid;
	gap: var(--space-xl, 2rem);
}

@media (min-width: 700px) {
	.news-grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (min-width: 1100px) {
	.news-grid {
		grid-template-columns: 1fr 1fr 1fr;
	}
}

.news-tile {
	display: flex;
	flex-direction: column;
	color: inherit;
	text-decoration: none;
}

.news-tile:hover {
	color: inherit;
	text-decoration: none;
}

.news-tile__media {
	display: block;
	aspect-ratio: 16 / 9;
	border-radius: var(--radius-md, 12px);
	overflow: hidden;
	background: var(--color-sand, #f1e9de);
	margin-bottom: 0.85rem;
}

.news-tile__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.news-tile__date {
	display: block;
	font-size: var(--fs-300, 0.875rem);
	color: var(--text-muted, #6f655c);
	margin-bottom: 0.25rem;
}

.news-tile__title {
	display: block;
	font-family: var(--font-heading, Georgia, serif);
	font-size: var(--fs-500, 1.125rem);
	font-weight: 600;
	line-height: 1.25;
	color: var(--color-ink, #1c1a18);
}

.news-tile:hover .news-tile__title {
	color: var(--color-orange, #f08700);
}

.news-tile__excerpt {
	display: block;
	margin-top: 0.4rem;
	font-size: var(--fs-300, 0.875rem);
	line-height: 1.5;
	color: var(--text-muted, #6f655c);
}

.news-tile--compact {
	flex-direction: row;
	align-items: center;
	gap: 0.85rem;
}

.news-tile--compact .news-tile__media {
	width: 5.25rem;
	height: 5.25rem;
	aspect-ratio: 1;
	margin-bottom: 0;
	flex-shrink: 0;
}

.news-tile--compact .news-tile__title {
	font-size: var(--fs-400, 1rem);
}

.news-related h2 {
	margin: 0.35rem 0 1.25rem;
}

.news-related__list {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.news-pagination {
	margin-top: var(--space-2xl, 3rem);
}

.news-pagination .page-numbers {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	justify-content: center;
	list-style: none;
	margin: 0;
	padding: 0;
}

.news-pagination .page-numbers a,
.news-pagination .page-numbers span {
	display: grid;
	place-items: center;
	min-width: 2.5rem;
	height: 2.5rem;
	padding: 0 0.7rem;
	border: 1px solid var(--color-line-strong, #d8cabb);
	border-radius: var(--radius-pill, 999px);
	color: var(--color-ink, #1c1a18);
	text-decoration: none;
	font-weight: 600;
	font-size: var(--fs-300, 0.875rem);
}

.news-pagination .page-numbers a:hover {
	border-color: var(--color-orange, #f08700);
	color: var(--color-orange, #f08700);
}

.news-pagination .page-numbers .current {
	background: var(--color-orange, #f08700);
	border-color: var(--color-orange, #f08700);
	color: #fff;
}

.news-detail__content .section {
	padding-block: 0 1.5rem;
	background: transparent;
}

.news-detail__content .news-figure {
	margin: 1.25rem 0 1.75rem;
}

.news-detail__content .news-figure img {
	display: block;
	width: 100%;
	border-radius: var(--radius-md, 12px);
}

.site-logo__img {
	height: 37px;
}

.footer-brand__logo {
	background: none;
	padding: 0;
	border-radius: 0;
}

.footer-brand__logo .site-logo__img {
	height: 40px;
}

@media (max-width: 600px) {
	.site-logo__img {
		height: 30px;
	}
}

.books-featured .book-showcase {
	margin-top: 0;
}

@media (min-width: 900px) {
	.book-showcase--solo {
		grid-template-columns: 1fr;
	}

	.book-showcase--solo .book-feature {
		max-width: 52rem;
	}
}

.books-featured .section-header--split .section-header__text p {
	color: var(--text-muted, #6f655c);
	margin: 0;
}

.book-feature__media {
	overflow: hidden;
	background: transparent;
	box-shadow: none;
}

.book-feature__media.media--photo {
	background: transparent;
}

.book-feature__media img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
}

.book-feature__body .book-feature__meta {
	margin-top: 0.35rem;
	font-size: var(--fs-300, 0.8125rem);
	line-height: 1.45;
	color: var(--text-muted, #6f655c);
}

.book-feature__meta em {
	color: var(--text-meta, #8c8178);
	font-style: italic;
}

.book-tile {
	align-items: flex-start;
}

.book-tile__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.book-tile__body {
	gap: 0.2rem;
}

.book-tile__meta {
	font-size: var(--fs-300, 0.8125rem);
	line-height: 1.45;
	color: var(--text-muted, #6f655c);
}

.book-tile__meta em {
	color: var(--text-meta, #8c8178);
	font-style: italic;
}

.books-featured .book-tile__price {
	font-family: var(--font-heading);
	font-size: var(--fs-400, 1rem);
	font-weight: var(--fw-bold, 700);
	font-style: italic;
	color: var(--text-base, #1a1a1a);
	margin-top: 0.15rem;
}

.search-hero h1 {
	max-width: 28ch;
}

.search-hero__meta {
	margin: 0.5rem 0 0;
	color: var(--text-muted, #6f655c);
}

.search-results__toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem 1.25rem;
	margin-bottom: 2rem;
}

.search-results__toolbar .view-tabs {
	margin-bottom: 0;
}

.search-results__form {
	display: flex;
	flex: 1 1 14rem;
	align-items: center;
	gap: 0.45rem;
	margin: 0 0 0 auto;
	max-width: 22rem;
}

.search-results__form .search-panel__input {
	flex: 1 1 auto;
	min-width: 0;
	padding: 0.5rem 0.95rem;
	font-size: var(--fs-300, 0.8125rem);
}

.view-tab__count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 1.4em;
	margin-left: 0.4em;
	padding: 0.1em 0.45em;
	border-radius: 999px;
	background: rgba(28, 26, 24, 0.08);
	font-size: 0.8em;
	font-weight: 600;
	line-height: 1.2;
}

.view-tab.is-active .view-tab__count {
	background: rgba(255, 255, 255, 0.22);
	color: #fff;
}

.search-results__group + .search-results__group {
	margin-top: 2.5rem;
}

.search-results__group h2 {
	margin: 0 0 1rem;
	font-size: var(--fs-600, 1.35rem);
}

.search-results__group .course-tiles {
	margin-top: 0;
}

.search-results__empty {
	margin: 0;
	color: var(--text-muted, #6f655c);
}

.search-results__panel[hidden] {
	display: none !important;
}

.cart-page__inner {
	display: grid;
	gap: 2.75rem;
}

@media (min-width: 992px) {
	.cart-page__inner {
		grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
		gap: clamp(2rem, 4vw, 4.5rem);
		align-items: start;
	}

	.cart-section--form {
		position: sticky;
		top: 1.5rem;
	}
}

.cart-section--products {
	padding: 1.5rem 1.35rem 1.6rem;
	border-radius: var(--radius-lg, 20px);
	background: var(--color-cream, #faf6f1);
}

@media (min-width: 992px) {
	.cart-section--products {
		padding: 1.75rem 1.6rem 1.85rem;
	}
}

.cart-section__title {
	margin: 0 0 1.25rem;
	font-family: var(--font-heading, "Caecilia", serif);
	font-size: var(--fs-700, 1.65rem);
	font-style: normal;
	font-weight: 600;
	letter-spacing: -0.01em;
	color: var(--color-ink, #1c1a18);
}

.cart-empty {
	margin: 0;
	color: var(--text-muted, #6f655c);
}

.cart-table {
	width: 100%;
	border-collapse: collapse;
}

.cart-table th,
.cart-table td {
	padding: 0.85rem 0.75rem 0.85rem 0;
	border-bottom: 1px solid var(--color-line, #e6ddd3);
	text-align: left;
	vertical-align: top;
}

.cart-table th {
	color: var(--text-muted, #6f655c);
	font-size: var(--fs-300, 0.8125rem);
	font-weight: 600;
}

.cart-table td:nth-child(2),
.cart-table th:nth-child(2),
.cart-table td:nth-child(3),
.cart-table th:nth-child(3) {
	text-align: right;
	white-space: nowrap;
}

.cart-table__type {
	display: block;
	margin-bottom: 0.15rem;
	color: var(--color-orange, #f08700);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.cart-table__title {
	display: block;
	font-weight: 600;
}

.cart-table__title a {
	color: inherit;
	text-decoration: none;
}

.cart-table__title a:hover {
	color: var(--color-orange, #f08700);
}

.cart-table__meta,
.cart-table__dates {
	display: block;
	margin-top: 0.4rem;
	color: var(--text-muted, #6f655c);
	font-size: var(--fs-300, 0.8125rem);
}

.cart-table__dates {
	width: min(100%, 16rem);
	padding: 0.4rem 0.55rem;
	border: 1px solid var(--color-line-strong, #d8cabb);
	border-radius: var(--radius-sm, 6px);
	background: var(--color-white, #fff);
}

.cart-table__qty {
	width: 3.25rem;
	padding: 0.4rem 0.35rem;
	border: 0;
	border-radius: 4px;
	background: #ece7e0;
	text-align: center;
	font-variant-numeric: tabular-nums;
}

.cart-table__remove {
	width: 2rem;
	padding-right: 0;
	text-align: right;
}

.cart-table__x {
	display: inline-grid;
	place-items: center;
	width: 1.75rem;
	height: 1.75rem;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--color-rust, #944d3b);
	font-size: 1.35rem;
	line-height: 1;
	cursor: pointer;
}

.cart-table__x:hover {
	color: var(--color-orange, #f08700);
}

.cart-totals {
	display: grid;
	gap: 0.4rem;
	margin-top: 1.25rem;
	margin-left: auto;
	max-width: 16rem;
}

.cart-totals__row {
	display: flex;
	justify-content: space-between;
	gap: 1.5rem;
	color: var(--text-muted, #6f655c);
	font-size: var(--fs-300, 0.8125rem);
}

.cart-totals__row--total {
	padding-top: 0.35rem;
	border-top: 1px solid var(--color-line, #e6ddd3);
	color: var(--text-base, #1c1a18);
	font-size: 1rem;
	font-weight: 700;
}

.cart-widget {
	display: grid;
	gap: 0.6rem;
	margin-top: 1rem;
}

.info-card__actions + .cart-widget {
	margin-top: 0.85rem;
}

.info-card .cart-widget {
	margin-top: 1rem;
}

.cart-widget__label {
	margin: 0;
	color: var(--text-muted, #6f655c);
	font-size: var(--fs-300, 0.8125rem);
	font-weight: 600;
}

.cart-widget__select {
	width: 100%;
	padding: 0.65rem 0.8rem;
	border: 1px solid var(--color-line-strong, #d8cabb);
	border-radius: var(--radius-sm, 6px);
	background: var(--color-white, #fff);
}

.nrc-cart-form .gfield--type-section,
.gform_wrapper.nrc-cart-form .gfield--type-section,
.nrc-cart-form .gsection {
	display: none !important;
}

.nrc-cart-form .gform_footer {
	margin-top: 1.5rem;
}

.nrc-cart-form .nrc-cart-json,
.nrc-cart-form .nrc-cart-product,
.nrc-cart-form .nrc-cart-total,
.nrc-cart-form .gfield_hidden,
.nrc-cart-form .gfield_hidden_product,
.nrc-cart-form .gfield--type-product,
.nrc-cart-form .gfield--type-total {
	display: none !important;
}

.cart-count[hidden] {
	display: none !important;
}
