/* ==========================================================================
   Global Times — main stylesheet
   ========================================================================== */

:root {
	--gt-accent: #d0202f;
	--gt-ink: #14181f;
	--gt-slate: #5b6472;
	--gt-slate-light: #9099a6;
	--gt-paper: #f7f7f5;
	--gt-line: #e7e5e0;
	--gt-white: #ffffff;
	--gt-font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
	--gt-font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	--gt-radius: 10px;
	--gt-shadow: 0 4px 20px rgba(20, 24, 31, 0.06);
	--gt-shadow-lg: 0 12px 40px rgba(20, 24, 31, 0.12);
	--gt-container: 1240px;
}

/* -------------------------------------------------------------------------
   Reset & base
   ------------------------------------------------------------------------- */
*,
*::before,
*::after {
	box-sizing: border-box;
}

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

body {
	margin: 0;
	font-family: var(--gt-font-sans);
	font-size: 16px;
	line-height: 1.65;
	color: var(--gt-ink);
	background: var(--gt-white);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
	max-width: 100%;
}

.content-area, aside{
	max-width:85vw;
}

/* Safety net: nothing (long URLs, imported RSS markup, wide embeds) should
   ever be able to force horizontal scroll on the page. */
h1, h2, h3, h4, p, a, li, .single-lede, .post-card-excerpt, .post-card-title {
	overflow-wrap: break-word;
	word-break: break-word;
}

.entry-content table {
	display: block;
	max-width: 100%;
	overflow-x: auto;
}

/* Imported/pasted content (RSS items, embeds, WP captions) frequently ships
   with inline width/height styles or attributes wider than the viewport.
   Inline styles beat external CSS by specificity alone, so these need
   !important to actually constrain them on mobile. */
.entry-content img {
	max-width: 100% !important;
	width: auto !important;
	height: auto !important;
}

.entry-content figure,
.entry-content .wp-caption,
.entry-content .wp-block-image {
	max-width: 100% !important;
	width: auto !important;
}

.entry-content iframe,
.entry-content embed,
.entry-content video,
.entry-content object,
.entry-content .twitter-tweet,
.entry-content .instagram-media {
	max-width: 100% !important;
}

.entry-content * {
	max-width: 100%;
}

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

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

ul, ol {
	margin: 0;
	padding: 0;
	list-style: none;
}

button {
	font-family: inherit;
	cursor: pointer;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

.skip-link {
	position: fixed;
	top: -100px;
	left: 1rem;
	z-index: 9999;
	background: var(--gt-ink);
	color: #fff;
	padding: 0.75rem 1.25rem;
	border-radius: 6px;
	transition: top 0.2s ease;
}

.skip-link:focus {
	top: 1rem;
	position: fixed !important;
	width: auto;
	height: auto;
	clip: auto;
}

.container {
	max-width: var(--gt-container);
	margin: 0 auto;
	padding: 0 1.5rem;
}

.container-wide {
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 1.5rem;
}

h1, h2, h3, h4 {
	font-family: var(--gt-font-serif);
	font-weight: 800;
	line-height: 1.2;
	margin: 0 0 0.6em;
	color: var(--gt-ink);
}

p { margin: 0 0 1.1em; }

.icon {
	display: inline-block;
	vertical-align: middle;
	color: currentColor;
}

.icon.icon-flip { transform: scaleX(-1); }

/* -------------------------------------------------------------------------
   Topbar
   ------------------------------------------------------------------------- */
.topbar {
	background: var(--gt-ink);
	color: #cfd3da;
	font-size: 0.8rem;
}

.topbar-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 38px;
}

.topbar-nav ul { display: flex; gap: 1.25rem; }
.topbar-nav a { opacity: 0.85; transition: opacity 0.15s; }
.topbar-nav a:hover { opacity: 1; color: #fff; }

/* -------------------------------------------------------------------------
   Header
   ------------------------------------------------------------------------- */
.site-header {
	background: var(--gt-white);
	border-bottom: 1px solid var(--gt-line);
	position: sticky;
	top: 0;
	z-index: 100;
}

.site-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.site-branding .site-title-link { display: flex; flex-direction: column; }
.site-title {
	font-family: var(--gt-font-serif);
	font-weight: 900;
	font-size: 1.9rem;
	letter-spacing: -0.01em;
	color: var(--gt-ink);
}
.site-description {
	font-size: 0.7rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--gt-slate);
}

.custom-logo { max-height: 72px; width: auto; }

.search-toggle,
.menu-toggle {
	background: transparent;
	border: none;
	color: var(--gt-ink);
	padding: 0.5rem;
	border-radius: 8px;
	display: inline-flex;
	align-items: center;
	transition: background 0.15s;
}
.search-toggle:hover,
.menu-toggle:hover { background: var(--gt-paper); }

.menu-toggle { display: none; }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: inline-block; }

.header-search {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.25s ease, padding 0.25s ease;
	background: var(--gt-paper);
	border-bottom: 1px solid transparent;
}
.header-search.is-open {
	max-height: 100px;
	border-bottom-color: var(--gt-line);
}
.header-search .container { padding: 1rem 1.5rem; }

.search-form { display: flex; gap: 0.5rem; max-width: 560px; }
.search-field {
	flex: 1;
	border: 1px solid var(--gt-line);
	border-radius: 8px;
	padding: 0.65rem 1rem;
	font-size: 0.95rem;
	background: #fff;
}
.search-field:focus { outline: 2px solid var(--gt-accent); outline-offset: 1px; }
.search-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--gt-ink);
	color: #fff;
	border: none;
	border-radius: 8px;
	padding: 0 1rem;
}
.search-submit:hover { background: var(--gt-accent); }

/* -------------------------------------------------------------------------
   Primary navigation
   ------------------------------------------------------------------------- */
.main-navigation {
	background: var(--gt-ink);
}
.main-navigation .container { padding: 0 1.5rem; }
.nav-menu {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem;
}
.nav-menu > li > a {
	display: block;
	padding: 0.85rem 1rem;
	color: #e7e9ee;
	font-weight: 600;
	font-size: 0.9rem;
	letter-spacing: 0.01em;
	transition: color 0.15s, background 0.15s;
	border-bottom: 3px solid transparent;
}
.nav-menu > li > a:hover,
.nav-menu > li.current-menu-item > a {
	color: #fff;
	border-bottom-color: var(--gt-accent);
	background: rgba(255,255,255,0.04);
}

.nav-menu li.menu-item-has-children { position: relative; }
.nav-menu .sub-menu {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 220px;
	background: var(--gt-white);
	border-radius: 0 0 10px 10px;
	box-shadow: var(--gt-shadow-lg);
	padding: 0.5rem;
	z-index: 50;
}
.nav-menu li.menu-item-has-children:hover .sub-menu,
.nav-menu li.menu-item-has-children:focus-within .sub-menu { display: block; }
.nav-menu .sub-menu a {
	color: var(--gt-ink);
	padding: 0.55rem 0.75rem;
	border-radius: 6px;
	font-weight: 500;
}
.nav-menu .sub-menu a:hover { background: var(--gt-paper); color: var(--gt-accent); }

/* -------------------------------------------------------------------------
   Breaking news ticker
   ------------------------------------------------------------------------- */
.breaking-ticker {
	background: var(--gt-accent);
	color: #fff;
}
.breaking-ticker-inner {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 0.55rem 1.5rem;
	overflow: hidden;
}
.breaking-label {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	font-weight: 800;
	font-size: 0.78rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	flex-shrink: 0;
	padding-right: 1rem;
	border-right: 1px solid rgba(255,255,255,0.4);
}
.breaking-track { overflow: hidden; flex: 1; }
.breaking-list {
	display: flex;
	gap: 3rem;
	white-space: nowrap;
	animation: gt-ticker 28s linear infinite;
	width: max-content;
}
.breaking-list a { font-size: 0.85rem; font-weight: 500; opacity: 0.95; }
.breaking-list a:hover { text-decoration: underline; }

@keyframes gt-ticker {
	from { transform: translateX(0); }
	to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
	.breaking-list { animation: none; overflow-x: auto; }
}

/* -------------------------------------------------------------------------
   Layout helpers
   ------------------------------------------------------------------------- */
.site-main { padding-bottom: 3.5rem; }

.layout-with-sidebar {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 2.5rem;
	align-items: start;
}
body.no-sidebar .layout-with-sidebar { grid-template-columns: 1fr; }

.section-block { margin: 3rem auto; }
.section-heading {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	border-bottom: 2px solid var(--gt-ink);
	padding-bottom: 0.6rem;
	margin-bottom: 1.5rem;
}
.section-heading h2 { margin: 0; font-size: 1.5rem; }
.section-more {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	font-size: 0.85rem;
	font-weight: 700;
	color: var(--gt-accent);
	white-space: nowrap;
}

/* -------------------------------------------------------------------------
   Hero grid (homepage)
   ------------------------------------------------------------------------- */
.hero-grid {
	display: grid;
	grid-template-columns: 1.5fr 1fr;
	gap: 2rem;
	margin: 2rem auto 3rem;
}
.hero-lead .post-card-thumb { aspect-ratio: 16/10; border-radius: var(--gt-radius); overflow: hidden; margin-bottom: 1rem; }
.hero-lead .post-card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.hero-lead .post-card-thumb:hover img { transform: scale(1.03); }
.hero-lead .post-card-title { font-size: 2rem; }
.hero-lead .post-card-excerpt { color: var(--gt-slate); }

.hero-side { display: flex; flex-direction: column; gap: 1.25rem; }
.hero-side .post-card--small { padding-bottom: 1.1rem; border-bottom: 1px solid var(--gt-line); }
.hero-side .post-card--small:last-child { border-bottom: none; padding-bottom: 0; }
.hero-side .post-card-thumb { display: none; }
.hero-side .post-card-title { font-size: 0.95rem; margin-bottom: 0.35rem; }

/* -------------------------------------------------------------------------
   Post cards / grids
   ------------------------------------------------------------------------- */
.card-grid { display: grid; gap: 1.75rem; }
.card-grid--3 { grid-template-columns: repeat(3, 1fr); }
.card-grid--4 { grid-template-columns: repeat(4, 1fr); }

.post-card { display: flex; flex-direction: column; }
.post-card-thumb {
	border-radius: var(--gt-radius);
	overflow: hidden;
	aspect-ratio: 16/10;
	margin-bottom: 0.9rem;
	background: var(--gt-paper);
}
.post-card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.post-card-thumb:hover img { transform: scale(1.04); }

.category-badges { display: flex; gap: 0.4rem; margin-bottom: 0.5rem; flex-wrap: wrap; }
.category-badge {
	font-size: 0.68rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--gt-accent);
	background: rgba(208, 32, 47, 0.08);
	padding: 0.22rem 0.6rem;
	border-radius: 100px;
}

.post-card-title {
	font-size: 1.1rem;
	margin-bottom: 0.5rem;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	overflow: hidden;
}
.post-card-title a { transition: color 0.15s; }
.post-card-title a:hover { color: var(--gt-accent); }

.post-card--small .post-card-title {
	-webkit-line-clamp: 2;
	font-size: 0.95rem;
}

.post-card-excerpt {
	font-size: 0.9rem;
	color: var(--gt-slate);
	margin-bottom: 0.6rem;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	overflow: hidden;
}

.post-card-meta,
.meta-item {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
}
.post-card-meta {
	flex-wrap: wrap;
	gap: 0.9rem;
	font-size: 0.78rem;
	color: var(--gt-slate-light);
}
.post-card-meta .icon { width: 14px; height: 14px; }
.post-card-meta a:hover { color: var(--gt-accent); }

/* -------------------------------------------------------------------------
   Single post
   ------------------------------------------------------------------------- */
.single-header {
	max-width: 1300px;
	margin: 2.5rem auto 1.5rem;
	text-align: center;
}
.single-title {
	font-size: clamp(2rem, 4vw, 3rem);
	margin-bottom: 0.5rem;
}
.single-lede {
	font-size: 1.15rem;
	color: var(--gt-slate);
	font-family: var(--gt-font-serif);
	margin-bottom: 1.25rem;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	overflow: hidden;
}
.single-meta {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	text-align: left;
}
.single-meta img { border-radius: 50%; }
.single-meta-text { display: flex; flex-direction: column; gap: 0.2rem; }
.single-author { font-weight: 700; font-size: 0.9rem; }
.single-meta-text .post-card-meta { font-size: 0.75rem; }

.single-thumb {
	margin: 0 auto 2.5rem;
	border-radius: var(--gt-radius);
	overflow: hidden;
	max-width: 1200px;
}
.single-thumb figcaption {
	font-size: 0.8rem;
	color: var(--gt-slate);
	padding: 0.6rem 0.2rem 0;
	text-align: center;
}

.entry-content {
/* 	font-family: var(--gt-font-serif); */
	font-size: 1.15rem;
	line-height: 1.8;
	color: #1e232b;
	max-width: 760px;
}
.entry-content > * { max-width: 100%; }
.entry-content h2, .entry-content h3, .entry-content h4 { margin-top: 1.6em; }
.entry-content h2 { font-size: 1.5rem; }
.entry-content h3 { font-size: 1.25rem; }
.entry-content h4 { font-size: 1.05rem; }

.entry-content .gtne-toc {
	background: var(--gt-paper);
	border: 1px solid var(--gt-line);
	border-radius: var(--gt-radius);
	padding: 1.25rem 1.5rem;
	margin: 1.75em 0;
}
.entry-content .gtne-toc-title {
	font-family: var(--gt-font-sans);
	font-weight: 800;
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--gt-slate);
	margin: 0 0 0.75rem;
}
.entry-content .gtne-toc ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}
.entry-content .gtne-toc li { font-family: var(--gt-font-sans); font-size: 0.95rem; }
.entry-content .gtne-toc li.gtne-toc-sub { margin-left: 1.25rem; font-size: 0.88rem; }
.entry-content .gtne-toc a {
	color: var(--gt-ink);
	text-decoration: none;
	border-bottom: 1px dotted var(--gt-slate-light);
}
.entry-content .gtne-toc a:hover { color: var(--gt-accent); border-bottom-color: var(--gt-accent); }
.entry-content p { margin-bottom: 1.4em; }
.entry-content a { color: var(--gt-accent); text-decoration: underline; text-underline-offset: 3px; }
.entry-content img, .entry-content figure { border-radius: var(--gt-radius); margin: 1.5em 0; }
.entry-content blockquote {
	border-left: 4px solid var(--gt-accent);
	padding: 0.25rem 0 0.25rem 1.5rem;
	margin: 1.75em 0;
	font-style: italic;
	color: var(--gt-slate);
}
.entry-content ul, .entry-content ol { margin: 1.2em 0 1.2em 1.4em; list-style: revert; }
.entry-content code { background: var(--gt-paper); padding: 0.15em 0.4em; border-radius: 4px; font-size: 0.9em; }
.entry-content pre { background: var(--gt-ink); color: #f4f4f4; padding: 1.2rem; border-radius: 8px; overflow-x: auto; }

.entry-footer { max-width: 760px; margin-top: 2rem; }
.tag-list { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tag-pill {
	font-size: 0.8rem;
	font-weight: 600;
	background: var(--gt-paper);
	padding: 0.35rem 0.85rem;
	border-radius: 100px;
	border: 1px solid var(--gt-line);
	transition: all 0.15s;
}
.tag-pill:hover { background: var(--gt-ink); color: #fff; border-color: var(--gt-ink); }

.author-box {
	max-width: 760px;
	display: flex;
	gap: 1.25rem;
	background: var(--gt-paper);
	border-radius: var(--gt-radius);
	padding: 1.5rem;
	margin: 2.5rem 0;
}
.author-box img { border-radius: 50%; flex-shrink: 0; }
.author-box h3 { margin-bottom: 0.35rem; font-size: 1.05rem; }
.author-box p { margin: 0; color: var(--gt-slate); font-size: 0.9rem; }

.related-posts { max-width: 900px; margin: 3rem 0; }
.related-posts h2 { font-size: 1.3rem; border-bottom: 2px solid var(--gt-ink); padding-bottom: 0.5rem; }
.related-posts .card-grid--3 { margin-top: 1.25rem; }

/* -------------------------------------------------------------------------
   Sidebar & widgets
   ------------------------------------------------------------------------- */
.widget-area { display: flex; flex-direction: column; gap: 2rem; }
.widget {
	background: var(--gt-paper);
	border-radius: var(--gt-radius);
	padding: 1.5rem;
}
.widget-title {
	font-size: 1rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	border-bottom: 2px solid var(--gt-ink);
	padding-bottom: 0.5rem;
	margin-bottom: 1rem;
}
.widget ul li { padding: 0.4rem 0; border-bottom: 1px solid var(--gt-line); font-size: 0.9rem; }
.widget ul li:last-child { border-bottom: none; }
.widget a:hover { color: var(--gt-accent); }
.widget select, .widget input[type="text"], .widget input[type="email"] {
	width: 100%;
	padding: 0.5rem;
	border: 1px solid var(--gt-line);
	border-radius: 6px;
}

/* -------------------------------------------------------------------------
   Comments
   ------------------------------------------------------------------------- */
.comments-area { max-width: 760px; margin-top: 3rem; }
.comments-title { font-size: 1.3rem; }
.comment-list { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 1.5rem; }
.comment-list .children { margin-top: 1.5rem; margin-left: 2.5rem; display: flex; flex-direction: column; gap: 1.5rem; }
.comment-body { display: flex; gap: 1rem; }
.comment-author .avatar { border-radius: 50%; }
.comment-meta { font-size: 0.8rem; color: var(--gt-slate); margin-bottom: 0.4rem; }
.comment-content p { margin-bottom: 0.6em; }
.comment-form input, .comment-form textarea {
	width: 100%;
	padding: 0.65rem 0.9rem;
	border: 1px solid var(--gt-line);
	border-radius: 8px;
	margin-bottom: 1rem;
	font-family: inherit;
}
.comment-form .form-submit input {
	width: auto;
	background: var(--gt-ink);
	color: #fff;
	border: none;
	font-weight: 700;
	padding: 0.7rem 1.75rem;
}
.comment-form .form-submit input:hover { background: var(--gt-accent); }

/* -------------------------------------------------------------------------
   Buttons / pagination
   ------------------------------------------------------------------------- */
.button, a.button {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	background: var(--gt-accent);
	color: #fff;
	font-weight: 700;
	padding: 0.75rem 1.5rem;
	border-radius: 8px;
	margin-top: 1rem;
}
.button:hover { background: var(--gt-ink); }

.pagination, .nav-links {
	display: flex;
	justify-content: center;
	gap: 0.5rem;
	margin: 3rem auto 0;
}
.pagination .page-numbers,
.nav-links .page-numbers {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	padding: 0.55rem 1rem;
	border-radius: 8px;
	border: 1px solid var(--gt-line);
	font-weight: 600;
	font-size: 0.9rem;
}
.pagination .page-numbers.current,
.nav-links .page-numbers.current { background: var(--gt-ink); color: #fff; border-color: var(--gt-ink); }
.pagination .page-numbers:hover,
.nav-links .page-numbers:hover { border-color: var(--gt-accent); color: var(--gt-accent); }

/* -------------------------------------------------------------------------
   Archive / search / 404 headers
   ------------------------------------------------------------------------- */
.archive-header { text-align: center; margin: 2.5rem auto 1rem; }
.archive-title { font-size: 2.2rem; }
.archive-title span { color: var(--gt-accent); }
.archive-description { color: var(--gt-slate); max-width: 640px; margin: 0 auto; }

.error-404 { text-align: center; padding: 5rem 0; }
.error-title {
	font-size: 6rem;
	color: var(--gt-accent);
	margin-bottom: 0;
}
.error-404 .search-form { margin: 1.5rem auto; }

.no-results { text-align: center; padding: 3rem 0; }

/* -------------------------------------------------------------------------
   Footer
   ------------------------------------------------------------------------- */
.site-footer { background: var(--gt-ink); color: #cfd3da; margin-top: 3rem; }
.footer-top {
	display: grid;
	grid-template-columns: 1fr 2fr;
	gap: 3rem;
	padding: 3.5rem 1.5rem 2.5rem;
}
.footer-brand .site-title { color: #fff; }
.footer-brand p { color: #9099a6; font-size: 0.9rem; }
.social-links { display: flex; gap: 0.6rem; margin-top: 1rem; }
.social-links a {
	width: 38px;
	height: 38px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: rgba(255,255,255,0.08);
	border-radius: 50%;
	transition: background 0.15s;
}
.social-links a:hover { background: var(--gt-accent); }

.footer-widgets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.footer-widgets .widget { background: transparent; padding: 0; }
.footer-widgets .widget-title { color: #fff; border-bottom-color: rgba(255,255,255,0.2); }
.footer-widgets .widget ul li { border-bottom-color: rgba(255,255,255,0.08); }
.footer-widgets a { color: #cfd3da; }
.footer-widgets a:hover { color: #fff; }

.footer-nav { border-top: 1px solid rgba(255,255,255,0.1); padding: 1.25rem 1.5rem; }
.footer-menu { display: flex; gap: 1.5rem; flex-wrap: wrap; justify-content: center; font-size: 0.85rem; }
.footer-menu a:hover { color: #fff; }

.site-info {
	text-align: center;
	font-size: 0.8rem;
	color: #7c8493;
	border-top: 1px solid rgba(255,255,255,0.08);
	padding: 1.25rem 1.5rem;
}

/* -------------------------------------------------------------------------
   Responsive
   ------------------------------------------------------------------------- */
@media (max-width: 1024px) {
	.card-grid--4 { grid-template-columns: repeat(2, 1fr); }
	.layout-with-sidebar { grid-template-columns: 1fr; }
	.footer-top { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
	.hero-grid { grid-template-columns: 1fr; }
	.card-grid--3 { grid-template-columns: repeat(2, 1fr); }
	.footer-widgets { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 782px) {
	.topbar { display: none; }
	.menu-toggle { display: inline-flex; }
	.main-navigation { display: none; }
	.main-navigation.is-open { display: block; }
	.nav-menu { flex-direction: column; }
	.nav-menu .sub-menu { position: static; box-shadow: none; display: block; padding-left: 1rem; }
	.nav-menu li.menu-item-has-children:hover .sub-menu { display: block; }
	.card-grid--3, .card-grid--4 { grid-template-columns: 1fr; }
	.footer-widgets { grid-template-columns: 1fr; }
	.single-title { font-size: 1.75rem; }
}
