/* WTS Journal — full-text styles (tables, figures, references). Pages only reference these classes. */
.wts-fulltext { line-height: 1.75; }
.wts-fulltext p { margin: 0 0 0.9em; }
.wts-fulltext h5 { font-size: 1.05em; font-weight: 700; margin: 1.4em 0 0.5em; color: #1A1A1A; }
.wts-fulltext h6 { font-size: 1em; font-weight: 700; font-style: italic; margin: 1.2em 0 0.4em; }

/* ---- tables ---- */
.wts-table-block { margin: 1.6em 0 1.8em; }
.wts-table-caption { font-size: 0.92em; line-height: 1.55; margin: 0 0 0.5em !important; }
.wts-table-caption strong { color: #236149; }
.wts-table-wrap { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.wts-table-wrap > img { display: block; max-width: 100%; height: auto; margin: 0 auto; }
.wts-table-foot { font-size: 0.8em; line-height: 1.5; color: #444; margin-top: 0.5em; }
.wts-table-foot p { margin: 0 0 0.2em !important; }

table.wts-table { width: 100%; border-collapse: collapse; border-spacing: 0; margin: 0 !important; font-size: 13px; line-height: 1.4; background: transparent; }
/* neutralise theme table defaults (zebra rows, cell borders, 15px padding) */
.wts-table-wrap table.wts-table > * > tr > th,
.wts-table-wrap table.wts-table > * > tr > td { padding: 5px 8px; border: 0 !important; vertical-align: top; text-align: center; background-color: transparent !important; line-height: 1.4; }
.wts-table-wrap table.wts-table > * > tr > td:first-child,
.wts-table-wrap table.wts-table > * > tr > th:first-child { text-align: left; }
.wts-table-wrap table.wts-table > thead > tr > th { font-weight: 700; vertical-align: bottom; }
table.wts-table sup, table.wts-table sub { font-size: 0.75em; line-height: 0; }

/* default / compact / striped: booktabs (thick top and bottom rules, thin rule under the header) */
.wts-table-wrap table.wts-table--default, .wts-table-wrap table.wts-table--compact, .wts-table-wrap table.wts-table--striped { border-top: 1.5px solid #1A1A1A; border-bottom: 1.5px solid #1A1A1A; }
.wts-table-wrap table.wts-table--default > thead > tr:last-child > th,
.wts-table-wrap table.wts-table--compact > thead > tr:last-child > th,
.wts-table-wrap table.wts-table--striped > thead > tr:last-child > th { border-bottom: 1px solid #1A1A1A !important; }
.wts-table-wrap table.wts-table--default > thead > tr > th[colspan],
.wts-table-wrap table.wts-table--compact > thead > tr > th[colspan],
.wts-table-wrap table.wts-table--striped > thead > tr > th[colspan] { border-bottom: 1px solid #8a8a8a !important; }
.wts-table-wrap table.wts-table--default > thead > tr > th,
.wts-table-wrap table.wts-table--compact > thead > tr > th,
.wts-table-wrap table.wts-table--striped > thead > tr > th { background-color: #F3F7F5 !important; }

/* grid: every cell ruled (source tables with vertical rules) */
.wts-table-wrap table.wts-table--grid { border: 1px solid #8a8a8a; }
.wts-table-wrap table.wts-table--grid > * > tr > th,
.wts-table-wrap table.wts-table--grid > * > tr > td { border: 1px solid #b5b5b5 !important; }
.wts-table-wrap table.wts-table--grid > thead > tr > th { background-color: #F3F7F5 !important; }

/* striped body rows */
.wts-table-wrap table.wts-table--striped > tbody > tr:nth-child(even) > td { background-color: #F7F9F8 !important; }

/* compact: many columns */
.wts-table-wrap table.wts-table--compact { font-size: 12px; }
.wts-table-wrap table.wts-table--compact > * > tr > th,
.wts-table-wrap table.wts-table--compact > * > tr > td { padding: 4px 5px; }

.wts-table-missing, .wts-figure-missing { font-size: 0.9em; color: #666; font-style: italic; }

/* ---- figures ---- */
figure.wts-figure { margin: 1.8em 0; text-align: center; }
figure.wts-figure img { display: block; max-width: 100%; height: auto; margin: 0 auto; border: 1px solid #E6E6E6; }
figure.wts-figure figcaption { font-size: 0.92em; line-height: 1.55; text-align: left; margin-top: 0.6em; color: #333; font-style: normal; }
figure.wts-figure figcaption i, .wts-table-caption i, .wts-table-foot i { font-style: italic; }
.wts-table-caption, .wts-table-foot { font-style: normal; }
figure.wts-figure figcaption strong { color: #236149; }

/* ---- references ---- */
.wts-fulltext ol.wts-references { margin: 0 !important; padding: 0 !important; list-style-position: inside; font-size: 0.93em; line-height: 1.6; }
.wts-fulltext ol.wts-references > li { margin: 0 0 0.55em; padding: 0; text-indent: 0; word-break: break-word; overflow-wrap: anywhere; }
ol.wts-references a.wts-doi { font-weight: 700; white-space: nowrap; margin-left: 0.25em; text-decoration: none; color: #236149; }
ol.wts-references a.wts-doi:hover { text-decoration: underline; }

@media (max-width: 767px) {
	table.wts-table { font-size: 12px; }
	.wts-table-wrap table.wts-table > * > tr > th, .wts-table-wrap table.wts-table > * > tr > td { padding: 4px 5px; }
	.wts-table-wrap table.wts-table { min-width: 560px; }
	.wts-table-wrap table.wts-table--compact { min-width: 720px; }
}
