/*
Theme Name: Devon Counselling College
Theme URI: https://www.devoncounsellingcollege.co.uk/
Author: Devon Counselling College
Author URI: https://www.devoncounsellingcollege.co.uk/
Description: Block theme for Devon Counselling College, built to the 2026 design handoff. A twelve-column bento grid of bordered cards on a pale green-grey paper background, with Newsreader and Public Sans self-hosted.
Version: 0.0.224
Requires at least: 6.5
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dcc
*/

/* ---------------------------------------------------------------------------
   Design values live here rather than in block attributes.

   theme.json carries the tokens (colour, type, spacing, layout). This file
   carries the arrangements the design specifies exactly - the utility bar,
   the masthead, the footer columns - so that staff editing a page cannot
   pull the header apart by accident, and so every value has one home.

   Everything below reads from the theme.json presets. Never hard-code a
   colour here: if it is not in the palette, it is not in the design.
   --------------------------------------------------------------------------- */

/* Header ------------------------------------------------------------------ */

/*
 * The header sticks, and narrows as it does (James, 18 Aug). The whole header
 * is the sticky element, pinned a utility bar's height above the top of the
 * window: as the page scrolls the dark strip slides out of view and the white
 * masthead stays put. Below, where the browser can drive an animation from
 * the scroll position, the masthead also tightens over the first 120px of
 * scrolling; where it cannot, the bar simply stays at full size. The admin
 * bar, when there is one, is added to the offset.
 *
 * The utility bar is therefore a fixed height rather than padded, so the
 * offset is exact at every width.
 *
 * The element that sticks is the wrapper WordPress puts round the header
 * template part, not .dcc-header itself: a sticky element only travels
 * within its parent, and .dcc-header's parent is exactly its own height,
 * so pinning it did nothing (measured, 18 Aug). The wrapper's parent is the
 * whole page.
 */
.wp-block-template-part:has(> .dcc-header) {
	--dcc-utility-h: 36px;
	position: sticky;
	top: calc(var(--wp-admin--admin-bar--height, 0px) - var(--dcc-utility-h));
	z-index: 100;
}

.dcc-header {
	position: relative;
}

/* WordPress hands the masthead a block-gap top margin as the second child;
   in the header that gap would show as a strip of page above the bar. */
.dcc-header > * {
	margin-block: 0;
}

/* Utility bar: the thin dark strip above the masthead. */
.dcc-utility {
	height: var(--dcc-utility-h, 36px);
	padding: 0 40px;
	font-size: 0.781rem; /* 12.5px */
	line-height: 1.4;
	color: rgba(255, 255, 255, 0.82);
	overflow: hidden;
}

/* Written with the parent so it outranks the wrap WordPress prints for the
   flex group; a wrapped utility bar would be taller than the offset. */
.dcc-header .dcc-utility {
	flex-wrap: nowrap;
}

.dcc-utility p {
	margin: 0;
	font-size: inherit;
	color: inherit;
}

.dcc-utility a {
	color: inherit;
	text-decoration: none;
}

.dcc-utility a:hover {
	color: var(--wp--preset--color--teal-light);
}

/* The interpunct between utility items is drawn, not typed, so the items
   stay separate links for screen readers. */
.dcc-utility__left > :not(:first-child)::before,
.dcc-utility__right > :not(:first-child)::before {
	content: "\00b7";
	margin-right: 20px;
	opacity: 0.4;
}

.dcc-utility__left,
.dcc-utility__right {
	gap: 20px;
}

/* Masthead: white bar, logo and wordmark left, navigation right. */
.dcc-masthead {
	padding: 18px 40px;
	border-bottom: 1px solid var(--wp--preset--color--hairline);
}

/* The whole brand is one link to the home page: logo, name and strapline
   together (James, 20 Aug). It carries the layout the block group used to
   provide, since it is no longer a block group. */
.dcc-masthead__brand {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: 13px;
	text-decoration: none;
}

.dcc-masthead__names {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.dcc-masthead__brand .dcc-logo {
	width: 54px;
	height: auto;
	display: block;
}

.dcc-masthead__brand .wp-block-site-title {
	display: block;
	font-family: var(--wp--preset--font-family--serif);
	font-size: 1.313rem; /* 21px */
	font-weight: 400;
	line-height: 1;
	letter-spacing: -0.01em;
	margin: 0;
	/* The colour used to come from the anchor the site title block drew
	   inside itself. That anchor has gone, so it comes from here. */
	color: var(--wp--preset--color--ink);
}

.dcc-masthead__brand .wp-block-site-title a {
	color: var(--wp--preset--color--ink);
	text-decoration: none;
}

.dcc-masthead__brand .wp-block-site-tagline {
	display: block;
	font-family: var(--wp--preset--font-family--serif);
	font-style: italic;
	font-size: 0.844rem; /* 13.5px */
	line-height: 1.3;
	color: var(--wp--preset--color--teal-text);
	margin: 2px 0 0;
}

/* Navigation. The current page carries a 2px teal underline and nothing
   else - no colour change, no bold beyond 600. */
.dcc-nav {
	gap: 26px;
}

.dcc-nav .wp-block-navigation-item__content {
	font-size: 0.906rem; /* 14.5px */
	font-weight: 500;
	color: var(--wp--preset--color--ink-soft);
	text-decoration: none;
	padding-bottom: 2px;
}

.dcc-nav .current-menu-item > .wp-block-navigation-item__content,
.dcc-nav .current_page_item > .wp-block-navigation-item__content,
.dcc-nav .current-menu-ancestor > .wp-block-navigation-item__content {
	font-weight: 600;
	color: var(--wp--preset--color--ink);
	border-bottom: 2px solid var(--wp--preset--color--teal);
}

.dcc-nav .wp-block-navigation-item__content:hover {
	color: var(--wp--preset--color--teal-text);
}

/* Arrange a visit. Smaller than the theme.json button default, which is sized
   for a call to action in the body, not one sitting in a navigation bar. */
.dcc-masthead .dcc-button-visit .wp-block-button__link {
	padding: 8px 15px;
	font-size: 0.813rem;
}

/*
 * The narrowing. As the first 120px scroll by, the masthead squashes down:
 * padding, logo, wordmark, the tagline fades out, the navigation and the
 * Arrange a visit button drop a size. Driven by the scroll position itself -
 * no script. Guarded so a browser without scroll-driven animations keeps the
 * full-size bar, and off entirely for anyone who has asked for less motion.
 * Squashed further at James's asking, 19 Aug.
 */
@supports (animation-timeline: scroll()) {
	@media (prefers-reduced-motion: no-preference) {
		.dcc-masthead,
		.dcc-masthead__brand,
		.dcc-masthead__brand .dcc-logo,
		.dcc-masthead__brand .wp-block-site-title,
		.dcc-masthead__brand .wp-block-site-tagline,
		.dcc-nav .wp-block-navigation-item__content,
		.dcc-masthead .dcc-button-visit .wp-block-button__link {
			animation-timing-function: linear;
			animation-fill-mode: both;
			animation-timeline: scroll(root);
			animation-range: 0 120px;
		}

		.dcc-masthead {
			animation-name: dcc-squash-masthead;
		}

		.dcc-masthead__brand {
			animation-name: dcc-squash-brand;
		}

		.dcc-masthead__brand .dcc-logo {
			animation-name: dcc-squash-logo;
		}

		.dcc-masthead__brand .wp-block-site-title {
			animation-name: dcc-squash-title;
		}

		.dcc-masthead__brand .wp-block-site-tagline {
			max-height: 1.4em;
			overflow: hidden;
			animation-name: dcc-squash-tagline;
		}

		.dcc-nav .wp-block-navigation-item__content {
			animation-name: dcc-squash-nav;
		}

		.dcc-masthead .dcc-button-visit .wp-block-button__link {
			animation-name: dcc-squash-button;
		}
	}
}

@keyframes dcc-squash-masthead {
	to {
		padding-top: 6px;
		padding-bottom: 6px;
	}
}

@keyframes dcc-squash-brand {
	to {
		gap: 10px;
	}
}

@keyframes dcc-squash-logo {
	to {
		width: 32px;
	}
}

@keyframes dcc-squash-title {
	to {
		font-size: 1.063rem;
	}
}

@keyframes dcc-squash-tagline {
	to {
		opacity: 0;
		max-height: 0;
		margin-top: 0;
	}
}

@keyframes dcc-squash-nav {
	to {
		font-size: 0.844rem;
	}
}

@keyframes dcc-squash-button {
	to {
		padding: 5px 11px;
		font-size: 0.75rem;
	}
}

/* Footer ------------------------------------------------------------------ */

.dcc-footer {
	padding: 44px 40px 26px;
	color: rgba(255, 255, 255, 0.72);
	font-size: 0.875rem; /* 14px */
}

.dcc-footer__columns {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1fr;
	gap: 36px;
	padding-bottom: 32px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

/* The mark is teal and grey with dark outlines, which sinks into the darkest
   green. It sits on a pale disc in the footer so it still reads. The disc is
   a circle rather than a rounded square because the mark is a ring, and
   because the social links below it are circles too. */
.dcc-footer__brand .dcc-logo {
	width: 48px;
	height: 48px;
	padding: 4px;
	box-sizing: border-box;
	object-fit: contain;
	background-color: var(--wp--preset--color--paper);
	border-radius: 50%;
	display: block;
}

.dcc-footer__brand .wp-block-site-title {
	font-family: var(--wp--preset--font-family--serif);
	font-size: 1.125rem; /* 18px */
	font-weight: 400;
	line-height: 1.15;
	margin: 0;
}

.dcc-footer__brand .wp-block-site-title a {
	color: #ffffff;
	text-decoration: none;
}

.dcc-footer__strapline {
	font-family: var(--wp--preset--font-family--serif);
	font-style: italic;
	font-size: 1rem; /* 16px */
	color: var(--wp--preset--color--teal-light);
	margin: 0 0 16px;
}

/* Social links are lettered circles, not icons. The design uses no icon set
   anywhere, and this is the one place it would be tempting to break that. */
/* Read out, never seen. WordPress has a class of this name but a block theme
   cannot count on its stylesheet being on the page, and a row of unlabelled
   marks is no use to anybody listening to it. */
.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	border: 0;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

/* The marks are Tabler's, stroked like every other icon on the site, in the
   outlined circles the design draws. Only the accounts that have an address
   are here at all. */
.dcc-footer__social {
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
	padding: 0;
	margin: 0;
	list-style: none;
}

.dcc-footer__social a {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.25);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #ffffff;
	text-decoration: none;
	transition: border-color var(--wp--custom--motion--duration-fast) var(--wp--custom--motion--easing);
}

.dcc-footer__social .dcc-icon {
	width: 16px;
	height: 16px;
}

.dcc-footer__social a:hover,
.dcc-footer__social a:focus-visible {
	border-color: var(--wp--preset--color--teal-light);
	color: var(--wp--preset--color--teal-light);
}

.dcc-footer__heading {
	font-size: 0.688rem; /* 11px */
	letter-spacing: 0.13em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.5);
	font-weight: 600;
	margin: 0 0 3px;
}

.dcc-footer__column {
	gap: 10px;
}

.dcc-footer p {
	margin: 0;
	font-size: inherit;
	line-height: 1.5;
}

.dcc-footer a {
	color: inherit;
	text-decoration: none;
}

.dcc-footer a:hover {
	color: #ffffff;
}

/* Both halves on one line, centred against each other. WordPress puts a
   16px top margin on the second child of a flow group, which in a flex row
   pushes the links down instead of along, so the two halves sat on different
   baselines (James, 20 Aug). */
.dcc-footer__legal {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	padding-top: 18px;
	font-size: 0.781rem; /* 12.5px */
	color: rgba(255, 255, 255, 0.5);
}

.dcc-footer__legal > * {
	margin-block-start: 0;
}

.dcc-footer__legal-links {
	gap: 18px;
}

/* Cards -------------------------------------------------------------------- */

/* The one shape the whole design is built from. Every bento cell is one of
   these. Radius, hover shadow and lift distance all come from theme.json's
   custom tokens, so retuning the feel of the site is an edit to one file and
   not a hunt through 42 patterns. */

/* border-box, or the padding and border are added outside any width set on
   the card. On a wide screen the constrained layout caps its children at
   1200px, and a card took that as its content width and came out 1274, so a
   page's cards sat at two different widths depending on whether the card
   itself was the top-level element or something plainer wrapped it. */
.dcc-card {
	box-sizing: border-box;
	background-color: var(--wp--preset--color--card);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--wp--custom--radius--card);
	padding: var(--wp--preset--spacing--50);
}

/* Tint variant: the aside card. */
.dcc-card.is-tint {
	background-color: var(--wp--preset--color--tint);
	border-color: var(--wp--preset--color--tint-border);
}

/* Dark variant: one per page, never more. */
.dcc-card.is-dark {
	background-color: var(--wp--preset--color--deep);
	border-color: transparent;
	color: #ffffff;
}

/* Only cards that are themselves a link lift on hover. Content panels - course
   facts, accreditation, forms, tables - stay put. Cards at rest never carry a
   shadow; this is the only shadow in the system. */
.dcc-card.is-link {
	transition:
		transform var(--wp--custom--motion--duration) var(--wp--custom--motion--easing),
		box-shadow var(--wp--custom--motion--duration) var(--wp--custom--motion--easing),
		border-color var(--wp--custom--motion--duration) var(--wp--custom--motion--easing);
}

.dcc-card.is-link:hover {
	transform: translateY(var(--wp--custom--motion--card-lift));
	box-shadow: var(--wp--custom--shadow--card-hover);
	border-color: var(--wp--preset--color--tint-border);
}

@media (prefers-reduced-motion: reduce) {
	.dcc-card.is-link:hover {
		transform: none;
	}
}

/* The watermark: the college logo, faint and half out of the card, in one
   card per page. Every card that can carry it has a data-wm number and the
   mark drawn at zero opacity; the two-line style dcc_watermark_pick() prints
   in the footer turns one of them on. Behind the content, never over it,
   which is what the isolate and the negative z-index are for. */
.dcc-card[data-wm] {
	position: relative;
	isolation: isolate;
	overflow: hidden;
}

.dcc-card[data-wm]::before {
	content: "";
	position: absolute;
	z-index: -1;
	right: -90px;
	bottom: -80px;
	width: 300px;
	height: 290px;
	background: url(assets/images/dcc-logo.svg) no-repeat center / contain;
	opacity: 0;
	pointer-events: none;
}

/* The blog ------------------------------------------------------------------ */

/* Screen 9: the newest post across the main column with two smaller ones and
   the newsletter beside it, then everything older three across. */
.dcc-blog {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--30);
}

.dcc-bloghead {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.dcc-bloghead__heading {
	font-family: var(--wp--preset--font-family--serif);
	font-weight: 400;
	font-size: var(--wp--preset--font-size--h-1);
	line-height: 1.08;
	letter-spacing: -0.02em;
	color: var(--wp--preset--color--ink);
	margin: 0;
}

.dcc-bloghead__intro {
	font-size: var(--wp--preset--font-size--body-lg);
	line-height: 1.6;
	color: var(--wp--preset--color--body);
	margin: 12px 0 0;
	max-width: 62ch;
}

.dcc-blogchips {
	border: 0;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.dcc-blogchips__legend,
.dcc-blogchips input {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

.dcc-blogchips input:checked + .dcc-filter__chip {
	background: var(--wp--preset--color--ink);
	color: #ffffff;
	border-color: var(--wp--preset--color--ink);
}

.dcc-blogchips input:focus-visible + .dcc-filter__chip {
	outline: 2px solid var(--wp--preset--color--teal-text);
	outline-offset: 2px;
}

/* The three beside the lead share its height between them, however tall it
   turns out to be, rather than stopping short of it (James, 21 Aug). Equal
   rows, so the column reads as one block and not as three cards and a gap. */
.dcc-blog__top {
	display: grid;
	grid-template-columns: 2fr 1fr;
	gap: var(--wp--preset--spacing--30);
	align-items: stretch;
}

/* The lead card decides how tall this row is, and the three beside it divide
   that height between them. The stack is taken out of the flow to make it so:
   left in it, three cards of prose came to more than the lead and the grid
   stretched the lead to match them, which is the wrong way round. */
.dcc-blog__aside {
	position: relative;
	min-height: 0;
}

.dcc-blog__asidestack {
	position: absolute;
	inset: 0;
	display: grid;
	grid-auto-rows: 1fr;
	gap: var(--wp--preset--spacing--30);
}

/* Each of the three fills what it is given: the opening of the piece runs on
   until the card runs out, and stops on a whole line. The words come from
   further into the post than the small cards used to ask for, so there is
   enough of them to fill a taller card. */
.dcc-post--small {
	overflow: hidden;
}

.dcc-post--small .dcc-post__body {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.dcc-post--small .dcc-post__excerpt {
	flex: 1 1 auto;
	min-height: 0;
	margin-bottom: 0;
	overflow: hidden;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 9;
	line-clamp: 9;
}

.dcc-blog__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--wp--preset--spacing--30);
	align-items: stretch;
}

/* A post card: the image reaches the card edge, so the padding is on the
   words rather than on the card. */
.dcc-post {
	padding: 0;
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

.dcc-post__image {
	display: block;
	aspect-ratio: 16 / 9;
	background: var(--wp--preset--color--tint);
	overflow: hidden;
}

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

.dcc-post__body {
	padding: var(--wp--preset--spacing--40);
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.dcc-post__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 14px;
	align-items: baseline;
	margin: 0;
	font-size: 0.75rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	font-weight: 600;
	color: var(--wp--preset--color--teal-text-on-tint);
}

.dcc-post__meta span {
	color: var(--wp--preset--color--muted);
	letter-spacing: 0.04em;
}

.dcc-post__title {
	font-family: var(--wp--preset--font-family--serif);
	font-weight: 400;
	line-height: 1.15;
	color: var(--wp--preset--color--ink);
	margin: 0;
	font-size: 1.313rem;
}

.dcc-post--lead .dcc-post__title {
	font-size: var(--wp--preset--font-size--h-2);
}

.dcc-post__title a {
	color: inherit;
	text-decoration: none;
}

.dcc-post__title a:hover {
	text-decoration: underline;
}

.dcc-post__excerpt {
	margin: 0;
	font-size: 0.938rem;
	line-height: 1.6;
	color: var(--wp--preset--color--body-2);
}

.dcc-post__by {
	margin: 4px 0 0;
	font-size: 0.875rem;
	color: var(--wp--preset--color--muted);
}

.dcc-blog__none {
	margin: 0;
	padding: var(--wp--preset--spacing--40);
	text-align: center;
	color: var(--wp--preset--color--muted);
}

/* Screen 10: the article on a reading measure, its contents and one course
   beside it. */
.dcc-article {
	display: grid;
	grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr);
	gap: var(--wp--preset--spacing--30);
	align-items: start;
}

/* The trail and the row at the foot run the whole width. The article and its
   sidebar are the two columns between them. */
.dcc-article > .dcc-crumbs,
.dcc-article > .dcc-alongside {
	grid-column: 1 / -1;
}

/* Where this one sits. Every record page ends in the same row, drawing the
   same card that type already uses on its own archive - a course card, a
   tutor card, a quote, a post - so nothing new is designed here and no two
   pages answer the question differently. */
.dcc-alongside__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--wp--preset--spacing--30);
	align-items: stretch;
}

.dcc-article__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 14px;
	align-items: baseline;
	margin: 0 0 14px;
	font-size: 0.75rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	font-weight: 600;
	color: var(--wp--preset--color--muted);
}

.dcc-article__cat {
	color: var(--wp--preset--color--teal-text-on-tint);
}

.dcc-article__title {
	font-family: var(--wp--preset--font-family--serif);
	font-weight: 400;
	font-size: var(--wp--preset--font-size--h-1);
	line-height: 1.1;
	letter-spacing: -0.02em;
	color: var(--wp--preset--color--ink);
	margin: 0 0 22px;
}

.dcc-article__by {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: var(--wp--preset--spacing--40);
}

.dcc-article__avatar {
	border-radius: 50%;
	width: 44px;
	height: 44px;
}

.dcc-article__author {
	display: block;
	font-weight: 600;
	color: var(--wp--preset--color--ink);
	font-size: 0.938rem;
}

.dcc-article__role {
	display: block;
	font-size: 0.844rem;
	color: var(--wp--preset--color--muted);
}

/* Sixty-six characters, because most of the people reading this are on a
   phone in the evening deciding whether to change career. */
.dcc-article__body {
	max-width: 66ch;
	font-size: 1.094rem;
	line-height: 1.75;
	color: var(--wp--preset--color--body);
}

.dcc-article__body > * {
	margin-top: 0;
	margin-bottom: 1.35em;
}

.dcc-article__body h2 {
	font-family: var(--wp--preset--font-family--serif);
	font-weight: 400;
	font-size: var(--wp--preset--font-size--h-3);
	line-height: 1.2;
	color: var(--wp--preset--color--ink);
	margin-top: 1.8em;
	scroll-margin-top: 120px;
}

.dcc-article__body blockquote {
	margin-left: 0;
	margin-right: 0;
	padding: 18px 0 18px 22px;
	border-left: 3px solid var(--wp--preset--color--teal-light);
	font-family: var(--wp--preset--font-family--serif);
	font-size: 1.25rem;
	line-height: 1.45;
	color: var(--wp--preset--color--ink);
}

.dcc-article__body img {
	max-width: 100%;
	height: auto;
	border-radius: var(--wp--custom--radius--card-tight);
}

.dcc-article__body figcaption {
	font-size: 0.844rem;
	color: var(--wp--preset--color--muted);
	margin-top: 8px;
}

/* Photographs sit in the writing and the text runs round them, as the old
   site had it. Most of the imported posts already carry alignleft or
   alignright from the old editor; anything without one alternates, right then
   left, so a piece with several does not stack them all down one edge. Only a
   top-level image floats: a gallery keeps its own grid. */
.dcc-article__body > figure.wp-block-image {
	max-width: 45%;
	margin-top: 6px;
	margin-bottom: 18px;
}

.dcc-article__body > figure.wp-block-image.alignright,
.dcc-article__body > figure.wp-block-image:not(.alignleft):not(.alignright):nth-of-type(odd) {
	float: right;
	margin-left: 26px;
	margin-right: 0;
}

.dcc-article__body > figure.wp-block-image.alignleft,
.dcc-article__body > figure.wp-block-image:not(.alignleft):not(.alignright):nth-of-type(even) {
	float: left;
	margin-right: 26px;
	margin-left: 0;
}

/* Nothing floated escapes the article and lands in what follows it. */
.dcc-article__body::after {
	content: "";
	display: block;
	clear: both;
}

.dcc-article__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: var(--wp--preset--spacing--50) 0 0;
	padding-top: var(--wp--preset--spacing--40);
	border-top: 1px solid var(--wp--preset--color--divider);
}

.dcc-article__tags a {
	font-size: 0.781rem;
	padding: 5px 11px;
	border-radius: var(--wp--custom--radius--button);
	background: var(--wp--preset--color--paper);
	border: 1px solid var(--wp--preset--color--border);
	color: var(--wp--preset--color--ink-soft);
	text-decoration: none;
}

/* The contents and the course stay in view as the article is read past. */
.dcc-article__aside {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--30);
	position: sticky;
	top: 120px;
}

/* The contents card and the "More from" list are the same shape on purpose:
   two short lists of links in one column should read as one family. */
.dcc-contents ul,
.dcc-morelist ul {
	list-style: none;
	margin: 10px 0 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 9px;
}

.dcc-contents a,
.dcc-morelist a {
	color: var(--wp--preset--color--body);
	text-decoration: none;
	font-size: 0.906rem;
	line-height: 1.4;
}

.dcc-contents a:hover,
.dcc-morelist a:hover {
	color: var(--wp--preset--color--teal-text);
	text-decoration: underline;
}

/* A post's date under its title, quieter than the link. */
.dcc-morelist__date {
	display: block;
	margin-top: 2px;
	font-size: 0.813rem;
	color: var(--wp--preset--color--muted);
}

.dcc-articlecta__text {
	font-size: 0.938rem;
	line-height: 1.6;
	color: var(--wp--preset--color--body);
	margin: 10px 0 16px;
}

/* The home page's last row --------------------------------------------------- */

/* Two cards where the design has three: the map was dropped by decision, so
   these take six columns each rather than four. */
/* One card when there is no newsletter form to show, two when there is. */
.dcc-homebottom:has(> :only-child) {
	grid-template-columns: 1fr;
}

.dcc-homebottom {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: var(--wp--preset--spacing--30);
	margin-top: var(--wp--preset--spacing--30);
	align-items: stretch;
}

.dcc-visit,
.dcc-newsbox {
	display: flex;
	flex-direction: column;
}

/* The top bar's Newsletter link lands on this card (#newsletter); the margin
   keeps the sticky header off its heading, as for the other anchors. */
.dcc-newsbox {
	scroll-margin-top: 120px;
}

.dcc-visit__heading,
.dcc-newsbox__heading {
	font-family: var(--wp--preset--font-family--serif);
	font-weight: 400;
	font-size: var(--wp--preset--font-size--h-3);
	line-height: 1.15;
	color: var(--wp--preset--color--ink);
	margin: 0 0 12px;
}

.dcc-visit__text,
.dcc-newsbox__text {
	font-size: 0.938rem;
	line-height: 1.6;
	color: var(--wp--preset--color--body-2);
	margin: 0 0 18px;
	max-width: 46ch;
}

.dcc-visit__details {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 7px;
	font-size: 0.938rem;
	color: var(--wp--preset--color--ink-soft);
}

.dcc-visit__details a {
	color: inherit;
	text-decoration: none;
}

.dcc-visit__details a:hover {
	text-decoration: underline;
}

.dcc-visit__address {
	color: var(--wp--preset--color--body-2);
	line-height: 1.5;
}

/* The service's own form brings its own styling, which is built for a page
   of its own rather than a card. It is held to the card's width and its
   fixed inner widths are let go, or it hangs over the edge. */
.dcc-newsbox__embed {
	width: 100%;
}

.dcc-newsbox__embed #sib-container,
.dcc-newsbox__embed .sib-container {
	width: 100% !important;
	max-width: 100% !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
	background: transparent !important;
	box-sizing: border-box;
}

.dcc-newsbox__embed #sib-form,
.dcc-newsbox__embed .sib-form-block,
.dcc-newsbox__embed .form__entry,
.dcc-newsbox__embed .form__label-row,
.dcc-newsbox__embed .entry__field,
.dcc-newsbox__embed input,
.dcc-newsbox__embed .input {
	width: 100% !important;
	max-width: 100% !important;
	box-sizing: border-box !important;
}

/* Their captcha is a fixed 300px or so. Let it shrink rather than push the
   card open. */
.dcc-newsbox__embed .g-recaptcha,
.dcc-newsbox__embed iframe {
	max-width: 100% !important;
}

/* Brevo sets its own grey on the small line under the address box, and
   measured on the page it comes out at 2.81:1 against our tint, where 4.5 is
   the line. Their markup, so it is corrected here rather than in the pasted
   embed, which gets reissued. !important because the form carries both its
   own stylesheet and inline styles, and this beats them.

   Only this one line: measured on 21 Aug, everything else in their form
   already passes and is left in their colours. */
.dcc-newsbox__embed .entry__specification {
	color: var(--wp--preset--color--body) !important;
}

/* And their address box takes its focus ring off altogether, which is the one
   control on the home page a keyboard could land on and see nothing. Measured
   on 21 Aug: no outline, no shadow, no border change. Give it ours. */
.dcc-newsbox__embed input:focus-visible {
	outline: 2px solid var(--wp--preset--color--teal-text) !important;
	outline-offset: 2px;
}

/* Everything in this card follows the words above it. The design draws the
   box sitting at the foot of the card, and it was built that way, but the
   card beside it is taller and that turned into a 52px void between the
   paragraph and the box (James, 20 Aug). The two cards are still the same
   height, being grid cells; it is only the contents that no longer stretch
   apart to fill it. */
.dcc-newsbox__form,
.dcc-newsbox__action {
	margin: 0;
}

/* The address box carries the reader to the newsletter page rather than
   posting anywhere, so it needs no notice of its own; it simply behaves the
   way the box beside it will once the service is wired up. */

.dcc-newsbox__form {
	display: flex;
	flex-direction: column;
	gap: 9px;
}

/* The label is for screen readers; the box carries its own example. */
.dcc-newsbox__label {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

.dcc-newsbox__form input[type="email"] {
	width: 100%;
	/* border-box, or the 15px of padding is added to a width that is already
	   the full width and the box hangs off the side of the card (20 Aug). */
	box-sizing: border-box;
	background: var(--wp--preset--color--card);
	border: 1px solid var(--wp--preset--color--input-border);
	border-radius: var(--wp--custom--radius--button);
	padding: 13px 15px;
	font-size: 0.906rem;
	color: var(--wp--preset--color--ink);
}

.dcc-newsbox__form button {
	border: 0;
	cursor: pointer;
	font-family: inherit;
}

/* Brevo's own honeypot: off the page, never filled by a person. */
.dcc-newsbox__check {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.dcc-newsbox__action .dcc-button {
	display: block;
	width: 100%;
	text-align: center;
}

/* The action bar ----------------------------------------------------------- */

/* Screens M1 and M4: on a phone every button on the page eventually scrolls
   away, so one stays. Off entirely on anything wider, where the page's own
   buttons are still in reach. */
.dcc-actionbar {
	display: none;
}

/* Archive intro ------------------------------------------------------------ */

.dcc-archivehero {
	padding: var(--wp--preset--spacing--60);
	margin-bottom: var(--wp--preset--spacing--30);
}

.dcc-archivehero__heading,
.dcc-contact__heading {
	font-family: var(--wp--preset--font-family--serif);
	font-weight: 300;
	font-size: var(--wp--preset--font-size--h-1);
	line-height: 1.08;
	letter-spacing: -0.02em;
	color: var(--wp--preset--color--ink);
	margin: 0 0 18px;
	text-wrap: pretty;
}

.dcc-archivehero__intro,
.dcc-contact__intro {
	font-size: var(--wp--preset--font-size--body-lg);
	line-height: 1.62;
	color: var(--wp--preset--color--body);
	margin: 0;
	max-width: 62ch;
	text-wrap: pretty;
}

.dcc-quotes-head .dcc-archivehero {
	margin-bottom: 0;
}

/* A page intro is one field and may hold several paragraphs. The gap goes
   between siblings rather than on the class itself, so a one-paragraph intro
   sits exactly where it always did (24 August). */
.dcc-archivehero__intro + .dcc-archivehero__intro,
.dcc-contact__intro + .dcc-contact__intro,
.dcc-bespokehero__intro + .dcc-bespokehero__intro,
.dcc-bloghead__intro + .dcc-bloghead__intro,
.dcc-received__intro + .dcc-received__intro,
.dcc-homehero__intro + .dcc-homehero__intro {
	margin-top: 0.9em;
}

/* Courses page: heading beside the filter --------------------------------- */

/*
 * 7/5, as drawn, and the two cards stretch to one height.
 *
 * Briefly one column on 24 August, while the courses page introduction was
 * 158 words. Full width the text sat on the left of a 1113px card with 468px
 * of it empty, and either way the cards were pushed below the fold, so a
 * filter chip appeared to do nothing. The introduction is short again and
 * the longer wording sits under the course list, so this is back as drawn.
 */
.dcc-courses-head {
	display: grid;
	grid-template-columns: 7fr 5fr;
	gap: var(--wp--preset--spacing--30);
	align-items: stretch;
	margin-bottom: var(--wp--preset--spacing--30);
}

/* The group is a flow layout to WordPress, which hands every child after the
   first a block-gap top margin. In a grid that margin dropped the filter card
   16px lower and made it 16px shorter than the heading beside it. */
.dcc-courses-head > * {
	margin-block: 0;
}

.dcc-courses-head .dcc-archivehero {
	margin-bottom: 0;
}

.dcc-filter {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: var(--wp--preset--spacing--50) var(--wp--preset--spacing--50);
}

.dcc-filter__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

/*
 * The radio itself is off-screen but still focusable, so the row works from
 * the keyboard: tab onto the group, arrows to move, and the ring shows on the
 * chip rather than on nothing.
 */
.dcc-filter__chips input {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	border: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
}

/* Unselected: paper fill and a border. Selected: ink fill. */
.dcc-filter__chip {
	font-size: 0.844rem;
	font-weight: 500;
	line-height: 1.2;
	color: var(--wp--preset--color--ink-soft);
	background: var(--wp--preset--color--paper);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--wp--custom--radius--pill);
	padding: 9px 15px;
	cursor: pointer;
	user-select: none;
	white-space: nowrap;
	transition: background var(--wp--custom--motion--duration-fast) var(--wp--custom--motion--easing),
		border-color var(--wp--custom--motion--duration-fast) var(--wp--custom--motion--easing);
}

.dcc-filter__chip:hover {
	border-color: var(--wp--preset--color--teal-text);
}

.dcc-filter__chips input:checked + .dcc-filter__chip {
	background: var(--wp--preset--color--ink);
	border-color: var(--wp--preset--color--ink);
	color: var(--wp--preset--color--card);
	font-weight: 600;
}

.dcc-filter__chips input:focus-visible + .dcc-filter__chip {
	outline: 2px solid var(--wp--preset--color--teal-text);
	outline-offset: 2px;
}

/* The longer wording under the course list. Same size and measure as the
   introduction above it, so the two read as one voice. */
.dcc-courseoutro {
	padding: var(--wp--preset--spacing--60);
	margin-top: var(--wp--preset--spacing--30);
}

.dcc-courseoutro__text {
	font-size: var(--wp--preset--font-size--body-lg);
	line-height: 1.62;
	color: var(--wp--preset--color--body);
	margin: 0;
	max-width: 62ch;
	text-wrap: pretty;
}

.dcc-courseoutro__text + .dcc-courseoutro__text {
	margin-top: 0.9em;
}

/* The body of the About Us page, under the timeline.

   Two columns, not one. The courses footnote above is a full-width card
   whose text is capped at 62ch, which leaves the right-hand side of the
   card empty; at 158 words that is a nuisance and at 450 it is a tall grey
   void (James, 24 August). Two columns fill the card and leave each one at
   about the measure the cap was giving anyway.

   The count is written as a column width and a maximum rather than a flat
   2, so it drops to one column when two will not fit and no breakpoint has
   to be invented for it. This theme has four media queries in five thousand
   lines and does not need a fifth.

   The gap between paragraphs is a bottom margin rather than a top margin on
   the sibling. In a multi-column box a paragraph can begin a column, and a
   top margin there drops that column's first line below the other's. */
.dcc-aboutprose,
.dcc-twocol {
	padding: var(--wp--preset--spacing--60);
}

/* The same size and face as the timeline heading on the card above, because
   the two are the same rank. Written out rather than inherited: this one is
   the theme's own and that one is the Timeline plugin's, and a change to
   either should not silently move the other. */
.dcc-aboutprose__heading,
.dcc-twocol__heading {
	font-family: var(--wp--preset--font-family--serif);
	font-weight: 400;
	font-size: var(--wp--preset--font-size--h-2);
	color: var(--wp--preset--color--ink);
	letter-spacing: -0.015em;
	margin: 0 0 24px;
}

.dcc-aboutprose__body,
.dcc-twocol__body {
	columns: 22rem 2;
	column-gap: var(--wp--preset--spacing--60);
}

.dcc-aboutprose__text,
.dcc-twocol__text {
	font-size: var(--wp--preset--font-size--body-lg);
	line-height: 1.62;
	color: var(--wp--preset--color--body);
	margin: 0 0 0.9em;
	text-wrap: pretty;
	orphans: 2;
	widows: 2;
}

.dcc-aboutprose__text:last-child,
.dcc-twocol__text:last-child {
	margin-bottom: 0;
}

/* Inline links in body copy, wherever a settings box can produce one, so the
   first that need a rule of their own. Every other link here sits inside
   something that announces it - a card, a post title, a contact line, a nav
   item - which is why the theme underlines nothing at rest. A link inside a
   paragraph has no such container, and colour cannot carry the job alone:
   ink against the body text measures 1.44:1, where 3:1 is the minimum when
   colour is the only cue (measured on the page, 24 August; James spotted it
   before I did). Hence an underline, kept thin and dropped clear of the
   descenders, thickening on hover. Focus is already handled by the global
   a:focus-visible rule further down.

   Five boxes can hold a link now, not one: the About Us body, the courses
   footnote, the accreditation line under the home hero, any page's card of
   its own, and the small card on Counselling Training. All five sit on a
   white card over the same body colour, measured 26 August, so one rule
   serves them. The card ones are matched on their own paragraphs rather
   than on the card, because a card of its own can hold a shortcode and the
   links inside that belong to whatever drew them. */
.dcc-aboutprose__text a,
.dcc-twocol__text a,
.dcc-courseoutro__text a,
.dcc-trust__text a,
.dcc-blankcard > p a,
.dcc-afterqualifying > p a {
	color: var(--wp--preset--color--ink);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}

.dcc-aboutprose__text a:hover,
.dcc-twocol__text a:hover,
.dcc-courseoutro__text a:hover,
.dcc-trust__text a:hover,
.dcc-blankcard > p a:hover,
.dcc-afterqualifying > p a:hover {
	text-decoration-thickness: 2px;
}

/*
 * The filtering. No script: the ticked radio, found from the body with
 * :has(), decides which cards show. A qualification's group goes with its
 * cards when none of them survive, so no heading is left over nothing. The
 * per-qualification rules are written by the pattern, because they depend on
 * which qualifications exist.
 */
/* Our Team: the same chips in the heading card, choosing a group. */
.dcc-archivehero__chips {
	margin-top: 22px;
}

/* Three groups, three chips, and Everyone. Each chip hides the two it is not,
   heading and grid together, so a chip never leaves a heading standing over an
   empty space. */
body:has(#dcc-team-tutors:checked) .dcc-team__heading--assessors,
body:has(#dcc-team-tutors:checked) .dcc-team__grid--assessors,
body:has(#dcc-team-tutors:checked) .dcc-team__heading--mentions,
body:has(#dcc-team-tutors:checked) .dcc-team__grid--mentions,
body:has(#dcc-team-assessors:checked) .dcc-team__heading--tutors,
body:has(#dcc-team-assessors:checked) .dcc-team__grid--tutors,
body:has(#dcc-team-assessors:checked) .dcc-team__heading--mentions,
body:has(#dcc-team-assessors:checked) .dcc-team__grid--mentions,
body:has(#dcc-team-mentions:checked) .dcc-team__heading--tutors,
body:has(#dcc-team-mentions:checked) .dcc-team__grid--tutors,
body:has(#dcc-team-mentions:checked) .dcc-team__heading--assessors,
body:has(#dcc-team-mentions:checked) .dcc-team__grid--assessors {
	display: none;
}

body:has(#dcc-filter-weekday:checked) .dcc-course:not([data-pattern="weekday"]),
body:has(#dcc-filter-weekend:checked) .dcc-course:not([data-pattern="weekend"]),
body:has(#dcc-filter-open:checked) .dcc-course:not([data-open="1"]),
body:has(#dcc-filter-weekday:checked) .dcc-courses__group:not(:has(.dcc-course[data-pattern="weekday"])),
body:has(#dcc-filter-weekend:checked) .dcc-courses__group:not(:has(.dcc-course[data-pattern="weekend"])),
body:has(#dcc-filter-open:checked) .dcc-courses__group:not(:has(.dcc-course[data-open="1"])) {
	display: none;
}

/* Shared small pieces ------------------------------------------------------ */

/*
 * Equal-height cards in a row of columns. Each column is a flex column and a
 * lone card in it grows to the column's height, which the row has already
 * stretched to its tallest neighbour. This replaces height: 100% on the cards
 * themselves, which resolved against a height the column had not finished
 * working out and left the taller card hanging out of its row - seen on the
 * testimonials page and the home page at 1108px wide, 18 Aug.
 */
.wp-block-columns > .wp-block-column {
	display: flex;
	flex-direction: column;
}

.wp-block-columns > .wp-block-column > :only-child {
	flex: 1 0 auto;
}

.dcc-eyebrow {
	font-size: 0.688rem;
	letter-spacing: 0.13em;
	text-transform: uppercase;
	color: var(--wp--preset--color--muted);
	font-weight: 600;
	margin: 0 0 0.25rem;
}

/* The one link treatment in the design: ink text, teal rule beneath. */
.dcc-underline {
	font-size: 0.906rem;
	font-weight: 600;
	color: var(--wp--preset--color--ink);
	text-decoration: none;
	border-bottom: 1px solid var(--wp--preset--color--teal);
	padding-bottom: 3px;
	align-self: start;
}

.dcc-underline:hover {
	color: var(--wp--preset--color--teal-text);
}

/* Contact & Location ------------------------------------------------------- */

/* The lead card beside the enquiry form: 5/7, as drawn. */
.dcc-contact-top {
	display: grid;
	grid-template-columns: 5fr 7fr;
	gap: var(--wp--preset--spacing--30);
	align-items: stretch;
}

.dcc-contact-top > * {
	margin-block: 0;
}

.dcc-contact {
	padding: 32px 30px;
}

.dcc-contact__intro {
	margin-bottom: 24px;
}

.dcc-contact__facts {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin: 0;
}

.dcc-contact__fact {
	padding-bottom: 16px;
	border-bottom: 1px solid var(--wp--preset--color--hairline);
}

.dcc-contact__fact:last-child {
	padding-bottom: 0;
	border-bottom: 0;
}

.dcc-contact__fact dt {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 0.688rem;
	letter-spacing: 0.13em;
	text-transform: uppercase;
	color: var(--wp--preset--color--muted);
	font-weight: 600;
	margin: 0 0 6px;
}

/* The label carries the mark - phone, mail, pin - at the size of the words
   beside it, in the accent the rest of the icon set uses. */
.dcc-contact__fact dt .dcc-icon {
	width: 15px;
	height: 15px;
	flex: none;
	color: var(--wp--preset--color--teal);
}

.dcc-contact__fact dd {
	margin: 0;
	font-size: 1.031rem;
	line-height: 1.55;
	color: var(--wp--preset--color--ink);
}

.dcc-contact__fact dd > a:not(.dcc-underline) {
	color: var(--wp--preset--color--ink);
	text-decoration: none;
	font-weight: 500;
}

.dcc-contact__fact dd > a:not(.dcc-underline):hover {
	color: var(--wp--preset--color--teal-text);
}

/* On its own line under the address, the rule only as wide as the words. */
.dcc-contact__maps {
	display: block;
	width: fit-content;
	margin-top: 10px;
	font-size: 0.844rem;
}

/* The enquiry form. Inputs as the design system draws them: pale fill, soft
   border, 6px corners; white with a teal border when focused; the error
   colours from the same sheet. Errors are words under the field. */
.dcc-enquiry {
	padding: 26px;
}

.dcc-enquiry__label {
	margin-bottom: 18px;
}

.dcc-form__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.dcc-form__field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0;
}

.dcc-form__field.is-wide,
.dcc-form__foot.is-wide {
	grid-column: span 2;
}

.dcc-form label {
	font-size: 0.813rem;
	font-weight: 600;
	color: var(--wp--preset--color--body-2);
}

.dcc-form__optional {
	font-weight: 400;
	color: var(--wp--preset--color--muted);
}

.dcc-form input[type="text"],
.dcc-form input[type="email"],
.dcc-form input[type="tel"],
.dcc-form select,
.dcc-form textarea {
	width: 100%;
	box-sizing: border-box;
	background: var(--wp--preset--color--row-tint);
	border: 1px solid var(--wp--preset--color--input-border);
	border-radius: var(--wp--custom--radius--button);
	padding: 13px 15px;
	font: inherit;
	font-size: 0.906rem;
	line-height: 1.4;
	color: var(--wp--preset--color--ink);
	transition: border-color var(--wp--custom--motion--duration-fast) var(--wp--custom--motion--easing),
		background-color var(--wp--custom--motion--duration-fast) var(--wp--custom--motion--easing);
}

.dcc-form textarea {
	resize: vertical;
	min-height: 120px;
}

.dcc-form input:focus,
.dcc-form select:focus,
.dcc-form textarea:focus {
	background: var(--wp--preset--color--card);
	border-color: var(--wp--preset--color--teal-text);
}

.dcc-form__field.has-error input,
.dcc-form__field.has-error textarea {
	border-color: var(--wp--preset--color--error);
	border-width: 2px;
}

.dcc-form__error {
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--wp--preset--color--error-text);
}

/* The summary of what was missed: every one a link straight to the answer,
   in the order they appear down the form. No script, so the link is the whole
   mechanism, and :target marks the field once you land on it. */
.dcc-form__summary p {
	margin: 0;
	font-weight: 600;
}

.dcc-form__summary ul {
	margin: 8px 0 0;
	padding-left: 20px;
}

.dcc-form__summary li {
	margin: 0 0 4px;
}

.dcc-form__summary a {
	color: inherit;
	font-weight: 600;
}

.dcc-booking__form :target {
	outline: 2px solid var(--wp--preset--color--error);
	outline-offset: 3px;
}

.dcc-form__notice {
	margin: 0 0 14px;
	padding: 12px 14px;
	border-radius: var(--wp--custom--radius--button);
	background: var(--wp--preset--color--status-full-bg);
	color: var(--wp--preset--color--error-text);
	font-size: 0.875rem;
	line-height: 1.5;
}

/* The select draws its own arrow, so it matches the inputs beside it. */
.dcc-form__select {
	position: relative;
	display: block;
}

.dcc-form__select select {
	appearance: none;
	padding-right: 38px;
	cursor: pointer;
}

.dcc-form__select::after {
	content: "\25BE";
	position: absolute;
	right: 14px;
	top: 50%;
	transform: translateY(-50%);
	pointer-events: none;
	color: var(--wp--preset--color--muted);
}

/* The field only a bot fills. Off the page, not display: none - a bot that
   skips hidden fields would skip the trap. */
.dcc-form__honey {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
	margin: 0;
}

.dcc-form__foot {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	margin-top: 6px;
}

.dcc-form__privacy {
	margin: 0;
	font-size: 0.813rem;
	line-height: 1.5;
	color: var(--wp--preset--color--muted);
}

.dcc-form__privacy a {
	color: inherit;
}

.dcc-form .dcc-button {
	display: inline-block;
	width: auto;
	padding: 13px 22px;
	border: 0;
	cursor: pointer;
	font-family: inherit;
	white-space: nowrap;
}

/* What replaces the form once the message has gone. */
.dcc-enquiry__thanks p {
	margin: 0 0 12px;
	font-size: var(--wp--preset--font-size--body-lg);
	line-height: 1.6;
	color: var(--wp--preset--color--body);
	max-width: 52ch;
}

.dcc-enquiry__thanks-mark {
	font-size: 2rem;
	color: var(--wp--preset--color--teal-text);
	line-height: 1;
}

.dcc-enquiry__thanks .dcc-underline {
	display: inline-block;
	margin-top: 4px;
}

/* The booking form: sections as cards, choices as rows of radio or tick
   boxes, and the same inputs as the enquiry form. */
.dcc-booking {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--30);
}

.dcc-booking__form {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--30);
}

.dcc-booking__head,
.dcc-received__head {
	padding: 32px 30px;
}

.dcc-booking__heading,
.dcc-received__heading {
	font-family: var(--wp--preset--font-family--serif);
	font-weight: 300;
	font-size: var(--wp--preset--font-size--h-1);
	line-height: 1.08;
	letter-spacing: -0.02em;
	color: var(--wp--preset--color--ink);
	margin: 0 0 12px;
}

.dcc-booking__section {
	margin: 0;
	padding: 22px 26px 26px;
	border: 1px solid var(--wp--preset--color--border);
	min-width: 0;
}

.dcc-booking__legend {
	font-family: var(--wp--preset--font-family--serif);
	font-weight: 400;
	font-size: var(--wp--preset--font-size--h-3);
	color: var(--wp--preset--color--ink);
	padding: 0 8px;
	margin-left: -8px;
}

.dcc-booking__note {
	font-size: 0.875rem;
	color: var(--wp--preset--color--muted);
	margin: 6px 0 14px;
}

.dcc-form__choices {
	border: 0;
	padding: 0;
	margin: 0;
	min-width: 0;
}

.dcc-form__choices legend {
	font-size: 0.813rem;
	font-weight: 600;
	color: var(--wp--preset--color--body-2);
	padding: 0;
	margin: 0 0 8px;
}

.dcc-form__choice {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 6px 0;
	font-size: 0.906rem;
	line-height: 1.45;
	color: var(--wp--preset--color--body);
	cursor: pointer;
	font-weight: 400;
}

.dcc-form__choice input {
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	margin: 2px 0 0;
	accent-color: var(--wp--preset--color--teal-text);
}

.dcc-form__agree {
	font-weight: 500;
	color: var(--wp--preset--color--ink);
}

/* Both of these sit on a tint panel, and teal-text on tint measures 4.49:1
   against the 4.5 that normal-size text has to meet - which is what the
   teal-text-on-tint token was picked for. Measured on the page, 21 Aug. */
.dcc-form__agree a,
.dcc-booking__data a {
	color: var(--wp--preset--color--teal-text-on-tint);
}

.dcc-booking__data p {
	margin: 0;
	padding: 14px 16px;
	background: var(--wp--preset--color--tint);
	border-radius: var(--wp--custom--radius--button);
	font-size: 0.875rem;
	line-height: 1.55;
	color: var(--wp--preset--color--body);
}

.dcc-form__field.has-error .dcc-form__choice input {
	outline: 2px solid var(--wp--preset--color--error);
	outline-offset: 1px;
	border-radius: 3px;
}

.dcc-booking__send {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	padding: 22px 26px;
}

.dcc-booking__thanks p:not(.dcc-enquiry__thanks-mark),
.dcc-booking__closed p {
	margin: 0 0 12px;
	font-size: var(--wp--preset--font-size--body-lg);
	line-height: 1.6;
	color: var(--wp--preset--color--body);
	max-width: 56ch;
}

.dcc-booking__thanks,
.dcc-booking__choose,
.dcc-booking__closed {
	padding: 26px;
}

.dcc-booking__closedlinks {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.dcc-booking__pay {
	display: inline-block;
	width: auto;
	padding: 13px 22px;
	margin-top: 6px;
}

/* The thank-you card is built like the deposit page it leads to: the mark,
   then what has happened, then the one thing left to do. It ran as a single
   row for an hour on 20 August and read as squashed beside that page. */
.dcc-booking__thanks .dcc-enquiry__thanks-mark {
	margin: 0 0 8px;
}

/* Two classes, because .dcc-button's display:block is declared later at the
   same weight and was stretching this the whole way across the card. */
.dcc-booking__thanks .dcc-booking__pay {
	display: inline-block;
	width: auto;
	margin-top: 6px;
	white-space: nowrap;
}

/* Where PayPal returns somebody once they have paid: it landed, here is what
   happens next, here is who to tell if it did not, and here is the way on. */
.dcc-received {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--30);
}

.dcc-received__note,
.dcc-received__next,
.dcc-received__help {
	padding: 26px;
}

.dcc-received__mark {
	margin: 0 0 8px;
	font-size: 2rem;
	line-height: 1;
	color: var(--wp--preset--color--teal-text);
}

.dcc-received__intro,
.dcc-received__next p,
.dcc-received__help p {
	margin: 0 0 12px;
	font-size: var(--wp--preset--font-size--body-lg);
	line-height: 1.6;
	color: var(--wp--preset--color--body);
	max-width: 56ch;
}

.dcc-received__contact {
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
	margin-bottom: 0;
}

.dcc-received__on {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

/* Two classes again, for the same reason as the deposit button above. */
.dcc-received__on .dcc-button {
	display: inline-block;
	width: auto;
	padding: 13px 22px;
}

/* The two Study Lounges, side by side. One card each, because the choice
   needs a sentence and a list of two links does not give you one. Falls to a
   single column on a phone, and if there is only one lounge it simply fills
   the row. */
.dcc-lounges {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: var(--wp--preset--spacing--30);
	align-items: stretch;
}

.dcc-lounge {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.dcc-lounge__text {
	margin: 0;
	font-size: var(--wp--preset--font-size--body-lg);
	line-height: 1.6;
	color: var(--wp--preset--color--body);
}

.dcc-lounge__text p {
	margin: 0 0 12px;
}

.dcc-lounge__text p:last-child {
	margin-bottom: 0;
}

/* The button sits at the foot whatever the two cards say, so a short one and
   a long one still line up. */
.dcc-lounge .dcc-button {
	display: inline-block;
	width: auto;
	margin-top: auto;
	padding: 13px 22px;
}

.dcc-lounge__where {
	margin: 0;
	font-size: 0.844rem;
	color: var(--wp--preset--color--muted);
}

/* The row of cards under the form shares its width among however many
   there are - two until the Study Lounge card is decided. */
.dcc-contactcards {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: 1fr;
	gap: var(--wp--preset--spacing--30);
}

.dcc-contactcard {
	padding: 24px 22px;
}

.dcc-contactcard h2 {
	font-family: var(--wp--preset--font-family--serif);
	font-weight: 400;
	font-size: 1.313rem;
	color: var(--wp--preset--color--ink);
	margin: 0 0 8px;
}

.dcc-contactcard p {
	font-size: 0.906rem;
	line-height: 1.55;
	color: var(--wp--preset--color--body);
	margin: 0 0 10px;
}

.dcc-contactcard p:last-child {
	margin-bottom: 0;
}

/* Team --------------------------------------------------------------------- */

.dcc-team__grid {
	display: grid;
	gap: var(--wp--preset--spacing--30);
}

.dcc-team__grid--tutors {
	grid-template-columns: repeat(2, 1fr);
}

.dcc-team__grid--assessors,
.dcc-team__grid--mentions {
	grid-template-columns: repeat(3, 1fr);
}

.dcc-team__heading {
	font-family: var(--wp--preset--font-family--serif);
	font-weight: 400;
	font-size: var(--wp--preset--font-size--h-2);
	color: var(--wp--preset--color--ink);
	letter-spacing: -0.015em;
	margin: var(--wp--preset--spacing--70) 0 var(--wp--preset--spacing--30);
}

/* First on the page, so it does not need the gap that separates one group
   from the next. */
.dcc-team__heading--tutors {
	margin-top: 0;
}

.dcc-tutor {
	display: flex;
	gap: 22px;
}

.dcc-tutor__portrait img {
	width: 128px;
	height: 160px;
	object-fit: cover;
	border-radius: var(--wp--custom--radius--card-tight);
	border: 1px solid var(--wp--preset--color--tint-border);
	display: block;
}

.dcc-tutor__body {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.dcc-tutor__name {
	font-family: var(--wp--preset--font-family--serif);
	font-weight: 400;
	font-size: var(--wp--preset--font-size--h-3);
	line-height: 1.15;
	color: var(--wp--preset--color--ink);
	margin: 0;
}

.dcc-tutor__quals {
	font-size: 0.844rem;
	color: var(--wp--preset--color--muted);
	font-weight: 500;
	margin: 0;
}

.dcc-tutor__role {
	font-size: 0.875rem;
	color: var(--wp--preset--color--teal-text);
	font-weight: 600;
	margin: 0;
}

.dcc-tutor__bio {
	font-size: 0.938rem;
	line-height: 1.58;
	color: var(--wp--preset--color--body-2);
	margin: 6px 0 0;
}

.dcc-tutor .dcc-underline {
	margin-top: auto;
}

.dcc-assessor {
	display: flex;
	gap: 16px;
	align-items: center;
}

.dcc-assessor__avatar img {
	width: 64px;
	height: 64px;
	object-fit: cover;
	border-radius: 50%;
	border: 1px solid var(--wp--preset--color--tint-border);
	display: block;
}

.dcc-assessor__name {
	font-family: var(--wp--preset--font-family--serif);
	font-weight: 400;
	font-size: 1.313rem;
	color: var(--wp--preset--color--ink);
	margin: 0 0 3px;
}

.dcc-assessor__role {
	font-size: 0.844rem;
	color: var(--wp--preset--color--muted);
	margin: 0;
}

/* Team circle -------------------------------------------------------------- */

/* The ring places however many faces there are. Each face is handed its own
   index and the total; the maths is a rotate, a push out to the radius, and a
   counter-rotate so the portrait itself stays upright. Adding a tutor changes
   the spacing on its own. */

.dcc-teamring {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.dcc-teamring .dcc-eyebrow {
	align-self: flex-start;
	margin-bottom: 18px;
}

.dcc-teamring__ring {
	--dcc-ring-radius: 125px;
	--dcc-ring-face: 74px;

	position: relative;
	width: 330px;
	height: 330px;
	max-width: 100%;
}

.dcc-teamring__track,
.dcc-teamring__centre,
.dcc-teamring__face {
	position: absolute;
	top: 50%;
	left: 50%;
}

.dcc-teamring__track {
	width: 250px;
	height: 250px;
	margin: -125px 0 0 -125px;
	border-radius: 50%;
	border: 1px dashed var(--wp--preset--color--tint-border);
}

.dcc-teamring__centre {
	width: 150px;
	height: 150px;
	margin: -75px 0 0 -75px;
	border-radius: 50%;
	background: var(--wp--preset--color--tint);
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	font-family: var(--wp--preset--font-family--serif);
	font-size: 1.188rem;
	line-height: 1.3;
	color: var(--wp--preset--color--ink);
}

/* The centre is a link to the team page, but a quiet one: it keeps its own
   colour and no underline, and only grows a touch on hover, with the card
   shadow (James, 16 Nov 2026). */
a.dcc-teamring__centre,
a.dcc-teamring__centre:hover,
a.dcc-teamring__centre:visited {
	color: var(--wp--preset--color--ink);
	text-decoration: none;
}

a.dcc-teamring__centre {
	transition:
		transform var(--wp--custom--motion--duration) var(--wp--custom--motion--easing),
		box-shadow var(--wp--custom--motion--duration) var(--wp--custom--motion--easing);
}

a.dcc-teamring__centre:hover {
	transform: scale(1.04);
	box-shadow: var(--wp--custom--shadow--card-hover);
}

.dcc-teamring__face {
	/* How far a portrait moves out from the centre on hover (option A). */
	--dcc-ring-push: 0px;

	width: var(--dcc-ring-face);
	height: var(--dcc-ring-face);
	margin: calc(var(--dcc-ring-face) / -2) 0 0 calc(var(--dcc-ring-face) / -2);
	border-radius: 50%;
	overflow: hidden;
	border: 1px solid var(--wp--preset--color--tint-border);
	background: var(--wp--preset--color--tint);
	/*
	 * The ring starts half a step before twelve o'clock, so the first two
	 * faces sit either side of the top rather than one at the top and the
	 * next well down the right - Jane and James, first and second in the team
	 * order, are always the pair at the top (James, 19 Aug).
	 */
	transform:
		rotate(calc((var(--dcc-ring-i) - 0.5) * 360deg / var(--dcc-ring-count)))
		translateY(calc((var(--dcc-ring-radius) + var(--dcc-ring-push)) * -1))
		rotate(calc((var(--dcc-ring-i) - 0.5) * -360deg / var(--dcc-ring-count)));
	transition:
		transform var(--wp--custom--motion--duration) var(--wp--custom--motion--easing),
		box-shadow var(--wp--custom--motion--duration) var(--wp--custom--motion--easing);
}

/* On hover a portrait moves a little way out from the centre, along its own
   spoke, with the card shadow: the ring's version of a card lifting (James,
   16 Nov 2026: option A). Only the distance changes, so it stays upright. */
.dcc-teamring__face:hover {
	--dcc-ring-push: 6px;

	box-shadow: var(--wp--custom--shadow--card-hover);
}

/* As with the cards, reduced motion keeps the shadow and drops the movement. */
@media (prefers-reduced-motion: reduce) {
	.dcc-teamring__face:hover {
		--dcc-ring-push: 0px;
	}

	a.dcc-teamring__centre:hover {
		transform: none;
	}
}

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

.dcc-teamring__names {
	font-family: ui-monospace, Menlo, monospace;
	font-size: 0.688rem;
	color: var(--wp--preset--color--muted);
	margin: 6px 0 0;
	/* Seven names can wrap on a phone; the second line stays centred. */
	text-align: center;
}

/* Bespoke training --------------------------------------------------------- */

.dcc-bespokehero {
	padding: var(--wp--preset--spacing--80) var(--wp--preset--spacing--70);
	display: grid;
	grid-template-columns: 1.3fr 1fr;
	gap: 44px;
	align-items: center;
}

.dcc-bespokehero__label {
	color: var(--wp--preset--color--teal-light);
}

.dcc-bespokehero__heading {
	font-family: var(--wp--preset--font-family--serif);
	font-weight: 300;
	font-size: var(--wp--preset--font-size--h-1);
	line-height: 1.08;
	letter-spacing: -0.02em;
	color: #ffffff;
	margin: 0 0 16px;
	text-wrap: pretty;
}

.dcc-bespokehero__intro {
	font-size: var(--wp--preset--font-size--body-lg);
	line-height: 1.62;
	color: rgba(255, 255, 255, 0.8);
	margin: 0;
	max-width: 52ch;
	text-wrap: pretty;
}

.dcc-bespokehero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: var(--wp--preset--spacing--50) 0 0;
}

.dcc-bespokehero__actions .dcc-button {
	display: inline-block;
	padding: 14px 24px;
}

.dcc-bespokehero__actions .dcc-button--ghost {
	margin-top: 0;
}

/* A panel inside the panel: lighter, so it reads as a list rather than a
   second dark thing. */
.dcc-formats {
	background: rgba(255, 255, 255, 0.07);
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: var(--wp--custom--radius--card);
	padding: var(--wp--preset--spacing--50);
}

.dcc-formats__list {
	margin: 0;
	font-size: 0.969rem;
	color: #ffffff;
}

.dcc-formats__list dt {
	float: left;
}

.dcc-formats__list dd {
	margin: 0 0 12px;
	padding-bottom: 12px;
	text-align: right;
	color: rgba(255, 255, 255, 0.65);
	border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.dcc-formats__list dd:last-of-type {
	margin-bottom: 0;
	padding-bottom: 0;
	border-bottom: 0;
}

.dcc-bespoke__heading,
.dcc-howitworks h2,
.dcc-bespokeask h2 {
	font-family: var(--wp--preset--font-family--serif);
	font-weight: 400;
	font-size: var(--wp--preset--font-size--h-2);
	line-height: 1.15;
	color: var(--wp--preset--color--ink);
	letter-spacing: -0.015em;
	margin: 0 0 18px;
}

.dcc-bespoke__heading {
	padding: 14px 4px 0;
}

.dcc-bespoke__subjects {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: var(--wp--preset--spacing--30);
}

.dcc-subject {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: var(--wp--preset--spacing--40) 22px;
}

.dcc-subject__icon .dcc-icon {
	width: 26px;
	height: 26px;
	color: var(--wp--preset--color--teal);
	display: block;
}

.dcc-subject h3 {
	font-family: var(--wp--preset--font-family--serif);
	font-weight: 400;
	font-size: 1.313rem;
	line-height: 1.2;
	color: var(--wp--preset--color--ink);
	margin: 0;
}

.dcc-subject p {
	font-size: 0.906rem;
	line-height: 1.55;
	color: var(--wp--preset--color--body-2);
	margin: 0;
}

.dcc-bespoke__how {
	display: grid;
	grid-template-columns: 7fr 5fr;
	gap: var(--wp--preset--spacing--30);
	align-items: stretch;
	margin-top: var(--wp--preset--spacing--30);
}

.dcc-howitworks,
.dcc-bespokeask {
	padding: var(--wp--preset--spacing--60);
}

.dcc-howitworks__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 16px;
}

.dcc-howitworks__list li {
	display: flex;
	gap: 16px;
}

.dcc-howitworks__number {
	font-family: var(--wp--preset--font-family--serif);
	font-size: 1.5rem;
	line-height: 1.1;
	color: var(--wp--preset--color--tint-border);
	flex: none;
	width: 32px;
}

.dcc-howitworks__title {
	display: block;
	font-size: 1.031rem;
	font-weight: 600;
	color: var(--wp--preset--color--ink);
	margin-bottom: 3px;
}

.dcc-howitworks__text {
	display: block;
	font-size: 0.938rem;
	line-height: 1.55;
	color: var(--wp--preset--color--body-2);
}

.dcc-bespokeask p {
	font-size: 0.938rem;
	line-height: 1.58;
	color: var(--wp--preset--color--body);
	margin: 0 0 18px;
}

/* About Us ----------------------------------------------------------------- */

.dcc-aboutlinks {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--wp--preset--spacing--30);
}

.dcc-aboutlink {
	display: flex;
	flex-direction: column;
	gap: 10px;
	text-decoration: none;
}

.dcc-aboutlink__top {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
}

.dcc-aboutlink__icon .dcc-icon {
	width: 24px;
	height: 24px;
	color: var(--wp--preset--color--teal);
	display: block;
}

.dcc-aboutlink__title {
	font-family: var(--wp--preset--font-family--serif);
	font-size: var(--wp--preset--font-size--h-3);
	line-height: 1.2;
	color: var(--wp--preset--color--ink);
}

.dcc-aboutlink__text {
	font-size: 0.938rem;
	line-height: 1.58;
	color: var(--wp--preset--color--body-2);
}

.dcc-aboutlink__cta {
	margin-top: auto;
	padding-top: 12px;
	font-size: 0.906rem;
	font-weight: 600;
	color: var(--wp--preset--color--ink);
}

.dcc-aboutlink:hover .dcc-aboutlink__cta {
	color: var(--wp--preset--color--teal-text);
}

/* The blank card. It is a card and nothing else: what goes in it is a
   setting, and this file has no opinion about it. */
.dcc-blankcard {
	padding: var(--wp--preset--spacing--60);
}

.dcc-blankcard > :first-child {
	margin-top: 0;
}

.dcc-blankcard > :last-child {
	margin-bottom: 0;
}

/* The card beside the introduction, and the row that holds the two.

   The card is the blank card in a narrower place: same padding, same tidying
   of the first and last thing in it, no opinion about what goes in it.

   The rest of this is about the box being empty, which it is on any page where
   nobody has filled it in - including this one on the day it shipped. The
   pattern draws nothing at all then, but the column around it is written into
   the template and would still take its third of the width, squeezing the
   introduction for no reason and leaving a gap beside it. So an empty side
   column is removed and the introduction takes the width back, which means
   installing this changes nothing until there is something to show. */
.dcc-sidecard {
	padding: var(--wp--preset--spacing--60);
}

.dcc-sidecard > :first-child {
	margin-top: 0;
}

.dcc-sidecard > :last-child {
	margin-bottom: 0;
}

.dcc-herorow__side:not(:has(.dcc-sidecard)) {
	display: none;
}

/* !important because the column block writes flex-basis:60% inline on the
   element, and an inline style beats any stylesheet rule however specific.
   Taking the width out of the template instead would leave the two columns at
   half and half, which is not what was asked for. */
.dcc-herorow:not(:has(.dcc-sidecard)) > .dcc-herorow__main {
	flex-basis: 100% !important;
}

.dcc-bigquote,
.dcc-comeandsee {
	padding: var(--wp--preset--spacing--60);
}

/* The opening mark is decoration, so it is drawn behind the words rather than
   set above them. It hangs off the text block, not off the card, because the
   card's corner is not where the text starts - on the home page the words are
   centred in a tall card, and anchoring to the corner left the mark stranded
   at the top (James, 21 Aug).

   The numbers come from the glyph: at 160px this face draws the mark's ink in
   the top 27% of its box, y2 to y44, so the box is lifted to put that ink
   across the first line rather than above it. */
.dcc-bigquote {
	position: relative;
}

.dcc-bigquote__body {
	position: relative;
	z-index: 1;
}

.dcc-bigquote__body::before {
	content: "“";
	position: absolute;
	top: -9px;
	left: -17px;
	z-index: -1;
	font-family: var(--wp--preset--font-family--serif);
	font-size: 180px;
	line-height: 1;
	color: var(--wp--preset--color--teal);
	opacity: 0.12;
	pointer-events: none;
}

/* A third of the width takes a smaller mark, or it is all one can see. */
.dcc-bigquote--small .dcc-bigquote__body::before {
	font-size: 150px;
	top: -7px;
	left: -14px;
}


/* The card's contents come from a setting, so what lands in it is whatever
   somebody put there. These style the elements a quotation is made of rather
   than any particular plugin's class names, so anything that writes a
   blockquote and a caption comes out looking like the college's own. */
.dcc-bigquote__body figure {
	margin: 0;
}

.dcc-bigquote__text,
.dcc-bigquote__body blockquote,
.dcc-bigquote__body p {
	font-family: var(--wp--preset--font-family--serif);
	font-style: italic;
	font-size: 1.625rem;
	line-height: 1.34;
	color: var(--wp--preset--color--ink);
	margin: 0 0 14px;
	text-wrap: pretty;
}

.dcc-bigquote__by,
.dcc-bigquote__body figcaption {
	font-size: 0.875rem;
	color: var(--wp--preset--color--body-2);
	margin: 0;
}

.dcc-bigquote__by::before {
	content: "-\00a0";
}

/* The home page's third-width version: a size down, centred in its card. */
.dcc-bigquote--small {
	display: flex;
	flex-direction: column;
	justify-content: center;
	margin: 0;
	padding: 26px;
}

.dcc-bigquote--small .dcc-bigquote__text,
.dcc-bigquote--small .dcc-bigquote__body blockquote,
.dcc-bigquote--small .dcc-bigquote__body p {
	font-size: 1.375rem;
	margin: 0 0 12px;
	padding: 0;
	border: 0;
}

.dcc-bigquote--small .dcc-bigquote__by {
	font-size: 0.844rem;
}

/* Home page: the row under the hero ---------------------------------------- */

/* Two cards since the annual review one came out: accreditation, and the
   quotation beside it (James, 21 Aug). */
.dcc-trust {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: var(--wp--preset--spacing--30);
	align-items: stretch;
}

.dcc-trust__accred {
	padding: 26px 26px 22px;
}

.dcc-trust__marks {
	margin: 0 0 16px;
}

/* Fills the card's width, the card's own padding being the margin either
   side, so it lines up with the heading and the words under it (James, 12
   Nov). The upload is 960px wide, enough to stay sharp at this size. */
.dcc-trust__marks a,
.dcc-trust__marks img {
	display: block;
	width: 100%;
	height: auto;
}

.dcc-trust__text {
	font-size: 0.906rem;
	line-height: 1.55;
	color: var(--wp--preset--color--body);
	margin: 0;
}

.dcc-trust__founded {
	padding: 26px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 18px;
}

.dcc-trust__year {
	font-family: var(--wp--preset--font-family--serif);
	font-weight: 300;
	font-size: 3.75rem;
	line-height: 1;
	color: var(--wp--preset--color--ink);
	margin: 0 0 8px;
}

/* Counselling Training ----------------------------------------------------- */

.dcc-numbers,
.dcc-postdip,
.dcc-afterqualifying {
	padding: var(--wp--preset--spacing--60);
}

.dcc-numbers__label {
	color: var(--wp--preset--color--teal-light);
}

.dcc-numbers__figure {
	font-family: var(--wp--preset--font-family--serif);
	font-size: 3.5rem;
	line-height: 1;
	color: #ffffff;
	margin: 0;
}

.dcc-numbers__caption {
	font-size: 0.938rem;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.78);
	margin: 6px 0 22px;
}

.dcc-numbers__list {
	list-style: none;
	margin: 0;
	padding: 18px 0 0;
	border-top: 1px solid rgba(255, 255, 255, 0.16);
	display: grid;
	gap: 10px;
	font-size: 0.938rem;
	color: #ffffff;
}

.dcc-route__head {
	padding: 14px 4px 18px;
}

.dcc-route__head h2 {
	font-family: var(--wp--preset--font-family--serif);
	font-weight: 400;
	font-size: var(--wp--preset--font-size--h-2);
	line-height: 1.12;
	letter-spacing: -0.015em;
	color: var(--wp--preset--color--ink);
	margin: 0;
	text-wrap: pretty;
}

/* One column per step, however many steps there are. */
.dcc-route__grid {
	display: grid;
	grid-template-columns: repeat(var(--dcc-cols, 4), 1fr);
	gap: var(--wp--preset--spacing--30);
}

.dcc-step {
	display: flex;
	flex-direction: column;
	gap: 9px;
	padding: var(--wp--preset--spacing--40) 22px;
}

.dcc-step__number {
	font-family: var(--wp--preset--font-family--serif);
	font-size: 1.625rem;
	line-height: 1;
	color: var(--wp--preset--color--tint-border);
	margin: 0;
}

.dcc-step .dcc-eyebrow {
	margin: 0;
}

.dcc-step__title {
	font-family: var(--wp--preset--font-family--serif);
	font-weight: 400;
	font-size: 1.313rem;
	line-height: 1.2;
	color: var(--wp--preset--color--ink);
	margin: 0;
}

.dcc-step__blurb {
	font-size: 0.906rem;
	line-height: 1.55;
	color: var(--wp--preset--color--body-2);
	margin: 0;
}

/* Home page ---------------------------------------------------------------- */

.dcc-homehero,
.dcc-howwetrain,
.dcc-nextintake {
	padding: var(--wp--preset--spacing--60);
}

.dcc-homehero h1 {
	margin: 0 0 18px;
	text-wrap: pretty;
}

.dcc-nextintake {
	display: flex;
	flex-direction: column;
}

.dcc-nextintake__label {
	color: var(--wp--preset--color--teal-light);
}

.dcc-nextintake__title {
	font-family: var(--wp--preset--font-family--serif);
	font-size: var(--wp--preset--font-size--h-2);
	line-height: 1.1;
	color: #ffffff;
	margin: 0 0 6px;
	text-wrap: pretty;
}

.dcc-nextintake__meta {
	font-size: 0.938rem;
	color: rgba(255, 255, 255, 0.72);
	margin: 0 0 20px;
}

.dcc-nextintake__when {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
	font-size: 0.938rem;
	font-weight: 600;
	color: #ffffff;
	margin: 0 0 22px;
}

.dcc-nextintake .dcc-button {
	margin-top: auto;
}

/* Pathways */
.dcc-pathways__head {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 24px;
	padding: 14px 4px 18px;
}

.dcc-pathways__head h2 {
	font-family: var(--wp--preset--font-family--serif);
	font-weight: 400;
	font-size: var(--wp--preset--font-size--h-2);
	line-height: 1.12;
	letter-spacing: -0.015em;
	color: var(--wp--preset--color--ink);
	margin: 0;
}

.dcc-pathways__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--wp--preset--spacing--30);
}

.dcc-pathway {
	display: flex;
	flex-direction: column;
	gap: 10px;
	text-decoration: none;
}

.dcc-pathway__top {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
}

.dcc-pathway__icon .dcc-icon {
	width: 26px;
	height: 26px;
	color: var(--wp--preset--color--teal);
	display: block;
}

.dcc-pathway__title {
	font-family: var(--wp--preset--font-family--serif);
	font-size: var(--wp--preset--font-size--h-3);
	line-height: 1.2;
	color: var(--wp--preset--color--ink);
}

.dcc-pathway__blurb {
	font-size: 0.906rem;
	line-height: 1.58;
	color: var(--wp--preset--color--body-2);
}

.dcc-pathway__foot {
	margin-top: auto;
	padding-top: 14px;
	font-size: 0.813rem;
	font-weight: 600;
	color: var(--wp--preset--color--muted);
}

/* Dates table */
.dcc-dates {
	padding: 0;
	overflow: hidden;

	/* What a shown table body is set to. The phone turns the table into
	   blocks, so the value changes there rather than every rule below
	   needing a second copy in the media query. */
	--dcc-dates-body: table-row-group;
}

.dcc-dates__head {
	padding: 22px 26px 18px;
}

.dcc-dates__head h2 {
	font-family: var(--wp--preset--font-family--serif);
	font-weight: 400;
	font-size: var(--wp--preset--font-size--h-2);
	line-height: 1.1;
	color: var(--wp--preset--color--ink);
	margin: 0;
}

.dcc-dates__table {
	width: 100%;
	border-collapse: collapse;
	font-size: var(--wp--preset--font-size--small);
}

.dcc-dates__table th {
	text-align: left;
	font-size: 0.688rem;
	letter-spacing: 0.13em;
	text-transform: uppercase;
	color: var(--wp--preset--color--muted);
	font-weight: 600;
	background: var(--wp--preset--color--head-tint);
	border-top: 1px solid var(--wp--preset--color--hairline);
	border-bottom: 1px solid var(--wp--preset--color--hairline);
	padding: 12px 26px;
}

.dcc-dates__table td {
	padding: 16px 26px;
	border-bottom: 1px solid var(--wp--preset--color--divider);
	color: var(--wp--preset--color--body);
	vertical-align: middle;
}

.dcc-dates__table tr:last-child td {
	border-bottom: 0;
}

.dcc-dates__table tr.is-open td {
	background: var(--wp--preset--color--row-tint);
}

.dcc-dates__table .is-right {
	text-align: right;
}

.dcc-dates__table a {
	font-size: 1.031rem;
	color: var(--wp--preset--color--ink);
	font-weight: 600;
	text-decoration: none;
}

.dcc-dates__table a:hover {
	color: var(--wp--preset--color--teal-text);
}

.dcc-dates__sub {
	display: block;
	font-size: 0.813rem;
	color: var(--wp--preset--color--muted);
	margin-top: 3px;
}

/*
 * Sorting, with no script, the way the team and blog chips already work.
 *
 * The server prints the table body once per order and :has() shows the one
 * whose radio is ticked. Where :has() is not supported the default body shows
 * on its own and the sorting quietly does nothing, which is the table exactly
 * as it read before.
 *
 * The hide rule is written as .dcc-dates__table .dcc-dates__body rather than
 * .dcc-dates__body on its own, because the phone's rule setting every tbody to
 * block is more specific than a single class and would otherwise show all four
 * bodies at once.
 */
.dcc-dates__table .dcc-dates__body {
	display: none;
}

.dcc-dates__table .dcc-dates__body--availability {
	display: var(--dcc-dates-body);
}

.dcc-dates:has(#dcc-dates-sort-course:checked) .dcc-dates__body--availability,
.dcc-dates:has(#dcc-dates-sort-meets:checked) .dcc-dates__body--availability,
.dcc-dates:has(#dcc-dates-sort-starts:checked) .dcc-dates__body--availability {
	display: none;
}

.dcc-dates:has(#dcc-dates-sort-course:checked) .dcc-dates__body--course,
.dcc-dates:has(#dcc-dates-sort-meets:checked) .dcc-dates__body--meets,
.dcc-dates:has(#dcc-dates-sort-starts:checked) .dcc-dates__body--starts {
	display: var(--dcc-dates-body);
}

/* The group holding the radios stays in the layout at every width, so the
   radios keep their place in the tab order. Only the chips themselves go, and
   the column headings do their job on anything wider than a phone. */
.dcc-dates__chips {
	padding: 0;
}

.dcc-dates__chips .dcc-filter__chip {
	display: none;
}

/* The heading is the control. It keeps the heading's own size, colour and
   letter-spacing, so nothing about the row looks clickable until the pointer
   is on it. */
.dcc-dates__th label {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font: inherit;
	color: inherit;
	letter-spacing: inherit;
	text-transform: inherit;
	cursor: pointer;
}

.dcc-dates__th.is-right label {
	flex-direction: row-reverse;
}

/* Nothing at rest, faint under the pointer, full on the column being sorted
   by. Subtle was the brief (James, 26 August). */
.dcc-dates__th label::after {
	content: "\25BE";
	font-size: 0.9em;
	line-height: 1;
	opacity: 0;
	transition: opacity var(--wp--custom--motion--duration-fast) var(--wp--custom--motion--easing);
}

.dcc-dates__th label:hover::after {
	opacity: 0.55;
}

.dcc-dates:has(#dcc-dates-sort-course:checked) .dcc-dates__th--course label::after,
.dcc-dates:has(#dcc-dates-sort-meets:checked) .dcc-dates__th--meets label::after,
.dcc-dates:has(#dcc-dates-sort-starts:checked) .dcc-dates__th--starts label::after,
.dcc-dates:has(#dcc-dates-sort-availability:checked) .dcc-dates__th--availability label::after {
	opacity: 1;
	color: var(--wp--preset--color--ink);
}

/* Focus lands on a radio that is clipped off-screen, so the heading it belongs
   to shows the ring in its place. Without this, tabbing into the group looks
   like focus has gone nowhere. */
.dcc-dates:has(#dcc-dates-sort-course:focus-visible) .dcc-dates__th--course label,
.dcc-dates:has(#dcc-dates-sort-meets:focus-visible) .dcc-dates__th--meets label,
.dcc-dates:has(#dcc-dates-sort-starts:focus-visible) .dcc-dates__th--starts label,
.dcc-dates:has(#dcc-dates-sort-availability:focus-visible) .dcc-dates__th--availability label {
	outline: 2px solid var(--wp--preset--color--teal-text);
	outline-offset: 2px;
}

/* Single course ------------------------------------------------------------ */

.dcc-single {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--30);
}

.dcc-crumbs {
	font-size: 0.813rem;
	color: var(--wp--preset--color--muted);
	display: flex;
	gap: 8px;
	align-items: center;
	padding: 0 4px;
}

.dcc-crumbs a {
	color: inherit;
	text-decoration: none;
}

.dcc-crumbs a:hover {
	color: var(--wp--preset--color--teal-text);
}

.dcc-crumbs [aria-current] {
	color: var(--wp--preset--color--ink);
}

.dcc-single__top,
.dcc-single__row {
	display: grid;
	grid-template-columns: 2fr 1fr;
	gap: var(--wp--preset--spacing--30);
	align-items: start;
}

.dcc-single__row.is-split {
	grid-template-columns: 5fr 7fr;
}

/*
 * Cards that are a matched pair rather than a main column and an aside. The
 * costs lists can be eight items against one, and start-aligned that leaves
 * the short one hanging with a hole beside it.
 */
.dcc-single__row.is-equal {
	align-items: stretch;
}

/*
 * Two cards stacked in one column of a row - the residential weekend with
 * course entry beneath it, beside outcomes. In an is-equal row the stack is
 * stretched to the row's height, and the cards share whatever is spare so
 * neither column ends with a hole.
 */
.dcc-single__stack {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--30);
}

.dcc-single__stack > * {
	flex: 1 1 auto;
}

.dcc-single__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 16px;
}

.dcc-chip {
	font-size: 0.781rem;
	font-weight: 600;
	color: var(--wp--preset--color--ink-soft);
	background: var(--wp--preset--color--paper);
	border: 1px solid var(--wp--preset--color--border);
	padding: 5px 11px;
	border-radius: var(--wp--custom--radius--button);
}

.dcc-single__title {
	font-family: var(--wp--preset--font-family--serif);
	font-weight: 300;
	font-size: var(--wp--preset--font-size--h-1);
	line-height: 1.08;
	letter-spacing: -0.02em;
	color: var(--wp--preset--color--ink);
	margin: 0 0 16px;
	text-wrap: pretty;
}

.dcc-single__lead {
	font-size: var(--wp--preset--font-size--article);
	line-height: 1.62;
	color: var(--wp--preset--color--body);
	max-width: 66ch;
}

.dcc-single__lead > :first-child {
	margin-top: 0;
}

.dcc-single__side {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--30);
}

/* The awarding mark, on a card of its own between the facts panel and the
   tutors. NCPS supply these at 300x124 and the sidebar is narrower than that
   once the card's padding is off it, so it scales down rather than pushing the
   card open - which is what happened to the Subscribe button on 20 Aug. */
.dcc-coursemark {
	display: flex;
	justify-content: center;
}

.dcc-coursemark img {
	display: block;
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: 124px;
}

/* The facts panel: the one dark thing on the page. */
.dcc-facts__label {
	color: var(--wp--preset--color--teal-light);
}

/* Two columns: the label takes what it needs, the value takes the rest and
   sits hard right, so a row reads "Starts .......... 6 October 2026" on one
   line.

   It was written to do that already - the label carried float: left and the
   value text-align: right - but floats are ignored on grid items and this list
   has been display: grid all along, so the float has never once had an effect
   and every row has stacked. Found on 6 September when James sent a screenshot
   of the panel at full width with nothing beside anything.

   minmax(0, 1fr) rather than 1fr on the value: a plain 1fr refuses to shrink
   below its content, so one long value would push the whole panel wider than
   its card instead of wrapping inside it. */
.dcc-facts__list {
	margin: 0 0 22px;
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	column-gap: 16px;
	row-gap: 12px;
	font-size: 0.938rem;
}

/* The hairline is on both cells now. It used to be on the value alone, which
   was invisible while the value had the row to itself and would have underlined
   only the right-hand half the moment there were two columns. */
.dcc-facts__list dt {
	display: flex;
	align-items: center;
	gap: 8px;
	color: rgba(255, 255, 255, 0.7);
	padding-bottom: 12px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.dcc-facts__list dt:last-of-type {
	border-bottom: 0;
	padding-bottom: 0;
}

/* On the dark panel the mark takes the lighter teal, the one the eyebrow
   above the list already uses. Teal proper disappears against it. */
.dcc-facts__list dt .dcc-icon {
	width: 16px;
	height: 16px;
	flex: none;
	color: var(--wp--preset--color--teal-light);
}

.dcc-facts__list dd {
	margin: 0;
	text-align: right;
	font-weight: 600;
	padding-bottom: 12px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.dcc-facts__list dd:last-of-type {
	border-bottom: 0;
	padding-bottom: 0;
}

/* On a dark panel the primary action is the one that gets a border. White on
   dark is already loud; the outline is what makes it read as the button rather
   than as one of three. The secondary actions have no border at all, so they
   stand back instead of competing. */
.dcc-button--onDark {
	background: #ffffff;
	color: var(--wp--preset--color--deep);
	border: 2px solid var(--wp--preset--color--teal-light);
}

.dcc-button--onDark:hover {
	background: var(--wp--preset--color--teal-light);
	color: var(--wp--preset--color--deep);
	border-color: var(--wp--preset--color--teal-light);
}

.dcc-button--ghost {
	background: transparent;
	color: rgba(255, 255, 255, 0.86);
	border: 1px solid rgba(255, 255, 255, 0.18);
	margin-top: 8px;
	font-weight: 500;
}

.dcc-button--ghost:hover {
	background: transparent;
	color: var(--wp--preset--color--teal-light);
	border-color: rgba(127, 201, 190, 0.5);
}

.dcc-others ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.dcc-others li {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 10px;
	padding: 10px 0;
	border-bottom: 1px solid var(--wp--preset--color--divider);
	font-size: 0.906rem;
}

.dcc-others li:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.dcc-others a {
	color: var(--wp--preset--color--ink);
	text-decoration: none;
	font-weight: 600;
}

.dcc-others a:hover {
	color: var(--wp--preset--color--teal-text);
}

.dcc-others__pattern {
	display: block;
	font-size: 0.813rem;
	font-weight: 400;
	color: var(--wp--preset--color--muted);
}

.dcc-others__status {
	font-size: 0.781rem;
	font-weight: 600;
	color: var(--wp--preset--color--muted);
	white-space: nowrap;
}

.dcc-others__status.is-available {
	color: var(--wp--preset--color--teal-text);
}

.dcc-others__status.is-full {
	color: var(--wp--preset--color--status-full-fg);
}

.dcc-syllabus h2,
.dcc-whofor h2 {
	font-family: var(--wp--preset--font-family--serif);
	font-weight: 400;
	font-size: var(--wp--preset--font-size--h-2);
	color: var(--wp--preset--color--ink);
	letter-spacing: -0.015em;
	margin: 0 0 18px;
}

.dcc-whofor h2 {
	font-size: var(--wp--preset--font-size--h-3);
	margin-bottom: 12px;
}

.dcc-syllabus__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px 28px;
}

.dcc-syllabus__list li {
	position: relative;
	padding-left: 22px;
	font-size: 0.969rem;
	line-height: 1.5;
	color: var(--wp--preset--color--body);
}

/* A small teal circle. The design has no icon set for bullets. */
.dcc-syllabus__list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.55em;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--wp--preset--color--teal);
}

.dcc-whofor p {
	font-size: 0.969rem;
	line-height: 1.58;
	color: var(--wp--preset--color--body);
	margin: 0 0 12px;
}

.dcc-whofor p:last-child {
	margin-bottom: 0;
}

.dcc-strip {
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: 1px;
	background: var(--wp--preset--color--hairline);
	overflow: hidden;
}

.dcc-strip__cell {
	background: var(--wp--preset--color--card);
	padding: 18px 20px;
}

.dcc-strip__cell.is-download {
	background: var(--wp--preset--color--row-tint);
}

.dcc-strip__value {
	font-family: var(--wp--preset--font-family--serif);
	font-size: 1.25rem;
	color: var(--wp--preset--color--ink);
	margin: 0;
}

/* Tutor page ---------------------------------------------------------------- */

/*
 * The portraits are 200px and will stay 200px until better ones arrive, so
 * nothing here draws one larger than it is. Before this page existed a tutor
 * fell through to the generic post layout, which stretched that 200px past
 * 1100 and blurred it more than fivefold.
 */
/*
 * Stated rather than assumed. Without this the wrapper picked up a flex row
 * from elsewhere and stood the breadcrumb beside the content instead of above
 * it. The course page has the same rule on .dcc-single and always did.
 */
.dcc-person {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--30);
}

.dcc-person__top {
	display: grid;
	grid-template-columns: 2fr 1fr;
	gap: var(--wp--preset--spacing--30);
	align-items: start;
}

.dcc-person__head {
	display: flex;
	gap: 22px;
	align-items: center;
	margin: 0 0 22px;
}

.dcc-person__portrait {
	flex: 0 0 auto;
	width: 132px;
	height: 132px;
	border-radius: 50%;
	overflow: hidden;
	background: var(--wp--preset--color--tint);
}

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

.dcc-person__name {
	font-family: var(--wp--preset--font-family--serif);
	font-weight: 400;
	font-size: var(--wp--preset--font-size--h-2);
	line-height: 1.1;
	letter-spacing: -0.02em;
	color: var(--wp--preset--color--ink);
	margin: 0;
}

.dcc-person__role {
	font-size: 1rem;
	color: var(--wp--preset--color--teal-text);
	margin: 4px 0 0;
}

.dcc-person__quals {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 12px 0 0;
}

/* The bio sits at a readable measure rather than the full card width. */
.dcc-person__bio {
	max-width: 62ch;
}

.dcc-person__bio p {
	font-size: 1rem;
	line-height: 1.62;
	color: var(--wp--preset--color--body);
	margin: 0 0 14px;
}

.dcc-person__bio p:last-child {
	margin-bottom: 0;
}

.dcc-person__site {
	margin: 20px 0 0;
	font-size: 0.969rem;
}

.dcc-person__side {
	display: grid;
	gap: var(--wp--preset--spacing--30);
}

.dcc-person__courses ul {
	list-style: none;
	margin: 10px 0 0;
	padding: 0;
}

.dcc-person__courses li {
	padding: 12px 0;
	border-top: 1px solid var(--wp--preset--color--hairline);
}

.dcc-person__courses li:first-child {
	border-top: 0;
	padding-top: 0;
}

/* A course still running but no longer on the site is named without a link,
   so the row has to lay itself out the same way the anchor does. */
.dcc-person__unlinked {
	display: block;
}

.dcc-person__courses a {
	display: block;
	text-decoration: none;
}

.dcc-person__coursename {
	display: block;
	font-size: 0.969rem;
	line-height: 1.4;
	color: var(--wp--preset--color--ink);
}

.dcc-person__courses a:hover .dcc-person__coursename {
	color: var(--wp--preset--color--teal-text);
}

.dcc-person__coursedate,
.dcc-person__coursestatus {
	display: inline-block;
	font-size: 0.844rem;
	color: var(--wp--preset--color--body-2);
	margin-top: 2px;
}

.dcc-person__coursestatus {
	margin-left: 8px;
}

.dcc-person__coursestatus.is-available {
	color: var(--wp--preset--color--teal-text);
}

/* The card of their own, for whatever the courses cannot say. Its heading is
   the same eyebrow the two course cards use, so the three read as one column. */
.dcc-person__owntext {
	margin: 10px 0 0;
	font-size: 0.969rem;
	line-height: 1.55;
	color: var(--wp--preset--color--body);
}

.dcc-person__owntext + .dcc-person__owntext {
	margin-top: 0.8em;
}

.dcc-person__back p {
	font-size: 0.969rem;
	line-height: 1.5;
	color: var(--wp--preset--color--body);
	margin: 0 0 14px;
}

.dcc-fees h2 {
	font-family: var(--wp--preset--font-family--serif);
	font-weight: 400;
	font-size: var(--wp--preset--font-size--h-2);
	color: var(--wp--preset--color--ink);
	letter-spacing: -0.015em;
	margin: 0 0 18px;
}

.dcc-fees__options {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 18px;
}

.dcc-fees__option {
	background: var(--wp--preset--color--row-tint);
	border-radius: var(--wp--custom--radius--card-tight);
	padding: 18px 20px;
}

/* The fee's own name, sitting between the option heading and the figure. */
.dcc-fees__name {
	font-size: 0.969rem;
	font-weight: 600;
	line-height: 1.3;
	color: var(--wp--preset--color--ink);
	margin: 6px 0 0;
}

.dcc-fees__amount {
	font-family: var(--wp--preset--font-family--serif);
	font-size: 1.875rem;
	line-height: 1.2;
	color: var(--wp--preset--color--ink);
	margin: 2px 0 10px;
}

/* The qualifier rides with the number rather than under it. */
.dcc-fees__note {
	display: inline;
	font-family: var(--wp--preset--font-family--sans);
	font-size: 0.938rem;
	color: var(--wp--preset--color--body);
	white-space: nowrap;
}

.dcc-fees__terms {
	font-size: 0.938rem;
	line-height: 1.55;
	color: var(--wp--preset--color--body);
	margin: 0;
}

.dcc-fees__footnote {
	font-size: 0.938rem;
	line-height: 1.55;
	color: var(--wp--preset--color--body);
	margin: 16px 0 0;
}

/* What the fee does and does not cover, side by side. */
.dcc-costs h2 {
	font-family: var(--wp--preset--font-family--serif);
	font-weight: 400;
	font-size: var(--wp--preset--font-size--h-3);
	color: var(--wp--preset--color--ink);
	letter-spacing: -0.015em;
	margin: 0 0 14px;
}

.dcc-costs__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 10px;
}

.dcc-costs__list li {
	position: relative;
	padding-left: 22px;
	font-size: 0.969rem;
	line-height: 1.5;
	color: var(--wp--preset--color--body);
}

.dcc-costs__list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.55em;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--wp--preset--color--teal);
}

/*
 * The course itself - modules, outcomes, entry, assessment, extra costs,
 * progression. All of it comes from a shared Course content record, so these
 * rules dress whatever that record happens to hold and nothing here assumes a
 * section is present.
 */
.dcc-modules h2,
.dcc-outcomes h2,
.dcc-residential h2,
.dcc-entry h2,
.dcc-assessment h2,
.dcc-extracosts h2,
.dcc-progression h2 {
	font-family: var(--wp--preset--font-family--serif);
	font-weight: 400;
	font-size: var(--wp--preset--font-size--h-2);
	color: var(--wp--preset--color--ink);
	letter-spacing: -0.015em;
	margin: 0 0 18px;
}

/* The three that share a row read at the same size. */
.dcc-outcomes h2,
.dcc-residential h2,
.dcc-entry h2 {
	font-size: var(--wp--preset--font-size--h-3);
	margin-bottom: 12px;
}

/*
 * Modules flow rather than sit in a grid. A grid makes rows, and a row is as
 * tall as its tallest module, so a short one leaves a hole under it and seven
 * modules across three columns strands the last one on its own. Columns just
 * fill: down the first, then down the second, and the section ends where the
 * text ends. Two rather than three, because a module cannot be broken and
 * three columns left the browser balancing one long module against six short
 * ones - and because this much prose wants a wider measure than a third.
 *
 * The width in the shorthand is a floor, not a fixed size - two columns
 * where there is room for two, one as the screen narrows, so this needs no
 * media query of its own.
 */
.dcc-modules__list {
	columns: 320px 2;
	column-gap: 40px;
}

/* Never break a module across a column, which would strand its heading. */
.dcc-module {
	break-inside: avoid;
	margin: 0 0 22px;
}

.dcc-module:last-child {
	margin-bottom: 0;
}

.dcc-module h3,
.dcc-assessment__item h3,
.dcc-extracosts__item h3 {
	font-size: 1.031rem;
	font-weight: 600;
	line-height: 1.3;
	color: var(--wp--preset--color--ink);
	margin: 0 0 6px;
}

.dcc-module p,
.dcc-residential p,
.dcc-entry p,
.dcc-assessment__item p,
.dcc-extracosts__item p,
.dcc-progression p {
	font-size: 0.969rem;
	line-height: 1.58;
	color: var(--wp--preset--color--body);
	margin: 0 0 10px;
}

.dcc-module p:last-child,
.dcc-residential p:last-child,
.dcc-entry p:last-child,
.dcc-assessment__item p:last-child,
.dcc-extracosts__item p:last-child,
.dcc-progression p:last-child {
	margin-bottom: 0;
}

.dcc-assessment__item + .dcc-assessment__item,
.dcc-extracosts__item + .dcc-extracosts__item {
	margin-top: 18px;
	padding-top: 18px;
	border-top: 1px solid var(--wp--preset--color--hairline);
}

/* Outcomes are a long list of short lines, so two columns and a tight rhythm. */
.dcc-outcomes__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 10px 28px;
}

.dcc-outcomes__list li {
	position: relative;
	padding-left: 22px;
	font-size: 0.969rem;
	line-height: 1.5;
	color: var(--wp--preset--color--body);
}

.dcc-outcomes__list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.55em;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--wp--preset--color--teal);
}

/* Exclusions get a rule rather than a dot, so the two lists read apart. */
.dcc-costs--out .dcc-costs__list li::before {
	top: 0.72em;
	width: 11px;
	height: 2px;
	border-radius: 0;
	background: var(--wp--preset--color--body);
}

.dcc-coursetutor {
	display: flex;
	gap: 14px;
	align-items: center;
	padding: 10px 0;
	text-decoration: none;
}

.dcc-coursetutor__avatar img {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	object-fit: cover;
	border: 1px solid var(--wp--preset--color--tint-border);
	display: block;
}

.dcc-coursetutor__name {
	display: block;
	font-size: 1rem;
	font-weight: 600;
	color: var(--wp--preset--color--ink);
}

.dcc-coursetutor__role {
	display: block;
	font-size: 0.844rem;
	color: var(--wp--preset--color--muted);
}

.dcc-coursetutor:hover .dcc-coursetutor__name {
	color: var(--wp--preset--color--teal-text);
}

/* details/summary, as the design specifies: a plus and minus, no animation. */
.dcc-faq {
	border-bottom: 1px solid var(--wp--preset--color--divider);
}

.dcc-faq:last-of-type {
	border-bottom: 0;
}

.dcc-faq summary {
	list-style: none;
	cursor: pointer;
	padding: 14px 0;
	font-size: 1rem;
	font-weight: 600;
	color: var(--wp--preset--color--ink);
	display: flex;
	justify-content: space-between;
	gap: 16px;
	align-items: center;
}

.dcc-faq summary::-webkit-details-marker {
	display: none;
}

.dcc-faq summary::after {
	content: "+";
	color: var(--wp--preset--color--teal-text);
	font-size: 1.125rem;
	line-height: 1;
	flex: none;
}

.dcc-faq[open] summary::after {
	content: "\2212";
}

.dcc-faq__answer {
	padding-bottom: 14px;
}

.dcc-faq__answer p {
	font-size: 0.938rem;
	line-height: 1.6;
	color: var(--wp--preset--color--body);
	margin: 0 0 10px;
}

.dcc-faq__answer p:last-child {
	margin-bottom: 0;
}

.dcc-ctaband__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 18px 0 0;
}

.dcc-ctaband__actions .dcc-button {
	display: inline-block;
	padding: 14px 24px;
}

.dcc-ctaband__actions .dcc-button--ghost {
	margin-top: 0;
}

/* Status pills ------------------------------------------------------------- */

/* Status is a word first and a colour second. The colours only reinforce
   something the label already says. */

.dcc-pill {
	display: inline-block;
	font-size: 0.75rem;
	font-weight: 600;
	padding: 5px 11px;
	border-radius: var(--wp--custom--radius--button);
	white-space: nowrap;
}

.dcc-pill.is-available {
	background: var(--wp--preset--color--teal-text);
	color: #ffffff;
}

/* Full is the one status that has to stop someone, so it carries weight the
   other two do not. The colour comes from the palette, not from here. */
.dcc-pill.is-waiting_list,
.dcc-pill.is-full {
	background: var(--wp--preset--color--status-full-bg);
	color: var(--wp--preset--color--status-full-fg);
	font-weight: 700;
	box-shadow: inset 0 0 0 1px var(--wp--preset--color--status-full-fg);
}

.dcc-pill.is-tbc {
	background: var(--wp--preset--color--status-tbc-bg);
	color: var(--wp--preset--color--status-tbc-fg);
}

/* The places-left count sits under the status pill on a course card. Same
   shape, quieter colours: with places to spare it is a number, not a state. */
.dcc-pill--places {
	background: var(--wp--preset--color--card);
	color: var(--wp--preset--color--ink);
	border: 1px solid var(--wp--preset--color--border);
}

/*
 * Down to the last few, and it becomes a solid block like the status pill
 * above it.
 *
 * Both pills sit on top of the course photograph, and that is the whole
 * reason for the fill: an outline on white is the one treatment a picture can
 * swallow. A red outline was tried at one pixel and at two, with red text,
 * and could not be seen either time (James, 24 August).
 *
 * Only below DCC_PLACES_LOW, so the colour still means something when it
 * appears. White on #a3352c is 6.8:1, so the small type stays legible.
 */
.dcc-pill--places.is-low {
	background: var(--wp--preset--color--status-full-fg);
	color: #ffffff;
	border-color: var(--wp--preset--color--status-full-fg);
	font-weight: 700;
}

/* Buttons in patterns ------------------------------------------------------ */

.dcc-button {
	display: block;
	/* border-box, so that a button given a width keeps its 13px of padding
	   inside that width. Without it, any .dcc-button set to 100% came out
	   26px wider than the box holding it - which is how the Subscribe button
	   ended up hanging over the edge of its card (20 Aug). */
	box-sizing: border-box;
	text-align: center;
	background: var(--wp--preset--color--ink);
	color: #ffffff;
	padding: 13px;
	border-radius: var(--wp--custom--radius--button);
	font-weight: 600;
	font-size: 0.906rem;
	text-decoration: none;
	transition: background-color var(--wp--custom--motion--duration-fast) var(--wp--custom--motion--easing);
}

.dcc-button:hover {
	background: var(--wp--preset--color--teal-text);
	color: #ffffff;
}

.dcc-button.is-secondary {
	background: var(--wp--preset--color--paper);
	color: var(--wp--preset--color--ink);
	border: 1px solid var(--wp--preset--color--border);
}

.dcc-button.is-secondary:hover {
	background: var(--wp--preset--color--paper);
	border-color: var(--wp--preset--color--teal-text);
	color: var(--wp--preset--color--teal-text);
}

/* Course archive ----------------------------------------------------------- */

/*
 * A quiet panel behind each qualification, so the groups read as three things
 * rather than one long run of cards. Tinted rather than white, because the
 * course cards inside are white and a white panel behind them would be
 * invisible - this way the cards sit on it instead of in it.
 */
/* Landed on from the home page's pathway cards, so it needs to clear the
   sticky header rather than tuck under it. */
.dcc-courses__nodates {
	margin: 0;
	font-size: var(--wp--preset--font-size--body-lg);
	line-height: 1.6;
	color: var(--wp--preset--color--body);
}

.dcc-courses__group {
	scroll-margin-top: 120px;
	background: var(--wp--preset--color--tint);
	border: 1px solid var(--wp--preset--color--tint-border);
	border-radius: var(--wp--custom--radius--card);
	padding: var(--wp--preset--spacing--40);
}

/* Gap, not sibling margins: a group the filter hides must not leave its
   spacing behind. */
.dcc-courses {
	display: grid;
	gap: var(--wp--preset--spacing--40);
}

.dcc-courses__heading {
	font-family: var(--wp--preset--font-family--serif);
	font-weight: 400;
	font-size: var(--wp--preset--font-size--h-2);
	line-height: 1.2;
	color: var(--wp--preset--color--ink);
	letter-spacing: -0.015em;
	margin: 0 0 var(--wp--preset--spacing--30);
}

.dcc-courses__subtitle {
	font-family: var(--wp--preset--font-family--sans);
	font-size: 0.938rem;
	font-weight: 500;
	color: var(--wp--preset--color--muted);
	letter-spacing: 0;
}

.dcc-courses__subtitle::before {
	content: "\00b7";
	margin: 0 0.4em;
}

/* Each row is its own grid, told how many columns it holds. Three across is
   the widest; four courses go two and two rather than three and a lonely one.
   The row widths stay equal because every row is the full width. */
/*
 * Always three columns, whatever the count. A group of four or five runs out
 * mid-row and leaves the rest of that row empty, which is the point: the old
 * arrangement gave a row of two half-width cards, and a card being wider read
 * as the college promoting it. Every course now gets exactly the same amount
 * of room.
 */
.dcc-courses__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--wp--preset--spacing--30);
	align-items: stretch;
}

.dcc-course {
	padding: 0;
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

/* Full and TBC courses sit back very slightly. Not enough to make them hard
   to read; enough that an open course is the one your eye lands on. */
.dcc-course.is-closed {
	opacity: 0.92;
}

.dcc-course__image {
	position: relative;
	background: var(--wp--preset--color--tint);
	aspect-ratio: 16 / 9;
	overflow: hidden;
}

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

.dcc-course__body {
	padding: 22px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	flex: 1;
}

/* Until photographs arrive, the card shows an icon on the tint rather than an
   empty grey rectangle. Shallower than a real photograph, so a card without
   one does not tower over its content. */
.dcc-course__image.is-placeholder {
	aspect-ratio: 21 / 9;
	display: flex;
	align-items: center;
	justify-content: center;
}

.dcc-course__image.is-placeholder .dcc-icon {
	width: 40px;
	height: 40px;
	color: var(--wp--preset--color--teal);
	opacity: 0.7;
}

/* Lucide draws at stroke-width 2, which is heavy beside Newsreader at 300. */
.dcc-icon {
	stroke-width: 1.25;
}

/* The status and the places count stack in the corner. They were both
   absolutely positioned to the same 12px and landed on top of each other
   (20 Aug), so the corner holds the pair and the pills sit in the flow. */
.dcc-course__pills {
	position: absolute;
	top: 12px;
	left: 12px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 6px;
}

.dcc-course__image .dcc-pill {
	position: static;
}

/* The admin-only edit link on a course card. Quiet, and plainly not part of
   what a visitor is being offered - nobody without editing rights ever sees
   it drawn at all. */
.dcc-course__edit {
	display: block;
	margin-top: 10px;
	text-align: center;
	font-size: 0.781rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--wp--preset--color--muted);
	text-decoration: none;
}

.dcc-course__edit:hover {
	color: var(--wp--preset--color--teal-text);
	text-decoration: underline;
}

/* How often the intake meets, tucked up under the title. */
.dcc-course__pattern {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 0.938rem;
	font-weight: 600;
	color: var(--wp--preset--color--teal-text);
	margin: -6px 0 0;
}

/* The mark takes the line's own colour here, rather than the accent: the line
   is already teal, and two teals side by side read as a mistake. */
.dcc-course__pattern .dcc-icon {
	width: 15px;
	height: 15px;
	flex: none;
}

.dcc-course__facts {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 6px 10px;
	margin: 0;
	font-size: 0.906rem;
	color: var(--wp--preset--color--body);
}

.dcc-course__facts dt {
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--wp--preset--color--ink);
	font-weight: 600;
}

.dcc-course__facts dt .dcc-icon {
	width: 15px;
	height: 15px;
	flex: none;
	color: var(--wp--preset--color--teal);
}

.dcc-course__facts dd {
	margin: 0;
}

.dcc-course__body .dcc-button {
	margin-top: auto;
}

.dcc-course__title {
	font-family: var(--wp--preset--font-family--serif);
	font-weight: 400;
	font-size: var(--wp--preset--font-size--h-3);
	line-height: 1.2;
	color: var(--wp--preset--color--ink);
	margin: 0;
}

/*
 * The heading needs saying as well as the paragraph. Without this it inherited
 * the ink colour meant for cards on pale paper and came out dark green on dark
 * green - 1.12:1, which is not "hard to read", it is not there. Both states of
 * this card use the one heading, so "Ready to apply for ...?" and "Not the
 * right time?" were equally invisible.
 */
.dcc-ctaband h2 {
	color: #ffffff;
}

.dcc-ctaband p {
	color: rgba(255, 255, 255, 0.75);
}

.dcc-ctaband .is-on-dark .wp-block-button__link {
	background: #ffffff;
	color: var(--wp--preset--color--deep);
}

/* Testimonials ------------------------------------------------------------- */

.dcc-featuredquote {
	display: flex;
	flex-direction: column;
	justify-content: center;
	margin: 0;
	padding: var(--wp--preset--spacing--60);
}

.dcc-featuredquote__mark {
	font-family: var(--wp--preset--font-family--serif);
	font-size: 3.75rem;
	line-height: 0.5;
	height: 30px;
	color: var(--wp--preset--color--teal);
}

.dcc-featuredquote__text {
	font-family: var(--wp--preset--font-family--serif);
	font-style: italic;
	font-weight: 300;
	font-size: 1.813rem;
	line-height: 1.34;
	color: #ffffff;
	margin: 0 0 18px;
	padding: 0;
	border: 0;
	text-wrap: pretty;
}

.dcc-featuredquote__by {
	font-size: 0.906rem;
	color: rgba(255, 255, 255, 0.65);
}

/* The panel opens the testimonial's page (0.0.213): the name's link is
   stretched over it, as on the quote cards. */
.dcc-featuredquote {
	position: relative;
	cursor: pointer;
}

.dcc-featuredquote__link {
	color: inherit;
	text-decoration: none;
}

.dcc-featuredquote__link::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	border-radius: inherit;
}

.dcc-featuredquote:hover .dcc-featuredquote__link {
	color: #ffffff;
}

/* The dark panel needs the light focus ring, like the other dark areas. */
.dcc-featuredquote__link:focus-visible,
.dcc-featuredquote__practice:focus-visible {
	outline-color: var(--wp--preset--color--teal-light);
}

/* The practice's own website (0.0.214), styled as on the quote cards - the
   panel's text colour with a quiet underline that brightens on hover - and
   lifted above the stretched link so it opens the practice. */
.dcc-featuredquote__practice {
	position: relative;
	z-index: 2;
	color: inherit;
	text-decoration: none;
	border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}

.dcc-featuredquote__practice:hover {
	color: var(--wp--preset--color--teal-light);
	border-bottom-color: var(--wp--preset--color--teal-light);
}

/* Columns, not a grid. See the note in the pattern. */
.dcc-quotes {
	columns: 3;
	column-gap: var(--wp--preset--spacing--30);
}

/* One testimonial on its own page. The tutor page's shape: a main card two
   thirds wide, a sidebar, more cards below. */
.dcc-story {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--30);
}

.dcc-story__top {
	display: grid;
	grid-template-columns: 2fr 1fr;
	gap: var(--wp--preset--spacing--30);
	align-items: start;
}

.dcc-story__main {
	padding: var(--wp--preset--spacing--60);
}

.dcc-story__name {
	font-family: var(--wp--preset--font-family--serif);
	font-weight: 300;
	font-size: var(--wp--preset--font-size--h-2);
	line-height: 1.1;
	letter-spacing: -0.015em;
	color: var(--wp--preset--color--ink);
	margin: 0 0 26px;
}

.dcc-story__quote {
	margin: 0;
}

.dcc-story__mark {
	display: block;
	font-family: var(--wp--preset--font-family--serif);
	font-size: 3.75rem;
	line-height: 0.5;
	height: 30px;
	color: var(--wp--preset--color--teal);
}

.dcc-story__text {
	font-family: var(--wp--preset--font-family--serif);
	font-style: italic;
	font-weight: 300;
	font-size: 1.438rem;
	line-height: 1.45;
	color: var(--wp--preset--color--ink);
	margin: 0 0 20px;
	padding: 0;
	border: 0;
	text-wrap: pretty;
}

.dcc-story__text p {
	margin: 0 0 0.9em;
}

.dcc-story__text p:last-child {
	margin-bottom: 0;
}

.dcc-story__by {
	font-size: 0.906rem;
	color: var(--wp--preset--color--muted);
}

.dcc-story__side {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--30);
}

/* 120px since 0.0.208 (James, 12 November 2026; was 72). Most photos are
   only 133 pixels wide, so much past this would look soft. */
.dcc-story__portrait img {
	width: 120px;
	height: 120px;
	border-radius: 50%;
	object-fit: cover;
	border: 1px solid var(--wp--preset--color--tint-border);
	display: block;
	margin-bottom: 14px;
}

.dcc-story__whoname {
	font-size: 1.125rem;
	font-weight: 600;
	color: var(--wp--preset--color--ink);
	margin: 0 0 14px;
}

/* The practice, on its own line under the name: no heading since 0.0.208. */
.dcc-story__practice {
	margin: -6px 0 14px;
	font-size: 0.906rem;
	line-height: 1.5;
	color: var(--wp--preset--color--body);
}

.dcc-story__practice:last-child,
.dcc-story__whoname:last-child {
	margin-bottom: 0;
}

.dcc-story__practice a {
	color: var(--wp--preset--color--ink);
	text-decoration: none;
	border-bottom: 1px solid var(--wp--preset--color--teal);
}

.dcc-story__practice a:hover {
	color: var(--wp--preset--color--teal-text);
}

.dcc-story__facts {
	margin: 0;
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 8px 14px;
	font-size: 0.906rem;
}

.dcc-story__facts dt {
	color: var(--wp--preset--color--muted);
	font-weight: 600;
	font-size: 0.813rem;
	line-height: 1.6;
}

.dcc-story__facts dd {
	margin: 0;
	color: var(--wp--preset--color--body);
	line-height: 1.5;
}

.dcc-story__facts dd a {
	color: var(--wp--preset--color--ink);
	text-decoration: none;
	border-bottom: 1px solid var(--wp--preset--color--teal);
}

.dcc-story__facts dd a:hover {
	color: var(--wp--preset--color--teal-text);
}

.dcc-story__back p {
	font-size: 0.906rem;
	line-height: 1.55;
	color: var(--wp--preset--color--body);
	margin: 0 0 14px;
}

.dcc-story__moreheading,
.dcc-alongside__heading {
	font-family: var(--wp--preset--font-family--serif);
	font-weight: 400;
	font-size: var(--wp--preset--font-size--h-2);
	color: var(--wp--preset--color--ink);
	letter-spacing: -0.015em;
	margin: var(--wp--preset--spacing--30) 0 var(--wp--preset--spacing--30);
}

/* The name on a quote card is the link to its own page - the only one. */
.dcc-quote__name a {
	color: inherit;
	text-decoration: none;
}

.dcc-quote__name a:hover {
	color: var(--wp--preset--color--teal-text);
}

.dcc-quote {
	break-inside: avoid;
	margin: 0 0 var(--wp--preset--spacing--30);
	display: block;
}

/* The whole card opens the testimonial's page (0.0.210, James, 12 November
   2026). The name's link is stretched over the card by an invisible layer, so
   a click or tap anywhere on it goes where the name goes, and the name stays
   the only link a screen reader or keyboard meets. The practice's own website
   link sits above that layer, so it still opens the practice. */
.dcc-quote {
	position: relative;
	cursor: pointer;
}

.dcc-quote__name a::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	border-radius: inherit;
}

.dcc-quote__practice a {
	position: relative;
	z-index: 2;
}

.dcc-quote:hover .dcc-quote__name a {
	color: var(--wp--preset--color--teal-text);
}

.dcc-quote__chip {
	display: inline-block;
	font-size: 0.75rem;
	font-weight: 600;
	color: var(--wp--preset--color--ink-soft);
	background: var(--wp--preset--color--paper);
	border: 1px solid var(--wp--preset--color--border);
	padding: 5px 11px;
	border-radius: var(--wp--custom--radius--button);
	margin: 0 0 14px;
}

.dcc-quote__text {
	font-size: 1rem;
	line-height: 1.6;
	color: var(--wp--preset--color--body);
	margin: 0;
	padding: 0;
	border: 0;
}

.dcc-quote__text p {
	margin: 0 0 0.75em;
}

.dcc-quote__text p:last-child {
	margin-bottom: 0;
}

/* At the top of the card since 0.0.211 (a trial), so the space it needs is
   below it, before the course label and the quote, not above it. */
.dcc-quote__by {
	display: flex;
	gap: 14px;
	align-items: center;
	margin: 0 0 18px;
	padding: 0;
}

/* 80px since 0.0.208 (James, 12 November 2026; was 38). The photos carried
   over from the old site are 133 to 200 pixels, so 80 stays sharp. */
.dcc-quote__avatar img {
	width: 80px;
	height: 80px;
	border-radius: 50%;
	object-fit: cover;
	border: 1px solid var(--wp--preset--color--tint-border);
	display: block;
}

.dcc-quote__name,
.dcc-quote__practice,
.dcc-quote__year {
	display: block;
}

.dcc-quote__name {
	font-size: 0.906rem;
	font-weight: 600;
	color: var(--wp--preset--color--ink);
}

.dcc-quote__practice,
.dcc-quote__year {
	font-size: 0.813rem;
	color: var(--wp--preset--color--muted);
}

.dcc-quote__practice a {
	color: inherit;
	text-decoration: none;
	border-bottom: 1px solid var(--wp--preset--color--tint-border);
}

.dcc-quote__practice a:hover {
	color: var(--wp--preset--color--teal-text);
	border-bottom-color: var(--wp--preset--color--teal);
}

/* Focus -------------------------------------------------------------------- */

/* The design is explicit: the focus ring is never removed. On dark panels it
   switches to the light teal so it stays visible.

   Written out rather than wrapped in :where(), which has no specificity at
   all: any later rule anywhere that set an outline on one of these would have
   beaten it silently and taken the ring off. The dark-panel override below is
   a class plus a pseudo-class and still wins. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
	outline: 2px solid var(--wp--preset--color--teal-text);
	outline-offset: 2px;
}

.dcc-utility :focus-visible,
.dcc-footer :focus-visible,
.has-deep-background-color :focus-visible,
.has-darkest-background-color :focus-visible {
	outline-color: var(--wp--preset--color--teal-light);
}

/* Responsive --------------------------------------------------------------- */

@media (max-width: 1199px) {
	.dcc-utility,
	.dcc-masthead,
	.dcc-footer {
		padding-left: 28px;
		padding-right: 28px;
	}
}

@media (max-width: 899px) {
	/* The action bar, screens M1 and M4. Fixed rather than sticky so it holds
	   whatever the page is doing, and the page is padded by its height so the
	   last of the footer is still reachable underneath it. */
	.dcc-actionbar {
		position: fixed;
		bottom: 0;
		left: 0;
		right: 0;
		z-index: 20;
		display: flex;
		gap: 10px;
		align-items: center;
		padding: 6px 14px;
		background: rgba(255, 255, 255, 0.97);
		border-top: 1px solid var(--wp--preset--color--border);
	}

	/* The bar's own height and no more: 44px of button, 6px above and below,
	   and the hairline. */
	body:has(.dcc-actionbar) {
		padding-bottom: 57px;
	}

	.dcc-actionbar__facts {
		flex: 1;
		margin: 0;
		font-size: 0.781rem;
		line-height: 1.3;
		color: var(--wp--preset--color--muted);
	}

	.dcc-actionbar__status {
		color: var(--wp--preset--color--ink);
		font-weight: 600;
	}

	.dcc-actionbar__go {
		flex: 1;
		text-align: center;
		background: var(--wp--preset--color--ink);
		color: #ffffff;
		/* 12px above and below a 20px line is a 44px target, which is the
		   floor for something meant to be tapped. It does not go shorter. */
		padding: 12px;
		border-radius: var(--wp--custom--radius--button);
		font-weight: 600;
		font-size: 0.875rem;
		line-height: 1.25;
		text-decoration: none;
	}

	/* Beside the dates and the status, the button takes only what it needs. */
	.dcc-actionbar--course .dcc-actionbar__go {
		flex: none;
		padding: 12px 22px;
	}

	.dcc-actionbar__call {
		flex: none;
		padding: 12px 18px;
		border: 1px solid var(--wp--preset--color--input-border);
		border-radius: var(--wp--custom--radius--button);
		color: var(--wp--preset--color--ink);
		font-weight: 600;
		font-size: 0.875rem;
		line-height: 1.25;
		text-decoration: none;
	}

	.dcc-courses__grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.dcc-courses-head,
	.dcc-contact-top {
		grid-template-columns: 1fr;
	}

	.dcc-trust {
		grid-template-columns: 1fr;
	}

	.dcc-contactcards {
		grid-auto-flow: row;
		grid-auto-columns: auto;
	}

	.dcc-utility,
	.dcc-masthead,
	.dcc-footer {
		padding-left: 20px;
		padding-right: 20px;
	}

	/* A word too long for the line breaks rather than running off the side of
	   it. Only ever fires on something unbreakable: an email address or a
	   full URL, which is exactly where it was running off (20 Aug). */
	body {
		overflow-wrap: break-word;
	}

	/* The masthead stays one row - brand on the left, menu button on the
	   right - as screen M1 draws it. Left to wrap, the actions dropped onto a
	   second line and the menu button turned up at the bottom left instead of
	   the top right, and the header stood 132px tall (20 Aug). */
	.dcc-masthead {
		flex-wrap: nowrap;
		gap: 12px;
	}

	.dcc-masthead__brand {
		min-width: 0;
		flex: 1 1 auto;
	}

	.dcc-masthead__actions {
		flex: 0 0 auto;
	}

	/* The strapline is what will not fit beside a logo and a menu button, and
	   it is the first line of the home page anyway. */
	.dcc-masthead .wp-block-site-tagline {
		display: none;
	}

	/* Arrange a visit is a desktop button. On a phone the drawer carries the
	   contact page and the bar at the foot of the screen offers the same. */
	.dcc-masthead__actions .wp-block-buttons {
		display: none;
	}

	/* Breadcrumbs on one line. The page it is on is named in the heading
	   immediately below, so the trail is what matters here, not repeating a
	   course title that takes two lines to say (20 Aug). */
	.dcc-crumbs {
		flex-wrap: nowrap;
		min-width: 0;
	}

	.dcc-crumbs > :last-child {
		min-width: 0;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	.dcc-crumbs > :not(:last-child) {
		flex: none;
		white-space: nowrap;
	}

	/* Under 900px the utility bar keeps only the phone number; the rest of it
	   lives in the navigation drawer. One line, so the bar stays the height
	   the sticky header is offset by.
	   
	   Two classes on the first selector, not one: WordPress gives the group
	   .wp-block-group.is-layout-flex with its own display, which outweighs a
	   single class and left this showing. It was 55px of links inside a 36px
	   bar that clips, so they spilled over the page (20 Aug). */
	.dcc-utility .dcc-utility__right,
	.dcc-utility__left > p:not(:nth-child(2)) {
		display: none;
	}

	/* And the number itself stays on one line. */
	.dcc-utility__left > p:nth-child(2) {
		white-space: nowrap;
	}

	.dcc-utility__left > p:nth-child(2)::before {
		content: none;
	}

	.dcc-footer__columns {
		grid-template-columns: 1fr 1fr;
		gap: 28px;
	}

	.dcc-team__grid--tutors {
		grid-template-columns: 1fr;
	}

	.dcc-homebottom,
	.dcc-blog__top,
	.dcc-article {
		grid-template-columns: 1fr;
	}

	.dcc-blog__asidestack {
		position: static;
		grid-auto-rows: auto;
	}

	.dcc-alongside__grid {
		grid-template-columns: 1fr;
	}

	.dcc-blog__grid {
		grid-template-columns: repeat(2, 1fr);
	}

	/* Nothing sticks on a phone: there is no room beside the article for it
	   to stick to. */
	.dcc-article__aside {
		position: static;
	}

	.dcc-team__grid--assessors,
	.dcc-team__grid--mentions {
		grid-template-columns: repeat(2, 1fr);
	}

	.dcc-quotes {
		columns: 2;
	}

	.dcc-route__grid,
	.dcc-aboutlinks,
	.dcc-bespoke__subjects {
		grid-template-columns: repeat(2, 1fr);
	}

	.dcc-bespokehero,
	.dcc-bespoke__how {
		grid-template-columns: 1fr;
	}

	.dcc-single__top,
	.dcc-single__row,
	.dcc-single__row.is-split {
		grid-template-columns: 1fr;
	}

	.dcc-person__top,
	.dcc-story__top {
		grid-template-columns: 1fr;
	}

	.dcc-syllabus__list {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 599px) {
	/* Back to one column on a phone. Two columns of type in 350px turns
	   "Duration / Two years - 41 Sessions" into a cramped pair, and the
	   label above the value reads perfectly well when there is no room to
	   put them side by side. The same breakpoint the rest of the theme
	   collapses at, rather than a width invented for this panel. */
	.dcc-facts__list {
		grid-template-columns: 1fr;
	}

	.dcc-facts__list dt {
		border-bottom: 0;
		padding-bottom: 0;
	}

	/* A phone was spending too much of itself on margin. 40px of page padding
	   and 36px of card padding left a 412px screen 259px to set type in, which
	   is what put the home page heading on five lines and every other heading
	   on two or three. 12 and 18 give it 350px (James, 21 Aug). */
	main.has-global-padding {
		padding-left: 12px;
		padding-right: 12px;
	}

	/* Sides only: the cards' vertical padding is doing no harm and two of them
	   are deliberately uneven. */
	.dcc-card,
	.dcc-bespokehero {
		padding-left: 18px;
		padding-right: 18px;
	}

	/* A 225px photograph floated into a 330px column leaves a hundred pixels
	   of text beside it, which is not reading. On a phone they stand alone. */
	.dcc-article__body > figure.wp-block-image.alignleft,
	.dcc-article__body > figure.wp-block-image.alignright,
	.dcc-article__body > figure.wp-block-image:not(.alignleft):not(.alignright) {
		float: none;
		max-width: 100%;
		margin-left: 0;
		margin-right: 0;
	}

	.dcc-courses__grid {
		grid-template-columns: repeat(1, 1fr);
	}

	/* One column of fields on a phone; the button goes full width under the
	   privacy line. */
	.dcc-form__grid {
		grid-template-columns: 1fr;
	}

	.dcc-form__field.is-wide,
	.dcc-form__foot.is-wide {
		grid-column: auto;
	}

	.dcc-form__foot,
	.dcc-booking__send {
		flex-direction: column;
		align-items: stretch;
	}

	.dcc-form .dcc-button {
		display: block;
		width: 100%;
	}

	/* Bullets sit flush with the text: a 40px indent is width a phone line
	   cannot spare (James, 20 Aug). Inside, not outside, so the marker stays
	   on the page rather than hanging off the edge of it. */
	main .wp-block-list {
		padding-left: 0;
		list-style-position: inside;
	}

	.dcc-blog__grid {
		grid-template-columns: 1fr;
	}

	/* The chips wrap onto as many lines as they need. The design drew them
	   scrolling sideways and they were built that way, but a row that scrolls
	   hides half its options behind a gesture nothing advertises, and James
	   asked for them all in view (20 Aug). The padding keeps the ring of a
	   focused chip clear of the card edge. */
	.dcc-filter__chips {
		flex-wrap: wrap;
		overflow-x: visible;
		padding: 2px;
		margin: -2px;
	}

	.dcc-utility,
	.dcc-masthead,
	.dcc-footer {
		padding-left: 16px;
		padding-right: 16px;
	}

	.dcc-masthead__brand .dcc-logo {
		width: 44px;
	}

	.dcc-footer__columns {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.dcc-footer__legal {
		flex-direction: column;
		gap: 12px;
	}

	.dcc-team__grid--assessors {
		grid-template-columns: 1fr;
	}

	.dcc-quotes {
		columns: 1;
	}

	.dcc-pathways__grid,
	.dcc-route__grid,
	.dcc-aboutlinks,
	.dcc-bespoke__subjects {
		grid-template-columns: 1fr;
	}

	.dcc-pathways__head {
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
	}

	/* Each row becomes a card, as the design asks. */
	.dcc-dates__table thead {
		display: none;
	}

	/* The column headings go with the thead, so the chips take over as the
	   way to sort. Same chips as the team and blog filters. */
	.dcc-dates {
		--dcc-dates-body: block;
	}

	.dcc-dates__chips {
		padding: 0 20px 16px;
	}

	/* block, not inline: they are flex items, which blockifies them, and
	   this is putting back exactly what display:none took away. */
	.dcc-dates__chips .dcc-filter__chip {
		display: block;
	}

	/* border-box, or the cells' own 20px of padding is added to a width that
	   is already the full width, and every row comes out exactly 40px wider
	   than the card - which clips, being a watermark candidate, so Meets,
	   Starts and Availability all lost their right-hand end (20 Aug). */
	.dcc-dates__table,
	.dcc-dates__table tbody,
	.dcc-dates__table tr,
	.dcc-dates__table td {
		display: block;
		width: 100%;
		box-sizing: border-box;
	}

	.dcc-dates__table tr {
		border-bottom: 1px solid var(--wp--preset--color--divider);
		padding: 6px 0;
	}

	/* The value drops under its label rather than being cut off by the card,
	   which clips because it is a watermark candidate. Meets, Starts and
	   Availability were all losing their right-hand end (20 Aug). */
	.dcc-dates__table td {
		border-bottom: 0;
		padding: 6px 20px;
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
		gap: 4px 16px;
	}

	.dcc-dates__table td::before {
		content: attr(data-label);
		font-size: 0.688rem;
		letter-spacing: 0.13em;
		text-transform: uppercase;
		color: var(--wp--preset--color--muted);
		font-weight: 600;
		flex: none;
	}

	.dcc-dates__table td:first-child {
		flex-direction: column;
		gap: 2px;
	}

	.dcc-dates__table td:first-child::before {
		display: none;
	}

	.dcc-dates__table .is-right {
		text-align: left;
	}

	.dcc-featuredquote__text {
		font-size: 1.375rem;
	}

	.dcc-tutor {
		flex-direction: column;
		gap: 16px;
	}

	.dcc-tutor__portrait img {
		width: 112px;
		height: 140px;
	}

	/* The ring keeps its proportions but shrinks to fit a phone. */
	.dcc-teamring__ring {
		--dcc-ring-radius: 96px;
		--dcc-ring-face: 58px;

		width: 260px;
		height: 260px;
	}

	.dcc-teamring__track {
		width: 192px;
		height: 192px;
		margin: -96px 0 0 -96px;
	}

	.dcc-teamring__centre {
		width: 118px;
		height: 118px;
		margin: -59px 0 0 -59px;
		font-size: 1rem;
	}
}

/* Motion ------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}

/* Search ------------------------------------------------------------------- */

/* The box sits inside the hero card, so the page opens with the one thing
   somebody arriving here wants. A GET form and nothing else: search has never
   needed a script, and this site does not run one on the front end. */
.dcc-search {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 22px 0 0;
}

.dcc-search__field {
	flex: 1 1 260px;
	min-width: 0;
	box-sizing: border-box;
	background: var(--wp--preset--color--row-tint);
	border: 1px solid var(--wp--preset--color--input-border);
	border-radius: var(--wp--custom--radius--button);
	padding: 13px 15px;
	font: inherit;
	font-size: 0.906rem;
	line-height: 1.4;
	color: var(--wp--preset--color--ink);
}

.dcc-search__field:focus {
	background: var(--wp--preset--color--card);
	border-color: var(--wp--preset--color--teal-text);
}

/* .dcc-button is display:block so that a card can give one a width. Here it
   sits beside the box and wants only the width of its own words. */
.dcc-search__go {
	flex: 0 0 auto;
	width: auto;
	padding-left: 26px;
	padding-right: 26px;
}

.dcc-search__count {
	margin: 18px 0 0;
	font-size: 0.906rem;
	color: var(--wp--preset--color--body);
}

.dcc-search__nudge {
	margin: var(--wp--preset--spacing--30) 0 0;
	max-width: 62ch;
	color: var(--wp--preset--color--body);
}

.dcc-searchgroup {
	margin-top: var(--wp--preset--spacing--50);
}

.dcc-search__more {
	margin: 14px 0 0;
	font-size: 0.875rem;
	color: var(--wp--preset--color--muted);
}

/* A page has no card of its own, so it gets the plainest one there is. */
.dcc-result {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.dcc-result__title {
	margin: 0;
	font-size: var(--wp--preset--font-size--h-3);
	line-height: 1.25;
}

.dcc-result__title a {
	color: var(--wp--preset--color--ink);
	text-decoration: none;
}

.dcc-result__title a:hover {
	text-decoration: underline;
}

.dcc-result__text {
	margin: 0;
	font-size: 0.906rem;
	line-height: 1.55;
	color: var(--wp--preset--color--body);
}

@media (max-width: 600px) {
	.dcc-search__go {
		width: 100%;
	}
}
