@charset "UTF-8";

section.responsive-table {
	width: 100%;
	margin: 50px 0;
}

section.responsive-table .responsive-table__intro {
	margin-bottom: 2rem;
}

section.responsive-table .responsive-table__title:empty::before {
	content: "Responsive Table";
	opacity: 0.5;
}

section.responsive-table .responsive-table__copy:empty::before {
	content: "Add optional intro text...";
	opacity: 0.5;
}

section.responsive-table .responsive-table__table-area {
	width: 100%;
}

section.responsive-table .responsive-table__desktop-view {
	width: 100%;
	overflow-x: auto;
}

section.responsive-table .wp-block-table {
	margin: 0;
}

section.responsive-table .wp-block-table table,
section.responsive-table .wp-block-table td {
	font-family: inherit;
	font-size: inherit;
	line-height: inherit;
	color: inherit;
}

section.responsive-table .wp-block-table th {
	font-family: inherit;
	line-height: inherit;
	color: inherit;
}

section.responsive-table .wp-block-table table {
	width: 100%;
	border-collapse: collapse;
	table-layout: auto;
}

section.responsive-table .wp-block-table thead th {
	font-weight: 700;
	text-align: left;
	border-bottom: 2px solid rgba(0, 0, 0, 0.12);
	padding: 1rem;
}

section.responsive-table .wp-block-table tbody th,
section.responsive-table .wp-block-table tbody td {
	padding: 1rem;
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
	text-align: left;
	vertical-align: top;
}

/* Specific Cell Styles */

section.responsive-table .wp-block-table table thead th {
	/* top row header cells */
	font-weight: 700;
	background: #f2f2f2;
}

section.responsive-table .wp-block-table table thead th:first-child {
	/* top-left cell */
	background: #e6e6e6;
}

section.responsive-table .wp-block-table table tbody th {
	/* first column row labels (after header row, if there is a header row) */
	font-weight: 700;
}

/* End Specific Cell Styles */

/* Column Width handlers */
/* 3column */
section.responsive-table .wp-block-table table.col-count-3 {
	table-layout: fixed;
	width: 100%;
}

section.responsive-table .wp-block-table table.col-count-3 tr > :first-child {
	width: 40%;
}

section.responsive-table .wp-block-table table.col-count-3 tr > :nth-child(2),
section.responsive-table .wp-block-table table.col-count-3 tr > :nth-child(3) {
	width: 30%;
}
/* 4column */
section.responsive-table .wp-block-table table.col-count-4 {
	table-layout: fixed;
	width: 100%;
}

section.responsive-table .wp-block-table table.col-count-4 tr > :first-child {
	width: 34%;
}

section.responsive-table .wp-block-table table.col-count-4 tr > :nth-child(2),
section.responsive-table .wp-block-table table.col-count-4 tr > :nth-child(3),
section.responsive-table .wp-block-table table.col-count-4 tr > :nth-child(4) {
	width: 22%;
}
/* 5 column */
section.responsive-table .wp-block-table table.col-count-5 {
	table-layout: fixed;
	width: 100%;
}

section.responsive-table .wp-block-table table.col-count-5 tr > :first-child {
	width: 28%;
}

section.responsive-table .wp-block-table table.col-count-5 tr > :nth-child(2),
section.responsive-table .wp-block-table table.col-count-5 tr > :nth-child(3),
section.responsive-table .wp-block-table table.col-count-5 tr > :nth-child(4),
section.responsive-table .wp-block-table table.col-count-5 tr > :nth-child(5) {
	width: 18%;
}

/* 6 column */
section.responsive-table .wp-block-table table.col-count-6 {
	table-layout: fixed;
	width: 100%;
}

section.responsive-table .wp-block-table table.col-count-6 tr > :first-child {
	width: 20%;
}

section.responsive-table .wp-block-table table.col-count-6 tr > :nth-child(2),
section.responsive-table .wp-block-table table.col-count-6 tr > :nth-child(3),
section.responsive-table .wp-block-table table.col-count-6 tr > :nth-child(4),
section.responsive-table .wp-block-table table.col-count-6 tr > :nth-child(5),
section.responsive-table .wp-block-table table.col-count-6 tr > :nth-child(6) {
	width: 16%;
}


/* End Column Width handlers */

section.responsive-table .responsive-table__mobile-view {
	display: none;
}

section.responsive-table .responsive-table__mobile-card {
	border-bottom: 1px solid rgba(0, 0, 0, 0.12);
	padding: 1rem 0;
}

section.responsive-table .responsive-table__mobile-card:first-child {
	border-top: 1px solid rgba(0, 0, 0, 0.12);
}

section.responsive-table .responsive-table__mobile-card-title {
	margin: 0 0 0.75rem;
	font-size: 1.125rem;
	font-weight: 700;
}

section.responsive-table .responsive-table__mobile-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

section.responsive-table .responsive-table__mobile-item {
	display: grid;
	grid-template-columns: minmax(120px, 40%) 1fr;
	gap: 0.75rem;
	padding: 0.65rem 0;
	border-top: 1px solid rgba(0, 0, 0, 0.08);
}

section.responsive-table .responsive-table__mobile-item:first-child {
	border-top: 0;
}

section.responsive-table .responsive-table__mobile-label {
	font-weight: 700;
}

section.responsive-table .responsive-table__mobile-value {
	word-break: break-word;
}

@media (max-width: 767px) {
	section.responsive-table .responsive-table__desktop-view {
		display: none;
	}

	section.responsive-table .responsive-table__mobile-view {
		display: block;
	}
}