/* ====================================================================
   Clarus — professional blog & magazine theme
   ==================================================================== */

:root {
	--gp-ink: #14171c;
	--gp-body: #3a4049;
	--gp-muted: #6b7280;
	--gp-line: #e7e9ee;
	--gp-bg: #ffffff;
	--gp-bg-soft: #f6f7f9;
	--gp-accent: #2563eb;       /* professional blue */
	--gp-accent-dark: #1d4ed8;
	--gp-accent-light: #93b4ff;
	--gp-ink-band: #0f1722;     /* dark band */
	--gp-radius: 14px;
	--gp-shadow: 0 18px 40px -24px rgba(15, 23, 34, 0.4);
	--gp-shadow-sm: 0 6px 18px -10px rgba(15, 23, 34, 0.28);
	--gp-display: "Archivo", "Segoe UI", system-ui, sans-serif;
	--gp-text: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--gp-text);
	color: var(--gp-body);
	background: var(--gp-bg);
	line-height: 1.65;
	font-size: 17px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gp-accent); text-decoration: none; }
a:hover { color: var(--gp-accent-dark); }
h1, h2, h3, h4 { font-family: var(--gp-display); color: var(--gp-ink); line-height: 1.2; font-weight: 800; }

.gp-container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.gp-skip { position: absolute; left: -9999px; }
.gp-skip:focus { left: 16px; top: 16px; background: #fff; padding: 10px 16px; border-radius: 8px; z-index: 9999; }

/* ---------------- Header ---------------- */
.gp-header { position: sticky; top: 0; z-index: 100; background: #fff; }
.gp-topbar { background: var(--gp-ink-band); color: rgba(255,255,255,0.7); font-size: 0.8rem; border-bottom: 1px solid rgba(255,255,255,0.08); }
.gp-topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 38px; }
.gp-topbar-date { font-weight: 500; letter-spacing: 0.01em; }
.gp-topbar-tag { display: inline-flex; align-items: center; gap: 7px; font-family: var(--gp-display); font-weight: 600; color: var(--gp-accent-light); }

.gp-bar { border-bottom: 1px solid var(--gp-line); background: rgba(255,255,255,0.96); backdrop-filter: blur(10px); }
.gp-bar-inner { display: flex; align-items: center; gap: 28px; height: 74px; }
.gp-brand { flex: 0 0 auto; }
.gp-logo { display: inline-flex; align-items: center; gap: 11px; font-family: var(--gp-display); font-weight: 900; font-size: 1.5rem; color: var(--gp-ink); letter-spacing: -0.03em; }
.gp-logo-mark { display: inline-flex; }
.gp-logo-mark svg { display: block; }
.gp-logo-img { display: block; width: auto; }
.custom-logo { max-height: 46px; width: auto; }

.gp-nav { flex: 1 1 auto; }
.gp-nav .gp-menu { list-style: none; display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; }
.gp-menu a { position: relative; display: block; padding: 10px 16px; color: var(--gp-ink); font-family: var(--gp-display); font-weight: 600; font-size: 0.96rem; border-radius: 8px; transition: color 0.15s; }
.gp-menu a::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 6px; height: 2px; background: var(--gp-accent); transform: scaleX(0); transform-origin: left; transition: transform 0.2s ease; border-radius: 2px; }
.gp-menu a:hover { color: var(--gp-accent); }
.gp-menu a:hover::after { transform: scaleX(1); }
.gp-menu .current-menu-item > a { color: var(--gp-accent); }
.gp-menu .current-menu-item > a::after { transform: scaleX(1); }

.gp-bar-actions { flex: 0 0 auto; display: flex; align-items: center; gap: 8px; margin-left: auto; }
.gp-search-toggle { width: 44px; height: 44px; border: 1px solid var(--gp-line); border-radius: 10px; background: #fff; color: var(--gp-ink); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: border-color 0.15s, color 0.15s; }
.gp-search-toggle:hover { border-color: var(--gp-accent); color: var(--gp-accent); }

.gp-header-search { border-top: 1px solid var(--gp-line); background: var(--gp-bg-soft); padding: 16px 0; }
.gp-header-search .gp-searchform { max-width: 560px; margin: 0 auto; }

.gp-nav-toggle { display: none; flex-direction: column; gap: 5px; width: 44px; height: 44px; border: 1px solid var(--gp-line); border-radius: 10px; background: #fff; cursor: pointer; align-items: center; justify-content: center; }
.gp-nav-toggle span { width: 20px; height: 2px; background: var(--gp-ink); border-radius: 2px; transition: transform 0.25s, opacity 0.2s; }
.gp-nav-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.gp-nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.gp-nav-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------------- Hero band ---------------- */
.gp-hero-band { position: relative; background: linear-gradient(135deg, var(--gp-ink-band) 0%, #143a2c 100%); color: #fff; padding: 52px 0; margin-bottom: 40px; overflow: hidden; }
.gp-hero-band::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle at 88% 15%, rgba(10,143,91,0.35), transparent 42%); pointer-events: none; }
.gp-hero-band::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, var(--gp-accent), var(--gp-accent-light)); }
.gp-hero-title { position: relative; color: #fff; font-size: clamp(1.9rem, 5vw, 3rem); margin: 0 0 8px; letter-spacing: -0.025em; }
.gp-hero-sub { position: relative; color: rgba(255,255,255,0.78); font-size: 1.08rem; margin: 0; max-width: 640px; }

/* ---------------- Home ad blocks ---------------- */
.gp-section-ads { margin-top: 4px; margin-bottom: 40px; }
.gp-section-ads-top { margin-top: 32px; }
.gp-ads-row { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; }
.gp-ad { width: 300px; height: 250px; flex: 0 0 auto; display: flex; align-items: center; justify-content: center; overflow: hidden; background: var(--gp-bg-soft); border: 1px solid var(--gp-line); border-radius: var(--gp-radius); }
.gp-ad > * { max-width: 100%; }
.gp-ad-placeholder { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: var(--gp-muted); border: 1px dashed #cfd5da; border-radius: var(--gp-radius); }
.gp-ad-placeholder span { font-family: var(--gp-display); font-weight: 700; font-size: 1.05rem; color: var(--gp-body); }
.gp-ad-placeholder small { font-size: 0.78rem; }

@media (max-width: 680px) {
	.gp-ad { width: 100%; max-width: 336px; }
}
.gp-main { padding-bottom: 56px; }
.gp-section { margin-bottom: 52px; }
.gp-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 22px; padding-bottom: 12px; border-bottom: 2px solid var(--gp-ink); flex-wrap: wrap; }
.gp-section-title { font-size: 1.5rem; margin: 0; display: inline-flex; align-items: center; gap: 10px; }
.gp-section-sub { color: var(--gp-muted); margin: 0; font-size: 0.95rem; }
.gp-section-link { font-weight: 700; font-family: var(--gp-display); font-size: 0.95rem; }

.gp-btn-lg { padding: 14px 32px; font-size: 1.02rem; }

/* ---------------- Cards grid ---------------- */
.gp-cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.gp-card { background: var(--gp-bg); border: 1px solid var(--gp-line); border-radius: var(--gp-radius); overflow: hidden; display: flex; flex-direction: column; transition: transform 0.18s, box-shadow 0.18s; }
.gp-card:hover { transform: translateY(-4px); box-shadow: var(--gp-shadow); }
.gp-card-media { position: relative; display: block; aspect-ratio: 16 / 10; background: var(--gp-bg-soft); overflow: hidden; }
.gp-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.gp-card:hover .gp-card-media img { transform: scale(1.05); }
.gp-card-ph { display: flex; align-items: center; justify-content: center; height: 100%; font-size: 2.6rem; opacity: 0.35; }
.gp-card-cat { position: absolute; top: 12px; left: 12px; background: var(--gp-accent); color: #fff; font-family: var(--gp-display); font-weight: 700; font-size: 0.72rem; letter-spacing: 0.04em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; }
.gp-card-body { padding: 17px 18px 20px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.gp-card-title { font-size: 1.16rem; margin: 0; line-height: 1.32; letter-spacing: -0.01em; }
.gp-card-title a { color: var(--gp-ink); }
.gp-card-title a:hover { color: var(--gp-accent); }
.gp-card-excerpt { margin: 0; color: var(--gp-muted); font-size: 0.95rem; flex: 1; }
.gp-card-meta { display: flex; align-items: center; gap: 7px; font-size: 0.82rem; color: var(--gp-muted); flex-wrap: wrap; }
.gp-card-author { font-weight: 600; color: var(--gp-body); }
.gp-dot { opacity: 0.5; }

/* ---------------- Layout (content + sidebar) ---------------- */
.gp-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; align-items: start; padding-top: 36px; }
.gp-content { min-width: 0; }

/* ---------------- Single post ---------------- */
.gp-single-head { margin-bottom: 22px; }
.gp-single-cat { display: inline-block; background: var(--gp-accent); color: #fff; font-family: var(--gp-display); font-weight: 700; font-size: 0.74rem; letter-spacing: 0.05em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; margin-bottom: 14px; }
.gp-single-title { font-size: clamp(1.7rem, 4vw, 2.5rem); margin: 0 0 18px; letter-spacing: -0.02em; }
.gp-single-meta { display: flex; align-items: center; gap: 12px; }
.gp-single-meta .gp-author-img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.gp-single-byline { display: flex; flex-direction: column; }
.gp-by { font-size: 0.95rem; }
.gp-single-sub { font-size: 0.83rem; color: var(--gp-muted); }
.gp-single-featured { margin: 0 0 28px; border-radius: var(--gp-radius); overflow: hidden; }
.gp-single-content { font-size: 1.08rem; color: var(--gp-body); }
.gp-single-content > * { margin: 0 0 1.3em; }
.gp-single-content h2 { font-size: 1.6rem; margin: 1.7em 0 0.5em; }
.gp-single-content h3 { font-size: 1.3rem; margin: 1.5em 0 0.5em; }
.gp-single-content img { border-radius: 10px; margin: 1.5em auto; }
.gp-single-content a { text-decoration: underline; text-underline-offset: 2px; }
.gp-single-content blockquote { margin: 1.6em 0; padding: 6px 0 6px 22px; border-left: 4px solid var(--gp-accent); color: var(--gp-ink); font-size: 1.18rem; font-style: italic; }
.gp-single-content ul, .gp-single-content ol { padding-left: 1.4em; }
.gp-single-content code { background: var(--gp-bg-soft); padding: 2px 6px; border-radius: 5px; font-size: 0.92em; }

/* Tables inside post content */
.gp-single-content table {
	width: 100%;
	border-collapse: collapse;
	margin: 1.6em 0;
	font-size: 0.98rem;
	border: 1px solid var(--gp-line);
	border-radius: var(--gp-radius);
	overflow: hidden;
}
.gp-single-content table th,
.gp-single-content table td {
	padding: 12px 16px;
	border: 1px solid var(--gp-line);
	text-align: left;
	vertical-align: top;
	line-height: 1.5;
}
.gp-single-content table thead th,
.gp-single-content table tr:first-child th {
	background: var(--gp-ink-band);
	color: #fff;
	font-family: var(--gp-display);
	font-weight: 700;
	font-size: 0.92rem;
	letter-spacing: 0.01em;
	border-color: var(--gp-ink-band);
}
.gp-single-content table tbody tr:nth-child(even) {
	background: var(--gp-bg-soft);
}
.gp-single-content table tbody tr:hover {
	background: rgba(10, 143, 91, 0.06);
}

/* Make wide tables scroll on small screens instead of breaking layout */
.gp-single-content .gp-table-scroll,
.gp-single-content figure.wp-block-table {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.gp-tags { margin: 26px 0; font-size: 0.9rem; }
.gp-tags a { display: inline-block; background: var(--gp-bg-soft); padding: 4px 12px; border-radius: 999px; margin: 0 6px 6px 0; color: var(--gp-body); }
.gp-tags-label { font-weight: 700; color: var(--gp-ink); }

/* ---------------- Share buttons ---------------- */
.gp-share { margin: 30px 0; padding: 12px; border: 1px solid #dcdcdc; border-radius: 16px; background: #ededed; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 9px; }
.gp-share-label { display: inline-flex; align-items: center; gap: 6px; font-family: var(--gp-display); font-size: 0.88rem; font-weight: 700; color: #2b2f36; padding: 0 4px; }
.gp-sbtn { display: inline-flex; align-items: center; gap: 7px; padding: 9px 15px; border: none; border-radius: 11px; font-family: var(--gp-display); font-size: 0.85rem; font-weight: 700; color: #fff; cursor: pointer; white-space: nowrap; transition: transform 0.14s, filter 0.14s; }
.gp-sbtn:hover { transform: translateY(-2px); filter: brightness(1.06); color: #fff; }
.gp-sbtn svg { display: block; }
.gp-fb { background: #1877f2; }
.gp-wa { background: #25d366; }
.gp-tg { background: #229ed9; }
.gp-x  { background: #0f1419; }
.gp-copy { background: #ffffff; color: #1a2230; border: 1px solid #cfcfcf; }
.gp-copy:hover { color: #1a2230; }

/* ---------------- Author box ---------------- */
.gp-authorbox { display: flex; gap: 18px; align-items: flex-start; background: var(--gp-bg-soft); border: 1px solid var(--gp-line); border-radius: var(--gp-radius); padding: 22px; margin: 26px 0; }
.gp-authorbox-img .gp-author-img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; }
.gp-authorbox-label { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gp-muted); }
.gp-authorbox-name { font-size: 1.25rem; margin: 3px 0 7px; }
.gp-authorbox-name a { color: var(--gp-ink); }
.gp-authorbox-bio { margin: 0; color: var(--gp-body); font-size: 0.96rem; }

/* ---------------- Related ---------------- */
.gp-related { margin: 38px 0; }
.gp-related-title { font-size: 1.4rem; margin: 0 0 20px; padding-bottom: 10px; border-bottom: 2px solid var(--gp-ink); }
.gp-related-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }

/* ---------------- Sidebar ---------------- */
.gp-sidebar { position: sticky; top: 90px; display: flex; flex-direction: column; gap: 26px; }
.gp-widget { background: var(--gp-bg); border: 1px solid var(--gp-line); border-radius: var(--gp-radius); padding: 20px; }
.gp-widget-title { font-size: 1.05rem; margin: 0 0 16px; padding-bottom: 11px; border-bottom: 2px solid var(--gp-accent); display: inline-block; }
.gp-postlist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 15px; }
.gp-postlist-item { display: flex; gap: 12px; align-items: flex-start; }
.gp-postlist-thumb { flex: 0 0 64px; width: 64px; height: 64px; border-radius: 10px; overflow: hidden; background: var(--gp-bg-soft); }
.gp-postlist-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gp-thumb-ph { display: flex; align-items: center; justify-content: center; height: 100%; font-size: 1.4rem; opacity: 0.35; }
.gp-postlist-body { min-width: 0; }
.gp-postlist-title { display: block; font-family: var(--gp-display); font-weight: 700; font-size: 0.96rem; color: var(--gp-ink); line-height: 1.32; }
.gp-postlist-title:hover { color: var(--gp-accent); }
.gp-postlist-date { font-size: 0.78rem; color: var(--gp-muted); }
.gp-postlist-numbered .gp-postlist-item { align-items: center; }
.gp-rank { flex: 0 0 34px; width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; border-radius: 9px; background: var(--gp-ink-band); color: #fff; font-family: var(--gp-display); font-weight: 800; }
.gp-widget-popular .gp-postlist-item:nth-child(1) .gp-rank { background: var(--gp-accent); }

/* Search form */
.gp-searchform { display: flex; gap: 8px; }
.gp-search-input { flex: 1; padding: 11px 14px; border: 1.5px solid var(--gp-line); border-radius: 10px; font-size: 0.95rem; font-family: var(--gp-text); }
.gp-search-input:focus { outline: none; border-color: var(--gp-accent); }
.gp-search-btn { flex: 0 0 auto; width: 46px; border: none; border-radius: 10px; background: var(--gp-accent); color: #fff; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.gp-search-btn:hover { background: var(--gp-accent-dark); }

/* ---------------- Pagination ---------------- */
.gp-pagination { margin-top: 36px; }
.gp-pagination .nav-links { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.gp-pagination a, .gp-pagination .current { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px; padding: 0 12px; border: 1px solid var(--gp-line); border-radius: 10px; font-family: var(--gp-display); font-weight: 700; color: var(--gp-ink); }
.gp-pagination a:hover { border-color: var(--gp-accent); color: var(--gp-accent); }
.gp-pagination .current { background: var(--gp-accent); border-color: var(--gp-accent); color: #fff; }

/* ---------------- Footer ---------------- */
.gp-footer { background: var(--gp-ink-band); color: rgba(255,255,255,0.8); margin-top: auto; }
.gp-footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 40px; padding-bottom: 28px; flex-wrap: wrap; }
.gp-footer .gp-logo, .gp-footer .gp-logo-text { color: #fff; }
.gp-footer-desc { margin: 10px 0 0; font-size: 0.92rem; color: rgba(255,255,255,0.6); max-width: 360px; }
.gp-footer-menu { list-style: none; display: flex; gap: 6px; margin: 0; padding: 0; flex-wrap: wrap; }
.gp-footer-menu a { display: block; padding: 8px 14px; color: rgba(255,255,255,0.82); font-family: var(--gp-display); font-weight: 600; font-size: 0.92rem; border-radius: 8px; }
.gp-footer-menu a:hover { background: rgba(255,255,255,0.1); color: #fff; }
.gp-subfooter { border-top: 1px solid rgba(255,255,255,0.1); padding: 16px 0; font-size: 0.85rem; color: rgba(255,255,255,0.55); text-align: center; }
.gp-subfooter p { margin: 0; }

/* ---------------- 404 ---------------- */
.gp-404 { text-align: center; padding: 80px 20px; }
.gp-404-mark { font-size: 3.5rem; }
.gp-404-title { font-size: 4rem; margin: 8px 0 0; }
.gp-404-text { color: var(--gp-muted); font-size: 1.1rem; margin: 6px 0 24px; }
.gp-btn { display: inline-block; background: var(--gp-accent); color: #fff; font-family: var(--gp-display); font-weight: 700; padding: 12px 26px; border-radius: 11px; }
.gp-btn:hover { background: var(--gp-accent-dark); color: #fff; }
.gp-404-search { max-width: 380px; margin: 30px auto 0; }

/* ---------------- Comments ---------------- */
/* ---------------- Comments ---------------- */
.gp-comments { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--gp-line); }
.gp-comments-title { font-size: 1.5rem; margin: 0 0 26px; display: flex; align-items: center; gap: 10px; }
.gp-comments-title::before { content: ""; width: 5px; height: 24px; border-radius: 3px; background: var(--gp-accent); display: inline-block; }

.gp-commentlist { list-style: none; margin: 0 0 40px; padding: 0; }
.gp-commentlist li { list-style: none; }
.gp-commentlist .comment-body {
	position: relative;
	padding: 20px 22px;
	margin-bottom: 18px;
	background: var(--gp-bg-soft);
	border: 1px solid var(--gp-line);
	border-radius: var(--gp-radius);
	transition: box-shadow 0.18s, transform 0.18s;
}
.gp-commentlist .comment-body:hover { box-shadow: var(--gp-shadow-sm); transform: translateY(-1px); }
.gp-commentlist .comment-author { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.gp-commentlist .avatar { border-radius: 50%; width: 46px; height: 46px; border: 2px solid #fff; box-shadow: 0 2px 8px rgba(15,23,34,0.12); }
.gp-commentlist .comment-author .fn { font-family: var(--gp-display); font-weight: 700; font-style: normal; color: var(--gp-ink); font-size: 1rem; }
.gp-commentlist .comment-author .says { display: none; }
.gp-commentlist .comment-meta { font-size: 0.78rem; color: var(--gp-muted); }
.gp-commentlist .comment-meta a { color: var(--gp-muted); }
.gp-commentlist .comment-content { color: var(--gp-body); font-size: 0.98rem; line-height: 1.6; }
.gp-commentlist .comment-content p { margin: 0 0 0.8em; }
.gp-commentlist .reply { margin-top: 8px; }
.gp-commentlist .comment-reply-link {
	display: inline-flex; align-items: center; gap: 5px;
	font-family: var(--gp-display); font-weight: 700; font-size: 0.8rem;
	color: var(--gp-accent); padding: 5px 12px; border: 1px solid var(--gp-line);
	border-radius: 999px; background: #fff; transition: all 0.15s;
}
.gp-commentlist .comment-reply-link:hover { background: var(--gp-accent); color: #fff; border-color: var(--gp-accent); }
.gp-commentlist .children { list-style: none; margin: 0 0 0 28px; padding-left: 18px; border-left: 2px solid var(--gp-line); }
.gp-commentlist .bypostauthor > .comment-body { border-color: var(--gp-accent); background: rgba(37,99,235,0.05); }
.gp-commentlist .bypostauthor > .comment-body::after {
	content: "Author"; position: absolute; top: 18px; right: 20px;
	font-family: var(--gp-display); font-size: 0.66rem; font-weight: 800; letter-spacing: 0.04em;
	text-transform: uppercase; color: #fff; background: var(--gp-accent); padding: 3px 9px; border-radius: 999px;
}

/* Comment form */
.comment-respond {
	background: #fff; border: 1px solid var(--gp-line); border-radius: var(--gp-radius);
	padding: 26px 24px; box-shadow: var(--gp-shadow-sm);
}
.comment-respond .comment-reply-title { font-size: 1.25rem; margin: 0 0 6px; }
.comment-respond .comment-notes, .comment-respond .logged-in-as { color: var(--gp-muted); font-size: 0.88rem; margin: 0 0 18px; }
.comment-form { display: flex; flex-direction: column; gap: 14px; }
.comment-form-comment { order: -1; }
.comment-form p { margin: 0; }
.comment-form label { display: block; font-family: var(--gp-display); font-weight: 600; font-size: 0.85rem; color: var(--gp-ink); margin-bottom: 6px; }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%; padding: 12px 14px; border: 1.5px solid var(--gp-line); border-radius: 10px;
	font-family: var(--gp-text); font-size: 0.96rem; background: var(--gp-bg-soft); color: var(--gp-ink);
	transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}
.comment-form input:focus, .comment-form textarea:focus {
	outline: none; border-color: var(--gp-accent); background: #fff;
	box-shadow: 0 0 0 3px rgba(37,99,235,0.12);
}
.comment-form textarea { min-height: 130px; resize: vertical; }
.comment-form .comment-form-author,
.comment-form .comment-form-email,
.comment-form .comment-form-url { flex: 1; }
@media (min-width: 620px) {
	.comment-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
	.comment-form-comment, .form-submit, .comment-notes, .logged-in-as { grid-column: 1 / -1; }
}
.comment-form .form-submit { margin: 6px 0 0; }
.comment-form .submit {
	display: inline-flex; align-items: center; gap: 7px;
	background: var(--gp-accent); color: #fff; border: none; cursor: pointer;
	font-family: var(--gp-display); font-weight: 700; font-size: 0.98rem;
	padding: 13px 30px; border-radius: 11px; transition: background 0.15s, transform 0.15s, box-shadow 0.15s;
}
.comment-form .submit:hover { background: var(--gp-accent-dark); transform: translateY(-2px); box-shadow: 0 10px 20px -10px rgba(37,99,235,0.6); }
.comment-form .comment-form-cookies-consent { display: flex; align-items: center; gap: 8px; }
.comment-form .comment-form-cookies-consent input { width: auto; }
.comment-form .comment-form-cookies-consent label { margin: 0; font-weight: 400; color: var(--gp-muted); }

/* ---------------- Toast ---------------- */
.gp-toast { position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%) translateY(20px); background: var(--gp-ink-band); color: #fff; padding: 12px 20px; border-radius: 12px; font-weight: 600; font-size: 0.88rem; box-shadow: var(--gp-shadow); opacity: 0; pointer-events: none; transition: opacity 0.25s, transform 0.25s; z-index: 99999; }
.gp-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

.gp-noposts { padding: 40px 0; color: var(--gp-muted); font-size: 1.05rem; }

/* ====================================================================
   Responsive
   ==================================================================== */
@media (max-width: 980px) {
	.gp-layout { grid-template-columns: 1fr; gap: 0; }
	.gp-sidebar { position: static; margin-top: 44px; }
	.gp-cards-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
	.gp-nav-toggle { display: flex; }
	.gp-nav { position: fixed; inset: 112px 0 auto 0; background: #fff; border-bottom: 1px solid var(--gp-line); box-shadow: var(--gp-shadow); transform: translateY(-12px); opacity: 0; pointer-events: none; transition: opacity 0.2s, transform 0.2s; max-height: calc(100vh - 112px); overflow-y: auto; flex: none; }
	.gp-nav.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }
	.gp-nav .gp-menu { flex-direction: column; align-items: stretch; padding: 12px; gap: 2px; }
	.gp-menu a { padding: 13px 16px; border-radius: 10px; }
	.gp-menu a::after { display: none; }
	.gp-menu a:hover { background: var(--gp-bg-soft); }
	.gp-bar-actions { margin-left: auto; }
	.gp-topbar-tag { display: none; }
}

@media (max-width: 680px) {
	body { font-size: 16px; }
	.gp-footer-inner { flex-direction: column; align-items: flex-start; }
	.gp-cards-grid { grid-template-columns: 1fr; }
	.gp-single-content table { display: block; overflow-x: auto; white-space: nowrap; }
	.gp-related-grid { grid-template-columns: 1fr; }
	.gp-hero-band { padding: 34px 0; margin-bottom: 28px; }
	.gp-authorbox { flex-direction: column; align-items: center; text-align: center; }
	.gp-share { gap: 8px; }
	.gp-share-label { width: 100%; justify-content: center; margin-bottom: 2px; }
	.gp-sbtn { flex: 1 1 calc(50% - 8px); justify-content: center; padding: 11px 10px; }
}

@media (max-width: 380px) {
	.gp-sbtn { flex: 1 1 100%; }
}
