/*
 * Cruise Journal: the landing (Figma 271:3 / 271:4) and the article page
 * (271:5 / 271:6). One stylesheet, one `co-ed` block: the landing and the
 * article share the eyebrow, headings, buttons, related-sailing cards and the
 * advisor invitation. Loaded on /journal/ (any topic or page) and on every
 * single post. The sailing card itself (`.co-sail-card`) lives in
 * components.css and is shared with the cruise-line and ship profiles.
 *
 * 1440 design: 80 px side margins, 1280 inner. Breakpoints 1279 / 1023 / 767.
 */

.co-ed {
	--co-ed-gutter: 80px;
	color: var(--wp--preset--color--blue);
}

/* ---------------------------------------------------------------- */
/* Shared type                                                       */
/* ---------------------------------------------------------------- */

.co-ed__eyebrow {
	margin: 0 0 0.75rem;
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: var(--wp--custom--letter-spacing--eyebrow);
	text-transform: uppercase;
	color: var(--wp--preset--color--gold-text);
}

.co-ed__eyebrow--champagne { color: var(--wp--preset--color--champagne); }

.co-ed__kicker {
	margin: 0 0 0.75rem;
	font-size: var(--wp--preset--font-size--caption);
	font-weight: 600;
	letter-spacing: var(--wp--custom--letter-spacing--eyebrow);
	text-transform: uppercase;
	color: var(--wp--preset--color--gold-text);
}

.co-ed__kicker a { color: inherit; text-decoration: none; }
.co-ed__kicker a:hover { text-decoration: underline; }
.co-ed__kicker-sep { margin: 0 0.375rem; }

.co-ed__title {
	margin: 0;
	font-family: var(--wp--preset--font-family--fraunces);
	font-variation-settings: var(--wp--custom--font-variation--fraunces);
	font-size: var(--wp--preset--font-size--display); /* 62px */
	line-height: 1.06;
	text-wrap: balance;
}

.co-ed__h2 {
	margin: 0 0 1.25rem;
	font-family: var(--wp--preset--font-family--fraunces);
	font-variation-settings: var(--wp--custom--font-variation--fraunces);
	font-size: 2.75rem; /* 44px */
	line-height: 1.1;
	color: inherit;
	text-wrap: balance;
}

.co-ed__h2 a { color: inherit; text-decoration: none; }
.co-ed__h2 a:hover { text-decoration: underline; text-decoration-color: var(--wp--preset--color--champagne); }

.co-ed__lead {
	margin: 1.75rem 0 0;
	max-width: 34rem;
	font-size: 1.1875rem;
	line-height: 1.5;
	color: #dce7ef; /* frame-own: lead on the dark hero */
}

.co-ed__body-text {
	margin: 0;
	max-width: 30rem;
	font-size: 1.0625rem;
	line-height: var(--wp--custom--line-height--body);
	color: var(--wp--preset--color--muted);
}

.co-ed__note {
	margin: 0;
	max-width: 33rem;
	font-size: var(--wp--preset--font-size--caption);
	line-height: var(--wp--custom--line-height--body);
	color: var(--wp--preset--color--muted);
	text-align: right;
}

.co-ed__fine {
	margin: 1.5rem 0 0;
	max-width: 70rem;
	font-size: var(--wp--preset--font-size--caption);
	line-height: var(--wp--custom--line-height--prose);
	color: var(--wp--preset--color--muted);
}

.co-ed__more { display: flex; flex-wrap: wrap; gap: 1.5rem; margin: 1.75rem 0 0; }

.co-ed__link {
	font-size: 0.9375rem;
	font-weight: 500;
	color: var(--wp--preset--color--blue);
	text-decoration-color: var(--wp--preset--color--champagne);
}

.co-ed__caption {
	margin: 0.625rem 0 0;
	font-size: var(--wp--preset--font-size--eyebrow);
	line-height: var(--wp--custom--line-height--body);
	color: var(--wp--preset--color--muted);
}

/* A supplier credit beside the hero caption; on its own line under it. */
.co-ed__credit { display: block; }

/* Buttons: soft champagne pill (272:31, 273:62), blue text. */
.co-ed__button {
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 3rem;
	padding: 0.75rem 1.625rem;
	border-radius: var(--wp--custom--radius--pill);
	background: var(--wp--custom--state--notice--attention-bg);
	color: var(--wp--preset--color--gold-text);
	font-size: 0.875rem;
	font-weight: 600;
	text-decoration: none;
	transition: background-color 120ms ease, color 120ms ease;
}

.co-ed__button:hover { background: var(--wp--preset--color--champagne); color: var(--wp--preset--color--blue); }
.co-ed__button:focus-visible { outline: var(--wp--custom--state--button--focus-ring); outline-offset: 2px; }
.co-ed__button--soft { min-height: 3.25rem; padding-inline: 2rem; }

.co-ed__section {
	box-sizing: border-box;
	padding: 3.75rem var(--co-ed-gutter) 4rem;
	background: var(--wp--preset--color--surface);
}

.co-ed__section--tint { background: var(--wp--custom--state--notice--attention-bg); }

.co-ed__section-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 2rem;
	margin-bottom: 2rem;
}

.co-ed__section-head .co-ed__h2 { margin-bottom: 0; }

/* ---------------------------------------------------------------- */
/* Landing hero (272:7)                                              */
/* ---------------------------------------------------------------- */

.co-ed__hero {
	background: var(--wp--preset--color--blue);
	color: #fff;
}

.co-ed__hero-inner {
	box-sizing: border-box;
	display: grid;
	grid-template-columns: minmax(0, 1fr) 600px;
	gap: 4rem;
	align-items: center;
	padding: 3.125rem var(--co-ed-gutter) 3.125rem;
}

.co-ed__hero-copy { max-width: 38rem; }
.co-ed__hero-copy .co-ed__eyebrow { margin-bottom: 1.5rem; }
.co-ed__hero .co-ed__title { color: #fff; }

.co-ed__hero-media {
	position: relative;
	margin: 0;
}

.co-ed__hero-img {
	display: block;
	width: 100%;
	height: 500px;
	object-fit: cover;
	border-radius: 18px;
}

.co-ed__hero-caption {
	position: absolute;
	right: 1.875rem;
	bottom: 1.375rem;
	left: 1.875rem;
	box-sizing: border-box;
	padding: 1.125rem 1.625rem;
	border-radius: 12px;
	background: var(--wp--preset--color--field);
	font-size: var(--wp--preset--font-size--caption);
	font-weight: 600;
	letter-spacing: var(--wp--custom--letter-spacing--eyebrow);
	text-transform: uppercase;
	color: var(--wp--preset--color--gold-text);
}

/* ---------------------------------------------------------------- */
/* Topic chips (272:15)                                              */
/* ---------------------------------------------------------------- */

.co-ed__section--topics { padding-block: 2.5rem 0; }

.co-ed__topics {
	box-sizing: border-box;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1.25rem 2.75rem;
	padding: 2rem;
	background: var(--wp--preset--color--field);
	border-radius: 18px;
}

.co-ed__topics-title {
	margin: 0;
	font-family: var(--wp--preset--font-family--fraunces);
	font-variation-settings: var(--wp--custom--font-variation--fraunces);
	font-size: 1.1875rem;
	line-height: 1.1;
}

.co-ed__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.875rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.co-ed__chip {
	display: inline-flex;
	align-items: center;
	min-height: 2.875rem;
	padding: 0 1.3125rem;
	border-radius: var(--wp--custom--radius--pill);
	background: var(--wp--preset--color--surface);
	color: var(--wp--preset--color--blue);
	font-size: 0.8125rem;
	font-weight: 600;
	text-decoration: none;
	transition: background-color 120ms ease, color 120ms ease;
}

.co-ed__chip:hover { background: var(--wp--preset--color--surface-2); }
.co-ed__chip.is-current { background: var(--wp--preset--color--blue); color: #fff; }
.co-ed__chip:focus-visible { outline: var(--wp--custom--state--button--focus-ring); outline-offset: 2px; }

/* ---------------------------------------------------------------- */
/* Empty state                                                       */
/* ---------------------------------------------------------------- */

.co-ed__empty .co-ed__body-text { max-width: 38rem; margin-bottom: 0.5rem; }

/* ---------------------------------------------------------------- */
/* Featured story (272:25)                                           */
/* ---------------------------------------------------------------- */

.co-ed__featured-title { max-width: 40rem; margin-bottom: 2.5rem; font-size: 2.875rem; }

.co-ed__featured-grid {
	display: grid;
	grid-template-columns: 700px minmax(0, 1fr);
	gap: 3.75rem;
	align-items: start;
}

.co-ed__featured-grid--text { grid-template-columns: minmax(0, 1fr); }

.co-ed__featured-media { display: block; }
.co-ed__featured-img { display: block; width: 100%; height: 500px; object-fit: cover; border-radius: 18px; }

.co-ed__featured-copy { padding-top: 1.875rem; }

.co-ed__featured-dek {
	margin: 0 0 1.25rem;
	font-family: var(--wp--preset--font-family--fraunces);
	font-variation-settings: var(--wp--custom--font-variation--fraunces);
	font-size: 2.5rem;
	line-height: 1.12;
	text-wrap: balance;
}

.co-ed__featured-excerpt {
	margin: 0 0 2.25rem;
	font-size: 1.125rem;
	line-height: 1.5;
	color: var(--wp--preset--color--muted);
}

/* ---------------------------------------------------------------- */
/* Latest grid (273:2)                                               */
/* ---------------------------------------------------------------- */

.co-ed__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 2.5rem;
	margin: 1rem 0 0;
	padding: 0;
	list-style: none;
}

.co-ed__card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background: var(--wp--preset--color--field);
	border-radius: 18px;
}

.co-ed__card-media { display: block; }
.co-ed__card-img { display: block; width: 100%; height: 230px; object-fit: cover; }

.co-ed__card-body { padding: 1.75rem 1.5rem 2rem; }

.co-ed__card-title {
	margin: 0 0 1rem;
	font-family: var(--wp--preset--font-family--fraunces);
	font-variation-settings: var(--wp--custom--font-variation--fraunces);
	font-size: 1.6875rem;
	line-height: 1.15;
}

.co-ed__card-title a { color: var(--wp--preset--color--blue); text-decoration: none; }
.co-ed__card-title a:hover { text-decoration: underline; text-decoration-color: var(--wp--preset--color--champagne); }

.co-ed__card-excerpt {
	margin: 0;
	font-size: 0.9375rem;
	line-height: var(--wp--custom--line-height--body);
	color: var(--wp--preset--color--muted);
}

.co-ed__pager {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-top: 2.5rem;
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--muted);
}

/* ---------------------------------------------------------------- */
/* Practical planning (273:19)                                       */
/* ---------------------------------------------------------------- */

.co-ed__guides-grid {
	display: grid;
	grid-template-columns: minmax(0, 490px) minmax(0, 1fr);
	gap: 4rem;
	align-items: start;
}

.co-ed__guides-copy .co-ed__h2 { font-size: 2.6875rem; }

.co-ed__guide-rows {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.875rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.co-ed__guide {
	box-sizing: border-box;
	display: grid;
	grid-template-columns: 2rem minmax(0, 1fr);
	gap: 1rem;
	min-height: 7.875rem;
	padding: 1.375rem;
	background: var(--wp--preset--color--field);
	border-radius: 14px;
}

/* Gold text rather than the frame's champagne: the number sits on a white card and must reach 4.5:1. */
.co-ed__guide-num {
	font-size: var(--wp--preset--font-size--caption);
	font-weight: 600;
	color: var(--wp--preset--color--gold-text);
}

.co-ed__guide-body { display: flex; flex-direction: column; gap: 0.75rem; }

.co-ed__guide-title {
	margin: 0;
	font-family: var(--wp--preset--font-family--fraunces);
	font-variation-settings: var(--wp--custom--font-variation--fraunces);
	font-size: 1.125rem;
	line-height: 1.25;
}

.co-ed__guide-title a { color: var(--wp--preset--color--blue); text-decoration: none; }
.co-ed__guide-title a:hover { text-decoration: underline; text-decoration-color: var(--wp--preset--color--champagne); }

.co-ed__guide-link {
	margin-top: auto;
	font-size: var(--wp--preset--font-size--caption);
	font-weight: 600;
	color: var(--wp--preset--color--gold-text);
	text-decoration: none;
}

/* ---------------------------------------------------------------- */
/* Related sailings (273:39, 277:22)                                 */
/* ---------------------------------------------------------------- */

.co-ed__sail-cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 2.5rem;
	align-items: start;
	margin: 0;
	padding: 0;
	list-style: none;
}

/* ---------------------------------------------------------------- */
/* Advisor invitation (273:57, 277:40)                               */
/* ---------------------------------------------------------------- */

.co-ed__advisor-wrap { padding-top: 1rem; }

.co-ed__advisor {
	box-sizing: border-box;
	display: grid;
	grid-template-columns: 272px minmax(0, 1fr) auto;
	gap: 3.5rem;
	align-items: center;
	padding: 2.75rem 3.4375rem 2.75rem 2rem;
	background: var(--wp--preset--color--blue);
	color: #fff;
	border-radius: 22px;
}

.co-ed__portrait { display: block; width: 272px; height: 272px; object-fit: cover; border-radius: 18px; }

.co-ed__advisor-copy .co-ed__eyebrow { margin-bottom: 1rem; }
.co-ed__advisor-title { margin-bottom: 1.25rem; font-size: 2.5rem; }
.co-ed__advisor-copy p:last-child { margin: 0; max-width: 40rem; font-size: 1.0625rem; line-height: 1.45; color: #dce7ef; }
.co-ed__advisor :focus-visible { outline: var(--wp--custom--state--button--focus-ring-on-dark); }

/* ---------------------------------------------------------------- */
/* Article hero (276:7)                                              */
/* ---------------------------------------------------------------- */

.co-ed__ahero {
	box-sizing: border-box;
	display: grid;
	grid-template-columns: minmax(0, 1fr) 600px;
	gap: 4rem;
	align-items: center;
	padding: 3.125rem var(--co-ed-gutter) 3.125rem;
	background: var(--wp--preset--color--field);
}

.co-ed__ahero--text { grid-template-columns: minmax(0, 1fr); }
.co-ed__ahero-copy { max-width: 37.5rem; }
.co-ed__ahero-kicker { margin-bottom: 2.75rem; }
.co-ed__atitle { font-size: 3.875rem; line-height: 1.08; }

.co-ed__dek {
	margin: 2rem 0 0;
	font-size: 1.25rem;
	line-height: 1.5;
	color: var(--wp--preset--color--muted);
}

.co-ed__byline {
	margin: 2.5rem 0 0;
	font-size: var(--wp--preset--font-size--caption);
	font-weight: 500;
	color: var(--wp--preset--color--gold-text);
}

.co-ed__ahero-media { margin: 0; }
.co-ed__ahero-img { display: block; width: 100%; height: 700px; object-fit: cover; border-radius: 20px; }

/* ---------------------------------------------------------------- */
/* At a glance (276:14)                                              */
/* ---------------------------------------------------------------- */

.co-ed__glance-wrap { padding-bottom: 0; }

.co-ed__glance {
	box-sizing: border-box;
	display: grid;
	grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
	gap: 4rem;
	align-items: start;
	padding: 2.75rem 2.5rem 2.75rem 2rem;
	background: var(--wp--custom--state--notice--attention-bg);
	border-radius: 20px;
}

.co-ed__glance-copy .co-ed__h2 { font-size: 2.25rem; }

.co-ed__facts {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.5rem 3.75rem;
	margin: 0;
}

.co-ed__fact {
	box-sizing: border-box;
	min-height: 8.125rem;
	padding: 1.375rem;
	background: var(--wp--preset--color--field);
	border-radius: 14px;
}

.co-ed__fact-label {
	margin: 0 0 0.75rem;
	font-size: var(--wp--preset--font-size--eyebrow);
	font-weight: 600;
	letter-spacing: var(--wp--custom--letter-spacing--eyebrow);
	text-transform: uppercase;
	color: var(--wp--preset--color--gold-text);
}

.co-ed__fact-value {
	margin: 0;
	font-family: var(--wp--preset--font-family--fraunces);
	font-variation-settings: var(--wp--custom--font-variation--fraunces);
	font-size: 1rem;
	line-height: 1.28;
}

/* ---------------------------------------------------------------- */
/* Story column and the questions panel (277:2, 277:5)               */
/* ---------------------------------------------------------------- */

.co-ed__body {
	box-sizing: border-box;
	display: grid;
	grid-template-columns: minmax(0, 720px) 320px;
	justify-content: space-between;
	gap: 5rem;
	padding: 4.5rem calc(var(--co-ed-gutter) + 0px) 0 calc(var(--co-ed-gutter) + 160px);
	align-items: start;
}

.co-ed__body--solo { grid-template-columns: minmax(0, 720px); }
.co-ed__body--rest { padding-top: 0.5rem; }

/* The story's own prose overrides the generic .co-prose measure and colour. */
.co-ed__content.co-prose { max-width: none; }
.co-ed__content.co-prose > p,
.co-ed__content.co-prose > ul,
.co-ed__content.co-prose > ol { font-size: 1.125rem; line-height: 1.65; color: var(--wp--preset--color--muted); }
.co-ed__content.co-prose > p:first-child { font-size: 1.25rem; line-height: 1.6; }
.co-ed__content.co-prose > h2 { margin: 2.75rem 0 1.25rem; font-size: 2.375rem; line-height: 1.12; }
.co-ed__content.co-prose > h3 { margin: 2rem 0 0.875rem; font-size: 1.625rem; line-height: 1.2; }
/* Rank Math's FAQ block (11 stories carry one). Its answers sit inside the block's own wrappers, so the child selectors above never
   reached them and they fell back to 16px with no space between items. Answers read as body paragraphs, questions as the story's h3,
   and one paragraph's space closes each item whether or not the answer is wrapped in a <p> (SEO audit C7). */
.co-ed__content.co-prose .rank-math-answer,
.co-ed__content.co-prose .rank-math-answer p,
.co-ed__content.co-prose .rank-math-answer ul,
.co-ed__content.co-prose .rank-math-answer ol { font-size: 1.125rem; line-height: 1.65; color: var(--wp--preset--color--muted); }
.co-ed__content.co-prose .rank-math-question { margin: 2rem 0 0.875rem; font-size: 1.625rem; line-height: 1.2; }
.co-ed__content.co-prose .rank-math-list-item,
.co-ed__content.co-prose .rank-math-faq-item { margin: 0 0 var(--wp--preset--spacing--30); }
.co-ed__content.co-prose .rank-math-answer > :last-child { margin-bottom: 0; }
.co-ed__content.co-prose figure { margin: 2.5rem 0; }
.co-ed__content.co-prose img { border-radius: 18px; }
.co-ed__content.co-prose figcaption { margin-top: 0.625rem; font-size: var(--wp--preset--font-size--eyebrow); color: var(--wp--preset--color--muted); }
.co-ed__content.co-prose > .wp-block-image img { width: 100%; height: auto; }
.co-ed__content.co-prose strong { color: var(--wp--preset--color--blue); font-weight: 600; }
.co-ed__content.co-prose > ol { padding-left: 1.25em; }
.co-ed__content.co-prose li { margin: 0 0 0.5rem; }

/* Imported stories (Importer) bring tables, quotes and separators. */
.co-ed__content.co-prose > .wp-block-table { margin: 2.5rem 0; overflow-x: auto; }
.co-ed__content.co-prose table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; line-height: 1.5; color: var(--wp--preset--color--blue); }
.co-ed__content.co-prose th,
.co-ed__content.co-prose td { padding: 0.75rem 0.875rem; text-align: left; vertical-align: top; border-bottom: var(--wp--custom--border--hairline); }
.co-ed__content.co-prose thead th { font-family: var(--wp--preset--font-family--inter); font-size: var(--wp--preset--font-size--eyebrow); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--wp--preset--color--gold-text); background: var(--wp--preset--color--surface-2); }
.co-ed__content.co-prose > .wp-block-quote { margin: 2.5rem 0; padding: 0.25rem 0 0.25rem 1.5rem; border-left: 3px solid var(--wp--preset--color--champagne); }
.co-ed__content.co-prose > .wp-block-quote p { margin: 0 0 0.75rem; font-family: var(--wp--preset--font-family--fraunces); font-variation-settings: var(--wp--custom--font-variation--fraunces); font-size: 1.5rem; line-height: 1.35; color: var(--wp--preset--color--blue); }
.co-ed__content.co-prose > .wp-block-quote cite { font-size: var(--wp--preset--font-size--small); font-style: normal; color: var(--wp--preset--color--muted); }
.co-ed__content.co-prose > .wp-block-separator { width: 4rem; height: 0; margin: 2.75rem 0; border: 0; border-top: 2px solid var(--wp--preset--color--champagne); opacity: 1; }
.co-ed__content.co-prose > .wp-block-buttons { margin: 2.25rem 0 0.5rem; }

.co-ed__aside {
	position: sticky;
	top: 1.5rem;
	box-sizing: border-box;
	padding: 2rem 1.625rem 2.25rem;
	background: var(--wp--preset--color--field);
	border-radius: 18px;
}

.co-ed__aside .co-ed__eyebrow { font-size: var(--wp--preset--font-size--eyebrow); line-height: 1.1; }

.co-ed__aside-title {
	margin: 0 0 1.75rem;
	font-family: var(--wp--preset--font-family--fraunces);
	font-variation-settings: var(--wp--custom--font-variation--fraunces);
	font-size: 1.5625rem;
	line-height: 1.2;
}

.co-ed__questions {
	display: flex;
	flex-direction: column;
	gap: 1.375rem;
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: co-q;
}

.co-ed__questions li {
	display: grid;
	grid-template-columns: 2rem minmax(0, 1fr);
	gap: 0.5rem;
	font-size: 0.8125rem;
	font-weight: 500;
	line-height: var(--wp--custom--line-height--body);
	color: var(--wp--preset--color--muted);
	counter-increment: co-q;
}

.co-ed__questions li::before {
	content: counter(co-q, decimal-leading-zero);
	font-weight: 600;
	color: var(--wp--preset--color--gold-text);
}

/* ---------------------------------------------------------------- */
/* Pull quote (277:12)                                               */
/* ---------------------------------------------------------------- */

.co-ed__pullquote {
	position: relative;
	box-sizing: border-box;
	margin: 4.5rem calc(var(--co-ed-gutter) + 80px) 3rem;
	padding: 3.5rem 6.25rem 3rem 8.75rem;
	background: var(--wp--preset--color--blue);
	color: #fff;
	border-radius: 20px;
}

.co-ed__pullquote-mark {
	position: absolute;
	top: 0.5rem;
	left: 3.125rem;
	font-family: var(--wp--preset--font-family--fraunces);
	font-variation-settings: var(--wp--custom--font-variation--fraunces);
	font-size: 4.625rem;
	line-height: 1;
	color: var(--wp--preset--color--champagne);
}

.co-ed__pullquote-text { margin: 0 0 1.5rem; }

.co-ed__pullquote-text p {
	margin: 0;
	font-family: var(--wp--preset--font-family--fraunces);
	font-variation-settings: var(--wp--custom--font-variation--fraunces);
	font-size: 2.375rem;
	line-height: 1.25;
	text-wrap: balance;
}

.co-ed__pullquote .co-ed__eyebrow { margin: 0; font-size: var(--wp--preset--font-size--eyebrow); }

/* ---------------------------------------------------------------- */
/* Author box (from the WP user profile)                             */
/* ---------------------------------------------------------------- */

.co-ed__author-wrap { padding-block: 3rem 1rem; }

.co-ed__author {
	box-sizing: border-box;
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: 2rem;
	align-items: center;
	max-width: 56rem;
	margin: 0 0 0 160px;
	padding: 2rem 2.25rem;
	background: var(--wp--preset--color--field);
	border: var(--wp--custom--border--hairline);
	border-radius: 18px;
}

.co-ed__author-portrait { display: block; width: 9rem; height: 9rem; object-fit: cover; border-radius: 14px; }

.co-ed__author-name {
	margin: 0 0 0.75rem;
	font-family: var(--wp--preset--font-family--fraunces);
	font-variation-settings: var(--wp--custom--font-variation--fraunces);
	font-size: 1.75rem;
	line-height: 1.15;
}

.co-ed__author-bio { margin: 0; font-size: 1rem; line-height: var(--wp--custom--line-height--prose); color: var(--wp--preset--color--muted); }

/* ---------------------------------------------------------------- */
/* Intermediate and mobile (271:4, 271:6)                            */
/* ---------------------------------------------------------------- */

@media (max-width: 1279px) {
	.co-ed { --co-ed-gutter: var(--wp--custom--gutter--desktop); }
	.co-ed__hero-inner,
	.co-ed__ahero { grid-template-columns: minmax(0, 1fr) minmax(0, 46%); gap: 3rem; }
	.co-ed__hero-img { height: 420px; }
	.co-ed__ahero-img { height: 560px; }
	.co-ed__featured-grid { grid-template-columns: minmax(0, 55%) minmax(0, 1fr); gap: 2.5rem; }
	.co-ed__featured-img { height: 420px; }
	.co-ed__body { padding-left: var(--co-ed-gutter); gap: 3rem; }
	.co-ed__pullquote { margin-inline: var(--co-ed-gutter); padding: 3rem 3rem 2.5rem 7rem; }
	.co-ed__author { margin-left: 0; }
}

@media (max-width: 1023px) {
	.co-ed { --co-ed-gutter: var(--wp--custom--gutter--tablet); }
	.co-ed__title { font-size: 3rem; }
	.co-ed__atitle { font-size: 2.75rem; }
	.co-ed__h2 { font-size: 2.25rem; }
	.co-ed__hero-inner,
	.co-ed__ahero { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
	.co-ed__hero-img { height: 340px; }
	.co-ed__ahero-img { height: 440px; }
	.co-ed__featured-grid { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
	.co-ed__featured-copy { padding-top: 0; }
	.co-ed__featured-dek { font-size: 2rem; }
	.co-ed__grid,
	.co-ed__sail-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
	.co-ed__guides-grid { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
	.co-ed__glance { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; padding: 2rem 1.5rem; }
	.co-ed__body { grid-template-columns: minmax(0, 1fr); padding-top: 3rem; gap: 2.5rem; }
	.co-ed__aside { position: static; }
	.co-ed__section-head { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
	.co-ed__note { text-align: left; }
	.co-ed__advisor { grid-template-columns: 200px minmax(0, 1fr); gap: 2rem; padding: 2rem; }
	.co-ed__portrait { width: 200px; height: 200px; }
	.co-ed__advisor .co-ed__button { grid-column: 1 / -1; justify-self: start; }
}

@media (max-width: 767px) {
	.co-ed { --co-ed-gutter: var(--wp--custom--gutter--mobile); }
	.co-ed__section { padding: 2.75rem var(--co-ed-gutter) 3rem; }
	.co-ed__title { font-size: 2.5rem; line-height: 1.08; }
	.co-ed__atitle { font-size: 2.5rem; }
	.co-ed__h2 { font-size: 2.125rem; }
	.co-ed__hero-inner { padding: 2.75rem var(--co-ed-gutter) 2.5rem; }
	.co-ed__hero-copy .co-ed__eyebrow { margin-bottom: 1.125rem; }
	.co-ed__lead { margin-top: 1.25rem; font-size: 1rem; }
	.co-ed__hero-img { height: 240px; border-radius: 16px; }
	.co-ed__hero-caption { position: static; margin-top: 0.875rem; padding: 0; background: none; color: var(--wp--preset--color--champagne); font-size: var(--wp--preset--font-size--eyebrow); }
	.co-ed__topics { flex-direction: column; align-items: flex-start; gap: 1rem; padding: 1.5rem 1.25rem; border-radius: 16px; }
	.co-ed__topics-title { font-size: 1.375rem; }
	.co-ed__chip { min-height: 2.75rem; font-size: var(--wp--preset--font-size--caption); }
	.co-ed__featured-title { font-size: 2.25rem; margin-bottom: 1.5rem; }
	.co-ed__featured-img { height: 238px; border-radius: 16px; }
	.co-ed__featured-dek { font-size: 1.875rem; }
	.co-ed__featured-excerpt { font-size: 0.9375rem; margin-bottom: 1.5rem; }
	.co-ed__grid,
	.co-ed__sail-cards,
	.co-ed__guide-rows,
	.co-ed__facts { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
	.co-ed__card { border-radius: 16px; }
	.co-ed__card-img { height: 190px; }
	.co-ed__card-body { padding: 1.5rem 1.25rem 1.75rem; }
	.co-ed__card-title { font-size: 1.5625rem; }
	.co-ed__guides-copy .co-ed__h2 { font-size: 2.0625rem; }
	.co-ed__guide { min-height: 0; padding: 1.125rem; gap: 0.75rem; }
	.co-ed__guide-title { font-size: 1rem; }
	.co-ed__guide-link { display: none; }
	.co-ed__ahero { padding: 2.5rem var(--co-ed-gutter) 2.5rem; }
	.co-ed__ahero-kicker { margin-bottom: 1.75rem; }
	.co-ed__dek { margin-top: 1.25rem; font-size: 1.0625rem; }
	.co-ed__byline { margin-top: 1.5rem; }
	.co-ed__ahero-img { height: 500px; border-radius: 18px; }
	.co-ed__glance { padding: 1.75rem 1.25rem; border-radius: 18px; }
	.co-ed__glance-copy .co-ed__h2 { font-size: 1.9375rem; }
	.co-ed__fact { min-height: 0; padding: 1.125rem 1.25rem; }
	.co-ed__body { padding-top: 2.5rem; }
	.co-ed__content.co-prose > p,
	.co-ed__content.co-prose > ul,
	.co-ed__content.co-prose > ol,
	.co-ed__content.co-prose .rank-math-answer,
	.co-ed__content.co-prose .rank-math-answer p,
	.co-ed__content.co-prose .rank-math-answer ul,
	.co-ed__content.co-prose .rank-math-answer ol { font-size: 0.9375rem; }
	.co-ed__content.co-prose > p:first-child { font-size: 1rem; }
	.co-ed__content.co-prose > h2 { font-size: 1.8125rem; }
	.co-ed__pullquote { margin: 2.75rem var(--co-ed-gutter) 1.5rem; padding: 4.5rem 1.5rem 2rem; border-radius: 18px; }
	.co-ed__pullquote-mark { top: 0.375rem; left: 1.5rem; font-size: 4.25rem; }
	.co-ed__pullquote-text p { font-size: 1.8125rem; line-height: 1.28; }
	.co-ed__author { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; padding: 1.5rem 1.25rem; }
	.co-ed__author-portrait { width: 6rem; height: 6rem; }
	.co-ed__advisor { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; padding: 1.75rem 1.5rem; border-radius: 18px; }
	.co-ed__portrait { width: 100%; height: 180px; border-radius: 14px; }
	.co-ed__advisor-title { font-size: 1.75rem; }
	.co-ed__advisor-copy p:last-child { font-size: 0.875rem; }
	.co-ed__pager { flex-wrap: wrap; }
}

@media (max-width: 767px) {
	.co-ed__content.co-prose table { font-size: 0.8125rem; }
	.co-ed__content.co-prose th,
	.co-ed__content.co-prose td { padding: 0.5rem 0.625rem; }
	.co-ed__content.co-prose > .wp-block-quote p { font-size: 1.25rem; }
}

/* ---------------------------------------------------------------- */
/* Related sailings: a compact Widget on the story's region (7.3)    */
/* ---------------------------------------------------------------- */

.co-ed__sailings .co-ed__h2 { margin-bottom: 1.5rem; }

/* ---------------------------------------------------------------- */
/* Where this leads (SEO plan, Phase 2): the guides, lines and        */
/* sailings with perks a story points to.                             */
/* ---------------------------------------------------------------- */

.co-ed__related .co-ed__h2 { margin-bottom: 1.5rem; }

.co-ed__related-list {
	margin: 0;
	padding: 0;
	list-style: none;
	max-width: 52rem;
	border-top: var(--wp--custom--border--hairline);
}

.co-ed__related-item {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 0.25rem 1.5rem;
	padding: 1rem 0;
	border-bottom: var(--wp--custom--border--hairline);
}

.co-ed__related-link {
	font-family: var(--wp--preset--font-family--fraunces);
	font-variation-settings: var(--wp--custom--font-variation--fraunces);
	font-size: 1.375rem;
	line-height: 1.25;
	color: var(--wp--preset--color--blue);
	text-decoration: none;
}

.co-ed__related-link:hover { text-decoration: underline; text-underline-offset: 0.2em; }
.co-ed__related-link:focus-visible { outline: var(--wp--custom--state--button--focus-ring); outline-offset: 2px; }

.co-ed__related-kind {
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--muted);
	white-space: nowrap;
}
