/*!
Theme Name: talassa
Theme URI: http://underscores.me/
Author: Jorge Ribeiro
Author URI: http://jribeiro.org
Description: Description
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: talassa
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

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

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

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/
/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/
/*--------------------------------------------------------------
# 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%;
  scroll-behavior: smooth;
}

/* 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
--------------------------------------------------------------*/
/* Variables
--------------------------------------------- */
:root {
  --color-bg: #f7f6f3;
  --color-shade: #f0ede2;
  --color-primary: #115eb9;
  --color-dark: #20242b;
  --color-primary-dark: #1d3455;
  --color-text-main: #404040;
  --color-text-lighter: #5f5e55;
  --color-text-light: #8c8c8c;
  --color-text-dark: #f7f6f3;
  --color-text-dark-shade: #a7acb2;
  --color-border: #d9d9d9;
  --color-danger-01: #ee3940;
  --color-danger-02: #ffd9e2;
  --dimens-max-width: 1200px;
  --dimens-margin: 24px;
  --dimens-margin-md: 32px;
  --dimens-margin-lg: 48px;
  --dimens-margin-xl: 64px;
  --dimens-padding: 16px;
  --dimens-gap: 16px;
  --font-body: "Montserrat", sans-serif;
  --font-heading: "Lora", serif;
  --font-size-small: 13px;
}

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
  color: var(--color-text-main);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
}

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

.h1 {
  margin-top: var(--dimens-margin-xl);
  margin-bottom: 8px;
  font-size: 48px;
  font-weight: 200;
  line-height: 1.2;
  text-transform: uppercase;
}

.h2 {
  font-size: 24px;
  font-weight: 300;
  line-height: 1.2;
  text-transform: uppercase;
}

.h3 {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.2;
  text-transform: uppercase;
}

.page-title {
  font-size: 32px;
  font-weight: 200;
  line-height: 1.1;
  text-transform: uppercase;
}

.tagline {
  font-family: var(--font-heading);
  font-size: 20px;
  font-style: italic;
  font-weight: 400;
  line-height: 0.9;
  color: var(--color-text-lighter);
}

@media screen and (min-width: 768px) {
  .page-title {
    font-size: 48px;
  }
  .tagline {
    font-size: 26px;
  }
  .h2 {
    font-size: 32px;
  }
}
p {
  margin-bottom: 1.5em;
}

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

blockquote {
  margin: 0 1.5em;
}

address {
  margin: 0 0 1.5em;
}

pre {
  margin-bottom: 1.6em;
  max-width: 100%;
  overflow: auto;
  padding: 1.6em;
}

abbr,
acronym {
  cursor: help;
}

mark,
ins {
  text-decoration: none;
}

big {
  font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
  background: var(--color-bg);
}

/* Links
--------------------------------------------- */
/* Forms
--------------------------------------------- */
select {
  padding: 8px 8px;
  border: 2px solid;
  background-color: #fff;
  font-size: 15px;
  text-transform: uppercase;
  cursor: pointer;
}

textarea {
  width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/
.container {
  max-width: var(--dimens-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-inline: var(--dimens-padding);
}

.center {
  display: flex;
  justify-content: center;
}

.button {
  display: inline-block;
  color: #fff;
  background-color: var(--color-primary);
  padding: 12px 32px;
  border: none;
  text-decoration: none;
  text-align: center;
  font-family: var(--font-body);
  font-size: 16px;
  transition: 300ms ease;
  cursor: pointer;
}
.button:hover {
  opacity: 0.8;
}

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

.page-id-23 .image-cover-width {
  height: 650px;
}

.grid-2,
.grid-3,
.grid-4,
.grid-2-1,
.grid-1-2 {
  display: grid;
  gap: var(--dimens-gap);
}

@media screen and (min-width: 768px) {
  .container {
    padding-inline: var(--dimens-margin);
  }
  .grid-2 {
    grid-template-columns: 1fr 1fr;
  }
  .grid-3 {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .grid-4 {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }
  .grid-2-1 {
    grid-template-columns: 2fr 1fr;
  }
  .grid-1-2 {
    grid-template-columns: 1fr 2fr;
  }
}
/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/
/* Navigation
--------------------------------------------- */
.main-navigation {
  display: block;
  width: 100%;
}
.main-navigation ul {
  list-style: none;
  margin: 0;
  padding-left: 0;
}
.main-navigation ul ul a {
  padding: 8px 16px;
  color: var(--color-text-main);
  text-decoration: none;
  transition: all 200ms;
  line-height: 1.4;
}
.main-navigation ul ul a:hover {
  background-color: var(--color-shade);
}
.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
  left: auto;
}
.main-navigation .nav-menu > li {
  position: relative;
}
.main-navigation .nav-menu > li:hover > a, .main-navigation .nav-menu > li.focus > a {
  opacity: 0.6;
}
.main-navigation a {
  display: block;
  text-decoration: none;
  color: var(--color-text-main);
  transition: all 300ms;
  padding-block: 4px;
}
.main-navigation .current_page_item > a,
.main-navigation .current-menu-item > a {
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-style: wavy;
}
.main-navigation .menu-item-object-custom a {
  text-decoration: none;
  font-weight: 400;
}

.menu-item-has-children {
  position: relative;
}
.menu-item-has-children > a {
  pointer-events: none;
}
.menu-item-has-children:hover ul {
  animation: animateSubMenu 300ms;
  display: block;
  opacity: 1;
}
.menu-item-has-children::after {
  pointer-events: none;
  position: absolute;
  right: 16px;
  top: 26px;
  content: "";
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 6px solid #807f7e;
}

.menu-right {
  display: flex;
  flex-direction: row-reverse;
  align-items: stretch;
  gap: 8px;
}

/* Small menu. */
.lock {
  overflow: hidden;
}
.lock .lang {
  display: none;
}

.menu-toggle {
  display: flex;
  align-items: center;
  gap: 2px;
  padding-inline: 8px;
  border: 2px solid;
  background-color: transparent;
  border-radius: 0;
}

.menu-toggle-close {
  display: none;
}

.menu-toggle-open {
  display: flex;
  align-items: center;
}

.menu-toggle[aria-expanded=true] {
  border: none;
  background-color: transparent;
}
.menu-toggle[aria-expanded=true] .menu-toggle-open {
  display: none;
}
.menu-toggle[aria-expanded=true] .menu-toggle-close {
  display: block;
}

.menu-toggle-close {
  display: none;
  background-color: transparent;
  border: none;
  align-items: center;
}

@media screen and (min-width: 920px) {
  .menu-toggle-close,
  .menu-toggle {
    display: none;
  }
  .main-navigation .menu {
    display: flex;
    gap: 24px;
  }
  .main-navigation .sub-menu {
    display: none;
    flex-direction: column;
    background-color: #fff;
    border: 2px solid;
    position: absolute;
    z-index: 99999;
    min-width: 200px;
    padding-block: 8px;
  }
  .menu-item-has-children a {
    padding-right: 12px;
  }
  .menu-item-has-children::after {
    right: 0;
    top: 13px;
  }
}
@media screen and (max-width: 919px) {
  .main-navigation {
    display: none;
    position: absolute;
    left: 0;
    bottom: 0;
    top: 60px;
    z-index: 99;
  }
  .main-navigation .menu-main-container {
    background-color: #fff;
  }
  .main-navigation a {
    padding: var(--dimens-padding);
    border-bottom: 1px solid;
  }
  .main-navigation .sub-menu {
    display: none;
    position: relative;
    border-bottom: 1px solid;
    padding-block: 8px;
    animation: none;
  }
  .main-navigation .sub-menu a {
    display: block;
    border-bottom: none;
    padding: var(--dimens-padding);
    color: #807f7e;
  }
  .main-navigation .menu {
    border-top: 1px solid;
  }
  .main-navigation.toggled {
    animation: animateMenuMobile 400ms;
    display: block;
  }
  .menu-item-has-children:hover ul {
    animation: none;
    display: block;
    opacity: 1;
  }
  .menu-menu-container {
    background-color: #fff;
  }
}
.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%;
}

@keyframes animateSubMenu {
  from {
    transform: translateY(-10px);
    opacity: 0;
  }
  to {
    display: block;
  }
}
@keyframes animateMenuMobile {
  from {
    transform: translateY(-100px);
    opacity: 0;
  }
  to {
    display: block;
    opacity: 1;
  }
}
/* Posts and pages
--------------------------------------------- */
.container {
  max-width: var(--dimens-max-width);
}

.site-main {
  margin-bottom: var(--dimens-margin-xl);
}

.page-header {
  padding: var(--dimens-margin-xl) 0 var(--dimens-margin);
}
.page-header .wp-block-quote {
  font-size: 22px;
  font-family: var(--font-heading);
  font-style: italic;
  line-height: 1.4;
  margin: 0;
}
.page-header .wp-block-quote p {
  margin: 0;
}

.content-title {
  margin-top: var(--dimens-margin-lg);
}

.content-panel {
  background-color: #fff;
  padding: var(--dimens-padding);
}

.content-header-text {
  position: absolute;
  inset: 0;
}

.entry-header {
  margin-bottom: var(--dimens-margin-lg);
}

.entry-content h2 {
  font-size: 18px;
}
.entry-content h2 + * {
  margin-top: 4px;
}
.entry-content h3:not(:first) {
  font-size: 15px;
  font-weight: 300;
  text-transform: uppercase;
  margin-top: var(--dimens-margin);
}
.entry-content h3:not(:first) + * {
  margin-top: 0;
}
.entry-content a {
  color: var(--color-primary);
  text-underline-offset: 3px;
  transition: all 300ms;
}
.entry-content a:hover {
  color: var(--color-text-main);
}
.entry-content ul {
  padding-left: 14px;
}
.entry-content blockquote {
  margin: 0 0 var(--dimens-gap);
  padding: 12px;
  background-color: #fff;
  border-bottom: 1px solid #d9d9d9;
}
.entry-content blockquote p {
  margin: 0;
}
.entry-content h2 + blockquote {
  margin-top: var(--dimens-margin);
}
.entry-content hr {
  max-width: 100px;
  margin: 0;
  margin-block: var(--dimens-margin);
}

.wp-block-separator {
  max-width: 100px;
  margin: 0;
  margin-block: var(--dimens-margin);
}

.box {
  background-color: var(--color-shade);
  padding: var(--dimens-padding);
}

.btn a {
  display: inline-block;
  padding: 6px 12px;
  border: 2px solid var(--color-primary);
  background-color: transparent;
  text-decoration: none;
  text-align: center;
  font-family: var(--font-body);
  font-size: 16px;
  transition: 300ms ease;
  cursor: pointer;
}
.btn a:hover {
  background-color: #fff;
}

/* Blog post  */
.post {
  margin-top: var(--dimens-margin-xl);
  margin-bottom: var(--dimens-margin-xl);
}
.post .entry-header {
  margin-bottom: var(--dimens-margin);
}
.post .h2 {
  text-transform: none;
}

.entry-title a {
  color: var(--color-text);
  text-decoration: none;
}
.entry-title a:hover {
  color: var(--color-primary);
}

.cat-links {
  display: inline-block;
  font-size: 14px;
  font-weight: 300;
  background-color: var(--color-primary);
}
.cat-links a {
  display: inline-block;
  padding-inline: 8px;
  padding-block: 2px;
  color: #fff;
  text-decoration: none;
}
.cat-links a:hover {
  background-color: var(--color-dark);
}

.posted-on {
  margin-bottom: 8px;
  color: var(--color-primary);
}

.package-list {
  row-gap: 64px;
}

.package img {
  width: 100%;
  object-fit: cover;
  height: 320px;
}

.package a {
  display: block;
  text-decoration: none;
  color: var(--color-text-main);
  transition: all 300ms;
}
.package a img {
  transition: all 300ms;
}
.package a:hover img {
  filter: grayscale(1);
}
.package a:hover .package-text {
  border: 2px solid;
  background-color: #fff;
  color: var(--color-primary);
}

.package-text {
  text-align: center;
  padding: var(--dimens-gap);
  margin-top: 3px;
  border: 2px solid var(--color-primary);
  transition: 150ms ease-out;
}

.package-title {
  font-size: 20px;
  font-weight: 300;
  line-height: 1.3;
}

.package-tagline {
  font-family: var(--font-heading);
  font-size: 16px;
  font-style: italic;
  font-weight: 400;
  color: var(--color-text-lighter);
  margin-bottom: 8px;
}

.package-price {
  font-size: 15px;
  color: var(--color-primary);
}

@media screen and (max-width: 768px) {
  .package img {
    height: 400px;
  }
}
/* 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 .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;
}

.site-header {
  display: flex;
  gap: var(--dimens-gap);
  justify-content: space-between;
  align-items: center;
}
.home .site-header {
  position: absolute;
  right: 0;
  left: 0;
  z-index: 9;
}

.site-title a {
  margin-block: var(--dimens-gap);
  display: block;
  transition: all 300ms;
}
.site-title a:hover {
  opacity: 0.6;
}
.site-title img {
  display: block;
  width: 60px;
}

.hero-title-container {
  padding-top: 40px;
}

@keyframes spin {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(100px);
  }
}
.lang {
  position: relative;
  z-index: 9;
}
.lang button {
  padding: 4px 8px;
  border: 2px solid;
  background-color: transparent;
  font-size: var(--font-size-small);
  text-transform: uppercase;
  cursor: pointer;
}
.lang ul {
  display: none;
  position: absolute;
  right: 0;
  padding: 0;
  margin: 0;
  margin-top: 4px;
  list-style: none;
  border: 2px solid;
  background-color: #fff;
}
.lang a {
  display: block;
  padding: 6px 12px;
  color: var(--color-text-main);
  text-decoration: none;
  transition: all 200ms;
}
.lang a:hover {
  background-color: #e2ddc0;
}
.lang.active ul {
  animation: animateSubMenu 400ms;
  display: block;
}

.cart-icon {
  position: relative;
  display: inline-flex;
  margin-right: 16px;
  margin-top: 3px;
  text-decoration: none;
}

.cart-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--color-primary);
  color: #fff;
  width: 20px;
  height: 20px;
  border-radius: 100%;
  font-size: 12px;
}

@media screen and (min-width: 920px) {
  .lang {
    display: block !important;
  }
}
@media screen and (max-width: 919px) {
  .site-header {
    height: 60px;
  }
  .site-title img {
    height: 48px;
    width: auto;
  }
}
.site-footer {
  padding-top: 32px;
  background-color: var(--color-dark);
  color: var(--color-text-dark-shade);
  font-size: var(--font-size-small);
  line-height: 1.7;
}
.site-footer a {
  color: var(--color-text-dark-shade);
  text-decoration: none;
  transition: all 200ms;
  border-bottom: 1px dotted #595f6a;
}
.site-footer a:hover {
  color: #fff;
}
.site-footer h3 {
  margin-bottom: 16px;
  font-weight: 300;
  font-size: var(--font-size-small);
  text-transform: uppercase;
  color: #8b8c90;
}
.site-footer ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}
.site-footer li {
  margin-bottom: 6px;
}
.site-footer .menu {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-info {
  margin-bottom: var(--dimens-margin-lg);
}

.footer-bottom {
  background-color: #1a1e24;
  font-size: 11px;
}
.footer-bottom .container {
  display: flex;
  gap: var(--dimens-gap);
  flex-direction: column-reverse;
}
.footer-bottom a {
  border-bottom: none;
}

.footer-col:not(:has(h3)) {
  margin-top: 2rem;
}

.footer-logo img {
  width: 60px;
  opacity: 0.7;
}

.footer-contact ul {
  display: flex;
  gap: 8px;
}

.footer-contact-icons {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-contact-icon {
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-contact-icon a {
  border-bottom: none;
}

.footer-stack {
  display: flex;
  flex-direction: column;
  gap: var(--dimens-gap);
}
.footer-stack h3 {
  margin-bottom: 4px;
}

.footer-payments img {
  max-width: 200px;
  width: 100%;
}

.footer-signature {
  max-width: 500px;
  opacity: 0.7;
  width: 100%;
  height: auto;
}

@media screen and (max-width: 767px) {
  .footer-col {
    margin-top: var(--dimens-margin);
  }
  .footer-col h3 {
    margin-bottom: 4px;
  }
}
@media screen and (min-width: 768px) {
  .site-info {
    display: grid;
    gap: var(--dimens-gap);
    grid-template-columns: 100px 1fr 1fr 1fr 200px;
  }
  .footer-logo {
    margin-top: 40px;
  }
  .footer-bottom .container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}
.dialog-contact {
  padding: 0;
  width: 700px;
  border-color: transparent;
}
.dialog-contact img {
  width: auto;
  height: auto;
}
.dialog-contact input[type=text],
.dialog-contact input[type=email],
.dialog-contact textarea {
  border: none;
  padding: 10px;
  width: 100%;
  border: 2px solid var(--color-text-main);
}
.dialog-contact p {
  margin-bottom: var(--dimens-padding);
}
.dialog-contact p:last-of-type {
  margin-bottom: 0;
  text-align: center;
}
.dialog-contact .wpcf7-spinner {
  margin-top: var(--dimens-gap);
}
.dialog-contact .button {
  width: 100%;
}

dialog::backdrop {
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(2px);
}

.form-error {
  display: none;
  margin-top: var(--dimens-gap);
  padding: 10px;
  border: 1px solid var(--color-danger-01);
  color: var(--color-danger-01);
  text-align: center;
}

.form-error.is-visible {
  display: block;
}

.form-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px var(--dimens-padding);
  font-weight: 600;
  font-size: 1.4rem;
}

.close {
  font-size: 24px;
  background-color: transparent;
  width: 44px;
  height: 44px;
}
.close:hover {
  background-color: var(--color-bg);
  cursor: pointer;
}

.form-content {
  padding: var(--dimens-padding);
}

.form-email {
  display: flex;
  align-items: center;
  gap: var(--dimens-gap);
  margin: 0 0 var(--dimens-gap);
  padding: var(--dimens-padding);
  background-color: var(--color-primary);
}
.form-email a {
  color: #fff;
  opacity: 0.8;
  border-bottom: 1px dotted #fff;
}
.form-email a:hover {
  opacity: 1;
}

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

.wpcf7-select {
  width: 100%;
}

.wpcf7 form .wpcf7-response-output {
  margin: 0;
  margin-top: var(--dimens-padding);
}

:root {
  --swiper-navigation-sides-offset: 0;
}

.swiper {
  width: 100%;
}

.swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  width: auto;
  height: 300px;
}

.swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.swiper-nav {
  position: absolute;
  top: 0;
  background-color: rgba(255, 255, 255, 0.4);
  height: 100%;
  width: 60px;
  z-index: 9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.swiper-nav-next {
  right: 0;
}

.swiper-button-disabled {
  display: none;
}

@media screen and (min-width: 500px) {
  .swiper-slide {
    height: 500px;
  }
}
/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/
/* Jetpack infinite scroll
--------------------------------------------- */
/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/
/* Accessibility
--------------------------------------------- */
/* Alignments
--------------------------------------------- */
/* Pages
--------------------------------------------- */
.about-image-full {
  height: 700px;
}
.about-image-full img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-content {
  position: relative;
  margin-block: var(--dimens-margin-xl);
  padding-bottom: 100px;
}
.about-content .page-title {
  grid-column: span 3;
  margin-bottom: var(--dimens-margin-lg);
}
.about-content .about-body {
  max-width: 700px;
  grid-column: 2/span 4;
}
.about-content .about-body h2 {
  font-size: 16px;
}
.about-content .about-body p {
  margin-top: 0;
}
.about-content::after {
  content: "";
  mix-blend-mode: multiply;
  position: absolute;
  background-image: url("images/cetacean2.webp");
  background-repeat: no-repeat;
  background-position: bottom left;
  background-size: 100%;
  right: 0;
  bottom: -110px;
  width: 400px;
  height: 300px;
}

.map-iframe {
  width: 100%;
  height: auto;
  aspect-ratio: 480/276;
  border: none;
  margin-top: var(--dimens-margin);
}

.about-section-why {
  padding-block: var(--dimens-margin-xl);
  background-color: #e8e4d1;
}

.why-content {
  max-width: 700px;
}

.about-section-team {
  margin-bottom: var(--dimens-margin-xl);
}
.about-section-team .container {
  margin-top: var(--dimens-margin-xl);
}
.about-section-team .page-title {
  text-align: center;
}

.about-member {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.about-member h3 {
  margin-top: var(--dimens-margin-md);
  margin-bottom: 0;
}

.about-member-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  column-gap: 48px;
  row-gap: var(--dimens-margin-lg);
  margin-top: var(--dimens-margin);
}
.about-member-list img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
}
.about-member-list h4 {
  margin-top: var(--dimens-gap);
  font-size: 15px;
  font-weight: 300;
  text-transform: uppercase;
}

.about-member-image {
  width: 60%;
  border-radius: 100%;
  overflow: hidden;
  filter: grayscale(100%);
}

.about-member-role {
  margin: 0;
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-style: italic;
}

.about-member-details {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 100%;
  font-size: var(--font-size-small);
  background-color: var(--color-primary);
  padding: var(--dimens-margin);
  text-align: left;
  opacity: 0;
  visibility: hidden;
  transition: opacity 300ms ease, visibility 300ms ease;
  display: flex;
  flex-direction: column;
  z-index: 99;
}
.about-member:hover .about-member-details {
  opacity: 1;
  visibility: visible;
}
.about-member-details h3 {
  margin: 0;
  color: #fff;
}
.about-member-details .about-member-role {
  margin-bottom: 8px;
}
.about-member-details p {
  margin: 0;
  color: #fff;
}

.about-member-section {
  margin-top: var(--dimens-margin-xl);
}

.about-member-section-title {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 20px;
  text-align: center;
  color: var(--color-primary);
}

.about-joinus {
  aspect-ratio: 1;
  border-radius: 50%;
  border: 2px solid var(--color-primary);
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  color: var(--color-primary-dark);
  transition: all 300ms;
}
.about-joinus:hover {
  background-color: var(--color-primary);
  color: #fff;
}

/* ===== Join us ===== */
.joinus-intro {
  max-width: 800px;
}

@media screen and (min-width: 768px) {
  .about-content {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
  }
  .about-content::after {
    bottom: -150px;
    width: 500px;
  }
  .about-member-image {
    width: 100%;
  }
}
/* ===== Talks ===== */
.talks-event {
  border-bottom: 1px solid;
  padding-block: var(--dimens-margin);
  gap: 0;
}
.talks-event h3 {
  margin-bottom: 0;
  text-transform: uppercase;
  color: var(--color-primary);
  font-weight: 300;
}
.talks-event h4 {
  margin-top: 0;
  font-size: 1.6rem;
  font-weight: 400;
}
.talks-event:first-of-type {
  border-top: 1px solid;
}

.cetaceans {
  margin-bottom: var(--dimens-margin-xl);
}
.cetaceans h2 {
  margin-top: var(--dimens-margin-lg);
  text-transform: uppercase;
  font-size: 24px;
  font-weight: 400;
}
.cetaceans h2 + h3 {
  margin-top: 8px;
}
.cetaceans h3 {
  margin-top: var(--dimens-margin);
  margin-bottom: 4px;
  text-transform: uppercase;
  font-size: 16px;
  font-weight: 300;
}

.cetaceans-header {
  background-color: var(--color-shade);
}

.cetaceans-header .container {
  position: relative;
}
.cetaceans-header .container::after {
  content: "";
  mix-blend-mode: multiply;
  position: absolute;
  background-image: url("images/cetacean1.webp");
  background-repeat: no-repeat;
  background-position: bottom left;
  background-size: 100%;
  width: 350px;
  height: 450px;
  right: 40px;
  bottom: -130px;
}

.cetaceans-header-grid {
  padding-bottom: 80px;
}
.cetaceans-header-grid .page-title {
  margin-bottom: 12px;
}
.cetaceans-header-grid .wp-block-group {
  break-inside: avoid;
}

.cetaceans-list {
  display: grid;
  gap: var(--dimens-gap);
}

.cetaceans-entry {
  display: flex;
  align-items: center;
  gap: var(--dimens-gap);
  color: #000;
  padding-inline: var(--dimens-padding);
  background-color: #fff;
  text-decoration: none;
  transition: all 300ms;
}
.cetaceans-entry:hover {
  opacity: 0.6;
}
.cetaceans-entry h5 {
  font-size: 18px;
  font-weight: 600;
}

.cetaceans-entry-img {
  width: 150px;
}
.cetaceans-entry-img img {
  display: block;
  width: 100%;
  height: auto;
}

.cetaceans-entry-latin {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 18px;
  color: var(--color-text-lighter);
}

.cetaceans-entry-tags {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  font-size: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cetaceans-entry-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 2px 4px;
}
.cetaceans-entry-tag .tag-state {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 23px;
  height: 23px;
  background-color: #fff;
  border-radius: 50%;
}

/* Single page
============================== */
.cetacean h3 {
  text-transform: uppercase;
  font-size: 15px;
  font-weight: 300;
}

.cetacean-header {
  margin-bottom: var(--dimens-margin-lg);
}

.cetacea-latin {
  font-family: var(--font-heading);
  font-size: 28px;
  font-style: italic;
}

.cetacean-block {
  margin-bottom: var(--dimens-margin);
}

.cetacean-content {
  display: flex;
  flex-direction: column-reverse;
}

.cetacean-side {
  margin-bottom: var(--dimens-margin-lg);
}
.cetacean-side img {
  width: 100%;
  background-blend-mode: darken, luminosity;
}
.cetacean-side h4 {
  margin-top: var(--dimens-margin);
  font-size: 14px;
  font-weight: 300;
  text-transform: uppercase;
}
.cetacean-side p {
  margin: 0;
  font-family: var(--font-heading);
}

@media screen and (min-width: 768px) {
  .cetaceans-header-grid {
    padding-bottom: 0;
  }
  .cetaceans-header .container {
    position: relative;
  }
  .cetaceans-header .container::after {
    bottom: -120px;
  }
  .cetaceans-header .container .wp-block-group {
    max-width: 700px;
  }
  .cetaceans-list {
    grid-template-columns: 1fr 1fr;
  }
  .cetacean-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 48px;
  }
}
.hero .container {
  position: relative;
}

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

.hero-title-container {
  position: absolute;
  width: 100%;
}

.hero-title {
  margin-top: var(--dimens-margin-lg);
  max-width: 500px;
  font-size: 32px;
  font-weight: 200;
  text-transform: uppercase;
  line-height: 1.2;
}

.home-subtitle {
  margin-top: var(--dimens-margin-lg);
  margin-bottom: var(--dimens-margin);
  font-size: 32px;
  font-weight: 400;
  line-height: 1;
}

.home-ww {
  margin-top: -100px;
  margin-bottom: 100px;
  position: relative;
}
.home-ww::after {
  content: "";
  mix-blend-mode: multiply;
  position: absolute;
  background-image: url("images/cetacean3.webp");
  background-repeat: no-repeat;
  background-position: bottom left;
  background-size: 100%;
  bottom: -150px;
  width: 350px;
  height: 250px;
}
.home-ww .h1 {
  margin-top: 0;
}
.home-ww p {
  margin-bottom: 0;
}
.home-ww .button {
  margin-top: var(--dimens-margin);
}

.home-block-link {
  text-decoration: none;
  color: var(--color-text);
  font-weight: 500;
}
.home-block-link:hover {
  color: var(--color-primary);
}

.home-col {
  display: flex;
  flex-direction: column;
  gap: var(--dimens-gap);
}

.home-block {
  padding: var(--dimens-margin-md);
  background-color: #fff;
  border: 2px solid;
}

.home-block-image {
  display: block;
  width: 100%;
  height: auto;
}

.block-row {
  margin-bottom: var(--dimens-gap);
}
.block-row img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.block-row-image {
  display: flex;
  justify-content: center;
  align-items: center;
  border: 2px solid;
  padding-block: var(--dimens-margin);
}
.block-row-image img {
  max-width: 70%;
  height: auto;
}

.block-links {
  padding-block: 16px;
  background-color: #fff;
  border: 2px solid;
}

.block-link {
  display: block;
  padding-inline: var(--dimens-margin-md);
  padding-block: 16px;
  text-decoration: none;
  color: var(--color-text);
  transition: all 300ms;
}
.block-link:hover {
  background-color: var(--color-bg);
  color: var(--color-primary);
}
.block-link:hover .block-link-tagline {
  color: var(--color-primary);
}

.block-link-title {
  font-size: 24px;
  font-weight: 300;
  line-height: 1.3;
}

.block-link-tagline {
  font-family: var(--font-heading);
  font-size: 18px;
  font-style: italic;
}

.home-resp {
  padding-block: var(--dimens-margin-lg);
  background-color: var(--color-shade);
}

.home-resp-header {
  margin-top: var(--dimens-margin-md);
  margin-bottom: var(--dimens-margin);
}
.home-resp-header svg {
  max-width: 140px;
  height: 140px;
  margin-right: var(--dimens-margin-md);
}
.home-resp-header .h1 {
  margin: 0;
}
.home-resp-header h3 {
  font-size: 22px;
  font-weight: 200;
}

.home-resp-text {
  font-weight: 300;
  line-height: 2;
}

.home-talks {
  padding: var(--dimens-margin-md);
  background-color: var(--color-primary);
  font-size: 20px;
  font-weight: 300;
}
.home-talks a {
  color: #fff;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.home-talks a:hover {
  text-decoration: none;
}

.home-talks-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--dimens-gap);
}

.hero-title,
.home-col {
  animation: fadeIn 4s;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.home-image-anim {
  overflow: hidden;
}
.home-image-anim img {
  animation-range: cover 0% cover 100%;
  animation: scale-up linear;
  animation-timeline: scroll(root);
  animation-iteration-count: 1;
}

@keyframes scale-up {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.4);
  }
}
@media screen and (min-width: 768px) {
  .home-image {
    height: 620px;
  }
  .home-ww {
    margin-bottom: 100px;
  }
  .home-ww::after {
    width: 450px;
  }
  .home-col:last-child {
    margin-top: 200px;
  }
}
@media screen and (max-width: 767px) {
  .section-links .block-row {
    display: flex;
    flex-direction: column-reverse;
  }
}
@media screen and (min-width: 900px) {
  .home-resp-header {
    display: flex;
    align-items: center;
  }
  .home-resp-header svg {
    width: 180px;
  }
  .home-resp-header-text {
    width: 60%;
  }
  .home-resp .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-left: 200px;
  }
  .home-resp-text {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--dimens-gap);
  }
  .home .hero-title-container {
    padding-top: 70px;
  }
}
.main-pico-azores .wp-block-columns {
  margin-bottom: var(--dimens-margin-xl);
}
.main-pico-azores .about-intro {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: var(--dimens-margin-lg);
}
.main-pico-azores .page-title {
  margin-left: auto;
  margin-right: auto;
}

.pico-beyond {
  padding-block: var(--dimens-margin-xl);
  background-color: var(--color-shade);
}
.pico-beyond h2 {
  margin-bottom: var(--dimens-margin-md);
}

.pico-map svg {
  width: 100%;
  height: 100%;
}
.pico-map svg .pins g {
  cursor: pointer;
}

.popover {
  opacity: 0;
  width: max-content;
  position: absolute;
  top: 0;
  left: 0;
  width: 500px;
  background: #fff;
  padding: var(--dimens-margin-md);
  border-radius: 8px;
  border: 2px solid;
  transition: all 300ms;
  transform: translateY(10px);
  pointer-events: none;
}
.popover[data-expanded=true] {
  pointer-events: all;
}

.popover-content {
  font-size: 15px;
}
.popover-content h3 {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 12px;
  line-height: 1;
}

.popover-arrow {
  position: absolute;
  background: #fff;
  width: 8px;
  height: 8px;
  border: 2px solid;
}
.popover-arrow::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  background: #fff;
  width: 8px;
  height: 8px;
  transform: translate(0px, -4px);
}

.popover-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background-color: transparent;
  position: absolute;
  top: 24px;
  right: 16px;
  border: none;
  font-size: 24px;
  cursor: pointer;
}

.pico-webcam-iframe {
  display: grid;
  gap: var(--dimens-gap);
}
.pico-webcam-iframe iframe {
  width: 100%;
}

@media screen and (min-width: 767px) {
  .main-pico-azores .about-intro {
    max-width: 60%;
    margin-bottom: var(--dimens-margin-xl);
  }
  .main-pico-azores .page-title {
    max-width: 60%;
  }
  .pico-webcam-iframe {
    grid-template-columns: 1fr 1fr;
  }
}
.ww-grid {
  margin-top: var(--dimens-margin-xl);
}

.ww-sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--dimens-gap);
}

.ww-link {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: var(--dimens-margin);
  background-color: var(--color-primary);
  color: #fff;
  font-size: 40px;
  font-weight: 200;
  line-height: 1.1;
  text-decoration: none;
  text-transform: uppercase;
  transition: all 300ms;
}
.ww-link:hover {
  opacity: 0.7;
}

.ww-link-block {
  min-height: 300px;
  background-image: url("images/map_small.svg");
  background-repeat: no-repeat;
  background-size: 80%;
  background-position: right 20px bottom 20px;
}

.ww-link-arrow {
  margin-top: 2px;
}

.ww-stats {
  position: relative;
  display: block;
  padding: var(--dimens-margin);
  background-color: var(--color-shade);
  padding: var(--dimens-margin);
  transition: all 300ms;
  color: var(--color-text-lighter);
  text-decoration: none;
  font-size: 14px;
  padding-bottom: 180px;
}
.ww-stats h2 {
  font-size: 32px;
}
.ww-stats:hover {
  background-color: #e1ded2;
}
.ww-stats::after {
  content: "";
  mix-blend-mode: multiply;
  position: absolute;
  background-image: url("images/cetacean-orca.webp");
  background-repeat: no-repeat;
  background-position: bottom left;
  background-size: 100%;
  width: 200px;
  height: 250px;
  right: var(--dimens-margin);
  bottom: var(--dimens-margin);
}

.ww-stats-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--dimens-margin);
}

.stats-header {
  background-color: var(--color-shade);
  padding-bottom: var(--dimens-margin-xl);
}
.stats-header .page-title {
  max-width: 350px;
}

.stats-table-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.stats-header-content {
  max-width: 800px;
}
.stats-header-content h2 {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 400;
  margin-bottom: var(--dimens-margin);
}
.stats-header-content .wp-block-separator {
  max-width: 100px;
  margin: 0;
  margin-block: var(--dimens-margin);
}

.wp-block-details summary {
  color: var(--color-primary);
  text-decoration: underline;
  list-style: none;
  text-underline-offset: 3px;
}

.wp-block-details summary::after {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
  margin-left: 8px;
  transition: transform 0.3s ease;
}

/* Rotate chevron when open */
.wp-block-details[open] summary::after {
  transform: rotate(45deg);
}

.stats-months {
  display: flex;
  gap: 2px;
  flex-wrap: wrap;
  list-style: none;
  margin: var(--dimens-margin) 0 12px;
  padding: 0;
  font-size: 14px;
}
.stats-months a {
  display: inline-block;
  padding: 4px 12px;
  color: var(--color-text-main);
  text-decoration: none;
  border: 1px solid transparent;
  transition: all 300ms;
}
.stats-months .inactive {
  opacity: 0.3;
  padding: 4px 12px;
}
.stats-months a:hover,
.stats-months .active a {
  background-color: #fff;
  border-color: var(--color-text-main);
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
}

.stats-table {
  background: #fff;
  width: 100%;
  border-top: 1px solid var(--color-text-lighter);
  border-bottom: 1px solid var(--color-text-lighter);
  border-collapse: collapse;
}
.stats-table thead th {
  font-size: 14px;
  font-weight: 400;
  padding-block: 4px;
}
.stats-table thead th:last-child {
  padding-right: 8px;
}
.stats-table thead tr:nth-child(-n+2) {
  border-bottom: 1px solid #d9d9d9;
}
.stats-table thead tr:nth-child(-n+2) th:first-child {
  color: var(--color-text-light);
  font-weight: 400;
  text-align: right;
  vertical-align: top;
  padding-right: 8px;
  min-width: 250px;
}
.stats-table thead tr[title=pm] {
  border-top: 1px solid #d9d9d9;
}
.stats-table tbody {
  border-top: 1px solid var(--color-text-lighter);
}
.stats-table tbody a {
  color: var(--color-primary);
  text-underline-offset: 3px;
  transition: all 300ms;
  font-size: 14px;
}
.stats-table tbody a:hover {
  color: var(--color-text-main);
}
.stats-table tbody tr {
  line-height: 1.2;
}
.stats-table tbody tr:nth-child(odd) td:first-child {
  padding-left: var(--dimens-padding);
}
.stats-table tbody tr:nth-child(even) {
  border-bottom: 1px solid #d9d9d9;
}
.stats-table tbody tr td {
  width: 20px;
  border-right: 1px solid #d9d9d9;
}
.stats-table tbody tr td:last-child {
  text-align: center;
}

.photos-header {
  background-color: var(--color-shade);
}
.photos-header a {
  color: var(--color-primary);
  text-underline-offset: 3px;
  transition: all 300ms;
}
.photos-header a:hover {
  color: var(--color-text-main);
}

.photos-header-content {
  padding-block: var(--dimens-margin-md);
  padding-inline: var(--dimens-padding);
}

.photos-cover {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.photos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: var(--dimens-gap);
  margin-top: var(--dimens-margin);
  margin-bottom: var(--dimens-margin-lg);
}
.photos-grid h4 {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.4;
}
.photos-grid p {
  margin: 0;
  font-size: 14px;
}

.photos-grid-item {
  background-color: #fff;
}
.photos-grid-item a {
  display: flex;
  flex-direction: column;
  padding: 16px 12px;
  color: var(--color-text-main-lighter);
  text-decoration: none;
  border: 2px solid transparent;
  transition: all 300ms;
}
.photos-grid-item.active a,
.photos-grid-item a:hover {
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.photos-cetaceans {
  margin-bottom: var(--dimens-margin);
}

.photos-cetaceans-item {
  position: relative;
}
.photos-cetaceans-item a {
  position: relative;
  z-index: 1;
  opacity: 0;
  line-height: 1.4;
}
.photos-cetaceans-item a:hover {
  background-color: var(--color-primary);
  color: #fff;
  opacity: 1;
}

.photos-cetaceans-bg {
  position: absolute;
  height: 100%;
  width: 100%;
  object-fit: cover;
}

::backdrop {
  background-color: rgba(0, 0, 0, 0.5);
}

.dialog {
  position: relative;
  padding: 0;
  border: none;
}
.dialog img {
  width: 100%;
  object-fit: cover;
}
.dialog .list-group {
  margin: 0;
  list-style: none;
  font-weight: 500;
}
.dialog .list-group span {
  font-weight: 300;
}
.dialog .list-group + ul {
  margin-top: var(--dimens-gap);
}

.dialog-close {
  position: absolute;
  right: var(--dimens-margin);
  top: var(--dimens-margin);
  background-color: transparent;
  border: none;
}

.dialog-content {
  display: flex;
  flex-direction: column;
  gap: var(--dimens-gap);
  padding: var(--dimens-margin-md);
}
.dialog-content h2 {
  margin-bottom: 12px;
}
.dialog-content .list-group {
  padding: 0;
}

/*   Open state of the dialog  */
dialog[open] {
  opacity: 1;
  transform: translateY(10px);
}

/*   Closed state of the dialog   */
dialog {
  opacity: 0;
  transform: translateY(0);
  transition: opacity 0.4s ease-out, transform 0.3s ease-in, overlay 0.4s ease-out allow-discrete, display 0.4s ease-out allow-discrete;
  /* Equivalent to
    transition: all 0.7s allow-discrete; */
}

/*   Before-open state  */
/* Needs to be after the previous dialog[open] rule to take effect,
      as the specificity is the same */
@starting-style {
  dialog[open] {
    opacity: 0;
    transform: translateY(0);
  }
}
/* Transition the :backdrop when the dialog modal is promoted to the top layer */
dialog::backdrop {
  background-color: rgba(0, 0, 0, 0);
  transition: display 0.4s allow-discrete, overlay 0.4s allow-discrete, background-color 0.7s;
  /* Equivalent to
    transition: all 0.7s allow-discrete; */
}

dialog[open]::backdrop {
  background-color: rgba(0, 0, 0, 0.25);
}

/* This starting-style rule cannot be nested inside the above selector
  because the nesting selector cannot represent pseudo-elements. */
@starting-style {
  dialog[open]::backdrop {
    background-color: rgba(0, 0, 0, 0);
  }
}
.pagination {
  display: flex;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.pagination a {
  display: inline-block;
  padding: 2px 12px;
  color: var(--color-text-main);
  text-decoration: none;
  transition: all 300ms;
}
.pagination a:hover {
  background-color: #fff;
}
.pagination .active a {
  color: var(--color-primary);
  font-weight: 500;
  background-color: #fff;
}

@media screen and (min-width: 768px) {
  .photos-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }
  .photos-header-wrapper {
    display: flex;
    justify-content: flex-end;
  }
  .photos-header-content {
    padding-block: var(--dimens-margin-xl);
    padding-inline: var(--dimens-margin);
    max-width: 600px;
  }
  .dialog {
    width: 80%;
  }
  .dialog img {
    width: 100%;
    height: 500px;
    object-fit: cover;
  }
  .dialog-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}
.page-contact .contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 100vh;
  gap: var(--dimens-margin-xl);
  grid-auto-rows: min-content;
  margin-top: var(--dimens-margin-xl);
}
.page-contact .contact-grid .contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--dimens-margin);
}
.page-contact .contact-grid .contact-info {
  margin-top: 118px;
}
.page-contact .contact-grid .contact-info-content {
  display: flex;
  flex-direction: column;
  gap: var(--dimens-margin);
  background-color: white;
  padding: var(--dimens-margin-md);
}
.page-contact .contact-grid .contact-info-icon {
  display: flex;
  align-items: center;
  gap: 4px;
}
.page-contact .contact-grid input {
  width: 100%;
}

@media (min-width: 768px) {
  .page-contact .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
  .page-contact .contact-grid .contact-form {
    grid-row-start: 1;
  }
  .page-contact .contact-grid .contact-info {
    grid-column-start: 2;
    margin-top: 118px;
  }
}

/*# sourceMappingURL=style.css.map */
