/* RHAMIN 嵐茗 — components added on top of the Selene template (layout.css).
   Brand gold #af8a15, text #555 / #606060, headings #111. */

/* Page header: same behaviour as .parallax-about etc., image set inline per page */
.parallax-page {
	background-repeat: repeat;
	background-attachment: fixed;
	background-position: center center;
	background-size: cover;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: -1;
	width: 100%;
}
.parallax-page:after {
	content: "";
	position: absolute;
	top: 0; left: 0; right: 0; bottom: 0;
	background: rgba(0, 0, 0, .35);
}
@media only screen and (max-width: 1024px) {
	.parallax-page { background-attachment: scroll; }
}

/* H1 in the page header, styled like the template's h2 */
.section-head-text h1.page-title {
	position: relative;
	padding-bottom: 20px;
	font-size: 34px;
	line-height: 44px;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: #fff;
}
.section-head-text.left h1.page-title,
.section-head-text.left p { text-align: left; }
.section-head-text.left h1.page-title:after {
	position: absolute;
	content: '';
	background-color: rgba(220, 220, 220, .3);
	height: 1px;
	width: 40px;
	left: 0;
	bottom: 0;
}
@media only screen and (max-width: 767px) {
	.section-head-text h1.page-title { font-size: 26px; line-height: 36px; }
}

/* Breadcrumb */
.rh-breadcrumb-bar {
	background: #fff;
	border-bottom: 1px solid rgba(0, 0, 0, .06);
}
.rh-breadcrumb {
	margin: 0;
	padding: 14px 0;
	list-style: none;
	font-size: 13px;
	line-height: 20px;
	letter-spacing: 1px;
	color: #999;
}
.rh-breadcrumb li {
	display: inline;
	line-height: 20px;
}
.rh-breadcrumb li + li:before {
	content: "/";
	margin: 0 10px;
	color: #ccc;
}
.rh-breadcrumb a, .rh-breadcrumb a:visited { color: #777; }
.rh-breadcrumb a:hover { color: #af8a15; }

/* Generic headings / copy inside our sections */
.rh-section-title {
	margin-bottom: 14px;
	font-size: 24px;
	line-height: 34px;
	letter-spacing: 2px;
	color: #111;
	text-align: center;
}
.rh-section-lead {
	max-width: 720px;
	margin: 0 auto 50px;
	font-size: 15px;
	line-height: 1.9;
	color: #666;
	text-align: center;
}
.rh-h1 {
	margin-bottom: 18px;
	font-size: 28px;
	line-height: 40px;
	letter-spacing: 3px;
	color: #111;
	text-align: center;
}
@media only screen and (max-width: 767px) {
	.rh-h1 { font-size: 22px; line-height: 32px; }
	.rh-section-title { font-size: 20px; line-height: 30px; }
}

/* Buttons */
.rh-btn, .rh-btn:visited {
	display: inline-block;
	padding: 14px 34px;
	border: 1px solid #af8a15;
	background: #af8a15;
	color: #fff;
	font-size: 14px;
	line-height: 20px;
	letter-spacing: 3px;
	-webkit-transition: background-color 250ms ease, color 250ms ease;
	transition: background-color 250ms ease, color 250ms ease;
}
.rh-btn:hover, .rh-btn:focus { background: #8c6e10; border-color: #8c6e10; color: #fff; }
.rh-btn.ghost, .rh-btn.ghost:visited { background: transparent; color: #af8a15; }
.rh-btn.ghost:hover { background: #af8a15; color: #fff; }
.rh-btn.light, .rh-btn.light:visited { background: transparent; border-color: #fff; color: #fff; }
.rh-btn.light:hover { background: #fff; color: #111; }
.rh-center { text-align: center; }
.rh-actions { margin-top: 30px; text-align: center; }
.rh-actions .rh-btn { margin: 6px 8px; }

/* Cards: services, teas, articles */
.rh-cards {
	display: -webkit-flex;
	display: flex;
	-webkit-flex-wrap: wrap;
	flex-wrap: wrap;
	margin: 0 -12px;
}
.rh-cards { -webkit-justify-content: center; justify-content: center; }
.rh-card {
	-webkit-flex: 1 1 280px;
	flex: 1 1 280px;
	max-width: calc(33.333% - 24px);
	margin: 0 12px 24px;
	background: #fff;
	border: 1px solid rgba(0, 0, 0, .07);
	-webkit-transition: box-shadow 250ms ease, -webkit-transform 250ms ease;
	transition: box-shadow 250ms ease, transform 250ms ease;
}
.grey-background .rh-card { border-color: transparent; }
.rh-card:hover {
	box-shadow: 0 10px 28px rgba(0, 0, 0, .08);
	-webkit-transform: translateY(-3px);
	transform: translateY(-3px);
}
.rh-card a.rh-card-link, .rh-card a.rh-card-link:visited { display: block; color: inherit; }
.rh-card-img {
	display: block;
	width: 100%;
	height: 200px;
	object-fit: cover;
}
.rh-card-body { padding: 24px 26px 28px; }
.rh-card-kicker {
	margin-bottom: 8px;
	font-size: 12px;
	line-height: 18px;
	letter-spacing: 2px;
	color: #af8a15;
}
.rh-card h3 {
	margin-bottom: 12px;
	font-size: 18px;
	line-height: 28px;
	letter-spacing: 1px;
	color: #111;
	text-align: left;
}
.rh-card p {
	margin-bottom: 14px;
	font-size: 14px;
	line-height: 1.8;
	color: #666;
	text-align: left;
}
.rh-card .rh-more {
	font-size: 13px;
	letter-spacing: 2px;
	color: #af8a15;
}
.rh-card .rh-more:after { content: " →"; }
.rh-card-icon {
	display: block;
	margin-bottom: 14px;
	font-family: "Ionicons";
	font-size: 34px;
	line-height: 34px;
	color: #af8a15;
}

/* Spec / comparison tables */
.spec-table {
	width: 100%;
	margin: 0 0 24px;
	border-collapse: collapse;
	font-size: 14px;
	line-height: 1.7;
}
.spec-table th, .spec-table td {
	padding: 10px 12px;
	border-bottom: 1px solid rgba(0, 0, 0, .08);
	text-align: left;
	vertical-align: top;
}
.spec-table thead th {
	border-bottom: 2px solid #af8a15;
	color: #111;
	font-weight: 600;
	letter-spacing: 1px;
	white-space: nowrap;
}
.spec-table tbody th {
	width: 34%;
	color: #111;
	font-weight: 600;
	white-space: nowrap;
}
.rh-table-wrap { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.rh-table-wrap .spec-table { min-width: 560px; }

/* Tea page */
.rh-tea-photo { max-width: 960px; margin: 0 auto; }
.rh-tea-photo img { display: block; width: 100%; height: auto; }
.rh-block h2 {
	margin-bottom: 18px;
	padding-left: 12px;
	border-left: 3px solid #af8a15;
	font-size: 18px;
	line-height: 26px;
	letter-spacing: 2px;
	color: #111;
	text-align: left;
}
.rh-block p, .rh-block li { font-size: 15px; line-height: 1.9; color: #555; text-align: left; }
.rh-block p { margin-bottom: 14px; }
.rh-block ul { margin: 0 0 20px 20px; list-style: disc outside; }
.rh-block + .rh-block { margin-top: 36px; }
.rh-block p a, .rh-block p a:visited,
.rh-section-lead a, .rh-section-lead a:visited,
.rh-service p a, .rh-service li a, .rh-service a:visited,
.spec-table a, .spec-table a:visited { color: #8c6e10; border-bottom: 1px solid rgba(175, 138, 21, .35); }
.rh-block p a:hover, .rh-section-lead a:hover, .rh-service a:hover, .spec-table a:hover { color: #af8a15; }
.rh-service .rh-btn, .rh-service .rh-btn:visited { color: #fff; border-bottom: 1px solid #af8a15; }
@media only screen and (max-width: 767px) {
	.rh-col-gap { margin-bottom: 40px; }
}

/* Article */
.rh-article {
	max-width: 780px;
	margin: 0 auto;
	color: #444;
}
.rh-article-meta {
	margin-bottom: 30px;
	font-size: 13px;
	letter-spacing: 1px;
	color: #999;
}
.rh-article-meta a { color: #af8a15; }
.rh-article p, .rh-article li {
	font-size: 16px;
	line-height: 2;
	letter-spacing: .3px;
	color: #444;
	text-align: left;
}
.rh-article p { margin-bottom: 20px; }
.rh-article h2 {
	margin: 52px 0 20px;
	padding-left: 14px;
	border-left: 3px solid #af8a15;
	font-size: 23px;
	line-height: 34px;
	letter-spacing: 2px;
	color: #111;
	text-align: left;
}
.rh-article h3 {
	margin: 32px 0 14px;
	font-size: 19px;
	line-height: 30px;
	letter-spacing: 1px;
	color: #222;
	text-align: left;
}
.rh-article ul, .rh-article ol { margin: 0 0 22px 24px; }
.rh-article ul { list-style: disc outside; }
.rh-article ol { list-style: decimal outside; }
.rh-article li { margin-bottom: 8px; }
.rh-article strong { color: #111; }
.rh-article a, .rh-article a:visited { color: #8c6e10; border-bottom: 1px solid rgba(175, 138, 21, .35); }
.rh-article a:hover { color: #af8a15; border-bottom-color: #af8a15; }
.rh-article .callout {
	margin: 0 0 24px;
	padding: 18px 22px;
	background: #f7f4ec;
	border-left: 3px solid #af8a15;
}
.rh-article .callout p:last-child { margin-bottom: 0; }
.rh-toc {
	margin: 0 0 40px;
	padding: 20px 24px;
	background: #f6f6f6;
}
.rh-toc p { margin-bottom: 8px !important; font-weight: 600; color: #111 !important; letter-spacing: 2px; }
.rh-toc ol { margin: 0 0 0 20px !important; }
.rh-toc li { margin-bottom: 4px !important; font-size: 15px !important; line-height: 1.8 !important; }
.rh-toc a, .rh-toc a:visited { border-bottom: 0 !important; color: #555 !important; }
.rh-toc a:hover { color: #af8a15 !important; }
.rh-faq h3 { margin-top: 26px; }
@media only screen and (max-width: 767px) {
	.rh-article p, .rh-article li { font-size: 15px; }
	.rh-article h2 { font-size: 20px; line-height: 30px; }
}

/* CTA band */
.rh-cta {
	padding: 80px 0;
	background: #111;
	text-align: center;
}
.rh-cta h2 {
	margin-bottom: 14px;
	font-size: 24px;
	line-height: 36px;
	letter-spacing: 3px;
	color: #fff;
	text-align: center;
}
.rh-cta p {
	max-width: 640px;
	margin: 0 auto 30px;
	font-size: 15px;
	line-height: 1.9;
	color: #bbb;
	text-align: center;
}

/* Steps (services process) */
.rh-steps {
	display: -webkit-flex;
	display: flex;
	-webkit-flex-wrap: wrap;
	flex-wrap: wrap;
	margin: 0 -12px;
	counter-reset: rhstep;
}
.rh-step {
	-webkit-flex: 1 1 200px;
	flex: 1 1 200px;
	margin: 0 12px 24px;
	padding-top: 18px;
	border-top: 2px solid #af8a15;
}
.rh-step:before {
	counter-increment: rhstep;
	content: "0" counter(rhstep);
	display: block;
	margin-bottom: 8px;
	font-size: 26px;
	line-height: 30px;
	letter-spacing: 2px;
	color: #af8a15;
}
.rh-step h3 { margin-bottom: 8px; font-size: 17px; line-height: 26px; color: #111; text-align: left; }
.rh-step p { font-size: 14px; line-height: 1.8; color: #666; text-align: left; }

/* Service sections */
.rh-service { max-width: 900px; margin: 0 auto; }
.rh-service h2 {
	margin-bottom: 16px;
	font-size: 24px;
	line-height: 34px;
	letter-spacing: 2px;
	color: #111;
	text-align: left;
}
.rh-service .rh-kicker { margin-bottom: 6px; font-size: 12px; letter-spacing: 3px; color: #af8a15; }
.rh-service p, .rh-service li { font-size: 15px; line-height: 1.9; color: #555; text-align: left; }
.rh-service p { margin-bottom: 16px; }
.rh-service ul { margin: 0 0 20px 20px; list-style: disc outside; }
.rh-service .rh-btn { margin-top: 8px; }

/* Footer extras */
.rh-footer-links {
	margin: 26px 0 0;
	padding: 0;
	list-style: none;
	text-align: center;
}
.rh-footer-links li {
	display: inline-block;
	margin: 0 12px 8px;
	font-size: 13px;
	line-height: 20px;
	letter-spacing: 2px;
}
.rh-footer-links a, .rh-footer-links a:visited { color: #606060; }
.rh-footer-links a:hover { color: #af8a15; }
.rh-footer-mail { margin-top: 8px; font-size: 13px; letter-spacing: 1px; text-align: center; }
.rh-footer-mail a, .rh-footer-mail a:visited { color: #af8a15; }

/* Contact form extras */
#ajax-form select {
	width: 100%;
	height: 50px;
	padding: 0 12px;
	border: 0;
	border-bottom: 1px solid #ddd;
	background: transparent;
	font-size: 13px;
	letter-spacing: 1px;
	color: #555;
	-webkit-appearance: none;
	appearance: none;
	border-radius: 0;
}
#ajax-form .rh-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
#ajax-form .rh-form-note { margin-top: 10px; font-size: 13px; line-height: 1.8; color: #888; text-align: center; }
#ajax-form .rh-form-note a { color: #af8a15; }

/* Home: H1 intro */
.rh-home-intro { padding-top: 90px; padding-bottom: 40px; }

/* Small screens: images inside cards */
@media only screen and (max-width: 959px) {
	.rh-card { max-width: calc(50% - 24px); }
}
@media only screen and (max-width: 767px) {
	.rh-card { max-width: none; -webkit-flex-basis: 100%; flex-basis: 100%; }
	.rh-card-img { height: 180px; }
	.rh-cta { padding: 60px 16px; }
}

/* Screen-reader only */
.rh-sr {
	position: absolute !important;
	width: 1px; height: 1px;
	margin: -1px; padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}
