/* Homepage (DM_Home): drug-information portal. */
.dmh { --ink: #0F2A3A; --text: #1C2B33; --muted: #52646E; --line: #DCE3E8; --band: #F3F6F8; --mint: #EAF4F2; --mint-line: #CFE3DE; --primary: #087A6D; --link: #06665B; --accent: #C2410C;
	color: var(--text); font-size: 15px; line-height: 1.9; background: #fff; }
.dmh a { color: var(--link); }
.dmh a:hover { color: #044A42; }
.dmh h1, .dmh h2, .dmh h3 { color: var(--ink); margin: 0; }
.dmh-wrap { max-width: 1240px; margin-inline: auto; padding-inline: 24px; box-sizing: border-box; }
.dmh *, .dmh *::before, .dmh *::after { box-sizing: border-box; }

.dmh-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 9px 20px; border-radius: 6px; font-weight: 700; text-decoration: none; border: 1.5px solid transparent; }
.dmh .dmh-btn--accent { background: var(--accent); color: #fff; }
.dmh .dmh-btn--accent:hover { background: #9A3412; color: #fff; }
.dmh .dmh-btn--line { border-color: var(--ink); color: var(--ink); background: #fff; }
.dmh .dmh-btn--white { background: #fff; color: var(--ink); }
.dmh .dmh-btn--ghost { border-color: #fff; color: #fff; }
.dmh-row { display: flex; flex-wrap: wrap; gap: 10px; }
.dmh-row .dmh-btn { flex: 1 1 120px; }

.dmh-intro { background: var(--mint); border-bottom: 1px solid var(--mint-line); }
.dmh-intro__in { padding-block: 40px 36px; }
.dmh-intro h1 { font-size: clamp(24px, 3vw, 36px); line-height: 1.5; font-weight: 800; max-width: 26em; }
.dmh-intro p { margin: 10px 0 22px; font-size: 16.5px; color: #2E4350; max-width: 48em; }
.dmh-search { display: flex; max-width: 760px; border: 2px solid var(--ink); border-radius: 8px; overflow: hidden; background: #fff; }
.dmh-search input { flex: 1; min-width: 0; border: 0; padding: 15px 18px; font: inherit; font-size: 17px; background: transparent; box-shadow: none; height: auto; }
.dmh-search input:focus { outline: 3px solid #9FD6CD; outline-offset: -3px; }
.dmh-search button { border: 0; background: var(--ink); color: #fff; font: inherit; font-weight: 700; font-size: 16px; padding: 0 28px; cursor: pointer; border-radius: 0; }
.dmh-intro__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }

.dmh-portal { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 32px; padding-block: 36px 40px; }
.dmh-feature { display: flex; flex-direction: column; gap: 12px; }
.dmh-feature__img img, .dmh-recent__img img { display: block; width: 100%; height: auto; object-fit: cover; border-radius: 6px; }
.dmh-feature__img img { aspect-ratio: 2 / 1; }
.dmh-cat { font-size: 13.5px; font-weight: 700; text-decoration: none; }
.dmh-feature h2 { font-size: clamp(22px, 2.4vw, 32px); line-height: 1.45; font-weight: 800; }
.dmh-feature h2 a, .dmh-recent h3 a, .dmh-mono h2 a, .dmh-services h3 a { color: var(--ink); text-decoration: none; }
.dmh-feature h2 a:hover, .dmh-recent h3 a:hover, .dmh-services h3 a:hover { text-decoration: underline; }
.dmh-feature > p { margin: 0; font-size: 16.5px; color: #3D4F59; }
.dmh-byline { display: flex; flex-wrap: wrap; gap: 6px 24px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.dmh-byline strong { color: var(--text); }

.dmh-side { display: flex; flex-direction: column; gap: 20px; }
.dmh-box { border: 1px solid var(--line); border-radius: 8px; padding: 18px; }
.dmh-box h2 { font-size: 18px; font-weight: 800; margin-bottom: 10px; }
.dmh-box--dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.dmh-box--dark h2 { color: #fff; margin-bottom: 4px; }
.dmh-box--dark p { margin: 0 0 14px; color: #C8D5DC; font-size: 14px; }
.dmh-letters { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 4px; text-align: center; font-weight: 700; }
.dmh-letters a { background: var(--mint); color: var(--ink); text-decoration: none; padding: 5px 0; border-radius: 4px; }
.dmh-letters a:hover { background: var(--primary); color: #fff; }
.dmh-more { display: inline-block; margin-top: 12px; font-size: 14px; font-weight: 700; }
.dmh-pop { margin: 0; padding: 0 20px 0 0; font-size: 15px; }
.dmh-pop a { text-decoration: none; }

.dmh-band { background: var(--band); border-block: 1px solid var(--line); }
.dmh-std { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; padding-block: 30px; }
.dmh-std h2 { font-size: 20px; line-height: 1.6; font-weight: 800; }
.dmh-std p { margin: 0; font-size: 14px; color: #3D4F59; }
.dmh-std strong { display: block; color: var(--ink); font-size: 15px; }

.dmh-sec { padding-block: 44px 8px; }
.dmh-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 16px; margin-bottom: 20px; padding-bottom: 10px; border-bottom: 2px solid var(--ink); }
.dmh-head h2 { font-size: 26px; font-weight: 800; }
.dmh-head a { font-size: 14px; font-weight: 700; }

.dmh-services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 36px; }
.dmh-services h3 { font-size: 18px; font-weight: 800; margin-bottom: 6px; }
.dmh-services p { margin: 0; font-size: 14.5px; color: #3D4F59; }

.dmh-classes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 36px; }
.dmh-classes a { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--text); font-weight: 600; }
.dmh-classes a:hover span { color: var(--link); text-decoration: underline; }
.dmh-classes small { color: var(--muted); font-weight: 400; font-size: 13.5px; white-space: nowrap; }

.dmh-recent { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; padding-bottom: 36px; }
.dmh-recent article { display: flex; flex-direction: column; gap: 8px; }
.dmh-recent__img img { aspect-ratio: 3 / 2; }
.dmh-recent h3 { font-size: 17px; line-height: 1.6; font-weight: 700; }
.dmh-date { margin: 0; font-size: 12.5px; color: var(--muted); }

.dmh-mono { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 32px; align-items: start; padding-block: 44px; }
.dmh-mono__img { display: block; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 16px; }
.dmh-mono__img img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: contain; }
.dmh-kicker { margin: 0 0 4px; font-size: 14px; font-weight: 700; color: var(--link); }
.dmh-mono h2 { font-size: 28px; font-weight: 800; line-height: 1.5; }
.dmh-mono__en { margin: 0 0 14px; color: var(--muted); font-size: 16px; text-align: right; }
.dmh-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); font-size: 15px; margin: 0; }
.dmh-table th, .dmh-table td { padding: 10px 16px; border-bottom: 1px solid var(--line); text-align: right; }
.dmh-table th { width: 30%; background: #F8FAFB; font-weight: 700; }
.dmh-rx { background: #FDF3DF; color: #7A4800; padding: 2px 10px; border-radius: 4px; font-weight: 700; font-size: 14px; }

.dmh-services2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; padding-block: 48px 0; }
.dmh-card { border: 1px solid var(--line); border-radius: 8px; padding: 26px; display: flex; gap: 20px; flex-direction: column; }
.dmh-card--accent { border-top: 4px solid var(--accent); }
.dmh-card--primary { border-top: 4px solid var(--primary); flex-direction: row; }
.dmh-card h2 { font-size: 22px; font-weight: 800; margin-bottom: 6px; }
.dmh-card p { margin: 0; color: #3D4F59; }
.dmh-ph__img { width: 96px; height: 120px; object-fit: cover; border-radius: 6px; flex: none; }
.dmh-card .dmh-ph__name { font-weight: 700; color: var(--text); }
.dmh-card .dmh-ph__meta { font-size: 14px; color: var(--muted); margin-bottom: 10px; }

.dmh-about__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; padding-bottom: 12px; }
.dmh-about h3 { font-size: 18px; font-weight: 800; margin: 4px 0 6px; }
.dmh-about p { margin: 0 0 18px; color: #3D4F59; max-width: 62ch; }
.dmh-faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; padding-bottom: 56px; }
.dmh-faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.dmh-faq summary { font-weight: 700; cursor: pointer; color: var(--ink); }
.dmh-faq details p { margin: 8px 0 0; color: #3D4F59; font-size: 14.5px; }

.dmh :focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

@media (max-width: 1024px) {
	.dmh-portal, .dmh-mono { grid-template-columns: 1fr; }
	.dmh-std, .dmh-recent { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.dmh-std h2 { grid-column: 1 / -1; }
	.dmh-services, .dmh-classes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
	.dmh-wrap { padding-inline: 16px; }
	.dmh-intro__in { padding-block: 26px 24px; }
	.dmh-intro p { font-size: 15px; }
	.dmh-search input { padding: 12px; font-size: 16px; }
	.dmh-search button { padding: 0 16px; }
	.dmh-intro__actions .dmh-btn { flex: 1 1 140px; }
	.dmh-std, .dmh-services, .dmh-classes, .dmh-services2, .dmh-faq, .dmh-about__cols { grid-template-columns: 1fr; }
	.dmh-recent { grid-template-columns: 1fr; gap: 0; }
	.dmh-recent article { display: grid; grid-template-columns: 104px minmax(0, 1fr); grid-template-rows: auto auto auto; column-gap: 12px; row-gap: 2px; padding: 12px 0; border-bottom: 1px solid var(--line); }
	.dmh-recent__img { grid-row: span 3; }
	.dmh-recent__img img { aspect-ratio: 4 / 3; }
	.dmh-recent h3 { font-size: 15.5px; }
	.dmh-head h2 { font-size: 21px; }
	.dmh-card { padding: 18px; }
	.dmh-card--primary { flex-direction: column; }
	.dmh-mono h2 { font-size: 22px; }
}
