/*
Theme Name: UrGameTips Classic
Theme URI: https://urgametips.com/
Author: UrGameTips.com
Author URI: https://urgametips.com/
Description: A custom WordPress theme for UrGameTips.
Version: 1.0.1
Text Domain: urgametips-classic
*/

:root {
	--ugt-bg: #e9f0f7;
	--ugt-shell: #fafafa;
	--ugt-surface: #ffffff;
	--ugt-border: rgba(20, 24, 35, 0.12);
	--ugt-text: #141823;
	--ugt-muted: #617085;
	--ugt-link: #007fdf;
	--ugt-link-dark: #2c4584;
	--ugt-orange: #ff8601;
	--ugt-orange-deep: #d96e00;
	--ugt-dark: #2e2e2e;
	--ugt-dark-soft: #3a3a3a;
	--ugt-blue: #3b5998;
	--ugt-shadow: 0 18px 44px rgba(25, 39, 55, 0.08);
	--ugt-radius: 18px;
	--ugt-page-max-width: 1560px;
	--ugt-page-gutter: clamp(8px, 1.1vw, 20px);
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background:
		radial-gradient(circle at top left, rgba(255, 134, 1, 0.09), transparent 30%),
		linear-gradient(180deg, #eef4fa 0%, var(--ugt-bg) 26%, #dfe8f2 100%);
	color: var(--ugt-text);
	font-family: Roboto, Arial, Helvetica, sans-serif;
	font-size: 15px;
	line-height: 1.7;
}

a {
	color: var(--ugt-link);
	text-decoration: none;
}

a:hover,
a:focus {
	color: var(--ugt-link-dark);
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

iframe,
embed,
object,
video {
	max-width: 100%;
}

input,
button,
textarea,
select {
	font: inherit;
}

button {
	cursor: pointer;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}

.maxiwrap {
	width: min(var(--ugt-page-max-width), calc(100% - (var(--ugt-page-gutter) * 2)));
	margin: 0 auto;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(46, 46, 46, 0.97);
	border-top: 3px solid #ffffff;
	border-bottom: 3px solid var(--ugt-orange);
	box-shadow: 0 1px 12px rgba(19, 19, 19, 0.32);
	backdrop-filter: blur(10px);
}

.site-header-inner {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 18px;
	min-height: 58px;
}

.brand-mark {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	color: #ffffff;
	font-size: 1.65rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	white-space: nowrap;
}

.brand-mark::before {
	content: "UGT";
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 12px;
	background: linear-gradient(135deg, var(--ugt-orange), #ffac4f);
	color: #241300;
	font-size: 0.95rem;
	font-weight: 800;
	box-shadow: 0 10px 18px rgba(255, 134, 1, 0.28);
}

.brand-mark:hover,
.brand-mark:focus {
	color: #ffffff;
}

.menu-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	padding: 10px 14px;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.08);
	color: #ffffff;
}

.primary-nav {
	justify-self: stretch;
}

.primary-nav ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.primary-nav > ul {
	display: flex;
	align-items: center;
	gap: 18px;
}

.primary-nav li {
	position: relative;
}

.primary-nav > ul > li > a,
.primary-nav > ul > li > span {
	display: block;
	padding: 17px 0;
	color: #ffffff;
	font-size: 0.92rem;
	font-weight: 700;
	text-transform: uppercase;
	white-space: nowrap;
}

.primary-nav .menu-parent-label::after {
	content: " \25be";
	font-size: 0.75em;
	color: rgba(255, 255, 255, 0.72);
}

.primary-nav .sub-menu {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	min-width: 220px;
	padding: 8px 0;
	background: #191919;
	border-left: 3px solid var(--ugt-orange);
	border-radius: 0 0 12px 12px;
	box-shadow: 0 16px 30px rgba(0, 0, 0, 0.24);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.primary-nav .sub-menu a {
	display: block;
	padding: 10px 16px;
	color: #ffffff;
	font-size: 0.92rem;
	font-weight: 600;
}

.primary-nav li:hover > .sub-menu,
.primary-nav li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.primary-nav .sub-menu a:hover,
.primary-nav .sub-menu a:focus {
	background: var(--ugt-orange);
	color: #ffffff;
}

.header-search {
	width: min(260px, 100%);
}

.search-form-inline {
	display: flex;
	align-items: center;
	gap: 0;
	height: 40px;
	border-radius: 999px;
	background: #ffffff;
	overflow: hidden;
}

.search-form-inline label {
	flex: 1;
}

.search-form-inline .search-field {
	width: 100%;
	height: 40px;
	padding: 0 14px;
	border: 0;
	color: var(--ugt-text);
	background: transparent;
}

.search-form-inline .search-submit {
	height: 40px;
	padding: 0 16px;
	border: 0;
	background: transparent;
	color: var(--ugt-orange);
	font-weight: 700;
}

#wrapper {
	width: min(var(--ugt-page-max-width), calc(100% - (var(--ugt-page-gutter) * 2)));
	margin: 0 auto;
	background: var(--ugt-shell);
	border-left: 1px solid var(--ugt-border);
	border-right: 1px solid var(--ugt-border);
	box-shadow: var(--ugt-shadow);
}

#content-wrapper {
	padding: 32px 18px 40px;
}

.layout-grid {
	display: grid;
	grid-template-columns: minmax(220px, 260px) minmax(0, 1fr) minmax(300px, 340px);
	gap: 24px;
	align-items: start;
}

#sidebar2-wrapper,
#sidebar-wrapper,
#main-wrapper {
	min-width: 0;
}

#main-wrapper {
	display: block;
}

.widget,
.post-card,
.single-shell,
.page-shell,
.archive-shell,
.team-spotlight,
.team-directory-shell,
.author-profile-shell,
.author-latest-shell,
.feature-strip,
.game-directory-section,
.archive-intro,
.empty-state {
	background: var(--ugt-surface);
	border: 1px solid var(--ugt-border);
	border-radius: var(--ugt-radius);
	box-shadow: 0 12px 30px rgba(37, 56, 79, 0.06);
}

.widget {
	margin-bottom: 18px;
	padding: 18px;
}

.widget h2,
.widget h3 {
	position: relative;
	margin: 0 0 14px;
	padding: 0 0 10px;
	font-size: 1.05rem;
	font-weight: 700;
	border-bottom: 1px solid rgba(20, 24, 35, 0.08);
}

.widget h2::after,
.widget h3::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -1px;
	width: 92px;
	height: 3px;
	background: linear-gradient(90deg, var(--ugt-orange), transparent);
}

.thumb-list,
.link-list,
.page-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.thumb-list li,
.link-list li,
.page-list li {
	padding: 13px 0;
	border-bottom: 1px solid rgba(20, 24, 35, 0.08);
}

.thumb-list li:last-child,
.link-list li:last-child,
.page-list li:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.thumb-link {
	display: grid;
	grid-template-columns: 72px 1fr;
	gap: 14px;
	align-items: start;
}

.thumb-link img,
.thumb-placeholder {
	width: 72px;
	height: 72px;
	border-radius: 14px;
	object-fit: cover;
	background: linear-gradient(135deg, #f5f7fb, #dce6f4);
	border: 1px solid rgba(20, 24, 35, 0.08);
}

.thumb-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--ugt-muted);
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
}

.thumb-link span {
	display: block;
	color: var(--ugt-text);
	font-weight: 700;
	line-height: 1.45;
}

.social-links {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

.social-links a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px;
	border-radius: 14px;
	background: #f4f7fb;
	color: var(--ugt-link-dark);
	font-weight: 700;
	border: 1px solid rgba(20, 24, 35, 0.08);
}

.social-links a:hover,
.social-links a:focus {
	background: var(--ugt-orange);
	color: #ffffff;
}

.archive-intro {
	padding: 24px 26px;
	margin-bottom: 18px;
	background: linear-gradient(135deg, #ffffff 0%, #f7fbff 100%);
}

.archive-intro h1 {
	margin: 0 0 8px;
	font-size: clamp(1.5rem, 2vw, 2rem);
	color: var(--ugt-link-dark);
}

.archive-intro p {
	margin: 0;
	color: var(--ugt-muted);
}

.feature-strip {
	padding: 22px;
	margin-bottom: 18px;
	background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

.feature-strip h2 {
	margin: 0 0 14px;
	font-size: 1.2rem;
	color: var(--ugt-link-dark);
}

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

.feature-tile {
	display: block;
	overflow: hidden;
	border-radius: 16px;
	background: #f7fafc;
	border: 1px solid rgba(20, 24, 35, 0.08);
	transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.feature-tile-media {
	aspect-ratio: 16 / 9;
	background: linear-gradient(135deg, rgba(0, 127, 223, 0.15), rgba(255, 134, 1, 0.12));
}

.feature-tile-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.feature-tile-text {
	padding: 12px 13px 14px;
}

.feature-tile-text strong {
	display: block;
	color: var(--ugt-text);
	line-height: 1.45;
}

.feature-tile:hover,
.feature-tile:focus {
	transform: translateY(-2px);
	border-color: rgba(44, 69, 132, 0.2);
	box-shadow: 0 18px 34px rgba(37, 56, 79, 0.1);
}

.game-directory-section {
	padding: 22px;
	margin-bottom: 18px;
	background:
		radial-gradient(circle at top right, rgba(0, 127, 223, 0.08), transparent 36%),
		linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

.game-directory-header {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 18px;
	align-items: end;
	justify-content: space-between;
	margin-bottom: 16px;
}

.game-directory-header h2 {
	margin: 0 0 6px;
	font-size: 1.2rem;
	color: var(--ugt-link-dark);
}

.game-directory-header p {
	margin: 0;
	color: var(--ugt-muted);
}

.game-directory-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 16px;
	border-radius: 999px;
	background: rgba(0, 127, 223, 0.08);
	border: 1px solid rgba(0, 127, 223, 0.14);
	color: var(--ugt-link-dark);
	font-weight: 700;
	white-space: nowrap;
}

.game-directory-link:hover,
.game-directory-link:focus {
	background: var(--ugt-orange);
	border-color: var(--ugt-orange);
	color: #ffffff;
}

.game-directory-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
}

.game-directory-card {
	display: flex;
	align-items: center;
	gap: 13px;
	min-width: 0;
	padding: 14px;
	border-radius: 18px;
	background: #f7fafc;
	border: 1px solid rgba(20, 24, 35, 0.08);
	transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.game-directory-card:hover,
.game-directory-card:focus {
	transform: translateY(-2px);
	border-color: rgba(44, 69, 132, 0.18);
	box-shadow: 0 16px 28px rgba(37, 56, 79, 0.1);
}

.game-directory-icon {
	flex: 0 0 72px;
	width: 72px;
	height: 72px;
	border-radius: 22px;
	overflow: hidden;
	background: linear-gradient(135deg, rgba(0, 127, 223, 0.12), rgba(255, 134, 1, 0.16));
	border: 1px solid rgba(20, 24, 35, 0.08);
	box-shadow: 0 10px 24px rgba(37, 56, 79, 0.12);
}

.game-directory-icon img,
.game-directory-fallback {
	display: flex;
	width: 100%;
	height: 100%;
	align-items: center;
	justify-content: center;
	object-fit: cover;
}

.game-directory-fallback {
	color: var(--ugt-muted);
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.game-directory-body {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.game-directory-body strong {
	color: var(--ugt-text);
	line-height: 1.35;
}

.game-directory-body span {
	color: var(--ugt-muted);
	font-size: 0.88rem;
	font-weight: 600;
}

#main-wrapper.home-main-layout {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.home-editorial-spotlight {
	order: 1;
}

.home-game-directory-shell {
	order: 2;
}

.home-featured-shell {
	order: 4;
}

.home-content-shell {
	order: 3;
}

.team-spotlight,
.author-profile-shell,
.author-latest-shell {
	padding: 24px 26px;
}

.team-spotlight {
	background:
		radial-gradient(circle at top right, rgba(255, 134, 1, 0.12), transparent 36%),
		linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

.team-spotlight-header,
.author-section-heading {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 18px;
	align-items: end;
	justify-content: space-between;
	margin-bottom: 18px;
}

.team-spotlight-header h2,
.author-section-heading h2,
.team-directory-intro .entry-title {
	margin: 0 0 8px;
	color: var(--ugt-link-dark);
}

.team-spotlight-header p,
.author-section-heading p,
.team-directory-intro p {
	margin: 0;
	color: var(--ugt-muted);
}

.team-grid {
	display: grid;
	gap: 18px;
}

.team-grid-home,
.team-grid-team {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.team-card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	border-radius: 22px;
	overflow: hidden;
	background: #f9fbfe;
	border: 1px solid rgba(20, 24, 35, 0.08);
	box-shadow: 0 14px 30px rgba(37, 56, 79, 0.08);
	transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.team-card:hover,
.team-card:focus-within {
	transform: translateY(-2px);
	border-color: rgba(44, 69, 132, 0.18);
	box-shadow: 0 20px 38px rgba(37, 56, 79, 0.12);
}

.team-card-media {
	display: block;
	aspect-ratio: 1 / 1.02;
	background: linear-gradient(135deg, rgba(0, 127, 223, 0.1), rgba(255, 134, 1, 0.16));
}

.team-card-photo {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.team-card-photo-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--ugt-link-dark);
	font-size: 2.4rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	background: linear-gradient(135deg, rgba(0, 127, 223, 0.12), rgba(255, 134, 1, 0.2));
}

.team-card-body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 18px;
}

.team-role {
	display: inline-flex;
	align-items: center;
	width: fit-content;
	margin-bottom: 12px;
	padding: 5px 10px;
	border-radius: 999px;
	background: rgba(255, 134, 1, 0.1);
	color: var(--ugt-orange-deep);
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.03em;
	text-transform: uppercase;
}

.team-name {
	margin: 0 0 10px;
	font-size: 1.24rem;
	line-height: 1.3;
}

.team-name a {
	color: var(--ugt-link-dark);
}

.team-name a:hover,
.team-name a:focus {
	color: var(--ugt-orange-deep);
}

.team-bio {
	margin: 0;
	color: #314255;
}

.team-card .entry-actions {
	margin-top: auto;
}

.team-social-row {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 14px;
}

.team-social-row a,
.author-meta-chip {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 8px 12px;
	border-radius: 999px;
	background: #eef5fb;
	border: 1px solid rgba(20, 24, 35, 0.08);
	color: var(--ugt-link-dark);
	font-size: 0.85rem;
	font-weight: 700;
}

.team-social-row a:hover,
.team-social-row a:focus,
.author-meta-chip a:hover,
.author-meta-chip a:focus {
	color: var(--ugt-orange-deep);
}

.author-profile-shell {
	background:
		radial-gradient(circle at top right, rgba(0, 127, 223, 0.1), transparent 38%),
		linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

.author-profile-grid {
	display: grid;
	grid-template-columns: minmax(220px, 290px) minmax(0, 1fr);
	gap: 24px;
	align-items: start;
}

.author-profile-photo {
	overflow: hidden;
	border-radius: 24px;
	aspect-ratio: 1 / 1.08;
	background: linear-gradient(135deg, rgba(0, 127, 223, 0.12), rgba(255, 134, 1, 0.16));
	border: 1px solid rgba(20, 24, 35, 0.08);
	box-shadow: 0 18px 40px rgba(37, 56, 79, 0.12);
}

.author-profile-photo .team-card-photo-placeholder {
	height: 100%;
	font-size: 4rem;
}

.author-profile-copy .entry-title {
	margin-bottom: 8px;
}

.author-profile-lead {
	margin: 0 0 14px;
	color: #2c405a;
	font-size: 1.02rem;
	font-weight: 600;
	line-height: 1.65;
}

.author-profile-bio {
	color: #203044;
}

.author-profile-bio p:last-child {
	margin-bottom: 0;
}

.author-profile-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 18px;
}

.author-meta-chip a {
	color: inherit;
}

.author-latest-shell {
	margin-top: 18px;
}

.author-empty-state {
	padding: 18px;
	border-radius: 16px;
	background: #f7fafc;
	border: 1px solid rgba(20, 24, 35, 0.08);
	color: var(--ugt-muted);
}

.author-empty-state p {
	margin: 0;
}

.team-directory-intro {
	margin-bottom: 18px;
}

.team-directory-copy {
	margin-bottom: 20px;
}

.post-card {
	overflow: hidden;
	margin-bottom: 18px;
	transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.post-card-inner {
	display: grid;
	grid-template-columns: minmax(220px, 270px) minmax(0, 1fr);
	gap: 0;
}

.post-card:hover {
	transform: translateY(-1px);
	box-shadow: 0 20px 38px rgba(37, 56, 79, 0.11);
}

.post-card-media {
	background: linear-gradient(135deg, rgba(44, 69, 132, 0.12), rgba(255, 134, 1, 0.14));
	min-height: 100%;
}

.post-card-media a,
.post-card-media img {
	display: block;
	height: 100%;
}

.post-card-media img {
	width: 100%;
	object-fit: cover;
}

.post-card-body {
	padding: 18px 20px;
}

.label-row {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 12px;
}

.label-block {
	display: inline-flex;
	align-items: center;
	padding: 5px 10px;
	border-radius: 999px;
	background: rgba(255, 134, 1, 0.1);
	color: var(--ugt-orange-deep);
	font-size: 0.78rem;
	font-weight: 700;
	line-height: 1;
}

.entry-title {
	margin: 0 0 10px;
	font-size: clamp(1.2rem, 2vw, 1.52rem);
	line-height: 1.3;
}

.entry-title a {
	color: var(--ugt-link-dark);
}

.entry-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 16px;
	align-items: center;
	margin: 0 0 14px;
	color: var(--ugt-muted);
	font-size: 0.92rem;
	font-weight: 600;
}

.entry-meta a {
	color: var(--ugt-link-dark);
}

.entry-meta a:hover,
.entry-meta a:focus {
	color: var(--ugt-orange-deep);
}

.entry-summary {
	color: #314255;
}

.entry-summary p:last-child {
	margin-bottom: 0;
}

.entry-actions {
	margin-top: 14px;
}

.read-more-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 16px;
	border-radius: 999px;
	background: var(--ugt-orange);
	color: #ffffff;
	font-weight: 700;
}

.read-more-link:hover,
.read-more-link:focus {
	background: var(--ugt-orange-deep);
	color: #ffffff;
}

.pagination {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 22px;
}

.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	padding: 10px 14px;
	border-radius: 999px;
	background: #ffffff;
	border: 1px solid rgba(20, 24, 35, 0.12);
	color: var(--ugt-link-dark);
	font-weight: 700;
}

.pagination .page-numbers.current,
.pagination .page-numbers:hover,
.pagination .page-numbers:focus {
	background: var(--ugt-orange);
	border-color: var(--ugt-orange);
	color: #ffffff;
}

.single-shell,
.page-shell,
.archive-shell,
.empty-state {
	padding: 22px 24px;
}

.breadcrumbs {
	margin: -6px 0 18px;
	font-size: 0.88rem;
	color: var(--ugt-muted);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.breadcrumbs a {
	color: var(--ugt-link-dark);
	font-weight: 700;
}

.single-shell .entry-title,
.page-shell .entry-title,
.archive-shell .entry-title {
	margin-bottom: 12px;
}

.single-content,
.page-content {
	line-height: 1.8;
	color: #182533;
}

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

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

.single-content h1,
.single-content h2,
.single-content h3,
.single-content h4,
.page-content h1,
.page-content h2,
.page-content h3,
.page-content h4 {
	margin: 1.7em 0 0.65em;
	color: var(--ugt-link-dark);
	line-height: 1.3;
}

.single-content h1,
.page-content h1 {
	font-size: 2.05rem;
	text-decoration: underline;
	text-decoration-color: var(--ugt-orange);
	text-underline-offset: 0.18em;
}

.single-content h2,
.page-content h2 {
	font-size: 1.55rem;
}

.single-content h3,
.page-content h3 {
	font-size: 1.25rem;
}

.single-content p,
.page-content p,
.single-content ul,
.single-content ol,
.page-content ul,
.page-content ol,
.single-content blockquote,
.page-content blockquote {
	margin: 0 0 1.15em;
}

.single-content ul,
.single-content ol,
.page-content ul,
.page-content ol {
	padding-left: 1.45em;
}

.single-content li,
.page-content li {
	margin-bottom: 0.35em;
}

.single-content blockquote,
.page-content blockquote {
	position: relative;
	padding: 20px 22px 20px 30px;
	background: #f5f8cb;
	border-left: 5px solid rgba(239, 207, 173, 0.9);
	border-radius: 16px;
	font-style: italic;
}

.single-content table,
.page-content table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 1.15em;
}

.single-content th,
.single-content td,
.page-content th,
.page-content td {
	padding: 10px 12px;
	border: 1px solid rgba(20, 24, 35, 0.12);
	text-align: left;
	vertical-align: top;
}

.single-content img,
.page-content img {
	border-radius: 14px;
	background: #f7fafc;
}

.post-nav-links {
	margin-top: 26px;
	padding-top: 18px;
	border-top: 1px solid rgba(20, 24, 35, 0.08);
}

.related-posts {
	margin-top: 26px;
}

.related-posts h2 {
	margin: 0 0 14px;
	font-size: 1.15rem;
	color: var(--ugt-link-dark);
}

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

.related-card {
	padding: 14px;
	border-radius: 16px;
	background: #f7fafc;
	border: 1px solid rgba(20, 24, 35, 0.08);
}

.related-card a {
	color: var(--ugt-text);
	font-weight: 700;
	line-height: 1.45;
}

.sitemap-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}

.sitemap-column {
	padding: 16px;
	border-radius: 16px;
	background: #f7fafc;
	border: 1px solid rgba(20, 24, 35, 0.08);
}

.sitemap-column h2 {
	margin-top: 0;
}

.sitemap-column ul {
	margin: 0;
	padding-left: 1.2em;
}

.empty-state h1 {
	margin-top: 0;
	color: var(--ugt-link-dark);
}

.site-footer {
	margin-top: 28px;
	background: #191919;
	color: #d9e0e7;
	border-top: 3px solid var(--ugt-orange);
}

.site-footer a {
	color: #ffffff;
}

.site-footer-top {
	display: grid;
	grid-template-columns: 1.2fr 1fr 1fr;
	gap: 24px;
	padding: 28px 0 24px;
}

.footer-panel h3 {
	margin: 0 0 12px;
	font-size: 1.05rem;
	color: #ffffff;
}

.footer-panel p {
	margin: 0 0 12px;
	color: #c5d1dc;
}

.footer-panel ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.footer-panel li {
	margin-bottom: 10px;
}

.site-footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	padding: 14px 0 20px;
	font-size: 0.92rem;
	color: #bcc7d3;
}

.site-footer-bottom-inner {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: space-between;
}

@media (max-width: 1240px) {
	.layout-grid {
		grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
	}

	#sidebar2-wrapper {
		display: none;
	}

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

	.game-directory-grid,
	.team-grid-home,
	.team-grid-team {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.author-profile-grid {
		grid-template-columns: minmax(220px, 250px) minmax(0, 1fr);
	}
}

@media (max-width: 980px) {
	.site-header-inner {
		grid-template-columns: auto auto;
		grid-template-areas:
			"brand toggle"
			"search search"
			"nav nav";
		padding: 10px 0 12px;
	}

	.brand-mark {
		grid-area: brand;
	}

	.menu-toggle {
		display: inline-flex;
		grid-area: toggle;
		justify-self: end;
	}

	.header-search {
		grid-area: search;
		width: 100%;
	}

	.primary-nav {
		grid-area: nav;
		display: none;
	}

	.primary-nav.is-open {
		display: block;
		margin-top: 10px;
		padding: 10px 16px 8px;
		border-radius: 18px;
		background: rgba(255, 255, 255, 0.06);
		border: 1px solid rgba(255, 255, 255, 0.12);
		box-shadow: 0 14px 32px rgba(0, 0, 0, 0.22);
	}

	.menu-toggle {
		padding: 10px 16px;
		box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
	}

	.menu-toggle[aria-expanded="true"] {
		background: var(--ugt-orange);
		border-color: var(--ugt-orange);
		color: #ffffff;
	}

	.primary-nav > ul {
		display: block;
		padding-top: 6px;
	}

	.primary-nav > ul > li > a,
	.primary-nav > ul > li > span {
		padding: 13px 0;
		border-top: 1px solid rgba(255, 255, 255, 0.1);
	}

	.primary-nav .sub-menu {
		position: static;
		min-width: 0;
		margin: 2px 0 12px 10px;
		opacity: 1;
		visibility: visible;
		transform: none;
		box-shadow: none;
		border-left-width: 3px;
		border-radius: 14px;
		background: rgba(0, 0, 0, 0.22);
	}

	.layout-grid {
		grid-template-columns: 1fr;
	}

	#sidebar-wrapper {
		order: 3;
	}

	#main-wrapper {
		order: 1;
	}

	.feature-grid,
	.game-directory-grid,
	.team-grid-home,
	.team-grid-team,
	.related-grid,
	.sitemap-list,
	.site-footer-top {
		grid-template-columns: 1fr;
	}

	.author-profile-grid {
		grid-template-columns: 1fr;
	}

	.author-profile-photo {
		max-width: 320px;
	}
}

@media (max-width: 720px) {
	#content-wrapper {
		padding: 18px 10px 24px;
	}

	.post-card-inner {
		grid-template-columns: 1fr;
	}

	.post-card-media {
		aspect-ratio: 16 / 9;
	}

	.post-card-body,
	.single-shell,
	.page-shell,
	.archive-shell,
	.empty-state,
	.team-spotlight,
	.author-profile-shell,
	.author-latest-shell,
	.widget,
	.game-directory-section,
	.feature-strip,
	.archive-intro {
		padding-left: 16px;
		padding-right: 16px;
	}
}
