/**
 * ============================
 * Base / Content
 * ============================
 */

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: "calmetta", sans-serif;
  font-weight: 400;
  font-style: normal;

  /* NOTE: You had black background + black text (invisible).
     Keeping your original values, but your preset later sets white bg. */
  background-color: #000;
  color: #000;
}

a:active {
  opacity: 0.5;
}

.page a.active {
  opacity: 1;
}

b,
strong {
  font-weight: bolder;
}

i,
em {
  font-style: italic;
  font-family: ivypresto-text, serif;
  font-weight: 300;
}

sub,
sup {
  position: relative;
  vertical-align: baseline;
}

sub { top: 0.3em; }
sup { top: -0.4em; }

s { text-decoration: line-through; }

ul,
ol {
  margin: 0;
  padding: 0 0 0 1em;
}

blockquote {
  margin: 0;
  padding: 0 0 0 2em;
}

hr {
  background: rgba(0, 0, 0, 1);
  border: 0;
  height: 1px;
  display: block;
  margin-bottom: 1.2rem;
}

.content img {
  margin-bottom: 0;
}

.gallery_image_caption {
  margin-top: 0.8rem;
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
  font-weight: 500;
  color: rgba(155, 153, 153, 1);
  font-family: "Favorit", Icons;
  font-style: normal;
  line-height: 1.3;
  text-align: center;
}

/**
 * ============================
 * Loading Animation
 * ============================
 */

.loading[data-loading] {
  position: fixed;
  bottom: 8px;
  left: 8px;
}

/**
 * ============================
 * Editor styles (predefined)
 * ============================
 */

[data-predefined-style="true"] bodycopy {
  font-size: 1rem;
  color: rgb(0, 0, 0);
  font-family: calmetta, sans-serif;
  font-weight: 400;
  font-style: normal;
  line-height: 1.2;
}

[data-predefined-style="true"] bodycopy a {
  color: rgb(32, 0, 255);
  padding-bottom: 0;
  text-decoration: underline;
}

bodycopy a.image-link,
bodycopy a.icon-link,
bodycopy a.image-link:hover,
bodycopy a.icon-link:hover {
  border-bottom: 0;
  padding-bottom: 0;
}

[data-predefined-style="true"] h1 {
  font-family: calmetta, sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 1.4rem;
  color: #000;
  line-height: 1;
}

[data-predefined-style="true"] h1 a {
  color: #00c0ff;
  border-bottom: 0;
}

[data-predefined-style="true"] h2 {
  font-family: calmetta, sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 1.6rem;
  color: #000;
  line-height: 1.6rem;
}

/* Preserved as-is even though it's an unusual combo */
[data-predefined-style="true"] h2 a {
  color: #00c0ff;
  font-family: "field-gothic-xxcondensed", sans-serif;
  font-weight: 800;
  font-style: normal;
  font-size: 6rem;
}

[data-predefined-style="true"] small {
  color: #000; /* removed duplicate conflicting color */
  line-height: 1.3;
  font-size: 1.1rem;
}

[data-predefined-style="true"] small a {
  color: #00c0ff;
  border-bottom-width: 0;
  text-decoration: none;
}

/**
 * ============================
 * Breakpoints / Presets
 * ============================
 */

[data-css-preset] .page {
  background-color: initial /*!page_bgcolor*/;
}

.mobile .page,
[data-css-preset].mobile .page {
  position: relative;
  min-height: 10px;
  max-width: 100%;
  width: 100%;
  background-color: transparent /*!page_bgcolor*/;
}

[data-css-preset] .container {
  margin-left: auto /*!content_center*/;
  margin-right: auto /*!content_center*/;
  text-align: left /*!text_left*/;
  width: 100%;
  height: auto;
}

[data-css-preset] body {
  background-color: #fff /*!body_bgcolor*/;
}

[data-css-preset] .container_width {
  width: 44% /*!content_center*/;
}

[data-css-preset] .content_padding {
  padding-top: 8.2rem /*!main_margin*/;
  padding-bottom: 8.2rem /*!main_margin*/;
  padding-left: 8.2rem /*!main_margin*/;
  padding-right: 8.2rem /*!main_margin*/;
}

[data-css-preset] text-limit {
  display: inline-block /*!text_width*/;
  max-width: 66rem /*!text_width*/;
}

[data-css-preset] .backdrop {
  width: 100% /*!background_cover*/;
}

/**
 * ============================
 * Thumbnails
 * ============================
 */

div[thumbnails] {
  justify-content: flex-start;
}

[data-css-preset] .thumbnails {
  background-color: rgba(0, 0, 0, 0) /*!thumbnails_bgcolor*/;
}

[data-css-preset] .thumbnails_width {
  width: 100% /*!thumbnails_width*/;
}

[data-css-preset] [thumbnails-pad] {
  padding: 2.05rem /*!thumbnails_padding*/;
}

[data-css-preset] [thumbnails-gutter] {
  margin: -4.1rem /*!thumbnails_padding*/;
}

[data-css-preset] [responsive-layout] [thumbnails-pad] {
  padding: 1.825rem /*!responsive_thumbnails_padding*/;
}

[data-css-preset] [responsive-layout] [thumbnails-gutter] {
  margin: -3.65rem /*!responsive_thumbnails_padding*/;
}

.thumbnails .thumb_image {
  outline: 0px solid rgba(0, 0, 0, 0.12);
  outline-offset: -1px;
  position: relative;

  /* Important: keeps images + overlays inside the box */
  overflow: hidden;
}

/* Base thumbnail image */
.thumbnails .thumb_image img {
  display: block;
  width: 100%;
  height: auto;
  transition: filter 0.3s ease;
}

/* Duotone overlays */
.thumbnails .thumb_image::before,
.thumbnails .thumb_image::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* Primary overlay */
.thumbnails .thumb_image::before {
  mix-blend-mode: darken;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

/* Secondary overlay */
.thumbnails .thumb_image::after {
  background-color: #fffeec;
  mix-blend-mode: color;
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Hover effect */
.thumbnails .thumb_image:hover img {
  filter: none;
}

.thumbnails .thumb_image:hover::before {
  opacity: 0;
}

.thumbnails .thumb_image:hover::after {
  opacity: 0;
}

.thumbnails .title {
  color: #000;
  font-family: "calmetta", sans-serif;
  font-weight: 400;
  font-style: normal;
  margin-top: 0.9rem;
  margin-bottom: 0.2rem;
  font-size: 1.4rem;
}

.thumbnails .tags {
  margin-top: 0.6rem;
  margin-bottom: 1.1rem;
  font-size: 1rem; /* fixed */
  color: rgba(68, 60, 45, 1);
  font-family: "calmetta", sans-serif;
  font-weight: 400;
  font-style: normal;
  line-height: 1.4;
}

.thumbnails .tags a {
  border-bottom: 0;
  color: rgba(177, 177, 177, 1);
  text-decoration: none;
}

.thumbnails .has_title .tags {
  margin-top: 0;
}

/**
 * ============================
 * Site Menu
 * ============================
 */

#site_menu {
  line-height: 2;
}

#site_menu.active {
  transform: translateX(0);
}

#site_menu ul {
  list-style: none;
  padding: 0;
  line-height: 20px;
  width: 100%;
}

#site_menu ul li {
  padding: 10px 0;
  line-height: 15px;
}

#site_menu ul li a {
  color: #000;
  line-height: 10px;
  text-decoration: none;
}

#menu_toggle {
  position: absolute;
  top: 15px;
  left: 15px;
  background: #444;
  color: #fff;
  border: none;
  padding: 10px;
  cursor: pointer;
}

#menu_close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: red;
  color: #fff;
  border: none;
  padding: 5px 10px;
  cursor: pointer;
  display: block;
}

[data-css-preset] #site_menu_button {
  position: fixed;
  top: 11px;
  right: 8px;
  background: #444;
  color: #fff;
  border: none;
  padding: 10px 15px;
  font-size: 18px;
  cursor: pointer;
  z-index: 1000;
}

/**
 * ============================
 * Quick View
 * ============================
 */

[data-css-preset] .quick-view-background {
  background: rgba(0, 0, 0, 0.73) /*!quick_view_bgcolor*/;
}

[data-css-preset] .quick-view {
  padding-top: 13.4rem /*!quick_view_padding*/;
  padding-bottom: 13.4rem /*!quick_view_padding*/;
  padding-left: 13.4rem /*!quick_view_padding*/;
  padding-right: 13.4rem /*!quick_view_padding*/;
}

/**
 * ============================
 * Vimeo Borders
 * ============================
 */

iframe[src*="vimeo.com"],
iframe[data-vimeo],
.vimeo,
.video iframe,
.embed iframe {
  border: 1px solid #000;
  box-sizing: border-box;
}
