/*!
Theme Name: Bang Honest Golf
Author: Athena Web Designs Ltd
Author URI: https://www.athenawebdesigns.co.uk/
Description: A custom theme built for Bang Honest Golf
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
Text Domain: bang

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

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
 html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
	background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
	font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
	display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	color: #404040;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-size: 1rem;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}

p {
	margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", courier, monospace;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
	color: #222;
}

code,
kbd,
tt,
var {
	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
	background: #fff;
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin-top: 0;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

img {
	height: auto;
	max-width: 100%;
}

figure {
	margin: 1em 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

a {
	color: #13b001;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

p {
	margin: 0.7em 0;
}


h1, h2, h3, h4, h5, h6 {
	margin-top: 0;
	line-height: 1.2;
	font-family: novecento-sans-wide, sans-serif;
	font-weight: 300;
	letter-spacing: 0.11em;
	text-transform: uppercase;
}

.title-inherit-colour h1,
.title-inherit-colour h2,
.title-inherit-colour h3,
.title-inherit-colour h4,
.title-inherit-colour h5,
.title-inherit-colour h6 {
	color: inherit;
}

h1 {
	margin-bottom: 0.8em;
	font-size: 3em;
	font-weight: normal;
}

h2 {
	margin-bottom: 0.5em;
	font-size: 2.35em;
}

h3 {
	margin-bottom: 0.4em;
	font-size: 1.2em;
}

h4 {
	margin-bottom: 0.3em;
	font-size: 1.1em;
}

h5 {
	margin-bottom: 0.2em;
	font-size: 1em;
}

h6 {
	margin-bottom: 0.1em;
	font-size: 1em;
}

.img-blk img {
	display: block;
	width: 100%;
}

.text-content > :first-child,
.trim-first > :first-child,
.trim-content > :first-child {
	margin-top: 0;
}

.text-content > :last-child,
.trim-last > :last-child,
.trim-content > :last-child {
	margin-bottom: 0;
}

/* Forms
--------------------------------------------- */
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	display: inline-block;
	padding: 1.1em 1.8em;
	border: none;
	border-radius: 2px;
	background: #13b001;
	text-align: center;
	line-height: 1;
	color: #fff;
	font-family: novecento-sans-wide, sans-serif;
	font-weight: bold;
	text-transform: uppercase;
	letter-spacing: 0.11em;
	cursor: pointer;
	font-size: 1em;
	-webkit-transition: all 200ms;
	transition: all 200ms;
}

.button:hover,
button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	background: #11008c;
	text-decoration: none;
}

.button:focus,
button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
input[type="file"],
textarea,
select {
	max-width: 100%;
	border: 1px solid #ddd;
	border-radius: 3px;
	padding: 0.8em 1.2em;
	font-family: inherit;
	color: inherit;
}

input[type="file"] {
	padding: 0.6em;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
}

textarea {
	width: 100%;
	height: 6.3em;
}

input,
textarea,
select {
	max-width: 100%;
}

fieldset {
	margin: 0 auto;
	padding: 1em 0 0;
	border: none;
}

fieldset + fieldset {
	margin-top: 4em;
}

fieldset legend {
	padding-right: 1em;
	font-size: 1.2em;
}

.form-fields,
.wpcf7 form {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-start;
	gap: var(--wrapper-gap);
}

.form-field {
	flex: 1 1 auto;
	min-width: min(100%, 12em);
	margin: 0;
}

.form-field-full {
	width: 100%;
}

.form-field-half {
	width: calc(50% - (var(--wrapper-gap) / 2));
}

.form-field-third {
	width: calc(32% - (var(--wrapper-gap) / 2));
	min-width: 7em;
}

.form-field-submit {
	display: flex;
	align-items: stretch;
	flex: 1;
	align-self: stretch;
	position: relative;
	margin-top: calc(var(--wrapper-gap) / 2);
	text-align: right;
	width: auto;
	/* order: 1; */
}

.form-field-highlighted {
	padding: 0.8em 1em;
	border: 1px solid #dddddd;
	border-left: 3px solid #999;
	border-radius: 3px;
	background-color: #f6f5fa;
}

.wpcf7 .form-field-submit .wpcf7-spinner {
	position: absolute;
	top: 0;
	left: 0;
	margin-left: 0;
}

.add-review-form .review-criteria-item .required,
.form-field .required {
	color: #13b001;
}

.form-field .optional {
	opacity: 0.5;
	font-size: 0.9em;
}

.wpcf7 .wpcf7-form-control-wrap {
	display: block;
}

.form-field-submit button,
.form-field-submit input {
	flex: 1;
}

form .description {
	opacity: 0.8;
	margin: 0 0 0.4em;
	line-height: 1.3;
	font-size: 0.9em;
}

.form-field label {
	display: block;
	margin-bottom: 0.2em;
	font-size: 0.9em;
}

.wpcf7-list-item {
	margin: 0 0.8em 0 0;
}

.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="url"],
.form-field input[type="password"],
.form-field input[type="search"],
.form-field input[type="number"],
.form-field input[type="tel"],
.form-field input[type="range"],
.form-field input[type="date"],
.form-field input[type="month"],
.form-field input[type="week"],
.form-field input[type="time"],
.form-field input[type="datetime"],
.form-field input[type="datetime-local"],
.form-field input[type="color"],
.form-field input[type="file"],
.form-field textarea,
.form-field select {
	width: 100%;
}

.form-field .option-field-list {
	display: flex;
	gap: 1px;
	flex-wrap: wrap;
	padding: 1px;
	border-radius: 3px;
	background-color: rgba(0,0,0,0.1);
}

.form-field .option-field-list label,
.form-field .wpcf7-checkbox label,
.form-field .wpcf7-radio label {
	flex: 1 1 min-content;
	display: inline-flex;
	flex-direction: column;
	font-family: inherit;
	color: inherit;
	font-size: 0.9em;
	cursor: pointer;
}

.form-field .option-field-list.checkboxes label {
	flex: 1 1 40%;
}

.form-field .option-field-list label {
	text-align: center;
}

.form-field .option-field-list label input {
	display: none;
}

.form-field .option-field-list label span {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 0.5em;
	background-color: #f6f5fa;
}

.form-field .option-field-list label input:checked + span {
	background-color: #fff;
	font-weight: bold;
	color: #13b001;
}

.wpcf7 [type="checkbox"],
.wpcf7 [type="radio"],
.wpcf7 .wpcf7-list-item-label {
	vertical-align: middle;
}

.form-field.field-true-false input[type="checkbox"] {
	width: 3em;
	height: 3em;
	margin-right: 0.5em;
	vertical-align: middle;
}

.wpcf7-not-valid-tip {
	font-size: 0.85em;
}

.wpcf7 form .wpcf7-response-output {
	flex: 1 1 50%;
	min-width: 50%;
	margin: 0;
	padding: 0.7em 1em;
}

.form-field-validation-error {
	display: block;
	font-size: 0.9em;
	color: red;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Global
--------------------------------------------- */
html {
	scroll-behavior: smooth;
}

body {
	--wrapper-gap: 1.5rem;
	--section-gap: 7rem;

	--colour-1: #13b001;
	--colour-rating-1: #c04b04;
	--colour-rating-2: #cc8b00;
	--colour-rating-3: #c6d02d;
	--colour-rating-4: #70a110;
	--colour-rating-5: var(--colour-1);

	overflow-x: hidden;
	background-color: #fff;
	word-wrap: break-word;
	line-height: 1.6;
	font-family: "Montserrat", sans-serif;
	font-optical-sizing: auto;
	font-size: 16px;
	color: #222;
	margin: 0;
	accent-color: #13b001;
}

.wrapper-large,
.wrapper {
	width: 90%;
	width: calc(100% - (var(--wrapper-gap) * 2));
	margin: 0 auto;
}

.wrapper {
	max-width: 1200px;
}

.wrapper-large {
	border-radius: 3px;
}

/* Global
--------------------------------------------- */
.clear-float {
	clear: both;
}

.text-content:before,
.text-content:after,
.cf:before,
.cf:after {
	content: " ";
	display: table;
}

.text-content:after,
.cf:after {
	clear: both;
}

.cf {
	*zoom: 1;
}

.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
	content: "";
	display: table;
	table-layout: fixed;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
	clear: both;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
	display: block;
}

.updated:not(.published) {
	display: none;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
	margin: 0 0 1.5em;
}

.widget select {
	max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}


/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}

/* Header
--------------------------------------------- */
.site-header .wrapper {
	display: flex;
	align-items: center;
	gap: min(3rem, 3.8vw);
	padding: 1em 0;
}

.site-header .logo {
	overflow: hidden;
	position: relative;
	display: block;
	width: 26em;
}

.site-header .logo::before {
	content: '';
	position: absolute;
	z-index: 1;
	top: 0;
	left: -5%;
	width: 200%;
	height: 100%;
	background-color: #fff;
	/* background-color: red; */
	transform: skew(-30deg);
	animation: logo-reveal 2s forwards ease-out;
}

@keyframes logo-reveal {
	0% { transform: skew(80deg); }
	100% { transform: skew(0deg) translateX(60%); }
}

.site-header .logo img {
	display: block;
	z-index: 0;
	width: 100%;
	animation: logo-reveal-2 2s forwards ease-out;
}

@keyframes logo-reveal-2 {
	0% { transform: scale(0.9) translateX(50%); }
	100% { transform: scale(1) translateX(0); }
}

.site-header .simple-golf-course-search-form {
	flex: 1;
	display: none;
	min-width: 10.5em;
}

.site-header .simple-golf-course-search-form input[type="submit"] {
	display: none;
}

.site-header .simple-golf-course-search-form input[type="text"] {
	padding-right: 1em;
}

/* Navigation
--------------------------------------------- */
.main-navigation {
	flex: 1;
	display: block;
	font-family: novecento-sans-wide, sans-serif;
	font-size: 0.85em;
	letter-spacing: 0.11em;
	text-transform: uppercase;
	color: #999;
	white-space: nowrap;
}

.site-navigation-inner {
	width: 100%;
	display: flex;
	align-items: center;
	gap: 4vw;
}

.main-navigation ul {
	display: flex;
	justify-content: space-between;
	gap: 1.5em;
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation ul ul {
	display: none;
	box-shadow: 0 30px 30px rgba(0, 0, 0, 0.2);
	position: absolute;
	top: 100%;
	z-index: 9;
	width: 160px;
	padding: 0.2em 0;
	background-color: #fff;
}

.main-navigation ul ul ul {
	top: 0;
	left: 100%;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul,
.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	display: block;
}

.main-navigation li {
	position: relative;
}

.main-navigation .logged-in,
.logged-in .main-navigation .logged-out {
	display: none;
}

.logged-in .main-navigation .logged-in {
	display: block;
}

.main-navigation a {
	display: block;
	text-decoration: none;
	color: inherit;
}

.main-navigation ul ul a {
	padding: 0.5em 1em;
}

.menu-toggle {
	display: none;
	position: relative;
	width: 31px;
	padding: 6px 0;
	border: 3px solid;
	border-width: 3px 0;
	border-radius: 0;
	background: none;
	color: #11008c;
	line-height: 0;
	font-size: 0;
}

.menu-toggle:hover {
	background: none;
}

.menu-toggle:before {
	display: block;
	content: '';
	border-top: inherit;
}

.site-main .comment-navigation,
.site-main
.posts-navigation,
.site-main
.post-navigation {
	margin: 0 0 1.5em;
}

.pagination .nav-links,
.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
	justify-content: center;
	gap: 1em;
}

.pagination .nav-previous,
.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}

.pagination .nav-next,
.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}

.header-links {
	flex: 0 1 max-content;
	text-align: right;
	white-space: nowrap;
}

/* Simple Golf Course Search
--------------------------------------------- */
.simple-golf-course-search-form {
	display: flex;
	justify-content: space-between;
	position: relative;
	min-width: 18.5em;
	padding: 3px;
}

.simple-golf-course-search-form input[type="text"] {
	position: absolute;
	z-index: 0;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	padding: 0.5em 9em 0.5em 4em;
}

.simple-golf-course-search-form input[type="text"]::placeholder {
	opacity: 0.7;
	overflow: hidden;
	color: inherit;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.simple-golf-course-search-form input[type="text"]:placeholder-shown {
	text-overflow: ellipsis;
}

.simple-golf-course-search-form button,
.simple-golf-course-search-form input[type="submit"] {
	position: relative;
	z-index: 1;
}

.simple-golf-course-search-form button {
	width: 3.5em;
	padding: 0;
	background: none;
}

.simple-golf-course-search-form button img {
	display: block;
	margin: 0 auto;
	width: 1.63em;
	padding: 0.45em 0;
}

/* Page Banner
--------------------------------------------- */
.page-banner {
	overflow: hidden;
	position: relative;
	padding: 10em 0;
	padding: min(10em, 12vw) 0;
	background-color: #000;
	text-align: center;
	color: #fff;
}

.page-banner.no-image {
	padding: 5em 0;
	background: none;
	color: inherit;
}

.page-banner.no-image::before {
	opacity: 0.3;
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: url('images/placeholder-image.jpg') center 45% no-repeat;
	background-size: cover;
}

.page-banner > img {
	opacity: 0.9;
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: all 2s;
}

.page-banner:has(.simple-golf-course-search-form) > img {
	transform: scale(1.1);
}

/* .page-banner:has(.golf-course-search:hover) > img, */
.page-banner:has(.simple-golf-course-search-form input[type="text"]:focus) > img {
	opacity: 1;
	transform: scale(1.03);
	filter: blur(5px);
}

.page-banner .banner-caption {
	position: relative;
	max-width: 45em;
	margin: 0 auto;
}

.page-banner a {
	color: inherit;
}

.page-banner .simple-golf-course-search-form {
	color: #222;
}

.page-banner .simple-golf-course-search-form input[type="text"] {
	border: none;
}

.golf-course-search-suggestions {
	display: flex;
	justify-content: space-around;
	gap: 0.2em 1em;
	flex-wrap: wrap;
	margin-top: 1.5em;
	font-weight: 300;
}

.golf-course-search-suggestions a::before {
	content: '';
	display: inline-block;
	width: 0.95em;
	height: 0.95em;
	margin-right: 0.3em;
	background: url('images/search-white.svg') center center no-repeat;
	background-size: contain;
	vertical-align: middle;
}

/* Notices
--------------------------------------------- */
.page-notices {
	display: flex;
	flex-direction: column;
	gap: 1em;
	list-style: none;
	margin: calc(var(--section-gap) / 2) auto;
	padding: 0;
}

.page-notice {
	padding: 1em;
	border-radius: 3px;
	background-color: #f6f5fa;
	border-left: 3px solid #10008a;
}

.page-notice-success {
	border-color: #19ae00;
}

.page-notice-warning,
.page-notice-error {
	border-color: #d12428;
}

/* Page Sections
--------------------------------------------- */
.page-section {
	scroll-margin-top: var(--section-gap);
	margin: var(--section-gap) auto;
}

.page-section.wrapper-large {
	margin: var(--wrapper-gap) auto;
}

.section-title {
	margin-bottom: 1em;
	text-align: center;
	color: #19ae00;
}

.buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 1em 2em;
	margin-top: 2em;
}

.buttons.more-than-one .button:nth-child(odd) {
	background-color: #10008a;
}

.buttons.more-than-one .button:nth-child(odd):hover {
	background-color: #13b001;
}

/* Page Section: Two Columns
--------------------------------------------- */
.section-type-two-columns .section-title {
	color: #10008a;
}

.section-type-two-columns .columns {
	display: flex;
	gap: calc(var(--wrapper-gap) * 2) var(--wrapper-gap);
}

.section-type-two-columns .col {
	flex: 1 1 50%;
}

.section-type-two-columns .col-image {
	position: relative;
}

.section-type-two-columns .col-image img {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border-radius: 3px;
	object-fit: cover;
}

.section-type-two-columns .image-effect-bang svg {
	opacity: 0.9;
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	transform: scale(1.02);
}

/* Page Section: Recent Reviews
--------------------------------------------- */
.recent-reviews {
	--gap: 4em;

	columns: 20em;
	gap: var(--gap);
}

.recent-reviews .review-small {
	margin-bottom: var(--gap);
}

.review-small {
	overflow: hidden;
	position: relative;
	break-inside: avoid;
}

.review-small .review-author {
	position: relative;
	z-index: 1;
	margin-bottom: 0.5em;
	padding-left: 3em;
	padding-right: 2em;
	line-height: 1
}

.review-small .review-author img {
	position: absolute;
	top: -7px;
	left: -7px;
	width: 3.2em;
	aspect-ratio: 1/1;
	border: 7px solid #fff;
	border-radius: 50%;
}

.review-small .review-criteria {
	display: flex;
	flex-direction: column;
	gap: 0.9em;
	float: right;
	margin: 0 0 1em 1em;
}

.review-small .criteria-rating-wide .criteria-comment {
	opacity: 1;
	display: none;
	overflow: visible;
	position: absolute;
	white-space: normal;
	right: 0;
	z-index: 5;
	max-width: 90%;
	padding: 0.8em;
	border-radius: 3px;
	border: 1px solid #eee;
	box-shadow: 0 0 10px rgba(0,0,0,0.1);
	background-color: #fff;
	text-align: right;
}

.review-small .criteria-rating-wide:hover .criteria-comment {
	display: block;
}

.criteria-rating-wide .criteria-text {
	overflow: hidden;
	display: flex;
	align-items: center;
	gap: 1em;
	margin-bottom: 0.3em;
	font-size: 0.9em;
}

.criteria-rating-wide .criteria-label {
	overflow: hidden;
	font-family: novecento-sans-wide, sans-serif;
	font-weight: 300;
	letter-spacing: 0.11em;
	text-transform: uppercase;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.criteria-rating-wide .criteria-value {
	color: #999;
	white-space: nowrap;
}

.criteria-rating-wide .criteria-value span {
	color: #222;
}

.criteria-rating-wide .criteria-icons {
	display: flex;
	gap: 0.3em;
}

.criteria-rating-wide .criteria-icons svg,
.criteria-rating-wide .criteria-icons img {
	opacity: 0.7;
	display: block;
	width: 1.5em;
	height: auto;
}

.criteria-rating-wide[data-rating="4"] .criteria-icons svg:nth-child(4) ~ svg,
.criteria-rating-wide[data-rating="3"] .criteria-icons svg:nth-child(3) ~ svg,
.criteria-rating-wide[data-rating="2"] .criteria-icons svg:nth-child(2) ~ svg,
.criteria-rating-wide[data-rating="1"] .criteria-icons svg:nth-child(1) ~ svg,
.criteria-rating-wide[data-rating="4"] .criteria-icons img:nth-child(4) ~ img,
.criteria-rating-wide[data-rating="3"] .criteria-icons img:nth-child(3) ~ img,
.criteria-rating-wide[data-rating="2"] .criteria-icons img:nth-child(2) ~ img,
.criteria-rating-wide[data-rating="1"] .criteria-icons img:nth-child(1) ~ img {
	opacity: 0.15;
}

.criteria-rating-wide .criteria-icons svg circle,
.criteria-rating-wide .criteria-icons svg rect,
.criteria-rating-wide .criteria-icons svg path {
	fill: var(--colour-rating-5);
}

.review-small .criteria-rating-wide .criteria-icons svg circle,
.review-small .criteria-rating-wide .criteria-icons svg rect,
.review-small .criteria-rating-wide .criteria-icons svg path {
	fill: currentColor;
}

/*
.criteria-rating-wide[data-rating="1"] .criteria-icons svg circle,
.criteria-rating-wide[data-rating="1"] .criteria-icons svg rect,
.criteria-rating-wide[data-rating="1"] .criteria-icons svg path {
	fill: var(--colour-rating-1);
}

.criteria-rating-wide[data-rating="2"] .criteria-icons svg circle,
.criteria-rating-wide[data-rating="2"] .criteria-icons svg rect,
.criteria-rating-wide[data-rating="2"] .criteria-icons svg path {
	fill: var(--colour-rating-2);
}

.criteria-rating-wide[data-rating="3"] .criteria-icons svg circle,
.criteria-rating-wide[data-rating="3"] .criteria-icons svg rect,
.criteria-rating-wide[data-rating="3"] .criteria-icons svg path {
	fill: var(--colour-rating-3);
}

.criteria-rating-wide[data-rating="4"] .criteria-icons svg circle,
.criteria-rating-wide[data-rating="4"] .criteria-icons svg rect,
.criteria-rating-wide[data-rating="4"] .criteria-icons svg path {
	fill: var(--colour-rating-4);
}

.criteria-rating-wide[data-rating="5"] .criteria-icons svg circle,
.criteria-rating-wide[data-rating="5"] .criteria-icons svg rect,
.criteria-rating-wide[data-rating="5"] .criteria-icons svg path {
	fill: var(--colour-rating-5);
}
*/

.criteria-rating-wide.criteria-name-food .criteria-icons {
	gap: 1px;
}

.criteria-rating-wide.criteria-name-food .criteria-icons svg,
.criteria-rating-wide.criteria-name-food .criteria-icons img {
	--crop-size: 13%;
	--margin-size: 0.27em;
	width: 2.1em;
}

.criteria-rating-wide.criteria-name-food .criteria-icons svg:nth-child(4),
.criteria-rating-wide.criteria-name-food .criteria-icons svg:nth-child(3),
.criteria-rating-wide.criteria-name-food .criteria-icons svg:nth-child(2),
.criteria-rating-wide.criteria-name-food .criteria-icons svg:nth-child(1),
.criteria-rating-wide.criteria-name-food .criteria-icons img:nth-child(4),
.criteria-rating-wide.criteria-name-food .criteria-icons img:nth-child(3),
.criteria-rating-wide.criteria-name-food .criteria-icons img:nth-child(2),
.criteria-rating-wide.criteria-name-food .criteria-icons img:nth-child(1) {
	clip-path: inset(0 var(--crop-size) 0 0);
	margin-right: calc(var(--margin-size) * -1);
}

.criteria-rating-wide.criteria-name-food .criteria-icons svg:nth-child(4),
.criteria-rating-wide.criteria-name-food .criteria-icons svg:nth-child(3),
.criteria-rating-wide.criteria-name-food .criteria-icons svg:nth-child(2),
.criteria-rating-wide.criteria-name-food .criteria-icons svg:nth-child(5),
.criteria-rating-wide.criteria-name-food .criteria-icons img:nth-child(4),
.criteria-rating-wide.criteria-name-food .criteria-icons img:nth-child(3),
.criteria-rating-wide.criteria-name-food .criteria-icons img:nth-child(2),
.criteria-rating-wide.criteria-name-food .criteria-icons img:nth-child(5) {
	clip-path: inset(0 0 0 var(--crop-size));
	margin-left: calc(var(--margin-size) * -1);
}

.criteria-rating-wide.criteria-name-food .criteria-icons svg:nth-child(4),
.criteria-rating-wide.criteria-name-food .criteria-icons svg:nth-child(3),
.criteria-rating-wide.criteria-name-food .criteria-icons svg:nth-child(2),
.criteria-rating-wide.criteria-name-food .criteria-icons img:nth-child(4),
.criteria-rating-wide.criteria-name-food .criteria-icons img:nth-child(3),
.criteria-rating-wide.criteria-name-food .criteria-icons img:nth-child(2) {
	clip-path: inset(0 var(--crop-size) 0 var(--crop-size));
}

.criteria-rating-wide .criteria-comment {
	overflow: hidden;
	opacity: 0.7;
	margin-top: 0.5em;
	font-size: 0.85em;
	line-height: 1.4;
	font-style: italic;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.criteria-rating-wide:hover .criteria-comment {
	white-space: normal;
}

.criteria-rating-wide .criteria-comment::before {
	content: '\201C';
}

.criteria-rating-wide .criteria-comment::after {
	content: '\201D';
}

.criteria-rating-small {
	line-height: 1;
}

.criteria-rating-small .criteria-label {
	display: block;
	margin-bottom: 0.4em;
	font-family: novecento-sans-wide, sans-serif;
	font-weight: 300;
	letter-spacing: 0.11em;
	text-transform: uppercase;
}

.criteria-rating-small img {
	display: inline-block;
	width: auto;
	height: 1.8em;
	margin-right: 0.5em;
	vertical-align: middle;
}

.criteria-rating-small .criteria-value {
	font-size: 1.2em;
	font-weight: 300;
	vertical-align: middle;
}

.criteria-rating-small .criteria-value .actual {
	font-size: 1.9em;
	color: #19ae00;
}

.criteria-rating-small.criteria-rating-na .criteria-value .actual {
	opacity: 0.3;
	color: inherit;
	font-size: 1.7em;
}

.criteria-rating-small[data] .criteria-value .actual {
}

.review-small .criteria-text {
	justify-content: space-between;
}

.review-small .criteria-icons {
	justify-content: flex-end;
}

.review-small .course-summary {
	overflow: hidden;
	display: block;
	position: relative;
	margin-bottom: 1.2em;
	border-radius: 3px;
}

.review-small .course-summary::before {
	opacity: 0.3;
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 50%;
	background: linear-gradient(to bottom, transparent, #000);
}

.review-small .course-summary img {
	display: block;
	width: 100%;
	aspect-ratio: 5/2;
	object-fit: cover;
}

.review-small .course-summary h4 {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	margin: 0;
	padding: 0.8em 1em;
	font-family: inherit;
	text-transform: none;
	letter-spacing: 0;
	font-weight: bold;
	color: #fff;
}

.review-small .more-tag {
	display: inline-block;
	font-family: novecento-sans-wide, sans-serif;
	font-weight: 300;
	letter-spacing: 0.11em;
	text-transform: uppercase;
	font-size: 0.85em;
	font-weight: 900;
}

.review-small .review-actions {
	position: absolute;
	top: 0;
	right: 0;
	z-index: 2;
	width: 100%;
}

.review-large .review-actions {
	position: absolute;
	top: var(--padding);
	right: var(--padding);
	z-index: 2;
	width: 100%;
}

.review-actions {
	position: relative;
	pointer-events: none;
}

.review-actions:hover {
	pointer-events: all;
}

.review-actions-toggle {
	opacity: 0.4;
	display: block;
	position: absolute;
	top: 0;
	right: 0;
	padding: 0.5em 0.3em;
	background-color: transparent;
	pointer-events: all;
}

.review-actions-toggle:hover {
	opacity: 1;
	background-color: #eee;
}

.review-actions-toggle svg {
	display: block;
}

.review-actions nav {
	display: none;
	flex-direction: column;
	gap: 0.5em;
	position: absolute;
	top: 1.2em;
	right: 0;
	width: fit-content;
	padding: 1em;
	border-radius: 3px;
	box-shadow: 0 0 30px rgba(0,0,0,0.2);
	background-color: #fff;
	text-align: right;
	font-size: 0.9em;
}

.review-actions-toggle:focus + nav,
.review-actions:hover nav {
	display: flex;
}

.review-actions nav a {
	display: block;
}

/* Page Section: Review Criteria
--------------------------------------------- */
.section-type-review-criteria {
	padding: var(--section-gap) 0;
	background-color: #f6f5fa;
	text-align: center;
}

.section-type-review-criteria .section-title {
	margin-bottom: 0;
}

.section-type-review-criteria .review-criteria {
	display: grid;
	grid-template-columns: repeat(20, 1fr);
	gap: var(--wrapper-gap);
	flex-wrap: wrap;
	margin-top: 3em;
}

.section-type-review-criteria .review-criteria:first-child {
	margin-top: 0;
}

.section-type-review-criteria .review-criteria a {
	grid-column: span 5;
	padding: 2em;
	border-radius: 3px;
	background-color: #fff;
	font-family: novecento-sans-wide, sans-serif;
	text-transform: uppercase;
	letter-spacing: 0.11em;
	line-height: 1.2;
	font-size: 0.95em;
	color: inherit;
	transition: all 200ms;
}

.section-type-review-criteria .review-criteria a:hover {
	box-shadow: inset 0 0 0 1px #fff;
	box-shadow: inset 0 0 0 1px #fff, 0 0 60px rgba(0,0,0,0.05);
	background-color: transparent;
	text-decoration: none;
	transform: scale(1.1);
}

.section-type-review-criteria .review-criteria a:nth-child(n+5):not(:nth-child(n+10)) {
	grid-column: span 4;
}

.section-type-review-criteria .review-criteria img {
	display: block;
	width: auto;
	height: 3.7em;
	margin: 0 auto 1.5em;
}

/* Page Section: Advert
--------------------------------------------- */
.ad-container {
	position: relative;
	border: 1px solid #eee;
	border-radius: 3px;
}

.ad-container .ad {
	display: block;
}

.ad-container .ad img {
	display: block;
	width: 100%;
	border-radius: 3px;
}

.ad-container .enquire {
	opacity: 0.5;
	position: absolute;
	top: 0;
	right: 0;
	padding: 0.3em;
	line-height: 1.2;
	text-align: right;
	color: inherit;
	text-decoration: none;
}

.ad-container .enquire:hover {
	opacity: 1;
	background-color: #fff;
}

.ad-container .enquire::after {
	content: '\1f6c8';
	display: inline-block;
	margin-left: 0.3em;
}

.ad-container .enquire span {
	display: none;
}

.ad-container .enquire:hover span {
	display: inline;
}

/* Page Section: Add Course Form
--------------------------------------------- */
.add-course-form .show-address .add-address-manually,
.add-course-form .course-map,
.add-course-form .form-field-map label,
.add-course-form .form-fields-address {
	display: none;
}

.add-course-form .show-address .course-map,
.add-course-form .show-address .form-field-map label {
	display: block;
}

.add-course-form .show-address .form-fields-address {
	display: flex;
}

.add-course-form .form-field-map {
	align-self: stretch;
	display: flex;
	flex-direction: column;
}

.add-course-form .location-search {
	position: relative;
}

.add-course-form .location-search img {
	position: absolute;
	top: 0.8em;
	left: 1.2em;
	width: auto;
	height: 1.5em;
	pointer-events: none;
}

.add-course-form .location-search input {
	padding-left: 3.6em;
	border-bottom-right-radius: 0;
	border-bottom-left-radius: 0;
}

.add-course-form .course-map {
	flex: 1 1 18em;
	border-radius: 0 0 3px 3px;
	background-color: #eee;
}

.add-course-form .course-map button {
	border-radius: initial;
	letter-spacing: initial;
}

.add-course-form .add-address-manually {
	align-self: flex-start;
	width: auto;
	margin-top: 1em;
	padding: 0.7em;
	border: 1px solid #ddd;
	background-color: transparent;
	color: #888;
	text-align: inherit;
	font-weight: inherit;
	letter-spacing: inherit;
	text-transform: none;
	font-family: inherit;
}

.add-course-form .add-address-manually:hover {
	color: var(--colour-1);
	border-color: inherit;
}

.add-course-form .form-fields-driving-range {
	display: none;
	margin-top: 1em;
}

.add-course-form .form-fields-driving-range.show {
	display: flex;
}

/* Page Section: Add Review Form
--------------------------------------------- */
.add-review-form {
	display: flex;
	flex-direction: row-reverse;
	align-items: flex-start;
	gap: 3em;
}

.add-review-form .review-criteria {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 22em), 1fr));
	gap: 1em;
	margin-bottom: 1.5em;
	padding: 1em;
	border-radius: 3px;
	background-color: #f6f5fa;
}

.add-review-form .review-criteria-instructions {
	padding: 1em;
	align-self: center;
}

.add-review-form .review-criteria-item {
	padding: 1em;
	border-radius: 3px;
	background-color: #fff;
}

.add-review-form .review-criteria-item .label {
	display: flex;
	gap: 0.5em;
	margin-bottom: 0.7em;
	font-size: 1.1em;
}

.add-review-form .review-criteria-item .label .number {
	display: inline-block;
	margin-left: auto;
	font-weight: bold;
}

.add-review-form .review-criteria-options {
	display: flex;
	gap: 0.4em;
	max-width: 31em;
}

.add-review-form .review-criteria-options label {
	opacity: 0.15;
	flex: 1;
	width: 3em;
	padding: 0.5em;
	border: 1px solid #222;
	border-radius: 3px;
	cursor: pointer;
	transition: all 200ms;
}

.add-review-form .review-criteria-options:hover label.na.active:hover,
.add-review-form .review-criteria-options.active label.na:not(.active):hover,
.add-review-form .review-criteria-options.active:hover label,
.add-review-form .review-criteria-options.active label,
.add-review-form .review-criteria-options:hover label {
	opacity: 1;
}

.add-review-form .review-criteria-options:hover label.na.active,
.add-review-form .review-criteria-options.active label.na:not(.active),
.add-review-form .review-criteria-options.active:hover label:hover ~ label,
.add-review-form .review-criteria-options label.active ~ label,
.add-review-form .review-criteria-options label:hover ~ label {
	opacity: 0.15;
}

.add-review-form .review-criteria-options label.extra {
	visibility: hidden;
	pointer-events: none;
}

.add-review-form .review-criteria-options input {
	opacity: 0;
	position: absolute;
}

.add-review-form .review-criteria-options label.na {
	border-color: #fff;
}

.add-review-form .review-criteria-options label.na span,
.add-review-form .review-criteria-options img {
	display: block;
	width: 100%;
	aspect-ratio: 1/1;
	object-fit: contain;
}

.add-review-form .review-criteria-options label.na span {
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
	font-size: 0.8em;
	font-weight: bold;
}

.add-review-form .review-criteria-comment {
	display: none;
	margin-top: 0.4em;
}

.add-review-form .review-criteria-item[data-rating="1"] .review-criteria-comment,
.add-review-form .review-criteria-item[data-rating="2"] .review-criteria-comment,
.add-review-form .review-criteria-item[data-rating="3"] .review-criteria-comment,
.add-review-form .review-criteria-item[data-rating="4"] .review-criteria-comment,
.add-review-form .review-criteria-item[data-rating="5"] .review-criteria-comment {
	display: block;
}

.add-review-form .review-criteria-comment textarea {
	display: block;
	width: 100%;
	height: 4.3em;
	padding: 0.5em 0.8em;
	font-size: 0.9em;
}

.add-review-form .review-criteria-comment textarea::placeholder {
	opacity: 0.7;
}

.add-review-form-fields {
	flex: 1;
}

.add-review-form-fields textarea {
	height: 10em;
}

.add-review-form-sidebar {
	position: sticky;
	top: 1.5em;
	width: 20em;
}

.add-review-form-sidebar .course-summary {
	overflow: hidden;
	border: 1px solid #eee;
	border-radius: 3px;
}

.add-review-form-sidebar .course-image img {
	display: block;
	width: 100%;
	aspect-ratio: 2/1;
	object-fit: cover;
}

.add-review-form-sidebar .course-image .placeholder-image {
	opacity: 0.3;
}

.add-review-form-sidebar .course-details {
	padding: 1.5em;
}

.add-review-form-sidebar .course-title {
	font-size: 1.2em;
	font-weight: normal;
}

/* Course Archive
--------------------------------------------- */
.golf-course-archive {
	padding: var(--section-gap) 0;
	border-bottom: 2px solid #fff;
	box-shadow: 0 -60px 60px #f6f5fa;
	background-color: #f6f5fa;
}

.golf-course-archive .wrapper {
	display: flex;
	gap: 3em;
}

.golf-course-archive-sidebar {
	display: flex;
	flex-direction: column;
	gap: 3em;
	width: min(18em, 31%);
}

.golf-course-archive-sidebar .mobile-form-toggle {
	display: none;
	padding: 0.5em 1em;
	border: 1px solid;
	border-radius: 3px;
	text-decoration: none;
	text-align: center;
	background-color: #f6f5fa;
}

.golf-course-archive-sidebar.active .mobile-form-toggle {
	position: fixed;
	right: var(--wrapper-gap);
	margin-left: auto;
}

.golf-course-archive-sidebar.active .mobile-form-toggle .open,
.golf-course-archive-sidebar .mobile-form-toggle .close {
	display: none;
}

.golf-course-archive-sidebar.active .mobile-form-toggle .close {
	display: inline;
}

.golf-course-search-form .criteria-fields {
	margin-top: 0.5em;
}

.golf-course-search-form .criteria-fields .form-fields {
	display: none;
	align-items: stretch;
	gap: 1em;
}

.golf-course-search-form .criteria-fields.active .form-fields {
	display: flex;
}

.golf-course-search-form .criteria-fields .form-field {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	width: auto;
	min-width: 6.5em;
	padding: 1em;
	border: 1px solid rgba(0,0,0,0.1);
	border-radius: 3px;
	background-color: #fff;
}

.golf-course-search-form .criteria-fields .form-field-submit {
	min-width: 100%;
	margin: 0;
	padding: 0;
	border: none;
}

.golf-course-search-form .criteria-fields .option-field-list {
	/* display: none; */
}

.golf-course-archive-sidebar .ad-container {
	position: sticky;
	top: 3em;
}

.golf-course-archive-main {
	flex: 1;
	position: relative;
}

.golf-course-archive-main .ad-container {
	display: none;
	margin-top: var(--wrapper-gap);
}

.golf-course-archive-summary {
	position: absolute;
	top: -2.5em;
	right: 0;
	text-align: right;
	opacity: 0.6;
}

.golf-course-archive-results {
	display: flex;
	flex-direction: column;
	gap: 3em;
}

.golf-course-archive-results .golf-course-item {
	display: grid;
	grid-template-columns: 25% 1fr;
	background-color: #fff;
	border-radius: 3px;
	color: inherit;
	transition: all 200ms;
}

.golf-course-archive-results .golf-course-item:hover {
	box-shadow: 0 0 30px rgba(0,0,0,0.05);
	transform: scale(1.02);
}

.golf-course-archive-results .golf-course-item:hover {
	text-decoration: none;
}

.golf-course-archive-results .golf-course-item .course-image {
	width: 100%;
	height: 100%;
	aspect-ratio: 10/1;
	object-fit: cover;
	border-radius: 3px 0 0 3px;
}

.golf-course-archive-results .golf-course-item .text {
	flex: 1;
	padding: 2em;
}

.golf-course-archive-results .golf-course-item h2 {
	margin-bottom: 0.2em;
	font-family: inherit;
	letter-spacing: 0;
	text-transform: none;
	font-weight: 400;
	font-size: 1.6em;
}

.golf-course-archive-results .golf-course-item .course-details {
	opacity: 0.5;
}

.golf-course-archive-results .golf-course-item .course-ratings {
	display: flex;
	align-items: flex-end;
	gap: 2em;
	flex-wrap: wrap;
	margin-top: 2em;
}

.golf-course-archive-results .golf-course-item .course-review-count {
	opacity: 0.5;
	font-size: 0.9em;
}

/* Single Golf Course
--------------------------------------------- */
body.single-golf_course {
	--section-gap: 4rem;
}

.single-golf_course .course-data {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 1em 2em;
	flex-wrap: wrap;
	margin: 0;
	padding: 0;
	list-style: none;
	text-align: center;
}

.single-golf_course .course-data > li {
	margin: 0;
}

.single-golf_course .course-data svg {
	display: inline-block;
	width: auto;
	height: 1.5em;
	vertical-align: middle;
	margin-right: 0.3em;
}

.single-golf_course .course-data svg path {
	fill: var(--colour-1);
}

.single-golf_course .course-data ul {
	list-style: none;
	margin: 0 0 0 2.3em;
	padding: 0;
	font-size: 0.9em;
}

.section-type-course-map iframe {
	display: block;
	width: 100%;
	height: min(60vh, 500px);
	border-radius: 3px;
}

.section-type-course-details-map {
	display: flex;
	gap: 2em;
}

.section-type-course-details-map .course-data {
	flex: 1;
	flex-direction: column;
	align-items: flex-start;
	text-align: left;
}

.section-type-course-details-map iframe {
	display: block;
	width: 50%;
	height: min(60vh, 360px);
	min-height: auto;
	border-radius: 3px;
}

.section-type-course-ratings .section-title .count {
	font-size: 0.6em;
}

.section-type-course-ratings .section-title {
	margin-bottom: 1em;
	font-size: 1.5em;
}

.section-type-course-ratings .course-ratings {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1em;
	text-align: center;
}

.section-type-course-ratings .course-ratings .criteria-rating-small {
	padding: 1em;
	border: 1px solid #ddd;
	border-radius: 3px;
}

.section-type-course-ratings .course-ratings .criteria-rating-small:first-child {
	grid-column: span 2;
	grid-row: span 2;
	font-size: 2.2em;
}

.section-type-course-ratings .course-ratings .button {
	display: flex;
	justify-content: center;
	align-items: center;
	border: 1px solid #ddd;
	background-color: #fff;
	color: #999;
}

.section-type-course-ratings .course-ratings .button:hover {
	background-color: #13b001;
	color: #fff
}

.section-type-course-ratings .course-ratings .view-reviews {
	grid-column: span 2;
}

.section-type-course-ratings .course-ratings .add-review {
	border-color: #13b001;
	color: #13b001;
}

.section-type-course-reviews .top {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1em;
}

.section-type-course-reviews .section-title {
	margin: 0;
	text-align: inherit;
}

.section-type-course-reviews .course-reviews {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 29em), 1fr));
	gap: 3em;
	margin-top: 3em;
}

.review-large {
	--padding: 2em;
	display: flex;
	flex-direction: column;
	position: relative;
	border: 1px solid #ddd;
	border-radius: 3px;
}

.review-large:target {
	border-color: inherit;
	box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.review-large .review-author {
	display: flex;
	gap: 0 1em;
	padding: var(--padding);
	padding-bottom: 0.8em;
}

.review-large .review-author img {
	display: block;
	width: 3em;
	aspect-ratio: 1/1;
	border-radius: 50%;
}

.review-large .review-author-text {
	flex: 1;
	padding-right: 1.5em;
}

.review-large .review-author-date {
	opacity: 0.5;
	font-size: 0.85em;
}

.review-large .review-text {
	padding: var(--padding);
	padding-top: 0;
}

.review-large .review-date-of-visit {
	font-size: 0.85em;
}

.review-large .review-criteria {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 11em), 1fr));
	gap: 1.6em;
	padding: var(--padding);
	border-top: 1px solid #ddd;
}

.review-large .show-other-review-criteria {
	align-self: center;
	display: none;
}

.review-large .criteria-icons {
	justify-content: normal;
}

.review-large .criteria-value span {
	color: var(--colour-1);
	font-weight: bold;
}

/*
.review-large [data-rating="1"] .criteria-value span {
	color: var(--colour-rating-1);
}

.review-large [data-rating="2"] .criteria-value span {
	color: var(--colour-rating-2);
}

.review-large [data-rating="3"] .criteria-value span {
	color: var(--colour-rating-3);
}

.review-large [data-rating="4"] .criteria-value span {
	color: var(--colour-rating-4);
}

.review-large [data-rating="5"] .criteria-value span {
	color: var(--colour-rating-5);
}
*/

/* Manage Review
--------------------------------------------- */
.section-type-manage-review {
	display: flex;
	gap: 3em;
	flex-wrap: wrap;
}

.section-type-manage-review .review-large {
	flex: 1 1 20em;
}

.section-type-manage-review .review-manage-actions {
	flex: 2 1 10em;
}

.section-type-manage-review .review-manage-actions .section-title {
	text-align: inherit;
}

.delete-review-form .submit {
	background-color: red;
}

/* Footer
--------------------------------------------- */
.site-footer {
	padding: var(--section-gap) 0 calc(var(--section-gap) * 0.6);
	background-color: #f6f5fa;
}

.site-footer .wrapper {
	display: flex;
	flex-direction: column;
	gap: calc(var(--section-gap) * 0.6);
}

.footer-columns {
	--gap: 3em;

	display: flex;
	gap: 4em 3em;
	flex-wrap: wrap;
}

.footer-columns .col-title {
	position: relative;
	margin-bottom: 1.5em;
	color: #10008a;
	font-weight: bold;
	font-size: 0.85em;
}

.footer-columns .footer-col {
	flex: 1;
}

.footer-columns .col-text .text,
.footer-columns .col-text-50 .text,
.footer-columns .col-text-25 .text {
	columns: 10em;
	gap: 3em;
}

.footer-columns .col-text {
	flex-basis: 100%;
}

.footer-columns .col-text-50 {
	flex-basis: calc(50% - var(--gap));
	min-width: min(25em, 100%);
}

.footer-columns .col-text-25 {
	flex-basis: calc(25% - var(--gap));
	min-width: min(10em, 100%);
}

.footer-columns .col-title::before {
	opacity: 0.2;
	content: '';
	position: absolute;
	top: 50%;
	left: 0;
	width: 100%;
	border-bottom: 1px solid;
}

.footer-columns .col-title span {
	position: relative;
	padding-right: 0.7em;
	background-color: #f6f5fa;
}

.footer-bottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 2em;
	/* flex-wrap: wrap; */
}

.site-footer .logo {
	width: 26em;
	max-width: 100%;
	mix-blend-mode: darken;
}

.site-footer .logo img {
	display: block;
	width: 100%;
}

.footer-bottom .footer-email {
	flex: 0 0 max-content;
	overflow: hidden;
	max-width: 100%;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.footer-bottom .footer-email img {
	display: inline-block;
	margin-right: 0.5em;
}

.site-footer a {
	color: inherit;
}

/* Cookie Consent
----------------------------------------------- */
html.show--consent {
	margin-bottom: 14em;
}

body {
	--cc-bg: #fff;
	--cc-text: #222;
	--cc-btn-primary-bg: #13b001;
	--cc-btn-primary-text: var(--cc-bg);
	--cc-btn-primary-hover-bg: #11008c;
	--cc-btn-secondary-bg: #eceef5;
	--cc-btn-secondary-text: var(--cc-text);
	--cc-btn-secondary-hover-bg: #e1e3e7;
	--cc-toggle-bg-on: var(--cc-btn-primary-bg);
	--cc-block-text: var(--cc-text);
	--cc-overlay-bg: rgba(0, 0, 0, 0.82);
}

/* reCAPTCHA
--------------------------------------------- */
.grecaptcha-badge {
	opacity: 0;
	pointer-events: none;
}


/* Media Queries
--------------------------------------------- */
@media screen and (max-width: 1100px) {
	.section-type-review-criteria .review-criteria {
		grid-template-columns: repeat(6, 1fr);
		grid-template-rows: repeat(5, 1fr);
	}

	.section-type-review-criteria .review-criteria a:nth-child(n+5):not(:nth-child(n+10)),
	.section-type-review-criteria .review-criteria a {
		grid-column: span 2;
	}

	.section-type-review-criteria .review-criteria a:nth-child(n+9):not(:nth-child(n+11)),
	.section-type-review-criteria .review-criteria a:nth-child(n+4):not(:nth-child(n+6)) {
		grid-column: span 3;
	}
}

@media screen and (max-width: 1150px) {
	.section-type-course-ratings .course-ratings .criteria-label {
		font-size: 0.8em;
		font-weight: normal
	}
}

@media screen and (max-width: 1000px) {
	.site-header .simple-golf-course-search-form {
		display: flex;
	}

	.main-navigation {
		flex: 0;
		font-size: 1.2em;
		white-space: normal;
		text-align: right;
		color: inherit;
	}

	.menu-toggle {
		display: block;
	}

	.main-navigation > div[class^="menu-"][class$="-container"] {
		position: fixed;
		z-index: 20;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		transition: background-color 200ms;
		pointer-events: none;
	}

	.main-navigation.toggled > div[class^="menu-"][class$="-container"] {
		background-color: rgba(0,0,0,0.2);
	}

	.main-navigation .nav-menu {
		overflow-y: auto;
		position: absolute;
		top: 0;
		right: 0;
		width: 20em;
		height: 100%;
		max-width: 80%;
		background-color: #fff;
		transform: translateX(100%);
		pointer-events: all;
	}

	.main-navigation.toggled .nav-menu {
		transition: transform 500ms 200ms;
		transform: translateX(0);
	}

	.main-navigation ul {
		display: block;
	}

	.main-navigation ul a,
	.main-navigation ul ul a,
	.main-navigation ul ul li:last-child > a {
		padding: 0.5em 1em;
		border-right: none;
		border-bottom: 1px solid #ccc;
	}

	.main-navigation ul ul {
		position: static;
		width: auto;
		box-shadow: none;
		background-color: rgba(0,0,0,0.04);
		text-align: inherit;
		font-size: 0.85em;
	}

	.main-navigation ul ul a,
	.main-navigation ul ul li:last-child > a {
		width: auto;
		padding-right: 2em;
	}
}

@media screen and (max-width: 940px) {
	.section-type-course-ratings .course-ratings .max,
	.section-type-course-ratings .course-ratings .of {
		display: none;
	}
}

@media screen and (max-width: 850px) {
	.section-type-course-ratings .course-ratings {
		grid-template-columns: repeat(3, 1fr);
	}

	.section-type-course-ratings .course-ratings .view-reviews {
		order: 20;
		grid-column: span 3;
	}
}

@media screen and (max-width: 800px) {
	.add-review-form {
		gap: 1.5em;
	}

	.add-review-form-sidebar {
		width: 15em;
	}

	.golf-course-archive-results,
	.golf-course-archive .wrapper {
		gap: var(--wrapper-gap);
	}

	.golf-course-archive-results .golf-course-item {
		grid-template-columns: auto;
		grid-template-rows: 10em auto;
	}
}

@media screen and (max-width: 700px) {
	body {
		--section-gap: 4rem;
	}

	.section-type-two-columns .columns {
		flex-direction: column;
	}

	.section-type-two-columns .col {
		flex: auto;
	}

	.section-type-two-columns .col-image {
		order: -1;
	}

	.section-type-two-columns .col-image img {
		position: static;
		height: auto;
	}
}

@media screen and (max-width: 650px) {
	.section-type-review-criteria .review-criteria {
		display: flex;
	}

	.section-type-review-criteria .review-criteria a {
		flex: 1 1 12em;
	}

	.add-review-form {
		flex-direction: column;
		gap: var(--section-gap);
	}

	.add-review-form-sidebar {
		position: static;
		width: auto;
	}

	.add-review-form-sidebar .course-summary {
		display: flex;
		padding: 0
	}

	.add-review-form-sidebar .course-image {
		display: flex;
		width: 40%;
	}

	.add-review-form-sidebar .course-image img {
		aspect-ratio: auto;
		margin: 0;
	}

	.add-review-form-fields {
		width: 100%;
	}
}

@media screen and (max-width: 600px) {
	.page-banner > img {
		opacity: 0.6;
	}

	.alignleft,
	.alignright,
	.aligncenter,
	.alignnone {
		display: block;
		float: none;
		width: auto;
		margin: 0 auto 0.5em;
	}

	.footer-bottom {
		flex-direction: column;
		align-items: center;
		gap: 3em;
	}
}

@media screen and (max-width: 580px) {
	.golf-course-search-suggestions {
		overflow-x: auto;
		flex-wrap: nowrap;
		white-space: nowrap;
		gap: 0 1.5em;
		padding-right: 2em;
		-webkit-overflow-scrolling: touch;
		mask-image: linear-gradient(to right, #000 calc(100% - 2em), transparent 100%);
	}

	.golf-course-archive .wrapper {
		flex-direction: column;
	}

	.golf-course-archive-sidebar {
		overflow-y: auto;
		gap: var(--wrapper-gap);
		position: fixed;
		bottom: 0;
		left: 0;
		z-index: 10;
		width: 100%;
		max-height: 70vh;
		padding: var(--wrapper-gap);
		border-top: 2px solid #13b001;
		box-shadow: 0 0 30px rgba(0,0,0,0.2);
		background-color: #f6f5fa;
		overscroll-behavior: contain;
	}

	.golf-course-archive-sidebar .mobile-form-toggle {
		display: block;
	}

	.golf-course-archive-sidebar .golf-course-search-form {
		display: none;
		margin-top: 3em;
	}

	.golf-course-archive-sidebar.active .golf-course-search-form {
		display: flex;
	}

	.golf-course-archive-sidebar .ad-container {
		display: none;
	}

	.golf-course-archive-main .ad-container {
		display: block;
	}

	.section-type-course-ratings .course-ratings {
		grid-template-columns: repeat(2, 1fr);
		gap: 1px;
		background-color: #ddd;
	}

	.section-type-course-ratings .course-ratings .criteria-rating-small {
		border: none;
		border-radius: 0;
		background-color: #fff;
	}

	.section-type-course-ratings .course-ratings .criteria-rating-small:first-child {
		grid-area: auto;
		font-size: 1em;
	}

	.section-type-course-ratings .course-ratings .criteria-name-accommodation {
		overflow: hidden;
	}

	.section-type-course-ratings .course-ratings .criteria-name-accommodation .criteria-label {
		overflow: hidden;
		white-space: nowrap;
		text-overflow: ellipsis;
	}

	.section-type-course-ratings .course-ratings .max,
	.section-type-course-ratings .course-ratings .of {
		display: inline;
	}

	.section-type-course-ratings .course-ratings .button {
		padding-top: 2em;
		padding-bottom: 2em;
		border: none;
	}

	.section-type-course-ratings .course-ratings .view-reviews {
		order: unset;
		grid-column: auto;
	}
}

@media screen and (max-width: 500px) {
	.site-header .wrapper {
		flex-wrap: wrap;
	}

	.site-header .logo {
		width: 100%;
	}

	h1 {
		font-size: 2em;
	}

	h2 {
		font-size: 1.7em;
	}

	.review-large .review-criteria {
		text-align: center;
	}

	.review-large .show-others .show-other-review-criteria,
	.review-large .criteria-rating-wide {
		display: none;
	}

	.review-large .show-others .criteria-rating-wide,
	.review-large .show-other-review-criteria,
	.review-large .criteria-rating-wide:nth-child(3),
	.review-large .criteria-rating-wide:nth-child(2),
	.review-large .criteria-rating-wide:nth-child(1) {
		display: block;
	}

	.review-large .criteria-icons,
	.review-large .criteria-text {
		justify-content: center;
	}
}

@media screen and (max-width: 480px) {
	.wrapper-large {
		width: auto;
		border-radius: 0;
	}
}

@media screen and (max-width: 420px) {
	.add-review-form .review-criteria-options {
		gap: 0.1em;
	}

	.add-review-form .review-criteria-options label {
		padding: 0.3em;
	}
}

@media screen and (max-width: 400px) {
	.section-type-course-ratings .course-ratings .max,
	.section-type-course-ratings .course-ratings .of {
		display: none;
	}
}

@media screen and (max-width: 370px) {
	.review-small .review-criteria {
		flex-direction: row;
		justify-content: space-between;
		gap: 1.5em 0.9em;
		float: none;
		margin: 0 0 1em;
	}
}

@media screen and (max-width: 350px) {
	.review-small .review-criteria {
		flex-direction: column;
	}

	.criteria-rating-wide .criteria-icons svg,
	.criteria-rating-wide .criteria-icons img {
		flex: 1;
	}

	.criteria-rating-wide.criteria-name-food .criteria-icons svg,
	.criteria-rating-wide.criteria-name-food .criteria-icons img {
		--margin-size: 3%;
	}
}

@media screen and (max-width: 340px) {
	.simple-golf-course-search-form {
		min-width: 10.5em;
	}

	.simple-golf-course-search-form input[type="submit"] {
		display: none;
	}

	.simple-golf-course-search-form input[type="text"] {
		padding-right: 1em;
	}
}
