/* =========================================================
   RKS RADOMSKO
   SINGLE NEWS
========================================================= */

/* =========================================================
   HERO
========================================================= */

.single-news-hero {
	position: relative;

	display: flex;
	align-items: flex-end;

	overflow: hidden;

	background: #07142b;

	color: #fff;
}

.single-news-hero__image {
	position: absolute;
	inset: 0;

	width: 100%;
	height: 100%;

	object-fit: cover;

	opacity: 0.62;
}

.single-news-hero__overlay {
	position: absolute;
	inset: 0;

	background: linear-gradient(
		90deg,
		rgba(3, 14, 35, 0.96),
		rgba(3, 14, 35, 0.62),
		rgba(3, 14, 35, 0.25)
	);
}

.single-news-hero__content {
	position: relative;

	z-index: 2;

	width: 100%;

	padding: 180px 0 80px;
}

.single-news-hero__badge {
	display: inline-flex;

	align-items: center;

	gap: 8px;

	margin: 10px;

	padding: 9px 16px;

	border-radius: 999px;

	background: #fff101;

	color: #07142b;

	font-size: 12px;
	font-weight: 800;

	letter-spacing: 0.08em;

	text-transform: uppercase;
}

.single-news-hero__date {
	display: block;

	margin-bottom: 16px;

	padding: 10px;

	color: rgba(255, 255, 255, 0.82);

	font-weight: 700;
}

.single-news-hero__title {
	max-width: 1200px;

	margin: 0;

	padding: 15px;

	color: #fff;

	font-family: Outfit, Arial, sans-serif;

	font-size: clamp(38px, 6vw, 72px);

	font-weight: 900;

	line-height: 0.95;

	text-transform: uppercase;

	overflow-wrap: anywhere;
}

/* =========================================================
   ARTICLE SECTION
========================================================= */

.single-news-section {
	position: relative;

	width: 100%;

	padding: 80px 0;

	background: #f4f6fb;

	overflow: hidden;
}

.single-news-layout {
	position: relative;

	z-index: 3;

	width: 100%;
	max-width: 100%;
	min-width: 0;

	margin: -20px auto 0;
}

.single-news-article {
	position: relative;

	width: 100%;
	max-width: 100%;
	min-width: 0;

	padding: clamp(28px, 4vw, 56px);

	background: #fff;

	border-radius: 4px;

	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);

	overflow: hidden;

	box-sizing: border-box;
}

/* =========================================================
   CONTENT ROOT / TINYMCE
========================================================= */

.single-news-article__content {
	width: 100%;
	max-width: 100%;
	min-width: 0;

	color: #18233a;

	font-size: 18px;

	line-height: 1.85;

	overflow-wrap: anywhere;

	word-break: normal;

	box-sizing: border-box;
}

.single-news-article__content * {
	max-width: 100%;

	box-sizing: border-box;
}

/* =========================================================
   PARAGRAPHS
========================================================= */

.single-news-article__content p {
	max-width: 100%;

	margin: 0 0 1.35em;

	overflow-wrap: anywhere;

	word-break: break-word;
}

/* =========================================================
   HEADINGS
========================================================= */

.single-news-article__content h1,
.single-news-article__content h2,
.single-news-article__content h3,
.single-news-article__content h4,
.single-news-article__content h5,
.single-news-article__content h6 {
	max-width: 100%;

	margin: 1.6em 0 0.65em;

	color: #07142b;

	font-family: Outfit, Arial, sans-serif;

	font-weight: 900;

	line-height: 1.15;

	overflow-wrap: anywhere;

	word-break: break-word;
}

.single-news-article__content h1 {
	font-size: clamp(30px, 3.5vw, 44px);
}

.single-news-article__content h2 {
	font-size: clamp(28px, 3vw, 38px);
}

.single-news-article__content h3 {
	font-size: clamp(24px, 2.5vw, 32px);
}

.single-news-article__content h4 {
	font-size: clamp(20px, 2vw, 26px);
}

.single-news-article__content h5,
.single-news-article__content h6 {
	font-size: 18px;
}

/* =========================================================
   LINKS
========================================================= */

.single-news-article__content a {
	max-width: 100%;

	color: #016eff;

	overflow-wrap: anywhere;

	word-break: break-word;

	text-underline-offset: 3px;
}

/* =========================================================
   INLINE
========================================================= */

.single-news-article__content strong {
	font-weight: 800;
}

.single-news-article__content em {
	font-style: italic;
}

/* =========================================================
   LISTS
========================================================= */

.single-news-article__content ul,
.single-news-article__content ol {
	max-width: 100%;

	margin: 0 0 1.4em;

	padding-left: 1.6em;
}

.single-news-article__content li {
	margin-bottom: 0.4em;

	overflow-wrap: anywhere;

	word-break: break-word;
}

/* =========================================================
   IMAGES
========================================================= */

.single-news-article__content img {
	display: block;

	width: auto;

	max-width: 100% !important;

	height: auto !important;

	margin: 30px auto;

	border-radius: 12px;

	object-fit: contain;
}

/* =========================================================
   FIGURE
========================================================= */

.single-news-article__content figure {
	width: 100% !important;
	max-width: 100% !important;

	margin: 30px auto;
}

.single-news-article__content figure img {
	margin: 0 auto;
}

.single-news-article__content figcaption {
	margin-top: 10px;

	color: #667085;

	font-size: 14px;

	line-height: 1.5;

	text-align: center;
}

/* =========================================================
   TABLE
========================================================= */

.single-news-article__content table {
	display: block;

	width: 100% !important;
	max-width: 100% !important;

	margin: 30px 0;

	border-collapse: collapse;

	overflow-x: auto;

	-webkit-overflow-scrolling: touch;
}

.single-news-article__content th,
.single-news-article__content td {
	padding: 10px 12px;

	border: 1px solid #dde3ec;

	vertical-align: top;

	overflow-wrap: anywhere;

	word-break: break-word;
}

/* =========================================================
   BLOCKQUOTE
========================================================= */

.single-news-article__content blockquote {
	max-width: 100%;

	margin: 32px 0;

	overflow-wrap: anywhere;

	word-break: break-word;
}

/* =========================================================
   HR
========================================================= */

.single-news-article__content hr {
	width: 100%;

	margin: 34px 0;

	border: 0;

	border-top: 1px solid #dce2ea;
}

/* =========================================================
   CODE
========================================================= */

.single-news-article__content pre,
.single-news-article__content code {
	max-width: 100%;

	white-space: pre-wrap;

	overflow-wrap: anywhere;

	word-break: break-word;
}

.single-news-article__content pre {
	overflow-x: auto;
}

/* =========================================================
   IFRAME
========================================================= */

.single-news-article__content iframe {
	display: block;

	width: 100%;
	max-width: 100%;

	border: 0;
}

/* =========================================================
   RKS HIGHLIGHT
========================================================= */

.rks-news-highlight {
	position: relative;

	width: 100%;
	max-width: 100%;

	margin: 34px 0;

	padding: 26px 28px;

	background: linear-gradient(135deg, #07142b 0%, #0b1e3d 100%);

	border-left: 5px solid #fff101;

	border-radius: 10px;

	color: #fff;

	box-shadow: 0 14px 32px rgba(0, 0, 0, 0.1);

	overflow: hidden;
}

.rks-news-highlight strong {
	display: block;

	margin-bottom: 8px;

	color: #fff101;

	font-size: 20px;
	font-weight: 800;

	line-height: 1.3;
}

.rks-news-highlight p {
	margin: 0;

	color: #fff;

	line-height: 1.7;
}

/* =========================================================
   RKS QUOTE
========================================================= */

.rks-news-quote {
	position: relative;

	width: 100%;
	max-width: 100%;

	margin: 36px 0;

	padding: 26px 30px 26px 34px;

	background: #f6f8fc;

	border: 1px solid rgba(1, 110, 255, 0.12);

	border-left: 5px solid #016eff;

	border-radius: 10px;

	color: #17243a;

	font-size: 19px;
	font-style: italic;

	line-height: 1.7;

	box-shadow: 0 12px 30px rgba(10, 28, 60, 0.06);

	overflow-wrap: anywhere;
}

.rks-news-quote p {
	margin: 0;
}

.rks-news-quote-author {
	display: block;

	margin-top: 16px;

	color: #016eff;

	font-size: 14px;
	font-style: normal;
	font-weight: 800;

	letter-spacing: 0.02em;
}

.rks-news-quote-author::before {
	content: "— ";
}

/* =========================================================
   RKS VIDEO
========================================================= */

.rks-news-video {
	position: relative;

	width: 100%;
	max-width: 100%;

	aspect-ratio: 16 / 9;

	margin: 36px 0;

	overflow: hidden;

	background: #07142b;

	border-radius: 12px;

	box-shadow: 0 16px 36px rgba(0, 0, 0, 0.14);
}

.rks-news-video iframe {
	position: absolute;

	inset: 0;

	width: 100%;
	height: 100%;

	border: 0;
}

/* =========================================================
   RKS GALLERY
========================================================= */

.rks-news-gallery {
	display: grid;

	grid-template-columns:
		160px
		minmax(0, 1fr)
		44px;

	align-items: center;

	gap: 20px;

	width: 100%;
	max-width: 760px;

	margin: 34px 0;

	padding: 10px;

	background: #f7f9fd;

	border: 1px solid rgba(1, 110, 255, 0.16);

	border-radius: 14px;

	color: #07142b !important;

	text-decoration: none !important;

	overflow: hidden;

	transition:
		transform 0.2s ease,
		box-shadow 0.2s ease,
		border-color 0.2s ease;
}

.single-news-article__content .rks-news-gallery__thumb {
	display: block;

	width: 160px !important;
	height: 105px !important;

	max-width: none !important;

	margin: 0;

	object-fit: cover;

	border-radius: 9px;
}

.rks-news-gallery__body {
	display: block;

	min-width: 0;
}

.rks-news-gallery__label {
	display: block;

	margin-bottom: 6px;

	color: #016eff;

	font-size: 11px;
	font-weight: 900;

	line-height: 1;

	text-transform: uppercase;

	letter-spacing: 0.08em;
}

.rks-news-gallery__title {
	display: block;

	color: #07142b;

	font-size: 17px;
	font-weight: 900;

	line-height: 1.25;

	overflow-wrap: anywhere;
}

.rks-news-gallery__text {
	display: block;

	margin-top: 6px;

	color: #667085;

	font-size: 13px;
	font-weight: 600;

	overflow-wrap: anywhere;
}

.rks-news-gallery__arrow {
	display: flex;

	align-items: center;
	justify-content: center;

	width: 40px;
	height: 40px;

	border: 1px solid rgba(1, 110, 255, 0.25);

	border-radius: 50%;

	color: #016eff;

	font-size: 21px;

	line-height: 1;

	transition:
		background 0.2s ease,
		color 0.2s ease,
		transform 0.2s ease;
}

.rks-news-gallery:hover {
	transform: translateY(-2px);

	border-color: rgba(1, 110, 255, 0.35);

	box-shadow: 0 12px 30px rgba(7, 20, 43, 0.09);
}

.rks-news-gallery:hover .rks-news-gallery__arrow {
	background: #016eff;

	color: #fff;

	transform: translateX(2px);
}

/* =========================================================
   RKS CTA
========================================================= */

.rks-news-cta-wrap {
	width: 100%;
	max-width: 100%;

	margin: 28px 0;
}

.rks-news-cta {
	display: inline-flex;

	align-items: center;
	justify-content: center;

	max-width: 100%;

	min-height: 48px;

	padding: 13px 22px;

	background: #016eff;

	border: 2px solid #016eff;

	border-radius: 7px;

	color: #fff !important;

	font-size: 15px;
	font-weight: 800;

	text-decoration: none !important;

	overflow-wrap: anywhere;

	transition:
		transform 0.2s ease,
		background 0.2s ease,
		border-color 0.2s ease,
		box-shadow 0.2s ease;
}

.rks-news-cta:hover {
	transform: translateY(-2px);

	background: #005bd6;

	border-color: #005bd6;

	box-shadow: 0 10px 24px rgba(1, 110, 255, 0.22);
}

/* =========================================================
   LATEST NEWS
========================================================= */

.single-news-latest {
	margin-top: 64px;
}

.single-news-latest__top {
	display: flex;

	align-items: end;
	justify-content: space-between;

	gap: 24px;

	margin-bottom: 26px;
}

.single-news-latest__eyebrow {
	display: inline-flex;

	margin-bottom: 8px;

	color: #0b56b3;

	font-size: 13px;
	font-weight: 900;

	text-transform: uppercase;

	letter-spacing: 0.12em;
}

.single-news-latest__title {
	margin: 0;

	color: #07142b;

	font-family: Outfit, Arial, sans-serif;

	font-size: clamp(30px, 4vw, 52px);

	font-weight: 900;

	text-transform: uppercase;

	line-height: 0.95;
}

.single-news-latest__all {
	display: inline-flex;

	align-items: center;

	gap: 10px;

	flex: 0 0 auto;

	padding: 12px 18px;

	border-radius: 999px;

	background: #f2c200;

	color: #07142b;

	font-weight: 900;

	text-decoration: none;
}

.single-news-latest-grid {
	display: grid;

	grid-template-columns: repeat(4, minmax(0, 1fr));

	gap: 22px;

	margin: 50px 20px;
}

/* =========================================================
   LATEST CARD
========================================================= */

.single-news-card {
	min-width: 0;
}

.single-news-card__link {
	display: block;

	height: 100%;

	background: #fff;

	overflow: hidden;

	color: inherit;

	text-decoration: none;

	box-shadow: 0 18px 45px rgba(0, 0, 0, 0.08);

	transition:
		transform 0.25s ease,
		box-shadow 0.25s ease;
}

.single-news-card__link:hover {
	transform: translateY(-5px);

	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.13);
}

.single-news-card__image {
	position: relative;

	aspect-ratio: 16 / 10;

	background: #07142b;

	overflow: hidden;
}

.single-news-card__image img {
	width: 100%;
	height: 100%;

	object-fit: cover;

	transition: transform 0.35s ease;
}

.single-news-card__link:hover .single-news-card__image img {
	transform: scale(1.06);
}

.single-news-card__body {
	padding: 18px 18px 20px;
}

.single-news-card__meta {
	display: flex;

	align-items: center;

	gap: 10px;

	flex-wrap: wrap;

	margin-bottom: 12px;
}

.single-news-card__category {
	display: inline-flex;

	padding: 6px 10px;

	border-radius: 999px;

	background: #fff101;

	color: #07142b;

	font-size: 11px;
	font-weight: 900;

	text-transform: uppercase;

	letter-spacing: 0.06em;
}

.single-news-card__date {
	color: #667085;

	font-size: 13px;
	font-weight: 800;
}

.single-news-card__title {
	margin: 0;

	color: #07142b;

	font-family: Outfit, Arial, sans-serif;

	font-size: 19px;
	font-weight: 900;

	line-height: 1.15;

	overflow-wrap: anywhere;
}

/* =========================================================
   LIKE
========================================================= */

.single-news-like {
	display: flex;

	justify-content: center;

	margin-top: 34px;
}

.single-news-like__btn {
	display: inline-flex;

	align-items: center;
	justify-content: center;

	gap: 11px;

	min-width: 190px;
	min-height: 54px;

	padding: 13px 24px;

	border: 0;

	border-radius: 999px;

	background: #07142b;

	color: #fff;

	font-family: Outfit, Arial, sans-serif;

	font-size: 15px;
	font-weight: 900;

	text-transform: uppercase;

	cursor: pointer;

	box-shadow: 0 12px 28px rgba(7, 20, 43, 0.18);

	transition:
		transform 0.2s ease,
		background 0.2s ease,
		color 0.2s ease,
		opacity 0.2s ease;
}

.single-news-like__btn:hover:not(:disabled) {
	transform: translateY(-3px);

	background: #0b56b3;
}

.single-news-like__btn.is-liked,
.single-news-like__btn:disabled {
	background: #fff101;

	color: #07142b;

	cursor: default;

	opacity: 1;
}

.single-news-like__btn.is-loading {
	opacity: 0.65;

	pointer-events: none;
}

.single-news-like__icon {
	width: 60px;
	height: 60px;

	object-fit: contain;

	flex: 0 0 auto;

	transition:
		transform 0.25s ease,
		filter 0.25s ease;
}

.single-news-like__count {
	display: inline-flex;

	align-items: center;
	justify-content: center;

	min-width: 30px;
	height: 30px;

	padding: 0 9px;

	border-radius: 999px;

	background: rgba(255, 255, 255, 0.14);

	font-size: 13px;
}

.single-news-like__message {
	margin: 12px 0 0;

	color: #667085;

	font-size: 13px;
	font-weight: 700;

	text-align: center;
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1199px) {
	.single-news-latest-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {
	.single-news-hero__content {
		padding: 130px 0 62px;
	}

	.single-news-hero__title {
		padding: 10px;

		font-size: clamp(34px, 10vw, 52px);

		line-height: 1;
	}

	.single-news-section {
		padding: 54px 0;
	}

	.single-news-layout {
		margin-top: -42px;
	}

	.single-news-article {
		padding: 28px 20px;
	}

	.single-news-article__content {
		font-size: 16px;

		line-height: 1.72;
	}

	.single-news-article__content p,
	.single-news-article__content h1,
	.single-news-article__content h2,
	.single-news-article__content h3,
	.single-news-article__content h4,
	.single-news-article__content h5,
	.single-news-article__content h6,
	.single-news-article__content li,
	.single-news-article__content blockquote {
		text-align: left !important;
	}

	.single-news-article__content p {
		margin-bottom: 1.25em;
	}

	.single-news-article__content h1 {
		font-size: 30px;
	}

	.single-news-article__content h2 {
		font-size: 28px;
	}

	.single-news-article__content h3 {
		font-size: 24px;
	}

	.single-news-article__content h4 {
		font-size: 20px;
	}

	.single-news-article__content ul,
	.single-news-article__content ol {
		padding-left: 1.3em;
	}

	.rks-news-highlight {
		padding: 22px 20px;
	}

	.rks-news-quote {
		padding: 22px 20px;

		font-size: 17px;
	}

	.rks-news-cta {
		width: 100%;
	}

	.single-news-latest__top {
		align-items: flex-start;

		flex-direction: column;
	}
}

/* =========================================================
   GALLERY MOBILE
========================================================= */

@media (max-width: 600px) {
	.rks-news-gallery {
		grid-template-columns:
			92px
			minmax(0, 1fr)
			34px;

		gap: 12px;

		padding: 8px;
	}

	.single-news-article__content .rks-news-gallery__thumb {
		width: 92px !important;
		height: 76px !important;
	}

	.rks-news-gallery__text {
		display: none;
	}

	.rks-news-gallery__arrow {
		width: 32px;
		height: 32px;
	}
}

/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 575px) {
	.single-news-latest-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 480px) {
	.single-news-hero__content {
		padding: 115px 0 54px;
	}

	.single-news-hero__title {
		font-size: clamp(30px, 10vw, 42px);
	}

	.single-news-section {
		padding-top: 44px;
	}

	.single-news-layout {
		margin-top: -34px;
	}

	.single-news-article {
		padding: 24px 17px;
	}

	.single-news-article__content {
		font-size: 16px;

		line-height: 1.68;
	}

	.single-news-like__btn {
		width: 100%;

		max-width: 310px;
	}
}

/* =========================================================
   PREVIEW BAR
========================================================= */

.news-preview-bar {
	position: relative;

	z-index: 999999;

	display: flex;

	align-items: center;
	justify-content: center;

	gap: 24px;

	width: 100%;
	min-height: 48px;

	padding: 8px 20px;

	background: #fff101;

	color: #07142b;

	font-family: Outfit, Arial, sans-serif;

	font-size: 14px;

	box-sizing: border-box;
}

.news-preview-bar__info {
	display: flex;

	align-items: center;

	gap: 10px;
}

.news-preview-bar__back {
	appearance: none;

	padding: 7px 13px;

	border: 1px solid rgba(7, 20, 43, 0.25);

	border-radius: 8px;

	background: #07142b;

	color: #fff;

	font: inherit;

	font-size: 13px;
	font-weight: 800;

	cursor: pointer;
}

@media (max-width: 700px) {
	.news-preview-bar {
		flex-direction: column;

		gap: 7px;

		padding: 10px 15px;
	}

	.news-preview-bar__info {
		flex-direction: column;

		gap: 2px;

		text-align: center;
	}

	.news-preview-bar__back {
		width: 100%;

		max-width: 240px;
	}
}

/* =========================================================
   PREVIEW MODE
========================================================= */

.news-preview-mode .single-news-article__content a,
.news-preview-mode .single-news-article__content button,
.news-preview-mode .single-news-article__content iframe,
.news-preview-mode .single-news-article__content [onclick] {
	pointer-events: none;
}
