/* Homepage comparison tables: turn wide desktop grids into readable phone cards. */
@media (max-width: 760px) {
	body.home .comparison-table,
	body.home .table-scroll:not(.comparison-table) {
		overflow: visible !important;
		border: 0 !important;
		border-radius: 0 !important;
		background: transparent !important;
	}

	body.home .comparison-table table,
	body.home .table-scroll:not(.comparison-table) table {
		display: block !important;
		width: 100% !important;
		min-width: 0 !important;
		table-layout: auto !important;
		background: transparent !important;
	}

	body.home .comparison-table thead,
	body.home .table-scroll:not(.comparison-table) thead {
		display: none !important;
	}

	body.home .comparison-table tbody,
	body.home .table-scroll:not(.comparison-table) tbody {
		display: grid !important;
		gap: 14px;
	}

	body.home .comparison-table tbody tr,
	body.home .table-scroll:not(.comparison-table) tbody tr {
		display: block !important;
		overflow: hidden;
		border: 1px solid #53667c !important;
		border-radius: 16px;
		background: #111 !important;
	}

	/* The left-hand feature becomes the card title. */
	body.home .comparison-table tbody th,
	body.home .table-scroll:not(.comparison-table) tbody th {
		display: block !important;
		padding: 15px 17px !important;
		border: 0 !important;
		border-bottom: 1px solid #53667c !important;
		background: #152538 !important;
		color: #fff !important;
		font-size: 1rem !important;
		line-height: 1.3 !important;
	}

	/* The comparison keeps provider names beside each value. */
	body.home .comparison-table tbody td {
		display: grid !important;
		grid-template-columns: minmax(102px, .85fr) minmax(0, 1.15fr);
		gap: 10px;
		align-items: start;
		padding: 13px 17px !important;
		border: 0 !important;
		border-bottom: 1px solid rgba(196, 203, 211, .3) !important;
		background: #111 !important;
		font-size: .92rem !important;
		line-height: 1.35 !important;
	}

	body.home .comparison-table tbody td:last-child,
	body.home .table-scroll:not(.comparison-table) tbody tr > *:last-child {
		border-bottom: 0 !important;
	}

	body.home .comparison-table tbody td::before {
		color: #ffd000;
		font-size: .7rem;
		font-weight: 900;
		letter-spacing: .06em;
		line-height: 1.45;
		text-transform: uppercase;
	}

	body.home .comparison-table tbody td:nth-of-type(1)::before { content: "AustraTV"; }
	body.home .comparison-table tbody td:nth-of-type(2)::before { content: "IPTV Australia"; }
	body.home .comparison-table tbody td:nth-of-type(3)::before { content: "IPTV VAU"; }

	body.home .comparison-table tbody td.comparison-winner {
		background: linear-gradient(100deg, #231f0f, #1a1810) !important;
		border-left: 0 !important;
		border-right: 0 !important;
	}

	/* The other homepage table is a concise label-and-answer list. */
	body.home .table-scroll:not(.comparison-table) tbody td {
		display: block !important;
		padding: 14px 17px !important;
		border: 0 !important;
		border-bottom: 1px solid rgba(196, 203, 211, .3) !important;
		background: #111 !important;
		color: #dbe5f1 !important;
		font-size: .92rem !important;
		line-height: 1.45 !important;
	}
}
