/* Child-owned article and category presentation. */

.b360-article-main,
.b360-category-main {
	overflow: clip;
	background: var(--b360-color-surface);
	color: var(--b360-color-text);
}

.b360-content-container {
	width: min(100%, 1248px);
	margin-inline: auto;
	padding: 36px var(--b360-gutter-desktop) var(--b360-space-20);
}

.b360-breadcrumbs {
	margin-bottom: var(--b360-space-6);
}

.b360-breadcrumbs ol {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.b360-breadcrumbs li {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--b360-color-muted);
	font-size: 13px;
	font-weight: 600;
}

.b360-breadcrumbs li + li::before {
	color: #8995a5;
	content: "/";
}

.b360-breadcrumbs a {
	color: var(--b360-color-link);
	text-decoration: none;
}

.b360-breadcrumbs a:hover,
.b360-breadcrumbs a:focus {
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* Single article */
.b360-article__header {
	max-width: 920px;
	margin-inline: auto;
}

.b360-article__category,
.b360-category-header__eyebrow {
	display: inline-block;
	margin: 0 0 var(--b360-space-3);
	color: var(--b360-color-accent);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.09em;
	line-height: 1.3;
	text-decoration: none;
	text-transform: uppercase;
}

.b360-article__category:hover,
.b360-article__category:focus {
	color: var(--b360-color-accent-strong);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.b360-article__header h1 {
	max-width: 900px;
	margin: 0;
	font-size: clamp(2.35rem, 5vw, 4.25rem);
	font-weight: 800;
	letter-spacing: -0.045em;
	line-height: 1.02;
	text-wrap: balance;
}

.b360-article-meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 7px 18px;
	margin-top: var(--b360-space-6);
	color: var(--b360-color-muted);
	font-size: 13px;
	line-height: 1.4;
}

.b360-article-meta span + span {
	position: relative;
}

.b360-article-meta span + span::before {
	position: absolute;
	top: 50%;
	left: -11px;
	width: 3px;
	height: 3px;
	background: #9aa5b3;
	border-radius: 50%;
	content: "";
	transform: translateY(-50%);
}

.b360-article-meta a {
	color: var(--b360-color-link);
	font-weight: 700;
	text-decoration: none;
}

.b360-article__hero {
	max-width: 1120px;
	margin: 38px auto 42px;
}

.b360-article__hero-image {
	display: block;
	width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
	object-position: var(--b360-focal-x, 50%) var(--b360-focal-y, 50%);
	background: var(--b360-color-highlight);
	border-radius: var(--b360-radius-large);
}

.b360-article__hero figcaption {
	display: flex;
	justify-content: space-between;
	gap: var(--b360-space-4);
	margin-top: var(--b360-space-2);
	color: var(--b360-color-muted);
	font-size: 12px;
	line-height: 1.5;
}

.b360-article__content {
	max-width: var(--b360-reading-max-width);
	margin-inline: auto;
	font-size: 18px;
	line-height: 1.78;
	overflow-wrap: anywhere;
}

.b360-article__content > :first-child {
	margin-top: 0;
}

.b360-article__content p,
.b360-article__content ul,
.b360-article__content ol,
.b360-article__content blockquote,
.b360-article__content table,
.b360-article__content figure,
.b360-article__content .wp-block-group,
.b360-article__content .wp-block-columns {
	margin-bottom: 1.45em;
}

.b360-article__content h2,
.b360-article__content h3,
.b360-article__content h4 {
	margin-top: 1.75em;
	margin-bottom: 0.65em;
	font-weight: 800;
	line-height: 1.18;
	scroll-margin-top: 24px;
	text-wrap: pretty;
}

.b360-article__content h2 {
	font-size: clamp(1.75rem, 3vw, 2.25rem);
}

.b360-article__content h3 {
	font-size: clamp(1.35rem, 2.4vw, 1.7rem);
}

.b360-article__content a {
	color: var(--b360-color-link);
	font-weight: 650;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.b360-article__content a:hover,
.b360-article__content a:focus {
	color: var(--b360-color-accent-strong);
	text-decoration-thickness: 2px;
}

.b360-article__content ul,
.b360-article__content ol {
	padding-left: 1.35em;
}

.b360-article__content li + li {
	margin-top: 0.42em;
}

.b360-article__content blockquote {
	margin-inline: 0;
	padding: var(--b360-space-4) var(--b360-space-6);
	background: var(--b360-color-highlight);
	border-left: 4px solid var(--b360-color-accent);
	color: var(--b360-color-brand);
	font-size: 1.05em;
}

.b360-article__content img,
.b360-article__content video,
.b360-article__content iframe {
	max-width: 100%;
	height: auto;
}

.b360-article__content table {
	display: block;
	width: 100%;
	max-width: 100%;
	overflow-x: auto;
	border: 1px solid var(--b360-color-border);
	border-collapse: collapse;
	-webkit-overflow-scrolling: touch;
}

.b360-article__content th,
.b360-article__content td {
	min-width: 140px;
	padding: 10px 12px;
	border: 1px solid var(--b360-color-border);
	font-size: 15px;
	line-height: 1.45;
	text-align: left;
	vertical-align: top;
}

.b360-article__content th {
	background: var(--b360-color-subtle);
	color: var(--b360-color-heading);
	font-weight: 800;
}

.b360-page-links {
	display: flex;
	gap: var(--b360-space-2);
	margin-block: var(--b360-space-8);
}

.b360-article-nav,
.b360-related,
.b360-article-comments {
	max-width: 1120px;
	margin-inline: auto;
}

.b360-article-nav {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--b360-space-6);
	margin-top: var(--b360-space-12);
	padding-block: var(--b360-space-6);
	border-block: 1px solid var(--b360-color-border);
}

.b360-article-nav > div:last-child {
	text-align: right;
}

.b360-article-nav a {
	display: inline-flex;
	flex-direction: column;
	max-width: 430px;
	color: var(--b360-color-heading);
	font-weight: 800;
	line-height: 1.35;
	text-decoration: none;
}

.b360-article-nav a span {
	margin-bottom: 4px;
	color: var(--b360-color-muted);
	font-size: 11px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.b360-article-nav a:hover,
.b360-article-nav a:focus {
	color: var(--b360-color-link);
}

.b360-related {
	margin-top: var(--b360-space-16);
}

.b360-related > header {
	margin-bottom: var(--b360-space-6);
	padding-bottom: var(--b360-space-4);
	border-bottom: 1px solid var(--b360-color-border);
}

.b360-related > header p {
	margin: 0 0 var(--b360-space-2);
	color: var(--b360-color-accent);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.b360-related > header h2 {
	margin: 0;
	font-size: clamp(1.75rem, 3vw, 2.35rem);
}

.b360-related__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--b360-space-6);
}

.b360-article-comments {
	margin-top: var(--b360-space-12);
}

/* Shared content cards */
.b360-content-card {
	min-width: 0;
	margin: 0;
}

.b360-content-card__media {
	display: block;
	overflow: hidden;
	aspect-ratio: 3 / 2;
	background: var(--b360-color-highlight);
	border-radius: var(--b360-radius-medium);
}

.b360-content-card__image,
.b360-content-image-placeholder {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: var(--b360-focal-x, 50%) var(--b360-focal-y, 50%);
}

.b360-content-image-placeholder {
	display: grid;
	place-items: center;
	background: linear-gradient(135deg, var(--b360-color-highlight), #dbe7f2);
	color: var(--b360-color-brand);
	font-family: Montserrat, Inter, Arial, sans-serif;
	font-weight: 800;
}

.b360-content-card__body {
	padding-top: var(--b360-space-4);
}

.b360-content-card__meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px 12px;
	margin-bottom: var(--b360-space-2);
	font-size: 12px;
	line-height: 1.3;
}

.b360-content-card__meta a {
	color: var(--b360-color-accent);
	font-weight: 800;
	letter-spacing: 0.045em;
	text-decoration: none;
	text-transform: uppercase;
}

.b360-content-card__meta time {
	color: var(--b360-color-muted);
	font-weight: 600;
}

.b360-content-card__title {
	margin: 0;
	font-size: clamp(1.25rem, 2vw, 1.55rem);
	font-weight: 800;
	line-height: 1.17;
	text-wrap: pretty;
}

.b360-content-card__title a {
	color: var(--b360-color-heading);
	text-decoration: none;
}

.b360-content-card__title a:hover,
.b360-content-card__title a:focus {
	color: var(--b360-color-link);
}

.b360-content-card__body > p {
	margin: var(--b360-space-3) 0 0;
	color: var(--b360-color-muted);
	font-size: 15px;
	line-height: 1.65;
}

/* Category archive */
.b360-category-header {
	max-width: 850px;
	margin-bottom: var(--b360-space-12);
}

.b360-category-header__eyebrow {
	margin-bottom: var(--b360-space-2);
}

.b360-category-header h1 {
	margin: 0;
	font-size: clamp(2.6rem, 6vw, 4.75rem);
	font-weight: 800;
	letter-spacing: -0.05em;
	line-height: 0.98;
}

.b360-category-header__description {
	max-width: 720px;
	margin-top: var(--b360-space-4);
	color: var(--b360-color-muted);
	font-size: 17px;
	line-height: 1.65;
}

.b360-category-header__description > :last-child {
	margin-bottom: 0;
}

.b360-category-lead {
	margin-bottom: var(--b360-space-12);
	padding-bottom: var(--b360-space-12);
	border-bottom: 1px solid var(--b360-color-border);
}

.b360-content-card--category-feature {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.85fr);
	align-items: center;
	gap: clamp(28px, 5vw, 64px);
}

.b360-content-card--category-feature .b360-content-card__media {
	aspect-ratio: 3 / 2;
}

.b360-content-card--category-feature .b360-content-card__body {
	padding: 0;
}

.b360-content-card--category-feature .b360-content-card__title {
	font-size: clamp(2rem, 3.5vw, 3.15rem);
	line-height: 1.05;
}

.b360-content-card--category-feature .b360-content-card__body > p {
	font-size: 16px;
}

.b360-category-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 42px var(--b360-space-6);
}

.b360-category-main .navigation.pagination {
	margin-top: var(--b360-space-16);
	padding-top: var(--b360-space-6);
	border-top: 1px solid var(--b360-color-border);
}

.b360-category-main .nav-links {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: var(--b360-space-2);
}

.b360-category-main .page-numbers {
	display: grid;
	min-width: 42px;
	min-height: 42px;
	padding: 8px 12px;
	place-items: center;
	background: var(--b360-color-surface);
	border: 1px solid var(--b360-color-border);
	border-radius: var(--b360-radius-small);
	color: var(--b360-color-brand);
	font-weight: 750;
	text-decoration: none;
}

.b360-category-main .page-numbers.current,
.b360-category-main a.page-numbers:hover,
.b360-category-main a.page-numbers:focus {
	background: var(--b360-color-brand);
	border-color: var(--b360-color-brand);
	color: #fff;
}

@media (max-width: 991.98px) {
	.b360-content-container {
		padding-inline: var(--b360-gutter-tablet);
	}

	.b360-content-card--category-feature {
		grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
		gap: var(--b360-space-8);
	}

	.b360-category-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767.98px) {
	.b360-content-container {
		padding: 28px var(--b360-gutter-mobile) var(--b360-space-16);
	}

	.b360-breadcrumbs {
		margin-bottom: var(--b360-space-4);
	}

	.b360-article__header h1 {
		font-size: clamp(2.05rem, 10.5vw, 3.15rem);
		line-height: 1.04;
	}

	.b360-article-meta {
		align-items: flex-start;
		flex-direction: column;
		gap: 5px;
		margin-top: var(--b360-space-4);
	}

	.b360-article-meta span + span::before {
		display: none;
	}

	.b360-article__hero {
		margin: 28px auto 34px;
	}

	.b360-article__hero-image,
	.b360-content-card__media,
	.b360-content-card--category-feature .b360-content-card__media {
		aspect-ratio: 4 / 3;
	}

	.b360-article__hero figcaption {
		align-items: flex-start;
		flex-direction: column;
		gap: 2px;
	}

	.b360-article__content {
		font-size: 17px;
		line-height: 1.72;
	}

	.b360-article-nav {
		grid-template-columns: 1fr;
		gap: var(--b360-space-4);
	}

	.b360-article-nav > div:last-child {
		text-align: left;
	}

	.b360-related__grid,
	.b360-category-grid {
		grid-template-columns: 1fr;
		gap: var(--b360-space-8);
	}

	.b360-content-card--category-feature {
		display: block;
	}

	.b360-content-card--category-feature .b360-content-card__body {
		padding-top: var(--b360-space-4);
	}

	.b360-content-card--category-feature .b360-content-card__title {
		font-size: clamp(1.8rem, 8vw, 2.45rem);
	}

	.b360-category-header {
		margin-bottom: var(--b360-space-8);
	}

	.b360-category-header h1 {
		font-size: clamp(2.35rem, 13vw, 3.7rem);
	}

	.b360-category-lead {
		margin-bottom: var(--b360-space-8);
		padding-bottom: var(--b360-space-8);
	}
}

@media (prefers-reduced-motion: reduce) {
	.b360-content-card__image {
		transition: none;
	}
}
