:root {
  --indent: 36px;
  --canvas: 50vh;
  --color-bg: #ffffff;
  --color-h2: #ec5c81;
  --color-h3: #4d4d4d;
  --font-size: 16px;
  font-size: var(--font-size);
}
@font-face {
  font-family: "century_gothicbold";
  src: url("../css/fonts/centurygothic_bold-webfont.woff2") format("woff2"),
    url("../css/fonts/centurygothic_bold-webfont.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "century_gothicregular";
  src: url("../css/fonts/centurygothic-webfont.woff2") format("woff2"),
    url("../css/fonts/centurygothic-webfont.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

/*


.montserrat-<uniquifier> {
  font-family: 'century_gothicregular';
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
}


.libre-caslon-text-regular {
  font-family: 'century_gothicbold';
  font-weight: 400;
  font-style: normal;
}

.libre-caslon-text-bold {
  font-family: 'century_gothicbold';
  font-weight: 700;
  font-style: normal;
}

.libre-caslon-text-regular-italic {
  font-family: 'century_gothicbold';
  font-weight: 400;
  font-style: italic;
}
*/

html,
body {
  height: 100%;
  margin: 0;
  font-family: "century_gothicregular", arial, sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: var(--font-size);
  color: var(--color-h3);
}
b,
strong {
  font-weight: 700;
}
i,
em {
  font-style: italic;
  font-weight: 400;
}
body {
}
b,
strong {
}
h1,
h2,
h3,
h4 {
  font-family: "century_gothicbold";
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
  text-transform: uppercase;
  padding-bottom: calc(var(--indent) / 2);
}
h1 {
  font-size: calc(var(--font-size) * 2);
  color: var(--color-bg);
}
h2 {
  font-size: calc(var(--font-size) * 1.5);
}
h3 {
}
h4 {
}
main {
  width: 100%;
  /*min-height: 100%;*/
  overflow-x: hidden;
}

header {
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  width: 100%;
  height: 180px;
  background: #fff;
}
header > * {
  position: relative;
  z-index: 2;
}

.logo {
  position: relative;
  margin-top: calc(var(--indent) / 2);
  margin-bottom: calc(var(--indent) / 1);
  width: 100%;
  text-align: center;
}
.logo img {
  width: 340px;
  height: auto;
}
.main-menu {
  position: relative;
  text-align: center;
  text-transform: uppercase;
  font-family: "century_gothicregular";
  font-weight: 500;
}
.main-menu a {
  color: var(--color-h2);
  text-decoration: none;
  margin-left: calc(var(--indent) / 2);
  margin-right: calc(var(--indent) / 2);
  font-size: var(--font-size);
  transition: color 0.2s ease, border-color 0.2s ease;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
}
.main-menu a:hover {
  color: var(--color-h2);
  border-bottom: 2px solid var(--color-h2);
}
.active {
  color: var(--color-h2) !important;
  padding-bottom: 4px;
  border-bottom: 2px solid var(--color-h2);
}

.hamburger {
  display: none;
  position: absolute;
  top: calc(var(--indent) - 2px);
  right: var(--indent);
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 30px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1000;
}

.hamburger span {
  width: 30px;
  height: 3px;
  background: var(--color-h2);
  border-radius: 3px;
  transition: all 0.3s linear;
  position: relative;
  transform-origin: 1px;
}

.hamburger.open span:first-child {
  transform: rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: translateX(20px);
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg);
}

/* Mobile Menu Styles */
.main-menu.mobile-open {
  position: fixed;
  top: 90px;
  left: 0;
  width: 100%;
  height: calc(100vh - 90px);
  background: rgba(255, 255, 255, 1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding-top: var(--indent);
  z-index: 998;
  opacity: 0;
  animation: fadeIn 0.5s ease-in-out forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.main-menu.mobile-open a {
  display: block;
  /*margin: calc(var(--indent) / 2) 0;*/
  font-size: calc(var(--font-size) * 1.2);
  padding: calc(var(--indent) / 2);
  width: 80%;
  text-align: center;
  opacity: 0;
  animation: fadeInItems 0.3s ease-in-out forwards;
}

.main-menu.mobile-open a:nth-child(1) {
  animation-delay: 0.1s;
}
.main-menu.mobile-open a:nth-child(2) {
  animation-delay: 0.2s;
}
.main-menu.mobile-open a:nth-child(3) {
  animation-delay: 0.3s;
}
.main-menu.mobile-open a:nth-child(4) {
  animation-delay: 0.4s;
}
.main-menu.mobile-open a:nth-child(5) {
  animation-delay: 0.5s;
}
.main-menu.mobile-open a:nth-child(6) {
  animation-delay: 0.6s;
}

@keyframes fadeInItems {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.main-menu.mobile-open a:hover {
  border-bottom: 2px solid transparent;
}

section {
  width: 100%;
  position: relative;
}
.fullscreen {
  width: 100%;
  height: 100dvh;
}
.coverme {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hometop-item {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.tabholder {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--indent);
  margin: var(--indent) auto;
  max-width: 800px;
}
.tab {
  text-align: left;
}
.tab p {
  width: 100% !important;
}
div.arrow-down {
  width: var(--indent);
  height: var(--indent);
  box-sizing: border-box;
  position: absolute;
  left: 50%;
  bottom: calc(3 * var(--indent));
  transform: rotate(135deg);

  &::before {
    content: "";
    width: 100%;
    height: 100%;
    border-width: 2px 2px 0 0;
    border-style: solid;
    border-color: var(--color-bg);
    transition: 0.2s ease;
    display: block;
    transform-origin: 100% 0;
  }

  &:after {
    content: "";
    float: left;
    position: relative;
    top: -100%;
    width: 100%;
    height: 100%;
    border-width: 0 0px 0 0; /*2px*/
    border-style: solid;
    border-color: var(--color-bg);
    transform-origin: 100% 0;
    transition: 0.2s ease;
  }

  &:hover::after {
    transform: rotate(45deg);
    border-color: var(--color-h3);
    height: 120%;
  }
  &:hover::before {
    border-color: var(--color-h3);
    transform: scale(0.8);
  }
  &:hover {
    cursor: pointer;
  }
}

/* Alternating styles for .home-items */
.home-items {
  text-align: center;
  line-height: 1.6em;
}
.home-item {
  padding: var(--indent);
}
.home-item a {
  color: var(--color-h2);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--color-h2);
}

/* Even items (2nd, 4th, 6th, etc.) */

.home-items:nth-child(even) {
  background-color: var(--color-h2);
  color: var(--color-bg);
}
/* Odd items (1st, 3rd, 5th, etc.) */

.home-items:nth-child(odd) {
  background-color: var(--color-bg);
  color: var(--color-h3);
}
.home-item-image img {
  width: 100%;
  height: auto;
}
.home-items p {
  max-width: 800px;
  width: 50vw;
  margin-left: auto;
  margin-right: auto;
}

.home-item-image-vertical {
  float: left;
  width: 25vw;
  height: auto;
  margin: var(--indent);
}
.home-item-image-vertical:nth-child(2) {
  padding-top: calc(var(--indent) * 3);
}
.home-item-image-vertical img {
  width: 100%;
  height: auto;
}
.caption {
  position: relative;
  text-align: left;
  font-family: "century_gothicbold";
  font-style: italic;
}
.caption h4 {
  font-family: "century_gothicregular";
  padding-bottom: 0;
  font-style: normal;
}
p {
  margin-bottom: calc(var(--indent) / 2);
}
.theme-holder {
  width: 100%;
  background-color: #e6e2e6;
  padding: var(--indent); /* Optional padding */
}
.theme {
  display: flex;
  flex-wrap: wrap; /* Allows wrapping if needed */
  max-width: 960px;
  margin-bottom: 20px; /* Optional spacing between rows */
  gap: var(--indent);
  margin: 0 auto;
  padding-bottom: var(--indent);
}

.theme-images,
.theme-text {
  box-sizing: border-box; /* Ensures padding/margins don't affect width */
  line-height: 1.6em;
}

/* Odd-numbered theme divs: image left (1/3), text right (2/3) */
.theme:nth-child(odd) .theme-images {
  width: calc(33.33% - var(--indent)); /* 1/3 width minus padding */
}

.theme:nth-child(odd) .theme-text {
  width: calc(66.67% - var(--indent)); /* 2/3 width minus padding */
}

/* Even-numbered theme divs: text left (2/3), image right (1/3) */
.theme:nth-child(even) {
  flex-direction: row-reverse; /* Reverses order: text first, then image */
}

.theme:nth-child(even) .theme-images {
  width: calc(33.33% - var(--indent));
}

.theme:nth-child(even) .theme-text {
  width: calc(66.67% - var(--indent));
}

/* Optional: Ensure images fit nicely */
.theme-images img {
  width: 100%;
  height: auto; /* Maintains aspect ratio */
}

footer {
  font-family: "century_gothicregular";
  width: 100%;
  position: relative;
  background-color: var(--color-h2);
  text-align: center;
  padding: var(--indent);
  padding-top: calc(var(--indent) * 2);
  padding-bottom: calc(var(--indent) * 3);
  color: var(--color-bg);
  line-height: 1.6em;
  overflow: hidden;
}

footer a {
  color: var(--color-bg);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--color-bg);
}
.address {
  position: relative;
  left: 50%;
  margin-left: -57px;
  width: 400px;
  text-align: left;
}
.address p {
  margin: 0;
  padding: 0;
  padding-bottom: 4px;
  font-weight: 600;
  text-transform: uppercase;
}
.socials {
  position: absolute;
  right: var(--indent);
  top: calc(var(--indent) * 2);
}
.social-item {
  float: right;
  margin-left: calc(var(--indent) / 2);
}
.social-item img {
  width: 24px;
  height: 24px;
  margin-right: calc(var(--indent) / 2);
}
.social-item a {
  text-decoration: none;
  border: 0;
}
/* Responsive adjustments */
@media (max-width: 960px) {
  header {
    height: auto;
  }
  .hamburger {
    display: flex;
  }

  .main-menu {
    display: none;
  }

  .main-menu.mobile-open {
    display: flex;
  }
  .logo {
    text-align: left;
    padding-left: var(--indent);
  }
  .logo img {
    width: 250px;
    height: auto;
  }
  .fullscreen {
    height: 70vh;
  }
  .home-items p {
    max-width: 100%;
    width: 100%;
  }
  .hometop-item {
    display: block;
  }
  .home-item-image-vertical {
    width: calc(100vw - (var(--indent) * 2));
    float:none;
  }
  footer h2 {
    text-align: left;
  }
  .address {
    left: 0%;
    margin-left: 0px;
  }
  .main-menu a {
    margin-left: calc(var(--indent) / 4);
    margin-right: calc(var(--indent) / 4);
    font-size: var(--font-size);
  }
  .tabholder {
    grid-template-columns: 1fr;
  }

  /* Odd-numbered theme divs: image left (1/3), text right (2/3) */
  .theme:nth-child(odd) .theme-images {
    width: 100%;
  }

  .theme:nth-child(odd) .theme-text {
    width: 100%;
  }

  .theme:nth-child(even) .theme-images {
    width: 100%;
  }

  .theme:nth-child(even) .theme-text {
    width: 100%;
  }
  .theme-text h3 {
    text-align: center;
  }
  .tab {
    text-align: center;
  }
}

@media (max-width: 600px) {
  select {
    width: 100%; /* Full width on small screens */
    margin-bottom: 10px;
  }
  .filter-container {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 480px) {
}

/* ── Tab holder (generated from [tabholder] shortcode) ─────────────── */
.tab-holder { margin: 1.5rem 0; }
.tab-buttons { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1rem; }
.tab-btn { padding: .5rem 1.25rem; border: 1px solid currentColor; background: transparent; cursor: pointer; font-size: inherit; font-family: inherit; transition: background .2s, color .2s; }
.tab-btn.active { background: currentColor; color: #fff; }
.tab-panel { display: none; }
.tab-panel.active { display: block; }
