/* ==========================================================
   How-to-Say guides. Loaded on posts tagged Looking For:
   how-to-say-scripts. Brand teal #00799E; red is not used.
   Type follows the Visual ID sheet: Noto Sans, 16px minimum,
   line height 1.5 or more, 4.5:1 contrast.
========================================================== */

body.ac-guide .ep-article-page .ep-breadcrumb {
	display: none;
}

body.ac-guide .ep-article-page .ep-hero h1 {
	font-size: 48px;
	line-height: 1.15;
	letter-spacing: -0.5px;
	margin-bottom: 28px;
}

body.ac-guide .ep-article-page .ep-hero {
	margin-bottom: 36px;
}

html[lang="zh-TW"] body.ac-guide .ep-article-page,
html[lang="zh-TW"] .ac-hts {
	font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", "Noto Sans", sans-serif;
}

html[lang="zh-CN"] body.ac-guide .ep-article-page,
html[lang="zh-CN"] .ac-hts {
	font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Noto Sans", sans-serif;
}

.ac-hts {
	max-width: 100%;
	margin: 0 auto;
	color: #3A3938;
	font-family: "Noto Sans", -apple-system, "Segoe UI", Arial, sans-serif;
}

.ac-hts *,
.ac-hts *::before,
.ac-hts *::after {
	box-sizing: border-box;
}

/* Intro */

.ac-hts .ac-hts-intro {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	justify-content: space-between;
	gap: 20px 28px;
	padding: 28px 32px;
	margin: 0 0 40px;
	background: #F0EEE3;
	border-radius: 16px;
}

.ac-hts .ac-hts-intro__main {
	flex: 1 1 320px;
	min-width: 0;
}

.ac-hts p.ac-hts-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 10px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	line-height: 1.4;
	text-transform: uppercase;
	color: #00799E;
}

.ac-hts p.ac-hts-eyebrow::before {
	content: "";
	flex: 0 0 auto;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #00799E;
}

.ac-hts p.ac-hts-lede {
	margin: 0;
	font-size: 22px;
	font-weight: 500;
	line-height: 1.5;
	color: #3A3938;
	max-width: 34ch;
}

.ac-hts .ac-hts-voice {
	flex: 0 1 230px;
	align-self: center;
	padding: 16px 20px;
	background: #fff;
	border-radius: 12px;
}

.ac-hts p.ac-hts-voice__label {
	margin: 0 0 6px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	line-height: 1.4;
	text-transform: uppercase;
	color: #776F65;
}

.ep-article-page .ac-hts a.ac-hts-voice__link {
	font-size: 16px;
	font-weight: 700;
	line-height: 1.4;
	color: #00799E;
	text-decoration: none;
}

.ep-article-page .ac-hts a.ac-hts-voice__link:hover,
.ep-article-page .ac-hts a.ac-hts-voice__link:focus-visible {
	color: #005E7A;
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* Scenes */

.ac-hts ol.ac-hts-scenes {
	list-style: none;
	margin: 0;
	padding: 0;
	counter-reset: scene;
}

.ac-hts li.ac-hts-scene {
	position: relative;
	margin: 0 0 36px;
	padding: 0 0 0 60px;
	list-style: none;
	counter-increment: scene;
}

.ac-hts li.ac-hts-scene::before {
	content: counter(scene);
	position: absolute;
	left: 0;
	top: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: #00799E;
	color: #fff;
	font-size: 18px;
	font-weight: 700;
	line-height: 1;
}

.ep-article-page .ac-hts h2.ac-hts-scene__title {
	margin: 0 0 8px;
	padding-top: 5px;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.3;
	color: #3A3938;
	max-width: none;
}

.ep-article-page .ac-hts p.ac-hts-scene__situation {
	margin: 0 0 16px;
	font-size: 16px;
	line-height: 1.6;
	color: #5F5850;
}

.ac-hts figure.ac-hts-say {
	margin: 0;
	padding: 20px 24px 22px;
	background: #F9F8F3;
	border-left: 4px solid #00799E;
	border-radius: 4px 14px 14px 4px;
}

.ac-hts figcaption.ac-hts-say__label {
	display: inline-block;
	margin: 0 0 12px;
	font-style: normal;
	padding: 4px 12px;
	border-radius: 999px;
	background: #D1EDF7;
	color: #005E7A;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
	line-height: 1.4;
	text-transform: uppercase;
}

.ac-hts blockquote.ac-hts-say__quote {
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
}

.ep-article-page .ac-hts blockquote.ac-hts-say__quote p {
	margin: 0;
	font-size: 19px;
	font-weight: 500;
	font-style: normal;
	line-height: 1.65;
	color: #3A3938;
}

html[lang^="zh"] .ep-article-page .ac-hts blockquote.ac-hts-say__quote p,
html[lang^="zh"] .ep-article-page .ac-hts p.ac-hts-lede,
html[lang^="zh"] .ep-article-page .ac-hts p.ac-hts-scene__situation {
	line-height: 1.8;
}

.ac-hts p.ac-hts-back {
	margin: 8px 0 0;
}

.ep-article-page .ac-hts p.ac-hts-back a {
	font-size: 16px;
	font-weight: 700;
	color: #00799E;
	text-decoration: none;
}

.ep-article-page .ac-hts p.ac-hts-back a:hover,
.ep-article-page .ac-hts p.ac-hts-back a:focus-visible {
	color: #005E7A;
	text-decoration: underline;
	text-underline-offset: 3px;
}

@media (max-width: 768px) {
	body.ac-guide .ep-article-page .ep-hero h1 {
		font-size: 40px;
	}
}

@media (max-width: 576px) {
	body.ac-guide .ep-article-page .ep-hero h1 {
		font-size: 32px;
		margin-bottom: 22px;
	}

	.ac-hts .ac-hts-intro {
		padding: 22px 20px;
		margin-bottom: 32px;
	}

	.ac-hts p.ac-hts-lede {
		font-size: 19px;
	}

	.ac-hts .ac-hts-voice {
		flex: 1 1 100%;
	}

	.ac-hts li.ac-hts-scene {
		padding-left: 0;
	}

	.ac-hts li.ac-hts-scene::before {
		position: static;
		margin: 0 0 10px;
		width: 36px;
		height: 36px;
		font-size: 16px;
	}

	.ep-article-page .ac-hts h2.ac-hts-scene__title {
		font-size: 20px;
		padding-top: 0;
	}

	.ac-hts figure.ac-hts-say {
		padding: 18px 18px 20px;
	}

	.ep-article-page .ac-hts blockquote.ac-hts-say__quote p {
		font-size: 17px;
	}
}