.pid-wrap {
	max-width: 900px;
	margin: 0 auto;
	padding: 20px 16px 60px;
	font-size: 16px;
	line-height: 1.6;
}

.pid-breadcrumb {
	font-size: 13px;
	color: #666;
	margin-bottom: 6px;
}

.pid-breadcrumb a {
	color: #2271b1;
	text-decoration: none;
}

.pid-pill-header h1,
.pid-drug-header h1 {
	margin: 0 0 6px;
	font-size: 28px;
	line-height: 1.3;
}

.pid-drug-class {
	color: #555;
	font-style: italic;
	margin: 0 0 10px;
}

.pid-disclaimer {
	background: #fff8e1;
	border: 1px solid #f0dca0;
	border-radius: 6px;
	padding: 10px 14px;
	font-size: 13px;
	color: #6b5900;
	margin: 16px 0;
}

.pid-pill-top {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
	margin: 20px 0;
}

.pid-pill-image {
	flex: 0 0 220px;
	height: 220px;
	background: #f4f4f4;
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.pid-pill-image img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.pid-pill-image.pid-no-image img {
	display: none;
}

.pid-image-placeholder span {
	color: #999;
	font-size: 13px;
	text-align: center;
	padding: 0 16px;
}

.pid-quick-id {
	flex: 1 1 320px;
}

.pid-quick-id h2 {
	margin-top: 0;
	font-size: 18px;
}

.pid-summary {
	font-size: 16px;
}

.pid-button {
	display: inline-block;
	margin-top: 16px;
	padding: 11px 22px;
	background: #2271b1;
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	border-radius: 6px;
	transition: background 0.15s ease;
}

.pid-button:hover {
	background: #135e96;
	color: #fff;
}

.pid-facts {
	width: 100%;
	border-collapse: collapse;
	margin-top: 10px;
}

.pid-facts th,
.pid-facts td {
	text-align: left;
	padding: 6px 10px 6px 0;
	border-bottom: 1px solid #eee;
	font-size: 14px;
}

.pid-facts th {
	color: #666;
	font-weight: 600;
	width: 40%;
}

.pid-section {
	margin: 32px 0;
	scroll-margin-top: 20px;
}

.pid-section h2 {
	font-size: 21px;
	margin: 0 0 10px;
	border-bottom: 2px solid #f0f0f0;
	padding-bottom: 6px;
}

.pid-howto {
	padding-left: 20px;
}

.pid-howto li {
	margin-bottom: 6px;
}

.pid-note {
	font-size: 13px;
	color: #777;
}

.pid-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
	gap: 14px;
	margin-top: 14px;
}

.pid-card {
	display: block;
	border: 1px solid #e2e2e2;
	border-radius: 8px;
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	background: #fff;
	transition: box-shadow 0.15s ease;
}

.pid-card:hover {
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.pid-card-image {
	height: 110px;
	background: #f4f4f4;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.pid-card-image img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.pid-card-noimg {
	color: #999;
	font-size: 11px;
}

.pid-card-label {
	padding: 8px 10px;
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.pid-card-label strong {
	font-size: 14px;
}

.pid-card-label span {
	font-size: 12px;
	color: #666;
}

.pid-faq {
	margin-bottom: 16px;
}

.pid-faq h3 {
	font-size: 16px;
	margin: 0 0 4px;
}

.pid-faq p {
	margin: 0;
	color: #333;
}

.pid-references ul {
	padding-left: 20px;
}

.pid-disclaimer-footer {
	margin-top: 40px;
}

@media (max-width: 600px) {
	.pid-pill-top {
		flex-direction: column;
	}
	.pid-pill-image {
		flex: none;
		width: 100%;
	}
}
