/* Free PDF on Telegram (owner, 2026-11-30): link box "Link 3" + T6 line. */

.pyq-tgpdf__ic {
	flex: none;
	width: 1.1em;
	height: 1.1em;
}

/* Link box (owner, 2026-11-30, demo "Link 3"): one light box, only links, a column per PDF. */
.pyq-tgpdf-links {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 12px 20px;
	box-sizing: border-box;
	margin: 10px 0 18px;
	padding: 12px 16px;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	background: #f8fafc;
}

.pyq-tgpdf-col {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 5px;
	min-width: 0;
	font-size: 14.5px;
	line-height: 1.4;
}

.pyq-tgpdf-col__name {
	font-size: 13px;
	font-weight: 600;
	color: #64748b;
	overflow-wrap: anywhere;
}

.pyq-tgpdf-col a.pyq-tgpdf-col__dl,
.pyq-tgpdf-col a.pyq-tgpdf-col__dl:visited,
.pyq-tgpdf-col a.pyq-tgpdf-col__tg,
.pyq-tgpdf-col a.pyq-tgpdf-col__tg:visited {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-weight: 600;
	text-decoration: none;
	box-shadow: none;
	background: none;
	color: #0b63c4;
}

.pyq-tgpdf-col a.pyq-tgpdf-col__tg,
.pyq-tgpdf-col a.pyq-tgpdf-col__tg:visited {
	color: #229ed9;
}

.pyq-tgpdf-col a.pyq-tgpdf-col__dl:hover,
.pyq-tgpdf-col a.pyq-tgpdf-col__dl:focus-visible,
.pyq-tgpdf-col a.pyq-tgpdf-col__tg:hover,
.pyq-tgpdf-col a.pyq-tgpdf-col__tg:focus-visible {
	text-decoration: underline;
}

.pyq-tgpdf-col .pyq-tgpdf__ic {
	width: 14px;
	height: 14px;
}

.pyq-tgpdf-col__soon {
	font-weight: 600;
	color: #64748b;
}

/* T6: a small line under a PDF link in text or a table. */
a.pyq-tgpdf-line,
a.pyq-tgpdf-line:visited {
	display: flex;
	align-items: center;
	gap: 4px;
	width: fit-content;
	margin-top: 3px;
	font-size: 12.5px;
	font-weight: 600;
	line-height: 1.4;
	color: #229ed9;
	text-decoration: none;
}

a.pyq-tgpdf-line:hover,
a.pyq-tgpdf-line:focus-visible {
	color: #1a8bc2;
	text-decoration: underline;
}

a.pyq-tgpdf-line .pyq-tgpdf__ic {
	width: 1em;
	height: 1em;
}

.has-text-align-center a.pyq-tgpdf-line,
.aligncenter a.pyq-tgpdf-line {
	margin-left: auto;
	margin-right: auto;
}
