/* Strange Oasis — prestige layer (over Enfold / theme CSS) */
:root {
  --soe-ink: #0f0f12;
  --soe-charcoal: #1a1a1f;
  --soe-muted: #5c5c66;
  --soe-gold: #c9a962;
  --soe-gold-dim: rgba(201, 169, 98, 0.35);
  --soe-purple: #652e8f;
  --soe-sans: "DM Sans", "Metrophobic", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --soe-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --soe-radius: 2px;
  --soe-shadow: 0 18px 48px rgba(15, 15, 18, 0.08);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

html.soe-site {
  scroll-behavior: smooth;
}

.soe-site::selection,
.soe-site ::selection {
  background-color: rgba(101, 46, 143, 0.28);
  color: var(--soe-ink);
}

.soe-site body,
.soe-site .avia-tooltip {
  font-family: var(--soe-sans);
  -webkit-font-smoothing: antialiased;
}

/* Headlines — editorial serif */
.soe-site #main .av-special-heading-tag,
.soe-site #main .avia-caption-title,
.soe-site #main .entry-title,
.soe-site #main .iconbox_content_title,
.soe-site #main .widgettitle {
  font-family: var(--soe-display);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.soe-site #main .av-special-heading-h2 .av-special-heading-tag,
.soe-site #main .avia-caption-title {
  font-weight: 600;
  line-height: 1.15;
}

.soe-site #main .av-special-heading-h3 .av-special-heading-tag,
.soe-site #main .iconbox_content_title {
  font-weight: 600;
}

/* Header */
.soe-site #header.soe-header {
  transition: box-shadow 0.35s ease, background-color 0.35s ease;
}

.soe-site #header.soe-header.soe-header-scrolled .header_bg,
.soe-site #header.soe-header.soe-header-scrolled #header_main {
  box-shadow: 0 1px 0 var(--soe-gold-dim);
}

.soe-site #header .av-main-nav > ul > li > a .avia-menu-text {
  font-family: var(--soe-sans);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 11px !important;
}

.soe-site #header .av-main-nav > ul > li > a {
  transition: color 0.2s ease, opacity 0.2s ease;
}

.soe-site #header .av-main-nav > ul > li.current-menu-item > a .avia-menu-text,
.soe-site #header .av-main-nav > ul > li > a:hover .avia-menu-text {
  color: var(--soe-gold);
}

.soe-site #header .logo img {
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.soe-site #header .logo a:hover img {
  opacity: 0.92;
}

.soe-site #header .social_bookmarks a {
  transition: color 0.2s ease, transform 0.2s ease;
}

.soe-site #header .social_bookmarks a:hover {
  color: var(--soe-gold) !important;
  transform: translateY(-1px);
}

/* Primary buttons */
.soe-site #top .avia-button,
.soe-site #top .avia-slideshow-button {
  font-family: var(--soe-sans);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 11px !important;
  border-radius: var(--soe-radius) !important;
  transition: background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease !important;
}

.soe-site #top .avia-color-theme-color.avia-button,
.soe-site #top .avia-slideshow-button.avia-color-theme-color {
  box-shadow: 0 8px 24px rgba(101, 46, 143, 0.25);
}

.soe-site #top .avia-color-theme-color.avia-button:hover,
.soe-site #top .avia-slideshow-button.avia-color-theme-color:hover {
  box-shadow: 0 10px 28px rgba(101, 46, 143, 0.35);
}

/* Section rhythm */
.soe-site #main .container_wrap.main_color .container,
.soe-site #main .alternate_color .container {
  position: relative;
}

.soe-site #main .avia-image-container img {
  border-radius: var(--soe-radius);
  transition: transform 0.45s ease, box-shadow 0.45s ease;
}

@media (prefers-reduced-motion: no-preference) {
  .soe-site #main .flex_column:hover .avia-image-container img {
    transform: scale(1.02);
    box-shadow: var(--soe-shadow);
  }
}

/* Footer widgets */
.soe-site #footer .widgettitle {
  font-family: var(--soe-display) !important;
  font-size: 1.35rem !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-color: var(--soe-gold-dim) !important;
}

.soe-site .soe-widget-lead {
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
  margin: 0 0 14px;
  max-width: 28em;
}

.soe-site .soe-ig-cta.avia-button {
  display: inline-block;
  border: 1px solid var(--soe-gold) !important;
  background: transparent !important;
  color: var(--soe-gold) !important;
}

.soe-site .soe-ig-cta.avia-button:hover {
  background: var(--soe-gold) !important;
  color: var(--soe-charcoal) !important;
}

/* Socket */
.soe-site #socket .copyright {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 1.25rem;
  text-align: center;
  font-size: 13px;
  letter-spacing: 0.04em;
}

.soe-site #socket .soe-socket-tagline {
  opacity: 0.75;
  font-weight: 500;
}

.soe-site #socket a {
  transition: color 0.2s ease;
}

.soe-site #socket a:hover {
  color: var(--soe-gold) !important;
}

/* Search page */
.soe-site .soe-search-form {
  margin: 1.75em 0 2rem;
  max-width: 32rem;
}

.soe-site .soe-search-form input[type="text"] {
  font-family: var(--soe-sans);
  padding: 12px 14px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: var(--soe-radius);
  width: min(100%, 22rem);
}

.soe-site .soe-search-form input[type="submit"].button {
  font-family: var(--soe-sans);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 11px;
  padding: 12px 20px;
  margin-left: 8px;
  cursor: pointer;
  border-radius: var(--soe-radius);
  transition: background 0.2s ease, color 0.2s ease;
}

/* Scroll to top */
#scroll-top-link {
  bottom: 32px;
  right: 28px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--soe-charcoal);
  color: var(--soe-gold);
  opacity: 0.9;
  box-shadow: var(--soe-shadow);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

#scroll-top-link:hover {
  opacity: 1;
  transform: translateY(-2px);
}

/* Forms (newsletter) */
.soe-site #main .avia_ajax_form .text_input {
  font-family: var(--soe-sans);
  border-radius: var(--soe-radius);
}

.soe-site #main .avia_ajax_form input.button,
.soe-site #footer .avia_ajax_form input.button {
  font-family: var(--soe-sans);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 11px !important;
  border-radius: var(--soe-radius) !important;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.soe-site #main .avia_ajax_form input.button:hover,
.soe-site #footer .avia_ajax_form input.button:hover {
  transform: translateY(-1px);
}

/* Focus visibility */
.soe-site a:focus-visible,
.soe-site button:focus-visible,
.soe-site input:focus-visible {
  outline: 2px solid var(--soe-gold);
  outline-offset: 3px;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.rotatingtweet {
  min-height: 4em;
}

/* Mobile menu overlay (simplified Enfold behaviour) */
@media only screen and (max-width: 989px) {
  #advanced_menu_hide {
    display: none;
  }
  html.soe-mobile-open #advanced_menu_hide {
    display: block;
    z-index: 100001;
    position: fixed;
    top: 20px;
    right: 20px;
  }
  html.soe-mobile-open #advanced_menu_toggle {
    display: none;
  }
  html.soe-mobile-open #header #avia-menu {
    display: block !important;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(165deg, #0f0f12 0%, #1a1520 55%, #121218 100%);
    z-index: 100000;
    padding: 88px 28px 28px;
    overflow-y: auto;
  }
  html.soe-mobile-open #header #avia-menu li {
    display: block;
    float: none;
    border-bottom: 1px solid rgba(201, 169, 98, 0.12);
  }
  html.soe-mobile-open #header #avia-menu a {
    color: rgba(255, 255, 255, 0.92) !important;
    padding: 16px 0 !important;
  }
  html.soe-mobile-open #header #avia-menu a .avia-menu-text {
    font-size: 13px !important;
    letter-spacing: 0.18em;
  }
  html.soe-mobile-open #header .social_bookmarks {
    margin-top: 32px;
    justify-content: center;
  }
  html.soe-mobile-open #header .social_bookmarks a {
    color: var(--soe-gold) !important;
  }
}
