/* Blog: index cards, single guide layout, store box, related guides (2026-10). */

.gtav-blog-intro {
	max-width: 720px;
	margin: 14px auto 0;
	font-size: 18px;
	line-height: 1.6;
	opacity: 0.92;
}

.wrapper.gtav-blog {
	padding: 64px 0 80px;
}

/* Cards */
.gtav-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
	gap: 32px;
}

.gtav-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background: #fff;
	border: 1px solid #e4e4ee;
	border-radius: 12px;
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.gtav-card:hover {
	box-shadow: 0 10px 28px rgba(17, 17, 60, 0.1);
	transform: translateY(-2px);
}

.gtav-card__media,
.gtav-card__media:hover {
	display: block;
	text-decoration: none;
}

.gtav-card__media img,
.gtav-card__placeholder {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

.gtav-card__placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #2929e6, #12127a);
	color: #fff;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.gtav-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 20px 22px 24px;
}

.gtav-card__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0 0 8px;
	font-size: 13px;
	color: #555;
}

.gtav-card__cat {
	color: #2929e6;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.gtav-card__title {
	margin: 0 0 10px;
	font-size: 20px;
	font-weight: 600;
	line-height: 1.3;
}

.gtav-card__title a {
	color: #111;
	text-decoration: none;
}

.gtav-card__title a:hover {
	color: #2929e6;
}

.gtav-card__excerpt {
	margin: 0 0 16px;
	font-size: 15px;
	line-height: 1.6;
	color: #444;
}

.gtav-card__more {
	margin-top: auto;
	font-weight: 600;
	color: #2929e6;
	text-decoration: none;
}

.gtav-card__more:hover {
	text-decoration: underline;
}

/* Pagination */
.gtav-pagination ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin: 48px 0 0;
	padding: 0;
	list-style: none;
}

.gtav-pagination .page-numbers {
	display: inline-block;
	padding: 8px 14px;
	border: 1px solid #d9d9e6;
	border-radius: 8px;
	color: #111;
	text-decoration: none;
}

.gtav-pagination .page-numbers.current {
	background: #2929e6;
	border-color: #2929e6;
	color: #fff;
}

/* Single guide */
.wrapper.gtav-post-hero {
	padding: 56px 0 48px;
}

.gtav-crumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	font-size: 14px;
}

.gtav-crumbs a {
	color: #fff;
	opacity: 0.85;
	text-decoration: none;
}

.gtav-crumbs a:hover {
	opacity: 1;
	text-decoration: underline;
}

.gtav-post-title {
	margin: 14px 0 16px;
	font-size: clamp(30px, 4.2vw, 46px);
	font-weight: 700;
	line-height: 1.15;
}

.gtav-post-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	font-size: 15px;
	opacity: 0.9;
}

.wrapper.gtav-post {
	padding: 40px 0 72px;
}

.gtav-post-figure {
	margin: 0 0 28px;
}

.gtav-post-figure img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 12px;
}

.gtav-toc {
	margin: 0 0 32px;
	padding: 18px 22px;
	background: #f4f4fd;
	border: 1px solid #dcdcf6;
	border-radius: 12px;
}

.gtav-toc__title {
	margin: 0 0 6px;
	font-weight: 700;
}

.gtav-toc ol {
	margin: 0;
	padding-left: 20px;
}

.gtav-toc li {
	line-height: 1.9;
}

.gtav-toc a {
	color: #2929e6;
	text-decoration: none;
}

.gtav-toc a:hover {
	text-decoration: underline;
}

.gtav-post-body {
	font-size: 17px;
	line-height: 1.75;
	color: #1a1a1a;
}

.gtav-post-body h2 {
	margin: 44px 0 14px;
	font-size: 28px;
	font-weight: 700;
	line-height: 1.25;
	scroll-margin-top: 110px;
}

.gtav-post-body h3 {
	margin: 28px 0 10px;
	font-size: 21px;
	font-weight: 600;
	line-height: 1.3;
}

.gtav-post-body p {
	margin: 0 0 18px;
}

.gtav-post-body ul,
.gtav-post-body ol {
	margin: 0 0 20px;
	padding-left: 22px;
}

.gtav-post-body li {
	margin-bottom: 8px;
}

.gtav-post-body a {
	color: #2929e6;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.gtav-post-body a:hover {
	color: #1717da;
}

.gtav-table {
	overflow-x: auto;
	margin: 8px 0 28px;
	-webkit-overflow-scrolling: touch;
}

.gtav-table table {
	width: 100%;
	min-width: 520px;
	border-collapse: collapse;
	font-size: 15px;
	line-height: 1.5;
}

.gtav-table th,
.gtav-table td {
	padding: 10px 12px;
	border-bottom: 1px solid #e3e3ee;
	text-align: left;
	vertical-align: top;
}

.gtav-table thead th {
	background: #2929e6;
	color: #fff;
	font-weight: 600;
}

.gtav-table tbody tr:nth-child(even) {
	background: #f8f8fd;
}

.gtav-post-body figure {
	margin: 8px 0 28px;
}

.gtav-post-body figure img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 10px;
}

.gtav-post-body figcaption {
	margin-top: 8px;
	font-size: 14px;
	color: #555;
}

/* Store box */
.gtav-cta {
	display: grid;
	gap: 20px;
	align-items: center;
	margin: 48px 0 0;
	padding: 28px;
	background: #000;
	border-radius: 14px;
	color: #fff;
}

.gtav-cta p {
	margin: 0;
	color: #ddd;
}

.gtav-cta__title {
	margin: 0 0 10px !important;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.3;
	color: #fff !important;
}

.gtav-cta__age {
	margin-top: 10px !important;
	font-size: 13px;
	color: #aaa !important;
}

.gtav-cta__actions {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.gtav-cta__link {
	font-size: 14px;
	color: #fff;
	text-align: center;
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* Related guides */
.wrapper.gtav-related {
	padding: 64px 0 72px;
	background: #f6f6fb;
}

.gtav-related__title {
	margin: 0 0 28px;
	font-size: 28px;
	font-weight: 700;
}

.gtav-related__all {
	margin: 32px 0 0;
	text-align: center;
}

.gtav-related__all a {
	font-weight: 600;
	color: #2929e6;
}

/* Focus */
.gtav-blog a:focus-visible,
.gtav-post a:focus-visible,
.gtav-related a:focus-visible,
.gtav-post-hero a:focus-visible {
	outline: 2px solid #2929e6;
	outline-offset: 2px;
}

.gtav-post-hero a:focus-visible {
	outline-color: #fff;
}

@media (min-width: 768px) {
	.gtav-cta {
		grid-template-columns: 1.6fr 1fr;
		padding: 32px 36px;
	}
}

@media (max-width: 767px) {
	.gtav-blog-intro {
		font-size: 16px;
	}

	.gtav-post-body {
		font-size: 16px;
	}

	.gtav-post-body h2 {
		font-size: 24px;
	}

	.gtav-post-body h3 {
		font-size: 19px;
	}

	.wrapper.gtav-post-hero {
		padding: 40px 0 32px;
	}
}
