/*!
Theme Name: onehundredseneca
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
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: onehundredseneca
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.

onehundredseneca 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%;
  overflow-x: hidden;
}

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

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

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

ul {
  list-style: disc;
}

li {
  margin-bottom: 1em;
}

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

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

/* Links
--------------------------------------------- */
a,
a:visited {
  color: var(--dark-blue);
  text-decoration: none;
  font-weight: 500;
}

a:hover,
a:focus,
a:active {
  color: var(--gold);
}

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

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

/* Navigation
--------------------------------------------- */
.main-navigation {
  display: block;
  width: 100%;
  padding-right: calc(var(--padding) / 2);
}

.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;
  /* margin-left: 15px; */
  /* padding-left: 15px; */
  /* border-left: 1px solid var(--gold); */
}

.primary-menu-left li {
  border-left: unset;
  padding-left: 0;
  /* border-right: 1px solid var(--gold); */
  /* padding-right: 15px; */
  /* text-align: right; */
}

.main-navigation a {
  display: block;
  text-decoration: none;
  /* color: var(--gold); */
  color: var(--grey);
  line-height: 1.2em;
  font-weight: 300;
}

.main-navigation a:hover {
  color: var(--gold);
}

.menu-toggle {
  display: none;
}

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

body {
  overflow-x: hidden;
  position: relative;
}

.post,
.page {
  margin: 0;
}

.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;
  padding: 0 var(--padding);
}

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

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
  display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
  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;
}

/* My CSS */

:root {
  --grey: #f0f0f0;
  --dark-blue: #113366;
  --light-blue: #d3d9e1;
  --gold: #e4ba85;
  --black: #404040;

  --body: "Futura";
  --headline: "Bodoni";

  --padding: calc(8px * 4);
  --max-width: calc(1200px);
  --max-width-small: calc(8px * 56);
}

@font-face {
  font-family: "Futura";
  src: url("fonts/Futura Lt BT Light.woff2") format("woff2"),
    url("fonts/Futura Lt BT Light.woff") format("woff");
  font-weight: 200;
  font-style: normal;
}
/* @font-face {
  font-family: "Futura";
  src: url("fonts/Futura Bk BT Light.woff2") format("woff2"),
    url("fonts/Futura Bk BT Light.woff") format("woff");
  font-weight: 400;
  font-style: normal;
} */
@font-face {
  font-family: "Futura";
  src: url("fonts/Futura Bold.woff2") format("woff2"),
    url("fonts/Futura Bold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
}
@font-face {
  font-family: "Bodoni";
  src: url("fonts/BodoniFLF Regular.woff2") format("woff2"),
    url("fonts/BodoniFLF Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "Bodoni";
  src: url("fonts/BodoniFLF-Italic.woff2") format("woff2"),
    url("fonts/BodoniFLF-Italic.woff") format("woff");
  font-weight: normal;
  font-style: italic;
}

body {
  font-family: "Futura", sans-serif;
  font-weight: 200;
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--black);
  background-color: var(--grey);
  text-wrap: balance;
}

h1 {
  font-family: "Bodoni";
  font-weight: 200;
  margin: 0 0 1.8rem;
  font-size: 120px;
  letter-spacing: -0.05em;
  /* font-style: italic; */
  /* text-transform: uppercase; */
}

h2,
h3 {
  font-family: "Bodoni";
  font-weight: 600;
  margin: 0 0 1.8rem;
}

h4,
h5,
h6 {
  font-family: "Futura";
  font-weight: 300;
  margin: 0 0 1.8rem;
}

h2 {
  font-weight: 200;
  letter-spacing: normal;
  line-height: 1em;
  font-size: calc(8px * 9);
  letter-spacing: -0.02em;
}

h3 {
  font-weight: 300;
  /* letter-spacing: -0.01em; */
  line-height: 1.1em;
  font-size: calc(8px * 5);
  letter-spacing: -0.02em;
  /* text-transform: uppercase; */
}

h4 {
  font-weight: 800;
  font-size: 1em;
  letter-spacing: -0.02em;
  /* letter-spacing: -0.02em; */
  /* line-height: 1.3em; */
  /* font-size: calc(8px * 4); */
  /* text-transform: uppercase; */
}

.huge-text {
  font-family: "Bodoni";
  line-height: 0.75em;
  font-size: clamp(120px, 12vw, 200px);
  font-weight: 200;
  letter-spacing: -0.03em;
  /* font-style: italic; */
  /* text-transform: uppercase; */
  z-index: 1;
  position: relative;
  display: block;
}

.huge-text__over {
  z-index: 3;
  margin-top: -0.75em;
}

p {
  margin-top: 0;
}

.site-header {
  position: absolute;
  z-index: 10;
  padding: var(--padding);
  /* display: grid; */
  grid-template-columns: auto 1fr;
  width: 100%;
  justify-items: space-between;
  align-items: center;
  /* background: var(--dark-blue);
  position: relative;
  padding: calc(var(--padding) / 2) var(--padding);
    border-bottom: 1px solid var(--gold); */
}

.centered-navigation-wrapper {
  display: flex;
  justify-content: center; /* Centers the group of items */
  align-items: center; /* Vertically aligns items */
  width: 100%; /* Or a specific max-width if you prefer */
  padding: 0 var(--padding); /* Example padding */
}

/* Style for the individual menu lists */
.primary-menu-left,
.primary-menu-right {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex; /* Lays out menu items in a row */
  align-items: center;
}

.primary-menu-left li,
.primary-menu-right li {
  margin: 0 15px;
  text-align: center;
}

.primary-menu-left li a,
.primary-menu-right li a {
  text-decoration: none;
  /* Add your link styling */
}

.site-branding-centered {
  margin: 0 20px; /* Space between menus and logo */
  line-height: 0; /* Helps if logo has extra space */
}

.site-branding-centered .custom-logo-link img {
  /* max-height: 50px; */
  width: auto;
}

/* Adjust menu toggle position if needed for this new layout */
.centered-navigation-wrapper .menu-toggle {
  /* Example: If you want it at the very end */
  /* margin-left: auto; */
  /* Or hide on desktop if it's mobile only */
  /* display: none; */
}

.site-branding-mobile {
  display: none; /* Hide on desktop */
}

/* Responsive adjustments might be needed */
@media (max-width: 768px) {
  // Example breakpoint
  .centered-navigation-wrapper {
    /* Revert to a different layout for mobile, e.g., stack items or show toggle */
    /* display: block;  Or flex-direction: column; */
  }
  .primary-menu-left,
  .primary-menu-right {
    /* display: none; // Hide desktop menus, show mobile menu via toggle */
  }
  .site-branding-centered {
    /* Adjust for mobile */
  }
  /* Ensure .menu-toggle is visible and functional for mobile */
  .centered-navigation-wrapper .menu-toggle {
    display: flex; /* Or block, depending on its structure */
  }
}

/* .menu-toggle {
  display: none;
} */

.custom-logo-link {
  width: 240px;
  /* aspect-ratio: 1; */
  /* padding: 20px; */
  /* object-fit: cover; */
  object-position: center;
  /* background: var(--dark-blue); */
  border-radius: 20px;
  line-height: 0;
}

#primary-menu {
  /* display: inline-block; */
  float: right;
}

a.button,
.wp-block-button__link {
  background-color: transparent;
  border: 1px solid;
  border-radius: 10px;
  padding: 15px 30px;
  text-transform: uppercase;
  /* font-weight: 500; */
  /* font-size: 17px; */
  letter-spacing: 0.05em;
  line-height: 1em;
  color: inherit;
  transition: all 0.2s;
  margin-top: 0.5rem;
  display: inline-block;

  &:hover {
    border-color: var(--dark-blue);
    background: var(--dark-blue);
    color: #fff;
  }
}

.oval {
  display: inline-block;
  position: absolute;
  left: 50%;
  top: 160px;
  transform: translateX(-50%);
  z-index: 2;
  width: clamp(300px, 50vw, 600px);
  /* max-width: 80%; */
  border-radius: clamp(300px, 50vw, 600px);
  aspect-ratio: 1/3;
  border: 1px solid #fff;
  z-index: 1;
}

section {
  margin-top: calc(var(--padding) * 3);
}

.ornament {
  width: 500px;
  height: 100%;
  opacity: 0.5;
  mask-image: url(images/ornament.svg);
  mask-repeat: no-repeat;
  mask-size: contain;
}

.badge {
  background: var(--light-blue);
  border-radius: 50%;
  padding: 8px;
  width: 120px;
  aspect-ratio: 1;
  position: absolute;
  z-index: 2;
  transform-origin: center;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
  transition: transform 0.5s ease-out;
  transform: rotate(0deg);
}

.separator {
  /* max-width: var(--max-width); */
  width: 300px;
  height: 100px;
  margin: 3rem auto;
  background: var(--light-blue);
  mask-image: url(images/separator.svg);
  mask-size: calc(100% / 3);
  mask-repeat: repeat-x;
  /* mask-position: center; */
}

.accordion {
  margin: 1em 0 0 0;
}

.accordion:first-child {
  margin-top: 0;
}

.accordion-trigger {
  font-size: inherit;
  width: 100%;
  padding: 1em;
  padding-right: 2em;
  background: unset;
  border: unset;
  border-bottom: 1px solid var(--light-blue);
  text-align: left;
  cursor: pointer;
  position: relative;
  transition: background 0.3s ease;
  border-radius: 0;

  &:hover {
    border-bottom: 1px solid var(--dark-blue);
    /* border: 1px solid var(--light-blue); */
    /* background-color: var(--light-blue); */
  }

  &:focus {
    /* border: 1px solid var(--light-blue); */
  }

  & h4 {
    margin-bottom: 0;
  }
}

.accordion-trigger[aria-expanded="true"] {
  /* background-color: var(--light-blue); */
}

.accordion-trigger::after {
  content: "+";
  position: absolute;
  right: 1em;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.3s ease;
}

.accordion-trigger[aria-expanded="true"]::after {
  transform: translateY(-50%) rotate(45deg);
}

.accordion-panel {
  /* padding: 1em; */
  /* background: white; */
  /* border: 1px solid var(--light-blue); */
  margin-top: 1em;
  /* border-radius: calc(var(--padding) / 2); */

  & p:last-child {
    margin-bottom: 0;
  }
}

.accordion-panel[hidden] {
  display: none;
}

/* <-- Homepage --> */

/* .home-hero {
  background-size: cover;
  background-position: center;
  width: 100%;
  margin-top: 0;
  color: white;
  overflow: hidden;
  position: relative;
  background: var(--dark-blue);
  line-height: 0;
  aspect-ratio: 5/3;
  max-height: 90vh;

  &:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    background: white;
    mask-image: url(images/bg-seamless-3.png);
    mask-repeat: repeat;
    mask-size: 400px;
  }

  .huge-text {
    margin-top: 300px;
    left: -20px;
  }

  .huge-text__over {
    margin-bottom: 0;
    position: absolute;
    top: 0;
    left: -30px;
    text-align: left;
  }

  & img {
    position: absolute;
    left: 0;
    top: 20%;
    width: 105%;
    max-width: unset;
    object-position: 50% 0%;
    transform: translateZ(0);
    will-change: transform;
    transition: transform 0.1s linear;
  }
} */

.home-hero {
  margin-top: 0;
  position: relative;
  width: 100%;
  height: 100vh; /* Or your desired hero height */
  overflow: hidden; /* Crucial for sliders */

  &:after {
    content: "";
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to bottom, #000 40%, transparent 100%);
    opacity: 0.6;
  }
}

.hero-slider {
  /* This is the .swiper-container */
  width: 100%;
  height: 100%;
}

.swiper-slide {
  display: flex; /* For centering content if needed */
  justify-content: center;
  align-items: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  position: relative; /* For absolute positioning of captions */
}

.swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover; /* This will cover the slide area, cropping if necessary */
}

/* Optional: Styling for captions on each slide */
.hero-slide-caption {
  position: absolute;
  bottom: 30px; /* Adjust as needed */
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  background-color: rgba(0, 0, 0, 0.6);
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 1rem; /* Adjust as needed */
  z-index: 10; /* Ensure it's above the image */
}

/* Basic styling for Swiper navigation arrows and pagination */
/* You'll likely want to customize these to match your theme */
.swiper-button-prev,
.swiper-button-next {
  color: #fff !important;
  /* background: #fff; */
  /* border: 1px solid #fff; */
  display: block;
  width: 40px !important;
  height: 40px !important;
  border-radius: 50%;
  --swiper-navigation-size: 10px;
}

.swiper-button-prev:after,
.swiper-button-next:after {
  font-size: 20px !important;
  /* font-weight: 400 !important; */
}

.swiper-pagination-bullet {
  background: #fff;
  opacity: 0.6;
}

.swiper-pagination-bullet-active {
  opacity: 1;
  background: var(--gold);
}

.scroll-down-indicator {
  position: absolute;
  bottom: 130px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  cursor: pointer;
  font-family: "Futura", sans-serif;
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  position: relative;
  padding-bottom: 20px;
}

.scroll-down-indicator::after {
  content: "";
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 0;
  background: rgba(255, 255, 255, 0.8);
  animation: lineGrow 2s infinite ease-in-out;
}

@keyframes lineGrow {
  0% {
    height: 0;
    opacity: 0;
  }
  50% {
    height: 20px;
    opacity: 1;
  }
  100% {
    height: 40px;
    opacity: 0;
  }
}

.home-intro {
  position: relative;
  margin: 0 auto;
  margin-top: calc(var(--padding) * 3);
  max-width: 1800px;

  /* .ornament {
    width: 300px;
    aspect-ratio: 6/2;
    z-index: 1;
    background-color: var(--gold);
    opacity: 1;
    mask-image: url(images/ornament-5.svg);
  }

  .ornament-left {
    position: relative;
    margin: calc(var(--padding) * 2) auto 0 auto;
  }

  .ornament-right {
    display: none;
    left: 100%;
    transform: translate(-50%, -50%);
  } */

  .container {
    text-align: center;
    max-width: var(--max-width);
    padding: 0 var(--padding);
    margin: 0 auto;
    position: relative;
    z-index: 2;
    /* text-wrap: pretty; */
    text-wrap: balance;
  }

  .badge {
    top: -155px;
    right: 100px;
  }

  .vertical-left,
  .vertical-right {
    font-size: 12px;
    letter-spacing: 0.05em;
    font-weight: 400;
    text-transform: uppercase;
    transform: rotate(-90deg);
    position: absolute;
    top: 50%;

    .rotated {
      position: relative;
      white-space: nowrap;
      left: 0%;
      top: 0%;
      position: absolute;
      transform: translate(-50%);
      line-height: 0em;

      &:before,
      &:after {
        content: "";
        display: inline-block;
        width: 50px;
        height: 1px;
        background: var(--dark-blue);
        margin: 0.2em 1em;
      }
    }
  }
  .vertical-left {
    left: 5%;
  }
  .vertical-right {
    right: 5%;
  }
}

.ornament-center-1 {
  width: 300px;
  aspect-ratio: 7/2;
  z-index: 1;
  background-color: var(--gold);
  opacity: 1;
  mask-image: url(images/ornament-5.svg);
  position: relative;
  margin: calc(var(--padding) * 2) auto 0 auto;
}

.home-links {
  .container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: calc(var(--padding) / 2);
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--padding);
    justify-items: center;

    .link-item {
      text-align: center;

      &:hover img {
        /* border: 1px solid var(--dark-blue); */
        padding: calc(var(--padding) / 3);
      }

      &:hover a:after {
        left: 0.5em;
      }

      & img {
        width: 100%;
        max-width: 400px;
        aspect-ratio: 1/2;
        /* border: 1px solid var(--gold); */
        /* padding: clamp(10px, 1.2vw, 15px); */
        border-radius: var(--padding);
        object-fit: cover;
        object-position: center;
        transition: all 0.2s;
        display: block;
        margin-bottom: calc(var(--padding) / 2);
      }

      & a {
        text-transform: uppercase;
        color: inherit;
        font-weight: 400;
        display: inline-block;
        max-width: 180px;
        line-height: 1.3em;

        &:after {
          content: "\27F6";
          display: inline-block;
          position: relative;
          top: -0.2em;
          left: 0;
          transition: all 0.2s;
        }
      }
    }
  }
}

.home-feature {
  position: relative;
  margin-top: calc(var(--padding) * 5);

  .ornament {
    position: absolute;
    left: 0;
    transform: translateX(-50%);
    background: var(--gold);
    opacity: 0.25;
  }

  .container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--padding);
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    position: relative;
    z-index: 2;
    gap: calc(var(--padding) * 2);

    /* .feature-content {
      max-width: var(--max-width-small);
    } */
    .feature-image {
      position: relative;
      /* transform: translateY(calc(var(--padding) * 1)); */

      /* &:before {
        content: "";
        width: var(--max-width-small);
        aspect-ratio: 4 / 7;
        border-radius: 300px;
        background: var(--light-blue);
        position: absolute;
        top: calc(var(--padding) * -3);
        right: 0;
        transform: translateX(50%);
      } */

      & img {
        /* width: var(--max-width-small); */
        aspect-ratio: 1;
        object-fit: cover;
        /* border: 1px solid var(--gold); */
        /* padding: clamp(10px, 1.2vw, 15px); */
        border-radius: var(--padding);
        object-fit: cover;
        object-position: center;
        transition: all 0.2s;
        float: right;
        position: relative;
        /* transform: translateX(50%); */
      }
    }
  }
}

.home-highlights {
  container-type: inline-size;

  .highlights-image {
    padding: 0 var(--padding);
    line-height: 0;
    margin-bottom: var(--padding);
    text-align: center;

    & img {
      border-radius: var(--padding);
      width: 100%;
      max-width: 1600px;
      aspect-ratio: 7/4;
      /* max-height: 900px; */
      object-fit: cover;
    }
  }

  .general-content {
    position: relative;

    .container {
      max-width: var(--max-width);
      margin: 0 auto;
      padding: 0 var(--padding);
      display: grid;
      grid-template-columns: 1fr 2fr;
      gap: 0;

      .left-column,
      .right-column {
        padding: var(--padding) var(--padding) var(--padding) var(--padding);
        min-width: 0; /* Prevent overflow */
        /* hyphens: auto; */
        /* overflow-wrap: break-word; */

        & img.alignnone,
        & figure img {
          /* width: calc(100% + var(--padding) * 2); */
          width: 100%;
          max-width: unset;
          border-radius: var(--padding);
          margin: 1em 0;
          /* margin-bottom: -1em  ; */
          /* transform: translateX(calc(var(--padding) * -2)); */
        }

        & figure {
          position: relative;
          overflow: hidden;
          /* border-radius: var(--padding); */
        }

        & figcaption {
          text-align: center;
          font-size: 16px;
          margin-top: -0.5em;
          margin-bottom: 0em;
          /* padding: 0; */
          /* font-weight: 600; */
          /* opacity: 0.8; */
          /* position: absolute;
          bottom: 0;
          left: 0;
          color: white;
          background: var(--dark-blue);
          z-index: 2;
          padding: 0.5em; */
        }

        .gallery {
          margin: 2em 0;
          padding: 0;
        }

        .gallery-item {
          margin: 0;

          & img {
            margin: 0;
          }
        }

        & h2 {
          /* min-width: 0; */
          /* word-wrap: break-word; */
          /* overflow-wrap: break-word; */
          /* -webkit-hyphens: auto;
          -ms-hyphens: auto;
          hyphens: auto; */
        }

        & h6 {
          position: relative;
          text-transform: uppercase;
          font-weight: 400;
          margin-bottom: 1em;

          &:before {
            content: "";
            display: inline-block;
            width: 30px;
            height: 1px;
            background: var(--black);
            transform: translateY(-0.3em);
            margin: -1em 1em 0 0;
          }
        }

        .boxed {
          background: white;
          /* color: var(--dark-blue); */
          /* border: 1px solid var(--light-blue); */
          padding: var(--padding);
          border-radius: calc(var(--padding) / 2);
          width: calc(100% + var(--padding) * 2);
          margin: 0 calc(var(--padding) * -1) 2em;
        }
      }

      &:not(:first-child) {
        .left-column,
        .right-column {
          padding-top: 0;

          & li * {
            margin-bottom: 0;
          }
        }
      }
    }

    &:before {
      /* max-width: var(--max-width); */
      /* content: ""; */
      position: relative;
      width: 100px;
      height: 100px;
      margin: 0 auto 3rem;
      background: var(--light-blue);
      mask-image: url(images/separator.svg);
      mask-size: calc(100% / 1);
      mask-repeat: repeat-x;
      display: block;
    }
  }
}

.home-feature,
.home-highlights {
  .ornament {
    /* mask-image: url(images/ornament-5.svg); */
    position: absolute;
    top: 50%;
    width: auto;
    height: 90%;
    max-height: 600px;
    /* max-width: 500px; */
    aspect-ratio: 7/10;
    z-index: 0;
    background-color: var(--gold);
    opacity: 0.25;
  }

  .ornament-left {
    left: 0%;
    transform: translate(-50%, -50%);
  }

  .ornament-right {
    left: 100%;
    transform: translate(-50%, -50%);
  }
}

.bottom-highlights {
  .container {
    max-width: var(--max-width);
    margin: 0 auto;
    /* margin-top: calc(var(--padding) * -4); */
    padding: 0 var(--padding);

    .section-title {
      text-align: center;
      margin-bottom: calc(var(--padding) * 2);
    }

    &.grid {
      display: flex;
      gap: calc(var(--padding) * 1);
      align-items: start;
    }

    .content-block {
      /* border: 1px solid white; */
      flex: 1;
      background: white;
      padding-right: var(--padding);
      border-radius: var(--padding);
      padding: var(--padding) var(--padding) var(--padding) var(--padding);

      & img {
        aspect-ratio: 1/1;
        object-fit: cover;
        object-position: center;
        border-radius: calc(var(--padding) / 2);
      }

      & h2,
      & h3 {
        margin-top: 0;
        margin-bottom: calc(var(--padding) / 2);
      }

      & p:last-child {
        margin-bottom: 0;
      }

      & h6 {
        position: relative;
        text-transform: uppercase;
        font-weight: 400;
        margin-bottom: 1em;

        &:before {
          content: "";
          display: inline-block;
          width: 30px;
          height: 1px;
          background: var(--black);
          transform: translateY(-0.3em);
          margin: -1em 1em 0 0;
        }
      }
    }
  }
}

.home-gallery {
  margin-top: calc(var(--padding) * 3);
  position: relative;
  container-type: inline-size;

  &:before {
    content: "";
    position: relative;
    width: 300px;
    height: 100px;
    margin: 0 auto 5rem;
    background: var(--light-blue);
    mask-image: url(images/separator.svg);
    mask-size: calc(100% / 3);
    mask-repeat: repeat-x;
    display: block;
  }

  .container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--padding);
  }

  .gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(200px, auto);
    gap: var(--padding);
    margin-bottom: var(--padding);
  }

  /* First image spans 2 columns */
  .gallery-item:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
  }

  /* Second image takes 1 column */
  .gallery-item:nth-child(2) {
    grid-column: 3;
    grid-row: 1;
  }

  /* Third image takes 1 column */
  .gallery-item:nth-child(3) {
    grid-column: 3;
    grid-row: 2;
  }

  /* Fourth image spans 1 column */
  .gallery-item:nth-child(4) {
    grid-column: 1;
    grid-row: 3;
  }

  /* Fifth image spans 2 columns */
  .gallery-item:nth-child(5) {
    grid-column: 2 / span 2;
    grid-row: 3;
  }

  .gallery-item {
    position: relative;
    overflow: hidden;
    line-height: 0;
    border-radius: var(--padding);

    & img {
      width: 100%;
      height: 100%;

      object-fit: cover;
      border-radius: var(--padding);
      transition: transform 0.3s ease;
    }
  }

  /* Responsive adjustments */
  @container (max-width: 768px) {
    .gallery-grid {
      grid-template-columns: repeat(2, 1fr);
    }

    .gallery-item:nth-child(1) {
      grid-column: span 2;
      grid-row: span 1;
    }

    .gallery-item:nth-child(2),
    .gallery-item:nth-child(3) {
      grid-column: auto;
      grid-row: auto;
    }

    .gallery-item:nth-child(5) {
      grid-column: span 2;
    }
  }

  @container (max-width: 480px) {
    .gallery-grid {
      grid-template-columns: 1fr;
    }

    .gallery-item:nth-child(1),
    .gallery-item:nth-child(5) {
      grid-column: 1;
    }
  }
}

.page-template-default {
  text-wrap: pretty !important;

  .default-content {
    max-width: 900px;
    margin: 0 auto;
    margin-top: calc(var(--padding) * 3);
    padding: 0 var(--padding);

    h3 {
      margin: 2rem 0 1rem 0;
    }
  }
}

/* <-- Pillar Page --> */

.page-template-default,
.page-template-page-pillar,
.page-template-page-timeline,
.page-template-page-blog {
  .pillar-hero {
    background: var(--dark-blue);
    width: 100%;
    /* min-height: 600px; */
    margin-top: 0;
    /* padding-bottom: calc(var(--padding) * 2); */
    color: white;
    overflow: visible;
    position: relative;

    &:before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      opacity: 0.1;
      background: white;
      mask-image: url(images/bg-seamless-3.png);
      mask-repeat: repeat;
      mask-size: 400px;
    }

    .huge-text {
      font-size: clamp(80px, 10vw, 120px);
      line-height: 0.8em;
      text-align: center;
      padding: 2.5em 8vw 1.5em 8vw;
      max-width: 1200px;
      margin: 0 auto;
      position: relative;
      z-index: 5;
      text-shadow: 0 0 20px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.2),
        0 0 60px rgba(0, 0, 0, 0.1);
    }

    .featured-image {
      position: absolute;
      width: 100%;
      top: 0;
      height: 100%;
      /* width: 100%; */
      /* aspect-ratio: 16/9; */
      /* max-width: var(--max-width); */
      /* margin: 0 auto; */
      /* padding: 0 100px; */
      /* left: 50%; */
      /* height: calc(100% + 0px); */
      /* top: 180px; */
      /* transform: translateX(-50%); */
      /* aspect-ratio: 1/3; */
      z-index: 1;
      text-align: center;

      & img {
        /* width: 100%; */
        width: 100%;
        height: 100%;
        /* aspect-ratio: 2/1; */
        object-fit: cover;
        object-position: center;
        /* border: 1px solid #fff; */
        /* padding: clamp(10px, 1.2vw, 15px); */
        position: relative;
        /* margin-bottom: calc(100% / (16 / 9) / 2 * -1); */
        /* border-radius: var(--padding); */
        /* max-width: 1600px; */
        /* border-radius: 500px; */
        /* max-width: var(--max-width); */
      }

      &:before {
        content: "";
        position: absolute;
        bottom: -2px;
        left: 0;
        width: 100%;
        height: 50%;
        aspect-ratio: 16/9;
        background: var(--grey);
        /* margin-bottom: calc(100% / (16 / 9) / 2 * -1); */
      }

      &:after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 70%;
        background: linear-gradient(to bottom, #000 30%, transparent 100%);
        opacity: 0.6;
      }
    }
  }

  .home-intro {
    /* margin-top: calc(calc(var(--padding) * 3) + 100px); */
    /* margin-top: calc(var(--padding) * 3); */
  }

  .gallery {
    position: relative;

    .ornament {
      position: absolute;
      bottom: 0%;
      width: auto;
      height: 50vw;
      max-height: 1200px;
      aspect-ratio: 2/3;
      z-index: 1;
      background-color: var(--light-blue);
    }

    .ornament-left {
      left: 0%;
      transform: translate(-50%, 0%);
    }

    .ornament-right {
      left: 100%;
      transform: translate(-50%, 0%);
    }

    .container {
      max-width: var(--max-width);
      width: 100%;
      margin: 0 auto;
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      grid-template-rows: repeat(3, 1fr);
      gap: calc(var(--padding) / 2);
      align-items: center; /* Or align-items: stretch; if you want items to fill height by default */
      position: relative;
      z-index: 2;

      & .gallery-image-wrapper {
        display: block;
        height: 100%;
        border-radius: var(--padding);
        overflow: hidden; /* Crucial for ensuring the image is clipped to the wrapper's bounds */
        position: relative;

        & img {
          display: block;
          position: absolute;
          top: 0;
          left: 0;
          width: 100%;
          height: 100%;
          object-fit: cover;
          /* border-radius can be on the wrapper, so not strictly needed here if wrapper has overflow:hidden */
        }
      }

      & .gallery-image-wrapper:nth-child(1) {
        grid-column: 1 / span 2; /* Takes 2 columns width */
        grid-row: 1 / span 3; /* Spans 2 rows height. The aspect-ratio will define its actual height. */
        aspect-ratio: 1 / 1; /* This forces the WRAPPER div to be a square. */
        /* Its height will be equal to its width (determined by 2 columns). */
      }

      & .gallery-image-wrapper:nth-child(2) {
        grid-column: 3 / span 1; /* Third column */
        grid-row: 1 / span 1; /* First row */
      }

      & .gallery-image-wrapper:nth-child(3) {
        grid-column: 3 / span 1; /* Third column */
        grid-row: 2 / span 2; /* Second row, aligns with the bottom of the square first image */
      }
    }
  }

  .pillar-feature {
    position: relative;
    padding: calc(var(--padding) * 1);
    padding-bottom: calc(var(--padding) * 1.5);
    /* margin-bottom: calc(var(--padding) * 3); */
    /* border-top: 15px solid var(--grey); */
    /* border-bottom: 15px solid var(--grey); */
    /* outline: 1px solid var(--gold); */
    margin-top: -20vw;
    padding-top: 20vw;

    background-color: var(--gold);

    &:before {
      /* content: ""; */
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      opacity: 0.3;
      background: #fff;
      mask-image: url(images/ornament-2-seamless.png);
      mask-repeat: repeat;
      mask-size: 400px;
      z-index: 0;
    }

    .container {
      max-width: var(--max-width);
      margin: 0 auto;
      padding: 0 var(--padding);
      display: grid;
      grid-template-columns: 1fr 2fr;
      /* gap: calc(var(--padding) * 2); */
      position: relative;
      z-index: 2;

      .left-column,
      .right-column {
        padding: var(--padding) var(--padding) var(--padding) var(--padding);
      }
    }

    .badge {
      right: 100px;
    }
    .ornament {
      position: absolute;
      top: 0;
      right: 0;
      width: auto;
      height: 200%;
      max-height: 1200px;
      aspect-ratio: 2/3;
      transform: translate(50%, -25%);
      background-color: var(--light-blue);
    }

    .highlights-image {
      position: relative;
      width: 100%;
      text-align: center;
      /* aspect-ratio: 2/1;
      border-radius: 500px;
      overflow: hidden;
      width: 100%;
      max-width: var(--max-width);
      margin: 0 auto;
      position: relative;
      z-index: 2; */
      margin-bottom: calc(var(--padding) * -2);

      & img {
        aspect-ratio: 2/1;
        object-fit: cover;
        border-radius: 500px;
        overflow: hidden;
        width: 100%;
        max-width: var(--max-width);
        /* margin: 0 auto; */
        position: relative;
        z-index: 2;
        border: 1px solid #fff;
        padding: clamp(10px, 1.2vw, 15px);
      }

      .plain-bg {
        background-color: var(--grey);
        width: calc(100% + var(--padding) * 4);
        height: calc(50% + var(--padding) * 2);
        position: absolute;
        left: calc(var(--padding) * -2);
        bottom: calc(var(--padding) * -2);
        z-index: 1;
      }
    }

    .button {
      background-color: var(--dark-blue);
      color: white;
      border: 1px solid var(--dark-blue);

      &:hover {
        border-color: var(--grey);
        background: var(--grey);
        color: var(--dark-blue);
      }
    }
  }

  .home-highlights {
    /* margin-top: 0; */
    margin: 0;
    margin-bottom: calc(var(--padding) * -3);
    padding: 4em 0;
    position: relative;
    z-index: 3;

    .huge-text {
      display: none;
      color: var(--light-blue);
      left: -30px;
      margin-top: -0.5em;
    }

    .huge-text-first {
      margin-bottom: calc(var(--padding) * -1);
    }

    .huge-text-last {
      margin-top: calc(var(--padding) * -1);
    }

    .highlights-image {
      position: relative;
      z-index: 3;
      padding-left: 100px;
      padding-right: 100px;
      margin: 0 auto;
      margin-bottom: 3em;
      margin-top: 1em;

      & img {
        border: 1px solid var(--gold);
        padding: clamp(10px, 1.2vw, 15px);
      }
    }
  }
}

.timeline-wrapper {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  /* height: 80vh; */
  /* overflow: hidden; */
  position: relative;
  margin: 140px 0;
}

.timeline-wrapper .ornament {
  position: absolute;
  left: 0;
  transform: translateX(-50%);
  background: var(--gold);
  opacity: 0.3;
}

.scroll-hint {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 12px;
}

.scroll-hint-text {
  background: rgba(255, 255, 255, 0.95);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  color: #666;
  border: 1px solid var(--light-blue);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
}

.scroll-arrow {
  cursor: pointer;
  user-select: none;
  padding: 0 4px;
  transition: color 0.2s ease;
}

.scroll-arrow:hover {
  color: var(--light-blue);
}

.timeline-container {
  height: 100%;
  overflow: hidden;
  position: relative;
}

.timeline-content {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
}

/* Timeline line and markers */
.timeline-line {
  position: absolute;
  width: calc(100% - 0px);
  /* width: calc(100% - 400px); */
  left: 0px;
  height: 1px;
  background: var(--dark-blue);
  top: 330px;
  /* transform: translateY(-50%); */
}

/* Timeline items container */
.timeline-items {
  display: flex;
  position: relative;
}

.timeline-item {
  flex: 0 0 400px;
  margin-right: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
  position: relative;
}

/* Create a separate marker container that doesn't inherit opacity/transform */
.timeline-item::after {
  content: "";
  position: absolute;
  top: 320px;
  /* Match the timeline-line top position */
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--dark-blue);
  z-index: 2;
  /* Override parent's opacity and transform */
  opacity: 1 !important;
  transform: translateX(-50%) scale(1) !important;
}

/* Content wrapper to handle the opacity/transform animations */
.timeline-item-content {
  /* opacity: 0.3; */
  /* transform: scale(0.95); */
  transition: all 0.5s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
  width: 100%;
}

.timeline-spacer {
  width: 100%;
  height: 300px; /* Same as timeline-image height */
  position: relative;
}

.timeline-item.active .timeline-item-content {
  opacity: 1;
  transform: scale(1);
}

/* Rest of your existing styles remain the same */
.timeline-image {
  width: 300px;
  height: 300px;
  position: relative;
}

.timeline-image img {
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  user-drag: none;
  height: 100%;
  width: 100%;
  /* aspect-ratio: 1; */
  object-fit: cover;
  border-radius: 50%;
  padding: clamp(10px, 1.2vw, 15px);
  border: 1px solid var(--dark-blue);
}

.timeline-image:before {
  content: "";
  width: 1px;
  height: 30px;
  position: absolute;
  bottom: -30px;
  left: 50%;
  background: var(--dark-blue);
}

.timeline-info {
  background: white;
  border-radius: 40px;
  border: 1px solid var(--dark-blue);
  padding: 2rem;
  width: 100%;
  position: relative;
}

.timeline-info:before {
  content: "";
  width: 1px;
  height: 30px;
  position: absolute;
  top: -30px;
  left: 50%;
  background: var(--dark-blue);
}

.timeline-year {
  line-height: 1em;
  font-style: italic;
  font-family: var(--headline);
  font-size: 4rem;
  margin-bottom: 1rem;
}

.timeline-year span {
  font-size: 18px;
  display: block;
  font-family: "Futura";
  font-style: normal;
  /* text-transform: uppercase; */
  font-weight: 800;
  line-height: 1.4rem;
}

.timeline-item p {
  color: #666;
  line-height: 1.5;
}

.page-template-page-blog {
  .container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 100px;
    margin-top: calc(var(--padding) * 3);
  }

  .post-item {
    display: grid;
    grid-template-columns: 2fr 3fr;
    margin-bottom: calc(var(--padding) * 2);
    gap: var(--padding);
    align-items: start;

    .post-title a {
      color: var(--black);
    }

    & h2 {
      font-family: var(--headline);
      /* font-style: italic; */
      text-transform: unset;
      line-height: 0.9em;
      letter-spacing: -0.02em;
    }

    & h3 {
      font-weight: 400;
    }
  }

  .post-thumbnail {
    width: 100%;

    & img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      /* padding: clamp(10px, 1.2vw, 15px); */
      /* border: 1px solid var(--gold); */
      aspect-ratio: 5/4;
      border-radius: var(--padding);
    }
  }
}

.label {
  border-radius: 10px;
  padding: 15px 30px;
  text-transform: uppercase;
  font-weight: 400;
  /* font-size: 14px; */
  letter-spacing: 0.05em;
  line-height: 1em;
  color: var(--dark-blue);
  background: var(--light-blue);
  display: inline-block;
}

.single {
  .ornament {
    position: absolute;
    z-index: 1;
    top: 200px;
    right: 0;
    width: auto;
    height: 200%;
    max-height: 1200px;
    aspect-ratio: 2/3;
    transform: translate(50%, 0%);
    background-color: var(--grey);
    opacity: 0.2;
  }

  .post-thumbnail img {
    width: 100%;
    aspect-ratio: 3/2;
    border-radius: var(--padding);
    position: relative;
    z-index: 3;
    object-fit: cover;
  }

  .entry-header {
    padding-top: 240px;
    /* padding-bottom: 30vw; */
    background: var(--dark-blue);
    color: #fff;

    .button {
      color: var(--gold);
      border: 1px solid var(--gold);
      margin-bottom: 1em;
      display: inline-block;
    }

    .button,
    .label {
      position: relative;
      z-index: 3;
    }

    .button:hover {
      /* background: var(--gold); */
      color: var(--grey);
      border: 1px solid var(--grey);
    }

    & h1 {
      margin-top: var(--padding);
      margin-bottom: calc(var(--padding) * 1);
      text-transform: unset;
      line-height: 0.9em;
      letter-spacing: -0.04em;
    }

    & h3 {
      /* font-weight: 300; */
      /* letter-spacing: -0.01em; */
      margin-bottom: 0;
      font-size: calc(8px * 4);
      line-height: 1.2em;
    }
  }

  .entry-header .container,
  .entry-content {
    /* width: 66%; */
    /* margin-left: 34%; */
    max-width: var(--max-width);
    margin-left: auto;
    margin-right: auto;
  }

  .entry-content {
    max-width: 800px;
    padding: 0 var(--padding);

    & figure img {
      border-radius: var(--padding);
    }
  }

  .post-thumbnail {
    position: relative;
    background-color: var(--dark-blue);
    padding: 4rem 100px 2rem;
    margin-top: -1px;
    /* margin-bottom: calc(var(--padding) * 1.5); */

    &:before {
      content: "";
      position: absolute;
      bottom: -1px;
      left: 0;
      width: 100%;
      height: 50%;
      /* aspect-ratio: 16 / 9; */
      background: var(--grey);
      /* margin-bottom: calc(100% /(16 / 9) / 2* -1); */
    }

    & img {
      width: 100%;
      /* aspect-ratio: 2 / 1; */
      object-fit: cover;
      object-position: center;
      border-radius: var(--padding);
      /* border: 1px solid #fff; */
      /* padding: clamp(10px, 1.2vw, 15px); */
      position: relative;
      /* margin-bottom: calc(100% /(16 / 9) / 2* -1); */
    }
  }

  .container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--padding);
  }
}

.hover-trigger {
  position: relative;
  display: inline-block;
}

.hover-trigger i {
  font-size: inherit;
  color: var(--gold);
}

.hover-image {
  display: none;
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  max-width: 90vw;
  max-width: unset;
  border-radius: var(--padding);
  z-index: 10;
  padding: clamp(10px, 1.2vw, 15px);
  border: 1px solid var(--gold);
  background: white;
}

.hover-trigger:hover .hover-image {
  display: block;
}

form {
  margin-top: var(--padding);
  width: 100%;
  /* background: #fff !important;
  padding: var(--padding) !important;
  border-radius: var(--padding) !important; */

  .half .forminator-field {
    width: 50%;
  }

  .forminator-field {
    font-family: var(--body);
    /* display: flex; */
    /* flex-direction: column; */

    & input,
    & textarea {
      padding: 10px;
      border-radius: 10px;
      font-family: var(--body);
      font-size: 1.1rem;
      border-color: var(--light-blue);
      width: 100%;
    }
  }

  label {
    padding-left: 0.5em;
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    display: block;
    width: 100%;
  }

  button.forminator-button {
    background-color: var(--dark-blue);
    color: white !important;
    font-family: var(--body);
    border: unset;
    border-radius: 10px;
    padding: 15px 30px;
    text-transform: uppercase;
    /* font-weight: 500; */
    font-size: 17px;
    letter-spacing: 0.05em;
    line-height: 1em;
    color: inherit;
    transition: all 0.2s;
    margin-top: 0.5rem;
    display: inline-block;
    width: 300px;

    &:hover {
      background: var(--gold);
      color: var(--dark-blue) !important;
      /* border-color: var(--light-blue); */
    }
  }
}

.site-footer {
  /* margin: 0 calc(var(--padding) * 2); */
  margin-top: calc(var(--padding) * 3);
  padding-top: calc(var(--padding) / 2);
  padding-bottom: calc(var(--padding) / 2);
  background-color: var(--light-blue);
  /* border-radius: var(--padding) var(--padding) 0 0; */
  position: relative;

  &:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.2;
    background: #fff;
    mask-image: url(images/bg-seamless-3.png);
    /* mask-image: url(images/ornament-2-seamless.png);     */
    mask-repeat: repeat;
    mask-size: 400px;
    z-index: 0;
  }

  .container {
    /* max-width: calc(var(--max-width) - var(--padding) * 2); */
    /* width: 100%; */
    max-width: unset;
    margin: 0 auto;
    padding: var(--padding);
    padding-bottom: calc(var(--padding) / 2);
    /* background: #fff; */
    /* color: var(--light-blue); */
    /* padding: var(--padding); */
    /* text-align: center; */
    /* border-radius: var(--padding); */
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--padding);
  }

  & h1 {
    color: var(--light-blue);
    line-height: 0.8em;
    text-align: left;
  }

  & h4 {
    margin-bottom: 0;
  }

  .button {
    background-color: #fff;
    color: var(--dark-blue);
    border: unset;

    &:hover {
      border-color: var(--grey);
      background: var(--grey);
      color: var(--dark-blue);
    }
  }

  .social-media {
    display: inline-block;
    margin-top: 0.5em;
    /* position: absolute; */
    /* right: 20px; */
    /* top: 20px; */
    /* left: 50%; */
    /* transform: translateX(-50%); */

    a {
      display: inline;
      width: 2em;
      /* height: 40px; */
      margin: 0 5px;
      color: var(--gold);
      /* float: left; */

      &:hover {
        color: var(--dark-blue);
      }

      svg {
        width: 2em;
        fill: var(--dark-blue);
        transition: all 0.3s;

        &:hover {
          fill: var(--dark-blue);
        }
      }
    }
  }

  .footer-column {
    width: 100%;
    /* padding: calc(var(--padding)); */
    /* padding-right: var(--padding); */
    /* display: grid; */
    /* grid-template-columns: auto 1fr; */
    /* gap: var(--padding); */
    text-align: center;
    /* border-top: 1px solid var(--light-blue); */
    position: relative;

    /* &:before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 30px;
      border-radius: var(--padding) var(--padding) 0 0;
      border: 1px solid var(--light-blue);
      border-bottom: 0;
    } */
  }

  .footer-column:last-child {
    grid-column: 1 / span 3;
    text-align: center;
    margin-top: var(--padding);
  }

  .footer-column:last-child:before {
    display: none;
  }

  & small {
    display: block;
    line-height: 1.4em;
  }
}

@container (max-width: 1120px) {
  .home-highlights .container {
    grid-template-columns: 1fr 1fr;

    .content-block:nth-child(3) {
      grid-column: 1 / -1;
      width: calc(50% - var(--padding));
      margin: 0 auto;
    }
  }
}
