/* Ms. Curtis Teaches TPT Catalogue. Colours sampled from the Ms. Curtis Teaches banner. */
.mct-catalogue {
	--mct-charcoal: #2e2e30;
	--mct-blue: #c2d9e0;
	--mct-slate: #7c9199;
	--mct-rose: #a26361;
	--mct-sage: #b6cebd;
	--mct-blush: #fed9cf;
	--mct-cream: #f2e3c4;
	--mct-yellow: #eec16c;
	--mct-paper: #fffdf9;
	color: var(--mct-charcoal);
	scroll-margin-top: 1.5rem;
}

/* Filter bar */
.mct-filters {
	display: grid;
	grid-template-columns: minmax(220px, 2.2fr) repeat(auto-fit, minmax(150px, 1fr));
	gap: 0.9rem 1rem;
	align-items: end;
	background: var(--mct-cream);
	border: 2px solid var(--mct-charcoal);
	border-radius: 22px;
	padding: 1.25rem 1.25rem 1.35rem;
	box-shadow: 6px 6px 0 var(--mct-blue);
	margin: 0 0 1.5rem;
}
.mct-filters label {
	display: block;
	font-weight: 700;
	font-size: 0.85rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	margin-bottom: 0.35rem;
}
.mct-filters input[type="search"],
.mct-filters select {
	width: 100%;
	min-height: 46px;
	padding: 0.55rem 0.85rem;
	border: 2px solid var(--mct-charcoal);
	border-radius: 14px;
	background: #fff;
	color: var(--mct-charcoal);
	font: inherit;
	font-size: 1rem;
	box-sizing: border-box;
}
.mct-filters input[type="search"]:focus,
.mct-filters select:focus {
	outline: 3px solid var(--mct-yellow);
	outline-offset: 2px;
}
.mct-filters__actions {
	display: flex;
	gap: 0.75rem;
	align-items: center;
	flex-wrap: wrap;
}
.mct-clear {
	color: var(--mct-charcoal);
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* Buttons */
.mct-btn,
.mct-catalogue button.mct-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	min-height: 44px;
	padding: 0.6rem 1.25rem;
	border: 2px solid var(--mct-charcoal, #2e2e30);
	border-radius: 999px;
	background: var(--mct-charcoal, #2e2e30);
	color: #fff !important;
	font: inherit;
	font-weight: 700;
	font-size: 0.95rem;
	letter-spacing: 0.02em;
	line-height: 1.1;
	text-decoration: none !important;
	cursor: pointer;
	transition: background 0.15s ease, transform 0.15s ease;
}
.mct-btn:hover,
.mct-btn:focus-visible {
	background: var(--mct-rose, #a26361);
	border-color: var(--mct-rose, #a26361);
	transform: translateY(-1px);
}
.mct-btn:focus-visible {
	outline: 3px solid var(--mct-yellow, #eec16c);
	outline-offset: 2px;
}

.mct-count {
	font-weight: 600;
	margin: 0 0 1rem;
}

/* Grid + cards */
.mct-grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
	gap: 1.75rem 1.5rem;
}
.mct-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 2px solid var(--mct-charcoal);
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 6px 6px 0 var(--mct-blush);
	margin: 0;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.mct-grid > .mct-card:nth-child(4n+2) { box-shadow: 6px 6px 0 var(--mct-blue); }
.mct-grid > .mct-card:nth-child(4n+3) { box-shadow: 6px 6px 0 var(--mct-sage); }
.mct-grid > .mct-card:nth-child(4n+4) { box-shadow: 6px 6px 0 var(--mct-yellow); }
.mct-card:hover {
	transform: translateY(-3px);
}
.mct-card__cover {
	display: block;
	aspect-ratio: 1 / 1;
	background: var(--mct-paper);
	border-bottom: 2px solid var(--mct-charcoal);
}
.mct-card__cover img,
.mct-card__noimg {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.mct-card__body {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	padding: 1rem 1.05rem 1.15rem;
	flex: 1;
}
.mct-card__badges {
	display: flex;
	gap: 0.4rem;
	flex-wrap: wrap;
}
.mct-badge {
	display: inline-block;
	padding: 0.15rem 0.65rem;
	border: 1.5px solid var(--mct-charcoal);
	border-radius: 999px;
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	background: var(--mct-cream);
}
.mct-badge--free { background: var(--mct-sage); }
.mct-badge--bundle { background: var(--mct-yellow); }
.mct-card__title {
	font-size: 1rem !important;
	line-height: 1.35 !important;
	font-weight: 700;
	margin: 0 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
}
.mct-card__meta {
	font-size: 0.875rem;
	line-height: 1.4;
	margin: 0;
	color: #4a4a4d;
}
.mct-card__btn {
	margin-top: auto;
	align-self: flex-start;
}

/* Pagination */
.mct-pagination {
	margin-top: 2.25rem;
}
.mct-pagination ul.page-numbers {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	padding: 0;
	margin: 0;
	justify-content: center;
}
.mct-pagination .page-numbers li { margin: 0; }
.mct-pagination a.page-numbers,
.mct-pagination span.page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	padding: 0 0.8rem;
	border: 2px solid var(--mct-charcoal);
	border-radius: 999px;
	color: var(--mct-charcoal);
	text-decoration: none;
	font-weight: 700;
	background: #fff;
}
.mct-pagination span.current {
	background: var(--mct-charcoal);
	color: #fff;
}
.mct-pagination a.page-numbers:hover { background: var(--mct-blush); }

.mct-empty {
	background: var(--mct-blush);
	border: 2px dashed var(--mct-charcoal);
	border-radius: 20px;
	padding: 1.5rem;
	text-align: center;
}

/* Single resource page */
.mct-single {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
	gap: 2rem;
	align-items: start;
}
.mct-single__cover img {
	width: 100%;
	height: auto;
	border: 2px solid #2e2e30;
	border-radius: 20px;
	box-shadow: 8px 8px 0 #fed9cf;
}
.mct-note { font-size: 0.875rem; color: #4a4a4d; }
.mct-single__intro { font-size: 1.05rem; line-height: 1.6; background: #fbf3f1; border: 2px solid #2e2e30; border-radius: 16px; padding: 1rem 1.2rem; }
.mct-single__intro a, .mct-single__collections a { color: #2e2e30; text-decoration-thickness: 2px; text-underline-offset: 3px; }

/* Related resources */
.mct-related { margin-top: 3rem; }
.mct-related__h { font-size: clamp(1.4rem, 2.6vw, 1.9rem) !important; margin: 0 0 1.2rem !important; }
.mct-related__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.mct-related__item a { display: flex; flex-direction: column; gap: 0.45rem; height: 100%; color: #2e2e30; text-decoration: none; background: #fff; border: 2px solid #2e2e30; border-radius: 16px; padding: 0.7rem; box-shadow: 5px 5px 0 #eacbc6; transition: transform 0.15s ease; }
.mct-related__item:nth-child(2) a { box-shadow: 5px 5px 0 #749eb2; }
.mct-related__item:nth-child(3) a { box-shadow: 5px 5px 0 #fed797; }
.mct-related__item:nth-child(4) a { box-shadow: 5px 5px 0 #c2afc7; }
.mct-related__item a:hover, .mct-related__item a:focus-visible { transform: translateY(-3px); }
.mct-related__item a:focus-visible { outline: 3px solid #2e2e30; outline-offset: 3px; }
.mct-related__img img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 10px; }
.mct-related__title { font-weight: 800; line-height: 1.25; font-size: 0.95rem; }
.mct-related__meta { font-size: 0.85rem; color: #4a4a4d; margin-top: auto; }
@media (max-width: 781px) { .mct-related__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.9rem; } }
@media (prefers-reduced-motion: reduce) { .mct-related__item a { transition: none; } }

@media (max-width: 700px) {
	.mct-filters {
		grid-template-columns: 1fr 1fr;
		padding: 1rem;
		box-shadow: 4px 4px 0 var(--mct-blue);
	}
	.mct-filters__search,
	.mct-filters__actions { grid-column: 1 / -1; }
	.mct-grid { grid-template-columns: repeat(auto-fill, minmax(155px, 1fr)); gap: 1.1rem 0.9rem; }
	.mct-card { border-radius: 16px; box-shadow: 4px 4px 0 var(--mct-blush); }
	.mct-card__body { padding: 0.8rem; }
	.mct-card__title { font-size: 0.92rem !important; }
	.mct-btn { padding: 0.55rem 0.95rem; font-size: 0.88rem; }
	.mct-single { grid-template-columns: 1fr; }
}
@media (max-width: 380px) {
	.mct-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
	.mct-card, .mct-btn { transition: none; }
	.mct-card:hover, .mct-btn:hover { transform: none; }
}

/* Resource page: gallery */
.mct-gallery__main { background: #fff; border: 2px solid #2e2e30; border-radius: 20px; box-shadow: 8px 8px 0 #eacbc6; overflow: hidden; }
.mct-gallery__img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; background: #fff; }
.mct-single__cover .mct-gallery__img { border: 0; border-radius: 0; box-shadow: none; }
.mct-gallery__thumbs { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 0.6rem; }
.mct-gallery__thumbs a { display: block; border: 2px solid #d9d4d6; border-radius: 10px; overflow: hidden; background: #fff; }
.mct-gallery__thumbs a[aria-current="true"] { border-color: #2e2e30; box-shadow: 3px 3px 0 #fed797; }
.mct-gallery__thumbs a:focus-visible { outline: 3px solid #2e2e30; outline-offset: 2px; }
.mct-gallery__thumbs img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }

/* Resource page: price box */
.mct-buy { background: #fff; border: 2px solid #2e2e30; border-radius: 18px; box-shadow: 6px 6px 0 #fed797; padding: 1.1rem 1.25rem; margin: 0 0 1.25rem; }
.mct-buy__price { margin: 0 0 0.35rem !important; display: flex; align-items: baseline; flex-wrap: wrap; gap: 0.5rem; }
.mct-buy__amount { font-family: var(--wp--preset--font-family--display, inherit); font-weight: 900; font-size: 1.9rem; line-height: 1; }
.mct-buy__was { color: #56565b; font-size: 1.05rem; }
.mct-buy__sale { background: #efa793; border: 2px solid #2e2e30; border-radius: 999px; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.1rem 0.6rem; }
.mct-buy__rating { margin: 0 0 0.8rem !important; display: flex; align-items: center; flex-wrap: wrap; gap: 0.4rem; font-size: 0.95rem; }
.mct-buy__rating span:last-child { color: #4a4a4d; }
.mct-buy__actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-bottom: 0.6rem; }
.mct-btn--ghost { background: #fff !important; color: #2e2e30 !important; border: 2px solid #2e2e30 !important; }
.mct-btn--ghost:hover { background: #fbf3f1 !important; }
.mct-buy__pages { font-weight: 600; }
.mct-buy .mct-note { margin: 0 !important; }

/* Stars */
.mct-stars { position: relative; display: inline-block; width: 5.6em; height: 1.1em; vertical-align: -0.15em; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 22'%3E%3Cpath d='M12 1.5l3.1 6.6 7.1.8-5.3 4.8 1.5 7-6.4-3.7-6.4 3.7 1.5-7L1.8 8.9l7.1-.8z' fill='%23fff' stroke='%232E2E30' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E") left / 1.12em 1.1em repeat-x; }
.mct-stars__fill { position: absolute; inset: 0 auto 0 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 22'%3E%3Cpath d='M12 1.5l3.1 6.6 7.1.8-5.3 4.8 1.5 7-6.4-3.7-6.4 3.7 1.5-7L1.8 8.9l7.1-.8z' fill='%23FED797' stroke='%232E2E30' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E") left / 1.12em 1.1em repeat-x; }

/* Video */
.mct-video { margin-top: 3rem; }
.mct-video__frame { display: block; width: 100%; max-width: 820px; aspect-ratio: 16 / 9; border: 2px solid #2e2e30; border-radius: 18px; overflow: hidden; background: #000; }
.mct-video__frame iframe { width: 100%; height: 100%; border: 0; }

/* Reviews from TPT */
.mct-treviews { margin-top: 3rem; }
.mct-treviews__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; }
.mct-treview { background: #fff; border: 2px solid #2e2e30; border-radius: 18px; padding: 1.2rem 1.25rem; box-shadow: 5px 5px 0 #c2afc7; display: flex; flex-direction: column; gap: 0.6rem; }
.mct-treview:nth-child(2) { box-shadow: 5px 5px 0 #99b0b4; }
.mct-treview:nth-child(3) { box-shadow: 5px 5px 0 #efa793; }
.mct-treview blockquote { margin: 0; padding: 0; border: 0; font-style: normal; }
.mct-treview blockquote p { margin: 0; line-height: 1.6; }
.mct-treview__who { margin: auto 0 0 !important; font-weight: 800; font-size: 0.9rem; }
.mct-treviews__more { margin-top: 1rem !important; font-weight: 700; }
.mct-treviews__more a { color: #2e2e30; text-decoration-thickness: 2px; text-underline-offset: 3px; }
@media (max-width: 700px) { .mct-buy__amount { font-size: 1.6rem; } .mct-gallery__thumbs { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.mct-video__poster { position: relative; display: block; max-width: 520px; border: 2px solid #2e2e30; border-radius: 18px; overflow: hidden; box-shadow: 6px 6px 0 #749eb2; background: #000; color: #fff; text-decoration: none; }
.mct-video__poster img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; opacity: 0.85; }
.mct-video__play { position: absolute; left: 50%; top: 45%; width: 74px; height: 74px; transform: translate(-50%, -50%); border-radius: 50%; background: #fed797; border: 3px solid #2e2e30; }
.mct-video__play::after { content: ""; position: absolute; left: 29px; top: 21px; border-left: 22px solid #2e2e30; border-top: 14px solid transparent; border-bottom: 14px solid transparent; }
.mct-video__label { position: absolute; left: 0; right: 0; bottom: 0; padding: 0.7rem 1rem; background: #2e2e30; color: #fff; font-weight: 800; }
.mct-video__poster:focus-visible { outline: 3px solid #2e2e30; outline-offset: 3px; }
.mct-card__price { margin: 0 0 0.6rem !important; font-weight: 900; font-size: 1.05rem; }
.mct-card__price s { font-weight: 600; color: #56565b; font-size: 0.9rem; margin-left: 0.25rem; }
.mct-card__title a { color: inherit; text-decoration: none; }
.mct-card__title a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }

/* Gallery v2: sharp photos, arrows, counter, viewer */
.mct-gallery__main { position: relative; padding: 10px; border: 3px solid #2e2e30; border-radius: 22px; box-shadow: 9px 9px 0 #eacbc6; background: #fff; overflow: hidden; }
.mct-gallery__zoom { display: block; width: 100%; padding: 0; margin: 0; border: 0; background: none; cursor: zoom-in; border-radius: 14px; overflow: hidden; }
.mct-gallery__zoom:focus-visible { outline: 3px solid #2e2e30; outline-offset: 2px; }
.mct-gallery__img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; border-radius: 14px; image-rendering: auto; }
.mct-gallery__nav { position: absolute; top: 50%; width: 46px; height: 46px; margin-top: -23px; border-radius: 50%; border: 2.5px solid #2e2e30; background: #fff; box-shadow: 3px 3px 0 #2e2e30; cursor: pointer; z-index: 2; opacity: 0; transition: opacity 0.15s ease, transform 0.15s ease; }
.mct-gallery__nav::before { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 11px; border-top: 3px solid #2e2e30; border-right: 3px solid #2e2e30; }
.mct-gallery__nav--prev { left: 18px; } .mct-gallery__nav--prev::before { transform: translate(-35%, -50%) rotate(-135deg); }
.mct-gallery__nav--next { right: 18px; } .mct-gallery__nav--next::before { transform: translate(-65%, -50%) rotate(45deg); }
.mct-gallery__main:hover .mct-gallery__nav, .mct-gallery__nav:focus-visible { opacity: 1; }
.mct-gallery__nav:hover { transform: scale(1.06); background: #fed797; }
.mct-gallery__nav:focus-visible { outline: 3px solid #2e2e30; outline-offset: 2px; }
.mct-gallery__count { position: absolute; right: 20px; bottom: 20px; background: #2e2e30; color: #fff; font-weight: 800; font-size: 0.8rem; letter-spacing: 0.08em; border-radius: 999px; padding: 0.25rem 0.7rem; z-index: 2; }
.mct-gallery__thumbs { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.7rem; margin-top: 1.1rem; }
.mct-gallery__thumbs a { border: 2.5px solid #e6dfe1; border-radius: 12px; padding: 3px; transition: transform 0.15s ease, border-color 0.15s ease; }
.mct-gallery__thumbs a:hover { transform: translateY(-2px); border-color: #99b0b4; }
.mct-gallery__thumbs a[aria-current="true"] { border-color: #2e2e30; box-shadow: 3px 3px 0 #fed797; }
.mct-gallery__thumbs img { border-radius: 8px; object-fit: contain; background: #fff; }
.mct-lightbox { max-width: min(92vw, 820px); width: 100%; padding: 14px; border: 3px solid #2e2e30; border-radius: 22px; background: #fff; box-shadow: 10px 10px 0 #2e2e30; overflow: visible; }
.mct-lightbox::backdrop { background: rgba(46, 46, 48, 0.72); }
.mct-lightbox__img { display: block; width: 100%; height: auto; max-height: 82vh; object-fit: contain; border-radius: 12px; }
.mct-lightbox .mct-gallery__nav { opacity: 1; }
.mct-lightbox .mct-gallery__nav--prev { left: -23px; } .mct-lightbox .mct-gallery__nav--next { right: -23px; }
.mct-lightbox__close { position: absolute; right: -16px; top: -16px; width: 42px; height: 42px; border-radius: 50%; border: 2.5px solid #2e2e30; background: #fed797; font-size: 26px; line-height: 1; font-weight: 700; cursor: pointer; z-index: 3; color: #2e2e30; }
@media (hover: none) { .mct-gallery__nav { opacity: 1; width: 40px; height: 40px; margin-top: -20px; } }
@media (max-width: 781px) { .mct-gallery__nav--prev { left: 12px; } .mct-gallery__nav--next { right: 12px; } .mct-lightbox .mct-gallery__nav--prev { left: 6px; } .mct-lightbox .mct-gallery__nav--next { right: 6px; } .mct-lightbox__close { right: 6px; top: 6px; } }
@media (prefers-reduced-motion: reduce) { .mct-gallery__nav, .mct-gallery__thumbs a { transition: none; } }
.mct-related__img img { object-fit: contain; background: #fff; }
.mct-single { grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: 2.5rem; }
@media (max-width: 700px) { .mct-single { grid-template-columns: 1fr; } }

/* ===== Product page (v3) ===== */
.single-mct_resource .wp-block-post-title { max-width: 980px; }
.mct-pd { --ink: #2e2e30; }
.mct-pd__hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(2rem, 4vw, 3.75rem); align-items: start; margin-top: 0.5rem; }
.mct-pd__info { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 1.1rem; }

/* Photos: clean, nothing cropped */
.mct-pd .mct-gallery__main { padding: 0; border: 0; border-radius: 0; box-shadow: none; background: none; overflow: visible; }
.mct-pd .mct-gallery__zoom { border-radius: 4px; overflow: visible; }
.mct-pd .mct-gallery__img { width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; border-radius: 4px; background: #fff; box-shadow: 0 2px 4px rgba(46,46,48,0.06), 0 24px 48px -22px rgba(46,46,48,0.45); }
.mct-pd .mct-gallery__nav { top: 50%; }
.mct-pd .mct-gallery__nav--prev { left: -18px; } .mct-pd .mct-gallery__nav--next { right: -18px; }
.mct-pd .mct-gallery__count { right: 14px; bottom: 14px; background: rgba(46,46,48,0.85); }
.mct-pd .mct-gallery__thumbs { grid-template-columns: repeat(auto-fill, minmax(78px, 92px)); gap: 0.75rem; margin-top: 1.4rem; }
.mct-pd .mct-gallery__thumbs a { border: 2px solid transparent; border-radius: 6px; padding: 2px; background: none; box-shadow: none; }
.mct-pd .mct-gallery__thumbs a:hover { border-color: #c9c3c5; transform: none; }
.mct-pd .mct-gallery__thumbs a[aria-current="true"] { border-color: var(--ink); box-shadow: none; }
.mct-pd .mct-gallery__thumbs img { width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; border-radius: 3px; background: #fff; box-shadow: 0 1px 3px rgba(46,46,48,0.18); }

/* Buy box */
.mct-pd__tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.45rem; }
.mct-pd__tag { margin: 0; background: #f2eef0; border-radius: 999px; padding: 0.3rem 0.8rem; font-size: 0.82rem; font-weight: 800; letter-spacing: 0.02em; }
.mct-pd__tag--free { background: #99b0b4; } .mct-pd__tag--bundle { background: #fed797; }
.mct-pd__rating { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--ink); text-decoration: none; font-size: 1rem; width: fit-content; }
.mct-pd__rating .mct-stars { font-size: 1.25em; }
.mct-pd__rating span:last-child { color: #56565b; }
.mct-pd__rating:hover span:last-child { text-decoration: underline; }
.mct-pd__buy { display: flex; flex-direction: column; gap: 0.75rem; padding: 1.4rem; border-radius: 18px; background: #fbf3f1; }
.mct-pd__price { margin: 0 0 0.2rem !important; font-family: var(--wp--preset--font-family--display, inherit); font-weight: 900; font-size: clamp(2.3rem, 4vw, 3rem); line-height: 1; display: flex; align-items: baseline; flex-wrap: wrap; gap: 0.4rem; }
.mct-pd__cur { font-size: 0.4em; font-weight: 800; letter-spacing: 0.08em; color: #56565b; }
.mct-pd__price s { font-size: 0.45em; font-weight: 700; color: #56565b; }
.mct-pd__sale { font-size: 0.32em; background: #efa793; border: 2px solid var(--ink); border-radius: 999px; padding: 0.2em 0.7em; letter-spacing: 0.1em; text-transform: uppercase; }
.mct-pd__cta { display: flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 58px; padding: 0.9rem 1.4rem; border-radius: 999px; border: 2.5px solid var(--ink); background: #efa793; color: var(--ink) !important; text-decoration: none !important; font-family: var(--wp--preset--font-family--display, inherit); font-weight: 900; font-size: 1.05rem; letter-spacing: 0.12em; text-transform: uppercase; box-shadow: 5px 5px 0 var(--ink); transition: transform 0.15s ease, box-shadow 0.15s ease; }
.mct-pd__cta::after { content: "→"; font-size: 1.2em; letter-spacing: 0; }
.mct-pd__cta:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--ink); }
.mct-pd__cta:focus-visible, .mct-pd__preview:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.mct-pd__preview { display: flex; align-items: center; justify-content: center; min-height: 50px; padding: 0.7rem 1.2rem; border-radius: 999px; border: 2.5px solid var(--ink); background: #fff; color: var(--ink) !important; text-decoration: none !important; font-weight: 800; }
.mct-pd__preview span { font-weight: 600; color: #56565b; margin-left: 0.3rem; }
.mct-pd__preview:hover { background: #fed797; }
.mct-pd__perks { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; }
.mct-pd__perks li { margin: 0; padding-left: 1.7rem; position: relative; font-weight: 700; font-size: 0.95rem; }
.mct-pd__perks li::before, .mct-pd__incl li::before { content: ""; position: absolute; left: 0; top: 0.15em; width: 1.15rem; height: 1.15rem; border-radius: 50%; background: #99b0b4 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3L15 6.5' fill='none' stroke='%232E2E30' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 80% no-repeat; }
.mct-pd__incl { border: 2px solid var(--ink); border-radius: 16px; padding: 1.1rem 1.25rem; background: #fff; box-shadow: 5px 5px 0 #c2afc7; }
.mct-pd__incl-h { margin: 0 0 0.6rem !important; font-family: Caveat, cursive; font-weight: 700; font-size: 1.7rem; line-height: 1; }
.mct-pd__incl ul { list-style: none; margin: 0 0 0.7rem; padding: 0; display: grid; gap: 0.45rem; }
.mct-pd__incl li { margin: 0; padding-left: 1.7rem; position: relative; line-height: 1.45; }
.mct-pd__incl li::before { background-color: #fed797; }
.mct-pd__incl a { font-weight: 800; color: var(--ink); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.mct-pd__note { margin: 0 !important; font-size: 0.82rem; color: #56565b; }

/* About + facts */
.mct-pd__about { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: clamp(2rem, 4vw, 3.5rem); align-items: start; margin-top: clamp(3rem, 6vw, 4.5rem); padding-top: clamp(2.5rem, 5vw, 3.5rem); border-top: 2px dashed #d9d4d6; }
.mct-pd__desc { font-size: 1.06rem; line-height: 1.75; }
.mct-pd__desc p { margin: 0 0 1em; }
.mct-pd__desc h3 { font-family: var(--wp--preset--font-family--display, inherit); font-weight: 900; font-size: 1.3rem !important; margin: 1.8em 0 0.6em !important; display: inline-block; background: linear-gradient(transparent 62%, #fed797 62%, #fed797 92%, transparent 92%); padding: 0 0.15em; }
.mct-pd__desc ul { margin: 0 0 1.2em; padding-left: 1.3rem; }
.mct-pd__desc li { margin: 0.3em 0; }
.mct-pd__desc li::marker { color: #efa793; }
.mct-pd__facts { position: sticky; top: 24px; border: 2.5px solid var(--ink); border-radius: 18px; padding: 1.4rem 1.4rem 1.2rem; background: #fff; box-shadow: 7px 7px 0 #99b0b4; }
.mct-pd__facts dl { display: grid; grid-template-columns: auto 1fr; gap: 0.65rem 1rem; margin: 0 0 1.3rem; }
.mct-pd__facts dt { font-weight: 900; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: #56565b; padding-top: 0.2em; }
.mct-pd__facts dd { margin: 0; font-weight: 600; }
.mct-pd__facts a { color: var(--ink); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.mct-pd__cta--small { min-height: 50px; font-size: 0.9rem; box-shadow: 4px 4px 0 var(--ink); }
.mct-pd__made { margin: 1rem 0 0 !important; font-size: 0.88rem; color: #56565b; }
.mct-pd .mct-treviews { margin-top: clamp(3rem, 6vw, 4.5rem); }
.mct-pd .mct-related { margin-top: clamp(3rem, 6vw, 4.5rem); }
.mct-pd__bar { display: none; }

@media (max-width: 900px) {
	.mct-pd__hero, .mct-pd__about { grid-template-columns: 1fr; }
	.mct-pd__info, .mct-pd__facts { position: static; }
	.mct-pd .mct-gallery__nav--prev { left: 8px; } .mct-pd .mct-gallery__nav--next { right: 8px; }
}
@media (max-width: 781px) {
	.mct-pd__bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.7rem 1rem calc(0.7rem + env(safe-area-inset-bottom)); background: #fff; border-top: 2.5px solid var(--ink); box-shadow: 0 -8px 24px rgba(46,46,48,0.12); }
	.mct-pd__bar .mct-pd__cta { min-height: 46px; padding: 0.6rem 1.2rem; font-size: 0.85rem; box-shadow: 3px 3px 0 var(--ink); flex: 1; max-width: 230px; }
	.mct-pd__bar-price { font-family: var(--wp--preset--font-family--display, inherit); font-weight: 900; font-size: 1.35rem; }
	body.single-mct_resource { padding-bottom: 84px; }
}
@media (prefers-reduced-motion: reduce) { .mct-pd__cta { transition: none; } .mct-pd__cta:hover { transform: none; } }

/* Catalogue cards: show the whole cover, nothing cropped */
.mct-card__cover { padding: 12px 12px 10px; background: #fff; }
.mct-card__cover img, .mct-card__noimg { object-fit: contain; border-radius: 4px; }
.mct-related__item a { overflow: visible; }
.mct-related__img img { border-radius: 4px; aspect-ratio: auto; height: auto; }
.mct-pd .mct-gallery__count { display: none; }
.mct-pd__desc ul.mct-checks { list-style: none; padding-left: 0; display: grid; gap: 0.5rem; }
.mct-pd__desc ul.mct-checks li { position: relative; padding-left: 1.9rem; margin: 0; }
.mct-pd__desc ul.mct-checks li::before { content: ""; position: absolute; left: 0; top: 0.3em; width: 1.2rem; height: 1.2rem; border-radius: 50%; background: #99b0b4 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3L15 6.5' fill='none' stroke='%232E2E30' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 80% no-repeat; }

/* ===================== Blog post pages (1.6.0) ===================== */
.mct-post {
	--p-ink: #2e2e30;
	--p-coral: #efa793;
	--p-blue: #749eb2;
	--p-yellow: #fed797;
	--p-lav: #c2afc7;
	--p-sage: #99b0b4;
	--p-blush: #eacbc6;
	--p-surface: #fbf3f1;
	color: var(--p-ink);
}
.mct-post a { text-underline-offset: 0.18em; }

/* Hero */
.mct-post__hero {
	background-image: radial-gradient(rgba(255,255,255,0.6) 2.4px, transparent 2.9px), linear-gradient(110deg, #efe8f1 0%, #fbf3f1 45%, #fff4dc 100%);
	background-size: 30px 30px, auto;
	border-bottom: 3px solid var(--p-ink);
}
.mct-ph {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr);
	gap: clamp(2rem, 5vw, 4.5rem);
	align-items: center;
	max-width: 1120px;
	margin: 0 auto;
}
.mct-ph__words > * { margin: 0; }
.mct-ph__cats { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.1rem !important; }
.mct-ph__cat {
	display: inline-block;
	background: #fff;
	border: 2px solid var(--p-ink);
	border-radius: 999px;
	padding: 0.3rem 0.95rem;
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	color: var(--p-ink) !important;
	text-decoration: none;
	box-shadow: 3px 3px 0 var(--p-coral);
}
.mct-ph__cat--ontario-math { box-shadow: 3px 3px 0 var(--p-blue); }
.mct-ph__cat--writing-walls { box-shadow: 3px 3px 0 var(--p-lav); }
.mct-ph__cat--christian-classroom { box-shadow: 3px 3px 0 var(--p-sage); }
.mct-ph__cat--seasonal-teaching { box-shadow: 3px 3px 0 var(--p-yellow); }
.mct-ph__cat:hover { transform: translateY(-1px); }
.mct-ph__title {
	font-family: var(--wp--preset--font-family--display);
	font-weight: 900;
	font-size: clamp(2.1rem, 4.6vw, 3.5rem) !important;
	line-height: 1.08 !important;
	letter-spacing: -0.01em;
	text-wrap: balance;
	margin-bottom: 1rem !important;
}
.mct-ph__dek {
	font-size: clamp(1.08rem, 1.6vw, 1.25rem);
	line-height: 1.6;
	color: #45454a;
	max-width: 36em;
	margin-bottom: 1.6rem !important;
}
.mct-ph__by { display: flex; align-items: center; gap: 0.85rem; }
.mct-ph__by > div > * { margin: 0; }
.mct-ph__avatar {
	width: 56px !important;
	height: 56px !important;
	border-radius: 50%;
	object-fit: cover;
	object-position: 55% 30%;
	border: 2.5px solid var(--p-ink);
	box-shadow: 3px 3px 0 var(--p-coral);
	flex: none;
}
.mct-ph__name { font-family: Caveat, cursive; font-weight: 700; font-size: 1.6rem; line-height: 1; }
.mct-ph__meta { font-size: 0.92rem; color: #56565b; margin-top: 0.2rem !important; }
.mct-ph__photo {
	position: relative;
	margin: 0 auto;
	width: min(100%, 400px);
	background: #fff;
	padding: 14px 14px 52px;
	border: 2.5px solid var(--p-ink);
	border-radius: 6px;
	box-shadow: 10px 10px 0 var(--p-coral);
	transform: rotate(2.5deg);
}
.mct-ph__photo::before {
	content: "";
	position: absolute;
	top: -16px;
	left: 50%;
	width: 120px;
	height: 32px;
	transform: translateX(-50%) rotate(-4deg);
	background: rgba(254, 215, 151, 0.85);
	border: 1.5px solid rgba(46,46,48,0.25);
}
.mct-ph__photo img { display: block; width: 100%; height: auto; border-radius: 2px; }
.mct-ph__photo figcaption {
	position: absolute;
	left: 0; right: 0; bottom: 10px;
	text-align: center;
	font-family: Caveat, cursive;
	font-weight: 700;
	font-size: 1.55rem;
	line-height: 1;
}

/* Article + sidebar */
.mct-post__layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 290px;
	gap: clamp(2rem, 5vw, 4rem);
	max-width: 1120px;
	margin: 0 auto !important;
	align-items: start;
}
.mct-post__layout > * { margin: 0 !important; }
.mct-post__aside { position: sticky; top: 1.5rem; display: flex; flex-direction: column; gap: 1.5rem; }
.mct-post__aside > .wp-block-shortcode, .mct-post__aside > p:empty { margin: 0; }

.mct-toc {
	background: #fff;
	border: 2.5px solid var(--p-ink);
	border-radius: 20px;
	box-shadow: 6px 6px 0 var(--p-blue);
	padding: 1.1rem 1.25rem 1.2rem;
}
.mct-toc summary {
	font-family: Caveat, cursive;
	font-weight: 700;
	font-size: 1.7rem;
	line-height: 1;
	cursor: pointer;
	list-style: none;
}
.mct-toc summary::-webkit-details-marker { display: none; }
.mct-toc ol { counter-reset: toc; list-style: none; margin: 0.9rem 0 0; padding: 0; display: grid; gap: 0.55rem; }
.mct-toc li { counter-increment: toc; display: grid; grid-template-columns: 1.7rem 1fr; gap: 0.5rem; align-items: start; font-size: 0.95rem; line-height: 1.35; }
.mct-toc li::before {
	content: counter(toc);
	display: grid;
	place-items: center;
	width: 1.55rem;
	height: 1.55rem;
	border-radius: 50%;
	background: var(--p-yellow);
	border: 2px solid var(--p-ink);
	font-weight: 900;
	font-size: 0.78rem;
}
.mct-toc a { color: var(--p-ink); text-decoration: none; font-weight: 600; }
.mct-toc a:hover { text-decoration: underline; }

.mct-aside-shop {
	background: var(--p-surface);
	border: 2.5px solid var(--p-ink);
	border-radius: 20px;
	box-shadow: 6px 6px 0 var(--p-yellow);
	padding: 1.1rem 1.1rem 1.2rem;
}
.mct-aside-shop__h { font-family: Caveat, cursive; font-weight: 700; font-size: 1.7rem; line-height: 1; margin: 0 0 0.8rem !important; }
.mct-aside-shop ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.7rem; }
.mct-aside-shop li a { display: grid; grid-template-columns: 64px 1fr; gap: 0.7rem; align-items: center; color: var(--p-ink); text-decoration: none; background: #fff; border: 2px solid var(--p-ink); border-radius: 14px; padding: 0.45rem; transition: transform 0.15s ease; }
.mct-aside-shop li a:hover { transform: translateY(-2px); }
.mct-aside-shop__img img { display: block; width: 64px; height: 64px; object-fit: contain; background: #fff; border-radius: 8px; }
.mct-aside-shop__t { font-size: 0.86rem; font-weight: 700; line-height: 1.3; }
.mct-aside-shop__t em { display: block; font-style: normal; font-weight: 900; margin-top: 0.2rem; color: #a26361; }
.mct-aside-shop__all { display: inline-block; margin-top: 0.85rem; font-weight: 900; color: var(--p-ink); }

/* Article typography */
.mct-post__article .wp-block-post-content { font-size: 1.1rem; line-height: 1.8; }
.mct-post__article .wp-block-post-content > * { max-width: 680px !important; margin-left: 0 !important; margin-right: 0 !important; }
.mct-post__article .wp-block-post-content > p:first-child { font-size: 1.28rem; line-height: 1.7; font-weight: 500; }
.mct-post__article .wp-block-post-content > p:first-child::first-letter {
	float: left;
	font-family: var(--wp--preset--font-family--display);
	font-weight: 900;
	font-size: 3.6em;
	line-height: 0.85;
	margin: 0.08em 0.12em 0 0;
	color: var(--p-coral);
	-webkit-text-stroke: 2px var(--p-ink);
	paint-order: stroke fill;
}
.mct-post__article h2 {
	font-family: var(--wp--preset--font-family--display);
	font-weight: 900;
	font-size: clamp(1.55rem, 2.6vw, 2rem) !important;
	line-height: 1.2 !important;
	margin-top: 2.6rem !important;
	margin-bottom: 0.9rem !important;
	scroll-margin-top: 1.5rem;
}
.mct-post__article h2::after {
	content: "";
	display: block;
	width: 74px;
	height: 9px;
	margin-top: 0.45rem;
	border-radius: 999px;
	background: var(--p-coral);
}
.mct-post__article .wp-block-post-content > h2:nth-of-type(4n+2)::after { background: var(--p-blue); }
.mct-post__article .wp-block-post-content > h2:nth-of-type(4n+3)::after { background: var(--p-yellow); }
.mct-post__article .wp-block-post-content > h2:nth-of-type(4n+4)::after { background: var(--p-lav); }
.mct-post__article h3 { font-family: var(--wp--preset--font-family--display); font-weight: 900; }
.mct-post__article .wp-block-post-content > ol { list-style: none; counter-reset: step; padding: 0; display: grid; gap: 0.9rem; }
.mct-post__article .wp-block-post-content > ol > li { counter-increment: step; position: relative; padding: 0.95rem 1.1rem 0.95rem 3.6rem; background: #fff; border: 2px solid var(--p-ink); border-radius: 16px; box-shadow: 4px 4px 0 var(--p-blush); line-height: 1.6; }
.mct-post__article .wp-block-post-content > ol > li::before {
	content: counter(step);
	position: absolute;
	left: 0.9rem;
	top: 0.85rem;
	display: grid;
	place-items: center;
	width: 1.95rem;
	height: 1.95rem;
	border-radius: 50%;
	background: var(--p-coral);
	border: 2px solid var(--p-ink);
	font-weight: 900;
	font-size: 0.95rem;
	line-height: 1;
}
.mct-post__article .wp-block-post-content > ol > li:nth-child(4n+2)::before { background: var(--p-blue); }
.mct-post__article .wp-block-post-content > ol > li:nth-child(4n+3)::before { background: var(--p-yellow); }
.mct-post__article .wp-block-post-content > ol > li:nth-child(4n+4)::before { background: var(--p-lav); }
.mct-post__article .wp-block-post-content > ul { list-style: none; padding: 0; }
.mct-post__article .wp-block-post-content > ul > li { position: relative; padding-left: 2rem; margin: 0.55rem 0; }
.mct-post__article .wp-block-post-content > ul > li::before {
	content: "";
	position: absolute;
	left: 0.1rem;
	top: 0.38em;
	width: 1.05rem;
	height: 1.05rem;
	border-radius: 50%;
	background: var(--p-yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.4l2.6 2.5L12 5.4' fill='none' stroke='%232e2e30' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 78% no-repeat;
	border: 1.8px solid var(--p-ink);
}
.mct-post__article .wp-block-post-content a { color: #8a4f4d; font-weight: 700; text-decoration-thickness: 2px; text-decoration-color: var(--p-coral); }
.mct-post__article .wp-block-post-content a:hover { color: var(--p-ink); }
.mct-post__article .wp-block-post-content blockquote { border: 0; margin: 2rem 0; padding: 1.4rem 1.6rem; background: var(--p-surface); border-radius: 18px; font-family: Caveat, cursive; font-size: 1.8rem; line-height: 1.25; }
.mct-post__article .mct-frame { margin-top: 2.4rem !important; max-width: 680px !important; }
.mct-post__article .mct-frame ul { list-style: none; padding: 0; }
.mct-post__article .mct-frame li { position: relative; padding-left: 1.6rem; margin: 0.6rem 0; }
.mct-post__article .mct-frame li::before { content: "★"; position: absolute; left: 0; color: #e0a43a; }
.mct-post__article .wp-block-jetpack-sharing-buttons { margin-top: 2.2rem !important; }

/* Shop this post */
.mct-shop { max-width: 1120px; margin: 0 auto; }
.mct-shop .mct-section-title, .mct-more .mct-section-title { margin: 0 0 0.6rem !important; }
.mct-shop__note { margin: 0 0 2rem !important; color: #56565b; max-width: 40em; }
.mct-shop__grid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)) !important; }

/* Author card */
.mct-author {
	max-width: 1000px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 220px 1fr;
	gap: clamp(1.5rem, 4vw, 3rem);
	align-items: center;
	background: #fff;
	border: 3px solid var(--p-ink);
	border-radius: 28px;
	box-shadow: 10px 10px 0 var(--p-lav);
	padding: clamp(1.4rem, 3vw, 2.4rem);
}
.mct-author__photo img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	object-position: center 25%;
	border: 2.5px solid var(--p-ink);
	border-radius: 18px;
	transform: rotate(-2deg);
	box-shadow: 6px 6px 0 var(--p-yellow);
}
.mct-author__words > * { margin: 0 !important; }
.mct-author__kicker { font-family: Caveat, cursive; font-weight: 700; font-size: clamp(2rem, 3.4vw, 2.6rem); line-height: 1; transform: rotate(-2deg); transform-origin: left; }
.mct-author__lead { font-size: 1.12rem; line-height: 1.65; margin-top: 0.7rem !important; }
.mct-author__tags { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 1rem !important; }
.mct-author__tags li { background: var(--p-surface); border: 2px solid var(--p-ink); border-radius: 999px; padding: 0.3rem 0.85rem; font-size: 0.84rem; font-weight: 800; }
.mct-author__tags li:nth-child(2) { background: #e3edf1; }
.mct-author__tags li:nth-child(3) { background: #fff4dc; }
.mct-author__links { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.3rem !important; }
.mct-author__btn { display: inline-block; background: var(--p-coral); color: var(--p-ink) !important; border: 2.5px solid var(--p-ink); border-radius: 999px; padding: 0.6rem 1.3rem; font-weight: 900; text-decoration: none; box-shadow: 3px 3px 0 var(--p-ink); }
.mct-author__btn--ghost { background: #fff; }
.mct-author__btn:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--p-ink); }

/* Keep reading */
.mct-more { max-width: 1120px; margin: 0 auto; }
.mct-more__grid { list-style: none; margin: 1.6rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.6rem; }
.mct-more__item a { display: flex; flex-direction: column; height: 100%; background: #fff; border: 2.5px solid var(--p-ink); border-radius: 22px; overflow: hidden; color: var(--p-ink); text-decoration: none; box-shadow: 6px 6px 0 var(--p-blush); transition: transform 0.15s ease, box-shadow 0.15s ease; }
.mct-more__item:nth-child(2) a { box-shadow: 6px 6px 0 var(--p-blue); }
.mct-more__item:nth-child(3) a { box-shadow: 6px 6px 0 var(--p-yellow); }
.mct-more__item a:hover { transform: translateY(-4px); }
.mct-more__img { display: block; aspect-ratio: 4 / 3; background: var(--p-blush); border-bottom: 2.5px solid var(--p-ink); overflow: hidden; }
.mct-more__img img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.mct-more__body { display: flex; flex-direction: column; gap: 0.5rem; padding: 1.1rem 1.25rem 1.25rem; flex: 1; }
.mct-more__cat { align-self: flex-start; background: #f2eef0; border-radius: 999px; padding: 0.22rem 0.7rem; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.mct-more__t { font-family: var(--wp--preset--font-family--display); font-weight: 900; font-size: 1.2rem; line-height: 1.25; }
.mct-more__go { margin-top: auto; padding-top: 0.6rem; border-top: 2px dashed #e6dfe1; font-weight: 900; font-size: 0.9rem; }

/* Comments */
.mct-post__comments .wp-block-comments { max-width: 760px; margin: 0 auto; }
.mct-post__comments .wp-block-post-comments-form textarea,
.mct-post__comments .wp-block-post-comments-form input:not([type=submit]):not([type=checkbox]) { border: 2px solid var(--p-ink); border-radius: 12px; }
.mct-post__comments .wp-block-post-comments-form input[type=submit] { background: var(--p-coral); color: var(--p-ink); border: 2.5px solid var(--p-ink); border-radius: 999px; font-weight: 900; padding: 0.65rem 1.4rem; box-shadow: 3px 3px 0 var(--p-ink); }

@media (max-width: 900px) {
	.mct-post__layout { grid-template-columns: minmax(0, 1fr); }
	.mct-post__aside { position: static; order: -1; }
	.mct-aside-shop { display: none; }
	.mct-toc:not([open]) { padding-bottom: 1.1rem; }
}
@media (max-width: 781px) {
	.mct-ph { grid-template-columns: 1fr; }
	.mct-ph__photo { width: min(78%, 330px); transform: rotate(2deg); margin-top: 0.5rem; }
	.mct-author { grid-template-columns: 1fr; text-align: left; }
	.mct-author__photo { max-width: 200px; }
	.mct-more__grid { grid-template-columns: 1fr; }
	.mct-post__article .wp-block-post-content { font-size: 1.05rem; }
}
@media (prefers-reduced-motion: reduce) {
	.mct-more__item a, .mct-aside-shop li a { transition: none; }
	.mct-more__item a:hover, .mct-aside-shop li a:hover { transform: none; }
}

/* Blog index cards: real classroom photos, framed on the top third so faces and posters show. */
.mct-blog .mct-bcard__art .wp-block-post-featured-image img { object-position: center 30%; }
.mct-blog .mct-feature .mct-bcard__art .wp-block-post-featured-image img { object-position: center 35%; }

/* Post polish */
.mct-post > section.has-surface-background-color:not(:has(.mct-shop)) { display: none; }
.mct-post__article .wp-block-post-content .wp-block-image { margin: 2.2rem 0 !important; }
.mct-post__article .wp-block-post-content .wp-block-image img { display: block; width: 100%; max-width: 520px; height: auto; border: 2.5px solid var(--p-ink); border-radius: 18px; box-shadow: 8px 8px 0 var(--p-blush); }
.mct-post__article .wp-block-post-content .wp-block-image figcaption { font-family: Caveat, cursive; font-size: 1.4rem; margin-top: 0.8rem; }
.mct-post .mct-shop__grid { justify-content: start; }

/* ===== More resources like this (1.6.1): fixed square covers, nothing cropped ===== */
.mct-related { margin-top: clamp(3rem, 6vw, 4.5rem); }
.mct-related__kicker { font-family: Caveat, cursive; font-weight: 700; font-size: clamp(1.7rem, 3vw, 2.2rem); line-height: 1; margin: 0 0 0.2rem !important; transform: rotate(-2deg); transform-origin: left; display: inline-block; }
.mct-related__h { font-family: var(--wp--preset--font-family--display); font-weight: 900; font-size: clamp(1.6rem, 3vw, 2.2rem) !important; margin: 0 0 1.5rem !important; }
.mct-related__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.6rem); align-items: stretch; }
.mct-related__item { display: flex; min-width: 0; }
.mct-related__item a { display: flex; flex-direction: column; gap: 0; width: 100%; height: auto; padding: 0; overflow: hidden; border: 2.5px solid #2e2e30; border-radius: 20px; background: #fff; }
.mct-related__img { display: block; position: relative; aspect-ratio: 1 / 1; background: #fff; border-bottom: 2.5px solid #2e2e30; padding: 8px; overflow: hidden; }
.mct-related__img img,
.mct-related__img .mct-card__noimg { display: block; position: absolute; inset: 8px; width: calc(100% - 16px) !important; height: calc(100% - 16px) !important; max-width: none; aspect-ratio: auto !important; object-fit: contain !important; border-radius: 6px; contain-intrinsic-size: auto !important; }
.mct-related__body { display: flex; flex-direction: column; gap: 0.35rem; padding: 0.85rem 0.95rem 0.95rem; flex: 1; }
.mct-related__title { font-weight: 800; font-size: 0.98rem; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.mct-related__meta { font-size: 0.84rem; color: #56565b; margin-top: 0; }
.mct-related__foot { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; margin-top: auto; padding-top: 0.6rem; border-top: 2px dashed #e6dfe1; font-size: 0.88rem; }
.mct-related__price { font-weight: 900; color: #a26361; }
.mct-related__go { font-weight: 900; margin-left: auto; white-space: nowrap; }
@media (max-width: 781px) {
	.mct-related__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.mct-related__go { display: none; }
}
/* Never let WordPress's auto-sizes placeholder stretch a cover. */
.mct-catalogue img, .mct-pd img, .mct-post img { contain-intrinsic-size: auto !important; }
.mct-pd__save { margin: 0.3rem 0 0 !important; font-size: 0.95rem; color: #56565b; }
.mct-pd__save strong { color: #b4473f; font-weight: 900; }
.mct-card__price s { font-weight: 600; color: #8a8a8f; margin-left: 0.3rem; font-size: 0.85em; }

/* Resource pages: blog posts that use this resource */
.mct-howto { margin-top: clamp(3rem, 6vw, 4.5rem); }
.mct-howto__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.4rem; }
.mct-howto__item a { display: grid; grid-template-columns: 120px 1fr; height: 100%; background: #fff; border: 2.5px solid #2e2e30; border-radius: 20px; overflow: hidden; color: #2e2e30; text-decoration: none; box-shadow: 6px 6px 0 #fed797; transition: transform 0.15s ease; }
.mct-howto__item:nth-child(2) a { box-shadow: 6px 6px 0 #749eb2; }
.mct-howto__item:nth-child(3) a { box-shadow: 6px 6px 0 #c2afc7; }
.mct-howto__item a:hover { transform: translateY(-3px); }
.mct-howto__img { display: block; background: #eacbc6; border-right: 2.5px solid #2e2e30; min-height: 130px; }
.mct-howto__img img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; contain-intrinsic-size: auto !important; }
.mct-howto__body { display: flex; flex-direction: column; gap: 0.45rem; padding: 0.9rem 1rem; }
.mct-howto__body .mct-more__cat { font-size: 0.66rem; }
.mct-howto__t { font-family: var(--wp--preset--font-family--display); font-weight: 900; font-size: 1.05rem; line-height: 1.25; }
.mct-howto__go { margin-top: auto; font-weight: 900; font-size: 0.86rem; }

/* ===== Email sign-up card (1.7.1) ===== */
.mct-signup {
	position: relative;
	max-width: 920px;
	margin-left: auto !important;
	margin-right: auto !important;
	text-align: center;
	background-image: radial-gradient(rgba(255,255,255,0.55) 2.4px, transparent 2.9px), linear-gradient(110deg, #c2afc7 0%, #eacbc6 50%, #fed797 100%);
	background-size: 30px 30px, auto;
	border: 3px solid #2e2e30;
	border-radius: 28px;
	box-shadow: 10px 10px 0 #2e2e30;
	padding: clamp(1.8rem, 4vw, 3rem) clamp(1.2rem, 4vw, 3.2rem) !important;
}
.mct-signup > * { margin-left: auto !important; margin-right: auto !important; }
.mct-signup__kicker { font-family: Caveat, cursive; font-weight: 700; font-size: clamp(1.8rem, 3.2vw, 2.4rem); line-height: 1; margin: 0 !important; transform: rotate(-2deg); display: inline-block; }
.mct-signup__title { font-family: var(--wp--preset--font-family--display); font-weight: 900; font-size: clamp(1.6rem, 3.4vw, 2.4rem) !important; line-height: 1.15 !important; margin: 0.3rem auto 0.6rem !important; max-width: 22em; text-wrap: balance; }
.mct-signup__text { max-width: 36em; font-size: 1.05rem; line-height: 1.6; margin-bottom: 1.2rem !important; }
.mct-signup__perks { list-style: none; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin: 0 auto 1.4rem !important; }
.mct-signup__perks li { background: #fff; border: 2px solid #2e2e30; border-radius: 999px; padding: 0.3rem 0.9rem; font-size: 0.86rem; font-weight: 800; }
.mct-signup .wp-block-jetpack-subscriptions { max-width: 560px; margin: 0 auto !important; }
.mct-signup .wp-block-jetpack-subscriptions__form-elements { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; }
.mct-signup .wp-block-jetpack-subscriptions input[type=email] { flex: 1 1 240px; min-height: 52px; border: 2.5px solid #2e2e30 !important; border-radius: 999px !important; padding: 0 1.2rem !important; font-size: 1rem !important; background: #fff !important; }
.mct-signup .wp-block-jetpack-subscriptions button { min-height: 52px; background: #2e2e30 !important; color: #fff !important; border: 2.5px solid #2e2e30 !important; border-radius: 999px !important; padding: 0 1.6rem !important; font-weight: 900 !important; box-shadow: 4px 4px 0 #efa793; cursor: pointer; }
.mct-signup .wp-block-jetpack-subscriptions button:hover { transform: translate(-1px, -1px); }
.mct-signup__fine { font-size: 0.85rem; color: #45454a; margin-top: 0.9rem !important; margin-bottom: 0 !important; }

/* Grade chip row */
.mct-grades { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem; margin: 0 auto !important; }
.mct-grades a { display: inline-block; background: #fff; border: 2.5px solid #2e2e30; border-radius: 999px; padding: 0.5rem 1.1rem; font-weight: 900; font-size: 0.95rem; color: #2e2e30; text-decoration: none; box-shadow: 3px 3px 0 #eacbc6; }
.mct-grades a:nth-child(3n+2) { box-shadow: 3px 3px 0 #749eb2; }
.mct-grades a:nth-child(3n+3) { box-shadow: 3px 3px 0 #fed797; }
.mct-grades a:hover { transform: translateY(-2px); }
.mct-grades a[aria-current=page] { background: #2e2e30; color: #fff; }
.mct-grade-intro { max-width: 760px; margin-left: auto !important; margin-right: auto !important; font-size: 1.1rem; line-height: 1.75; }
.mct-grade-intro p { margin: 0 0 1rem !important; }

/* Main menu: use the full band width so it stays on one line. */
.mct-navband > .wp-block-navigation { max-width: 1200px !important; width: 100%; }
@media (min-width: 600px) and (max-width: 1180px) {
	.mct-navband .wp-block-navigation { --wp--style--block-gap: 1.6rem; gap: 1.6rem !important; }
}
@media (min-width: 1000px) {
	.mct-navband .wp-block-navigation,
	.mct-navband .wp-block-navigation__container { flex-wrap: nowrap !important; }
	.mct-navband .wp-block-navigation-item__content { white-space: nowrap; }
}

/* ===== Bundle deals (1.9.0) ===== */
.mct-badge--save { background: #b4473f !important; color: #fff !important; border-color: #2e2e30 !important; }
.mct-deal {
	position: relative;
	margin: 0.9rem 0 0.4rem;
	padding: 1rem 1.1rem 1.05rem;
	background: #fff4dc;
	border: 2.5px solid #2e2e30;
	border-radius: 18px;
	box-shadow: 5px 5px 0 #efa793;
}
.mct-deal > * { margin: 0 !important; }
.mct-deal__badge { position: absolute; top: -0.85rem; left: 1rem; background: #2e2e30; color: #fff; border-radius: 999px; padding: 0.2rem 0.8rem; font-size: 0.74rem; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; }
.mct-deal__big { font-family: var(--wp--preset--font-family--display); font-weight: 900; font-size: clamp(1.8rem, 3vw, 2.3rem); line-height: 1.05; color: #b4473f; margin-top: 0.3rem !important; }
.mct-deal__facts { list-style: none; padding: 0; margin: 0.45rem 0 0 !important; display: grid; gap: 0.2rem; font-size: 0.95rem; }
.mct-deal__facts li::before { content: "✓"; font-weight: 900; color: #2e2e30; margin-right: 0.4rem; }
.mct-deal__facts s { color: #8a8a8f; }
.mct-deal__see { display: inline-block; margin-top: 0.55rem !important; font-weight: 900; color: #2e2e30; }

.mct-inside { margin-top: clamp(3rem, 6vw, 4.5rem); }
.mct-inside__note { margin: 0 0 1.4rem !important; color: #56565b; }
.mct-inside__grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)) !important; }

.mct-upsells { margin-top: clamp(3rem, 6vw, 4.5rem); }
.mct-upsell {
	display: grid;
	grid-template-columns: 150px 1fr;
	gap: 1.2rem;
	align-items: center;
	max-width: 760px;
	margin-top: 1rem;
	padding: 0.9rem;
	background: #fff4dc;
	border: 2.5px solid #2e2e30;
	border-radius: 22px;
	box-shadow: 7px 7px 0 #efa793;
	color: #2e2e30 !important;
	text-decoration: none !important;
	transition: transform 0.15s ease;
}
.mct-upsell:hover { transform: translateY(-3px); }
.mct-upsell__img { display: block; aspect-ratio: 1; background: #fff; border: 2px solid #2e2e30; border-radius: 12px; overflow: hidden; }
.mct-upsell__img img { width: 100% !important; height: 100% !important; object-fit: contain; display: block; contain-intrinsic-size: auto !important; }
.mct-upsell__body { display: flex; flex-direction: column; gap: 0.35rem; }
.mct-upsell__badge { align-self: flex-start; background: #b4473f; color: #fff; border-radius: 999px; padding: 0.25rem 0.8rem; font-size: 0.78rem; font-weight: 900; letter-spacing: 0.04em; }
.mct-upsell__t { font-family: var(--wp--preset--font-family--display); font-weight: 900; font-size: 1.2rem; line-height: 1.25; }
.mct-upsell__meta { font-size: 0.95rem; color: #45454a; }
.mct-upsell__go { font-weight: 900; }
@media (max-width: 600px) { .mct-upsell { grid-template-columns: 96px 1fr; gap: 0.8rem; } .mct-upsell__t { font-size: 1.02rem; } }
.mct-deal-inline strong { color: #b4473f; }
.mct-deal-inline s { color: #8a8a8f; }

/* TPT site-wide sale bar + product note (2.0.0) */
.mct-sale { background: #2e2e30; color: #fff; text-align: center; font-size: 0.92rem; line-height: 1.4; padding: 0.55rem 1rem; }
.mct-sale a { color: #fff !important; text-decoration: none; }
.mct-sale a:hover .mct-sale__go { text-decoration: underline; }
.mct-sale strong { color: #fed797; }
.mct-sale__code, .mct-pd__salecode .mct-sale__code { display: inline-block; background: #fed797; color: #2e2e30; border-radius: 6px; padding: 0 0.45rem; font-weight: 900; letter-spacing: 0.06em; }
.mct-sale__go { font-weight: 900; margin-left: 0.4rem; white-space: nowrap; }
.mct-pd__salecode { margin: 0.7rem 0 0 !important; padding: 0.55rem 0.8rem; background: #fff4dc; border: 2px dashed #2e2e30; border-radius: 12px; font-size: 0.92rem; text-align: center; }
.mct-pd__salecode strong { color: #b4473f; }

/* ===== Craft showcase posts (2.0.2) ===== */
.mct-craftnav { display: grid; grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); gap: 0.9rem; margin: 2rem 0 2.8rem; }
.mct-post__article .wp-block-post-content .mct-craftnav a { position: relative; display: flex; flex-direction: column; background: #fff; border: 2.5px solid var(--p-ink); border-radius: 16px; overflow: hidden; color: var(--p-ink); text-decoration: none; font-weight: 800; box-shadow: 4px 4px 0 var(--p-blush); transition: transform 0.15s ease; }
.mct-craftnav a:nth-child(7n+2) { box-shadow: 4px 4px 0 var(--p-blue); }
.mct-craftnav a:nth-child(7n+3) { box-shadow: 4px 4px 0 var(--p-yellow); }
.mct-craftnav a:nth-child(7n+4) { box-shadow: 4px 4px 0 var(--p-sage); }
.mct-craftnav a:nth-child(7n+5) { box-shadow: 4px 4px 0 var(--p-lav); }
.mct-craftnav a:nth-child(7n+6) { box-shadow: 4px 4px 0 var(--p-coral); }
.mct-craftnav a:hover { transform: translateY(-3px); }
.mct-craftnav img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: center 40%; border-bottom: 2.5px solid var(--p-ink); }
.mct-craftnav__n { position: absolute; top: 0.45rem; left: 0.45rem; width: 1.9rem; height: 1.9rem; display: grid; place-items: center; border-radius: 50%; background: var(--p-yellow); border: 2px solid var(--p-ink); font-weight: 900; font-size: 0.88rem; line-height: 1; }
.mct-craftnav__t { padding: 0.55rem 0.65rem 0.7rem; font-size: 0.86rem; line-height: 1.25; }

.mct-post__article .wp-block-post-content .mct-craft { position: relative; margin: 3.4rem 0 !important; padding: clamp(1.3rem, 3vw, 2.1rem) !important; background: #fff; border: 3px solid var(--p-ink); border-radius: 26px; box-shadow: 10px 10px 0 var(--p-blush); scroll-margin-top: 110px; }
.mct-post__article .wp-block-post-content .mct-craft--blue { box-shadow: 10px 10px 0 var(--p-blue); }
.mct-post__article .wp-block-post-content .mct-craft--yellow { box-shadow: 10px 10px 0 var(--p-yellow); }
.mct-post__article .wp-block-post-content .mct-craft--sage { box-shadow: 10px 10px 0 var(--p-sage); }
.mct-post__article .wp-block-post-content .mct-craft--lav { box-shadow: 10px 10px 0 var(--p-lav); }
.mct-post__article .wp-block-post-content .mct-craft--bonus { background: var(--p-surface); border-style: dashed; box-shadow: 10px 10px 0 var(--p-lav); }
.mct-craft > :first-child { margin-top: 0 !important; }
.mct-craft > :last-child { margin-bottom: 0 !important; }
.mct-post__article .wp-block-post-content .mct-craft > h2 { margin-top: 0.7rem !important; }
.mct-post__article .wp-block-post-content .mct-craft__kicker { display: inline-block; margin: 0 !important; padding: 0.28rem 0.9rem; background: var(--p-yellow); border: 2px solid var(--p-ink); border-radius: 999px; font-size: 0.76rem; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; line-height: 1.3; }
.mct-craft--blue .mct-craft__kicker { background: #d8e6ed !important; }
.mct-craft--sage .mct-craft__kicker { background: #dbe6e7 !important; }
.mct-craft--lav .mct-craft__kicker, .mct-craft--bonus .mct-craft__kicker { background: #e6dcea !important; }
.mct-craft:not(.mct-craft--blue):not(.mct-craft--yellow):not(.mct-craft--sage):not(.mct-craft--lav):not(.mct-craft--bonus) .mct-craft__kicker { background: #f8d6cc !important; }

.mct-post__article .wp-block-post-content .mct-craft__photos { margin: 1.5rem 0 1.7rem !important; gap: 1.1rem !important; }
.mct-post__article .wp-block-post-content .mct-craft__photos .wp-block-image { margin: 0 !important; display: flex; flex-direction: column; transform: rotate(-1.2deg); }
.mct-post__article .wp-block-post-content .mct-craft__photos .wp-block-image:nth-child(even) { transform: rotate(1.2deg); }
.mct-post__article .wp-block-post-content .mct-craft__photos .wp-block-image img { width: 100% !important; max-width: none; height: auto !important; aspect-ratio: 3 / 4; object-fit: cover; flex: none !important; border: 2.5px solid var(--p-ink); border-radius: 16px; box-shadow: 5px 5px 0 var(--p-yellow); }
.mct-post__article .wp-block-post-content .mct-craft__photos.wp-block-gallery.has-nested-images figure.wp-block-image figcaption { position: static; background: none; color: var(--p-ink); text-shadow: none; max-height: none; overflow: visible; padding: 0.55rem 0.2rem 0; margin: 0; font-family: Caveat, cursive; font-size: 1.28rem; line-height: 1.15; text-align: center; }
.mct-post__article .wp-block-post-content .mct-craft__photos.wp-block-gallery.has-nested-images figure.wp-block-image::before { display: none; }
.mct-post__article .wp-block-post-content .mct-craft .wp-block-image:not(.mct-craft__photos .wp-block-image) { margin: 1.5rem 0 1.7rem !important; }

.mct-post__article .wp-block-post-content .mct-ask { position: relative; margin: 1.5rem 0 !important; padding: 1rem 1.2rem 1rem 3.5rem !important; background: var(--p-surface); border: 2px dashed var(--p-ink); border-radius: 16px; font-weight: 600; line-height: 1.5; }
.mct-craft--bonus .mct-ask { background: #fff !important; }
.mct-ask::before { content: "?"; position: absolute; left: 0.9rem; top: 1rem; width: 1.85rem; height: 1.85rem; display: grid; place-items: center; border-radius: 50%; background: var(--p-coral); border: 2px solid var(--p-ink); font-weight: 900; font-size: 1rem; line-height: 1; }
.mct-ask strong { font-weight: 900; }

.mct-post__article .wp-block-post-content .mct-craft__meta { margin: 0 0 1rem !important; font-size: 0.92rem; color: #56565b; }
.mct-post__article .wp-block-post-content .mct-craft__meta strong { color: var(--p-ink); }
.mct-post__article .wp-block-post-content .mct-craft__cta { gap: 0.7rem; margin: 0 !important; }
.mct-post__article .wp-block-post-content .mct-craft__cta .wp-block-button__link { display: inline-block; background: var(--p-coral); color: var(--p-ink) !important; border: 2.5px solid var(--p-ink); border-radius: 999px; padding: 0.62rem 1.35rem; font-weight: 900; font-size: 0.98rem; text-decoration: none !important; box-shadow: 3px 3px 0 var(--p-ink); transition: transform 0.12s ease, box-shadow 0.12s ease; }
.mct-post__article .wp-block-post-content .mct-craft__cta .is-style-outline .wp-block-button__link { background: #fff; }
.mct-post__article .wp-block-post-content .mct-craft__cta .wp-block-button__link:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--p-ink); }

@media (max-width: 600px) {
	.mct-craftnav { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.6rem; }
	.mct-craftnav__t { font-size: 0.76rem; padding: 0.45rem 0.5rem 0.55rem; }
	.mct-craftnav__n { width: 1.6rem; height: 1.6rem; font-size: 0.78rem; }
	.mct-post__article .wp-block-post-content .mct-craft { box-shadow: 6px 6px 0 var(--p-blush); border-radius: 20px; }
	.mct-post__article .wp-block-post-content .mct-craft__photos .wp-block-image { transform: none !important; }
}
@media (prefers-reduced-motion: reduce) {
	.mct-craftnav a, .mct-craft__cta .wp-block-button__link { transition: none; }
}
.mct-post__article .wp-block-post-content .mct-craftnav img { width: 100% !important; height: auto !important; max-width: none !important; aspect-ratio: 1 / 1 !important; object-fit: cover !important; object-position: center 40%; margin: 0 !important; border: 0 !important; border-bottom: 2.5px solid var(--p-ink) !important; border-radius: 0 !important; box-shadow: none !important; }

/* ===== Showcase extras (2.0.4): wide banner, feature tiles, starters, media-text, week plan ===== */
.mct-post__article .wp-block-post-content .mct-wide { margin: 2rem 0 2.4rem !important; }
.mct-post__article .wp-block-post-content .mct-wide img { width: 100% !important; max-width: none !important; height: auto !important; border: 2.5px solid var(--p-ink); border-radius: 22px; box-shadow: 10px 10px 0 var(--p-yellow); }
.mct-post__article .wp-block-post-content .mct-wide figcaption { text-align: center; }

.mct-post__article .wp-block-post-content ul.mct-feats { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.9rem; padding: 0 !important; margin: 0 0 2.6rem !important; }
.mct-post__article .wp-block-post-content ul.mct-feats > li { margin: 0 !important; padding: 1rem 1.15rem !important; background: #fff; border: 2.5px solid var(--p-ink); border-radius: 18px; box-shadow: 5px 5px 0 var(--p-blush); font-size: 0.98rem; line-height: 1.4; }
.mct-post__article .wp-block-post-content ul.mct-feats > li::before { display: none !important; }
.mct-post__article .wp-block-post-content ul.mct-feats > li:nth-child(4n+2) { box-shadow: 5px 5px 0 var(--p-blue); }
.mct-post__article .wp-block-post-content ul.mct-feats > li:nth-child(4n+3) { box-shadow: 5px 5px 0 var(--p-yellow); }
.mct-post__article .wp-block-post-content ul.mct-feats > li:nth-child(4n+4) { box-shadow: 5px 5px 0 var(--p-lav); }
.mct-post__article .wp-block-post-content ul.mct-feats strong { display: block; font-family: var(--wp--preset--font-family--display); font-weight: 900; font-size: 1.35rem; line-height: 1.15; margin-bottom: 0.2rem; }

.mct-post__article .wp-block-post-content ul.mct-starters { list-style: none; display: flex; flex-wrap: wrap; gap: 0.7rem; padding: 0 !important; margin: 1.4rem 0 1.6rem !important; }
.mct-post__article .wp-block-post-content ul.mct-starters > li { margin: 0 !important; padding: 0.55rem 1rem !important; background: #fff4dc; border: 2px solid var(--p-ink); border-radius: 14px; font-family: Caveat, cursive; font-size: 1.45rem; line-height: 1.15; transform: rotate(-1deg); }
.mct-post__article .wp-block-post-content ul.mct-starters > li:nth-child(even) { background: #e3edf1; transform: rotate(1deg); }
.mct-post__article .wp-block-post-content ul.mct-starters > li::before { display: none !important; }

.mct-post__article .wp-block-post-content .mct-craft .wp-block-media-text { margin: 1.5rem 0 1.6rem !important; gap: 1.6rem; grid-template-columns: 42% auto !important; }
.mct-post__article .wp-block-post-content .mct-craft .wp-block-media-text__media img { display: block; width: 100%; height: auto; border: 2.5px solid var(--p-ink); border-radius: 16px; box-shadow: 5px 5px 0 var(--p-yellow); transform: rotate(-1.2deg); }
.mct-post__article .wp-block-post-content .mct-craft .wp-block-media-text__content { padding: 0 !important; }
.mct-post__article .wp-block-post-content .mct-craft .wp-block-media-text__content > :first-child { margin-top: 0 !important; }

.mct-post__article .wp-block-post-content ul.mct-week { list-style: none; display: grid; gap: 0.7rem; padding: 0 !important; margin: 1.4rem 0 2.2rem !important; }
.mct-post__article .wp-block-post-content ul.mct-week > li { display: grid; grid-template-columns: 7.2rem 1fr; align-items: center; gap: 1rem; margin: 0 !important; padding: 0.75rem 1rem !important; background: #fff; border: 2.5px solid var(--p-ink); border-radius: 16px; line-height: 1.4; }
.mct-post__article .wp-block-post-content ul.mct-week > li::before { display: none !important; }
.mct-post__article .wp-block-post-content ul.mct-week > li strong { display: block; text-align: center; padding: 0.3rem 0.4rem; background: #f8d6cc; border: 2px solid var(--p-ink); border-radius: 999px; font-size: 0.82rem; font-weight: 900; letter-spacing: 0.06em; text-transform: uppercase; }
.mct-post__article .wp-block-post-content ul.mct-week > li:nth-child(5n+2) strong { background: #d8e6ed; }
.mct-post__article .wp-block-post-content ul.mct-week > li:nth-child(5n+3) strong { background: #fff4dc; }
.mct-post__article .wp-block-post-content ul.mct-week > li:nth-child(5n+4) strong { background: #dbe6e7; }
.mct-post__article .wp-block-post-content ul.mct-week > li:nth-child(5n+5) strong { background: #e6dcea; }

@media (max-width: 600px) {
	.mct-post__article .wp-block-post-content ul.mct-feats { grid-template-columns: 1fr; }
	.mct-post__article .wp-block-post-content ul.mct-week > li { grid-template-columns: 1fr; gap: 0.45rem; }
	.mct-post__article .wp-block-post-content ul.mct-week > li strong { justify-self: start; padding: 0.25rem 0.8rem; }
	.mct-post__article .wp-block-post-content .mct-wide img { box-shadow: 6px 6px 0 var(--p-yellow); border-radius: 16px; }
	.mct-post__article .wp-block-post-content .mct-craft .wp-block-media-text__media img { transform: none; }
}
.mct-post__article .wp-block-post-content .mct-craft .wp-block-media-text { display: grid; grid-template-rows: auto; align-items: center; }
.mct-post__article .wp-block-post-content .mct-craft .wp-block-media-text__media { grid-column: 1; grid-row: 1; margin: 0; }
.mct-post__article .wp-block-post-content .mct-craft .wp-block-media-text__content { grid-column: 2; grid-row: 1; }
@media (max-width: 600px) {
	.mct-post__article .wp-block-post-content .mct-craft .wp-block-media-text { grid-template-columns: 100% !important; }
	.mct-post__article .wp-block-post-content .mct-craft .wp-block-media-text__content { grid-column: 1; grid-row: 2; }
	.mct-post__article .wp-block-post-content .mct-craft .wp-block-media-text__media { max-width: 320px; }
}
