.article-single {
	background: var(--dr-hug-bg);
	font-family: var(--dr-hug-font-family);
	padding: 0 0 100px;
}

.article-single__inner {
	max-width: var(--dr-hug-content-width);
	margin: 0 auto;
	padding: 0 var(--dr-hug-content-gutter) 0;
}

.article-single .dr-hug-breadcrumbs {
	margin: 0 0 32px;
}

.article-single__back,
.article-single__back:link,
.article-single__back:visited {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	margin-bottom: 42px;
	color: var(--dr-hug-grey);
	font-size: var(--dr-hug-font-size-base);
	font-weight: var(--dr-hug-font-weight-bold);
	line-height: normal;
	text-decoration: none;
	transition: color 0.2s ease;
}

.article-single__back:hover,
.article-single__back:focus,
.article-single__back:active {
	color: var(--dr-hug-black);
}

.article-single__back-icon {
	display: block;
	width: 20px;
	height: 20px;
	flex-shrink: 0;
}

.article-single__layout {
	display: flex;
	flex-direction: column;
	gap: 100px;
}

.article-single__main {
	display: flex;
	flex-direction: column;
	gap: 42px;
}

.article-single__intro {
	display: flex;
	flex-direction: column;
	gap: 24px;
	width: 100%;
}

.article-single__hero {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
	align-items: start;
	background: transparent;
	border-radius: 0;
	overflow: visible;
}

.article-single__hero:not(.article-single__hero--has-image) {
	grid-template-columns: 1fr;
}

.article-single__hero-content {
	display: flex;
	flex-direction: column;
	gap: 24px;
	min-width: 0;
	min-height: 510px;
	padding: 24px;
	border-radius: 24px;
	background: var(--dr-hug-white);
	box-sizing: border-box;
}

.article-single__hero-media {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	max-width: 588px;
	height: 510px;
	max-height: 510px;
	min-width: 0;
	min-height: 0;
	padding: 0;
	overflow: hidden;
	border-radius: 24px;
	background: var(--dr-hug-primary-warm-ivory);
	box-sizing: border-box;
}

.article-single__hero-image {
	display: block;
	width: 100%;
	height: 100%;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	object-position: center;
}

.article-single__hero-title {
	margin: 0;
	font-size: var(--dr-hug-font-size-xxl);
	font-weight: var(--dr-hug-font-weight-bold);
	line-height: 1.4;
	color: var(--dr-hug-black);
}

.article-single__hero-lead {
	margin: 0;
	font-size: var(--dr-hug-font-size-base);
	font-weight: var(--dr-hug-font-weight-medium);
	line-height: 1.4;
	color: var(--dr-hug-black);
}

.article-single__section {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.article-single__section-title {
	margin: 0;
	font-size: var(--dr-hug-font-size-xxl);
	font-weight: var(--dr-hug-font-weight-bold);
	line-height: normal;
	color: var(--dr-hug-black);
}

.article-single__panel {
	padding: 24px;
	border-radius: 24px;
	background: var(--dr-hug-white);
	overflow: hidden;
}

.article-single__panel p {
	margin: 0;
	font-size: var(--dr-hug-font-size-base);
	font-weight: var(--dr-hug-font-weight-medium);
	line-height: 1.4;
	color: var(--dr-hug-grey);
}

.article-single__panel p + p {
	margin-top: 16px;
}

.article-single__list {
	margin: 16px 0 0;
	padding: 0 0 0 1.25em;
	list-style: disc;
}

.article-single__list li {
	margin: 0 0 8px;
	font-size: var(--dr-hug-font-size-base);
	font-weight: var(--dr-hug-font-weight-medium);
	line-height: 1.4;
	color: var(--dr-hug-grey);
}

.article-single__list li:last-child {
	margin-bottom: 0;
}

.article-single__panel--video {
	padding: 0;
	background: transparent;
}

.article-single__panel--gallery {
	display: flex;
	flex-direction: column;
	gap: 24px;
	padding: 24px;
}

.article-single__gallery {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

.article-single__gallery-item {
	display: block;
	width: 100%;
	aspect-ratio: 1;
	padding: 0;
	border: 0;
	border-radius: 16px;
	overflow: hidden;
	background: var(--dr-hug-primary-warm-ivory);
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
}

.article-single__gallery-image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	pointer-events: none;
}

.article-single__gallery-description {
	font-family: var(--dr-hug-font-family);
	font-size: var(--dr-hug-font-size-base);
	font-weight: var(--dr-hug-font-weight-medium);
	line-height: 1.4;
	color: var(--dr-hug-grey);
}

.article-single__gallery-description p {
	margin: 0 0 1em;
}

.article-single__gallery-description p:last-child {
	margin-bottom: 0;
}

.article-single__gallery-description ul {
	margin: 0 0 1em;
	padding: 0 0 0 1.25em;
}

.article-single__gallery-description ul:last-child {
	margin-bottom: 0;
}

.article-single__video-trigger {
	position: relative;
	display: block;
	width: 100%;
	padding: 0;
	border: 0;
	border-radius: 24px;
	overflow: hidden;
	background: var(--dr-hug-black);
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
}

.article-single__video-poster {
	display: block;
	width: 100%;
	max-height: 560px;
	min-height: 280px;
	object-fit: cover;
	pointer-events: none;
}

.article-single__video-poster--empty {
	min-height: 320px;
	background: linear-gradient(180deg, #2a2d36 0%, #111 100%);
}

.article-single__video-play {
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 1;
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.92);
	transform: translate(-50%, -50%);
	box-shadow: 0 4px 16px rgba(41, 12, 15, 0.16);
	pointer-events: none;
}

.article-single__video-play::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 54%;
	border-style: solid;
	border-width: 10px 0 10px 16px;
	border-color: transparent transparent transparent var(--dr-hug-pink);
	transform: translate(-50%, -50%);
}

.article-single__video {
	display: block;
	width: 100%;
	max-height: 560px;
	border-radius: 24px;
	background: var(--dr-hug-black);
}

.article-single__video-embed {
	position: relative;
	width: 100%;
	padding-bottom: 56.25%;
	border-radius: 24px;
	overflow: hidden;
	background: var(--dr-hug-black);
}

.article-single__video-embed iframe,
.article-single__video-embed embed,
.article-single__video-embed object {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.article-single__author-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 16px 24px;
	border-radius: 24px;
	background: var(--dr-hug-white);
}

.article-single__author-bar-main {
	display: flex;
	align-items: center;
	gap: 16px;
	min-width: 0;
}

.article-single__author-bar-photo-wrap {
	flex-shrink: 0;
	display: block;
	width: 86px;
	height: 86px;
	padding: 3px;
	box-sizing: border-box;
	border-radius: 50%;
	overflow: hidden;
	background: transparent;
}

.article-single__author-bar-photo-wrap--unread {
	background: linear-gradient(225deg, #c81d58 0%, #f8485d 50%, #ffb3a7 100%);
}

.article-single__author-bar-photo-wrap--read,
.article-single__author-bar-photo-wrap--none {
	background: #dadce0;
}

.article-single__author-bar-photo-wrap--none {
	background: transparent;
	padding: 0;
}

.article-single__author-bar-photo {
	display: block;
	width: 100%;
	height: 100%;
	border-radius: 50%;
	object-fit: cover;
	object-position: top center;
	border: 3px solid var(--dr-hug-white);
	box-sizing: border-box;
	background: #f1e9d9;
}

.article-single__author-bar-photo-wrap--none .article-single__author-bar-photo {
	border-width: 0;
}

.article-single__author-bar-photo--placeholder {
	width: 100%;
	height: 100%;
	border-radius: 50%;
	background: #f1e9d9;
}

.article-single__author-bar-info {
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-width: 0;
}

.article-single__author-bar-name {
	margin: 0;
	font-size: var(--dr-hug-font-size-md);
	font-weight: var(--dr-hug-font-weight-bold);
	line-height: 1.4;
	color: var(--dr-hug-black);
}

.article-single__author-bar-jobs {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.article-single__author-bar-jobs p {
	margin: 0;
	font-size: var(--dr-hug-font-size-sm);
	font-weight: var(--dr-hug-font-weight-medium);
	line-height: 1.4;
	color: var(--dr-hug-grey);
}

.article-single__author-bar-button,
.article-single__author-bar-button:link,
.article-single__author-bar-button:visited {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	min-height: 48px;
	padding: 12px 16px;
	border: 2px solid var(--dr-hug-grey-light);
	border-radius: 12px;
	background: var(--dr-hug-white);
	color: var(--dr-hug-black);
	font-size: var(--dr-hug-font-size-base);
	font-weight: var(--dr-hug-font-weight-bold);
	line-height: 1.4;
	text-decoration: none;
	transition: background-color 0.2s ease, border-color 0.2s ease;
}

.article-single__author-bar-button:hover,
.article-single__author-bar-button:focus {
	background: var(--dr-hug-white);
	border-color: var(--dr-hug-grey);
}

a.article-single__author {
	transition: opacity 0.2s ease;
}

a.article-single__author:hover,
a.article-single__author:focus {
	opacity: 0.92;
}

.article-single__author-photo-wrap {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 308px;
	background: #f1ece9;
	border-radius: 24px;
	overflow: hidden;
}

.article-single__author-photo {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top center;
}

.article-single__author-photo--placeholder {
	height: 100%;
	background: #f1ece9;
}

.article-single__author-badge {
	position: absolute;
	left: 24px;
	bottom: 24px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 6px 10px 8px;
	border-radius: 24px;
	background: var(--dr-hug-pink-bg);
	color: var(--dr-hug-pink);
	font-size: var(--dr-hug-font-size-xs);
	font-weight: var(--dr-hug-font-weight-bold);
	line-height: 1;
	white-space: nowrap;
}

.article-single__author-card {
	display: flex;
	flex-direction: column;
	gap: 24px;
	height: 100%;
	padding: 24px;
	border-radius: 24px;
	background: var(--dr-hug-white);
	overflow: auto;
}

.article-single__author-name {
	margin: 0;
	font-size: var(--dr-hug-font-size-xl);
	font-weight: var(--dr-hug-font-weight-bold);
	line-height: normal;
	color: var(--dr-hug-black);
}

.article-single__author-details {
	display: grid;
	grid-template-columns: minmax(0, 0.25fr) minmax(0, 1fr);
	gap: 16px;
	margin: 0;
}

.article-single__author-detail {
	display: contents;
}

.article-single__author-label {
	margin: 0;
	font-size: var(--dr-hug-font-size-base);
	font-weight: var(--dr-hug-font-weight-medium);
	line-height: normal;
	color: var(--dr-hug-grey);
}

.article-single__author-value {
	margin: 0;
	font-size: var(--dr-hug-font-size-base);
	font-weight: var(--dr-hug-font-weight-medium);
	line-height: normal;
	color: var(--dr-hug-black);
}

.article-single__author-value p {
	margin: 0;
}

.article-single__interesting {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.article-single__interesting-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.article-single__interesting-title {
	margin: 0;
	font-size: var(--dr-hug-font-size-xxl);
	font-weight: var(--dr-hug-font-weight-bold);
	line-height: normal;
	color: var(--dr-hug-black);
}

.article-single__interesting-link,
.article-single__interesting-link:link,
.article-single__interesting-link:visited {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	flex-shrink: 0;
	color: var(--dr-hug-pink);
	font-size: var(--dr-hug-font-size-base);
	font-weight: var(--dr-hug-font-weight-bold);
	line-height: normal;
	text-decoration: none;
	transition: opacity 0.2s ease;
}

.article-single__interesting-link:hover,
.article-single__interesting-link:focus,
.article-single__interesting-link:active {
	opacity: 0.85;
}

.article-single__interesting-link-icon {
	display: block;
	width: 20px;
	height: 20px;
	flex-shrink: 0;
}

.article-single__interesting-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
}

.article-single__interesting-grid .article-card__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.article-single__not-found {
	margin: 0;
	font-size: var(--dr-hug-font-size-base);
	font-weight: var(--dr-hug-font-weight-medium);
	color: var(--dr-hug-grey);
}

@media screen and (max-width: 1024px) {
	.article-single__hero {
		grid-template-columns: 1fr;
	}

	.article-single__hero-content {
		min-height: 0;
	}

	.article-single__hero-media {
		order: -1;
		max-width: none;
		height: 320px;
		max-height: 320px;
	}

	.article-single__author {
		grid-template-columns: 1fr;
		grid-template-rows: auto;
	}

	.article-single__author-card {
		height: auto;
		overflow: visible;
	}

	.article-single__interesting-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.article-single__gallery {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media screen and (max-width: 768px) {
	.article-single__inner {
		padding-top: 24px;
	}

	.article-single__back {
		margin-bottom: 24px;
	}

	.article-single__layout {
		gap: 42px;
	}

	.article-single__main {
		gap: 42px;
	}

	.article-single__hero {
		min-height: auto;
	}

	.article-single__hero-media {
		height: 240px;
		max-height: 240px;
	}

	.article-single__hero-title,
	.article-single__section-title,
	.article-single__interesting-title {
		font-size: 20px;
	}

	.article-single__interesting-header {
		flex-direction: column;
		align-items: flex-start;
	}

	.article-single__interesting-grid {
		grid-template-columns: 1fr;
	}

	.article-single__author-bar {
		flex-direction: column;
		align-items: flex-start;
	}

	.article-single__author-bar-button {
		width: 100%;
	}

	.article-single__author-details {
		grid-template-columns: 1fr;
		gap: 8px;
	}

	.article-single__author-detail {
		display: flex;
		flex-direction: column;
		gap: 8px;
	}
}
