/*
Theme Name: GeneratePress Child
Theme URI: https://example.com/
Description: GeneratePress child theme with an APK/game download layout inspired by the S92-style public page structure.
Author: Codex
Template: generatepress
Version: 1.0.20
Text Domain: s92-game-gp-child
*/

:root {
	--s92-accent: #b72d82;
	--s92-accent-dark: #9f216e;
	--s92-text: #252525;
	--s92-muted: #666;
	--s92-panel: #f8f9fb;
	--s92-line: #b72d82;
	--s92-border: #d7d7df;
	--s92-max: 1140px;
}

body {
	background: #f3f4f6;
	color: var(--s92-text);
	font-family: Arial, Helvetica, sans-serif;
}

a {
	color: var(--s92-accent);
}

.site-header {
	background: #fff;
}

.inside-header {
	align-items: center;
	display: flex;
	gap: 26px;
	justify-content: space-between;
	max-width: var(--s92-max);
	padding: 22px 20px;
}

.main-title a,
.site-branding .main-title a {
	color: #222;
	font-size: 28px;
	font-weight: 700;
}

.main-navigation,
.main-navigation ul ul {
	background: #fff;
}

.main-navigation {
	margin-left: auto;
}

.main-navigation .main-nav ul li a,
.menu-toggle,
.main-navigation .menu-bar-items {
	color: var(--s92-accent);
	font-size: 15px;
	line-height: 44px;
	padding-left: 20px;
	padding-right: 20px;
}

.main-navigation .main-nav ul li[class*="current-menu-"] > a,
.main-navigation .main-nav ul li:hover > a,
.main-navigation .main-nav ul li:focus > a {
	background: transparent;
	color: var(--s92-accent-dark);
}

.site-content {
	padding: 0 20px 30px;
}

.s92-hero-band {
	background: var(--s92-accent);
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	min-height: 206px;
	padding: 46px 20px 92px;
	text-align: center;
}

body.archive .s92-hero-band,
body.search .s92-hero-band {
	padding-top: 70px;
	padding-bottom: 120px;
}

.page:not(.home) .s92-hero-band {
	padding-top: 46px;
	padding-bottom: 140px;
}

.home .s92-hero-band,
.single-post .s92-hero-band {
	min-height: 200px;
	padding-bottom: 104px;
}

.single-post .s92-hero-band {
	padding-top: 46px;
	padding-bottom: 148px;
}

.s92-hero-title {
	color: #fff;
	font-size: 42px;
	font-weight: 400;
	line-height: 1.2;
	margin: 0 0 48px;
}

.s92-search {
	align-items: center;
	background: #fff;
	border-radius: 8px;
	display: flex;
	gap: 10px;
	margin: 0 auto;
	max-width: 452px;
	padding: 7px;
}

.s92-search input[type="search"] {
	background: #f5f6f8;
	border: 1px solid #e1e2e8;
	border-radius: 8px;
	box-shadow: none;
	color: #333;
	flex: 1;
	font-size: 17px;
	height: 48px;
	margin: 0;
	padding: 0 16px;
}

.s92-search button {
	align-items: center;
	background: transparent;
	border: 0;
	color: #0077ff;
	cursor: pointer;
	display: flex;
	font-size: 25px;
	height: 44px;
	justify-content: center;
	padding: 0 10px;
	width: 44px;
}

.site-main,
.content-area,
.inside-article {
	min-width: 0;
}

.page .site-main,
.single-post .site-main {
	max-width: var(--s92-max);
	margin: 0 auto;
}

.page .inside-article,
.single-post .inside-article {
	background: var(--s92-panel);
	border-radius: 8px;
	box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
	margin: -110px auto 30px;
	max-width: var(--s92-max);
	padding: 10px;
	position: relative;
	z-index: 2;
}

.page:not(.home) .inside-article {
	margin-top: -98px;
}

.home .inside-article,
.single-post .inside-article {
	margin-top: -120px;
}

.single-post .post-image,
.single-post .featured-image,
.single-post .page-header-image-single,
.single-post .inside-article > figure:first-child,
.single-post .inside-article > img:first-child,
.single-post .inside-article > .wp-post-image:first-child {
	display: none !important;
}

.page .entry-header,
.single-post .entry-header {
	border: 2px solid var(--s92-line);
	border-radius: 8px;
	margin: 0 0 10px;
	padding: 14px 11.5%;
}

.page:not(.home) .entry-header {
	display: none;
}

.page .entry-title,
.single-post .entry-title {
	color: var(--s92-accent);
	font-size: 30px;
	font-weight: 700;
	line-height: 1.25;
	margin: 0;
	padding-bottom: 12px;
}

.page .entry-title::after,
.single-post .entry-title::after {
	background: var(--s92-accent);
	content: "";
	display: block;
	height: 3px;
	margin-top: 12px;
	width: 100%;
}

.s92-entry-meta-row {
	color: var(--s92-accent);
	display: flex;
	font-size: 16px;
	justify-content: space-between;
	line-height: 1.5;
	margin-top: 12px;
}

.page .entry-content,
.single-post .entry-content {
	border: 2px solid var(--s92-line);
	border-radius: 8px;
	font-size: 17px;
	line-height: 1.55;
	margin: 0;
	padding: 12px;
}

.page .entry-content > *:first-child,
.single-post .entry-content > *:first-child {
	margin-top: 0;
}

.page .entry-content > *:last-child,
.single-post .entry-content > *:last-child {
	margin-bottom: 0;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
	color: var(--s92-text);
	font-weight: 700;
	line-height: 1.25;
}

.entry-content h2 {
	font-size: 28px;
	margin: 28px 0 14px;
}

.entry-content h3 {
	font-size: 22px;
	margin: 22px 0 10px;
}

.entry-content img {
	border-radius: 4px;
	display: block;
	height: auto;
	margin-left: auto;
	margin-right: auto;
	max-width: 100%;
}

.s92-app-box {
	border: 2px solid var(--s92-line);
	border-radius: 8px;
	margin-bottom: 10px;
	padding: 20px;
}

.s92-app-head {
	align-items: center;
	display: flex;
	gap: 42px;
	margin-bottom: 16px;
}

.s92-app-icon {
	border: 2px solid var(--s92-line);
	border-radius: 8px;
	height: 120px;
	object-fit: cover;
	padding: 6px;
	width: 120px;
}

.s92-app-title {
	color: #3c3c3c;
	font-size: 30px;
	font-weight: 700;
	line-height: 1.25;
	margin: 0 0 4px;
}

.s92-rating {
	color: #1f1f1f;
	font-size: 17px;
	font-weight: 700;
}

.s92-rating span {
	color: var(--s92-accent);
}

.s92-download-btn {
	background: var(--s92-accent);
	border-radius: 8px;
	color: #fff !important;
	display: block;
	font-size: 23px;
	line-height: 50px;
	margin-top: 12px;
	text-align: center;
	text-decoration: none;
	transition: background 0.2s ease;
	width: 100%;
}

.s92-download-btn:hover {
	background: var(--s92-accent-dark);
}

.s92-info-grid {
	display: grid;
	gap: 6px;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	margin: 10px 0 18px;
}

.s92-info-item {
	background: #fff;
	border: 1px solid #c7c9d4;
	border-radius: 8px;
	min-height: 124px;
	padding: 18px 10px 14px;
	text-align: center;
}

.s92-info-icon {
	color: var(--s92-accent);
	display: block;
	font-size: 28px;
	line-height: 1;
	margin-bottom: 9px;
}

.s92-info-label {
	display: block;
	font-size: 18px;
	font-weight: 700;
	margin-bottom: 7px;
}

.s92-info-value {
	color: #333;
	font-size: 17px;
}

.s92-notice {
	border: 2px solid var(--s92-line);
	border-radius: 8px;
	color: var(--s92-accent);
	font-size: 17px;
	font-weight: 700;
	line-height: 1.45;
	margin: 10px 0 0;
	padding: 12px;
}

.s92-single-shell {
	display: grid;
	gap: 20px;
	grid-template-columns: minmax(0, 846px) 274px;
	margin: -110px auto 60px;
	max-width: var(--s92-max);
	position: relative;
	z-index: 2;
}

.s92-single-main {
	background: var(--s92-panel);
	border-radius: 8px;
	box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
	min-height: 520px;
	padding: 10px;
}

.s92-single-article {
	margin: 0;
}

.s92-single-content {
	border: 2px solid var(--s92-line);
	border-radius: 8px;
	font-size: 17px;
	line-height: 1.55;
	min-height: 180px;
	padding: 20px;
}

.s92-single-content > *:first-child {
	margin-top: 0;
}

.s92-single-content > *:last-child {
	margin-bottom: 0;
}

.s92-single-content h2,
.s92-single-content h3,
.s92-single-content h4 {
	color: var(--s92-text);
	font-weight: 700;
	line-height: 1.25;
}

.s92-single-content h2 {
	font-size: 28px;
	margin: 28px 0 14px;
}

.s92-single-content h3 {
	font-size: 22px;
	margin: 22px 0 10px;
}

.s92-single-content img {
	border-radius: 4px;
	display: block;
	height: auto;
	margin-left: auto;
	margin-right: auto;
	max-width: 100%;
}

.s92-single-sidebar {
	margin-top: 0;
}

.s92-cards-grid {
	align-items: start;
	display: grid;
	gap: 20px;
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.s92-card {
	background: #fff;
	border: 1px solid var(--s92-line);
	border-radius: 8px;
	color: var(--s92-text);
	display: flex;
	flex-direction: column;
	height: 200px;
	justify-content: flex-start;
	padding: 10px;
	text-align: center;
	text-decoration: none;
}

.s92-card:hover {
	box-shadow: 0 8px 20px rgba(183, 45, 130, 0.15);
	color: var(--s92-text);
}

.s92-card img,
.s92-card-placeholder {
	border-radius: 50%;
	flex: 0 0 auto;
	height: 76px;
	margin: 0 auto 14px;
	object-fit: cover;
	width: 76px;
}

.s92-card-placeholder {
	align-items: center;
	background: #191919;
	color: #fff;
	display: flex;
	font-size: 18px;
	font-weight: 700;
	justify-content: center;
	letter-spacing: 0;
}

.s92-card-title {
	display: -webkit-box;
	font-size: 16px;
	line-height: 1.35;
	margin: 0 auto 7px;
	max-width: 150px;
	min-height: 43px;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.s92-card-date {
	color: #222;
	font-size: 12px;
}

.s92-recommendations {
	border: 2px solid var(--s92-line);
	border-radius: 8px;
	margin-top: 10px;
	padding: 24px 20px 30px;
}

.s92-recommendations-title {
	border-bottom: 3px solid var(--s92-accent);
	color: var(--s92-accent);
	font-size: 23px;
	font-weight: 700;
	line-height: 1.25;
	margin: 0 0 28px;
	padding-bottom: 10px;
}

.s92-recommendations-grid {
	display: grid;
	gap: 20px;
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.s92-recommendation-card {
	align-items: center;
	background: #fff;
	border: 1px solid var(--s92-line);
	border-radius: 8px;
	color: var(--s92-text) !important;
	display: grid;
	gap: 12px;
	grid-template-columns: 66px minmax(0, 1fr);
	min-height: 88px;
	padding: 10px 12px;
	text-decoration: none;
	transition: box-shadow 0.2s ease, transform 0.2s ease;
	will-change: transform;
}

.s92-recommendation-card:hover {
	box-shadow: 0 8px 18px rgba(183, 45, 130, 0.18);
	transform: translateY(-4px);
}

.s92-recommendation-card img {
	border-radius: 50%;
	height: 56px;
	object-fit: cover;
	width: 56px;
}

.s92-recommendation-card strong {
	color: var(--s92-text);
	display: -webkit-box;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.3;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.s92-recommendation-card em {
	color: #222;
	display: block;
	font-size: 11px;
	font-style: normal;
	margin-top: 3px;
}

body.archive .page-header,
body.search .page-header {
	display: none;
}

body.archive .site-content {
	padding-bottom: 30px;
}

.s92-archive-shell {
	display: grid;
	gap: 20px;
	grid-template-columns: minmax(0, 1fr) 274px;
	margin: -80px auto 60px;
	max-width: var(--s92-max);
	position: relative;
	z-index: 2;
}

.s92-archive-grid {
	align-items: start;
	background: var(--s92-panel);
	border-radius: 8px;
	box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
	display: grid;
	gap: 20px;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	padding: 50px 30px;
}

.s92-archive-sidebar {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.s92-sidebar-panel {
	background: var(--s92-panel);
	border: 2px solid var(--s92-line);
	border-radius: 8px;
	padding: 12px;
}

.s92-sidebar-panel h2 {
	border-bottom: 3px solid var(--s92-accent);
	color: var(--s92-accent);
	font-size: 24px;
	font-weight: 700;
	line-height: 1.2;
	margin: 0 0 18px;
	padding-bottom: 10px;
}

.s92-social-row {
	display: flex;
	gap: 20px;
	justify-content: center;
}

.s92-social {
	border-radius: 50%;
	box-shadow: 0 2px 7px rgba(0, 0, 0, 0.18);
	height: 58px;
	object-fit: cover;
	width: 58px;
}

.s92-pick {
	align-items: center;
	background: #fff;
	border-radius: 8px;
	display: flex;
	gap: 12px;
	margin-bottom: 12px;
	padding: 8px;
	text-decoration: none;
}

.s92-pick img {
	border: 3px solid #fff;
	border-radius: 8px;
	box-shadow: 0 1px 5px rgba(0, 0, 0, 0.25);
	flex: 0 0 auto;
	height: 58px;
	object-fit: cover;
	width: 58px;
}

.s92-pick strong {
	color: var(--s92-text);
	display: -webkit-box;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.35;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.s92-pick em {
	color: var(--s92-accent);
	display: block;
	font-size: 12px;
	font-style: normal;
	margin-top: 3px;
}

.s92-pagination {
	grid-column: 1 / -1;
	margin-top: 8px;
	padding-top: 6px;
	text-align: center;
}

.s92-pagination-nav {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	justify-content: center;
}

.s92-pagination .page-numbers {
	align-items: center;
	background: var(--s92-accent);
	border-radius: 8px;
	color: #fff;
	display: inline-flex;
	font-size: 16px;
	font-weight: 600;
	height: 36px;
	justify-content: center;
	line-height: 1;
	min-width: 48px;
	padding: 0 14px;
	text-decoration: none;
}

.s92-pagination .page-numbers.current,
.s92-pagination .page-numbers:hover,
.s92-pagination .page-numbers:focus {
	background: var(--s92-accent-dark);
	color: #fff;
}

.s92-pagination .page-numbers.dots {
	background: var(--s92-accent);
	color: #fff;
}

body.archive .site-main,
body.search .site-main {
	background: var(--s92-panel);
	border-radius: 8px;
	box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
	display: grid;
	gap: 20px;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin: -110px auto 30px;
	max-width: var(--s92-max);
	padding: 50px 30px;
	position: relative;
	z-index: 2;
}

body.archive .site-main article,
body.search .site-main article {
	margin: 0;
}

body.archive .site-main article .inside-article,
body.search .site-main article .inside-article {
	background: #fff;
	border: 1px solid var(--s92-line);
	border-radius: 8px;
	min-height: 198px;
	padding: 10px;
	text-align: center;
}

body.archive .post-image,
body.search .post-image {
	margin: 0 0 14px;
}

body.archive .post-image img,
body.search .post-image img {
	border-radius: 50%;
	height: 76px;
	object-fit: cover;
	width: 76px;
}

body.archive .entry-title,
body.search .entry-title {
	font-size: 16px;
	font-weight: 400;
	line-height: 1.35;
	margin: 0 auto 7px;
	max-width: 160px;
}

body.archive .entry-title a,
body.search .entry-title a {
	color: var(--s92-text);
}

body.archive .entry-meta,
body.search .entry-meta {
	color: #222;
	font-size: 12px;
}

body.archive .entry-summary,
body.search .entry-summary,
body.archive footer.entry-meta,
body.search footer.entry-meta {
	display: none;
}

.single-post footer.entry-meta,
.single-post .comments-area {
	display: none;
}

body.archive .paging-navigation,
body.search .paging-navigation,
body.archive .nav-links,
body.search .nav-links {
	grid-column: 1 / -1;
}

.sidebar .widget {
	background: var(--s92-panel);
	border: 2px solid var(--s92-line);
	border-radius: 8px;
	margin-bottom: 16px;
	padding: 14px;
}

.sidebar .widget-title {
	border-bottom: 3px solid var(--s92-accent);
	color: var(--s92-accent);
	font-size: 24px;
	font-weight: 700;
	margin-bottom: 16px;
	padding-bottom: 8px;
}

.s92-footer-strip {
	background: var(--s92-accent);
	color: #fff;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	padding: 34px 20px 36px;
}

.s92-footer-inner {
	display: grid;
	gap: 44px;
	grid-template-columns: 1.05fr 1fr 1fr;
	margin: 0 auto;
	max-width: var(--s92-max);
}

.s92-footer-title,
.s92-footer-strip .widget-title {
	border-bottom: 3px solid #fff;
	color: #fff;
	font-size: 23px;
	font-weight: 700;
	margin: 0 0 18px;
	padding-bottom: 8px;
}

.s92-footer-brand-block {
	align-items: center;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 160px;
}

.s92-footer-brand {
	align-items: center;
	display: flex;
	font-size: 34px;
	font-style: italic;
	font-weight: 700;
	letter-spacing: 1px;
	margin-bottom: 22px;
}

.s92-footer-socials {
	display: flex;
	gap: 14px;
	justify-content: center;
}

.s92-footer-social {
	align-items: center;
	border: 2px solid #fff;
	border-radius: 50%;
	color: #fff !important;
	display: flex;
	font-size: 15px;
	font-weight: 700;
	height: 32px;
	justify-content: center;
	line-height: 1;
	text-decoration: none;
	width: 32px;
}

.s92-footer-posts {
	min-height: 160px;
}

.s92-footer-latest {
	display: grid;
	gap: 12px;
}

.s92-footer-latest-item {
	align-items: center;
	color: #fff !important;
	display: grid;
	gap: 14px;
	grid-template-columns: 70px minmax(0, 1fr);
	text-decoration: none;
}

.s92-footer-latest-item img {
	border: 3px solid #fff;
	border-radius: 8px;
	height: 70px;
	object-fit: cover;
	width: 70px;
}

.s92-footer-latest-item span {
	color: #fff;
	display: -webkit-box;
	font-size: 16px;
	line-height: 1.45;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.site-info {
	background: #fff;
	color: #222;
	padding: 22px 20px;
	text-align: center;
}

.a2a_floating_style,
.heateor_sss_sharing_container.heateor_sss_vertical_sharing {
	left: 0 !important;
	top: 40% !important;
}

@media (max-width: 1024px) {
	.s92-info-grid,
	body.archive .site-main,
	body.search .site-main,
	.s92-archive-grid,
	.s92-cards-grid,
	.s92-recommendations-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 768px) {
	.inside-header {
		padding: 18px 16px;
	}

	.inside-header {
		align-items: flex-start;
		display: block;
	}

	.main-navigation {
		margin-left: 0;
	}

	.s92-hero-band {
		min-height: 178px;
		padding: 32px 16px 78px;
	}

	.s92-hero-title {
		font-size: 34px;
		margin-bottom: 28px;
	}

	.page .inside-article,
	.single-post .inside-article,
	body.archive .site-main,
	body.search .site-main {
		margin-top: -78px;
	}

	.page .entry-header,
	.single-post .entry-header {
		padding: 14px 18px;
	}

	.s92-entry-meta-row {
		display: block;
	}

	.s92-app-head {
		align-items: flex-start;
		gap: 18px;
	}

	.s92-app-title {
		font-size: 24px;
	}

	.s92-info-grid,
	body.archive .site-main,
	body.search .site-main,
	.s92-archive-grid,
	.s92-cards-grid,
	.s92-recommendations-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.s92-archive-shell {
		grid-template-columns: 1fr;
		margin-top: -78px;
	}

	.s92-single-shell {
		grid-template-columns: 1fr;
		margin-top: -78px;
	}

	.s92-footer-inner {
		grid-template-columns: 1fr;
		gap: 24px;
	}
}

@media (max-width: 520px) {
	.site-content {
		padding-left: 10px;
		padding-right: 10px;
	}

	.s92-search {
		max-width: 100%;
	}

	.s92-app-head {
		display: block;
	}

	.s92-app-icon {
		margin-bottom: 16px;
	}

	.s92-info-grid,
	body.archive .site-main,
	body.search .site-main,
	.s92-archive-grid,
	.s92-cards-grid,
	.s92-recommendations-grid {
		grid-template-columns: 1fr;
	}
}
