/*
 * Medication myths tool component island.
 *
 * The medication education tool is owned by the shortcode/tool hub and should
 * not live in the global Swiss base stylesheet.
 */

.hong-swiss-modern .hong-med-myths {
	color: var(--hong-gray-600);
	margin: 72px auto;
	max-width: 1180px;
}

.hong-swiss-modern .hong-med-myths * {
	box-sizing: border-box;
}

.hong-swiss-modern .hong-med-myths__intro {
	background: var(--hong-ink);
	color: var(--hong-white);
	display: grid;
	gap: 22px;
	grid-template-columns: minmax(0, 0.58fr) minmax(320px, 0.42fr);
	padding: 48px;
}

.hong-swiss-modern .hong-med-myths__eyebrow {
	color: var(--hong-accent);
	font-family: var(--hong-mono);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.12em;
	line-height: 1.3;
	margin: 0;
	text-transform: uppercase;
}

.hong-swiss-modern .hong-med-myths__title {
	color: inherit;
	font-size: 54px;
	grid-column: 1;
	margin: 0;
	max-width: 760px;
}

.hong-swiss-modern .hong-med-myths__lede {
	color: var(--hong-pale);
	font-size: 18px;
	grid-column: 1;
	line-height: 1.55;
	margin: 0;
}

.hong-swiss-modern .hong-med-myths__visual {
	align-content: center;
	background: #f7f3ea;
	border: 1px solid rgba(255, 255, 255, 0.2);
	display: grid;
	gap: 12px;
	grid-column: 2;
	grid-row: 1 / span 3;
	margin: 0;
	padding: 22px;
}

.hong-swiss-modern .hong-med-myths__visual div {
	background: var(--hong-white);
	border: 1px solid var(--hong-line);
	color: var(--hong-ink);
	display: grid;
	gap: 6px;
	padding: 18px;
}

.hong-swiss-modern .hong-med-myths__visual span {
	color: var(--hong-gray-600);
	font-family: var(--hong-mono);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.hong-swiss-modern .hong-med-myths__visual strong {
	font-size: 24px;
	line-height: 1.1;
}

.hong-swiss-modern .hong-med-myths__note {
	border-top: 1px solid rgba(255, 255, 255, 0.22);
	color: var(--hong-pale);
	font-size: 14px;
	grid-column: 1;
	line-height: 1.55;
	margin: 0;
	padding-top: 18px;
}

.hong-swiss-modern .hong-med-myths__workspace {
	background: var(--hong-white);
	border: 1px solid var(--hong-line);
	border-top: 0;
	display: grid;
	gap: 0;
	grid-template-columns: minmax(280px, 0.34fr) minmax(0, 0.66fr);
}

.hong-swiss-modern .hong-med-myths__form {
	align-content: start;
	background: var(--hong-paper);
	border-right: 1px solid var(--hong-line);
	display: grid;
	gap: 18px;
	padding: 28px;
}

.hong-swiss-modern .hong-med-myths__form label,
.hong-swiss-modern .hong-med-myths__form fieldset {
	border: 0;
	display: grid;
	gap: 9px;
	margin: 0;
	padding: 0;
}

.hong-swiss-modern .hong-med-myths__form span,
.hong-swiss-modern .hong-med-myths__form legend {
	color: var(--hong-ink);
	font-family: var(--hong-mono);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.hong-swiss-modern .hong-med-myths__form select,
.hong-swiss-modern .hong-med-myths__form input[type="text"] {
	background: var(--hong-white);
	border: 1px solid var(--hong-line);
	color: var(--hong-ink);
	font: inherit;
	min-height: 48px;
	padding: 11px 12px;
	width: 100%;
}

.hong-swiss-modern .hong-med-myths__choices {
	display: grid;
	gap: 8px;
}

.hong-swiss-modern .hong-med-myths__choice {
	align-items: start;
	background: var(--hong-white);
	border: 1px solid var(--hong-line);
	display: grid;
	gap: 10px;
	grid-template-columns: auto 1fr;
	padding: 12px;
}

.hong-swiss-modern .hong-med-myths__choice input {
	margin-top: 4px;
}

.hong-swiss-modern .hong-med-myths__submit-row {
	display: grid;
	gap: 10px;
}

.hong-swiss-modern .hong-med-myths__button,
.hong-swiss-modern .hong-med-myths__actions button,
.hong-swiss-modern .hong-med-myths__actions a {
	background: var(--hong-accent);
	border: 1px solid var(--hong-accent);
	color: var(--hong-white);
	cursor: pointer;
	font-family: var(--hong-mono);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	padding: 12px 14px;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
}

.hong-swiss-modern .hong-med-myths__actions button,
.hong-swiss-modern .hong-med-myths__actions a {
	background: var(--hong-white);
	border-color: var(--hong-line);
	color: var(--hong-ink);
}

.hong-swiss-modern .hong-med-myths__status {
	color: var(--hong-gray-600);
	font-size: 14px;
	margin: 0;
}

.hong-swiss-modern .hong-med-myths__result {
	display: grid;
	gap: 22px;
	padding: 28px;
}

.hong-swiss-modern .hong-med-myths__result-head {
	align-items: start;
	border-bottom: 1px solid var(--hong-line);
	display: grid;
	gap: 20px;
	grid-template-columns: 1fr auto;
	padding-bottom: 22px;
}

.hong-swiss-modern .hong-med-myths__result-head h3 {
	color: var(--hong-ink);
	font-size: 30px;
	margin: 8px 0 0;
}

.hong-swiss-modern .hong-med-myths__result-head strong {
	background: var(--hong-paper);
	border: 1px solid var(--hong-line);
	color: var(--hong-ink);
	font-family: var(--hong-mono);
	font-size: 12px;
	letter-spacing: 0.08em;
	padding: 10px 12px;
	text-transform: uppercase;
}

.hong-swiss-modern .hong-med-myths__cards {
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hong-swiss-modern .hong-med-myths__cards section,
.hong-swiss-modern .hong-med-myths__panels section,
.hong-swiss-modern .hong-med-myths__summary-panel {
	border: 1px solid var(--hong-line);
	padding: 20px;
}

.hong-swiss-modern .hong-med-myths__myth-card {
	background: #fff8f5;
}

.hong-swiss-modern .hong-med-myths__fact-card {
	background: #f4f8f6;
}

.hong-swiss-modern .hong-med-myths__cards span {
	color: var(--hong-gray-600);
	font-family: var(--hong-mono);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.hong-swiss-modern .hong-med-myths__cards p,
.hong-swiss-modern .hong-med-myths__panels p {
	margin: 8px 0 0;
}

.hong-swiss-modern .hong-med-myths__panels {
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hong-swiss-modern .hong-med-myths__panels h3,
.hong-swiss-modern .hong-med-myths__summary-panel h3 {
	color: var(--hong-ink);
	font-size: 22px;
	margin: 0;
}

.hong-swiss-modern .hong-med-myths__panels ul {
	margin: 12px 0 0;
	padding-left: 18px;
}

.hong-swiss-modern .hong-med-myths__summary-head {
	align-items: center;
	display: grid;
	gap: 14px;
	grid-template-columns: 1fr auto;
}

.hong-swiss-modern .hong-med-myths__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: flex-end;
}

.hong-swiss-modern .hong-med-myths__summary-panel pre {
	background: var(--hong-paper);
	border: 1px solid var(--hong-line);
	color: var(--hong-ink);
	line-height: 1.6;
	margin: 16px 0 0;
	overflow: auto;
	padding: 16px;
	white-space: pre-wrap;
}

.hong-swiss-modern .hong-med-myths__sources {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.hong-swiss-modern .hong-med-myths__sources p {
	flex-basis: 100%;
	font-size: 14px;
	margin: 0;
}

.hong-swiss-modern .hong-med-myths__sources a {
	border: 1px solid var(--hong-line);
	color: var(--hong-ink);
	font-family: var(--hong-mono);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.06em;
	padding: 8px 10px;
	text-decoration: none;
	text-transform: uppercase;
}

body.hong-swiss-modern .hong-med-myths {
	box-sizing: border-box;
	margin-left: auto;
	margin-right: auto;
	max-width: var(--hong-width-visual);
	transform: none;
	width: var(--hong-box-visual);
}

.hong-swiss-modern .hong-patient-tools__active-app .hong-med-myths {
	margin: 0;
	max-width: none;
	width: 100%;
}

@media only screen and (max-width: 1199px) {
	.hong-swiss-modern .hong-med-myths {
		margin-left: 5%;
		margin-right: 5%;
	}
}

@media only screen and (max-width: 767px) {
	.hong-swiss-modern .hong-med-myths__intro,
	.hong-swiss-modern .hong-med-myths__workspace,
	.hong-swiss-modern .hong-med-myths__cards,
	.hong-swiss-modern .hong-med-myths__panels,
	.hong-swiss-modern .hong-med-myths__result-head,
	.hong-swiss-modern .hong-med-myths__summary-head {
		grid-template-columns: 1fr;
	}

	.hong-swiss-modern .hong-med-myths__intro {
		padding: 28px 22px;
	}

	.hong-swiss-modern .hong-med-myths__title {
		font-size: 36px;
	}

	.hong-swiss-modern .hong-med-myths__lede {
		font-size: 17px;
	}

	.hong-swiss-modern .hong-med-myths__note {
		border-left: 0;
		grid-column: auto;
		grid-row: auto;
		padding-left: 0;
	}

	.hong-swiss-modern .hong-med-myths__visual {
		grid-column: auto;
		grid-row: auto;
	}

	.hong-swiss-modern .hong-med-myths__form,
	.hong-swiss-modern .hong-med-myths__result {
		padding: 28px 22px;
	}

	.hong-swiss-modern .hong-med-myths__form {
		border-right: 0;
		border-bottom: 1px solid var(--hong-line);
	}

	.hong-swiss-modern .hong-med-myths__actions {
		justify-content: stretch;
	}

	.hong-swiss-modern .hong-med-myths__actions button,
	.hong-swiss-modern .hong-med-myths__actions a,
	.hong-swiss-modern .hong-med-myths__button {
		width: 100%;
	}
}
