/* UX/UI hardening – unified Asia Cycling Tours visual system. */
:root {
	--gct-blog-navy: #273469;
	--gct-blog-navy-deep: #182044;
	--gct-blog-blue: #D94F30;
	--gct-blog-blue-dark: #BC3E24;
	--gct-blog-teal: #E3A72F;
	--gct-blog-green: #D94F30;
	--gct-blog-green-dark: #BC3E24;
	--gct-blog-sky: #F2F4FA;
	--gct-blog-soft: #F2F4FA;
	--gct-blog-ink: #172033;
	--gct-blog-muted: #536071;
	--gct-blog-line: #DDE1EC;
	--gct-blog-shadow: 0 18px 45px rgba(18,43,27,.12);
	--gct-blog-shadow-soft: 0 10px 30px rgba(18,43,27,.08);
}

:focus-visible { outline-color: rgba(66,111,44,.52); }
.gct-blog-eyebrow { color: #D94F30; }
.gct-blog-single-hero,
.gct-blog-archive-hero {
	background: radial-gradient(circle at 82% 10%,rgba(214,155,34,.26),transparent 28%),radial-gradient(circle at 10% 100%,rgba(106,166,51,.2),transparent 34%),linear-gradient(135deg,#182044 0%,#273469 58%,#285c38 100%);
}
.gct-blog-cover__image { box-shadow: 0 24px 60px rgba(14,44,28,.2); }
.gct-blog-category-pill { color: #f5ffe9!important; border-color: rgba(231,197,110,.42); background: rgba(106,166,51,.2); }
.gct-blog-button--primary { background: #273469; box-shadow: 0 10px 24px rgba(23,61,40,.22); }
.gct-blog-button--primary:hover { background: #182044; }
.gct-blog-button--ghost { color: #BC3E24!important; border-color: #a8c497; }
.gct-blog-button--ghost:hover { color: #273469!important; border-color: #6f9657; background: #F2F4FA; }
.gct-article-content { color: #243044; }
.gct-article-content a { color: #D94F30; }
.gct-article-content h2 { color: #172033; }
.gct-article-content h3 { color: #273469; }

/* Keep the full resource sidebar usable on short laptop viewports. */
body.single-post .gct-blog-reading-sidebar {
	max-height: calc(100vh - 132px);
	padding-right: 5px;
	overflow-y: auto;
	overflow-x: hidden;
	scrollbar-width: thin;
	scrollbar-color: #a8c497 transparent;
}
body.single-post .gct-blog-reading-sidebar::-webkit-scrollbar { width: 6px; }
body.single-post .gct-blog-reading-sidebar::-webkit-scrollbar-thumb { border-radius: 999px; background: #a8c497; }
.gct-blog-sidebar-card--cta { background: radial-gradient(circle at 90% 0,rgba(214,155,34,.28),transparent 35%),linear-gradient(145deg,#182044,#285c38); }
.gct-blog-sidebar-card--cta .gct-blog-eyebrow { color: #e7c56e; }

/* Professional social icons and a clear copied state. */
.gct-article-share a,
.gct-article-share button {
	position: relative;
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	padding: 0;
	color: #D94F30;
	border: 1px solid #DDE1EC;
	border-radius: 9px;
	background: #fff;
	cursor: pointer;
	transition: transform .2s ease,background .2s ease,color .2s ease,border-color .2s ease;
}
.gct-article-share svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.gct-article-share a:first-of-type svg { fill: currentColor; stroke: none; }
.gct-article-share a:hover,
.gct-article-share button:hover,
.gct-article-share button.is-copied { color: #fff; border-color: #273469; background: #273469; transform: translateY(-2px); }
.gct-article-share button.is-copied::after { position: absolute; margin-top: 68px; padding: 5px 8px; border-radius: 6px; color: #fff; background: #273469; content: 'Copied'; font-size: .65rem; font-weight: 800; }

/* Journal search is explicitly post-only and visually consistent. */
.gct-blog-search-form { display: flex; gap: 8px; }
.gct-blog-search-form label { flex: 1; }
.gct-blog-search-form input[type=search] { width: 100%; height: 47px; padding: 0 14px; color: #172033; border: 1px solid transparent; border-radius: 10px; background: #fff; font-size: .86rem; }
.gct-blog-search-form input[type=search]:focus { border-color: #e7c56e; outline: 3px solid rgba(231,197,110,.25); }
.gct-blog-search-form button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-width: 108px; height: 47px; padding: 0 15px; color: #273469; border: 0; border-radius: 10px; background: linear-gradient(135deg,#f3c75f,#E3A72F); font-size: .78rem; font-weight: 900; cursor: pointer; }
.gct-blog-search-form button:hover { background: linear-gradient(135deg,#ffe08b,#e3aa34); transform: translateY(-1px); }
.gct-blog-search-form button svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; }
.gct-blog-topic-nav a:hover,
.gct-blog-topic-nav a.is-active { color: #BC3E24; border-color: #b8d0aa; background: #F2F4FA; }
.gct-blog-topic-nav--tags a.is-active { color: #8a5a00; border-color: #e8c979; background: #fff8e8; }
.gct-blog-quality-note { margin: 18px 0 0; padding: 13px 16px; border-left: 3px solid #E3A72F; border-radius: 0 10px 10px 0; color: #4f5d54; background: #fff8e8; font-size: .84rem; line-height: 1.55; }

/* Reduce repeated hero height on paginated archive pages. */
.gct-blog-archive--paged .gct-blog-archive-hero { padding-bottom: 46px; }
.gct-blog-archive--paged .gct-blog-archive-hero__grid { padding-top: 34px; }
.gct-blog-archive--paged .gct-blog-archive-hero h1 { font-size: clamp(2.1rem,4vw,3.4rem); }
.gct-blog-archive--paged .gct-blog-archive-hero__lead { max-width: 680px; font-size: 1rem; }

/* Forest/gold TOC system with accessible text contrast. */
.gct-toc { --gct-toc-blue:#D94F30; --gct-toc-navy:#273469; --gct-toc-green:#D94F30; border-color:#d5e1ce; background:linear-gradient(135deg,rgba(238,245,233,.98),rgba(255,250,239,.96)); }
.gct-toc__icon { background:linear-gradient(135deg,#273469,#D94F30); box-shadow:0 8px 18px rgba(23,61,40,.2); }
.gct-toc__header p { color:#D94F30; }
.gct-toc__item a.is-active,.gct-toc__item a:hover { color:#273469; background:#e8f1e3; }

/* Footer no longer reverts to the previous blue system. */
.footer-widgets { color:rgba(255,255,255,.78); border-top-color:rgba(255,255,255,.08); background:#182044; }
.site-info { background:#091f14; }
.gct-footer-widget h3::after { background:linear-gradient(90deg,#E3A72F,#E3A72F); }
.gct-footer-widget a:hover { color:#e7c56e; }

@media(max-width:768px){
	body.single-post .gct-blog-reading-sidebar { position:static; max-height:none; padding-right:0; overflow:visible; }
	.gct-blog-search-form { display:grid; grid-template-columns:minmax(0,1fr); }
	.gct-blog-search-form button { width:100%; }
}
