/* === Base Table Setup === */
.tablepress {
	width: 100% !important;
	table-layout: auto;
	border-collapse: collapse;
	overflow-x: auto;
}

/* === Header Styling === */
.tablepress thead th,
.tablepress tfoot th {
	background-color: #ffffff !important;
	color: #000000;
	font-weight: bold;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	vertical-align: middle;
	transform: none !important;
	font-size: 15px;
	padding: 10px 8px;
}

/* === General Cell Styling === */
.tablepress td,
.tablepress th {
	vertical-align: middle;
	text-align: center;
	font-size: 15px;
	padding: 10px 8px;
	white-space: normal;
	word-wrap: break-word;
	max-width: 180px;
}

/* === Prevent Vertical Text Rendering === */
.tablepress td a,
.tablepress td span,
.tablepress td strong {
	transform: none !important;
	display: inline-block;
	white-space: normal;
}

/* === Broker Logos (Clean, Not Styled as Buttons) === */
.tablepress tbody td:first-child img {
	width: 100px;
	height: 100px;
	border-radius: 15px;
	border: 2px solid #000;
	object-fit: contain;
	display: block;
	margin: 0 auto;
}

/* === Visit Broker Buttons (Apply to LAST COLUMN only) === */
.tablepress td:last-child a {
	display: inline-block;
	padding: 10px 18px;
	background-color: #FF9900;
	border: 1px solid #FF9900;
	border-radius: 6px;
	color: #FFFFFF !important;
	font-weight: bold;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color .3s ease;
}

.tablepress td:last-child a:hover {
	background-color: #e68500;
	border-color: #e68500;
	color: #ffffff !important;
}

/* === Row Hover Effect === */
.tablepress tbody tr:hover {
	background-color: #f9f9f9;
}

/* === Risk Warning Max Width Handling === */
.tablepress.tbl-riskwarn-col-a .column-1 span,
.tablepress.tbl-riskwarn-col-1 .column-1 span,
.tablepress.tbl-riskwarn-col-b .column-2 span,
.tablepress.tbl-riskwarn-col-2 .column-2 span,
.tablepress.tbl-riskwarn-col-c .column-3 span,
.tablepress.tbl-riskwarn-col-3 .column-3 span,
.tablepress.tbl-riskwarn-col-d .column-4 span,
.tablepress.tbl-riskwarn-col-4 .column-4 span,
.tablepress.tbl-riskwarn-col-e .column-5 span,
.tablepress.tbl-riskwarn-col-5 .column-5 span,
.tablepress.tbl-riskwarn-col-f .column-6 span,
.tablepress.tbl-riskwarn-col-6 .column-6 span,
.tablepress.tbl-riskwarn-col-g .column-7 span,
.tablepress.tbl-riskwarn-col-7 .column-7 span,
.tablepress.tbl-riskwarn-col-h .column-8 span,
.tablepress.tbl-riskwarn-col-8 .column-8 span,
.tablepress.tbl-riskwarn-col-i .column-9 span,
.tablepress.tbl-riskwarn-col-9 .column-9 span,
.tablepress.tbl-riskwarn-col-j .column-10 span,
.tablepress.tbl-riskwarn-col-10 .column-10 span,
.tablepress.tbl-riskwarn-col-k .column-11 span,
.tablepress.tbl-riskwarn-col-11 .column-11 span,
.tablepress.tbl-riskwarn-col-l .column-12 span,
.tablepress.tbl-riskwarn-col-12 .column-12 span {
	display: inline-block;
	max-width: 160px;
}

/* === Short Disclaimer Text === */
.tablepress.tblprs-short-disc th strong {
	color: #000000;
}