/**
 * Modern GeneratePress Theme Enhancements
 * - Full-width no-sidebar layout (Homepage, Archives, Single Posts, Pages)
 * - Full-width Featured Post Slider (left thumbnail, right title & excerpt)
 * - 3-column Card Grid (12 posts per page)
 * - 6-card Related Posts section
 * - Accessible Navbar Search Dialog
 * - Core Web Vitals (Zero CLS), Google SEO & AdSense friendly design
 */

:root {
	--gp-accent: #1e73be;
	--gp-accent-dark: #155a96;
	--gp-accent-soft: #eef6fc;
	--gp-bg: #f4f6f9;
	--gp-surface: #ffffff;
	--gp-text: #334155;
	--gp-heading: #0f172a;
	--gp-muted: #64748b;
	--gp-border: #e2e8f0;
	--gp-radius: 14px;
	--gp-radius-sm: 10px;
	--gp-shadow-sm: 0 2px 10px rgba(15, 23, 42, 0.05);
	--gp-shadow-md: 0 10px 28px rgba(15, 23, 42, 0.09);
	--gp-transition: 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ==========================================================================
   1. Global & Full-Width Layout Polish
   ========================================================================== */
body.gp-modern-theme {
	background-color: var(--gp-bg);
	color: var(--gp-text);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

.gp-modern-theme .site-header {
	background-color: var(--gp-surface);
	border-bottom: 1px solid var(--gp-border);
	box-shadow: 0 1px 4px rgba(15, 23, 42, 0.04);
}

.gp-modern-theme .main-navigation .main-nav ul li a {
	font-weight: 500;
	color: var(--gp-heading);
	transition: color var(--gp-transition);
}

.gp-modern-theme .main-navigation .main-nav ul li a:hover,
.gp-modern-theme .main-navigation .main-nav ul li[class*="current-menu-"] > a {
	color: var(--gp-accent);
}

/* Ensure full-width no-sidebar content area */
.gp-modern-theme.no-sidebar .content-area,
.gp-modern-theme.no-sidebar .site-main {
	width: 100%;
	max-width: 100%;
	float: none;
	margin: 0;
}

.gp-modern-theme .site-content {
	padding-top: 24px;
	padding-bottom: 48px;
}

.gp-modern-theme.gp-card-archive-layout .site-content .content-area {
	background: transparent;
}

.gp-modern-theme.gp-card-archive-layout .inside-article {
	padding: 0;
	background: transparent;
}

/* ==========================================================================
   2. Homepage Top Intro Section (Before Slider)
   ========================================================================== */
.gp-home-top-wrap {
	width: 100%;
	padding: 24px 20px 0;
	box-sizing: border-box;
}

.gp-home-top {
	width: 100%;
	padding: 32px 36px;
	box-sizing: border-box;
	background: var(--gp-surface);
	border: 1px solid var(--gp-border);
	border-radius: var(--gp-radius);
	box-shadow: var(--gp-shadow-sm);
	text-align: center;
}

.gp-home-top__title {
	margin: 0;
	font-size: clamp(1.65rem, 2.8vw, 2.35rem);
	line-height: 1.24;
	font-weight: 700;
	color: var(--gp-heading);
	letter-spacing: -0.015em;
}

.gp-home-top__description {
	margin: 12px auto 0;
	max-width: 760px;
	font-size: 16px;
	line-height: 1.65;
	color: var(--gp-text);
}

.gp-home-top__title:only-child {
	margin-bottom: 0;
}

.gp-home-top__description:only-child {
	margin-top: 0;
}

.gp-home-top-wrap + .gp-hero-slider-wrap {
	padding-top: 18px;
}

/* ==========================================================================
   3. Full-Width Featured Post Slider (Homepage)
   ========================================================================== */
.gp-hero-slider-wrap {
	width: 100%;
	padding: 24px 20px 6px;
	box-sizing: border-box;
}

.gp-hero-slider {
	position: relative;
	width: 100%;
	background: var(--gp-surface);
	border: 1px solid var(--gp-border);
	border-radius: var(--gp-radius);
	box-shadow: var(--gp-shadow-sm);
	overflow: hidden;
}

.gp-slider-viewport {
	overflow: hidden;
	width: 100%;
}

.gp-slider-track {
	display: flex;
	transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
	will-change: transform;
}

.gp-slide {
	flex: 0 0 100%;
	width: 100%;
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
	align-items: stretch;
	min-height: 360px;
}

.gp-slide-media {
	position: relative;
	background: #e2e8f0;
	overflow: hidden;
	aspect-ratio: 16 / 10;
}

.gp-slide-thumb-link {
	display: block;
	width: 100%;
	height: 100%;
}

.gp-slide-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.5s ease;
}

.gp-slide:hover .gp-slide-image {
	transform: scale(1.03);
}

.gp-slide-placeholder {
	width: 100%;
	height: 100%;
	min-height: 300px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	background: linear-gradient(135deg, #1e73be 0%, #0f4c81 100%);
	color: rgba(255, 255, 255, 0.9);
	font-weight: 600;
	font-size: 15px;
	letter-spacing: 0.02em;
}

.gp-slide-content {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 36px 44px 44px;
	box-sizing: border-box;
}

.gp-slide-top-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	color: var(--gp-muted);
	margin-bottom: 14px;
}

.gp-slide-category {
	display: inline-block;
	padding: 4px 11px;
	border-radius: 999px;
	background: var(--gp-accent-soft);
	color: var(--gp-accent);
	font-size: 12px;
	font-weight: 600;
	text-decoration: none;
	letter-spacing: 0.02em;
	transition: background var(--gp-transition), color var(--gp-transition);
}

.gp-slide-category:hover {
	background: var(--gp-accent);
	color: #fff;
}

.gp-slide-title {
	margin: 0 0 14px;
	font-size: clamp(1.35rem, 2.2vw, 1.85rem);
	line-height: 1.28;
	font-weight: 700;
	color: var(--gp-heading);
}

.gp-slide-title a {
	color: inherit;
	text-decoration: none;
	transition: color var(--gp-transition);
}

.gp-slide-title a:hover {
	color: var(--gp-accent);
}

.gp-slide-excerpt {
	margin: 0 0 22px;
	font-size: 15.5px;
	line-height: 1.65;
	color: var(--gp-text);
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.gp-slide-cta {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 11px 20px;
	border-radius: 999px;
	background: var(--gp-accent);
	color: #fff !important;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	transition: background var(--gp-transition), transform var(--gp-transition);
}

.gp-slide-cta:hover {
	background: var(--gp-accent-dark);
	transform: translateY(-1px);
}

.gp-hero-slider .gp-slider-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 5;
	width: 44px !important;
	height: 44px !important;
	min-width: 44px;
	min-height: 44px;
	padding: 0 !important;
	margin: 0;
	border-radius: 50% !important;
	border: 2px solid rgba(255, 255, 255, 0.92) !important;
	background: rgba(15, 23, 42, 0.8) !important;
	color: #ffffff !important;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	line-height: 1 !important;
	cursor: pointer;
	box-shadow: 0 4px 16px rgba(15, 23, 42, 0.28);
	transition: background var(--gp-transition), color var(--gp-transition), transform var(--gp-transition);
}

.gp-hero-slider .gp-slider-nav svg {
	display: block;
	width: 22px;
	height: 22px;
	stroke: #ffffff;
	flex-shrink: 0;
}

.gp-hero-slider .gp-slider-nav:hover,
.gp-hero-slider .gp-slider-nav:focus-visible {
	background: var(--gp-accent) !important;
	color: #ffffff !important;
	border-color: #ffffff !important;
	outline: none;
}

.gp-slider-prev {
	left: 14px;
}

.gp-slider-next {
	right: 14px;
}

.gp-slider-dots {
	position: absolute;
	bottom: 14px;
	right: 24px;
	z-index: 5;
	display: flex;
	align-items: center;
	gap: 8px;
}

.gp-hero-slider .gp-slider-dot {
	width: 10px;
	height: 10px;
	min-width: 0;
	padding: 0 !important;
	margin: 0;
	border: 0 !important;
	border-radius: 999px !important;
	background: #cbd5e1 !important;
	cursor: pointer;
	transition: width var(--gp-transition), background var(--gp-transition);
}

.gp-hero-slider .gp-slider-dot.is-active {
	width: 26px;
	background: var(--gp-accent) !important;
}

/* ==========================================================================
   3. Section Headings & 3-Column Post Card Grid (12 Posts/Page)
   ========================================================================== */
.gp-section-heading-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin: 0 0 20px;
}

.gp-section-heading {
	margin: 0;
	font-size: 1.35rem;
	font-weight: 700;
	color: var(--gp-heading);
	position: relative;
	padding-left: 14px;
}

.gp-section-heading::before {
	content: "";
	position: absolute;
	left: 0;
	top: 4px;
	bottom: 4px;
	width: 4px;
	border-radius: 4px;
	background: var(--gp-accent);
}

.gp-section-more-link {
	font-size: 14px;
	font-weight: 600;
	color: var(--gp-accent);
	text-decoration: none;
}

.gp-section-more-link:hover {
	text-decoration: underline;
}

.gp-posts-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	width: 100%;
}

/* Prevent Google AdSense Auto Ads from breaking the 3-column grid symmetry */
.gp-posts-grid > .google-auto-placed,
.gp-posts-grid > ins.adsbygoogle {
	grid-column: 1 / -1;
}

.gp-post-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	margin: 0 !important;
	background: var(--gp-surface);
	border: 1px solid var(--gp-border);
	border-radius: var(--gp-radius);
	overflow: hidden;
	box-shadow: var(--gp-shadow-sm);
	transition: transform var(--gp-transition), box-shadow var(--gp-transition), border-color var(--gp-transition);
}

.gp-post-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--gp-shadow-md);
	border-color: #cbd5e1;
}

.gp-card-media {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	background: #e2e8f0;
	overflow: hidden;
}

.gp-card-thumb-link {
	display: block;
	width: 100%;
	height: 100%;
}

.gp-card-thumb {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.45s ease;
}

.gp-post-card:hover .gp-card-thumb {
	transform: scale(1.04);
}

.gp-card-placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	background: linear-gradient(135deg, #e0effb 0%, #c8e1f7 100%);
	color: var(--gp-accent-dark);
	font-size: 13px;
	font-weight: 600;
}

.gp-card-badge {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 2;
	padding: 4px 10px;
	border-radius: 999px;
	background: rgba(15, 23, 42, 0.78);
	color: #fff !important;
	font-size: 11.5px;
	font-weight: 600;
	text-decoration: none;
	letter-spacing: 0.02em;
	backdrop-filter: blur(4px);
	transition: background var(--gp-transition);
}

.gp-card-badge:hover {
	background: var(--gp-accent);
}

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

.gp-card-meta {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 12.5px;
	color: var(--gp-muted);
	margin-bottom: 10px;
}

.gp-card-title {
	margin: 0 0 10px;
	font-size: 1.08rem;
	line-height: 1.38;
	font-weight: 700;
	color: var(--gp-heading);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.gp-card-title a {
	color: inherit;
	text-decoration: none;
	transition: color var(--gp-transition);
}

.gp-card-title a:hover {
	color: var(--gp-accent);
}

.gp-card-excerpt {
	margin: 0 0 16px;
	font-size: 14px;
	line-height: 1.6;
	color: var(--gp-text);
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.gp-card-footer {
	margin-top: auto;
	padding-top: 12px;
	border-top: 1px solid #f1f5f9;
}

.gp-card-readmore {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13.5px;
	font-weight: 600;
	color: var(--gp-accent);
	text-decoration: none;
	transition: gap var(--gp-transition), color var(--gp-transition);
}

.gp-card-readmore:hover {
	color: var(--gp-accent-dark);
	gap: 9px;
}

/* Pagination */
.gp-modern-theme .paging-navigation {
	margin-top: 36px;
	padding: 0 !important;
	background: transparent !important;
	text-align: center;
}

.gp-modern-theme .paging-navigation .nav-links {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

.gp-modern-theme .paging-navigation .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 14px;
	border-radius: 10px;
	border: 1px solid var(--gp-border);
	background: var(--gp-surface);
	color: var(--gp-heading);
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	transition: all var(--gp-transition);
}

.gp-modern-theme .paging-navigation .page-numbers:hover,
.gp-modern-theme .paging-navigation .page-numbers.current {
	background: var(--gp-accent);
	border-color: var(--gp-accent);
	color: #fff;
}

/* Archive / Search Page Header */
.gp-modern-theme .page-header {
	margin-bottom: 24px;
	padding: 24px 28px;
	background: var(--gp-surface);
	border: 1px solid var(--gp-border);
	border-radius: var(--gp-radius);
	box-shadow: var(--gp-shadow-sm);
}

.gp-modern-theme .page-header .page-title {
	margin: 0;
	font-size: 1.65rem;
	color: var(--gp-heading);
}

/* ==========================================================================
   4. Full-Width Single Posts & Pages (AdSense & Readability Optimized)
   ========================================================================== */
.gp-modern-single .inside-article,
.gp-modern-page .inside-article {
	background: var(--gp-surface);
	border: 1px solid var(--gp-border);
	border-radius: var(--gp-radius);
	padding: 40px 48px !important;
	box-shadow: var(--gp-shadow-sm);
}

.gp-breadcrumbs {
	margin-bottom: 14px;
}

.gp-breadcrumbs__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 13.5px;
	color: var(--gp-muted);
}

.gp-breadcrumbs__list a {
	color: var(--gp-accent);
	text-decoration: none;
}

.gp-breadcrumbs__list a:hover {
	text-decoration: underline;
}

.gp-modern-single .entry-title,
.gp-modern-page .entry-title {
	font-size: clamp(1.75rem, 3vw, 2.35rem);
	line-height: 1.25;
	font-weight: 800;
	color: var(--gp-heading);
	margin-bottom: 12px;
}

.gp-single-reading-time {
	display: inline-block;
	margin-top: 6px;
	padding: 3px 10px;
	border-radius: 999px;
	background: var(--gp-accent-soft);
	color: var(--gp-accent);
	font-size: 12.5px;
	font-weight: 600;
}

.gp-modern-theme .featured-image,
.gp-modern-single .featured-image,
.gp-modern-page .featured-image,
.gp-modern-page .page-header-image {
	margin: 24px auto 28px;
	text-align: center;
	border-radius: var(--gp-radius-sm);
	overflow: hidden;
}

.gp-modern-single .featured-image {
	margin-top: 0;
}

.gp-modern-theme .featured-image img,
.gp-modern-single .featured-image img,
.gp-modern-page .featured-image img,
.gp-modern-page .page-header-image img {
	display: block;
	margin-left: auto;
	margin-right: auto;
	max-width: 100%;
	height: auto;
	border-radius: var(--gp-radius-sm);
}

.gp-modern-single .entry-content,
.gp-modern-page .entry-content {
	font-size: 17.5px;
	line-height: 1.8;
	color: var(--gp-text);
}

.gp-modern-single .entry-content h2,
.gp-modern-page .entry-content h2 {
	margin-top: 1.8em;
	margin-bottom: 0.65em;
	font-size: 1.55rem;
	color: var(--gp-heading);
	line-height: 1.3;
}

.gp-modern-single .entry-content h3,
.gp-modern-page .entry-content h3 {
	margin-top: 1.5em;
	margin-bottom: 0.55em;
	font-size: 1.25rem;
	color: var(--gp-heading);
}

.gp-modern-single .entry-content img,
.gp-modern-page .entry-content img {
	border-radius: 10px;
}

.gp-modern-single .entry-content table,
.gp-modern-page .entry-content table {
	display: block;
	overflow-x: auto;
	width: 100%;
	border-collapse: collapse;
}

/* ==========================================================================
   5. Related Posts Section (6 Cards after Single Post Content)
   ========================================================================== */
.gp-related-posts {
	margin-top: 42px;
	padding-top: 32px;
	border-top: 1px solid var(--gp-border);
}

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

/* ==========================================================================
   6. Navbar Search Icon & Accessible Search Dialog Modal
   ========================================================================== */
.gp-search-menu-item {
	display: inline-flex;
	align-items: center;
}

.gp-search-trigger {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0 !important;
	border: 1px solid transparent !important;
	border-radius: 999px !important;
	background: transparent !important;
	color: var(--gp-heading) !important;
	cursor: pointer;
	transition: background var(--gp-transition), color var(--gp-transition), border-color var(--gp-transition);
}

.gp-search-trigger:hover,
.gp-search-trigger:focus-visible {
	background: var(--gp-accent-soft) !important;
	color: var(--gp-accent) !important;
	border-color: rgba(30, 115, 190, 0.25) !important;
	outline: none;
}

.gp-search-dialog {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	padding: 12vh 16px 24px;
	box-sizing: border-box;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.2s ease, visibility 0.2s ease;
}

.gp-search-dialog[hidden] {
	display: none;
}

.gp-search-dialog.is-open {
	opacity: 1;
	visibility: visible;
}

.gp-search-dialog__backdrop {
	position: fixed;
	inset: 0;
	background: rgba(15, 23, 42, 0.56);
	backdrop-filter: blur(4px);
}

.gp-search-dialog__panel {
	position: relative;
	z-index: 2;
	width: 100%;
	max-width: 620px;
	background: var(--gp-surface);
	border-radius: 16px;
	padding: 24px 26px 26px;
	box-shadow: 0 24px 60px rgba(15, 23, 42, 0.28);
	transform: translateY(-10px) scale(0.98);
	transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.gp-search-dialog.is-open .gp-search-dialog__panel {
	transform: translateY(0) scale(1);
}

.gp-search-dialog__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 16px;
}

.gp-search-dialog__title {
	margin: 0;
	font-size: 1.15rem;
	font-weight: 700;
	color: var(--gp-heading);
}

.gp-search-dialog__close {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 50% !important;
	background: #f1f5f9 !important;
	color: var(--gp-heading) !important;
	cursor: pointer;
	transition: background var(--gp-transition), color var(--gp-transition);
}

.gp-search-dialog__close:hover {
	background: #e2e8f0 !important;
	color: #000 !important;
}

.gp-search-dialog__input-wrap {
	position: relative;
	display: flex;
	align-items: center;
	border: 2px solid var(--gp-border);
	border-radius: 12px;
	background: #f8fafc;
	padding: 4px 4px 4px 14px;
	transition: border-color var(--gp-transition), background var(--gp-transition), box-shadow var(--gp-transition);
}

.gp-search-dialog__input-wrap:focus-within {
	border-color: var(--gp-accent);
	background: #fff;
	box-shadow: 0 0 0 4px rgba(30, 115, 190, 0.12);
}

.gp-search-dialog__icon {
	color: var(--gp-muted);
	flex-shrink: 0;
}

.gp-search-dialog__input {
	flex: 1 1 auto;
	width: 100%;
	height: 46px;
	padding: 0 12px;
	border: 0 !important;
	background: transparent !important;
	color: var(--gp-heading);
	font-size: 16px;
	outline: none !important;
	box-shadow: none !important;
}

.gp-search-dialog__submit {
	flex-shrink: 0;
	height: 44px;
	padding: 0 22px;
	border: 0;
	border-radius: 9px;
	background: var(--gp-accent);
	color: #fff;
	font-size: 14.5px;
	font-weight: 600;
	cursor: pointer;
	transition: background var(--gp-transition);
}

.gp-search-dialog__submit:hover {
	background: var(--gp-accent-dark);
}

.gp-search-dialog__topics {
	margin-top: 18px;
}

.gp-search-dialog__topics-label {
	display: block;
	font-size: 12.5px;
	font-weight: 600;
	color: var(--gp-muted);
	margin-bottom: 10px;
}

.gp-search-dialog__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.gp-search-chip {
	display: inline-block;
	padding: 5px 12px;
	border-radius: 999px;
	background: #f1f5f9;
	color: var(--gp-text);
	font-size: 13px;
	font-weight: 500;
	text-decoration: none;
	transition: background var(--gp-transition), color var(--gp-transition);
}

.gp-search-chip:hover {
	background: var(--gp-accent);
	color: #fff;
}

body.gp-search-modal-open {
	overflow: hidden;
}

/* ==========================================================================
   7. Footer Menu & Copyright Credit Center Alignment
   ========================================================================== */
.gp-modern-theme .site-info {
	text-align: center;
}

.gp-modern-theme .site-info .inside-site-info {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
	text-align: center;
}

.gp-modern-theme .footer-bar {
	float: none;
	order: 1;
	margin: 0 auto;
	text-align: center;
}

.gp-modern-theme .footer-bar .widget {
	margin: 0;
}

.gp-modern-theme .footer-bar .widget_nav_menu > div > ul,
.gp-modern-theme .footer-bar ul.menu {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.gp-modern-theme .footer-bar .widget_nav_menu li {
	margin: 0;
	padding: 0;
}

.gp-modern-theme .copyright-bar {
	float: none;
	order: 2;
	width: 100%;
	margin: 0 auto;
	text-align: center;
}

/* ==========================================================================
   8. Responsive Breakpoints & Reduced Motion
   ========================================================================== */
@media (max-width: 959px) {
	.gp-home-top {
		padding: 26px 24px;
	}

	.gp-posts-grid,
	.gp-related-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 18px;
	}

	.gp-slide {
		grid-template-columns: 1fr;
		min-height: auto;
	}

	.gp-slide-content {
		padding: 24px 24px 44px;
	}

	.gp-modern-single .inside-article,
	.gp-modern-page .inside-article {
		padding: 28px 26px !important;
	}
}

@media (max-width: 639px) {
	.gp-home-top-wrap {
		padding: 16px 14px 0;
	}

	.gp-home-top {
		padding: 22px 18px;
	}

	.gp-home-top__description {
		font-size: 14.5px;
		margin-top: 10px;
	}

	.gp-home-top-wrap + .gp-hero-slider-wrap {
		padding-top: 14px;
	}

	.gp-hero-slider-wrap {
		padding: 16px 14px 4px;
	}

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

	.gp-card-body {
		padding: 12px 12px 14px;
	}

	.gp-card-meta {
		font-size: 11px;
		gap: 4px;
		margin-bottom: 6px;
		flex-wrap: wrap;
	}

	.gp-card-title {
		font-size: 0.94rem;
		line-height: 1.32;
		margin-bottom: 6px;
	}

	.gp-card-excerpt {
		font-size: 12.5px;
		line-height: 1.48;
		margin-bottom: 10px;
		-webkit-line-clamp: 2;
	}

	.gp-card-badge {
		top: 8px;
		left: 8px;
		padding: 3px 8px;
		font-size: 10.5px;
	}

	.gp-card-footer {
		padding-top: 8px;
	}

	.gp-card-readmore {
		font-size: 12px;
	}

	.gp-slide-content {
		padding: 20px 18px 42px;
	}

	.gp-hero-slider .gp-slider-nav {
		width: 36px !important;
		height: 36px !important;
		min-width: 36px;
		min-height: 36px;
	}

	.gp-hero-slider .gp-slider-nav svg {
		width: 18px;
		height: 18px;
	}

	.gp-slider-prev {
		left: 10px;
	}

	.gp-slider-next {
		right: 10px;
	}

	.gp-slider-dots {
		right: 50%;
		transform: translateX(50%);
	}

	.gp-modern-single .inside-article,
	.gp-modern-page .inside-article {
		padding: 22px 18px !important;
	}

	.gp-search-dialog__panel {
		padding: 18px;
	}

	.gp-search-dialog__submit {
		padding: 0 14px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.gp-slider-track,
	.gp-post-card,
	.gp-card-thumb,
	.gp-slide-image,
	.gp-search-dialog,
	.gp-search-dialog__panel {
		transition: none !important;
	}
}
