
/*
 * AtomicLimits site-specific styles
 */


/* ==========================================================
   Database cards
   ========================================================== */

.database-card {
	transition:
		border-color 0.5s ease,
		box-shadow 0.5s ease;
}

/* Remove default link styling. */
.database-card,
.database-card:link,
.database-card:visited,
.database-card:hover,
.database-card:active {
	color: inherit;
	text-decoration: none;
}

/* Normal visited state. */
.database-card:visited {
	border-color: #e5e5e5;
}

/* Hover state. */
.database-card:hover {
	border-color: var(--accent);
}

.database-card:hover h3 {
	color: var(--accent);
}

/* Remove default top/bottom margins inside database cards */
.database-card > * {
    margin-top: 0;
    margin-bottom: 0;
}

/* Space between title row and description */
.database-card > * + * {
    margin-top: 16px;
}

/* Remove persistent mouse-click focus styling */
.database-card:focus:not(:focus-visible):not(:hover) {
	background-color: var(--base-3);
	border: 2px solid var(--contrast-3);
	border-radius: 16px;
	box-shadow: none;
	outline: none;
}

/* Preserve an accessible focus indicator for keyboard users */
.database-card:focus-visible {
	background-color: inherit;
	border-color: var(--accent);
	box-shadow: none;
	outline: 2px solid var(--accent);
	outline-offset: 3px;
}


/* ==========================================================
   Post metadata
   ========================================================== */

.category-tag::before,
.post-date::before {
	display: inline-block;
	margin-right: 5px;

	font-family: dashicons;
	font-size: 1.1em;
	font-style: normal;
	font-weight: normal;
	line-height: 1;

	vertical-align: middle;

	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.category-tag {
	display: inline-block;
	padding: 4px 10px;

	border: 1px solid var(--accent);
	border-radius: 999px;

	background: color-mix(
		in srgb,
		var(--accent) 10%,
		white
	);

	color: var(--accent);

	font-size: 0.9rem;
	font-weight: 600;
	line-height: 1;
}

.category-tag a {
	color: inherit;
	text-decoration: none;
}

.category-tag a:hover,
.category-tag a:focus-visible {
	color: inherit;
	text-decoration: none;
}

.post-date::before {
	content: "\f145";
}

.category-tag::before {
	content: "\f323";
}


/* ==========================================================
   AtomicLimits platform navigation
   ========================================================== */

.atomic-platform-nav {
	background: #181818;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.atomic-platform-nav__inner {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 10px;

	width: min(1200px, calc(100% - 40px));
	margin: 0 auto;
	padding: 12px 0;
}

.atomic-platform-nav__item {
	display: grid;
	grid-template-columns: 44px minmax(0, 1fr) 20px;
	align-items: center;
	gap: 11px;

	min-height: 66px;
	padding: 9px 13px;

	color: #fff;
	background: rgba(255, 255, 255, 0.045);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 10px;

	text-decoration: none;

	transition:
		background-color 180ms ease,
		border-color 180ms ease,
		transform 180ms ease;
}

.atomic-platform-nav__item:hover,
.atomic-platform-nav__item:focus-visible {
	color: #fff;
	background: rgba(255, 255, 255, 0.09);
	border-color: rgba(255, 255, 255, 0.28);
	transform: translateY(-1px);
	text-decoration: none;
}

.atomic-platform-nav__item:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
}

.atomic-platform-nav__icon {
	display: block;

	width: 42px;
	height: 42px;

	margin: 0;
	object-fit: contain;
}

.atomic-platform-nav__label {
	min-width: 0;

	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
}

.atomic-platform-nav__arrow {
	display: flex;
	align-items: center;
	justify-content: center;

	width: 20px;
	height: 20px;

	font-size: 18px;
	opacity: 0.55;

	transition:
		opacity 180ms ease,
		transform 180ms ease;
}

.atomic-platform-nav__item:hover .atomic-platform-nav__arrow,
.atomic-platform-nav__item:focus-visible .atomic-platform-nav__arrow {
	opacity: 1;
	transform: translateX(2px);
}


/* Tablet: two columns */
@media (max-width: 950px) {
	.atomic-platform-nav__inner {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}


/* Mobile */
@media (max-width: 600px) {
	.atomic-platform-nav__inner {
		width: min(100% - 24px, 600px);
		gap: 8px;
		padding: 10px 0;
	}

	.atomic-platform-nav__item {
		grid-template-columns: 34px minmax(0, 1fr);
		gap: 8px;

		min-height: 54px;
		padding: 8px 9px;
		border-radius: 8px;
	}

	.atomic-platform-nav__icon {
		width: 34px;
		height: 34px;
	}

	.atomic-platform-nav__label {
		font-size: 13px;
	}

	.atomic-platform-nav__arrow {
		display: none;
	}
}


.atomic-platform-nav__item,
.atomic-platform-nav__item:link,
.atomic-platform-nav__item:visited {
    color: #ffffff;
    text-decoration: none;
}

.atomic-platform-nav__item:hover,
.atomic-platform-nav__item:focus,
.atomic-platform-nav__item:active {
    color: #ffffff;
    text-decoration: none;
}

.atomic-platform-nav__item *,
.atomic-platform-nav__item:visited * {
    color: inherit;
}


/* ==========================================================
   AtomicLimits article grid
   ========================================================== */

.atomic-post-grid {
	--atomic-card-radius: 14px;
	--atomic-card-border: rgba(22, 42, 65, 0.12);
	--atomic-card-shadow:
		0 2px 5px rgba(22, 42, 65, 0.04),
		0 10px 28px rgba(22, 42, 65, 0.07);
	--atomic-card-shadow-hover:
		0 5px 12px rgba(22, 42, 65, 0.07),
		0 18px 38px rgba(22, 42, 65, 0.12);
}


/* Grid spacing */
.atomic-post-grid .wp-block-post-template {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 28px;

	margin: 0;
	padding: 0;
}


/* Individual post */
.atomic-post-grid .wp-block-post {
	display: flex;
	min-width: 0;
	margin: 0;
}


/*
 * The first GenerateBlocks element inside each post is the card.
 * Using > keeps this from affecting nested GenerateBlocks elements.
 */
.atomic-post-grid .wp-block-post > [class*="gb-element-"] {
	display: flex;
	flex-direction: column;
	width: 100%;
	min-width: 0;
	overflow: hidden;

	background: #ffffff;
	border: 1px solid var(--atomic-card-border);
	border-radius: var(--atomic-card-radius);
	box-shadow: var(--atomic-card-shadow);

	transition:
		transform 180ms ease,
		box-shadow 180ms ease,
		border-color 180ms ease;
}

.atomic-post-grid .wp-block-post > [class*="gb-element-"]:hover {
	transform: translateY(-3px);
	border-color: rgba(22, 42, 65, 0.2);
	box-shadow: var(--atomic-card-shadow-hover);
}


/* Inner content wrapper */
.atomic-post-grid .wp-block-post > [class*="gb-element-"] > [class*="gb-element-"] {
	display: flex;
	flex: 1;
	flex-direction: column;
	min-width: 0;
}


/* ==========================================================
   Featured image
   ========================================================== */

.atomic-post-grid .wp-block-post-featured-image {
	position: relative;
	order: -10;

	width: 100%;
	margin: 0;
	overflow: hidden;

	aspect-ratio: 16 / 9;
	background: #eef1f4;
}

.atomic-post-grid .wp-block-post-featured-image a {
	display: block;
	width: 100%;
	height: 100%;
}

.atomic-post-grid .wp-block-post-featured-image img {
	display: block;

	width: 100%;
	height: 100%;
	margin: 0;

	object-fit: cover;

	transition: transform 350ms ease;
}

.atomic-post-grid
	.wp-block-post
	> [class*="gb-element-"]:hover
	.wp-block-post-featured-image img {
	transform: scale(1.025);
}


/* ==========================================================
   Text content
   ========================================================== */

/*
 * Add horizontal spacing to direct content blocks.
 * The image retains full card width.
 */
.atomic-post-grid .taxonomy-category,
.atomic-post-grid .wp-block-post-title,
.atomic-post-grid .wp-block-post-excerpt,
.atomic-post-grid .wp-block-group:has(.post-date) {
	margin-right: 22px;
	margin-left: 22px;
}


/* Category */
.atomic-post-grid .taxonomy-category {
	margin-top: 20px;
	margin-bottom: 11px;

	font-size: 0;
	line-height: 1;
}

.atomic-post-grid .taxonomy-category a {
	display: inline-flex;
	align-items: center;

	padding: 6px 10px;

	color: #2463a7;
	background: rgba(36, 99, 167, 0.09);
	border-radius: 999px;

	font-size: 12px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0.045em;
	text-decoration: none;
	text-transform: uppercase;

	transition:
		color 160ms ease,
		background-color 160ms ease;
}

.atomic-post-grid .taxonomy-category a:visited {
	color: #2463a7;
}

.atomic-post-grid .taxonomy-category a:hover,
.atomic-post-grid .taxonomy-category a:focus-visible {
	color: #174a80;
	background: rgba(36, 99, 167, 0.15);
	text-decoration: none;
}


/* Title */
.atomic-post-grid .wp-block-post-title {
	margin-top: 0;
	margin-bottom: 6px;

	font-size: clamp(19px, 1.6vw, 23px) !important;
	font-weight: 700;
	line-height: 1.28;
	letter-spacing: -0.012em;
}

.atomic-post-grid .wp-block-post-title a,
.atomic-post-grid .wp-block-post-title a:visited {
	color: #182b3d;
	text-decoration: none;
}

.atomic-post-grid .wp-block-post-title a:hover,
.atomic-post-grid .wp-block-post-title a:focus-visible {
	color: #2463a7;
	text-decoration: none;
}


/* Excerpt */
.atomic-post-grid .wp-block-post-excerpt {
	margin-top: 0;
	margin-bottom: 0;
}

.atomic-post-grid .wp-block-post-excerpt__excerpt {
	display: -webkit-box;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;

	margin: 0;

	color: #536273;
	font-size: 15px;
	line-height: 1.58;
}


/* Hide separate Read more link */
.atomic-post-grid .wp-block-post-excerpt__more-text {
	display: none;
}


/* ==========================================================
   Metadata
   ========================================================== */

.atomic-post-grid .wp-block-group:has(.post-date) {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	justify-content: flex-start !important;
	gap: 5px 8px;

	margin-top: auto;
	margin-bottom: 0;
	padding-top: 18px;
	padding-bottom: 20px;

	color: #74808c;
	border-top: 1px solid rgba(22, 42, 65, 0.09);

	font-size: 12.5px;
	line-height: 1.35;
}


/* Insert separator between date and author */
.atomic-post-grid .post-date::after {
	content: "·";
	margin-left: 8px;
	color: #a4adb5;
}


/* Date */
.atomic-post-grid .post-date {
	color: inherit;
	font-size: inherit;
}


/* Multiple Authors output */
.atomic-post-grid .pp-multiple-authors-wrapper,
.atomic-post-grid .ppma-author-category-wrap,
.atomic-post-grid .ppma-category-group,
.atomic-post-grid .pp-author-boxes-avatar-details,
.atomic-post-grid .pp-author-boxes-name {
	display: inline;
	margin: 0;
	padding: 0;

	color: inherit;
	font-size: inherit;
	line-height: inherit;
}

.atomic-post-grid .multiple-authors-name a,
.atomic-post-grid .multiple-authors-name a:visited {
	color: #536273;
	font-weight: 600;
	text-decoration: none;
}

.atomic-post-grid .multiple-authors-name a:hover,
.atomic-post-grid .multiple-authors-name a:focus-visible {
	color: #2463a7;
	text-decoration: underline;
	text-underline-offset: 2px;
}


/* Remove plugin-generated spacing */
.atomic-post-grid .pp-multiple-authors-boxes-wrapper {
	width: auto;
}


/* ==========================================================
   Responsive layout
   ========================================================== */

@media (max-width: 900px) {
	.atomic-post-grid .wp-block-post-template {
		gap: 20px;
	}
}

@media (max-width: 680px) {
	.atomic-post-grid .wp-block-post-template {
		grid-template-columns: minmax(0, 1fr);
	}

	.atomic-post-grid .taxonomy-category,
	.atomic-post-grid .wp-block-post-title,
	.atomic-post-grid .wp-block-post-excerpt,
	.atomic-post-grid .wp-block-group:has(.post-date) {
		margin-right: 18px;
		margin-left: 18px;
	}
}


/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
	.atomic-post-grid .wp-block-post > [class*="gb-element-"],
	.atomic-post-grid .wp-block-post-featured-image img {
		transition: none;
	}

	.atomic-post-grid .wp-block-post > [class*="gb-element-"]:hover {
		transform: none;
	}

	.atomic-post-grid
		.wp-block-post
		> [class*="gb-element-"]:hover
		.wp-block-post-featured-image img {
		transform: none;
	}
}


.atomic-post-card--clickable {
	cursor: pointer;
}

.atomic-post-card--clickable:focus-visible {
	outline: 3px solid rgba(36, 99, 167, 0.55);
	outline-offset: 3px;
}

.atomic-post-grid .atomic-post-subtitle {
	display: -webkit-box;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;

	margin: 0px 22px 7px;

	/*color: #687786;*/
	font-size: 18px;
	font-weight: 500;
	line-height: 1.42;
}

.atomic-post-grid
	.wp-block-post:has(.atomic-post-subtitle)
	.wp-block-post-excerpt__excerpt {
	-webkit-line-clamp: 3;
}

@media (max-width: 680px) {
	.atomic-post-grid .atomic-post-subtitle {
		margin-right: 18px;
		margin-left: 18px;
	}
}


/* ==========================================================
   In-page article search and filtering
   ========================================================== */

.atomic-post-toolbar {
	display: flex;
	flex-direction: column;
	gap: 17px;

	margin: 0 0 28px;
	padding: 19px;

	background: #f5f7f9;
	border: 1px solid rgba(22, 42, 65, 0.1);
	border-radius: 14px;
}

.atomic-post-toolbar__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
}


/* Search field */
.atomic-post-search {
	display: flex;
	align-items: center;
	flex: 1;

	width: 100%;
	max-width: 680px;
	min-height: 48px;

	background: #ffffff;
	border: 1px solid rgba(22, 42, 65, 0.16);
	border-radius: 10px;

	transition:
		border-color 160ms ease,
		box-shadow 160ms ease;
}

.atomic-post-search:focus-within {
	border-color: rgba(36, 99, 167, 0.65);
	box-shadow: 0 0 0 3px rgba(36, 99, 167, 0.12);
}

.atomic-post-search__icon {
	flex: 0 0 auto;

	width: auto;
	height: auto;
	margin-left: 15px;

	color: #718090;
	font-size: 20px;
	line-height: 1;
}

.atomic-post-search__field {
	flex: 1;
	min-width: 0;
	height: 46px;

	margin: 0;
	padding: 0 11px;

	color: #182b3d;
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;

	font-family: inherit;
	font-size: 15px;
	line-height: 1.3;
}

.atomic-post-search__field:focus {
	outline: 0;
	background: transparent;
	box-shadow: none;
}

.atomic-post-search__field::placeholder {
	color: #8894a0;
	opacity: 1;
}

.atomic-post-search__clear {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;

	width: 40px;
	height: 40px;
	margin: 0 4px 0 0;
	padding: 0;

	color: #697887;
	background: transparent;
	border: 0;
	border-radius: 7px;

	cursor: pointer;
}

.atomic-post-search__clear[hidden] {
	display: none;
}

.atomic-post-search__clear:hover,
.atomic-post-search__clear:focus-visible {
	color: #174a80;
	background: rgba(36, 99, 167, 0.09);
}

.atomic-post-search__clear .dashicons {
	width: auto;
	height: auto;
	font-size: 21px;
	line-height: 1;
}


/* Result count */
.atomic-post-results {
	flex: 0 0 auto;

	margin: 0;

	color: #657483;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.3;
	white-space: nowrap;
}


/* Category buttons */
.atomic-category-filter {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.atomic-category-filter__item {
	display: inline-flex;
	align-items: center;
	justify-content: center;

	min-height: 36px;
	margin: 0;
	padding: 8px 14px;

	color: #3e5266;
	background: #ffffff;
	border: 1px solid rgba(22, 42, 65, 0.14);
	border-radius: 999px;

	font-family: inherit;
	font-size: 13px;
	font-weight: 650;
	line-height: 1;

	cursor: pointer;

	transition:
		color 160ms ease,
		background-color 160ms ease,
		border-color 160ms ease,
		transform 160ms ease;
}

.atomic-category-filter__item:hover,
.atomic-category-filter__item:focus-visible {
	color: #174a80;
	background: #edf4fb;
	border-color: rgba(36, 99, 167, 0.35);
	transform: translateY(-1px);
}

.atomic-category-filter__item.is-active {
	color: #ffffff;
	background: #2463a7;
	border-color: #2463a7;
}


/* No-results notice */
.atomic-post-no-results {
	display: flex;
	align-items: flex-start;
	gap: 13px;

	padding: 18px;

	color: #536273;
	background: #ffffff;
	border: 1px solid rgba(22, 42, 65, 0.11);
	border-radius: 10px;
}

.atomic-post-no-results[hidden] {
	display: none;
}

.atomic-post-no-results > .dashicons {
	flex: 0 0 auto;

	width: auto;
	height: auto;
	margin-top: 1px;

	color: #718090;
	font-size: 25px;
	line-height: 1;
}

.atomic-post-no-results strong {
	display: block;

	margin-bottom: 3px;

	color: #263a4e;
	font-size: 15px;
}

.atomic-post-no-results p {
	margin: 0;

	font-size: 14px;
	line-height: 1.45;
}


/* Prevent hidden Query Loop cards from occupying grid space */
.atomic-post-grid .wp-block-post[hidden] {
	display: none !important;
}


/* Responsive toolbar */
@media (max-width: 680px) {
	.atomic-post-toolbar {
		gap: 15px;
		margin-bottom: 22px;
		padding: 15px;
	}

	.atomic-post-toolbar__top {
		align-items: stretch;
		flex-direction: column;
		gap: 8px;
	}

	.atomic-post-search {
		max-width: none;
	}

	.atomic-post-results {
		padding-left: 2px;
	}

	.atomic-category-filter {
		display: flex;
		flex-wrap: wrap;
		gap: 7px;

		margin-right: -15px;
		margin-left: -15px;
		padding-right: 15px;
		padding-bottom: 4px;
		padding-left: 15px;

		overflow-x: auto;
		scrollbar-width: thin;
	}

	.atomic-category-filter__item {
		flex: 0 0 auto;
	}
}

@media (prefers-reduced-motion: reduce) {
	.atomic-category-filter__item {
		transition: none;
	}

	.atomic-category-filter__item:hover {
		transform: none;
	}
}


/*
 * Keep the Query Loop inside its own layout column.
 */
.atomic-post-grid {
	width: 100%;
	min-width: 0;
}

/*
 * Hidden posts must leave the CSS grid entirely.
 */
.atomic-post-grid .wp-block-post-template > .wp-block-post[hidden] {
	display: none !important;
}

/*
 * Prevent wide toolbar contents from forcing the main column
 * to grow and squeezing an adjacent sidebar.
 */
.atomic-post-toolbar,
.atomic-post-toolbar__top,
.atomic-post-search,
.atomic-category-filter {
	min-width: 0;
	max-width: 100%;
}


/* ==========================================================
   Stable main-content and sidebar layout
   ========================================================== */



/* Content inside the main column may never enlarge the layout */
.content-area,
.site-main,
.inside-article,
.entry-content,
.atomic-post-toolbar,
.atomic-post-grid,
.wp-block-query,
.wp-block-post-template {
	min-width: 0;
	max-width: 100%;
}

.entry-content img,
.entry-content iframe,
.entry-content video,
.entry-content table {
	max-width: 100%;
}

.entry-content {
	overflow-wrap: anywhere;
}

.entry-content pre {
	max-width: 100%;
	overflow-x: auto;
}

/* ==========================================================
   Homepage section headings
   ========================================================== */

.atomic-section-heading {
	position: relative;
	margin-top: 48px;
	margin-bottom: 24px;
	padding-bottom: 12px;
	font-size: clamp(1.4rem, 2.3vw, 2.0rem);
	font-weight: 650;
	line-height: 1.2;
	letter-spacing: -0.02em;
	color: var(--contrast);
}

.atomic-section-heading::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 54px;
	height: 3px;
	border-radius: 999px;
	background: var(--accent);
}


/* ==========================================================
   Recent comments sidebar widget
   ========================================================== */

.widget_recent_comments {
	margin-top: 28px;
	padding: 20px;
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: 10px;
	background: var(--base-3);
}

.widget_recent_comments .widget-title {
	position: relative;
	margin: 0 0 18px;
	padding-bottom: 10px;
	font-size: 1.2rem;
	font-weight: 650;
	color: var(--contrast);
}

.widget_recent_comments .widget-title::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 38px;
	height: 3px;
	border-radius: 999px;
	background: var(--accent);
}

.widget_recent_comments #recentcomments {
	margin: 0;
	padding: 0;
	list-style: none;
}

.widget_recent_comments #recentcomments li {
	position: relative;
	margin: 0;
	padding: 12px 0 12px 22px;
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
	font-size: 0.92rem;
	line-height: 1.45;
	color: var(--contrast-2);
}

.widget_recent_comments #recentcomments li:last-child {
	padding-bottom: 0;
	border-bottom: 0;
}

.widget_recent_comments #recentcomments li::before {
	content: "\f101";
	position: absolute;
	top: 13px;
	left: 0;
	font-family: dashicons;
	font-size: 15px;
	color: var(--accent);
}

.widget_recent_comments #recentcomments a {
	font-weight: 600;
	color: var(--contrast);
	text-decoration: none;
}

.widget_recent_comments #recentcomments a:hover,
.widget_recent_comments #recentcomments a:focus {
	color: var(--accent);
	text-decoration: underline;
}

/* ==========================================================
   Single-post subtitle
   ========================================================== */

.atomic-single-post-subtitle {
	margin-top: -6px;
	margin-bottom: 24px;
	max-width: 850px;
	font-size: clamp(1.1rem, 2vw, 1.35rem);
	font-weight: 400;
	line-height: 1.45;
	color: var(--contrast-2);
}
.single-post .entry-title {
	margin-bottom: 12px;
}

/* ==========================================================
   Single-post header metadata
   ========================================================== */

.single-post .entry-header .entry-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 10px;
	margin-top: 14px;
	margin-bottom: 28px;
	font-size: 0.9rem;
	line-height: 1.4;
}

/* Date pill */
.single-post .entry-header .posted-on {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 5px 10px;
	border-radius: 999px;
	background: var(--base-2);
	color: var(--contrast-2);
}

/* Calendar icon */
.single-post .entry-header .posted-on::before {
	content: "\f508";
	font-family: dashicons;
	font-size: 15px;
	line-height: 1;
	color: var(--accent);
}

/* Category pill */
.atomic-single-category {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 5px 10px;
	border-radius: 999px;
	background: var(--base-2);
	color: var(--contrast-2);
}

/* Category icon */
.atomic-single-category::before {
	content: "\f318";
	font-family: dashicons;
	font-size: 15px;
	line-height: 1;
	color: var(--accent);
}

.atomic-single-category a {
	color: var(--contrast-2);
	font-weight: 600;
	text-decoration: none;
}

.atomic-single-category a:hover,
.atomic-single-category a:focus {
	color: var(--accent);
	text-decoration: underline;
}

.single-post .entry-header .posted-on .updated {
	display: none;
}

.single-post .entry-header .pp-multiple-authors-wrapper {
	margin: 0;
}

/* Sidebar section headings should begin at the top of the widget */
.sidebar .atomic-section-heading {
	margin-top: 0;
	margin-bottom: 20px;
}

.sidebar .atomic-section-heading + p:empty {
	display: none;
}




/* ==========================================================
   Figure and table captions
   ========================================================== */

.single-post .entry-content figcaption,
.single-post .entry-content table caption,
.single-post .entry-content .wp-element-caption {
	margin-top: 8px;
	padding: 9px 12px;
	border-left: 3px solid var(--accent);
	background: var(--base-2);
	color: var(--contrast-2);
	font-size: 0.88rem;
	font-style: normal;
	line-height: 1.45;
	text-align: left;
}

.single-post .entry-content figure figcaption {
	margin-bottom: 22px;
}

.single-post .entry-content table caption {
	caption-side: bottom;
	margin-top: 0;
	margin-bottom: 22px;
}

/* Prevent inherited paragraph margins inside old captions */
.single-post .entry-content figcaption p,
.single-post .entry-content table caption p {
	margin: 0;
}


.single-post .entry-content figure:has(figcaption) img {
	display: block;
	margin-bottom: 0;
}






/*Site-wide changes*/
:root {
	--atomic-blue: #1e73be;
	--atomic-muted: #575760;
	--atomic-radius-small: 8px;
	--atomic-radius-medium: 14px;
	--atomic-radius-large: 20px;
	--atomic-shadow-card:
		0 8px 24px rgba(0, 0, 0, 0.09);
	--atomic-transition:
		180ms ease;
}


/* ==========================================================
   Jetpack related blogs
   ========================================================== */

.single-post .jp-relatedposts {
	clear: both;
	margin-top: 48px !important;
	padding-top: 28px;
	border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.single-post .jp-relatedposts .jp-relatedposts-headline {
	position: relative;
	display: block;
	width: 100%;
	margin: 0 0 24px !important;
	padding-bottom: 12px;
	font-size: clamp(1.45rem, 2.5vw, 1.9rem);
	font-weight: 650;
	line-height: 1.2;
	color: var(--contrast);
}

.single-post .jp-relatedposts .jp-relatedposts-headline::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 48px;
	height: 3px;
	border-radius: 999px;
	background: var(--accent);
}

/* Remove Jetpack's own small headline decoration */
.single-post .jp-relatedposts .jp-relatedposts-headline em::before {
	display: none !important;
}

.single-post .jp-relatedposts .jp-relatedposts-post {
	box-sizing: border-box;
	padding: 16px !important;
	border: 1px solid rgba(0, 0, 0, 0.09);
	border-radius: 10px;
	background: var(--base-3);
	transition:
		border-color 160ms ease,
		transform 160ms ease;
}

.single-post .jp-relatedposts .jp-relatedposts-post:hover {
	border-color: var(--accent);
	transform: translateY(-2px);
}

.single-post .jp-relatedposts .jp-relatedposts-post-title {
	margin: 12px 0 8px !important;
	font-size: 1rem !important;
	line-height: 1.35;
}

.single-post .jp-relatedposts .jp-relatedposts-post-title a {
	color: var(--contrast);
	font-weight: 650;
	text-decoration: none;
}

.single-post .jp-relatedposts .jp-relatedposts-post-title a:hover,
.single-post .jp-relatedposts .jp-relatedposts-post-title a:focus {
	color: var(--accent);
}

.single-post .jp-relatedposts .jp-relatedposts-post-excerpt {
	color: var(--contrast-2);
	font-size: 0.88rem;
	line-height: 1.5;
}

.single-post .jp-relatedposts .jp-relatedposts-post-date {
	margin-top: 10px;
	color: var(--contrast-2);
	font-size: 0.8rem;
	font-weight: 600;
}

@media (max-width: 700px) {
	.single-post .jp-relatedposts .jp-relatedposts-post {
		width: 100% !important;
		margin-right: 0 !important;
		margin-bottom: 14px !important;
	}
}

/* ==========================================================
   Comments and comment form
   ========================================================== */

.single-post .comments-area {
	margin-top: 42px;
	padding-top: 28px;
	border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.single-post #reply-title,
.single-post .comments-title {
	position: relative;
	margin: 0 0 24px;
	padding-bottom: 12px;
	font-size: clamp(1.45rem, 2.5vw, 1.9rem);
	font-weight: 650;
	line-height: 1.2;
	color: var(--contrast);
}

.single-post #reply-title::after,
.single-post .comments-title::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 48px;
	height: 3px;
	border-radius: 999px;
	background: var(--accent);
}

.single-post .comment-respond {
	padding: 22px;
	border: 1px solid rgba(0, 0, 0, 0.09);
	border-radius: 10px;
	background: var(--base-3);
}

.single-post .comment-form p {
	margin-bottom: 16px;
}

.single-post .comment-form label:not(.screen-reader-text) {
	display: block;
	margin-bottom: 6px;
	color: var(--contrast);
	font-size: 0.9rem;
	font-weight: 600;
}

.single-post .comment-form textarea,
.single-post .comment-form input[type="text"],
.single-post .comment-form input[type="email"],
.single-post .comment-form input[type="url"] {
	box-sizing: border-box;
	width: 100%;
	border: 1px solid rgba(0, 0, 0, 0.14);
	border-radius: 7px;
	background: var(--base-2);
}

.single-post .comment-form textarea:focus,
.single-post .comment-form input:focus {
	border-color: var(--accent);
	outline: 2px solid color-mix(
		in srgb,
		var(--accent) 20%,
		transparent
	);
	outline-offset: 1px;
}

.single-post .comment-form .submit {
	padding: 10px 18px;
	border-radius: 7px;
	font-weight: 650;
}
