.htgp-page {
	--htgp-navy: #071a3a;
	--htgp-border: #dfe5ee;
	--htgp-muted: #627084;
	--htgp-green: #07833f;
	--htgp-red: #c91f37;
	--htgp-gold: #d99a12;
	--htgp-heading-size: var(--wp--preset--font-size--xx-large, clamp(2rem, 4vw, 3.1rem));
	--htgp-subheading-size: var(--wp--preset--font-size--medium, clamp(1rem, 2vw, 1.22rem));
	--htgp-section-heading-size: var(--wp--preset--font-size--medium, 1.16rem);
	--htgp-card-heading-size: var(--wp--preset--font-size--large, 1.35rem);
	--htgp-small-size: var(--wp--preset--font-size--small, 0.86rem);
	--htgp-heading-weight: var(--wp--custom--typography--font-weight--heading, 700);
	--htgp-strong-weight: var(--wp--custom--typography--font-weight--bold, 700);
	font-family: inherit;
}

.htgp-page :where(h1, h2, h3, h4, h5, h6, p, a, span, strong, small, button, input, select, textarea, label, summary, table, th, td, .newsplus-btn) {
	font-family: inherit;
}

.htgp-breadcrumb {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 18px;
	color: var(--htgp-muted);
	font-size: 0.82rem;
}

.htgp-breadcrumb a {
	color: var(--htgp-muted);
	text-decoration: none;
}

.htgp-header {
	margin-bottom: 24px;
}

.htgp-header h1 {
	margin: 0 0 6px;
	font-family: inherit;
	font-size: var(--htgp-heading-size);
	font-weight: var(--htgp-heading-weight);
	line-height: 1.08;
}

.htgp-header p {
	margin: 0 0 12px;
	color: #111827;
	font-family: inherit;
	font-size: var(--htgp-subheading-size);
}

.htgp-updated {
	color: var(--htgp-muted);
	font-size: 0.86rem;
}

.htgp-layout {
	align-items: start;
}

.htgp-main {
	min-width: 0;
}

.htgp-card,
.htgp-sidebar-card {
	background: #fff;
	border: 1px solid var(--htgp-border);
	border-radius: 6px;
	box-shadow: 0 12px 28px rgba(15, 23, 42, 0.04);
}

.htgp-top-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.85fr);
	gap: 20px;
	margin-bottom: 22px;
}

.htgp-current-card {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 116px;
	align-items: center;
	gap: 24px;
	padding: 28px;
}

.htgp-current-card h2,
.htgp-section h2,
.htgp-card h2,
.htgp-sidebar-card h2 {
	margin: 0 0 16px;
	font-family: inherit;
	font-size: var(--htgp-section-heading-size);
	font-weight: var(--htgp-heading-weight);
	line-height: 1.25;
}

.htgp-spot-price {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 8px;
	margin-bottom: 12px;
	color: #050816;
	font-size: clamp(2.1rem, 5vw, 3.2rem);
	font-family: inherit;
	font-weight: var(--htgp-heading-weight);
	line-height: 1;
}

.htgp-spot-price span {
	font-size: 1.1rem;
	font-family: inherit;
	font-weight: inherit;
}

.htgp-change {
	margin-bottom: 14px;
	font-size: 1.2rem;
	font-family: inherit;
	font-weight: var(--htgp-strong-weight);
}

.htgp-current-card p,
.htgp-summary p,
.htgp-did-you-know p,
.htgp-disclaimer {
	margin: 0;
	color: #243044;
	line-height: 1.65;
}

.htgp-chart-mark {
	display: grid;
	width: 116px;
	height: 104px;
	place-items: center;
	border-radius: 6px;
	background: linear-gradient(135deg, #eef9ef, #d9f2df);
	color: var(--htgp-green);
	font-size: 4rem;
	font-weight: 800;
}

.htgp-stat-list {
	padding: 18px;
}

.htgp-stat-list div {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 11px 0;
	border-bottom: 1px solid var(--htgp-border);
}

.htgp-stat-list div:last-child {
	border-bottom: 0;
}

.htgp-stat-list span {
	color: #111827;
}

.htgp-stat-list strong {
	text-align: right;
}

.htgp-positive {
	color: var(--htgp-green);
}

.htgp-negative {
	color: var(--htgp-red);
}

.htgp-neutral {
	color: var(--htgp-muted);
}

.htgp-section {
	margin-bottom: 22px;
}

.htgp-table-wrap {
	width: 100%;
	overflow-x: auto;
	border: 1px solid var(--htgp-border);
	border-radius: 6px;
}

.htgp-table {
	width: 100%;
	min-width: 560px;
	border-collapse: collapse;
	background: #fff;
	font-size: 0.92rem;
}

.htgp-table th,
.htgp-table td {
	padding: 13px 16px;
	border-bottom: 1px solid var(--htgp-border);
	text-align: left;
	vertical-align: middle;
}

.htgp-table th {
	background: #f7f9fc;
	color: #111827;
	font-family: inherit;
	font-weight: var(--htgp-strong-weight);
}

.htgp-table tr:last-child td {
	border-bottom: 0;
}

.htgp-table-compact {
	min-width: 460px;
}

.htgp-note {
	margin: 10px 0 0;
	color: var(--htgp-muted);
	font-size: 0.84rem;
}

.htgp-summary {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 150px;
	gap: 24px;
	align-items: center;
	margin-bottom: 22px;
	padding: 22px;
}

.htgp-gold-stack {
	min-height: 104px;
	border-radius: 6px;
	background:
		linear-gradient(145deg, rgba(255,255,255,0.42), rgba(255,255,255,0) 32%),
		repeating-linear-gradient(135deg, #f7d46b 0 18px, #d99a12 18px 34px);
	box-shadow: inset 0 -18px 30px rgba(102, 57, 0, 0.2);
}

.htgp-reasons {
	margin-bottom: 22px;
	padding: 20px;
}

.htgp-reason-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}

.htgp-reason {
	display: flex;
	align-items: center;
	min-height: 54px;
	padding: 10px 12px;
	border-radius: 6px;
	background: #f8fafc;
	color: #172033;
	font-family: inherit;
	font-weight: var(--htgp-strong-weight);
	font-size: 0.86rem;
	line-height: 1.25;
}

.htgp-reason-positive {
	border-left: 4px solid var(--htgp-green);
}

.htgp-reason-negative {
	border-left: 4px solid var(--htgp-red);
}

.htgp-reason-warning {
	border-left: 4px solid var(--htgp-gold);
}

.htgp-split {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
	gap: 18px;
	margin-bottom: 22px;
}

.htgp-split > .htgp-card {
	padding: 20px;
}

.htgp-did-you-know {
	margin-top: 18px;
	padding: 16px;
	border: 1px solid var(--htgp-border);
	border-radius: 6px;
	background: #fbfcff;
}

.htgp-faq,
.htgp-disclaimer,
.htgp-related-content {
	margin-bottom: 22px;
	padding: 20px;
}

.htgp-faq details {
	border-top: 1px solid var(--htgp-border);
}

.htgp-faq summary {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 12px 0;
	cursor: pointer;
	font-family: inherit;
	font-weight: var(--htgp-strong-weight);
}

.htgp-faq summary::after {
	content: "+";
	color: var(--htgp-muted);
}

.htgp-faq details[open] summary::after {
	content: "-";
}

.htgp-faq p {
	margin: 0 0 14px;
	color: #3d4758;
	line-height: 1.6;
}

.htgp-related-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

.htgp-related-grid a {
	display: grid;
	grid-template-columns: 86px 1fr;
	gap: 10px;
	color: #111827;
	text-decoration: none;
}

.htgp-related-grid img {
	width: 86px;
	height: 64px;
	object-fit: cover;
	border-radius: 4px;
}

.htgp-related-grid span {
	font-family: inherit;
	font-weight: var(--htgp-strong-weight);
	line-height: 1.35;
}

.htgp-related-grid small {
	grid-column: 2;
	color: var(--htgp-muted);
}

.htgp-sidebar {
	display: grid;
	gap: 20px;
}

.htgp-sidebar-card {
	overflow: hidden;
}

.htgp-sidebar-card h2 {
	margin: 0;
	padding: 14px 16px;
	background: var(--htgp-navy);
	color: #fff;
	font-family: inherit;
	font-size: var(--htgp-section-heading-size);
}

.htgp-sidebar-item {
	display: grid;
	grid-template-columns: 74px 1fr;
	gap: 12px;
	padding: 14px 16px;
	border-bottom: 1px solid var(--htgp-border);
	color: #111827;
	text-decoration: none;
}

.htgp-sidebar-item:last-child {
	border-bottom: 0;
}

.htgp-sidebar-item img,
.htgp-sidebar-thumb {
	width: 74px;
	height: 58px;
	border-radius: 4px;
	object-fit: cover;
	background: linear-gradient(135deg, #f2c94c, #a86705);
}

.htgp-sidebar-item strong {
	display: block;
	margin-bottom: 6px;
	font-family: inherit;
	font-size: 0.88rem;
	font-weight: var(--htgp-strong-weight);
	line-height: 1.35;
}

.htgp-sidebar-item small {
	color: var(--htgp-muted);
}

.htgp-metal-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.htgp-metal-card {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 20px;
	min-height: 260px;
}

.htgp-metal-card__top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
}

.htgp-metal-card__top h2 {
	margin: 0;
	font-family: inherit;
	font-size: var(--htgp-card-heading-size);
	font-weight: var(--htgp-heading-weight);
}

.htgp-metal-pill {
	padding: 5px 8px;
	border-radius: 4px;
	background: #f3f6fb;
	color: var(--htgp-muted);
	font-size: 0.72rem;
	font-family: inherit;
	font-weight: var(--htgp-strong-weight);
	text-transform: uppercase;
}

.htgp-metal-card__price {
	color: #050816;
	font-size: 2.2rem;
	font-family: inherit;
	font-weight: var(--htgp-heading-weight);
	line-height: 1;
}

.htgp-metal-card__change {
	font-family: inherit;
	font-weight: var(--htgp-strong-weight);
}

.htgp-metal-card p {
	margin: 0;
	color: var(--htgp-muted);
	font-size: 0.86rem;
}

.htgp-mini-trend {
	display: flex;
	align-items: end;
	gap: 5px;
	min-height: 72px;
	padding: 10px;
	border-radius: 6px;
	background: #f8fafc;
}

.htgp-mini-trend span {
	display: block;
	flex: 1;
	min-width: 8px;
	border-radius: 3px 3px 0 0;
	background: linear-gradient(180deg, #f5b83d, #0875d1);
}

.htgp-view-details {
	margin-top: auto;
	width: fit-content;
}

.htgp-links {
	padding-bottom: 10px;
}

.htgp-links a {
	display: block;
	padding: 11px 16px;
	color: #111827;
	text-decoration: none;
	font-family: inherit;
	font-weight: var(--htgp-strong-weight);
}

.htgp-links a:hover,
.htgp-sidebar-item:hover strong,
.htgp-related-grid a:hover span {
	color: var(--newsplus-primary, #4f46e5);
}

.htgp-commodity-page {
	--htgp-primary: var(--newsplus-primary, #0b57e3);
	--htgp-primary-dark: #0848c4;
	--htgp-page-bg: #f7f9fd;
	--htgp-card-shadow: 0 16px 44px rgba(15, 23, 42, 0.07);
	--htgp-card-shadow-hover: 0 22px 54px rgba(15, 23, 42, 0.12);
	--htgp-heading-size: var(--wp--preset--font-size--xx-large, 3rem);
	--htgp-subheading-size: var(--wp--preset--font-size--medium, 1rem);
	--htgp-card-heading-size: var(--wp--preset--font-size--large, 1.625rem);
	padding-top: 28px;
	padding-bottom: 56px;
	animation: htgp-fade-in 240ms ease-out both;
}

.htgp-commodity-page .htgp-breadcrumb {
	margin-bottom: 10px;
	font-size: var(--wp--preset--font-size--small, 0.875rem);
}

.htgp-commodity-hero {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(280px, max-content);
	gap: 24px;
	align-items: end;
	margin-bottom: 28px;
}

.htgp-commodity-hero h1 {
	margin-bottom: 8px;
	letter-spacing: 0;
}

.htgp-commodity-hero p {
	max-width: 840px;
	color: #304260;
	line-height: 1.55;
}

.htgp-last-updated-card {
	display: grid;
	grid-template-columns: 22px minmax(0, 1fr) 44px;
	align-items: center;
	gap: 12px;
	min-width: 320px;
	padding: 14px 14px 14px 18px;
	border: 1px solid var(--htgp-border);
	border-radius: 10px;
	background: #f8fbff;
	color: #31415f;
	box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}

.htgp-last-updated-card__icon {
	color: var(--htgp-primary);
	font-size: 1.2rem;
}

.htgp-last-updated-card strong,
.htgp-last-updated-card small {
	display: block;
}

.htgp-last-updated-card strong {
	color: var(--htgp-primary);
	font-weight: var(--htgp-strong-weight);
}

.htgp-last-updated-card small {
	margin-top: 2px;
	color: var(--htgp-muted);
	font-size: var(--wp--preset--font-size--small, 0.82rem);
}

.htgp-refresh-button {
	display: grid;
	width: 44px;
	height: 44px;
	place-items: center;
	border: 1px solid var(--htgp-border);
	border-radius: 10px;
	background: #fff;
	color: var(--htgp-primary);
	text-decoration: none;
	font-size: 1.35rem;
	font-weight: var(--htgp-strong-weight);
	transition: background 200ms ease, color 200ms ease, border-color 200ms ease;
}

.htgp-refresh-button:hover,
.htgp-refresh-button:focus-visible {
	border-color: var(--htgp-primary);
	background: var(--htgp-primary);
	color: #fff;
	outline: none;
}

.htgp-commodity-page .htgp-metal-grid {
	gap: 24px;
	margin-bottom: 30px;
}

.htgp-commodity-page .htgp-metal-card {
	position: relative;
	gap: 16px;
	min-height: 360px;
	padding: 28px;
	border-radius: 14px;
	box-shadow: var(--htgp-card-shadow);
	transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.htgp-commodity-page .htgp-metal-card:hover {
	transform: translateY(-4px);
	border-color: #cfd8e8;
	box-shadow: var(--htgp-card-shadow-hover);
}

.htgp-commodity-page .htgp-metal-card__top {
	display: grid;
	grid-template-columns: 58px minmax(0, 1fr);
	align-items: center;
}

.htgp-commodity-page .htgp-metal-card__top h2 {
	margin-bottom: 4px;
	color: #07152f;
}

.htgp-metal-card__unit,
.htgp-metal-pill {
	display: inline-flex;
	width: fit-content;
	padding: 6px 10px;
	border-radius: 7px;
	background: #edf2fb;
	color: #31476f;
	font-size: var(--wp--preset--font-size--small, 0.78rem);
	font-weight: var(--htgp-strong-weight);
	line-height: 1;
	text-transform: uppercase;
}

.htgp-metal-orb {
	display: grid;
	width: 54px;
	height: 54px;
	place-items: center;
	border-radius: 999px;
	background: linear-gradient(135deg, #fde58d, #d99a12);
	color: #fff;
	font-size: 1rem;
	font-weight: var(--htgp-strong-weight);
	box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.55), 0 10px 24px rgba(15, 23, 42, 0.08);
}

.htgp-metal-card--silver .htgp-metal-orb,
.htgp-summary-item--silver .htgp-metal-orb {
	background: linear-gradient(135deg, #f8fafc, #9aa5b5);
	color: #4b5565;
}

.htgp-metal-card--platinum .htgp-metal-orb,
.htgp-summary-item--platinum .htgp-metal-orb {
	background: linear-gradient(135deg, #eef6ff, #7a8da7);
}

.htgp-metal-card--palladium .htgp-metal-orb,
.htgp-summary-item--palladium .htgp-metal-orb {
	background: linear-gradient(135deg, #c8ecff, #3b9ee8);
}

.htgp-metal-card--copper .htgp-metal-orb,
.htgp-summary-item--copper .htgp-metal-orb {
	background: linear-gradient(135deg, #f5b796, #b65a35);
}

.htgp-commodity-page .htgp-metal-card__price {
	font-size: clamp(2.4rem, 5vw, 3.25rem);
	letter-spacing: 0;
}

.htgp-commodity-page .htgp-metal-card__change {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 1.1rem;
}

.htgp-commodity-page .htgp-mini-trend {
	position: relative;
	min-height: 92px;
	padding: 0;
	overflow: hidden;
	background: transparent;
}

.htgp-commodity-page .htgp-mini-trend svg {
	display: block;
	width: 100%;
	height: 92px;
}

.htgp-commodity-page .htgp-mini-trend polygon {
	fill: rgba(7, 131, 63, 0.16);
	opacity: 0.9;
	transition: opacity 200ms ease;
}

.htgp-commodity-page .htgp-mini-trend polyline {
	fill: none;
	stroke: var(--htgp-green);
	stroke-width: 2.3;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.htgp-commodity-page .htgp-mini-trend--down polygon {
	fill: rgba(201, 31, 55, 0.16);
}

.htgp-commodity-page .htgp-mini-trend--down polyline {
	stroke: var(--htgp-red);
}

.htgp-commodity-page .htgp-metal-card:hover .htgp-mini-trend polygon {
	opacity: 1;
}

.htgp-day-range {
	display: flex;
	justify-content: space-between;
	gap: 14px;
	color: #334562;
	font-size: var(--wp--preset--font-size--small, 0.9rem);
}

.htgp-day-range strong {
	color: #07152f;
	text-align: right;
}

.htgp-commodity-page .htgp-view-details {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	min-height: 50px;
	border-radius: 8px;
	background: linear-gradient(180deg, #1264ff, var(--htgp-primary));
	color: #fff;
	font-size: 1rem;
	text-decoration: none;
	box-shadow: 0 10px 18px rgba(11, 87, 227, 0.18);
	transition: background 200ms ease, transform 200ms ease, box-shadow 200ms ease;
}

.htgp-commodity-page .htgp-view-details:hover,
.htgp-commodity-page .htgp-view-details:focus-visible {
	background: linear-gradient(180deg, var(--htgp-primary), var(--htgp-primary-dark));
	color: #fff;
	transform: translateY(-1px);
	box-shadow: 0 12px 22px rgba(11, 87, 227, 0.24);
	outline: none;
}

.htgp-market-summary {
	margin-bottom: 24px;
	padding: 24px 28px;
	border-radius: 14px;
	box-shadow: var(--htgp-card-shadow);
}

.htgp-market-summary__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	margin-bottom: 20px;
}

.htgp-market-summary__head h2 {
	margin: 0;
	font-size: var(--wp--preset--font-size--large, 1.875rem);
}

.htgp-market-summary__head a,
.htgp-summary-item {
	color: var(--htgp-primary);
	text-decoration: none;
	font-weight: var(--htgp-strong-weight);
}

.htgp-market-summary__grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 0;
}

.htgp-summary-item {
	display: grid;
	grid-template-columns: 46px minmax(0, 1fr);
	grid-template-rows: auto auto;
	gap: 6px 12px;
	padding: 6px 18px;
	border-right: 1px solid var(--htgp-border);
	color: #07152f;
}

.htgp-summary-item:first-child {
	padding-left: 0;
}

.htgp-summary-item:last-child {
	border-right: 0;
	padding-right: 0;
}

.htgp-summary-item .htgp-metal-orb {
	grid-row: span 2;
	width: 46px;
	height: 46px;
	font-size: 0.85rem;
}

.htgp-summary-item strong,
.htgp-summary-item em {
	display: block;
	font-style: normal;
}

.htgp-summary-item em {
	margin-top: 4px;
	font-size: 1.08rem;
	font-weight: var(--htgp-strong-weight);
}

.htgp-summary-item__change {
	grid-column: 2;
	font-size: var(--wp--preset--font-size--small, 0.86rem);
}

.htgp-trust-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
}

.htgp-trust-card {
	padding: 18px;
	border: 1px solid var(--htgp-border);
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 10px 26px rgba(15, 23, 42, 0.045);
}

.htgp-trust-card strong,
.htgp-trust-card span {
	display: block;
}

.htgp-trust-card strong {
	margin-bottom: 6px;
	color: #07152f;
}

.htgp-trust-card span {
	color: var(--htgp-muted);
	font-size: var(--wp--preset--font-size--small, 0.9rem);
}

@keyframes htgp-fade-in {
	from {
		opacity: 0;
		transform: translateY(8px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (max-width: 960px) {
	.htgp-top-grid,
	.htgp-split {
		grid-template-columns: 1fr;
	}

	.htgp-reason-grid,
	.htgp-related-grid,
	.htgp-metal-grid {
		grid-template-columns: 1fr 1fr;
	}

	.htgp-commodity-hero,
	.htgp-market-summary__grid,
	.htgp-trust-grid {
		grid-template-columns: 1fr 1fr;
	}

	.htgp-summary-item:nth-child(2n) {
		border-right: 0;
	}
}

@media (max-width: 640px) {
	.htgp-current-card,
	.htgp-summary,
	.htgp-related-grid {
		grid-template-columns: 1fr;
	}

	.htgp-chart-mark,
	.htgp-gold-stack {
		display: none;
	}

	.htgp-reason-grid {
		grid-template-columns: 1fr;
	}

	.htgp-metal-grid {
		grid-template-columns: 1fr;
	}

	.htgp-commodity-page {
		padding-top: 22px;
	}

	.htgp-commodity-hero,
	.htgp-market-summary__grid,
	.htgp-trust-grid {
		grid-template-columns: 1fr;
	}

	.htgp-last-updated-card {
		min-width: 0;
		grid-template-columns: 22px minmax(0, 1fr) 42px;
	}

	.htgp-commodity-page .htgp-metal-card {
		padding: 22px;
	}

	.htgp-market-summary {
		padding: 20px;
	}

	.htgp-market-summary__head {
		align-items: flex-start;
		flex-direction: column;
	}

	.htgp-summary-item,
	.htgp-summary-item:first-child,
	.htgp-summary-item:last-child {
		padding: 14px 0;
		border-right: 0;
		border-bottom: 1px solid var(--htgp-border);
	}

	.htgp-summary-item:last-child {
		border-bottom: 0;
	}

	.htgp-sidebar-item {
		grid-template-columns: 64px 1fr;
	}

	.htgp-sidebar-item img,
	.htgp-sidebar-thumb {
		width: 64px;
		height: 54px;
	}
}
