/* Shared component styles */

div.main-wokspace {
	display: flex;
	flex-direction: column;
	gap: 64px;
	max-width: 1400px;
	width: var(--theme-container-width);
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 32px;
}

div.main-wokspace[data-workspace-id="1"] {
	margin-top: 32px;
}

div.main-wokspace > div.section {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

h1.promo-custom-h1 {
	text-transform: uppercase;
	font-size: 20px;
	margin-bottom: 0!important;
}

h1.promo-custom-h1 > span.page-number-info {
	opacity: 0.6;
}

div.promo-post-list article {
	display: flex; 
	flex-direction: column;
	width: calc((100% - 32px) / 3);
	position: relative;
	z-index: 1;
	border-radius: var(--theme-border-radius, 8px);
	overflow: hidden;
	background-color: var(--theme-palette-color-13);
}

div.promo-post-list article ul.entry-meta.data-game-info {
	position: absolute;
	top: 16px;
	left: 16px;
	z-index: 2;
}

div.promo-post-list article ul.entry-meta.data-game-info li a, div.promo-post-list article ul.entry-meta.data-game-info-premiere li span {
	display: inline-flex;
	align-items: center;
	margin-top: 2px;
	margin-bottom: 2px;
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	color: var(--theme-palette-color-12);

}

div.promo-post-list article ul.entry-meta.data-game-info-premiere li span {
	padding: 4px 12px;
	background-color: var(--theme-palette-color-1);
	border-radius: 8px;
}

div.promo-post-list article ul.entry-meta.data-game-info li:nth-child(n + 2) {
	display: none;
}

div.promo-post-list article ul.promo-author-date {
	padding: 0 16px;
	margin-bottom: 8px;
}

div.promo-post-list article ul.entry-meta.promo-author-date * {
	font-size: 12px;
	text-transform: uppercase;
	font-weight: 600;
	color: var(--theme-palette-color-20);
}

div.promo-post-list article p.entry-title {
	padding: 0 16px;
	margin-bottom: 0;
}

div.promo-post-list article p.entry-title span.parent-text {
	text-transform: uppercase;
	font-size: 12px;
	font-weight: 400;
}


div.promo-post-list article p.entry-title a, div.promo-post-list article p.entry-title {
	font-size: 18px;
	line-height: 1.3;
	font-weight: 600;
	color: var(--theme-palette-color-15)!important;
	margin-bottom: 16px!important;
}

div.promo-post-list article p.entry-title a:hover {
	color: var(--theme-palette-color-1)!important;
}

div.promo-post-list p.entry-title + a.absolute {
	position: absolute;
	top: 0;
	bottom: 0; 
	left: 0;
	right: 0;
}

div.promo-post-list article a.ct-media-container {
	max-width: 100%;
	margin: 0!important;
	aspect-ratio: 16 / 9;
	margin-bottom: 16px!important;
}


div#wazne.promo-post-list article {
	background-color: var(--theme-palette-color-12);
}

@media (prefers-color-scheme: dark) {
	:root {
		--promo-all-post-link-icon: url(/wp-content/themes/ritzyranger/promo-inc/icons/right-arrow-link-white.svg);

	}

}

@media (prefers-color-scheme: light) {
	:root {
		--promo-all-post-link-icon: url(/wp-content/themes/ritzyranger/promo-inc/icons/right-arrow-link-black.svg);

	}

}

[data-color-mode="dark"] {
	--promo-all-post-link-icon: url(/wp-content/themes/ritzyranger/promo-inc/icons/right-arrow-link-white.svg);

}

[data-color-mode="light"] {
	--promo-all-post-link-icon: url(/wp-content/themes/ritzyranger/promo-inc/icons/right-arrow-link-black.svg);

}


a.promo-all-post-link {
	width: 100%;
	text-align: right;
	text-transform: uppercase;
	font-size: 16px;
	display: flex;
	justify-content: flex-end;
	gap: 16px;
	color: var(--theme-palette-color-15);
	opacity: 0.7;
	font-weight: 600;
}

a.promo-all-post-link:hover {
	transform: translatey(-4px);
}

a.promo-all-post-link:after {
	content: " ";
	width: 16px;
	background-image: var(--promo-all-post-link-icon);
	background-size: contain;
	background-position: right center;
	background-repeat: no-repeat;
	transition: all 0.15s;
}

div.promo-games-detail {
	display: flex;
	gap: 8px;
	justify-content: flex-start;
	margin-bottom: 0px;
	flex-wrap: wrap;
}

div.promo-games-detail a {
	background: var(--theme-palette-color-12);
	color: var(--theme-palette-color-15);
	border-radius: 8px;
	padding: 8px 15px;
	font-weight: 500;
	font-size: 12px;
	text-transform: uppercase;
	border: 1px solid var(--theme-palette-color-6);
	width: max-content;
}

div.promo-games-detail a:hover {
	transform: translatey(-4px);
}

div.promo-release-date {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	font-size: 12px;
	cursor: context-menu;
}

div.promo-release-date span.release-date {
	padding: 8px 15px;
	background: var(--theme-palette-color-12);
	border-radius: 8px;
	border: 1px solid var(--theme-palette-color-6);
	text-transform: uppercase;
}

div.promo-release-date span.date {
	font-weight: 600;
}

div.promo-release-date span.platform-release-date, div.promo-release-date span.release-date-not-know  {
	padding: 8px 15px;
	background: var(--theme-palette-color-12);
	border-radius: 8px;
	opacity: 0.5;
	font-weight: 600;
	border: 1px solid var(--theme-palette-color-6);
	transition: all 0.12s;
}

div.promo-release-date span.platform-release-date:hover {
	opacity: 1;
}

div.promo-games-site p.game-name, div.promo-games-site h1.game-name {
	line-height: 1;
	text-transform: uppercase;
    font-size: 20px;
    margin-bottom: 0 !important;
	font-weight: 700;
}

div.promo-games-site {
	display: flex;
	gap: 16px;
	border-radius: 8px;
	overflow: hidden;
	background: var(--theme-palette-color-13);
	position: relative;
}

body.single article div.promo-games-site {
	background: var(--theme-palette-color-12);
}

div.promo-games-site div.promo-left-side {
	z-index: 2;
	max-width: 300px;
	position: relative;
}

div.promo-games-site div.promo-left-side, div.promo-games-site div.promo-left-side img {
	aspect-ratio: 2 / 3;
	object-fit: cover;
}

div.promo-see-more-about-game {
	position: absolute;
	bottom: 4px;
	left: 4px;
	right: 4px;
	background: var(--theme-palette-color-18);
	padding: 8px;
	border-radius: 4px;
	backdrop-filter: blur(4px);
	text-transform: uppercase;
	font-size: 12px;
	font-weight: 600;
	display: flex;
	gap: 4px;
	align-items: center;
	justify-content: center;
	transition: all 0.12s;
}

div.promo-short-info-about-game:hover div.promo-see-more-about-game { 
	    background: var(--theme-palette-color-19);
}

div.promo-see-more-about-game svg {
	max-width: 12px;
	max-height: 12px;
	fill: var(--theme-link-initial-color)!important;
}

div.promo-see-more-about-game svg * {
	fill: var(--theme-link-initial-color)!important;
}

div.promo-games-site div.promo-right-side {
	max-width: calc(100% - 316px);
	display: flex;
	gap: 24px;
	flex-direction: column;
	padding-top: 16px;
	padding-bottom: 16px;
	padding-right: 16px;
	max-height: 450px;
	overflow-y: auto;
	margin-top: auto;
	margin-bottom: auto;
}

div.game-genere {
	position: absolute;
	top: 8px;
	left: 8px;
	padding-right: 16px;
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}

div.game-genere span {
	padding: 8px 15px;
	background: var(--theme-palette-color-18);
	border-radius: 8px;
	display: inline-block;
	backdrop-filter: blur(10px);
	border: 1px solid var(--theme-palette-color-6);
	opacity: 0.5;
	font-size: 12px;
	text-transform: uppercase;
	transition: all 0.12s;
}

div.promo-games-site:hover div.game-genere span {
	opacity: 1;
}

body.single article div.promo-game-shot-desc {
	font-size: 14px;
}

div.promo-games-site div.promo-right-side:after {
	content: " ";
	position: absolute;
	background: linear-gradient(0deg, var(--theme-palette-color-13) 20%, rgba(255,255,255,0) 100%);
	height: 16px;
	bottom: 0;
	left: 0;
	right: 0;
	opacity: 1;
	z-index: 1;
}

body.single article div.promo-games-site div.promo-right-side:after {
	background: linear-gradient(0deg, var(--theme-palette-color-12) 20%, rgba(255,255,255,0) 100%);
}


@media only screen and (max-width: 600px) {
	div.promo-games-site {
		flex-direction: column;
	}

	div.promo-games-site div.promo-right-side, div.promo-games-site div.promo-left-side {
		max-width: 100%;
		width: 100%;
	}

	div.promo-games-site div.promo-right-side {
		padding-left: 16px;
		max-height: 100%;
	}
}

span.promo-time-to-release {
	font-size: 20px;
	font-weight: 700;
	text-transform: none;
	color: var(--theme-palette-color-1);
}
