/* Trust Press 1.0.0 — AndroidApps Brand Stylesheet (Modern App Discovery & Smartphone Hub) */
@font-face {
	font-family: "Mobi Readex";
	font-style: normal;
	font-weight: 300 700;
	font-display: swap;
	src: url("../fonts/MobiReadex-var.woff2") format("woff2");
}

:root {
	--tp-bg: #F3F7F4;
	--tp-card: #FFFFFF;
	--tp-surface-2: #E8F0EA;
	--tp-ink: #111C15;
	--tp-ink-2: #1E3024;
	--tp-muted: #4A5D50;
	--tp-line: #D8E4DC;
	--tp-line-strong: #BDD0C3;
	--tp-accent: #257A2A;
	--tp-accent-aa: #1E6B24;
	--tp-accent-hover: #1B5E20;
	--tp-tint: #E8F5E9;
	--tp-tint-border: #B9DFBC;
	--tp-link: #1B5E20;
	--tp-radius: 16px;
	--tp-radius-lg: 22px;
	--tp-wrap: 1220px;
	--tp-font: "Mobi Readex", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
	--tp-shadow: 0 2px 10px rgba(17, 28, 21, 0.045);
}

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	max-width: 100%;
	overflow-x: clip;
}

body {
	margin: 0;
	max-width: 100%;
	background: var(--tp-bg);
	color: var(--tp-ink);
	font-family: var(--tp-font);
	font-size: 16.5px;
	line-height: 1.8;
	direction: rtl;
	text-align: right;
	overflow-x: clip;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

body.side-aside-open {
	overflow: hidden;
}

img,
svg,
video,
iframe {
	max-width: 100%;
}

img {
	height: auto;
}

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

a {
	color: inherit;
	text-decoration: none;
}

[hidden] {
	display: none !important;
}

:focus-visible {
	outline: 3px solid var(--tp-accent);
	outline-offset: 2px;
	border-radius: 6px;
}

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

.tp-skip {
	position: fixed;
	inset-inline-start: 16px;
	top: -80px;
	z-index: 200;
	padding: 10px 18px;
	background: var(--tp-accent-aa);
	color: #fff;
	font-weight: 700;
	border-radius: 999px;
	box-shadow: 0 8px 20px rgba(17, 28, 21, .22);
}

.tp-skip:focus {
	top: 14px;
	color: #fff;
}

.tp-icon {
	flex: none;
	vertical-align: middle;
}

.tp-wrap {
	width: min(100% - 20px, var(--tp-wrap));
	margin-inline: auto;
}

@media (max-width: 350px) {
	.tp-wrap {
		width: min(100% - 16px, var(--tp-wrap));
	}
}

@media (min-width: 640px) {
	.tp-wrap {
		width: min(100% - 32px, var(--tp-wrap));
	}
}

.tp-main {
	flex: 1;
	min-width: 0;
	max-width: 100%;
	padding-block: 22px 48px;
}

.tp-primary-col,
.aa-hub-bar>*,
.aa-app-row__info,
.aa-bento-tile__body,
.aa-stack-item__body,
.tp-side-list__body {
	min-width: 0;
}

/* ===== Header (Frosted App-Store Capsule Nav) ===== */
.tp-header {
	position: sticky;
	top: 0;
	z-index: 90;
	background: rgba(255, 255, 255, 0.94);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--tp-line);
	box-shadow: 0 2px 12px rgba(17, 28, 21, 0.04);
}

.tp-header__in {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	min-height: 62px;
}

.tp-header__start {
	display: flex;
	align-items: center;
	gap: 8px;
	flex: 1 1 auto;
	min-width: 0;
}

.tp-header__end {
	display: flex;
	align-items: center;
	gap: 8px;
	flex: none;
}

.tp-logo {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
	max-width: 100%;
}

.tp-logo__img {
	display: block;
	height: 31px;
	width: auto;
	max-width: min(195px, 55vw);
	object-fit: contain;
}

.tp-logo__text {
	font-size: 19px;
	font-weight: 700;
	color: var(--tp-ink);
	white-space: nowrap;
}

.tp-nav {
	flex: 1;
	min-width: 0;
	display: none;
}

.tp-nav__list {
	display: flex;
	align-items: center;
	flex-wrap: nowrap;
	gap: 2px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.tp-nav__list>li {
	position: relative;
}

.tp-nav__list>li>a {
	display: inline-flex;
	align-items: center;
	padding: 7px 9px;
	font-size: 13.5px;
	font-weight: 600;
	color: var(--tp-ink-2);
	border-radius: 999px;
	transition: background .15s, color .15s;
	white-space: nowrap;
}

@media (min-width: 1220px) {
	.tp-nav__list>li>a {
		padding: 7px 11.5px;
		font-size: 14px;
	}
}

.tp-nav__list>li>a:hover,
.tp-nav__list>li.current-menu-item>a,
.tp-nav__list>li.current-category-ancestor>a {
	background: var(--tp-tint);
	color: var(--tp-accent-hover);
	font-weight: 700;
}

.tp-nav__list ul.sub-menu {
	display: none;
	position: absolute;
	inset-inline-start: 0;
	top: 100%;
	min-width: 210px;
	margin: 0;
	padding: 8px;
	list-style: none;
	background: var(--tp-card);
	border: 1px solid var(--tp-line);
	border-radius: 14px;
	box-shadow: 0 12px 28px rgba(17, 28, 21, .12);
	z-index: 95;
}

.tp-nav__list>li:hover>ul.sub-menu,
.tp-nav__list>li:focus-within>ul.sub-menu {
	display: block;
}

.tp-nav__list ul.sub-menu a {
	display: block;
	padding: 8px 12px;
	font-size: 14px;
	font-weight: 500;
	border-radius: 10px;
	color: var(--tp-ink);
}

.tp-nav__list ul.sub-menu a:hover {
	background: var(--tp-tint);
	color: var(--tp-accent-hover);
}

.tp-icon-btn {
	appearance: none;
	display: inline-grid;
	place-items: center;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 1px solid var(--tp-line);
	border-radius: 999px;
	background: var(--tp-bg);
	color: var(--tp-ink);
	cursor: pointer;
	transition: border-color .15s, color .15s, background .15s;
}

.tp-icon-btn:hover {
	border-color: var(--tp-accent);
	background: var(--tp-tint);
	color: var(--tp-accent-hover);
}

.tp-hsearch {
	background: var(--tp-tint);
	border-top: 1px solid var(--tp-tint-border);
	padding-block: 12px;
}

.tp-hsearch__form {
	display: flex;
	gap: 8px;
	max-width: 660px;
	margin-inline: auto;
}

.tp-hsearch__input {
	flex: 1;
	min-width: 0;
	height: 44px;
	padding: 0 18px;
	border: 1px solid var(--tp-tint-border);
	border-radius: 999px;
	background: #fff;
}

.tp-hsearch__submit {
	height: 44px;
	padding: 0 24px;
	border: 0;
	border-radius: 999px;
	background: var(--tp-accent-aa);
	color: #fff;
	font-weight: 700;
	cursor: pointer;
}

.tp-hsearch__submit:hover {
	background: var(--tp-accent-hover);
}

@media (min-width: 1060px) {
	.tp-header__in {
		gap: 16px;
		min-height: 70px;
	}

	.tp-header__start {
		flex: none;
	}

	.tp-nav {
		display: block;
	}

	.tp-menu-btn {
		display: none;
	}

	.tp-logo__img {
		height: 38px;
		max-width: 235px;
	}
}

/* ===== Mobile Drawer ===== */
.tp-scrim {
	position: fixed;
	inset: 0;
	z-index: 120;
	background: rgba(17, 28, 21, 0.5);
}

.tp-drawer {
	position: fixed;
	top: 0;
	bottom: 0;
	inset-inline-start: 0;
	z-index: 130;
	width: min(320px, 88vw);
	background: var(--tp-card);
	border-inline-end: 1px solid var(--tp-line);
	display: flex;
	flex-direction: column;
	overflow-y: auto;
	padding: 18px;
	box-shadow: -8px 0 30px rgba(17, 28, 21, 0.18);
}

.tp-drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--tp-line);
}

.tp-drawer__brand {
	font-size: 18.5px;
	font-weight: 700;
	color: var(--tp-ink);
}

.tp-drawer__search {
	display: flex;
	gap: 6px;
	margin-block: 14px;
}

.tp-drawer__input {
	flex: 1;
	min-width: 0;
	height: 42px;
	padding: 0 14px;
	border: 1px solid var(--tp-line-strong);
	border-radius: 999px;
	background: var(--tp-bg);
}

.tp-drawer__sbtn {
	width: 42px;
	height: 42px;
	border: 0;
	border-radius: 999px;
	background: var(--tp-accent-aa);
	color: #fff;
	display: grid;
	place-items: center;
	cursor: pointer;
}

.tp-drawer__list,
.tp-drawer__trust {
	list-style: none;
	margin: 0;
	padding: 0;
}

.tp-drawer__list ul {
	list-style: none;
	margin: 0;
	padding: 0 14px 0 0;
}

.tp-drawer__list a {
	display: block;
	padding: 10px 10px;
	font-weight: 600;
	font-size: 15px;
	color: var(--tp-ink);
	border-radius: 10px;
}

.tp-drawer__list a:hover {
	background: var(--tp-tint);
	color: var(--tp-accent-hover);
}

.tp-drawer__foot {
	margin-top: auto;
	padding-top: 16px;
	border-top: 1px solid var(--tp-line);
}

.tp-drawer__trust {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 14px;
	font-size: 13.5px;
	color: var(--tp-muted);
}

.tp-drawer__trust a:hover {
	color: var(--tp-accent-hover);
	text-decoration: underline;
}

/* ===== AndroidApps Homepage: Split App-Discovery Top Bar + 6-Tile SVG Dock ===== */
.tp-home--aa>*+* {
	margin-top: 38px;
}

.aa-hub-top {
	display: grid;
	gap: 18px;
}

.aa-hub-bar {
	background: linear-gradient(135deg, #FFFFFF 0%, #EAF6EC 100%);
	border: 1px solid var(--tp-tint-border);
	border-radius: var(--tp-radius-lg);
	padding: 24px 22px;
	display: grid;
	grid-template-columns: 1fr;
	gap: 18px;
	align-items: center;
	box-shadow: var(--tp-shadow);
}

@media (min-width: 960px) {
	.aa-hub-bar {
		grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.9fr);
		padding: 28px 30px;
		gap: 28px;
	}
}

.aa-hub-badge {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 4px 13px;
	border-radius: 999px;
	background: var(--tp-tint);
	border: 1px solid var(--tp-tint-border);
	color: var(--tp-accent-hover);
	font-size: 13px;
	font-weight: 700;
	margin-bottom: 10px;
}

.aa-hub-title {
	margin: 0 0 8px;
	font-size: clamp(22px, 3vw, 30px);
	font-weight: 700;
	line-height: 1.4;
	color: var(--tp-ink);
}

.aa-hub-sub {
	margin: 0;
	font-size: 15px;
	color: var(--tp-muted);
	line-height: 1.75;
}

.aa-pill-search {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 5px 6px 5px 6px;
	background: #FFFFFF;
	border: 1.5px solid var(--tp-line-strong);
	border-radius: 999px;
	box-shadow: 0 6px 20px rgba(37, 122, 42, 0.07);
}

.aa-pill-search:focus-within {
	border-color: var(--tp-accent);
	box-shadow: 0 0 0 3px rgba(37, 122, 42, .14);
}

.aa-pill-search__ico {
	padding-inline-start: 12px;
	color: var(--tp-accent);
	display: grid;
	place-items: center;
}

.aa-pill-search__input {
	flex: 1;
	min-width: 0;
	height: 42px;
	border: 0;
	background: transparent;
	padding: 0 8px;
	font-size: 15px;
	outline: none;
}

.aa-pill-search__btn {
	flex: none;
	height: 42px;
	padding: 0 22px;
	border: 0;
	border-radius: 999px;
	background: var(--tp-accent-aa);
	color: #fff;
	font-weight: 700;
	font-size: 14.5px;
	cursor: pointer;
}

.aa-pill-search__btn:hover {
	background: var(--tp-accent-hover);
}

/* 6-Tile Interactive SVG Icon Dock */
.aa-dock__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

@media (min-width: 600px) {
	.aa-dock__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	.aa-dock__grid {
		grid-template-columns: repeat(6, minmax(0, 1fr));
	}
}

.aa-dock-tile {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	gap: 10px;
	height: 100%;
	padding: 16px 10px;
	background: var(--tp-card);
	border: 1px solid var(--tp-line);
	border-radius: var(--tp-radius);
	box-shadow: var(--tp-shadow);
	transition: transform .16s, border-color .16s, box-shadow .16s;
}

.aa-dock-tile__ico {
	width: 48px;
	height: 48px;
	border-radius: 14px;
	background: var(--tp-tint);
	color: var(--tp-accent-aa);
	display: grid;
	place-items: center;
	transition: background .16s, color .16s;
}

.aa-dock-tile__lbl {
	font-size: 13.5px;
	font-weight: 700;
	line-height: 1.4;
	color: var(--tp-ink);
}

.aa-dock-tile:hover {
	transform: translateY(-3px);
	border-color: var(--tp-accent);
	box-shadow: 0 10px 24px rgba(37, 122, 42, 0.11);
}

.aa-dock-tile:hover .aa-dock-tile__ico {
	background: var(--tp-accent-aa);
	color: #fff;
}

.aa-dock-tile:hover .aa-dock-tile__lbl {
	color: var(--tp-accent-hover);
}

/* ===== AndroidApps Section Headers ===== */
.aa-sec-head,
.tp-sec-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 18px;
}

.aa-sec-title,
.tp-sec-title {
	margin: 0;
	font-size: 21.5px;
	font-weight: 700;
	line-height: 1.4;
	color: var(--tp-ink);
	display: inline-flex;
	align-items: center;
	gap: 10px;
}

.aa-sec-title::before,
.tp-sec-title::before {
	content: "";
	width: 10px;
	height: 22px;
	border-radius: 999px;
	background: var(--tp-accent);
	flex: none;
}

.aa-sec-title a:hover,
.tp-sec-title a:hover {
	color: var(--tp-accent-hover);
}

.aa-sec-pill {
	font-size: 12.5px;
	font-weight: 700;
	padding: 4px 12px;
	border-radius: 999px;
	background: var(--tp-tint);
	color: var(--tp-accent-hover);
	border: 1px solid var(--tp-tint-border);
}

.aa-sec-link {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 6px 14px;
	border-radius: 999px;
	background: var(--tp-card);
	border: 1px solid var(--tp-line);
	font-size: 13.5px;
	font-weight: 700;
	color: var(--tp-accent-aa);
}

.aa-sec-link:hover {
	background: var(--tp-tint);
	border-color: var(--tp-accent);
	color: var(--tp-accent-hover);
}

/* ===== AndroidApps Latest: 3 Equal Vertical Showcase Cards + 4 Compact 2x2 App-Tile Rows ===== */
.aa-showcase-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 18px;
}

@media (min-width: 820px) {
	.aa-showcase-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.aa-show-card {
	background: var(--tp-card);
	border: 1px solid var(--tp-line);
	border-radius: var(--tp-radius);
	overflow: hidden;
	box-shadow: var(--tp-shadow);
	transition: transform .18s, border-color .18s;
}

.aa-show-card:hover {
	transform: translateY(-3px);
	border-color: var(--tp-accent);
}

.aa-show-card__link {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.aa-show-card__media {
	position: relative;
	background: var(--tp-surface-2);
	overflow: hidden;
}

.aa-show-card__img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

.aa-show-card__body {
	padding: 16px 18px 18px;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.aa-card-pill {
	align-self: flex-start;
	display: inline-block;
	padding: 3px 11px;
	margin-bottom: 8px;
	border-radius: 999px;
	background: var(--tp-tint);
	border: 1px solid var(--tp-tint-border);
	color: var(--tp-accent-hover);
	font-size: 12px;
	font-weight: 700;
}

.aa-show-card__title {
	margin: 0 0 8px;
	font-size: 17.5px;
	font-weight: 700;
	line-height: 1.5;
	color: var(--tp-ink);
}

.aa-show-card:hover .aa-show-card__title {
	color: var(--tp-accent-hover);
}

.aa-show-card__excerpt {
	margin: 0 0 12px;
	font-size: 14.5px;
	color: var(--tp-muted);
	line-height: 1.7;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
}

.aa-show-card__meta {
	margin-top: auto;
	font-size: 12.5px;
	color: var(--tp-muted);
}

.aa-tile-rows {
	display: grid;
	grid-template-columns: 1fr;
	gap: 14px;
	margin-top: 16px;
}

@media (min-width: 760px) {
	.aa-tile-rows {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.aa-app-row {
	background: var(--tp-card);
	border: 1px solid var(--tp-line);
	border-radius: var(--tp-radius);
	box-shadow: var(--tp-shadow);
	transition: border-color .15s, background .15s;
}

.aa-app-row:hover {
	border-color: var(--tp-accent);
	background: #FAFDFA;
}

.aa-app-row__link {
	display: grid;
	grid-template-columns: 122px minmax(0, 1fr);
	gap: 14px;
	padding: 12px;
	align-items: center;
}

.aa-app-row__thumb {
	border-radius: 12px;
	overflow: hidden;
	background: var(--tp-surface-2);
}

.aa-app-row__img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

.aa-app-row__tag {
	display: inline-block;
	font-size: 11.5px;
	font-weight: 700;
	color: var(--tp-accent-aa);
	margin-bottom: 3px;
}

.aa-app-row__title {
	margin: 0;
	font-size: 15.5px;
	font-weight: 700;
	line-height: 1.48;
	color: var(--tp-ink);
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
}

.aa-app-row:hover .aa-app-row__title {
	color: var(--tp-accent-hover);
}

.aa-app-row__date {
	display: block;
	margin-top: 4px;
	font-size: 12px;
	color: var(--tp-muted);
}

/* ===== AndroidApps: Soft-Emerald #E8F5E9 Rounded Bento Showcase (AI Apps) ===== */
.aa-bento {
	background: var(--tp-tint);
	border: 1px solid var(--tp-tint-border);
	border-radius: var(--tp-radius-lg);
	padding: 24px 20px 26px;
}

@media (min-width: 768px) {
	.aa-bento {
		padding: 28px;
	}
}

.aa-bento__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 20px;
}

.aa-bento__kicker {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	font-weight: 700;
	color: var(--tp-accent-hover);
	margin-bottom: 4px;
}

.aa-bento__title {
	margin: 0;
	font-size: 23px;
	font-weight: 700;
	color: var(--tp-ink);
}

.aa-bento__title a:hover {
	color: var(--tp-accent-hover);
}

.aa-bento__more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 16px;
	border-radius: 999px;
	background: var(--tp-accent-aa);
	color: #fff;
	font-size: 13.5px;
	font-weight: 700;
}

.aa-bento__more:hover {
	background: var(--tp-accent-hover);
	color: #fff;
}

.aa-bento__heroes {
	display: grid;
	grid-template-columns: 1fr;
	gap: 16px;
}

@media (min-width: 768px) {
	.aa-bento__heroes {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.aa-bento-hero {
	background: #FFFFFF;
	border: 1px solid var(--tp-tint-border);
	border-radius: var(--tp-radius);
	overflow: hidden;
	box-shadow: var(--tp-shadow);
	transition: transform .16s, border-color .16s;
}

.aa-bento-hero:hover {
	transform: translateY(-2px);
	border-color: var(--tp-accent);
}

.aa-bento-hero__link {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.aa-bento-hero__img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

.aa-bento-hero__body {
	padding: 16px 18px 18px;
}

.aa-bento-hero__title {
	margin: 0 0 6px;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.5;
	color: var(--tp-ink);
}

.aa-bento-hero:hover .aa-bento-hero__title {
	color: var(--tp-accent-hover);
}

.aa-bento-hero__excerpt {
	margin: 0;
	font-size: 14.5px;
	color: var(--tp-muted);
	line-height: 1.7;
}

.aa-bento__tiles {
	display: grid;
	grid-template-columns: 1fr;
	gap: 14px;
	margin-top: 14px;
}

@media (min-width: 768px) {
	.aa-bento__tiles {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.aa-bento-tile {
	background: #FFFFFF;
	border: 1px solid var(--tp-tint-border);
	border-radius: var(--tp-radius);
}

.aa-bento-tile:hover {
	border-color: var(--tp-accent);
}

.aa-bento-tile__link {
	display: grid;
	grid-template-columns: 116px minmax(0, 1fr);
	gap: 13px;
	padding: 11px;
	align-items: center;
}

.aa-bento-tile__thumb {
	border-radius: 11px;
	overflow: hidden;
	background: var(--tp-surface-2);
}

.aa-bento-tile__img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

.aa-bento-tile__title {
	margin: 0;
	font-size: 15.5px;
	font-weight: 700;
	line-height: 1.48;
	color: var(--tp-ink);
}

.aa-bento-tile:hover .aa-bento-tile__title {
	color: var(--tp-accent-hover);
}

.aa-bento-tile__date {
	display: block;
	margin-top: 4px;
	font-size: 12px;
	color: var(--tp-muted);
}

/* ===== AndroidApps: 4x2 Play-Store App Shelf Grid & 3-Col Tips Strip ===== */
.aa-shelf-grid,
.tp-related__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 16px;
}

@media (min-width: 540px) {

	.aa-shelf-grid,
	.tp-related__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 980px) {

	.aa-shelf-grid,
	.tp-related__grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

.aa-shelf-card,
.tp-rel-card,
.tp-arc-card {
	background: var(--tp-card);
	border: 1px solid var(--tp-line);
	border-radius: var(--tp-radius);
	overflow: hidden;
	box-shadow: var(--tp-shadow);
	transition: transform .16s, border-color .16s;
}

.aa-shelf-card:hover,
.tp-rel-card:hover,
.tp-arc-card:hover {
	transform: translateY(-3px);
	border-color: var(--tp-accent);
}

.aa-shelf-card__link,
.tp-rel-card__link,
.tp-arc-card__link {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.aa-shelf-card__img,
.tp-rel-card__img,
.tp-arc-card__img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	background: var(--tp-surface-2);
}

.aa-shelf-card__body,
.tp-rel-card__body,
.tp-arc-card__body {
	padding: 14px 15px 15px;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.aa-shelf-card__title,
.tp-rel-card__title {
	margin: 0 0 10px;
	font-size: 15.5px;
	font-weight: 700;
	line-height: 1.52;
	color: var(--tp-ink);
}

.aa-shelf-card:hover .aa-shelf-card__title,
.tp-rel-card:hover .tp-rel-card__title,
.tp-arc-card:hover .tp-arc-card__title {
	color: var(--tp-accent-hover);
}

.aa-shelf-card__foot {
	margin-top: auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
}

.aa-shelf-card__badge,
.tp-rel-card__cat,
.tp-arc-card__cat {
	display: inline-block;
	padding: 2px 10px;
	border-radius: 999px;
	background: var(--tp-tint);
	color: var(--tp-accent-hover);
	font-size: 11.5px;
	font-weight: 700;
}

.tp-rel-card__cat,
.tp-arc-card__cat {
	align-self: flex-start;
	margin-bottom: 7px;
}

.aa-shelf-card__date,
.tp-rel-card__date,
.tp-arc-card__date {
	font-size: 12px;
	color: var(--tp-muted);
}

.tp-rel-card__date,
.tp-arc-card__date {
	margin-top: auto;
}

.aa-tips-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 18px;
}

@media (min-width: 820px) {
	.aa-tips-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.aa-tip-card {
	background: var(--tp-card);
	border: 1px solid var(--tp-line);
	border-radius: var(--tp-radius);
	overflow: hidden;
	box-shadow: var(--tp-shadow);
	transition: border-color .16s, transform .16s;
}

.aa-tip-card:hover {
	border-color: var(--tp-accent);
	transform: translateY(-2px);
}

.aa-tip-card__link {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.aa-tip-card__img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	background: var(--tp-surface-2);
}

.aa-tip-card__body {
	padding: 15px 17px 17px;
}

.aa-tip-card__title {
	margin: 0 0 7px;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.5;
	color: var(--tp-ink);
}

.aa-tip-card:hover .aa-tip-card__title {
	color: var(--tp-accent-hover);
}

.aa-tip-card__excerpt {
	margin: 0;
	font-size: 14px;
	color: var(--tp-muted);
	line-height: 1.7;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
}

/* ===== AndroidApps: Dual-Column Side-by-Side Split Shelf (Phones + iPhone) ===== */
.aa-dual-split {
	display: grid;
	grid-template-columns: 1fr;
	gap: 22px;
}

@media (min-width: 920px) {
	.aa-dual-split {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.aa-split-col {
	background: var(--tp-card);
	border: 1px solid var(--tp-line);
	border-radius: var(--tp-radius-lg);
	padding: 20px;
	box-shadow: var(--tp-shadow);
}

.aa-split-col__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding-bottom: 14px;
	margin-bottom: 8px;
	border-bottom: 1px solid var(--tp-line);
}

.aa-split-col__title {
	margin: 0;
	font-size: 19.5px;
	font-weight: 700;
}

.aa-split-col__title a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--tp-ink);
}

.aa-split-col__title .tp-icon {
	color: var(--tp-accent-aa);
}

.aa-split-col__title a:hover {
	color: var(--tp-accent-hover);
}

.aa-stack-item+.aa-stack-item {
	border-top: 1px solid var(--tp-bg);
}

.aa-stack-item__link {
	display: grid;
	grid-template-columns: 108px minmax(0, 1fr);
	gap: 13px;
	padding: 11px 0;
	align-items: center;
}

.aa-stack-item__thumb {
	border-radius: 11px;
	overflow: hidden;
	background: var(--tp-surface-2);
}

.aa-stack-item__img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

.aa-stack-item__title {
	margin: 0;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.48;
	color: var(--tp-ink);
}

.aa-stack-item:hover .aa-stack-item__title {
	color: var(--tp-accent-hover);
}

.aa-stack-item__date {
	display: block;
	margin-top: 4px;
	font-size: 12px;
	color: var(--tp-muted);
}

/* ===== Single Post, Breadcrumbs, Content & Sidebar ===== */
.tp-crumbs {
	margin-bottom: 16px;
	font-size: 13.5px;
	color: var(--tp-muted);
}

.tp-crumbs__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.tp-crumbs__item {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-width: 0;
}

.tp-crumbs__link {
	color: var(--tp-muted);
	font-weight: 500;
}

.tp-crumbs__link:hover {
	color: var(--tp-accent-hover);
	text-decoration: underline;
}

.tp-crumbs__sep {
	color: var(--tp-line-strong);
}

.tp-crumbs__current {
	color: var(--tp-ink);
	font-weight: 700;
	overflow-wrap: anywhere;
}

.tp-layout-single {
	display: grid;
	grid-template-columns: 1fr;
	gap: 26px;
	align-items: start;
}

@media (min-width: 1040px) {
	.tp-layout-single {
		grid-template-columns: minmax(0, 1fr) 310px;
	}
}

.tp-page-wrap {
	max-width: 860px;
}

.tp-article {
	background: var(--tp-card);
	border: 1px solid var(--tp-line);
	border-radius: var(--tp-radius-lg);
	padding: 20px 14px 26px;
	box-shadow: var(--tp-shadow);
}

@media (min-width: 481px) {
	.tp-article {
		padding: 24px 22px 28px;
	}
}

@media (min-width: 768px) {
	.tp-article {
		padding: 32px 36px 36px;
	}
}

.tp-post-head {
	margin-bottom: 22px;
	padding-bottom: 18px;
	border-bottom: 1px solid var(--tp-line);
}

.tp-post-cat {
	display: inline-block;
	padding: 4px 14px;
	border-radius: 999px;
	background: var(--tp-accent-aa);
	color: #fff;
	font-size: 12.5px;
	font-weight: 700;
	margin-bottom: 12px;
}

.tp-post-cat:hover {
	background: var(--tp-accent-hover);
	color: #fff;
}

.tp-post-title {
	margin: 0 0 14px;
	font-size: clamp(23px, 3vw, 32px);
	font-weight: 700;
	line-height: 1.42;
	color: var(--tp-ink);
}

.tp-post-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 12px;
	font-size: 13.5px;
	color: var(--tp-muted);
}

.tp-meta-item {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.tp-author {
	font-weight: 700;
	color: var(--tp-ink-2);
}

.tp-hero-media {
	margin: 0 0 24px;
	border-radius: var(--tp-radius);
	overflow: hidden;
	background: var(--tp-surface-2);
}

.tp-hero-media__img {
	display: block;
	width: 100%;
	height: auto;
}

.entry-content {
	font-size: 17px;
	line-height: 1.9;
	color: var(--tp-ink);
	overflow-wrap: anywhere;
}

.entry-content::after {
	content: "";
	display: table;
	clear: both;
}

:where(.entry-content) :where(p, ul, ol, dl, pre, blockquote, table, figure) {
	margin: 0 0 1.35em;
}

:where(.entry-content) :where(h2, h3, h4, h5, h6) {
	margin: 1.75em 0 0.7em;
	font-weight: 700;
	line-height: 1.45;
	color: var(--tp-ink);
	scroll-margin-top: 88px;
}

:where(.entry-content)>h2 {
	font-size: clamp(20.5px, 2.3vw, 24.5px);
	padding: 6px 14px;
	background: var(--tp-tint);
	border-inline-start: 4px solid var(--tp-accent);
	border-start-end-radius: 10px;
	border-end-end-radius: 10px;
}

:where(.entry-content)>h3 {
	font-size: clamp(18px, 1.9vw, 20.5px);
}

:where(.entry-content)>h4 {
	font-size: 17.5px;
}

:where(.entry-content) [id] {
	scroll-margin-top: 88px;
}

:where(.entry-content) a {
	color: var(--tp-link);
	text-decoration: underline;
	text-underline-offset: .22em;
	font-weight: 600;
}

:where(.entry-content) a:hover {
	color: var(--tp-accent);
}

.entry-content span[style*="#339966"],
.entry-content span[style*="#008000"] {
	color: var(--tp-accent-aa) !important;
}

:where(.entry-content) :where(ul, ol) {
	padding-inline-start: 24px;
}

:where(.entry-content) li {
	margin-bottom: 0.55em;
}

:where(.entry-content) img {
	display: block;
	max-width: 100%;
	height: auto;
	margin: 1.3em auto;
	border-radius: var(--tp-radius);
	border: 1px solid var(--tp-line);
}

.entry-content .aligncenter {
	margin-inline: auto;
	text-align: center;
}

.entry-content .alignright {
	float: right;
	margin: 0.4em 0 1em 1.4em;
	max-width: 50%;
}

.entry-content .alignleft {
	float: left;
	margin: 0.4em 1.4em 1em 0;
	max-width: 50%;
}

.entry-content .wp-caption {
	max-width: 100%;
	margin: 1.4em auto;
	text-align: center;
}

.entry-content .wp-caption-text,
:where(.entry-content) figcaption {
	margin-top: 8px;
	font-size: 13.5px;
	color: var(--tp-muted);
	text-align: center;
}

:where(.entry-content) blockquote {
	padding: 16px 20px;
	background: var(--tp-tint);
	border-inline-start: 4px solid var(--tp-accent);
	border-radius: 12px;
	color: var(--tp-ink-2);
}

:where(.entry-content) pre {
	padding: 16px;
	background: #111C15;
	color: #F3F7F4;
	border-radius: 12px;
	overflow-x: auto;
	direction: ltr;
	text-align: left;
	font-size: 14px;
	line-height: 1.65;
}

:where(.entry-content) code {
	padding: 2px 6px;
	background: var(--tp-surface-2);
	border-radius: 6px;
	font-size: 0.9em;
}

:where(.entry-content) pre code {
	padding: 0;
	background: none;
	color: inherit;
}

:where(.entry-content) table {
	width: 100%;
	border-collapse: collapse;
	font-size: 15px;
	background: #fff;
	border: 1px solid var(--tp-line);
	border-radius: 12px;
	overflow: hidden;
}

@media (max-width: 767px) {
	:where(.entry-content) table {
		display: block;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}
}

:where(.entry-content) :where(th, td) {
	padding: 11px 14px;
	border: 1px solid var(--tp-line);
	text-align: right;
}

:where(.entry-content) th {
	background: var(--tp-tint);
	font-weight: 700;
	color: var(--tp-ink);
}

:where(.entry-content) tr:nth-child(even) td {
	background: #F9FCFA;
}

.entry-content iframe[src*="youtube"],
.entry-content iframe[src*="youtu.be"] {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	border: 0;
	border-radius: var(--tp-radius);
	margin: 1.5em auto;
}

/* ===== Trust Publisher Components ===== */
.tp-toc {
	margin: 1.6em 0;
	background: var(--tp-bg);
	border: 1px solid var(--tp-tint-border);
	border-radius: var(--tp-radius);
	overflow: hidden;
}

.tp-toc__sum {
	list-style: none;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 13px 18px;
	cursor: pointer;
	font-weight: 700;
	font-size: 16px;
	color: var(--tp-ink);
	user-select: none;
}

.tp-toc__sum::-webkit-details-marker {
	display: none;
}

.tp-toc__sum:hover {
	background: var(--tp-tint);
	color: var(--tp-accent-hover);
}

.tp-toc__toggle {
	display: inline-grid;
	place-items: center;
	width: 28px;
	height: 28px;
	border-radius: 999px;
	background: #fff;
	border: 1px solid var(--tp-tint-border);
	flex: none;
}

.tp-toc__toggle:empty::before {
	content: "";
	width: 8px;
	height: 8px;
	border-inline-start: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(-45deg) translateY(-1px);
	transition: transform .18s;
}

.tp-toc[open] .tp-toc__toggle:empty::before {
	transform: rotate(135deg) translateY(-2px);
}

.tp-toc__nav {
	padding: 4px 18px 16px;
	border-top: 1px solid var(--tp-line);
	background: #fff;
}

.tp-toc__list {
	margin: 10px 0 0;
	padding-inline-start: 22px;
	font-size: 15px;
	line-height: 1.75;
}

.tp-toc__list ol {
	margin: 6px 0;
	padding-inline-start: 20px;
	list-style-type: circle;
}

.tp-toc__list li {
	margin-bottom: 6px;
}

.tp-toc__list a {
	color: var(--tp-ink-2);
	text-decoration: none;
	font-weight: 500;
}

.tp-toc__list a:hover {
	color: var(--tp-accent-hover);
	text-decoration: underline;
}

.tp-ad {
	box-sizing: border-box;
	display: block;
	width: 100%;
	max-width: 100%;
	min-height: 300px;
	margin: 26px auto;
	overflow: hidden;
	clear: both;
	text-align: center;
}

.tp-ad::before {
	content: "— إعلان —";
	display: block;
	margin-bottom: 6px;
	font-size: 11px;
	line-height: 14px;
	font-weight: 500;
	color: var(--tp-muted);
	opacity: .78;
}

.tp-ad:has(ins[data-ad-status="unfilled"]) {
	background: transparent;
	border-color: transparent;
}

.tp-ad:has(ins[data-ad-status="unfilled"])::before {
	display: none;
}

.tp-ad ins.adsbygoogle {
	max-width: 100%;
	vertical-align: top;
}

.entry-content .tp-ad {
	min-height: 344px;
	padding: 10px 0 12px;
	background: var(--tp-bg);
	border: 1px solid var(--tp-line);
	border-radius: var(--tp-radius);
}

.tp-ad+ :is(.chg-ticket, .aam-sheet, .tar-box) {
	margin-top: 34px;
}

@media (max-width: 384px) {
	.entry-content .tp-ad {
		width: calc(100% + 28px);
		max-width: none;
		margin-inline: -14px;
		padding-inline: 0;
		border-inline: 0;
		border-radius: 0;
	}
}

@media (min-width: 980px) {
	.tp-ad {
		min-height: 250px;
	}

	.entry-content .tp-ad {
		min-height: 324px;
	}
}

.tp-btn,
a.tp-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
	padding: 10px 24px;
	margin: 6px 4px;
	background: var(--tp-accent-aa);
	color: #fff !important;
	font-weight: 700;
	font-size: 15px;
	line-height: 1.5;
	border-radius: 999px;
	border: 0;
	text-decoration: none !important;
	cursor: pointer;
	transition: background .15s, transform .15s;
}

.tp-btn:hover,
a.tp-btn:hover {
	background: var(--tp-accent-hover);
	color: #fff !important;
	transform: translateY(-1px);
}

.tp-btn--orange,
a.tp-btn--orange {
	background: #C2410C;
}

.tp-btn--blue,
a.tp-btn--blue {
	background: #0369A1;
}

.tp-btn--red,
a.tp-btn--red {
	background: #B91C1C;
}

.tp-btn--dark,
a.tp-btn--dark {
	background: #111C15;
}

.tp-btn--custom,
a.tp-btn--custom {
	background: var(--tp-btn-color, var(--tp-accent-aa));
}

.tp-btn--small,
a.tp-btn--small {
	min-height: 36px;
	padding: 6px 16px;
	font-size: 13.5px;
}

.tp-btn--big,
.tp-btn--large,
a.tp-btn--big,
a.tp-btn--large {
	min-height: 50px;
	padding: 12px 30px;
	font-size: 16.5px;
}

.tp-btn--disabled {
	opacity: .65;
	cursor: default;
}

.tp-divider {
	border: 0;
	border-top: 1px solid var(--tp-line-strong);
	margin: 28px 0;
	clear: both;
}

.tp-divider--dashed {
	border-top-style: dashed;
}

.tp-divider--dotted {
	border-top-style: dotted;
}

.tp-divider--double {
	border-top-style: double;
	border-top-width: 3px;
}

.tp-box {
	margin: 1.4em 0;
	padding: 16px 18px;
	border-radius: 14px;
	background: var(--tp-tint);
	border-inline-start: 4px solid var(--tp-accent);
	color: var(--tp-ink);
}

.tp-toggle {
	margin: 1.2em 0;
	border: 1px solid var(--tp-line);
	border-radius: 14px;
	background: #fff;
	padding: 12px 16px;
}

.tp-toggle>summary {
	cursor: pointer;
	font-weight: 700;
}

.tp-toggle__body {
	margin-top: 10px;
	padding-top: 10px;
	border-top: 1px solid var(--tp-line);
}

.tp-highlight,
.tp-hl,
:where(.entry-content) mark {
	background: #DCFCE7;
	color: #111C15;
	padding: 1px 6px;
	border-radius: 5px;
}

.tp-tie-list {
	margin: 1.35em 0;
}

.tp-tie-list ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.tp-tie-list li {
	position: relative;
	padding-inline-start: 26px;
	margin-bottom: 0.6em;
}

.tp-tie-list li::before {
	content: "✓";
	position: absolute;
	inset-inline-start: 0;
	top: 0.05em;
	font-weight: 700;
	color: var(--tp-accent-aa);
}

.tp-tie-list--cons li::before,
.tp-tie-list--minus li::before,
.tp-tie-list--thumbdown li::before {
	content: "✕";
	color: #dc2626;
}

.tp-tie-list--starlist li::before,
.tp-tie-list--lightbulb li::before,
.tp-tie-list--heart li::before {
	content: "★";
	color: #d97706;
}

.tp-related {
	margin-top: 32px;
}

/* ===== Sidebar ===== */
.tp-sidebar {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.tp-widget--ad {
	display: none;
}

@media (min-width: 1040px) {
	.tp-sidebar {
		position: sticky;
		top: 88px;
	}

	.tp-sidebar:has(.tp-widget--ad) {
		position: static;
		align-self: stretch;
	}

	.tp-widget.tp-widget--ad {
		display: block;
		position: sticky;
		top: 88px;
		padding: 10px 4px 12px;
	}

	.tp-widget--ad .tp-ad {
		margin: 0 auto;
		min-height: 270px;
	}
}

.tp-widget {
	background: var(--tp-card);
	border: 1px solid var(--tp-line);
	border-radius: var(--tp-radius-lg);
	padding: 18px;
	box-shadow: var(--tp-shadow);
}

.tp-widget__title {
	margin: 0 0 14px;
	padding-bottom: 10px;
	border-bottom: 1px solid var(--tp-line);
	font-size: 17px;
	font-weight: 700;
	color: var(--tp-ink);
}

.tp-side-search {
	display: flex;
	gap: 6px;
}

.tp-side-search__input {
	flex: 1;
	min-width: 0;
	height: 42px;
	padding: 0 14px;
	border: 1px solid var(--tp-line-strong);
	border-radius: 999px;
	background: var(--tp-bg);
	font-size: 14px;
}

.tp-side-search__btn {
	width: 42px;
	height: 42px;
	border: 0;
	border-radius: 999px;
	background: var(--tp-accent-aa);
	color: #fff;
	display: grid;
	place-items: center;
	cursor: pointer;
}

.tp-side-cats,
.tp-side-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.tp-side-cats li+li,
.tp-side-list__item+.tp-side-list__item {
	border-top: 1px solid var(--tp-bg);
}

.tp-side-cats a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 9px 6px;
	font-size: 14.5px;
	font-weight: 700;
	color: var(--tp-ink-2);
	border-radius: 10px;
}

.tp-side-cats__lbl {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.tp-side-cats__lbl .tp-icon {
	color: var(--tp-accent-aa);
}

.tp-side-cats a:hover {
	background: var(--tp-tint);
	color: var(--tp-accent-hover);
}

.tp-side-list__link {
	display: grid;
	grid-template-columns: 78px minmax(0, 1fr);
	gap: 11px;
	padding: 10px 0;
	align-items: center;
}

.tp-side-list__thumb {
	border-radius: 9px;
	overflow: hidden;
	background: var(--tp-surface-2);
}

.tp-side-list__img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

.tp-side-list__title {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.45;
	color: var(--tp-ink);
}

.tp-side-list__link:hover .tp-side-list__title {
	color: var(--tp-accent-hover);
}

.tp-side-list__date {
	display: block;
	margin-top: 3px;
	font-size: 11.5px;
	color: var(--tp-muted);
}

/* ===== Archives, Search & 404 ===== */
.tp-archive-head {
	background: var(--tp-card);
	border: 1px solid var(--tp-tint-border);
	border-radius: var(--tp-radius-lg);
	padding: 22px 24px;
	margin-bottom: 24px;
	box-shadow: var(--tp-shadow);
}

.tp-archive-head__kicker {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 12.5px;
	font-weight: 700;
	color: var(--tp-accent-hover);
	margin-bottom: 6px;
}

.tp-archive-head__title {
	margin: 0;
	font-size: clamp(22px, 3vw, 29px);
	font-weight: 700;
	color: var(--tp-ink);
}

.tp-archive-head__desc {
	margin-top: 8px;
	font-size: 15px;
	color: var(--tp-muted);
}

.tp-archive-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 20px;
}

@media (min-width: 640px) {
	.tp-archive-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 980px) {
	.tp-archive-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.tp-arc-card__title {
	margin: 0 0 8px;
	font-size: 17.5px;
	font-weight: 700;
	line-height: 1.5;
	color: var(--tp-ink);
}

.tp-arc-card__excerpt {
	margin: 0 0 12px;
	font-size: 14px;
	color: var(--tp-muted);
	line-height: 1.7;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
}

.tp-search-page-form,
.tp-empty-search {
	display: flex;
	gap: 8px;
	max-width: 560px;
	margin-top: 14px;
}

.tp-search-page-form__input,
.tp-empty-search__input {
	flex: 1;
	min-width: 0;
	height: 44px;
	padding: 0 16px;
	border: 1px solid var(--tp-line-strong);
	border-radius: 999px;
	background: #fff;
}

.tp-search-page-form__btn,
.tp-empty-search__btn {
	height: 44px;
	padding: 0 24px;
	border: 0;
	border-radius: 999px;
	background: var(--tp-accent-aa);
	color: #fff;
	font-weight: 700;
	cursor: pointer;
}

.tp-empty-box,
.tp-404-card {
	background: var(--tp-card);
	border: 1px solid var(--tp-line);
	border-radius: var(--tp-radius-lg);
	padding: 36px 24px;
	text-align: center;
	max-width: 680px;
	margin: 12px auto 36px;
	box-shadow: var(--tp-shadow);
}

.tp-empty-box .tp-empty-search,
.tp-404-card .tp-empty-search {
	margin-inline: auto;
}

.tp-404-code {
	display: block;
	font-size: 54px;
	font-weight: 700;
	line-height: 1;
	color: var(--tp-accent-aa);
	margin-bottom: 10px;
}

.tp-404-title {
	margin: 0 0 10px;
	font-size: 24px;
}

.tp-404-desc {
	margin: 0 0 20px;
	color: var(--tp-muted);
}

.tp-404-actions {
	margin-top: 18px;
}

.tp-pagination {
	margin-top: 32px;
}

.tp-pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
}

.tp-pagination .page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 42px;
	height: 42px;
	padding: 0 14px;
	background: var(--tp-card);
	border: 1px solid var(--tp-line-strong);
	border-radius: 999px;
	font-weight: 700;
	font-size: 14.5px;
	color: var(--tp-ink);
}

.tp-pagination .page-numbers.current,
.tp-pagination a.page-numbers:hover {
	background: var(--tp-accent-aa);
	border-color: var(--tp-accent-aa);
	color: #fff;
}

/* ===== Footer ===== */
.tp-footer {
	background: #112217;
	color: #CFE0D4;
	margin-top: auto;
	border-top: 3px solid var(--tp-accent);
}

.tp-footer__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 28px;
	padding-block: 38px 32px;
}

@media (min-width: 768px) {
	.tp-footer__grid {
		grid-template-columns: 1.5fr 1fr 1fr;
		gap: 36px;
	}
}

.tp-footer__brand {
	display: inline-block;
	font-size: 21px;
	font-weight: 700;
	color: #FFFFFF;
	margin-bottom: 10px;
}

.tp-footer__desc {
	margin: 0 0 16px;
	font-size: 14.5px;
	line-height: 1.8;
	color: #9CB6A3;
	max-width: 440px;
}

.tp-footer__social {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.tp-soc-link {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 7px 16px;
	border-radius: 999px;
	background: #1B3323;
	border: 1px solid #2A4B35;
	color: #FFFFFF;
	font-size: 13.5px;
	font-weight: 700;
}

.tp-soc-link:hover {
	background: var(--tp-accent);
	border-color: var(--tp-accent);
	color: #fff;
}

.tp-footer__heading {
	margin: 0 0 12px;
	font-size: 16px;
	font-weight: 700;
	color: #FFFFFF;
}

.tp-footer__links {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 8px;
	font-size: 14px;
}

.tp-footer__links a {
	color: #CFE0D4;
}

.tp-footer__links a:hover {
	color: #86EFAC;
	text-decoration: underline;
}

.tp-footer__bar {
	border-top: 1px solid #1E3726;
	padding-block: 16px;
	font-size: 13px;
	color: #9CB6A3;
}

.tp-footer__bar-in {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px;
}

.tp-footer__copy,
.tp-footer__tag {
	margin: 0;
}

.tp-top-btn {
	position: fixed;
	inset-inline-end: 18px;
	bottom: 20px;
	z-index: 85;
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 999px;
	background: var(--tp-accent-aa);
	color: #fff;
	display: grid;
	place-items: center;
	cursor: pointer;
	box-shadow: 0 6px 18px rgba(17, 28, 21, .24);
}

@media (max-width: 768px) {
	.tp-top-btn {
		bottom: calc(78px + env(safe-area-inset-bottom, 0px));
	}
}

.tp-top-btn .tp-icon {
	transform: rotate(180deg);
}

.tp-top-btn:hover {
	background: var(--tp-accent-hover);
}

@media print {

	#theme-header,
	#main-nav,
	.tp-drawer,
	.tp-scrim,
	#sidebar,
	#related-posts,
	#footer,
	.tp-top-btn,
	.tp-ad,
	#breadcrumb,
	iframe {
		display: none !important;
	}

	body,
	.tp-article {
		background: #fff !important;
		border: 0 !important;
		box-shadow: none !important;
		padding: 0 !important;
	}

	.tp-layout-single {
		display: block !important;
	}
}