/*
Theme Name: Hemma Child Theme
Theme URI: http://underscores.me/
Author: Pasquale Vitiello
Author URI: http://pasqualevitiello.com
Description: A Theme for Holiday Houses
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hemma
Tags: blue, gray, red, white, yellow, dark, light, one-column, two-columns, right-sidebar, fixed-layout, responsive-layout, accessibility-ready, custom-colors, editor-style, featured-images, flexible-header, microformats, post-formats, threaded-comments, translation-ready, holiday
Template: hemma

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

Hemma is based on Underscores http://underscores.me/, (C) 2012-2015 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
*/

/* ==========================================================================
   River Kwai House customisations
   ========================================================================== */

/* Location map */
.rkh-map {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 10;
	margin: 1.5rem 0 0.75rem;
	overflow: hidden;
	background: #eceae6;
}
.rkh-map iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: 0;
}
.rkh-map-note {
	font-size: 0.875em;
	opacity: 0.75;
}
.rkh-map-actions .button {
	margin: 0 0.5rem 0.75rem 0;
}
@media screen and (max-width: 768px) {
	.rkh-map {
		aspect-ratio: 4 / 5;
	}
	.rkh-map-actions .button {
		display: block;
		margin-right: 0;
		text-align: center;
	}
}

/* Thai and Simplified Chinese typography */
html:lang(th) body,
html:lang(th) input,
html:lang(th) textarea,
html:lang(th) button {
	font-family: "Noto Sans Thai", "Lato", sans-serif;
}
html:lang(th) h1,
html:lang(th) h2,
html:lang(th) h3,
html:lang(th) h4 {
	font-family: "Noto Serif Thai", "Playfair Display", serif;
	line-height: 1.4;
}
html:lang(zh-CN) body,
html:lang(zh-CN) input,
html:lang(zh-CN) textarea {
	font-family: "Lato", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}
html:lang(zh-CN) h1,
html:lang(zh-CN) h2,
html:lang(zh-CN) h3,
html:lang(zh-CN) h4 {
	font-family: "Playfair Display", "Songti SC", "SimSun", "Noto Serif SC", serif;
	line-height: 1.4;
}
/* Italic subtitles do not suit Thai or Chinese script */
html:lang(th) em, html:lang(th) i, html:lang(th) [class*="subtitle"],
html:lang(zh-CN) em, html:lang(zh-CN) i, html:lang(zh-CN) [class*="subtitle"] {
	font-style: normal;
}

/* Language switcher: larger tap targets on small screens */
@media screen and (max-width: 1023px) {
	.site-header .select-language a {
		display: inline-block;
		padding: 0.4rem 0.35rem;
	}
}
