/* ================================
   TablePress – Shared tokens
   ================================ */
:root {
	--tp-font: Lato, Sans-serif;
	--tp-blue: #049cdb;
	--tp-green: #66c47e;
	--tp-grey: #cdcdcd;
	--tp-black: #000;
	--tp-white: #fff;
}

/* ================================
   Global base styles for all TablePress tables
   ================================ */
.tablepress th,
.tablepress td {
	border: 1px solid var(--tp-black) !important;
	font-family: var(--tp-font) !important;
	font-size: 18px !important;
	font-weight: 500;
	padding-bottom: 2px !important;
	text-align: center !important;
}

.tablepress th {
	font-weight: 700 !important;
}

/* Column 1 defaults (left aligned + black border) */
.tablepress th.column-1,
.tablepress td.column-1 {
	text-align: left !important;
	border: 1px solid var(--tp-black) !important;
	background-color: var(--tp-white) !important;
}

/* Column 2 defaults (green background = Member prices) */
.tablepress th.column-2,
.tablepress td.column-2 {
	background-color: var(--tp-green) !important;
	color: var(--tp-white) !important;
}

/* Column 3 defaults (white background = Non-member prices) */
.tablepress th.column-3,
.tablepress td.column-3 {
	background-color: var(--tp-white) !important;
	color: var(--tp-black) !important;
}

/* ================================
   TABLE 1 – Section header bands in column 1
   ================================ */
#tablepress-1 :is(
tr.row-2,
tr.row-6,
tr.row-20,
tr.row-36,
tr.row-40,
tr.row-45,
tr.row-62,
tr.row-72,
tr.row-100,
tr.row-111,
tr.row-124,
tr.row-127,
tr.row-131
) td.column-1 {
	background-color: var(--tp-grey) !important;
}

/* ================================
   TABLE 3 – Section header bands in column 1
   ================================ */
#tablepress-3 :is(
tr.row-2,
tr.row-21,
tr.row-45,
tr.row-52,
tr.row-58,
tr.row-96,
tr.row-110,
tr.row-121
) td.column-1 {
	background-color: var(--tp-grey) !important;
}

/* TABLE 3 – Exceptions: some member-price cells back to white */
#tablepress-3 :is(
tr.row-2.even,
tr.row-21.even,
tr.row-45.odd,
tr.row-52.odd,
tr.row-58.even,
tr.row-94.odd,
tr.row-108.odd,
tr.row-119.odd
) td.column-2 {
	background-color: var(--tp-white) !important;
	color: var(--tp-black) !important;
}

/* ================================
   TABLE 4 – Styles
   ================================ */
#tablepress-4 th.column-1,
#tablepress-4 th.column-2 {
	background-color: var(--tp-blue) !important;
	color: var(--tp-white) !important;
}

#tablepress-4 th.column-1 {
	font-size: 18px !important;
	font-weight: 700;
}

#tablepress-4 th.column-3 {
	background-color: var(--tp-white) !important;
	color: var(--tp-black) !important;
	font-size: 10px !important;
	font-weight: 700;
}

/* Column alignment overrides for Table 4 */
#tablepress-4 td.column-1,
#tablepress-4 td.column-2,
#tablepress-4 td.column-3 {
	text-align: left !important;
}

/* Row striping */
#tablepress-4 tr.row-1.odd th.column-1 {
	background-color: var(--tp-blue) !important;
}

#tablepress-4 tr.row-2.even td,
#tablepress-4 tr.row-5.odd td,
#tablepress-4 tr.row-8.even td {
	background-color: lightgray !important;
}

#tablepress-4 tr.row-3.odd td,
#tablepress-4 tr.row-4.even td,
#tablepress-4 tr.row-6.even td,
#tablepress-4 tr.row-7.odd td,
#tablepress-4 tr.row-9.odd td,
#tablepress-4 tr.row-10.even td {
	background-color: var(--tp-white) !important;
}

/* ================================
   FIX: Ensure header rows display
   ================================ */
#tablepress-3 tr.row-1 {
	display: table-row !important;
}

/* Header col-1 color var */
:root {
	--tp-head-blue: #002a59;
}

/* Header col-1 color */
.tablepress thead :is(th,
td).column-1 {
	background-color: var(--tp-head-blue) !important;
	color: var(--tp-black) !important;
	text-align: center !important;
	border: 1px solid var(--tp-black) !important;
}

/* ================================
   Hover effect (only col-1 & col-3, exclude section headers)
   ================================ */
.tablepress tbody tr:hover td.column-1:not([colspan]),
.tablepress tbody tr:hover td.column-3:not([colspan]) {
	background-color: #f2f2f2 !important;
}

/* Prevent <strong> section headers from changing */
.tablepress tbody td[colspan] strong {
	background: inherit !important;
}

a.tbl-member-btn {
	color: #fff !important;
}