/*
	Theme Name: Guild Rooms
	Theme URI: http://
	Description: Custom WP Theme for The Guild Rooms
	Version: 1.0
	Author: Creative Direction	
	Author URI: https://creativedirection.info
*/

/*------------------------------------*\
    MAIN
\*------------------------------------*/

/* global box-sizing */
*,
*:after,
*:before {
	-moz-box-sizing:border-box;
	box-sizing:border-box;
	-webkit-font-smoothing:antialiased;
	font-smoothing:antialiased;
	text-rendering:optimizeLegibility;
}
/* html element 62.5% font-size for REM use */
html {
	font-size:62.5%;
}
body {
	font-family: collier, sans-serif;
	font-weight: 400;
	font-style: normal;
	font-size: 18px;
	line-height: 1.6;
	letter-spacing: 0.02em;
	background-color: #F2F0EB;
	color:#70313B;
}
/* clear */
.clear:before,
.clear:after {
    content:' ';
    display:table;
}

.clear:after {
    clear:both;
}
.clear {
    *zoom:1;
}
img {
	max-width:100%;
	vertical-align:bottom;
}
a {
	color:#444;
	text-decoration:none;
}
a:hover {
	color:#444;
}
a:focus {
	outline:0;
}
a:hover,
a:active {
	outline:0;
}
input:focus {
	outline:0;
	border:1px solid #70303C;
}
.mobile-only {
	display: none;
}
h1, h2 {
	font-family: 'Carentro-Regular', serif;
	margin: 0;
	position: relative;
}

h1 {
	font-weight: normal;
	font-size: 77px;
	font-size: 4vw;
	letter-spacing: 0.05em;
	line-height: 0.961;
}
h2 {
	font-weight: normal;
	font-size: 44px;
	font-size: 2.5vw;
	letter-spacing: 0.05em;
	line-height: 1.2;
}
h3 {
	font-family: collier,serif;
	font-weight: 400;
	font-size: 1.178em;
	margin-top: 0.5em;
}

h6 {
	margin: 0;
	text-transform: uppercase;
	letter-spacing: 0.015em;
	font-size: 16px;
}

/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/

/* wrapper */
.wrapper {
	margin:0 auto;
	position:relative;
}
.inner, .narrow, .narrowest {
	position: relative;
	margin: 0 auto;
}
.inner {
	width: 80%;
}
.narrow {
	width: 60%;
}
.narrowest {
	width: 40%;
}
/* header */
.header {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 2;
}
.header .inner {
	display: grid;
	grid-template-columns: 30% 40% 30%;
	padding: 2em 0;
	letter-spacing: 0.15em;
}
.header .inner > div {
	display: flex;
	align-items: flex-start;
	justify-content: center;
}
.header .inner > div:nth-of-type(1) {
	justify-content: flex-start;
/*	margin-top: 5px;*/
}
.header .inner > div:nth-of-type(3) {
	justify-content: flex-end;
	margin-top: -8px;
}
.header-tagline {
	text-transform: uppercase;
	font-weight: 600;
/*	font-size: 0.789em;*/
}
/* logo */
.logo {
	width: 70%;
	margin: 0 auto;
	position: relative;
}
.logo-img {

}
/* nav */
.internal-navigation {
	position:sticky;
	top:0;
	z-index: 999;
	padding: 0;
}
.internal-navigation a {
	color:#fff;
}
.internal-navigation .wp-block-columns {
	margin-bottom: 0;
}
/* footer */
.footer {
	background-color: #E7B0BA;
	color: #6E323B;
	letter-spacing: 0.1em;
}
.footer .inner {
	padding: 5em 0;
	background-image: url(img/footer-watermark.svg);
	background-repeat: no-repeat;
	background-position: right center;
}
.footer-content {
	display: grid;
	grid-template-columns: repeat(2,1fr);
	width: 50%;
	grid-gap: 2em;
}
.footer a {
	color: #6E323B;
}

.footer h6 {
	opacity: 0.6;
}

.opening-hours {
	width:100%;
}

.button, .wp-block-button__link {
	background: #e19b9d;
	box-shadow: 5px 5px 0px rgba(104, 53, 60, 0.6);
	padding: 1em;
	text-transform: uppercase;
	font-weight: 600;
	font-size: 0.789em;
	display: table;
	transition: 0.6s all;
	border-radius: 0;
	color:#70313B;
	letter-spacing: 0.15em;
}

.button a, .wp-block-button__link a {
	color: #70313B;
}

.button:hover, .wp-block-button__link:hover {
	box-shadow: none;
	color:#70313B;
}

.wp-block-button__link:visited {
	color:#70313B;
}

.design-credit {
	position: absolute;
	right: 0;
	bottom: 2em;
}

/*------------------------------------*\
    GUTENBERG
\*------------------------------------*/
.wp-block-image {
	margin: 0;
}


/*------------------------------------*\
    BITS N BOBS
\*------------------------------------*/
.block-title {
	font-size: 12vw;
	color: #F0DFCD;
	font-family: Gustera, cursive;
	font-weight: normal;
	margin: 0;
	line-height: 1.2;
	letter-spacing: 0;
	margin-bottom: -40px;
}
.booking-button.wp-block-button {
    transform: translateY(-0.6em);
    margin-right: 2em;
}


/*------------------------------------*\
    HERO BLOCK
\*------------------------------------*/
.hero-block {
	background-image: url(img/hero-bg.webp);
	background-repeat: no-repeat;
	background-position: center center;
}
.hero-text {
	position: absolute;
	top: 150px;
	right: 15%;
	color: #DF9B9C;
	font-size: 15vw;
	z-index: 2;
}
.hero-image {
	filter: drop-shadow(40px 40px 80px rgba(104, 52, 59, 0.49));
}

.hero-content {
	/*z-index: 2;*/
}


/*------------------------------------*\
	TYPOGRAPHY
\*------------------------------------*/

@font-face {
	font-family:'Carentro-Regular';
	src:url('fonts/Carentro-Regular.eot');
	src:url('fonts/Carentro-Regular.eot?#iefix') format('embedded-opentype'),
		url('fonts/Carentro-Regular.woff') format('woff'),
		url('fonts/Carentro-Regular.ttf') format('truetype'),
		url('fonts/Carentro-Regular.svg#font-name') format('svg');
    font-weight:normal;
    font-style:normal;
}

@font-face {
	font-family:'Gustera';
	src:url('fonts/Gustera.eot');
	src:url('fonts/Gustera.eot?#iefix') format('embedded-opentype'),
		url('fonts/Gustera.woff') format('woff'),
		url('fonts/Gustera.ttf') format('truetype'),
		url('fonts/Gustera.svg#font-name') format('svg');
    font-weight:normal;
    font-style:normal;
}



/*------------------------------------*\
    ACCORDION
\*------------------------------------*/

.accordion {
	background-color: transparent;
	cursor: pointer;
	padding: 1em;
	width: 100%;
	border:0;
	border-bottom: 1px solid #DFB2BA;
	text-align: left;
	outline: none;
	font-size: 15px;
	-webkit-transition: 0.4s;
	-o-transition: 0.4s;
	transition: 0.4s;
	position:relative;
	padding-left:0;
	padding-right:50px;
	font-size:1.4em;
	font-weight:400;
	margin:0;
}

.accordion:first-of-type {
	border-top: 1px solid #DFB2BA;
}

.accordion.active, .accordion:hover {
	/*color:#005E86;*/
}

.accordion:after {
	content: '';
	background-image: url(img/accordion-open.svg);
	background-repeat: no-repeat;
	background-position: center center;
	position:absolute;
	right:15px;
	top:50%;
	-webkit-transform: translateY(-50%);
	        -ms-transform: translateY(-50%);
	    transform: translateY(-50%);
	margin-left: 5px;
	font-weight:400;
	height: 15px;
	width: 15px;
	display: block;
	transition: 0.3s all;
}

.accordion.active:after {
	background-image: url(img/accordion-close.svg);
}
.panel {
	padding: 0 18px;
	background-color: #F9FBFC;
	/*background-color: #EFDECD;*/
	display: none;
	overflow: hidden;
	/*font-size:16px;*/
	-webkit-transition: max-height 0.2s ease-out;
	transition: max-height 0.2s ease-out;
}


/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/

@media only screen and (max-width:1280px) {
	.footer-content {
		width:80%;
	}
}
@media only screen and (max-width:1024px) {
	.narrowest {
		width: 60%;
	}
	.footer-content {
		grid-template-columns: 1fr;
	}
}

@media only screen and (max-width:768px) {
	
	
	.internal-navigation, .hide-mobile {
		display: none;
	}
	.mobile-only {
		display: block;
	}
	h1 {
		font-size: 40px;
	}
	h2 {
		font-size: 30px;
	}
	.logo {
		width: 60%;
	}
	.reverse-mobile {
		flex-direction: column-reverse;
	}
	.inner, .narrow, .narrowest {
		width: 90%;
	}
	.header-tagline {
		display: none !important;
	}
	.header .inner {
		display: flex;
		flex-direction: column;
	}
	.header .inner > div.header-booking {
		position: fixed;
		bottom: 0;
		left: 0;
		margin: 0;
		z-index: 4;
		width: 100%;
		text-align: center;
		display: table;
	}
	.header .inner > div.header-booking .button {
		width: 100%;
		display: block;
		position: relative;
		z-index: 4;
	}
	.block-title {
		font-size: 25vw;
		line-height: 1;
	}
	.hero-text {
		position: relative;
		top: auto;
		right: auto;
		margin-bottom: 30px;
		max-width: 90%;
		text-align: center;
		font-size: 30vw
	}

	.hero-content {
		z-index: 0;
	}

	.footer-content {
		width: 100%;
	}
	.footer .inner {
		background-position: right bottom 90px;
		background-size: 3em;
		padding-bottom: 8em;
	}
	.design-credit {
		bottom: 3em;
	}
}
@media only screen and (-webkit-min-device-pixel-ratio:1.5),
	   only screen and (min-resolution:144dpi) {

}

/*------------------------------------*\
    MISC
\*------------------------------------*/

::selection {
	background:#6E333C;
	color:#FFF;
	text-shadow:none;
}
::-webkit-selection {
	background:#6E333C;
	color:#FFF;
	text-shadow:none;
}
::-moz-selection {
	background:#6E333C;
	color:#FFF;
	text-shadow:none;
}

/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/

.alignnone {
	margin:5px 20px 20px 0;
}
.aligncenter,
div.aligncenter {
	display:block;
	margin:5px auto 5px auto;
}
.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
a img.alignnone {
	margin:5px 20px 20px 0;
}
a img.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.aligncenter {
	display:block;
	margin-left:auto;
	margin-right:auto;
}
.wp-caption {
	background:#FFF;
	border:1px solid #F0F0F0;
	max-width:96%;
	padding:5px 3px 10px;
	text-align:center;
}
.wp-caption.alignnone {
	margin:5px 20px 20px 0;
}
.wp-caption.alignleft {
	margin:5px 20px 20px 0;
}
.wp-caption.alignright {
	margin:5px 0 20px 20px;
}
.wp-caption img {
	border:0 none;
	height:auto;
	margin:0;
	max-width:98.5%;
	padding:0;
	width:auto;
}
.wp-caption .wp-caption-text,
.gallery-caption {
	font-size:11px;
	line-height:17px;
	margin:0;
	padding:0 4px 5px;
}
.sticky {

}
.bypostauthor {

}

/*------------------------------------*\
    PRINT
\*------------------------------------*/

@media print {
	* {
		background:transparent !important;
		color:#000 !important;
		box-shadow:none !important;
		text-shadow:none !important;
	}
	a,
	a:visited {
		text-decoration:underline;
	}
	a[href]:after {
		content:" (" attr(href) ")";
	}
	abbr[title]:after {
		content:" (" attr(title) ")";
	}
	.ir a:after,
	a[href^="javascript:"]:after,
	a[href^="#"]:after {
		content:"";
	}
	pre,blockquote {
		border:1px solid #999;
		page-break-inside:avoid;
	}
	thead {
		display:table-header-group;
	}
	tr,img {
		page-break-inside:avoid;
	}
	img {
		max-width:100% !important;
	}
	@page {
		margin:0.5cm;
	}
	p,
	h2,
	h3 {
		orphans:3;
		widows:3;
	}
	h2,
	h3 {
		page-break-after:avoid;
	}
}

.hide-me {
	display: none !important;
}
