/*
 * Reelzy blog design. Loaded by ../reelzy-blog-design.php on top of the
 * Twenty Twenty-Four templates. Tokens and components follow the "Reelzy"
 * design system of the app (src/src/components/Home/rz/Rz.css): Bricolage
 * Grotesque display headings, Onest text, ink surfaces, the orange accent only on
 * the ways to a booking, link blue for links.
 */

/*
 * Bricolage Grotesque 800, optical size 96, Latin only (SIL Open Font
 * License; Google Fonts static cut, 22 kB). Served from here because
 * Cloudflare Fonts answers any Google Fonts request for it with the 77 kB
 * variable font, which the blog index waited for before its first paint
 * (Lighthouse mobile FCP 1.8 s → 2.3 s). Other scripts fall back to Onest.
 */
@font-face {
	font-family: "Bricolage Grotesque";
	font-style: normal;
	font-weight: 800;
	font-display: swap;
	src: url("bricolage-grotesque-800-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/*
 * Local fallbacks sized to the web fonts' metrics (size-adjust from the
 * average glyph width, ascent and descent from the fonts' tables), so text
 * keeps its line breaks when Onest and Bricolage swap in and the cards
 * below do not jump (layout shift).
 */
@font-face {
	font-family: "Onest Fallback";
	font-weight: 100 500;
	src: local("Arial"), local("ArialMT"), local("Arimo"), local("Liberation Sans"), local("Helvetica");
	size-adjust: 104.9%;
	ascent-override: 92.5%;
	descent-override: 29.1%;
	line-gap-override: 0%;
}

@font-face {
	font-family: "Onest Fallback";
	font-weight: 600 900;
	src: local("Arial Bold"), local("Arial-BoldMT"), local("Arimo Bold"), local("Liberation Sans Bold"), local("Helvetica Bold");
	size-adjust: 99.6%;
	ascent-override: 97.4%;
	descent-override: 30.6%;
	line-gap-override: 0%;
}

/* Latin only, like Bricolage itself: Cyrillic headings go on to Onest. */
@font-face {
	font-family: "Bricolage Fallback";
	font-weight: 800;
	src: local("Arial Bold"), local("Arial-BoldMT"), local("Arimo Bold"), local("Liberation Sans Bold"), local("Helvetica Bold");
	size-adjust: 92.9%;
	ascent-override: 100.1%;
	descent-override: 29.1%;
	line-gap-override: 0%;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

body {
	--ink: #090b1e;
	--ink-strong: #2a2e45;
	--ink-muted: #4a4f66;
	--ink-raised: #161a33;
	--ink-line: #2e3352;
	--ink-line-strong: #3a3f5c;
	--on-ink: #ffffff;
	--on-ink-muted: #c4cadc;
	--on-ink-subtle: #a9b0c7;
	--nav-on-ink: #dce1f0;
	--surface: #ffffff;
	--surface-alt: #f3f5f8;
	--surface-tint: #eef2fb;
	--line: #e4e7ef;
	--line-strong: #c9cfdd;
	--accent: #ff6b2c;
	--accent-hover: #ff8650;
	--on-accent: #090b1e;
	--accent-on-ink: #ffb48f;
	--link: #1852d8;
	--link-hover: #0e3a9e;
	/* Bricolage has no Cyrillic: Russian headings take Onest, not the system font. */
	--font-display: "Bricolage Grotesque", "Bricolage Fallback", "Onest", "Onest Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;
	--font-sans: "Onest", "Onest Fallback", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--focus-ring: 0 0 0 2px #ffffff, 0 0 0 4px #1852d8;
	--radius: 18px;
	--gutter: 32px;

	--wp--preset--font-family--body: var(--font-sans);
	--wp--preset--font-family--heading: var(--font-sans);
	--wp--preset--color--base: var(--surface-alt);
	--wp--preset--color--contrast: var(--ink);
	/* About 68 characters of 18 px Onest. */
	--wp--style--global--content-size: 680px;
	--wp--style--global--wide-size: 1216px;
	--wp--style--root--padding-left: var(--gutter);
	--wp--style--root--padding-right: var(--gutter);

	margin: 0;
	background: var(--surface-alt);
	color: var(--ink);
	font-family: var(--font-sans);
	-webkit-font-smoothing: antialiased;
}

/* Articles read on white; lists and archives sit on the light grey like the home "Guides" block. */
body.single {
	--wp--preset--color--base: var(--surface);
	background: var(--surface);
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--font-sans);
	font-weight: 700;
	letter-spacing: -0.01em;
	color: var(--ink);
}

/* Bricolage exists here only as its 800 display cut (see the @font-face above): big headings only, smaller titles use Onest. */
.rz-header__logo,
.rz-hero h1,
h1.wp-block-query-title,
.single h1.wp-block-post-title,
.entry-content h2,
.rz-cta h2,
.wp-block-comments > h2,
.comment-reply-title,
.rz-footer__name {
	font-family: var(--font-display);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
textarea:focus-visible {
	outline: 2px solid transparent;
	box-shadow: var(--focus-ring);
}

/* Buttons */

.rz-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	box-sizing: border-box;
	height: 48px;
	padding: 0 20px;
	border: 0;
	border-radius: 14px;
	font-family: var(--font-sans);
	font-size: 16px;
	font-weight: 700;
	line-height: 1;
	white-space: nowrap;
	text-decoration: none !important;
	cursor: pointer;
	transition: background-color 0.15s ease;
}

.rz-btn--accent,
.rz-btn--accent:visited {
	background: var(--accent);
	color: var(--on-accent) !important;
}

.rz-btn--accent:hover,
.rz-btn--accent:focus {
	background: var(--accent-hover);
	color: var(--on-accent) !important;
}

/* Site header (rz_blog_header) */

.rz-header {
	position: relative;
	z-index: 30;
	background: var(--ink);
	color: var(--on-ink);
}

.rz-header__in {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	box-sizing: border-box;
	max-width: 1280px;
	min-height: 76px;
	margin: 0 auto;
	padding: 12px var(--gutter);
}

.rz-header__brand {
	display: flex;
	align-items: center;
	gap: 14px;
	min-width: 0;
}

.rz-header__logo {
	display: block;
	flex-shrink: 0;
	color: var(--on-ink);
	font-family: var(--font-display);
	font-size: 22px;
	font-weight: 800;
	text-decoration: none;
}

.rz-header__logo img {
	display: block;
	width: 40px;
	height: 40px;
	border-radius: 50%;
}

.rz-header__blog {
	padding: 6px 0 6px 14px;
	border-left: 1px solid var(--ink-line-strong);
	color: var(--on-ink);
	font-size: 20px;
	font-weight: 700;
	letter-spacing: -0.01em;
	text-decoration: none;
}

.rz-header__blog:hover {
	color: var(--accent-on-ink);
}

.rz-header__nav {
	display: flex;
	align-items: center;
	gap: 8px;
}

.rz-header__link {
	padding: 12px 14px;
	border-radius: 12px;
	color: var(--on-ink);
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
}

.rz-header__link:hover {
	background: var(--ink-raised);
	color: var(--on-ink);
}

.rz-header .rz-btn {
	height: 44px;
	margin-left: 6px;
	padding: 0 18px;
	font-size: 15px;
}

/* Language menu */

.rz-lang {
	position: relative;
}

.rz-lang summary {
	display: flex;
	align-items: center;
	gap: 6px;
	height: 44px;
	padding: 0 12px;
	border: 1px solid var(--ink-line-strong);
	border-radius: 12px;
	color: var(--on-ink);
	font-size: 14px;
	font-weight: 600;
	list-style: none;
	cursor: pointer;
	user-select: none;
}

.rz-lang summary::-webkit-details-marker {
	display: none;
}

.rz-lang summary:hover,
.rz-lang[open] summary {
	background: var(--ink-raised);
}

.rz-lang ul {
	position: absolute;
	top: calc(100% + 8px);
	right: 0;
	min-width: 180px;
	margin: 0;
	padding: 6px;
	list-style: none;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: 14px;
	box-shadow: 0 16px 40px rgba(9, 11, 30, 0.18);
}

.rz-lang li {
	margin: 0;
}

.rz-lang a {
	display: block;
	padding: 10px 12px;
	border-radius: 10px;
	color: var(--ink);
	font-size: 15px;
	text-decoration: none;
}

.rz-lang a:hover {
	background: var(--surface-alt);
}

.rz-lang a[aria-current] {
	font-weight: 700;
}

.rz-lang a[aria-current]::after {
	content: "";
	display: inline-block;
	width: 6px;
	height: 6px;
	margin-left: 8px;
	vertical-align: middle;
	border-radius: 50%;
	background: var(--accent);
}

/* Blog index: hero */

.home main > .wp-block-group {
	padding-top: 0 !important;
}

.home main .wp-block-columns {
	display: block;
}

/* Spacer columns and the sidebar, whose search box now sits in the hero. */
.home main .wp-block-columns > .wp-block-column:not(:has(.wp-block-query)) {
	display: none;
}

.rz-hero {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px 48px;
	flex-wrap: wrap;
	padding: 40px 0 56px;
	margin-bottom: 48px;
	background: var(--ink);
	color: var(--on-ink);
	/* Full-bleed band from inside a centred column. */
	box-shadow: 0 0 0 100vmax var(--ink);
	clip-path: inset(0 -100vmax);
}

.rz-hero__text {
	flex: 1 1 520px;
	min-width: 0;
}

.rz-hero h1 {
	margin: 0;
	max-width: 15em;
	color: var(--on-ink);
	font-size: clamp(2.25rem, 1.4rem + 2.6vw, 3.25rem);
	font-weight: 800;
	line-height: 1.06;
	letter-spacing: -0.03em;
}

.rz-hero p {
	margin: 14px 0 0;
	max-width: 36em;
	color: var(--on-ink-muted);
	font-size: 17px;
	line-height: 26px;
}

/* Search: one white field with the button inside, like the home search row. */

.rz-hero .wp-block-search {
	flex: 0 1 400px;
	box-sizing: border-box;
	min-width: 0;
	max-width: 100%;
	margin: 0;
}

.wp-block-search__inside-wrapper {
	gap: 8px;
}

.rz-hero .wp-block-search__inside-wrapper {
	gap: 6px;
	padding: 6px !important;
	border: 0 !important;
	border-radius: 16px;
	background: var(--surface);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.wp-block-search__input {
	min-width: 0;
	box-sizing: border-box;
	height: 48px;
	padding: 0 16px;
	border: 1px solid var(--line-strong);
	border-radius: 12px;
	background: var(--surface);
	color: var(--ink);
	font-family: inherit;
	font-size: 16px !important;
}

.rz-hero .wp-block-search__input {
	height: 44px;
	border: 0;
	padding: 0 12px;
}

.rz-hero .wp-block-search__input:focus-visible {
	box-shadow: none;
}

.rz-hero .wp-block-search__inside-wrapper:focus-within {
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25), 0 0 0 3px var(--link);
}

.wp-block-search__button,
.wp-element-button,
.wp-block-button__link {
	margin: 0;
	border: 0;
	border-radius: 12px;
	padding: 0 20px;
	min-height: 44px;
	background: var(--ink);
	color: var(--on-ink);
	font-family: inherit;
	font-size: 15px !important;
	font-weight: 700;
	cursor: pointer;
	transition: background-color 0.15s ease;
}

.wp-block-search__button:hover,
.wp-element-button:hover,
.wp-block-button__link:hover {
	background: var(--ink-raised);
	color: var(--on-ink);
}

/* Category, tag and search headings */

h1.wp-block-query-title {
	padding-top: 48px !important;
	font-size: clamp(2rem, 1.4rem + 2vw, 2.75rem) !important;
	font-weight: 800;
	line-height: 1.08 !important;
	letter-spacing: -0.025em;
}

/* Post cards: index, archives, search. Same card as the home "Guides" block. */

ul.wp-block-post-template {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}

ul.wp-block-post-template > li.wp-block-post {
	position: relative;
	display: flex;
	flex-direction: column;
	min-width: 0;
	margin: 0;
	overflow: hidden;
	background: var(--surface);
	border-radius: var(--radius);
}

/*
 * The image box keeps its 16:9 height before the photo arrives: the figure
 * gets a definite width (a stretched flex item has none, so its aspect-ratio
 * did not apply) and the image its own ratio, or the first card grew by the
 * photo's height once it loaded and pushed the next card down (CLS 0.14).
 */
li.wp-block-post .wp-block-post-featured-image {
	flex-shrink: 0;
	width: 100%;
	aspect-ratio: 16 / 9;
	margin: 0 !important;
	padding: 0 !important;
	overflow: hidden;
	background: var(--line);
}

li.wp-block-post .wp-block-post-featured-image img {
	display: block;
	width: 100%;
	height: 100%;
	aspect-ratio: 16 / 9 !important;
	object-fit: cover;
	border-radius: 0;
	transition: transform 0.4s ease;
}

li.wp-block-post:hover .wp-block-post-featured-image img {
	transform: scale(1.03);
}

/* Posts without a featured image get an ink panel instead of a gap. */
li.wp-block-post:not(.has-post-thumbnail)::before {
	content: "";
	display: block;
	aspect-ratio: 16 / 9;
	background:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='48' viewBox='0 0 240 48'%3E%3Cpath d='M0 24c30 0 30-14 60-14s30 14 60 14 30-14 60-14 30 14 60 14' fill='none' stroke='%23ffffff' stroke-opacity='.16' stroke-width='2'/%3E%3C/svg%3E") 0 62% / 240px 48px repeat-x,
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='48' viewBox='0 0 240 48'%3E%3Cpath d='M0 24c30 0 30-14 60-14s30 14 60 14 30-14 60-14 30 14 60 14' fill='none' stroke='%23ffffff' stroke-opacity='.09' stroke-width='2'/%3E%3C/svg%3E") 90px 84% / 240px 48px repeat-x,
		linear-gradient(135deg, var(--ink) 0%, var(--ink-raised) 100%);
}

li.wp-block-post > article,
li.wp-block-post > .wp-block-group {
	gap: 0;
	margin: 0 !important;
}

li.wp-block-post .wp-block-post-title {
	margin: 0;
	padding: 8px 20px 0;
	font-family: var(--font-sans);
	font-size: 20px !important;
	font-weight: 600;
	line-height: 25px;
	letter-spacing: -0.01em;
}

li.wp-block-post .wp-block-post-title a {
	color: var(--ink);
	text-decoration: none;
}

/* The whole card opens the post. */
li.wp-block-post .wp-block-post-title a::after {
	content: "";
	position: absolute;
	inset: 0;
}

li.wp-block-post:hover .wp-block-post-title a {
	color: var(--link-hover);
}

.rz-card-meta,
li.wp-block-post .wp-block-template-part .wp-block-group {
	position: relative;
	z-index: 1;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 2px 8px;
	margin: 0;
	padding: 16px 20px 0;
	color: var(--ink-muted);
	font-size: 14px;
	line-height: 20px;
}

li.wp-block-post .wp-block-template-part .wp-block-group .wp-block-group {
	padding: 0;
}

/* Archive cards: keep the date and category, drop "by Author". */
li.wp-block-post .wp-block-template-part p,
li.wp-block-post .wp-block-post-author-name,
li.wp-block-post .wp-block-post-terms__prefix {
	display: none;
}

li.wp-block-post .wp-block-post-date,
li.wp-block-post .wp-block-post-terms {
	font-size: 14px;
}

.rz-card-meta a,
li.wp-block-post .wp-block-post-date a,
li.wp-block-post .wp-block-post-terms a {
	color: inherit;
	text-decoration: none;
}

/* The place a post is about (rz_blog_post_destination), else its category. */
.rz-card-meta .rz-card-place,
.rz-card-meta a,
li.wp-block-post .wp-block-post-terms a {
	color: var(--ink-strong);
	font-weight: 600;
}

/* In the archive template the meta row follows the title. */
li.wp-block-post .wp-block-template-part {
	order: -1;
}

li.wp-block-post .wp-block-post-title + .wp-block-template-part,
li.wp-block-post > .wp-block-group {
	display: flex;
	flex-direction: column;
}

li.wp-block-post .wp-block-post-excerpt {
	margin: 0;
	padding: 8px 20px 20px;
	color: var(--ink-muted) !important;
	font-size: 15px !important;
	line-height: 22px;
}

li.wp-block-post .wp-block-post-excerpt__excerpt {
	display: -webkit-box;
	margin: 0;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	line-clamp: 2;
}

/* Card footer: the boats in that place, above the stretched title link. */
li.wp-block-post > .wp-block-group,
li.wp-block-post > article {
	flex-grow: 1;
}

/* li-qualified: the archive template's flex group resets child margins and aligns them to the start. */
li.wp-block-post .rz-card-boats {
	position: relative;
	z-index: 2;
	display: flex;
	align-self: stretch;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: auto 20px 0;
	padding: 14px 0 18px;
	border-top: 1px solid var(--line);
	color: var(--link);
	font-size: 15px;
	font-weight: 600;
	line-height: 20px;
	text-decoration: none;
}

.rz-card-boats:hover {
	color: var(--link-hover);
}

.rz-card-boats svg {
	flex-shrink: 0;
	transition: transform 0.15s ease;
}

.rz-card-boats:hover svg {
	transform: translateX(3px);
}

li.wp-block-post .wp-block-post-excerpt:has(+ .rz-card-boats) {
	padding-bottom: 16px;
}

li.wp-block-post > .wp-block-spacer,
.wp-block-query .wp-block-spacer {
	display: none;
}

/* Pagination */

.wp-block-query-pagination {
	justify-content: center !important;
	gap: 12px;
	margin-top: 48px;
	padding-bottom: 24px;
}

.wp-block-query-pagination-numbers {
	display: flex;
	gap: 6px;
}

.wp-block-query-pagination .page-numbers,
.wp-block-query-pagination-next,
.wp-block-query-pagination-previous {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	padding: 0 14px;
	box-sizing: border-box;
	border: 1px solid var(--line-strong);
	border-radius: 12px;
	background: var(--surface);
	color: var(--ink);
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
}

.wp-block-query-pagination a:hover {
	border-color: var(--ink);
}

.wp-block-query-pagination .page-numbers.current {
	border-color: var(--ink);
	background: var(--ink);
	color: var(--on-ink);
}

.wp-block-query-pagination .page-numbers.dots {
	border-color: transparent;
	background: none;
}

/* Article */

.single main > .wp-block-group:first-child {
	margin-bottom: 32px !important;
	padding-top: 40px !important;
}

.single .wp-block-post-featured-image {
	margin-bottom: 32px !important;
}

.single .wp-block-post-featured-image img {
	width: 100%;
	height: auto;
	border-radius: var(--radius);
}

.rz-crumbs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0 8px;
	margin: -6px 0 4px;
	color: var(--ink-muted);
	font-size: 14px;
	line-height: 20px;
}

.rz-crumbs a {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 0 6px;
	margin: 0 -6px;
	color: var(--link);
	font-weight: 600;
	text-decoration: none;
}

.rz-crumbs a:hover {
	color: var(--link-hover);
	text-decoration: underline;
}

.single h1.wp-block-post-title {
	margin: 0;
	font-size: clamp(2.125rem, 1.5rem + 2.2vw, 3rem) !important;
	font-weight: 800;
	line-height: 1.08;
	letter-spacing: -0.03em;
}

.rz-post-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 8px;
	margin: 16px 0 0;
	color: var(--ink-muted);
	font-size: 15px;
}

.rz-post-meta span + span::before,
.rz-card-meta span + span::before {
	content: "·";
	margin-right: 8px;
}

.entry-content {
	color: var(--ink-strong);
	font-size: 18px;
	line-height: 1.7;
}

.entry-content > p,
.entry-content > ul,
.entry-content > ol {
	margin-block: 0 1.2em;
}

.entry-content strong {
	color: var(--ink);
	font-weight: 600;
}

/* The first paragraph is the answer: give it the weight of a standfirst. */
.single .entry-content > p:first-child {
	color: var(--ink);
	font-size: 20px;
	line-height: 1.6;
}

.entry-content h2 {
	margin-block: 2em 0.55em;
	font-size: clamp(1.625rem, 1.35rem + 0.9vw, 2rem);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.02em;
	scroll-margin-top: 24px;
}

.entry-content h3 {
	margin-block: 1.6em 0.45em;
	font-size: 1.3125rem;
	line-height: 1.25;
}

.entry-content h4 {
	margin-block: 1.4em 0.4em;
	font-family: var(--font-sans);
	font-size: 1.0625rem;
	font-weight: 700;
	letter-spacing: 0;
}

.entry-content a:not(.wp-element-button):not([class^="heateor"]) {
	color: var(--link);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.entry-content a:not(.wp-element-button):not([class^="heateor"]):hover {
	color: var(--link-hover);
	text-decoration-thickness: 2px;
}

.entry-content ul,
.entry-content ol {
	padding-left: 1.4em;
}

.entry-content li {
	margin-bottom: 0.5em;
}

.entry-content li::marker {
	color: var(--ink-muted);
	font-weight: 600;
}

.entry-content blockquote {
	margin: 1.75em 0;
	padding: 18px 24px;
	border: 0;
	border-left: 4px solid var(--ink);
	border-radius: 0 14px 14px 0;
	background: var(--surface-alt);
	font-style: normal;
}

.entry-content blockquote p:last-child {
	margin-bottom: 0;
}

.entry-content img {
	height: auto;
	border-radius: 14px;
}

.entry-content figure {
	margin-block: 1.75em;
}

.entry-content figcaption,
.entry-content .wp-element-caption {
	margin: 10px 0 0;
	color: var(--ink-muted);
	font-size: 14px;
	line-height: 20px;
	text-align: left;
}

.entry-content .wp-block-embed iframe {
	border-radius: 14px;
}

.entry-content hr {
	margin-block: 2.25em;
	border: 0;
	border-top: 1px solid var(--line);
}

.entry-content code {
	padding: 2px 6px;
	border-radius: 6px;
	background: var(--surface-tint);
	font-size: 0.9em;
}

/* Cover credit at the foot of a post. */
.entry-content .rz-photo-credit {
	margin-top: 2em;
	color: var(--ink-muted);
	font-size: 13px !important;
	line-height: 1.5;
	opacity: 1 !important;
}

.entry-content .rz-photo-credit a {
	color: inherit !important;
}

/* Rank Math table of contents */
.entry-content .wp-block-rank-math-toc-block {
	margin-block: 1.75em;
	padding: 20px 24px;
	border-radius: 14px;
	background: var(--surface-alt);
	font-size: 16px;
	line-height: 1.5;
}

.entry-content .wp-block-rank-math-toc-block h2 {
	margin: 0 0 8px;
	font-family: var(--font-sans);
	font-size: 18px;
	font-weight: 600;
}

.entry-content .wp-block-rank-math-toc-block ul,
.entry-content .wp-block-rank-math-toc-block ol {
	margin: 0;
}

.entry-content .wp-block-rank-math-toc-block li {
	margin-bottom: 0.3em;
}

/* Tables scroll inside their own box on a phone instead of squeezing. */
.entry-content .wp-block-table {
	margin-block: 1.75em;
	overflow-x: auto;
	border: 1px solid var(--line);
	border-radius: 14px;
	background: var(--surface);
	-webkit-overflow-scrolling: touch;
}

.entry-content table {
	width: 100%;
	min-width: 520px;
	border-collapse: collapse;
	font-size: 15px;
	line-height: 1.5;
	font-variant-numeric: tabular-nums;
}

.entry-content .wp-block-table th,
.entry-content .wp-block-table td,
.entry-content table th,
.entry-content table td {
	padding: 12px 16px;
	border: 0;
	border-bottom: 1px solid var(--line);
	text-align: left;
	vertical-align: top;
}

.entry-content .wp-block-table thead,
.entry-content table thead {
	border: 0;
}

.entry-content table th {
	background: var(--surface-alt);
	color: var(--ink);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.02em;
	white-space: nowrap;
}

.entry-content table tbody tr:last-child td {
	border-bottom: 0;
}

.entry-content table td:first-child {
	color: var(--ink);
	font-weight: 600;
}

.entry-content .wp-block-table figcaption {
	margin: 0;
	padding: 10px 16px;
	border-top: 1px solid var(--line);
}

/* Share buttons */

.heateor_sss_sharing_container {
	margin-top: 2.25em;
	padding-top: 1.5em;
	border-top: 1px solid var(--line);
}

.heateor_sss_sharing_title {
	margin-bottom: 10px;
	color: var(--ink-muted);
	font-size: 14px;
	font-weight: 600 !important;
}

.heateor_sss_sharing_ul a {
	margin-right: 6px;
}

/* The plugin draws 35 px icons inline; 40 px is the tap target floor on a phone. */
.heateor_sss_sharing_ul a .heateor_sss_svg {
	width: 40px !important;
	height: 40px !important;
}

/* Call to action under the article: the closing band of the home page, as a card. */

.rz-cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px 32px;
	flex-wrap: wrap;
	box-sizing: border-box;
	max-width: var(--wp--style--global--content-size);
	margin: 48px auto 0;
	padding: 32px;
	border-radius: var(--radius);
	background: var(--ink);
	color: var(--on-ink);
}

.rz-cta__text {
	flex: 1 1 300px;
}

.rz-cta .rz-cta__place {
	margin: 0 0 6px;
	color: var(--accent-on-ink);
	font-size: 14px;
	font-weight: 700;
	line-height: 20px;
}

.rz-cta h2 {
	margin: 0;
	color: var(--on-ink);
	font-size: 26px;
	font-weight: 800;
	line-height: 30px;
	letter-spacing: -0.02em;
}

.rz-cta p {
	margin: 8px 0 0;
	color: var(--on-ink-muted);
	font-size: 16px;
	line-height: 24px;
}

.rz-cta .rz-cta__button {
	flex: none;
	height: 52px;
	padding: 0 24px;
	font-size: 16px;
}

.rz-cta-wrap {
	margin-bottom: 40px;
	padding-inline: var(--wp--style--root--padding-right, var(--gutter));
}

/* Tags */

.wp-block-post-terms.is-style-pill {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.wp-block-post-terms.is-style-pill .wp-block-post-terms__separator {
	display: none;
}

.wp-block-post-terms.is-style-pill a {
	display: inline-flex;
	align-items: center;
	box-sizing: border-box;
	min-height: 40px;
	margin: 0;
	padding: 8px 14px;
	border: 1px solid var(--line-strong);
	border-radius: 999px;
	background: var(--surface);
	color: var(--ink-strong);
	font-size: 14px;
	font-weight: 500;
	text-decoration: none;
}

.wp-block-post-terms.is-style-pill a:hover {
	border-color: var(--ink);
	color: var(--ink);
}

/* Comments */

.single .wp-block-separator {
	border: 0;
	border-top: 1px solid var(--line);
	background: none !important;
}

.wp-block-comments > h2,
.comment-reply-title {
	font-size: 24px;
	font-weight: 800;
	letter-spacing: -0.02em;
}

.comment-form label {
	display: block;
	margin-bottom: 6px;
	color: var(--ink-muted);
	font-size: 14px;
}

.comment-form textarea,
.comment-form input:not([type="submit"]):not([type="checkbox"]) {
	box-sizing: border-box;
	width: 100%;
	padding: 12px 14px;
	border: 1px solid var(--line-strong);
	border-radius: 12px;
	background: var(--surface);
	color: var(--ink);
	font-family: inherit;
	font-size: 16px;
}

.comment-form textarea {
	min-height: 140px;
}

.comment-form .wp-element-button {
	height: 48px;
}

.logged-in-as,
.comment-notes {
	color: var(--ink-muted);
	font-size: 14px;
}

/* Previous and next post */

.single nav[aria-label="Posts"] {
	align-items: stretch !important;
	gap: 16px;
	flex-wrap: wrap !important;
}

.wp-block-post-navigation-link {
	position: relative;
	flex: 1 1 260px;
	box-sizing: border-box;
	padding: 18px 20px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--surface);
	transition: border-color 0.15s ease;
}

.wp-block-post-navigation-link:hover {
	border-color: var(--ink);
}

.wp-block-post-navigation-link:empty {
	display: none;
}

.wp-block-post-navigation-link a {
	color: var(--ink);
	font-size: 18px;
	font-weight: 600;
	line-height: 1.3;
	text-decoration: none;
}

.wp-block-post-navigation-link a::after {
	content: "";
	position: absolute;
	inset: 0;
}

.post-navigation-link__label {
	display: block;
	margin-bottom: 4px;
	color: var(--ink-muted);
	font-family: var(--font-sans);
	font-size: 14px;
	font-weight: 500;
}

.wp-block-post-navigation-link [class*="__arrow"] {
	display: none;
}

.post-navigation-link-next {
	text-align: right;
}

/* Footer */

.rz-footer {
	margin-top: 80px;
	padding: 56px var(--gutter) 28px;
	background: var(--ink);
	color: var(--on-ink-muted);
	font-size: 15px;
}

.rz-footer__inner {
	display: flex;
	justify-content: space-between;
	gap: 32px 56px;
	flex-wrap: wrap;
	max-width: 1216px;
	margin: 0 auto;
}

.rz-footer__brand {
	flex: 1 1 280px;
	max-width: 380px;
}

.rz-footer__name {
	margin: 0;
	color: var(--on-ink);
	font-family: var(--font-display);
	font-size: 28px;
	font-weight: 800;
	letter-spacing: -0.02em;
}

.rz-footer__brand p + p {
	margin: 8px 0 22px;
	line-height: 1.55;
}

.rz-footer__links {
	display: flex;
	gap: 24px 64px;
	flex-wrap: wrap;
}

.rz-footer__links ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.rz-footer__links li {
	margin: 0;
}

/* 40 px tall tap targets. */
.rz-footer__links a {
	display: inline-block;
	padding: 10px 0;
	color: var(--nav-on-ink);
	text-decoration: none;
}

.rz-footer__links a:hover {
	color: var(--on-ink);
	text-decoration: underline;
}

.rz-footer__legal {
	max-width: 1216px;
	margin: 40px auto 0;
	padding-top: 20px;
	border-top: 1px solid var(--ink-line);
	color: var(--on-ink-subtle);
	font-size: 13px;
}

@media (max-width: 1000px) {
	ul.wp-block-post-template {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 20px;
	}
}

@media (max-width: 760px) {
	.rz-header__link {
		display: none;
	}
}

@media (max-width: 640px) {
	body {
		--gutter: 16px;
	}

	.rz-header__in {
		min-height: 64px;
		padding-top: 10px;
		padding-bottom: 10px;
		gap: 10px;
	}

	.rz-header__brand {
		gap: 10px;
	}

	.rz-header__logo img {
		width: 36px;
		height: 36px;
	}

	.rz-header__blog {
		padding-left: 10px;
		font-size: 18px;
	}

	.rz-header__nav {
		gap: 6px;
	}

	.rz-lang summary {
		padding: 0 10px;
	}

	.rz-lang summary span {
		display: none;
	}

	.rz-header .rz-btn {
		margin-left: 0;
		padding: 0 14px;
		font-size: 14px;
	}

	ul.wp-block-post-template {
		grid-template-columns: minmax(0, 1fr);
		gap: 16px;
	}

	.rz-hero {
		padding: 28px 0 32px;
		margin-bottom: 24px;
	}

	.rz-hero p {
		font-size: 15px;
		line-height: 22px;
	}

	.rz-hero .wp-block-search {
		flex-basis: 100%;
	}

	h1.wp-block-query-title {
		padding-top: 32px !important;
	}

	.single main > .wp-block-group:first-child {
		padding-top: 20px !important;
		margin-bottom: 24px !important;
	}

	.single .wp-block-post-featured-image {
		margin-bottom: 22px !important;
	}

	.single .wp-block-post-featured-image img {
		border-radius: 14px;
	}

	.entry-content {
		font-size: 17px;
	}

	.single .entry-content > p:first-child {
		font-size: 18px;
	}

	.rz-cta {
		padding: 24px 20px;
	}

	.rz-cta .rz-cta__button {
		width: 100%;
	}

	.post-navigation-link-next {
		text-align: left;
	}

	.rz-footer {
		margin-top: 48px;
		padding-top: 40px;
	}
}

@media (max-width: 350px) {
	.rz-header__blog {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	li.wp-block-post .wp-block-post-featured-image img,
	.rz-card-boats svg {
		transition: none;
	}

	li.wp-block-post:hover .wp-block-post-featured-image img {
		transform: none;
	}
}
