/*!
 * Techvisers Agency — print styles
 * Author: Zahaib Ali <info@zahaibali.com>
 *
 * Case studies and proposals get printed and shared. This makes the printed
 * page readable: chrome removed, links resolved, colours flattened.
 */

@page {
	margin: 18mm 16mm;
}

body {
	background: #fff !important;
	color: #000 !important;
	font-size: 11pt;
	line-height: 1.5;
}

.tv-announcement,
.tv-header,
.tv-drawer,
.tv-footer,
.tv-mobile-bar,
.tv-cookie,
.tv-backtotop,
.tv-share,
.tv-filters,
.tv-pagination,
.tv-post-nav,
.tv-comments,
.tv-cta,
.tv-newsletter,
.tv-admin-hint,
.skip-link,
form,
.tv-sidebar,
video,
iframe {
	display: none !important;
}

.tv-main,
.tv-container,
.tv-section {
	max-width: none !important;
	padding: 0 !important;
	margin: 0 !important;
	background: none !important;
	color: #000 !important;
}

h1,
h2,
h3,
h4 {
	color: #000 !important;
	page-break-after: avoid;
	break-after: avoid;
}

h1 {
	font-size: 22pt;
}

h2 {
	font-size: 16pt;
}

h3 {
	font-size: 13pt;
}

p,
li,
blockquote,
table {
	page-break-inside: avoid;
	break-inside: avoid;
}

img {
	max-width: 100% !important;
	page-break-inside: avoid;
	break-inside: avoid;
}

a {
	color: #000 !important;
	text-decoration: underline;
}

/* Resolve link destinations, but not for in-page anchors or JS handlers. */
.tv-entry-content a[href^="http"]::after {
	content: " (" attr(href) ")";
	font-size: 9pt;
	word-break: break-all;
}

.tv-card,
.tv-stat,
.tv-testimonial,
.tv-accordion__item {
	border: 1px solid #999 !important;
	box-shadow: none !important;
	page-break-inside: avoid;
	break-inside: avoid;
}

.tv-accordion__panel[hidden] {
	display: block !important;
}

table {
	width: 100%;
	border-collapse: collapse;
}

th,
td {
	border: 1px solid #999;
	padding: 6pt;
}
