/* --------------------------------------------------------------------------
   Single post
   -------------------------------------------------------------------------- */

.site-main--single {
	padding: 32px 0 48px;
}

.viotia247-single__container {
	width: min( 76%, calc( var( --viotia-container ) * 0.8 ) );
	max-width: calc( var( --viotia-container ) * 0.8 );
	margin-left: auto;
	margin-right: auto;
}

/* Header */
.viotia247-single__header {
	text-align: center;
	margin-bottom: 24px;
}

.viotia247-single__category {
	margin: 0 0 16px;
	font-family: var( --viotia-font );
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.viotia247-single__category a,
.viotia247-single__category a:visited,
.viotia247-single__category a:hover,
.viotia247-single__category a:focus,
.viotia247-single__category a:active {
	color: #6b7280;
	text-decoration: none;
}

.viotia247-single__category a:hover,
.viotia247-single__category a:focus {
	color: #111;
}

.viotia247-single__title {
	width: 72%;
	margin: 0 auto 16px;
	font-family: var( --viotia-font );
	font-size: clamp( 1.75rem, 3.5vw, 2.75rem );
	font-weight: 800;
	line-height: 1.15;
	color: #111;
}

.viotia247-single__excerpt {
	margin: 0 auto;
	max-width: 720px;
	font-family: var( --viotia-font );
	font-size: clamp( 0.9375rem, 1.35vw, 1.125rem );
	font-weight: 500;
	line-height: 1.5;
	color: #374151;
}

/* Featured image */
.viotia247-single__featured {
	margin: 0 0 24px;
	width: 100%;
	height: 70vh;
	max-height: 70vh;
	overflow: hidden;
	line-height: 0;
	background: #f3f4f6;
}

.viotia247-single__featured-image {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	max-height: none;
	object-fit: cover;
	object-position: center center;
}

/* Meta bar */
.viotia247-single__meta-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 28px;
	padding: 14px 0;
	border-top: 1px solid #d6d3d1;
	border-bottom: 1px solid #d6d3d1;
}

.viotia247-single__meta-author {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
}

.viotia247-single__meta-avatar {
	flex-shrink: 0;
	width: 32px;
	height: 32px;
	border-radius: 999px;
}

.viotia247-single__meta-author-label {
	font-family: var( --viotia-font );
	font-size: 0.875rem;
	font-weight: 500;
	color: #374151;
}

.viotia247-single__meta-author-label a,
.viotia247-single__meta-author-label a:visited,
.viotia247-single__meta-author-label a:hover,
.viotia247-single__meta-author-label a:focus,
.viotia247-single__meta-author-label a:active {
	color: #111;
	font-weight: 700;
	text-decoration: none;
}

.viotia247-single__meta-date {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 4px;
	flex-shrink: 0;
	text-align: right;
	font-family: var( --viotia-font );
	font-size: 0.8125rem;
	color: #6b7280;
}

.viotia247-single__meta-reading {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

/* Two-column layout */
.viotia247-single__layout {
	display: grid;
	grid-template-columns: minmax( 0, 1fr );
	gap: 32px;
	align-items: start;
}

.viotia247-single__layout--with-sidebar {
	grid-template-columns: minmax( 0, 1fr ) minmax( 0, 300px );
}

.viotia247-single__content-col {
	min-width: 0;
}

/* Social share */
.viotia247-single__share {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 16px;
	margin-bottom: 24px;
}

.viotia247-single__share-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.viotia247-single__share-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 4px;
	color: #fff;
	text-decoration: none;
	transition: opacity 0.15s ease;
}

.viotia247-single__share-link:hover,
.viotia247-single__share-link:focus {
	opacity: 0.85;
	color: #fff;
}

.viotia247-single__share-link--facebook {
	background: #1877f2;
}

.viotia247-single__share-link--x {
	background: #111;
}

.viotia247-single__share-link--whatsapp {
	background: #25d366;
}

.viotia247-single__share-link--viber {
	background: #7360f2;
}

.viotia247-single__google-news {
	display: inline-flex;
	align-items: center;
	padding: 8px 14px;
	border: 1px solid #d6d3d1;
	border-radius: 4px;
	font-family: var( --viotia-font );
	font-size: 0.8125rem;
	font-weight: 600;
	color: #111;
	text-decoration: none;
}

.viotia247-single__google-news:hover,
.viotia247-single__google-news:focus {
	border-color: #111;
	color: #111;
}

/* Entry content */
.viotia247-single__entry {
	font-family: var( --viotia-font );
	font-size: 1.0625rem;
	line-height: 1.75;
	color: #111;
}

.viotia247-single__entry > *:first-child {
	margin-top: 0;
}

.viotia247-single__entry h2,
.viotia247-single__entry h3,
.viotia247-single__entry h4 {
	margin-top: 1.75em;
	margin-bottom: 0.75em;
	font-weight: 800;
	line-height: 1.25;
}

.viotia247-single__entry img,
.viotia247-single__entry video,
.viotia247-single__entry iframe {
	max-width: 100%;
	height: auto;
}

.viotia247-single__entry a,
.viotia247-single__entry a:visited {
	color: #111;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.viotia247-single__entry a:hover,
.viotia247-single__entry a:focus {
	color: #374151;
}

.viotia247-single__footer {
	margin-top: 32px;
	padding-top: 20px;
	border-top: 1px solid #e7e5e4;
	font-family: var( --viotia-font );
	font-size: 0.875rem;
	line-height: 1.6;
	color: #6b7280;
}

.viotia247-single__footer .tags-links {
	display: block;
	margin-bottom: 0;
	font-weight: 400;
}

.viotia247-single__footer .tags-links a,
.viotia247-single__footer .tags-links a:visited,
.viotia247-single__footer .tags-links a:hover,
.viotia247-single__footer .tags-links a:focus {
	color: #6b7280;
	font-weight: 400;
	text-decoration: none;
}

.viotia247-single__footer .edit-link a {
	color: #6b7280;
	font-weight: 400;
	text-decoration: none;
}

.viotia247-single__footer .edit-link a:hover,
.viotia247-single__footer .edit-link a:focus {
	color: #111;
	text-decoration: underline;
}

/* Sidebar */
.viotia247-single__sidebar {
	display: flex;
	flex-direction: column;
	gap: 32px;
	min-width: 0;
}

.viotia247-single__news-feed {
	width: 100%;
}

.viotia247-single__news-feed-header {
	padding-right: 14px;
	padding-bottom: 12px;
	border-bottom: 1px solid #d6d3d1;
}

.viotia247-single__news-feed-title {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 0;
	font-family: var( --viotia-font );
	font-size: 0.8125rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #111;
}

.viotia247-single__news-feed-title-arrow {
	font-size: 1.125em;
	line-height: 1;
	color: var( --viotia247-stories-accent, #c8102e );
}

.viotia247-single__news-feed-list {
	list-style: none;
	margin: 0;
	padding: 0 14px 0 0;
	max-height: 560px;
	overflow-y: auto;
	scrollbar-width: thin;
	scrollbar-color: #d6d3d1 transparent;
}

.viotia247-single__news-feed-list::-webkit-scrollbar {
	width: 4px;
}

.viotia247-single__news-feed-list::-webkit-scrollbar-thumb {
	background: #d6d3d1;
	border-radius: 999px;
}

.viotia247-single__news-feed-item a,
.viotia247-single__news-feed-item a:visited,
.viotia247-single__news-feed-item a:hover,
.viotia247-single__news-feed-item a:focus,
.viotia247-single__news-feed-item a:active {
	display: block;
	padding: 14px 0;
	border-bottom: 1px solid #e7e5e4;
	color: inherit;
	text-decoration: none;
}

.viotia247-single__news-feed-item:last-child a {
	border-bottom: 0;
}

.viotia247-single__news-feed-item-title {
	display: block;
	margin: 0 0 8px;
	font-family: var( --viotia-font );
	font-size: 0.9375rem;
	font-weight: 700;
	line-height: 1.35;
	color: #111;
}

.viotia247-single__news-feed-item a:hover .viotia247-single__news-feed-item-title,
.viotia247-single__news-feed-item a:focus .viotia247-single__news-feed-item-title {
	color: #374151;
}

.viotia247-single__news-feed-time {
	display: block;
	font-family: var( --viotia-font );
	font-size: 0.75rem;
	color: #6b7280;
}

.viotia247-single__ad-slot {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.viotia247-single__ad-label {
	color: #9ca3af;
	font-size: 0.6875rem;
	font-weight: 500;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.viotia247-single__ad-inner {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
}

.viotia247-single__ad-inner > * {
	max-width: 100%;
}

/* In-content ads */
.viotia247-single__in-content-ad {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	margin: 36px auto;
	max-width: 300px;
	width: 100%;
	text-align: center;
	clear: both;
}

.viotia247-single__in-content-ad .viotia247-single__ad-label {
	width: 100%;
	text-align: center;
}

.viotia247-single__in-content-ad-inner {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
}

.viotia247-single__in-content-ad-inner > * {
	max-width: 100%;
}

.viotia247-single__entry .viotia247-single__in-content-ad + p {
	margin-top: 0;
}

/* Sticky banner 2 on desktop */
@media screen and ( min-width: 992px ) {
	:root {
		--viotia-ad-sticky-top: 16px;
	}

	.viotia247-single__layout--with-sidebar {
		align-items: stretch;
	}

	.viotia247-single__sidebar {
		align-self: stretch;
	}

	.viotia247-single__sidebar-sticky,
	.viotia247-single__sidebar-sticky.viotia247-block-ad--sticky {
		position: sticky;
		top: var( --viotia-ad-sticky-top );
		align-self: flex-start;
		width: 100%;
		z-index: 2;
	}
}

@media screen and ( max-width: 1199px ) {
	.viotia247-single__layout--with-sidebar {
		grid-template-columns: minmax( 0, 1fr ) minmax( 0, 260px );
		gap: 24px;
	}
}

@media screen and ( max-width: 991px ) {
	.site-main--single {
		padding: 20px 0 32px;
	}

	.viotia247-single__layout--with-sidebar {
		grid-template-columns: 1fr;
	}

	.viotia247-single__meta-bar {
		flex-direction: column;
		align-items: flex-start;
	}

	.viotia247-single__meta-date {
		align-items: flex-start;
		text-align: left;
	}

	.viotia247-single__sidebar {
		flex-direction: row;
		flex-wrap: wrap;
		justify-content: center;
		gap: 24px;
	}

	.viotia247-single__news-feed,
	.viotia247-single__ad-slot {
		flex: 1 1 280px;
		max-width: 320px;
	}
}

@media screen and ( max-width: 767px ) {
	.viotia247-single__header {
		text-align: left;
		margin-bottom: 20px;
	}

	.viotia247-single__title {
		width: 100%;
		font-size: clamp( 1.375rem, 6vw, 1.875rem );
	}

	.viotia247-single__sidebar {
		flex-direction: column;
		align-items: stretch;
	}

	.viotia247-single__news-feed,
	.viotia247-single__ad-slot {
		max-width: 100%;
		width: 100%;
	}
}

/* --------------------------------------------------------------------------
   Comments
   -------------------------------------------------------------------------- */

.viotia247-single__comments {
	margin-top: 48px;
	padding-top: 40px;
	border-top: 1px solid #d6d3d1;
}

.viotia247-comments__inner {
	max-width: none;
}

.viotia247-comments__title {
	margin: 0 0 24px;
	font-family: var( --viotia-font );
	font-size: clamp( 1.25rem, 2vw, 1.5rem );
	font-weight: 800;
	color: #111;
}

.viotia247-comments__empty {
	margin: 0 0 8px;
	font-family: var( --viotia-font );
	font-size: 0.875rem;
	font-weight: 400;
	line-height: 1.5;
	color: #9ca3af;
	text-align: center;
}

.viotia247-comments--empty .comment-reply-title {
	display: none;
	margin: 0;
}

.viotia247-comments--empty .viotia247-comments__form-wrap {
	padding-top: 0;
}

.viotia247-comments__list {
	list-style: none;
	margin: 0 0 32px;
	padding: 0;
}

.viotia247-comments__list .children {
	list-style: none;
	margin: 16px 0 0;
	padding: 0 0 0 24px;
	border-left: 2px solid #e7e5e4;
}

.viotia247-comment {
	margin: 0 0 16px;
}

.viotia247-comment__body {
	padding: 18px 20px;
	border: 1px solid #e7e5e4;
	border-radius: 8px;
	background: #fafafa;
}

.viotia247-comment__header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 12px;
}

.viotia247-comment__author {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
}

.viotia247-comment__avatar {
	flex-shrink: 0;
	width: 40px;
	height: 40px;
	border-radius: 999px;
}

.viotia247-comment__nickname {
	display: block;
	font-family: var( --viotia-font );
	font-size: 0.9375rem;
	font-style: normal;
	font-weight: 700;
	color: #111;
}

.viotia247-comment__time {
	display: block;
	margin-top: 2px;
	font-family: var( --viotia-font );
	font-size: 0.75rem;
	color: #6b7280;
}

.viotia247-comment__reply a,
.viotia247-comment__reply a:visited,
.viotia247-comment__reply a:hover,
.viotia247-comment__reply a:focus,
.viotia247-comment__reply a:active {
	font-family: var( --viotia-font );
	font-size: 0.8125rem;
	font-weight: 600;
	color: #6b7280;
	text-decoration: none;
}

.viotia247-comment__reply a:hover,
.viotia247-comment__reply a:focus {
	color: #111;
	text-decoration: underline;
}

.viotia247-comment__awaiting {
	margin: 0 0 10px;
	padding: 8px 12px;
	border-radius: 4px;
	background: #fef3c7;
	font-size: 0.8125rem;
	color: #92400e;
}

.viotia247-comment__content {
	font-family: var( --viotia-font );
	font-size: 0.9375rem;
	line-height: 1.65;
	color: #374151;
}

.viotia247-comment__content > *:first-child {
	margin-top: 0;
}

.viotia247-comment__content > *:last-child {
	margin-bottom: 0;
}

.viotia247-comments__closed {
	margin: 0 0 24px;
	color: #6b7280;
	font-size: 0.9375rem;
}

.viotia247-comments__form-wrap {
	padding-top: 0;
}

.viotia247-comment-form__meta {
	margin: 0 0 18px;
	padding: 14px 16px;
	border: 1px solid #e7e5e4;
	border-radius: 8px;
	background: #fafafa;
}

.viotia247-comment-form__meta-line {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 12px;
	margin: 0;
	font-family: var( --viotia-font );
	font-size: 0.875rem;
	line-height: 1.5;
	color: #6b7280;
}

.viotia247-comment-form__meta-user strong {
	color: #111;
	font-weight: 600;
}

.viotia247-comment-form__meta-links {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}

.viotia247-comment-form__meta-links a,
.viotia247-comment-form__meta-links a:visited,
.viotia247-comment-form__meta-links a:hover,
.viotia247-comment-form__meta-links a:focus,
.viotia247-comment-form__meta-links a:active {
	color: #374151;
	font-weight: 500;
	text-decoration: none;
}

.viotia247-comment-form__meta-links a:hover,
.viotia247-comment-form__meta-links a:focus {
	color: #111;
	text-decoration: underline;
}

.viotia247-comment-form__meta-sep {
	color: #d6d3d1;
}

.viotia247-comment-form__required-note {
	margin: 8px 0 0;
	padding-top: 8px;
	border-top: 1px solid #e7e5e4;
	font-family: var( --viotia-font );
	font-size: 0.75rem;
	line-height: 1.4;
	color: #9ca3af;
}

.viotia247-comment-form .comment-form-author,
.viotia247-comment-form .comment-form-comment,
.viotia247-comment-form .comment-form-captcha,
.viotia247-comment-form .comment-form-url,
.viotia247-comment-form .form-submit {
	margin-bottom: 18px;
}

.viotia247-comment-form label {
	display: block;
	margin-bottom: 8px;
	font-family: var( --viotia-font );
	font-size: 0.875rem;
	font-weight: 600;
	color: #111;
}

.viotia247-comment-form .required {
	color: #c8102e;
}

.viotia247-comment-form input[type="text"],
.viotia247-comment-form input[type="number"],
.viotia247-comment-form textarea {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid #d6d3d1;
	border-radius: 6px;
	background: #fff;
	font-family: var( --viotia-font );
	font-size: 0.9375rem;
	color: #111;
	transition: border-color 0.15s ease;
}

.viotia247-comment-form input[type="text"]:focus,
.viotia247-comment-form input[type="number"]:focus,
.viotia247-comment-form textarea:focus {
	border-color: #111;
	outline: none;
	box-shadow: 0 0 0 3px rgba( 17, 17, 17, 0.08 );
}

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

.viotia247-comment-form__captcha-row {
	display: flex;
	align-items: center;
	gap: 12px;
}

.viotia247-comment-form__captcha-question {
	flex-shrink: 0;
	padding: 10px 14px;
	border-radius: 6px;
	background: #f3f4f6;
	font-family: var( --viotia-font );
	font-size: 1rem;
	font-weight: 700;
	color: #111;
}

.viotia247-comment-form__captcha-row input[type="number"] {
	max-width: 88px;
	text-align: center;
}

.viotia247-comment-form__captcha-hint {
	display: block;
	margin-top: 8px;
	font-size: 0.8125rem;
	color: #6b7280;
}

.viotia247-comment-form__submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 24px;
	border: 0;
	border-radius: 6px;
	background: #111;
	font-family: var( --viotia-font );
	font-size: 0.9375rem;
	font-weight: 700;
	color: #fff;
	cursor: pointer;
	transition: background 0.15s ease;
}

.viotia247-comment-form__submit:hover,
.viotia247-comment-form__submit:focus {
	background: #374151;
	color: #fff;
}

.viotia247-comments .comment-respond {
	margin-top: 24px;
}

.viotia247-comments--empty .comment-respond {
	margin-top: 0;
}

.viotia247-comments .comment-reply-title {
	margin: 0 0 20px;
	font-family: var( --viotia-font );
	font-size: 1.125rem;
	font-weight: 800;
	color: #111;
}

.viotia247-comments .comment-reply-title small {
	margin-left: 8px;
	font-size: 0.8125rem;
	font-weight: 500;
}

.viotia247-comments .comment-navigation {
	margin-bottom: 24px;
}

.viotia247-comments .comment-navigation a,
.viotia247-comments .comment-navigation a:visited {
	font-family: var( --viotia-font );
	font-size: 0.875rem;
	font-weight: 600;
	color: #6b7280;
	text-decoration: none;
}

.viotia247-comments .comment-navigation a:hover,
.viotia247-comments .comment-navigation a:focus {
	color: #111;
	text-decoration: underline;
}

@media screen and ( max-width: 767px ) {
	.viotia247-single__comments {
		margin-top: 32px;
		padding-top: 28px;
	}

	.viotia247-comments__list .children {
		padding-left: 16px;
	}

	.viotia247-comment__header {
		flex-direction: column;
		gap: 10px;
	}

	.viotia247-comment-form__captcha-row {
		flex-wrap: wrap;
	}
}
