/* WealthYatra Returns — frontend (stacked tables) */

.wy-ret {
	--wy-gold: #c9a247;
	--wy-gold-dark: #b08d3a;
	--wy-accent: #d4a017;
	--wy-ink: #3a3a3a;
	--wy-muted: #6b7280;
	--wy-line: #e5e0d6;
	--wy-green: #1f8a4c;
	--wy-red: #c0392b;
	--wy-header: #f3ead4;
	--wy-annual-bg: #f7f0e4;
	--wy-row-alt: #faf8f4;
	max-width: 1180px;
	margin: 0 auto;
	padding: 24px 16px 56px;
	color: var(--wy-ink);
	box-sizing: border-box;
}

/* Slight gap under Creote page banner */
.page-asset-classes-performance-history .page_header_default.style_one {
	margin-bottom: 0;
	padding-bottom: 56px;
	min-height: 240px;
}

.page-asset-classes-performance-history #content,
.page-asset-classes-performance-history #primary.content-area,
.page-asset-classes-performance-history .content-area,
.page-asset-classes-performance-history .entry-content,
.page-asset-classes-performance-history .default_row {
	padding-top: 0;
	margin-top: 0;
}

.page-asset-classes-performance-history .wy-ret {
	margin-top: 8px;
}

.wy-ret *,
.wy-ret *::before,
.wy-ret *::after {
	box-sizing: border-box;
}

.wy-ret__section {
	margin-bottom: 40px;
	background: #fff;
}

.wy-ret__section-head {
	display: flex;
	align-items: stretch;
	margin-bottom: 14px;
}

.wy-ret__section-title {
	margin: 0;
	padding-left: 14px;
	border-left: 4px solid var(--wy-accent);
	font-size: clamp(22px, 3vw, 30px);
	font-weight: 700;
	line-height: 1.25;
	color: #2f2f2f;
}

.wy-ret__table-wrap {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	border: 1px solid var(--wy-line);
	border-radius: 4px;
}

.wy-ret__table {
	width: 100%;
	border-collapse: collapse;
	font-size: 13px;
	min-width: 640px;
}

.wy-ret__table--monthly {
	min-width: 960px;
	font-size: 12px;
}

.wy-ret__table th,
.wy-ret__table td {
	padding: 11px 8px;
	border: 1px solid var(--wy-line);
	text-align: center;
	white-space: nowrap;
	vertical-align: middle;
}

.wy-ret__table th {
	background: var(--wy-header);
	font-weight: 700;
	color: #2f2f2f;
}

.wy-ret__table tbody tr:nth-child(even) {
	background: var(--wy-row-alt);
}

.wy-ret__table td:first-child,
.wy-ret__table th:first-child {
	text-align: left;
	font-weight: 700;
	position: sticky;
	left: 0;
	z-index: 1;
	background: #fff;
	min-width: 64px;
}

.wy-ret__table th:first-child {
	background: var(--wy-header);
	z-index: 2;
}

.wy-ret__table tbody tr:nth-child(even) td:first-child {
	background: var(--wy-row-alt);
}

.wy-ret__col-annual,
.wy-ret__table th.wy-ret__col-annual {
	background: var(--wy-annual-bg);
	font-weight: 700;
}

.wy-ret__table tbody tr:nth-child(even) .wy-ret__col-annual {
	background: #f3ebe0;
}

.wy-ret-c--green {
	color: var(--wy-green);
	font-weight: 600;
}

.wy-ret-c--red {
	color: var(--wy-red);
	font-weight: 600;
}

.wy-ret-c--black {
	color: var(--wy-ink);
}

.wy-ret__notes-list {
	list-style: none;
	margin: 14px 0 0;
	padding: 0;
	border-top: 0;
	color: #555;
	line-height: 1.55;
	font-size: 14px;
}

.wy-ret__notes-list li {
	position: relative;
	margin: 0 0 10px;
	padding-left: 18px;
}

.wy-ret__notes-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.55em;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--wy-accent);
}

.wy-ret__disclaimer {
	margin-top: 12px;
	padding-top: 8px;
}

.wy-ret__disclaimer-title {
	margin: 0 0 10px;
	font-size: 20px;
	font-weight: 700;
	color: #2f2f2f;
}

.wy-ret__disclaimer-text {
	margin: 0;
	color: #555;
	font-size: 14px;
	line-height: 1.65;
	max-width: 920px;
}

.wy-ret__empty {
	color: var(--wy-muted);
}

@media (max-width: 600px) {
	.wy-ret__section-title {
		font-size: 20px;
	}
}
