/**
 * Blog single content tables — premiumcustomboxes.ca
 */

.sec-18 .blog-content,
.blog-info .blog-content {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.sec-18 .blog-content table,
.blog-info .blog-content table,
.sec-18 .blog-content .table,
.blog-info .blog-content .table {
	width: 100%;
	min-width: 520px;
	border-collapse: separate;
	border-spacing: 0;
	margin: 1.75rem 0 2.25rem;
	background: #ffffff;
	border: 1px solid #e6eaf0;
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 8px 24px rgba(25, 35, 48, 0.06);
}

.sec-18 .blog-content table td,
.sec-18 .blog-content table th,
.blog-info .blog-content table td,
.blog-info .blog-content table th {
	padding: 15px 18px;
	vertical-align: top;
	font-size: 15px;
	line-height: 1.6;
	color: #1b2230;
	border-bottom: 1px solid #edf0f4;
	border-top: 0;
	border-left: 0;
	border-right: 0;
	background-color: transparent;
}

.sec-18 .blog-content table tr:last-child td,
.sec-18 .blog-content table tr:last-child th,
.blog-info .blog-content table tr:last-child td,
.blog-info .blog-content table tr:last-child th {
	border-bottom: 0;
}

/* Nested editor junk */
.sec-18 .blog-content table td p,
.sec-18 .blog-content table th p,
.blog-info .blog-content table td p,
.blog-info .blog-content table th p {
	margin: 0;
	padding: 0;
	text-align: left;
	color: inherit;
	font-size: inherit;
	font-weight: inherit;
	display: inline;
}

.sec-18 .blog-content table td span,
.blog-info .blog-content table td span {
	font-weight: inherit !important;
}

/* Label column */
.sec-18 .blog-content table td:first-child,
.sec-18 .blog-content table th:first-child,
.blog-info .blog-content table td:first-child,
.blog-info .blog-content table th:first-child {
	font-weight: 700;
	color: #192330;
	background: #f5f7fa;
	border-right: 1px solid #edf0f4;
	width: 26%;
	min-width: 160px;
	white-space: normal;
}

/* Zebra rows */
.sec-18 .blog-content table tbody tr:nth-child(even) td,
.blog-info .blog-content table tbody tr:nth-child(even) td {
	background: #fafbfc;
}

.sec-18 .blog-content table tbody tr:nth-child(even) td:first-child,
.blog-info .blog-content table tbody tr:nth-child(even) td:first-child {
	background: #eef1f5;
}

.sec-18 .blog-content table tbody tr:hover td,
.blog-info .blog-content table tbody tr:hover td {
	background: #fff8df;
}

.sec-18 .blog-content table tbody tr:hover td:first-child,
.blog-info .blog-content table tbody tr:hover td:first-child {
	background: #ffefb0;
}

/* Wide comparison tables: first row as header */
.sec-18 .blog-content table tr:first-child:has(td:nth-child(3)) td,
.sec-18 .blog-content table tr:first-child:has(th:nth-child(3)) td,
.sec-18 .blog-content table tr:first-child:has(td:nth-child(3)) th,
.sec-18 .blog-content table thead tr th,
.blog-info .blog-content table tr:first-child:has(td:nth-child(3)) td,
.blog-info .blog-content table tr:first-child:has(th:nth-child(3)) td,
.blog-info .blog-content table tr:first-child:has(td:nth-child(3)) th,
.blog-info .blog-content table thead tr th {
	background: #192330 !important;
	color: #ffffff !important;
	font-weight: 700;
	font-size: 13px;
	letter-spacing: 0.02em;
	text-transform: none;
	border-bottom: 0;
	border-right: 1px solid rgba(255, 255, 255, 0.08);
	white-space: nowrap;
}

.sec-18 .blog-content table tr:first-child:has(td:nth-child(3)) td:first-child,
.blog-info .blog-content table tr:first-child:has(td:nth-child(3)) td:first-child,
.sec-18 .blog-content table thead tr th:first-child,
.blog-info .blog-content table thead tr th:first-child {
	background: #0e131a !important;
	color: #ffdd26 !important;
	border-right: 1px solid rgba(255, 221, 38, 0.25);
}

/* 2-column use-case tables feel like cards */
.sec-18 .blog-content table tr:not(:has(td:nth-child(3))) td:last-child,
.blog-info .blog-content table tr:not(:has(td:nth-child(3))) td:last-child {
	color: #334155;
}

@media (max-width: 767.98px) {
	.sec-18 .blog-content table,
	.blog-info .blog-content table {
		min-width: 460px;
		border-radius: 10px;
		margin: 1.25rem 0 1.75rem;
	}

	.sec-18 .blog-content table td,
	.sec-18 .blog-content table th,
	.blog-info .blog-content table td,
	.blog-info .blog-content table th {
		padding: 12px 14px;
		font-size: 14px;
	}

	.sec-18 .blog-content table td:first-child,
	.blog-info .blog-content table td:first-child {
		min-width: 130px;
		width: 34%;
	}
}
