/*!
Theme Name: BOA
Theme URI: http://underscores.me/
Author: Vasilis Papadopoulos
Author URI: mailto:vasilis@betapi.software
Description: Burrowing Owl Alliance WordPress theme
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: boa
Tags: custom-logo, custom-menu, featured-images
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Root Variables
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Root Variables
--------------------------------------------------------------*/

:root {
  /* Colours
  --------------------------------------------- */
  --colour-white: #fff;
  --colour-teal: #4d7787;
  --colour-gray: #707070;
  --colour-brown-dark: #6d4f4c;
  --colour-brown-light: #9a6a36;
  --colour-tan: #d3a455;
  --colour-yellow: #f4eb9c;
  --colour-blue-light: #d5dfe5;

  /* Fonts
  --------------------------------------------- */
  --header-font: 'Oswald', sans-serif;
  --body-font: 'Radio Canada', sans-serif;

  --max-width: 1200px;
  --max-width-wide: 1600px;
  --universal-padding: 10px;

  interpolate-size: allow-keywords;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 148px;
}

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

.max-width,
.max-width-wide {
  max-width: var(--max-width);
  margin-inline: auto;
}
.max-width-wide {
  max-width: var(--max-width-wide);
}

/* 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;
  font: var(--body-font);
  font-optical-sizing: auto;
}

/**
 * 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 {
  font-family: var(--body-font);
  font-size: 1rem;
  line-height: 1.5;
}

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

h1,
h2,
h3,
h4 {
  font-family: var(--header-font);
  font-weight: bold;
}

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;
}

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: 0 0 1.5em 3em;
}

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%;
}

.sep {
  margin-inline: 0.5rem;
}

.button {
  border-radius: 42px;
  font-family: var(--header-font);
  padding: 15px 50px;
  text-align: center;
  text-transform: uppercase;
}

/* Links
--------------------------------------------- */
a {
  color: #4169e1;
}

a:visited {
  color: #800080;
}

a:hover,
a:focus,
a:active {
  color: #191970;
}

a:focus {
  outline: thin dotted;
}

a:hover,
a:active {
  outline: 0;
}

/* Forms
--------------------------------------------- */
button,
input[type='button'],
input[type='reset'],
input[type='submit'] {
  border: 1px solid;
  border-color: #ccc #ccc #bbb;
  border-radius: 3px;
  background: #e6e6e6;
  color: rgba(0, 0, 0, 0.8);
  line-height: 1;
  padding: 0.6em 1em 0.4em;
}

button:hover,
input[type='button']:hover,
input[type='reset']:hover,
input[type='submit']:hover {
  border-color: #ccc #bbb #aaa;
}

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 {
  border-color: #aaa #bbb #bbb;
}

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'],
textarea {
  color: #666;
  border: 1px solid #ccc;
  border-radius: 3px;
  padding: 3px;
}

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 {
  color: #111;
}

select {
  border: 1px solid #ccc;
}

textarea {
  width: 100%;
}

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

main {
  padding-top: 160px;
  transition: padding-top 0.2s;
}

.scrolled main {
  padding-top: 120px;
}

/* Header
--------------------------------------------- */

.site-header {
  background: var(--colour-white);
  color: var(--colour-teal);

  border-bottom: 1px solid var(--colour-blue-light);
  padding-top: 40px;
  padding-bottom: 40px;
  position: fixed;
  width: 100vw;

  isolation: isolate;
  z-index: 10;
  transition: padding-top 0.25s, padding-bottom 0.25s;
}

.site-header .max-width-wide {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.site-header .site-branding .logo {
  max-height: 74px;
  width: 260px;
  transition: max-height 0.25s;
}

.scrolled .site-header {
  padding-top: 20px;
  padding-bottom: 20px;
}
.scrolled .site-header .site-branding .logo {
  max-height: 64px;
}

.site-header #primary-menu {
  display: flex;
  gap: 20px;
}
.site-header #primary-menu li a {
  color: inherit;
  font-size: 1.25rem;
  font-weight: bold;
}
.site-header #primary-menu .sub-menu {
  background: var(--colour-white);
  flex-direction: column;
}
.site-header #primary-menu .sub-menu li {
  padding: 0.5rem 1rem;
}

/* Hero
--------------------------------------------- */

.hero-image {
  display: block;
  max-height: 465px;
  object-fit: cover;
  width: 100%;
}

/* Image Gallery
--------------------------------------------- */

.image-gallery {
  margin-block: 90px;
}

.image-gallery h2 {
  color: var(--colour-brown-dark);
  display: block;
  font-family: var(--body-font);
  font-size: 3.75rem;
  text-align: center;
}

/* Regions
--------------------------------------------- */
.region-page,
.about-us-page {
  color: var(--colour-gray);
  font-size: 1.125rem;
}
.about-us-page h1,
.about-us-page h2,
.about-us-page h3,
.region-page h1,
.region-page h2,
.region-page h3,
.region-page h4,
.sighting-page h1,
.sighting-page h2,
.grassland-page h1,
.grassland-page h2,
.grassland-page h3,
.site-main h1,
.site-main h2,
.site-main h3,
.site-main h4 {
  color: var(--colour-brown-dark);
  font-family: var(--body-font);
  font-weight: 500;
}
.about-us-page h1,
.region-page h1 {
  color: var(--colour-brown-light);
  font-size: 2.75rem;
  letter-spacing: -2.4%;
  line-height: 1.1;
}
.about-us-page h2,
.region-page h2 {
  font-size: 1.875rem;
}

.about-us-page h1 {
  margin-top: 80px;
  margin-bottom: 60px;
}

.about-us-page h1 span {
  color: var(--colour-brown-dark);
  display: block;
  font-size: 3rem;
  letter-spacing: -1.6%;
  line-height: 1.1;
}

.two-column {
  /* background: linear-gradient(
    90deg,
    var(--colour-yellow) 50%,
    var(--colour-white) 50%
  ); */
}

.two-column .max-width {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.two-column aside {
  background-color: var(--colour-yellow);
  padding: 20px;
}

.two-column aside .region-shape {
  margin-top: 40px;
  max-height: 255px;
}
.two-column aside .leader-photo {
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  width: 150px;
}

.two-column aside h3 {
  font-size: 1.5rem;
  margin-bottom: 30px;
}

.two-column aside .leader-name {
  color: var(--colour-brown-dark);
  font-weight: bold;
  margin-bottom: 20px;
}
.two-column aside .leader-bio {
  font-size: 1rem;
  font-weight: 300;
}

.two-column article {
  background-color: var(--colour-white);
  flex: 1;
  padding-inline: var(--universal-padding);
}

.two-column article ul {
  /* list-style-type: none; */
  margin-left: 0;
}

.regions-map {
  background-color: var(--colour-blue-light);
  /* height: 800px; */
  height: fit-content;
}

/* .regions-map h2 {
  background-color: var(--colour-white);
  color: var(--colour-teal);
  font-size: 3.75rem;
  letter-spacing: -2.4%;
  padding-block: 55px;
  margin: 0;
  text-align: center;
} */

#map {
  background: var(--colour-blue-light);
  padding-block: 2rem;
}

#map aside {
  background: transparent;
  color: var(--colour-teal);
  /* width: 50%; */
}

#map aside h3 {
  font-family: var(--header-font);
  font-size: 5rem;
  line-height: 1;
  margin-top: 0;
  margin-bottom: 2rem;
  text-transform: uppercase;
}
#map aside p {
  font-size: 1.5rem;
}

#map aside .button {
  background: var(--colour-brown-dark);
  color: var(--colour-yellow);
  display: block;
  margin-block: 1rem;
  padding: 10px 25px;
}

#map article {
  background: url(./img/canada.svg) center no-repeat;
  background-size: contain;
  background-position-y: top;
}

/* About Us
--------------------------------------------- */

.about-us-page .two-column aside {
  width: 35%;
}

.leader-card {
  align-items: center;
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 20px;
  margin-bottom: 45px;
}

aside .leader-card .leader-photo {
  display: block;
  margin-right: 20px;
}

aside .leader-card a {
  color: var(--colour-brown-dark);
  display: block;
  text-align: center;
  text-decoration: none;
}
aside .leader-card a:hover {
  text-decoration: revert;
}

.leader-card .leader-name span {
  display: block;
  font-size: 0.8125rem;
  font-weight: 300;
}

#breeding-range {
  display: block;
  width: 100%;
}

/* Support
--------------------------------------------- */

.support {
  background-color: var(--colour-brown-dark);
  text-align: center;
  padding: 65px var(--universal-padding) 100px;
}

.support h2 {
  color: var(--colour-yellow);
  font-size: 4rem;
  line-height: 1.05;
  margin: 0 auto 50px;
  text-transform: uppercase;
  width: 90%;
}

.support p {
  color: var(--colour-blue-light);
  font-size: 1.5rem;
  line-height: 1.2;
  margin: 0 auto 45px;
}

.support .button,
#map .button {
  background-color: var(--colour-yellow);
  color: var(--colour-brown-dark);
  font-size: 1.25rem;
  text-decoration: none;
  display: block;
}

/* Front Page
--------------------------------------------- */

.front-page .section-hero {
  height: 500px;
  color: var(--colour-blue-light);
}

.front-page .section-hero .max-width-wide {
  position: relative;
  height: 100%;
}

.front-page .section-hero .text-container {
  position: absolute;
  top: 120px;
  left: 0;
}
.front-page .section-hero .text-container h1 {
  font-size: 3rem;
  line-height: 1.3;
  letter-spacing: -1%;
  text-transform: uppercase;
  margin: 0;
}

.front-page .section-hero .text-container p {
  font-size: 1.875rem;
  line-height: 1.2;
  margin-top: 40px;
}

/* Sightings
--------------------------------------------- */

.sighting-page aside {
  padding-block: 2rem;
}

#what-do-they-look-like {
  background-color: var(--colour-brown-dark);
  height: 400px;
}

#what-do-they-look-like .max-width {
  height: 100%;
}

#what-do-they-look-like h2 {
  background: url(./img/Bindi.jpg);
  background-position: top center;
  background-size: cover;
  color: var(--colour-yellow);
  display: block;
  font-size: 3.75rem;
  text-transform: uppercase;
  line-height: 1.2;

  height: 100%;
  margin: 0;

  padding-inline: var(--universal-padding);
  padding-top: 2rem;
}

.owl-scientific {
  background: var(--colour-blue-light);
}
.owl-scientific aside,
.owl-scientific article {
  background: transparent;
}
.owl-scientific article img {
  margin-block: 2rem;
}
.owl-scientific:nth-of-type(even) {
  background: var(--colour-white);
}

/* Grasslands
--------------------------------------------- */
.grassland-page .hero-image {
  object-position: 0 20%;
}
.grassland-page .download-resource {
  text-align: right;
  margin-block: 2rem;
}
.grassland-page .download-resource img {
  max-width: 180px;
}
.grassland-page .download-resource .button,
.sighting-page .wpcf7-form input[type='submit'] {
  display: block;
  background-color: var(--colour-brown-dark);
  color: var(--colour-yellow);

  border-radius: 42px;
  font-family: var(--header-font);

  padding: 10px 25px;

  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
}

#where-to-begin {
  background: var(--colour-blue-light);
  padding-block: 2rem;
}

#where-to-begin aside {
  background: none;
  text-align: right;
}
#where-to-begin article {
  background: none;
  color: black;
}
#where-to-begin article h2 {
  color: inherit;
  font-size: 3.5rem;
  margin-top: 0;
}
#where-to-begin details summary {
  background-color: var(--colour-brown-dark);
  color: var(--colour-yellow);
  font-size: 1.25rem;
  padding: 0.5rem 1rem;
  text-transform: uppercase;
}
#where-to-begin details:nth-of-type(even) summary {
  background-color: #006b97;
}

#where-to-begin details {
  background-color: #f2f5f7;
  color: black;
  margin: 0;
}

#where-to-begin details h4 {
  color: black;
  font-size: 1.25rem;
  padding-inline: 1rem;
}
#where-to-begin details h4 a {
  color: inherit;
  display: block;
}

#where-to-begin details p {
  padding-inline: 1rem;
  padding-bottom: 1rem;
  margin-bottom: 0;
}
/* Footer
--------------------------------------------- */
.site-footer {
  background-color: var(--colour-white);
  color: var(--colour-brown-dark);
  padding-top: 20px;
}

.site-footer-logo {
  width: 260px;
  height: auto;
}

.site-footer .site-footer-container {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 90px;
  padding-inline: 50px;
}

.site-footer .site-footer-columns {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.site-footer .footer-menu #footer-nav {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.site-footer .footer-menu #footer-nav li {
  font-size: 1rem;
  margin-bottom: 0.875rem;
}
.site-footer .footer-menu #footer-nav .sub-menu {
  list-style: none;
  padding-left: 0;
}

.site-footer .site-footer-columns h3,
.site-footer .site-footer-columns h4 {
  margin: 0;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.site-footer .site-footer-columns h3 {
  font-size: 1.5rem;
}

.site-footer a {
  color: inherit;
  text-decoration: none;
}
.site-footer a:hover {
  text-decoration: revert;
}

.site-footer .site-info {
  font-size: 0.9375rem;
  font-weight: 500;
  margin-top: 20px;
}
.site-footer .site-info p {
  margin-bottom: 6px;
}

.site-footer .site-info a img {
  display: inline-block;
  height: 0.875rem;
}

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

/* Navigation
--------------------------------------------- */
.main-navigation {
  display: block;
  /* width: 100%; */
}

.main-navigation ul {
  display: none;
  list-style: none;
  margin: 0;
  padding-left: 0;
}

.main-navigation ul ul {
  box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
  float: left;
  position: absolute;
  top: 100%;
  left: -999em;
  z-index: 99999;
}

.main-navigation ul ul ul {
  left: -999em;
  top: 0;
}

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

.main-navigation ul ul a {
  width: 200px;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
  left: auto;
}

.main-navigation li {
  position: relative;
  box-sizing: border-box;
  transition: background-color 0.3s;
}
.main-navigation .sub-menu li:hover {
  background-color: var(--colour-blue-light);
}

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

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
  display: block;
}
/***/
.main-navigation {
  /* background-color: var(--colour-brown-light); */
  position: absolute;
  top: 0;
  right: 0;
  height: 61px;
  width: 96px;
  transition: background-color 0.3s, height 0.3s;
}

.menu-nav-menu-container {
  display: none;
}
/*
.main-navigation ul {
  align-items: center;
  display: flex;
  height: 120px;
  justify-content: space-between;
  transition: height 0.3s;
}

.main-navigation ul.scrolled {
  height: 60px;
}

.main-navigation ul li a {
  color: var(--text-header-gray);
}

.main-navigation ul .current_page_item {
  position: relative;
}

.main-navigation ul li a::after {
  background-image: url(./img/underline.svg);
  background-repeat: no-repeat;
  background-size: 100% 6px;
  bottom: -6px;
  content: "";
  display: block;
  height: 6px;
  position: absolute;
  width: 0;
  left: 50%;
  transform: translateX(-50%);
  transition: width 0.3s;
}

.main-navigation ul li a:hover::after {
  width: 100%;
}

.main-navigation ul .current_page_item a::after {
  transition: none;
  width: 100%;
} */
/*************/
.menu-toggle {
  aspect-ratio: 1;
  background: url('img/hamburger.svg') white;
  border: none;
  width: 42px;
  right: 0;
  position: absolute;
  margin: 20px;
}
.main-navigation.toggled .menu-toggle {
  background: url('img/hamburger-x.svg') var(--colour-brown-light);
}
.main-navigation.toggled {
  background-color: var(--text-white);
  color: var(--colour-yellow);
  font-size: 1.5rem;
  height: auto;
  width: 100%;
}

.main-navigation.toggled .menu-nav-menu-container {
  background-color: var(--colour-brown-light);
  display: block;
  height: 100vh;
}
.main-navigation.toggled #primary-menu {
  flex-direction: column;
  gap: 0;
}

.main-navigation.toggled #primary-menu a {
  font-size: 1.5rem;
  margin-bottom: 12px;
}
.main-navigation.toggled #primary-menu .menu-item-129 > a,
.main-navigation.toggled #primary-menu .menu-item-177 > a {
  display: none;
}

.main-navigation.toggled ul {
  height: auto;
  padding-block: 20px;
  padding-top: 56px;
  text-align: center;
}
.main-navigation.toggled ul li {
  /* padding-block: 0.75rem; */
  /* margin-bottom: 10px; */
}

.main-navigation.toggled #primary-menu .sub-menu {
  background: none;
  box-shadow: none;
  position: revert;
  float: none;
  padding-block: revert;
  width: 100%;
}
.main-navigation.toggled #primary-menu .sub-menu li {
  padding-block: none;
}
.main-navigation.toggled #primary-menu .sub-menu .menu-separator {
  display: none;
}
.main-navigation.toggled #primary-menu .sub-menu a {
  width: 100%;
}

/***/

@media screen and (min-width: 64em) {
  .menu-toggle {
    display: none;
  }

  .main-navigation {
    background: none;
    position: revert;
    height: auto;
    width: auto;
  }

  .main-navigation ul {
    display: flex;
  }
}

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

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
  display: flex;
}

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

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

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

.post,
.page {
  margin: 0 0 1.5em;
}

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

.page-content,
.entry-content,
.entry-summary {
  margin: 1.5em 0 0;
}

.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;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* 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;
}

/* media Queries
--------------------------------------------- */

@media screen and (min-width: 37.5em) {
  /* Tablet */

  .max-width,
  .max-width-wide {
    padding-inline: var(--universal-padding);
  }

  .support .support-buttons {
    width: 50%;
  }

  .site-footer .site-footer-columns {
    flex-direction: row;
  }

  .front-page .section-hero {
    height: 800px;
  }

  .front-page .section-hero .text-container {
    top: 100px;
  }

  .front-page .section-hero .text-container h1 {
    font-size: 6.875rem;
    line-height: 1;
  }

  .two-column {
    background: linear-gradient(
      90deg,
      var(--colour-yellow) 50%,
      var(--colour-white) 50%
    );
  }
  .two-column .max-width {
    flex-direction: row;
  }

  .two-column aside {
    padding: 0;
    padding-right: 60px;
    width: 30%;
  }

  .two-column article {
    padding-left: 60px;
  }

  #map aside {
    width: 50%;
  }

  .support h2 {
    font-size: 5.375rem;
  }

  .support p {
    font-size: 1.875rem;
    width: 70%;
  }

  #what-do-they-look-like h2 {
    padding-left: 30%;
  }

  .owl-scientific {
    background: var(--colour-blue-light);
  }

  .about-us-page h1,
  .region-page h1 {
    font-size: 3.75rem;
  }
}
@media screen and (min-width: 64em) {
  /* Desktop */
  .support .support-buttons {
    /* grid-template-columns: repeat(1, 1fr) !important; */
  }

  .site-footer .site-footer-container {
    flex-direction: row;
  }

  .menu-nav-menu-container {
    display: block;
  }
}

#footer-nav .sub-menu li.menu-separator a {
  font-size: 0.8rem;
  font-weight: bold;
}

.no-click,
.no-click .menu-separator a {
  pointer-events: none;
  user-select: none;
}

.no-click ul a,
#site-navigation .no-click {
  pointer-events: auto;
  user-select: auto;
}

#primary-menu .sub-menu li.menu-separator,
#footer-nav .sub-menu li.menu-separator {
  pointer-events: none !important;
  user-select: none;
  padding-bottom: 0;
}

#primary-menu .sub-menu li.menu-separator a {
  color: var(--colour-brown-light);
  font-size: 1rem;
}

.support .support-buttons {
  margin: 0 auto;
  text-align: start;
}

.support .support-buttons details p {
  margin: 0 0 45px;
}

#map details summary::marker,
.support .support-buttons details summary::marker {
  font-size: 0.75em;
}

#map details summary,
.support .support-buttons details summary {
  color: var(--colour-yellow);
  cursor: pointer;
  font-family: var(--header-font);
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

#map details summary {
  color: var(--colour-brown-dark);
}

#table-contents {
  list-style: none;
}

#table-contents li {
  margin-bottom: 1rem;
}

#table-contents li a {
  color: var(--colour-brown-dark);
  font-weight: bold;
  text-decoration: none;
}

#table-contents li a:hover {
  text-decoration: revert;
}

.wp-block-image figcaption {
  /* display:none; */
}
