/*
 * Count On That Modern Blog
 * Frontend styles are scoped so the active theme header and footer remain intact.
 */

.cot-modern-blog-template {
	--cot-red: #a92b2d;
	--cot-red-dark: #781b1d;
	--cot-ink: #171717;
	--cot-gray: #6d6d72;
	--cot-gray-brand: #8c8c90;
	--cot-line: #dedee0;
	--cot-paper: #ffffff;
	--cot-warm: #f5f3f1;
	--cot-soft-red: #f8eeee;
	--cot-display: var(--e-global-typography-primary-font-family, "Helvetica Neue", Helvetica, Arial, sans-serif);
	--cot-body: var(--e-global-typography-text-font-family, "Helvetica Neue", Helvetica, Arial, sans-serif);
	--cot-radius: 18px;
	--cot-shadow: 0 24px 70px rgba(23, 23, 23, 0.11);
	background: var(--cot-paper);
	color: var(--cot-ink);
}

.cot-modern-blog-template .cot-article-page,
.cot-modern-blog-template .cot-article-page * {
	box-sizing: border-box;
}

.cot-modern-blog-template .cot-article-page {
	background: var(--cot-paper);
	font-family: var(--cot-body);
	overflow: clip;
}

.cot-modern-blog-template .cot-shell {
	margin-inline: auto;
	max-width: 1080px;
	padding-inline: 24px;
	width: 100%;
}

.cot-modern-blog-template .cot-shell--wide {
	max-width: 1280px;
}

.cot-reading-progress {
	background: rgba(140, 140, 144, 0.18);
	block-size: 4px;
	inset: 0 0 auto;
	position: fixed;
	z-index: 99999;
}

.cot-reading-progress__bar {
	background: var(--cot-red, #a92b2d);
	display: block;
	height: 100%;
	transform: scaleX(0);
	transform-origin: left center;
	will-change: transform;
}

/* The 120px minimum clearance keeps the title below Count On That®'s fixed header. */
.cot-modern-blog-template .cot-article-hero {
	background:
		radial-gradient(circle at 88% 10%, rgba(169, 43, 45, 0.1), transparent 28rem),
		linear-gradient(180deg, #fbfaf9 0%, var(--cot-warm) 100%);
	border-bottom: 1px solid var(--cot-line);
	padding-block: clamp(120px, 12vw, 170px) clamp(64px, 8vw, 104px);
	position: relative;
}

.cot-modern-blog-template .cot-article-hero::after {
	background: var(--cot-red);
	bottom: -1px;
	content: "";
	height: 4px;
	left: max(24px, calc((100vw - 1080px) / 2 + 24px));
	position: absolute;
	width: 76px;
}

.cot-modern-blog-template .cot-article-hero .cot-shell {
	max-width: 1280px;
}

.cot-modern-blog-template .cot-breadcrumbs {
	align-items: center;
	color: var(--cot-gray);
	display: flex;
	flex-wrap: wrap;
	font-size: 0.78rem;
	font-weight: 650;
	gap: 9px;
	letter-spacing: 0.08em;
	margin-bottom: clamp(32px, 5vw, 58px);
	text-transform: uppercase;
}

.cot-modern-blog-template .cot-breadcrumbs a {
	color: inherit;
	text-decoration: none;
}

.cot-modern-blog-template .cot-breadcrumbs a:hover {
	color: var(--cot-red);
}

.cot-modern-blog-template .cot-article-kicker {
	align-items: center;
	color: var(--cot-red);
	display: inline-flex;
	font-size: 0.8rem;
	font-weight: 800;
	gap: 10px;
	letter-spacing: 0.13em;
	margin-bottom: 22px;
	text-decoration: none;
	text-transform: uppercase;
}

.cot-modern-blog-template .cot-article-kicker::before {
	background: currentColor;
	content: "";
	height: 2px;
	width: 28px;
}

.cot-modern-blog-template .cot-article-title {
	color: var(--cot-ink);
	font-family: var(--cot-display);
	font-size: clamp(2.65rem, 6.4vw, 5.5rem);
	font-weight: 780;
	letter-spacing: -0.055em;
	line-height: 0.99;
	margin: 0;
	max-width: none;
	overflow-wrap: break-word;
	text-wrap: balance;
	width: 100%;
}

.cot-modern-blog-template .cot-article-deck {
	color: #515156;
	font-size: clamp(1.1rem, 1.8vw, 1.35rem);
	line-height: 1.55;
	margin-top: 30px;
	max-width: 760px;
}

.cot-modern-blog-template .cot-article-deck p {
	margin: 0;
}

.cot-modern-blog-template .cot-article-meta {
	align-items: center;
	color: var(--cot-gray);
	display: flex;
	flex-wrap: wrap;
	font-size: 0.9rem;
	gap: 18px;
	margin-top: clamp(40px, 6vw, 64px);
}

.cot-modern-blog-template .cot-article-meta__item {
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.cot-modern-blog-template .cot-article-meta__author {
	align-items: center;
	color: var(--cot-ink);
	flex-direction: row;
	gap: 12px;
}

.cot-modern-blog-template .cot-author-avatar {
	border: 2px solid var(--cot-paper);
	border-radius: 50%;
	box-shadow: 0 0 0 1px var(--cot-line);
	height: 48px;
	object-fit: cover;
	width: 48px;
}

.cot-modern-blog-template .cot-meta-label {
	color: var(--cot-gray-brand);
	font-size: 0.68rem;
	font-weight: 750;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.cot-modern-blog-template .cot-article-meta__divider {
	background: var(--cot-line);
	height: 34px;
	width: 1px;
}

.cot-modern-blog-template .cot-featured-media {
	margin-block: clamp(-42px, -4vw, -24px) clamp(68px, 9vw, 116px);
	position: relative;
	z-index: 2;
}

.cot-modern-blog-template .cot-featured-media__image {
	aspect-ratio: 16 / 8.2;
	border-radius: var(--cot-radius);
	box-shadow: var(--cot-shadow);
	display: block;
	height: auto;
	object-fit: cover;
	width: 100%;
}

.cot-modern-blog-template .cot-featured-media figcaption {
	color: var(--cot-gray);
	font-size: 0.82rem;
	line-height: 1.5;
	margin: 14px auto 0;
	max-width: 780px;
	text-align: center;
}

.cot-modern-blog-template .cot-article-body {
	margin: clamp(68px, 9vw, 116px) auto;
	max-width: 1280px;
	padding-inline: 24px;
	position: relative;
}

.cot-modern-blog-template .cot-featured-media + .cot-article-body {
	margin-top: 0;
}

.cot-modern-blog-template .cot-article-column {
	margin-inline: auto;
	max-width: 780px;
}

.cot-modern-blog-template .cot-share-bar {
	align-items: center;
	display: flex;
	flex-direction: column;
	gap: 10px;
	left: 24px;
	position: absolute;
	top: 0;
}

.cot-modern-blog-template .cot-share-bar__label {
	color: var(--cot-gray);
	font-size: 0.7rem;
	font-weight: 750;
	letter-spacing: 0.1em;
	margin-bottom: 4px;
	text-transform: uppercase;
	writing-mode: vertical-rl;
}

.cot-modern-blog-template .cot-share-button {
	align-items: center;
	appearance: none;
	background: var(--cot-paper);
	border: 1px solid var(--cot-line);
	border-radius: 50%;
	color: var(--cot-ink);
	cursor: pointer;
	display: inline-flex;
	height: 44px;
	justify-content: center;
	padding: 0;
	position: relative;
	text-decoration: none;
	transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
	width: 44px;
}

.cot-modern-blog-template .cot-share-button:hover,
.cot-modern-blog-template .cot-share-button:focus-visible,
.cot-modern-blog-template .cot-share-button.is-copied {
	background: var(--cot-red);
	border-color: var(--cot-red);
	color: #fff;
	transform: translateY(-2px);
}

.cot-modern-blog-template .cot-share-button svg {
	fill: currentColor;
	height: 18px;
	width: 18px;
}

.cot-modern-blog-template .cot-copy-status {
	background: var(--cot-ink);
	border-radius: 4px;
	color: #fff;
	font-size: 0.72rem;
	left: calc(100% + 8px);
	opacity: 0;
	padding: 5px 7px;
	pointer-events: none;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	transition: opacity 150ms ease;
}

.cot-modern-blog-template .cot-copy-link.is-copied .cot-copy-status {
	opacity: 1;
}

.cot-modern-blog-template .cot-table-of-contents {
	align-items: flex-start;
	background: var(--cot-warm);
	border: 1px solid var(--cot-line);
	border-radius: 14px;
	display: grid;
	gap: 28px;
	grid-template-columns: minmax(145px, 0.7fr) minmax(0, 1.7fr);
	margin-bottom: clamp(52px, 7vw, 80px);
	padding: clamp(24px, 4vw, 38px);
}

.cot-modern-blog-template .cot-table-of-contents[hidden] {
	display: none;
}

.cot-modern-blog-template .cot-toc-eyebrow,
.cot-modern-blog-template .cot-cta-eyebrow,
.cot-modern-blog-template .cot-section-heading > span {
	color: var(--cot-red);
	display: block;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	margin-bottom: 8px;
	text-transform: uppercase;
}

.cot-modern-blog-template .cot-table-of-contents h2 {
	color: var(--cot-ink);
	font-family: var(--cot-display);
	font-size: 1.45rem;
	letter-spacing: -0.025em;
	line-height: 1.15;
	margin: 0;
}

.cot-modern-blog-template .cot-toc-list {
	column-count: 2;
	column-gap: 30px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.cot-modern-blog-template .cot-toc-list li {
	break-inside: avoid;
	margin: 0 0 10px;
}

.cot-modern-blog-template .cot-toc-list .is-subheading {
	padding-left: 14px;
}

.cot-modern-blog-template .cot-toc-list a {
	color: #454549;
	font-size: 0.88rem;
	font-weight: 600;
	line-height: 1.4;
	text-decoration: none;
}

.cot-modern-blog-template .cot-toc-list a:hover {
	color: var(--cot-red);
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* Gutenberg content foundation. */
.cot-modern-blog-template .cot-entry-content {
	color: #343438;
	font-size: clamp(1.075rem, 1.5vw, 1.18rem);
	line-height: 1.78;
	overflow-wrap: anywhere;
}

.cot-modern-blog-template .cot-entry-content > * {
	margin-block: 0 1.55em;
}

.cot-modern-blog-template .cot-entry-content > :first-child {
	margin-top: 0;
}

.cot-modern-blog-template .cot-entry-content > :last-child {
	margin-bottom: 0;
}

.cot-modern-blog-template .cot-entry-content h2,
.cot-modern-blog-template .cot-entry-content h3,
.cot-modern-blog-template .cot-entry-content h4,
.cot-modern-blog-template .cot-entry-content h5,
.cot-modern-blog-template .cot-entry-content h6 {
	color: var(--cot-ink);
	font-family: var(--cot-display);
	font-weight: 760;
	letter-spacing: -0.035em;
	line-height: 1.15;
	scroll-margin-top: 130px;
	text-wrap: balance;
}

.cot-modern-blog-template .cot-entry-content h2 {
	font-size: clamp(2rem, 4vw, 3rem);
	margin-block: 2.1em 0.7em;
}

.cot-modern-blog-template .cot-entry-content h3 {
	font-size: clamp(1.55rem, 3vw, 2.05rem);
	margin-block: 1.75em 0.65em;
}

.cot-modern-blog-template .cot-entry-content h4 {
	font-size: 1.35rem;
	margin-block: 1.5em 0.55em;
}

.cot-modern-blog-template .cot-entry-content h5 {
	font-size: 1.12rem;
	margin-block: 1.4em 0.5em;
}

.cot-modern-blog-template .cot-entry-content h6 {
	font-size: 0.9rem;
	letter-spacing: 0.08em;
	margin-block: 1.4em 0.5em;
	text-transform: uppercase;
}

.cot-modern-blog-template .cot-entry-content p,
.cot-modern-blog-template .cot-entry-content ul,
.cot-modern-blog-template .cot-entry-content ol {
	margin-top: 0;
}

.cot-modern-blog-template .cot-entry-content a:not(.wp-element-button) {
	color: var(--cot-red-dark);
	font-weight: 650;
	text-decoration-color: rgba(169, 43, 45, 0.45);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}

.cot-modern-blog-template .cot-entry-content a:not(.wp-element-button):hover {
	color: var(--cot-red);
	text-decoration-color: currentColor;
}

.cot-modern-blog-template .cot-entry-content strong {
	color: var(--cot-ink);
	font-weight: 750;
}

.cot-modern-blog-template .cot-entry-content ul,
.cot-modern-blog-template .cot-entry-content ol {
	padding-left: 1.35em;
}

.cot-modern-blog-template .cot-entry-content li {
	margin-bottom: 0.45em;
	padding-left: 0.25em;
}

.cot-modern-blog-template .cot-entry-content li::marker {
	color: var(--cot-red);
	font-weight: 750;
}

.cot-modern-blog-template .cot-entry-content hr,
.cot-modern-blog-template .cot-entry-content .wp-block-separator {
	border: 0;
	border-top: 1px solid var(--cot-line);
	margin-block: clamp(48px, 8vw, 78px);
}

.cot-modern-blog-template .cot-entry-content .wp-block-separator.is-style-dots {
	border: 0;
	color: var(--cot-red);
	letter-spacing: 0.75em;
	text-align: center;
}

.cot-modern-blog-template .cot-entry-content figure {
	margin-inline: 0;
}

.cot-modern-blog-template .cot-entry-content img {
	border-radius: 12px;
	height: auto;
	max-width: 100%;
}

.cot-modern-blog-template .cot-entry-content figcaption,
.cot-modern-blog-template .cot-entry-content .wp-element-caption {
	color: var(--cot-gray);
	font-size: 0.78em;
	line-height: 1.5;
	margin-top: 10px;
	text-align: center;
}

.cot-modern-blog-template .cot-entry-content .wp-block-image,
.cot-modern-blog-template .cot-entry-content .wp-block-video,
.cot-modern-blog-template .cot-entry-content .wp-block-audio,
.cot-modern-blog-template .cot-entry-content .wp-block-embed,
.cot-modern-blog-template .cot-entry-content .wp-block-gallery,
.cot-modern-blog-template .cot-entry-content .wp-block-cover,
.cot-modern-blog-template .cot-entry-content .wp-block-media-text {
	margin-block: clamp(34px, 6vw, 58px);
}

.cot-modern-blog-template .cot-entry-content .wp-block-embed__wrapper,
.cot-modern-blog-template .cot-entry-content .wp-block-video video {
	border-radius: 12px;
	overflow: hidden;
}

.cot-modern-blog-template .cot-entry-content .wp-has-aspect-ratio iframe {
	height: 100%;
	width: 100%;
}

.cot-modern-blog-template .cot-entry-content .wp-block-gallery {
	gap: 14px;
}

.cot-modern-blog-template .cot-entry-content .wp-block-gallery img {
	border-radius: 10px;
}

.cot-modern-blog-template .cot-entry-content .wp-block-cover {
	border-radius: var(--cot-radius);
	overflow: hidden;
}

.cot-modern-blog-template .cot-entry-content blockquote,
.cot-modern-blog-template .cot-entry-content .wp-block-quote {
	border: 0;
	border-left: 5px solid var(--cot-red);
	color: var(--cot-ink);
	font-family: var(--cot-display);
	font-size: clamp(1.35rem, 3vw, 2rem);
	font-weight: 650;
	letter-spacing: -0.025em;
	line-height: 1.45;
	margin-block: clamp(44px, 7vw, 72px);
	padding: 8px 0 8px clamp(24px, 4vw, 42px);
}

.cot-modern-blog-template .cot-entry-content .wp-block-quote p {
	font-size: inherit;
	line-height: inherit;
	margin-bottom: 0.7em;
}

.cot-modern-blog-template .cot-entry-content blockquote cite,
.cot-modern-blog-template .cot-entry-content .wp-block-quote cite {
	color: var(--cot-gray);
	font-family: var(--cot-body);
	font-size: 0.78rem;
	font-style: normal;
	font-weight: 750;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.cot-modern-blog-template .cot-entry-content .wp-block-pullquote {
	border-bottom: 1px solid var(--cot-red);
	border-top: 1px solid var(--cot-red);
	color: var(--cot-ink);
	margin-block: clamp(54px, 8vw, 88px);
	padding-block: 2.4em;
	text-align: left;
}

.cot-modern-blog-template .cot-entry-content .wp-block-pullquote blockquote {
	border: 0;
	margin: 0;
	padding: 0;
}

.cot-modern-blog-template .cot-entry-content .wp-block-pullquote p {
	font-size: clamp(1.7rem, 4vw, 2.8rem);
	line-height: 1.25;
}

.cot-modern-blog-template .cot-entry-content .wp-block-button__link,
.cot-modern-blog-template .cot-entry-content .wp-element-button {
	background: var(--cot-red);
	border: 2px solid var(--cot-red);
	border-radius: 5px;
	color: #fff;
	font-family: var(--cot-body);
	font-size: 0.82rem;
	font-weight: 750;
	letter-spacing: 0.02em;
	padding: 0.9rem 1.3rem;
	text-decoration: none;
	transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.cot-modern-blog-template .cot-entry-content .wp-block-button__link:hover,
.cot-modern-blog-template .cot-entry-content .wp-element-button:hover {
	background: var(--cot-ink);
	border-color: var(--cot-ink);
	color: #fff;
	transform: translateY(-2px);
}

.cot-modern-blog-template .cot-entry-content .wp-block-button.is-style-outline .wp-block-button__link {
	background: transparent;
	color: var(--cot-red);
}

.cot-modern-blog-template .cot-entry-content .wp-block-button.is-style-cot-arrow .wp-block-button__link::after {
	content: " →";
}

.cot-modern-blog-template .cot-entry-content .wp-block-buttons {
	gap: 12px;
	margin-block: 30px;
}

.cot-modern-blog-template .cot-entry-content .wp-block-columns {
	gap: clamp(24px, 4vw, 48px);
	margin-block: clamp(38px, 6vw, 64px);
}

.cot-modern-blog-template .cot-entry-content .wp-block-column > :last-child {
	margin-bottom: 0;
}

.cot-modern-blog-template .cot-entry-content .wp-block-media-text {
	gap: clamp(24px, 4vw, 50px);
}

.cot-modern-blog-template .cot-entry-content .wp-block-media-text__content {
	padding: 0;
}

.cot-modern-blog-template .cot-entry-content .wp-block-group.has-background,
.cot-modern-blog-template .cot-entry-content .wp-block-group.is-style-cot-card {
	border-radius: var(--cot-radius);
	padding: clamp(26px, 5vw, 48px);
}

.cot-modern-blog-template .cot-entry-content .wp-block-group.is-style-cot-card {
	background: var(--cot-warm);
	border: 1px solid var(--cot-line);
	box-shadow: 0 14px 44px rgba(23, 23, 23, 0.06);
}

.cot-modern-blog-template .cot-entry-content .wp-block-group > :last-child {
	margin-bottom: 0;
}

.cot-modern-blog-template .cot-entry-content .wp-block-table {
	overflow-x: auto;
}

.cot-modern-blog-template .cot-entry-content table {
	border-collapse: collapse;
	font-size: 0.92em;
	line-height: 1.55;
	width: 100%;
}

.cot-modern-blog-template .cot-entry-content th {
	background: var(--cot-ink);
	color: #fff;
	font-weight: 750;
	text-align: left;
}

.cot-modern-blog-template .cot-entry-content th,
.cot-modern-blog-template .cot-entry-content td {
	border: 1px solid var(--cot-line);
	padding: 14px 16px;
}

.cot-modern-blog-template .cot-entry-content .is-style-stripes tbody tr:nth-child(odd) {
	background: var(--cot-warm);
}

.cot-modern-blog-template .cot-entry-content pre,
.cot-modern-blog-template .cot-entry-content .wp-block-code,
.cot-modern-blog-template .cot-entry-content .wp-block-preformatted {
	background: #202024;
	border: 0;
	border-radius: 10px;
	color: #f8f8f8;
	font-size: 0.86rem;
	line-height: 1.65;
	overflow-x: auto;
	padding: 22px 24px;
	white-space: pre;
}

.cot-modern-blog-template .cot-entry-content code {
	background: var(--cot-soft-red);
	border-radius: 4px;
	color: var(--cot-red-dark);
	font-size: 0.88em;
	padding: 0.16em 0.36em;
}

.cot-modern-blog-template .cot-entry-content pre code,
.cot-modern-blog-template .cot-entry-content .wp-block-code code {
	background: transparent;
	color: inherit;
	padding: 0;
}

.cot-modern-blog-template .cot-entry-content .wp-block-verse {
	border-left: 3px solid var(--cot-line);
	font-family: Georgia, serif;
	font-size: 1.05em;
	font-style: italic;
	padding-left: 24px;
}

.cot-modern-blog-template .cot-entry-content .wp-block-details {
	border-bottom: 1px solid var(--cot-line);
	border-top: 1px solid var(--cot-line);
	padding-block: 18px;
}

.cot-modern-blog-template .cot-entry-content .wp-block-details summary {
	color: var(--cot-ink);
	cursor: pointer;
	font-weight: 750;
}

.cot-modern-blog-template .cot-entry-content .wp-block-file {
	align-items: center;
	background: var(--cot-warm);
	border-radius: 10px;
	display: flex;
	gap: 16px;
	justify-content: space-between;
	padding: 18px;
}

.cot-modern-blog-template .cot-entry-content .wp-block-file__button {
	background: var(--cot-red);
	border-radius: 4px;
	color: #fff;
	flex: 0 0 auto;
	font-size: 0.78rem;
	font-weight: 750;
	padding: 9px 12px;
}

.cot-modern-blog-template .cot-entry-content .wp-block-search__input,
.cot-modern-blog-template .cot-entry-content input,
.cot-modern-blog-template .cot-entry-content select,
.cot-modern-blog-template .cot-entry-content textarea {
	border: 1px solid var(--cot-line);
	border-radius: 5px;
	color: var(--cot-ink);
	font: inherit;
	min-height: 46px;
	padding: 10px 12px;
}

.cot-modern-blog-template .cot-entry-content .wp-block-search__button {
	background: var(--cot-red);
	border: 0;
	border-radius: 5px;
	color: #fff;
	font-weight: 750;
	padding: 10px 18px;
}

.cot-modern-blog-template .cot-entry-content .wp-block-calendar table caption,
.cot-modern-blog-template .cot-entry-content .wp-block-calendar nav {
	color: var(--cot-gray);
	font-size: 0.82rem;
	margin-block: 10px;
}

.cot-modern-blog-template .cot-entry-content .wp-block-social-links {
	padding-left: 0;
}

.cot-modern-blog-template .cot-entry-content .wp-block-social-links li {
	padding-left: 0;
}

.cot-modern-blog-template .cot-entry-content .wp-block-latest-posts,
.cot-modern-blog-template .cot-entry-content .wp-block-archives,
.cot-modern-blog-template .cot-entry-content .wp-block-categories,
.cot-modern-blog-template .cot-entry-content .wp-block-page-list {
	list-style: none;
	padding-left: 0;
}

.cot-modern-blog-template .cot-entry-content .wp-block-latest-posts li,
.cot-modern-blog-template .cot-entry-content .wp-block-archives li,
.cot-modern-blog-template .cot-entry-content .wp-block-categories li,
.cot-modern-blog-template .cot-entry-content .wp-block-page-list li {
	border-bottom: 1px solid var(--cot-line);
	padding-block: 10px;
}

.cot-modern-blog-template .cot-entry-content .wp-block-tag-cloud a {
	border: 1px solid var(--cot-line);
	border-radius: 999px;
	display: inline-block;
	font-size: 0.78rem !important;
	margin: 3px;
	padding: 7px 11px;
	text-decoration: none;
}

.cot-modern-blog-template .cot-entry-content .wp-block-navigation {
	font-size: 0.9rem;
}

.cot-modern-blog-template .cot-entry-content .wp-block-post-template {
	list-style: none;
	padding-left: 0;
}

.cot-modern-blog-template .cot-entry-content .wp-block-post-template > li {
	border-bottom: 1px solid var(--cot-line);
	padding-block: 24px;
}

.cot-modern-blog-template .cot-entry-content .wp-block-avatar img {
	border-radius: 50%;
}

.cot-modern-blog-template .cot-entry-content .wp-block-rss,
.cot-modern-blog-template .cot-entry-content .wp-block-post-comments-form {
	padding-left: 0;
}

.cot-modern-blog-template .cot-entry-content > .alignwide {
	left: 50%;
	max-width: none;
	position: relative;
	transform: translateX(-50%);
	width: min(1120px, calc(100vw - 48px));
}

.cot-modern-blog-template .cot-entry-content > .alignfull {
	left: 50%;
	max-width: none;
	position: relative;
	transform: translateX(-50%);
	width: min(1440px, calc(100vw - 24px));
}

.cot-modern-blog-template .cot-entry-content .alignleft {
	float: left;
	margin: 0.4em 1.5em 1em 0;
	max-width: 45%;
}

.cot-modern-blog-template .cot-entry-content .alignright {
	float: right;
	margin: 0.4em 0 1em 1.5em;
	max-width: 45%;
}

.cot-modern-blog-template .cot-entry-content .aligncenter {
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

.cot-modern-blog-template .cot-page-links {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 52px;
}

.cot-modern-blog-template .cot-page-links > * {
	align-items: center;
	border: 1px solid var(--cot-line);
	border-radius: 4px;
	display: inline-flex;
	height: 38px;
	justify-content: center;
	min-width: 38px;
	padding-inline: 8px;
}

.cot-modern-blog-template .cot-article-tags {
	align-items: center;
	border-top: 1px solid var(--cot-line);
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
	margin-top: clamp(52px, 7vw, 82px);
	padding-top: 28px;
}

.cot-modern-blog-template .cot-article-tags span {
	color: var(--cot-gray);
	font-size: 0.72rem;
	font-weight: 750;
	letter-spacing: 0.08em;
	margin-right: 4px;
	text-transform: uppercase;
}

.cot-modern-blog-template .cot-article-tags a {
	border: 1px solid var(--cot-line);
	border-radius: 999px;
	color: var(--cot-ink);
	font-size: 0.78rem;
	font-weight: 650;
	padding: 7px 11px;
	text-decoration: none;
}

.cot-modern-blog-template .cot-article-tags a:hover {
	border-color: var(--cot-red);
	color: var(--cot-red);
}

.cot-modern-blog-template .cot-article-cta {
	background: var(--cot-ink);
	color: #fff;
	padding-block: clamp(58px, 9vw, 92px);
}

.cot-modern-blog-template .cot-article-cta__inner {
	align-items: center;
	display: flex;
	gap: 56px;
	justify-content: space-between;
}

.cot-modern-blog-template .cot-article-cta h2 {
	color: #fff;
	font-family: var(--cot-display);
	font-size: clamp(2.15rem, 5vw, 4rem);
	font-weight: 760;
	letter-spacing: -0.05em;
	line-height: 1.02;
	margin: 0;
	max-width: 12ch;
	text-wrap: balance;
}

.cot-modern-blog-template .cot-article-cta p {
	color: #c7c7ca;
	font-size: 1rem;
	line-height: 1.65;
	margin: 20px 0 0;
	max-width: 620px;
}

.cot-modern-blog-template .cot-cta-button {
	align-items: center;
	background: var(--cot-red);
	border: 2px solid var(--cot-red);
	border-radius: 5px;
	color: #fff;
	display: inline-flex;
	flex: 0 0 auto;
	font-size: 0.84rem;
	font-weight: 750;
	gap: 12px;
	justify-content: center;
	letter-spacing: 0.01em;
	min-height: 52px;
	padding: 13px 18px;
	text-decoration: none;
	transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.cot-modern-blog-template .cot-cta-button:hover,
.cot-modern-blog-template .cot-cta-button:focus-visible {
	background: var(--cot-red-dark);
	border-color: var(--cot-red-dark);
	color: #fff;
	transform: translateY(-2px);
}

.cot-modern-blog-template .cot-post-navigation {
	display: grid;
	gap: 1px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin-block: clamp(64px, 9vw, 110px);
}

.cot-modern-blog-template .cot-post-navigation__link {
	background: var(--cot-warm);
	color: var(--cot-ink);
	display: flex;
	flex-direction: column;
	gap: 12px;
	justify-content: center;
	min-height: 180px;
	padding: clamp(28px, 5vw, 54px);
	text-decoration: none;
	transition: background-color 180ms ease, color 180ms ease;
}

.cot-modern-blog-template .cot-post-navigation__link:first-child {
	border-radius: 14px 0 0 14px;
}

.cot-modern-blog-template .cot-post-navigation__link:last-child {
	border-radius: 0 14px 14px 0;
}

.cot-modern-blog-template .cot-post-navigation__link--next {
	text-align: right;
}

.cot-modern-blog-template .cot-post-navigation__link:hover {
	background: var(--cot-red);
	color: #fff;
}

.cot-modern-blog-template .cot-post-navigation__direction {
	color: var(--cot-red);
	font-size: 0.7rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.cot-modern-blog-template .cot-post-navigation__link:hover .cot-post-navigation__direction {
	color: #fff;
}

.cot-modern-blog-template .cot-post-navigation__link strong {
	font-family: var(--cot-display);
	font-size: clamp(1.2rem, 2vw, 1.65rem);
	letter-spacing: -0.025em;
	line-height: 1.2;
}

.cot-modern-blog-template .cot-related-posts {
	background: var(--cot-warm);
	padding-block: clamp(72px, 10vw, 120px);
}

.cot-modern-blog-template .cot-section-heading {
	margin-bottom: 42px;
}

.cot-modern-blog-template .cot-section-heading h2 {
	color: var(--cot-ink);
	font-family: var(--cot-display);
	font-size: clamp(2.15rem, 5vw, 3.8rem);
	font-weight: 760;
	letter-spacing: -0.05em;
	line-height: 1.05;
	margin: 0;
}

.cot-modern-blog-template .cot-related-grid {
	display: grid;
	gap: 24px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cot-modern-blog-template .cot-related-card {
	background: #fff;
	border: 1px solid var(--cot-line);
	border-radius: 14px;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	transition: box-shadow 180ms ease, transform 180ms ease;
}

.cot-modern-blog-template .cot-related-card:hover {
	box-shadow: 0 18px 42px rgba(23, 23, 23, 0.1);
	transform: translateY(-4px);
}

.cot-modern-blog-template .cot-related-card__image {
	background: var(--cot-ink);
	display: block;
	overflow: hidden;
}

.cot-modern-blog-template .cot-related-card__image img {
	aspect-ratio: 16 / 10;
	display: block;
	height: auto;
	object-fit: cover;
	transition: transform 350ms ease;
	width: 100%;
}

.cot-modern-blog-template .cot-related-card:hover .cot-related-card__image img {
	transform: scale(1.035);
}

.cot-modern-blog-template .cot-related-card__placeholder {
	align-items: center;
	aspect-ratio: 16 / 10;
	color: #fff;
	display: flex;
	font-family: var(--cot-display);
	font-size: 1.3rem;
	font-weight: 750;
	justify-content: center;
	letter-spacing: -0.03em;
	padding: 24px;
}

.cot-modern-blog-template .cot-related-card__content {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 24px;
}

.cot-modern-blog-template .cot-related-card__date {
	color: var(--cot-red);
	font-size: 0.68rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.cot-modern-blog-template .cot-related-card h3 {
	font-family: var(--cot-display);
	font-size: 1.35rem;
	font-weight: 750;
	letter-spacing: -0.03em;
	line-height: 1.22;
	margin: 12px 0 30px;
}

.cot-modern-blog-template .cot-related-card h3 a {
	color: var(--cot-ink);
	text-decoration: none;
}

.cot-modern-blog-template .cot-related-card__read {
	color: var(--cot-red);
	font-size: 0.78rem;
	font-weight: 750;
	margin-top: auto;
	text-decoration: none;
}

.cot-modern-blog-template .cot-comments {
	margin-block: clamp(64px, 9vw, 110px);
	max-width: 828px;
}

.cot-modern-blog-template .cot-comments input:not([type="checkbox"]):not([type="radio"]),
.cot-modern-blog-template .cot-comments textarea {
	border: 1px solid var(--cot-line);
	border-radius: 5px;
	font: inherit;
	padding: 12px;
	width: 100%;
}

.cot-modern-blog-template .cot-comments input[type="submit"] {
	background: var(--cot-red);
	border: 0;
	border-radius: 5px;
	color: #fff;
	cursor: pointer;
	font-weight: 750;
	padding: 13px 18px;
}

.cot-modern-blog-template :focus-visible {
	outline: 3px solid rgba(169, 43, 45, 0.35);
	outline-offset: 3px;
}

@media (max-width: 1050px) {
	.cot-modern-blog-template .cot-share-bar {
		flex-direction: row;
		margin: 0 auto 38px;
		max-width: 780px;
		position: static;
	}

	.cot-modern-blog-template .cot-share-bar__label {
		margin: 0 6px 0 0;
		writing-mode: initial;
	}
}

@media (max-width: 780px) {
	.cot-modern-blog-template .cot-article-hero {
		padding-block: 112px 70px;
	}

	.cot-modern-blog-template .cot-article-title {
		font-size: clamp(2.45rem, 12vw, 4.1rem);
		line-height: 1.02;
		max-width: none;
	}

	.cot-modern-blog-template .cot-article-meta {
		align-items: flex-start;
		gap: 16px 20px;
	}

	.cot-modern-blog-template .cot-article-meta__divider {
		display: none;
	}

	.cot-modern-blog-template .cot-table-of-contents {
		grid-template-columns: 1fr;
	}

	.cot-modern-blog-template .cot-toc-list {
		column-count: 1;
	}

	.cot-modern-blog-template .cot-entry-content > .alignfull {
		width: calc(100vw - 16px);
	}

	.cot-modern-blog-template .cot-article-cta__inner {
		align-items: flex-start;
		flex-direction: column;
		gap: 32px;
	}

	.cot-modern-blog-template .cot-related-grid {
		grid-template-columns: 1fr;
	}

	.cot-modern-blog-template .cot-related-card {
		display: grid;
		grid-template-columns: minmax(130px, 0.8fr) minmax(0, 1.2fr);
	}

	.cot-modern-blog-template .cot-related-card__image,
	.cot-modern-blog-template .cot-related-card__image img,
	.cot-modern-blog-template .cot-related-card__placeholder {
		height: 100%;
	}
}

@media (max-width: 560px) {
	.cot-modern-blog-template .cot-shell,
	.cot-modern-blog-template .cot-article-body {
		padding-inline: 18px;
	}

	.cot-modern-blog-template .cot-article-meta__author {
		flex-basis: 100%;
	}

	.cot-modern-blog-template .cot-featured-media {
		padding-inline: 12px;
	}

	.cot-modern-blog-template .cot-featured-media__image {
		aspect-ratio: 4 / 3;
		border-radius: 12px;
	}

	.cot-modern-blog-template .cot-share-button {
		height: 42px;
		width: 42px;
	}

	.cot-modern-blog-template .cot-entry-content .alignleft,
	.cot-modern-blog-template .cot-entry-content .alignright {
		float: none;
		margin-inline: 0;
		max-width: 100%;
	}

	.cot-modern-blog-template .cot-post-navigation {
		grid-template-columns: 1fr;
		padding-inline: 18px;
	}

	.cot-modern-blog-template .cot-post-navigation__link,
	.cot-modern-blog-template .cot-post-navigation__link:first-child,
	.cot-modern-blog-template .cot-post-navigation__link:last-child {
		border-radius: 10px;
		min-height: 145px;
	}

	.cot-modern-blog-template .cot-related-card {
		display: flex;
	}

	.cot-modern-blog-template .cot-related-card__image img,
	.cot-modern-blog-template .cot-related-card__placeholder {
		aspect-ratio: 16 / 9;
		height: auto;
	}
}

@media (prefers-reduced-motion: reduce) {
	.cot-modern-blog-template *,
	.cot-modern-blog-template *::before,
	.cot-modern-blog-template *::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}

@media print {
	.cot-reading-progress,
	.cot-modern-blog-template .cot-share-bar,
	.cot-modern-blog-template .cot-article-cta,
	.cot-modern-blog-template .cot-post-navigation,
	.cot-modern-blog-template .cot-related-posts,
	.cot-modern-blog-template .cot-comments {
		display: none !important;
	}

	.cot-modern-blog-template .cot-article-hero {
		background: #fff;
		padding-block: 40px;
	}

	.cot-modern-blog-template .cot-article-title {
		font-size: 38pt;
	}

	.cot-modern-blog-template .cot-entry-content {
		font-size: 11pt;
	}
}
