/* #region RESET */

/* ============================================================
   JRX MEDIA — BASE RESET
   v1.0
   ============================================================ */

/* ------------------------------------------------------------
   1. BOX MODEL
   ------------------------------------------------------------ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ------------------------------------------------------------
   2. ROOT & CUSTOM PROPERTIES
   Change these per project — everything inherits from here.
   ------------------------------------------------------------ */
:root {
  /* Typography */
  --font-sans:    system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-serif:   Georgia, 'Times New Roman', serif;
  --font-mono:    'Cascadia Code', 'Fira Code', 'Courier New', monospace;

  /* Scale */
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-md:   1.125rem;
  --text-lg:   1.25rem;
  --text-xl:   1.5rem;
  --text-2xl:  2rem;
  --text-3xl:  2.5rem;
  --text-4xl:  3.5rem;

  /* Spacing */
  --space-xs:  0.25rem;
  --space-sm:  0.5rem;
  --space-md:  1rem;
  --space-lg:  1.5rem;
  --space-xl:  2rem;
  --space-2xl: 3rem;
  --space-3xl: 5rem;

  /* Layout */
  --max-width: 1400px;
  --gutter:    clamp(1rem, 5vw, 3rem);

  /* Radius */
  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   14px;
  --radius-full: 9999px;

  /* Transitions */
  --ease:      cubic-bezier(0.4, 0, 0.2, 1);
  --duration:  200ms;

  /* Colors — project overrides below in DESIGN SYSTEM */
  --color-bg:       #0d1117;
  --color-text:     #ffffff;
  --color-muted:    #6b7280;
  --color-border:   #2d3748;
  --color-accent:   #FFC72C;
  --color-accent-h: #FFD700;

  /* Project-specific */
  --clr-gold:   #FFC72C;
  --clr-yellow: #FFD700;
  --clr-navy:   #1a2332;
  --clr-dark:   #0d1117;
  --clr-gray:   #2d3748;
  --clr-border: rgba(255, 199, 44, 0.2);
}

/* ------------------------------------------------------------
   3. HTML & BODY
   ------------------------------------------------------------ */
html {
  font-size: 100%;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  tab-size: 4;
  scrollbar-gutter: stable;
}

body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100dvh;
}

/* ------------------------------------------------------------
   4. LAYOUT CONTAINERS
   ------------------------------------------------------------ */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container-sm {
  width: 100%;
  max-width: 860px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ------------------------------------------------------------
   5. TYPOGRAPHY
   ------------------------------------------------------------ */
h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  font-weight: 600;
  text-wrap: balance;
}

/* max-width: 72ch removed — conflicts with Tailwind grid layouts on the new home page */
li, blockquote {
  text-wrap: pretty;
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color var(--duration) var(--ease);
}

a:hover {
  color: var(--color-accent-h);
}

strong, b { font-weight: 600; }
em, i     { font-style: italic; }

small { font-size: var(--text-sm); }

code, kbd, samp, pre {
  font-family: var(--font-mono);
  font-size: 0.9em;
}

pre {
  overflow-x: auto;
  white-space: pre;
}

blockquote {
  border-left: 3px solid var(--color-border);
  padding-left: var(--space-lg);
  color: var(--color-muted);
}

/* ------------------------------------------------------------
   6. LISTS
   ------------------------------------------------------------ */
ul, ol {
  padding-left: var(--space-xl);
}

li + li {
  margin-top: var(--space-xs);
}

.list-reset {
  list-style: none;
  padding-left: 0;
}

/* ------------------------------------------------------------
   7. MEDIA
   ------------------------------------------------------------ */
img, svg, video, canvas, audio, iframe, embed, object {
  display: block;
  max-width: 100%;
}

img, video {
  height: auto;
}

img {
  font-style: italic;
}

svg {
  overflow: hidden;
}

/* ------------------------------------------------------------
   8. FORMS
   ------------------------------------------------------------ */
input, button, textarea, select {
  font: inherit;
  color: inherit;
  background: transparent;
  border: none;
  outline: none;
}

button {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
}

textarea {
  resize: vertical;
}

fieldset {
  border: none;
}

input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button {
  -webkit-appearance: none;
}

/* ------------------------------------------------------------
   9. TABLES
   ------------------------------------------------------------ */
table {
  border-collapse: collapse;
  width: 100%;
}

th, td {
  padding: var(--space-sm) var(--space-md);
  text-align: left;
}

/* ------------------------------------------------------------
   10. INTERACTIVE & FOCUS
   ------------------------------------------------------------ */
:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

:focus:not(:focus-visible) {
  outline: none;
}

[role="button"],
label[for] {
  cursor: pointer;
}

/* ------------------------------------------------------------
   11. ACCESSIBILITY & MOTION
   ------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ------------------------------------------------------------
   12. UTILITY CLASSES
   ------------------------------------------------------------ */
.flex   { display: flex; }
.grid   { display: grid; }
.block  { display: block; }
.hidden { display: none; }

.text-center { text-align: center; }
.text-right  { text-align: right; }

.mt-auto { margin-top: auto; }
.ml-auto { margin-left: auto; }

.section {
  padding-block: var(--space-3xl);
}

/* ============================================================
   END RESET
   ============================================================ */

/* #endregion */

/* #region PRELOADER */

/* Page content fade — driven by AJAX nav script */
#page-content {
    transition: opacity 0.25s ease;
}

#preloader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background-color: var(--clr-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

#preloader.preloader-done {
    opacity: 0;
    visibility: hidden;
}

.preloader-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.preloader-logo {
    height: 3.5rem;
    width: auto;
    animation: preloaderPulse 1.5s ease-in-out infinite;
}

.preloader-bar {
    width: 10rem;
    height: 0.25rem;
    background: rgba(255, 199, 44, 0.2);
    border-radius: 0.125rem;
    overflow: hidden;
}

.preloader-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--clr-gold), var(--clr-yellow));
    border-radius: 0.125rem;
    animation: preloaderFill 1.8s ease-in-out infinite;
}

@keyframes preloaderPulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.6; }
}

@keyframes preloaderFill {
    0%   { width: 0%; }
    60%  { width: 85%; }
    100% { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    .preloader-logo { animation: none; }
    .preloader-fill { animation: none; width: 100%; }
}

/* #endregion */

/* #region PAGE BANNER */

:root {
    --header-h: 8rem; /* approximate fixed header height — used by page banner top padding */
}

/* #endregion */

/* #region PAGE: 404 */

.page-404 {
    padding: 6rem 0;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.page-404-code {
    font-size: 8rem;
    font-weight: 700;
    color: var(--clr-gold);
    line-height: 1;
    margin-bottom: 1rem;
}

.page-404-title {
    font-size: var(--text-3xl);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
}

.page-404-text {
    color: #9ca3af;
    font-size: var(--text-md);
    margin-bottom: 2rem;
    max-width: 36rem;
    margin-inline: auto;
}

.page-404-btn {
    display: inline-block;
    background: var(--clr-gold);
    color: var(--clr-dark);
    font-weight: 700;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
}

.page-404-btn:hover {
    background: var(--clr-yellow);
    transform: scale(1.03);
    color: var(--clr-dark);
}

/* #endregion */

/* #region PAGE: CORPORATE */

.corporate-map-container {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 16rem;
}

.corporate-map-container iframe {
    width: 100% !important;
    height: 100% !important;
    border: none;
}

@media (min-width: 64rem) {
    .corporate-map-container {
        min-height: 100%;
    }
}

/* #endregion */

/* #region PAGE: DISCLAIMERS */

.fade-in-up {
    opacity: 0;
    transform: translateY(2rem);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.fade-in-up.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.scale-in.animate-in {
    opacity: 1;
    transform: scale(1);
}

/* #endregion */

/* #region PAGE: PRESENTATION */

.presentation-pdf-container {
    position: relative;
    width: 100%;
    background: rgba(13, 17, 23, 0.5);
}

.presentation-pdf-container iframe {
    border: none;
    display: block;
}

@media (min-width: 48rem) {
    .presentation-pdf-container {
        min-height: 37.5rem;
    }
}

@media (min-width: 64rem) {
    .presentation-pdf-container {
        min-height: 50rem;
    }
}

/* #endregion */

/* #region PAGE: STOCK */

.stock-page {
    animation: stockFadeIn 0.6s ease-in;
}

@keyframes stockFadeIn {
    from {
        opacity: 0;
        transform: translateY(1rem);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.symbol-selector {
    position: relative;
}

.symbol-selector.active-symbol {
    background: rgba(255, 199, 44, 0.1) !important;
    border-color: rgba(255, 199, 44, 0.5) !important;
}

.symbol-selector:hover {
    transform: translateX(0.25rem);
}

.symbol-selector.active-symbol::before {
    content: '';
    position: absolute;
    left: -0.75rem;
    top: 50%;
    transform: translateY(-50%);
    width: 0.25rem;
    height: 60%;
    background: linear-gradient(180deg, var(--clr-gold) 0%, var(--clr-yellow) 100%);
    border-radius: 0.125rem;
    opacity: 1;
}

@media (max-width: 64rem) {
    .stock-page .sticky {
        position: relative !important;
        top: 0 !important;
    }
}

@media (max-width: 48rem) {
    .stock-page h2 {
        font-size: 1.875rem;
    }

    .stock-page .text-4xl {
        font-size: 2rem;
    }

    #tradingview {
        height: 25rem !important;
    }
}

/* #endregion */

/* #region PAGE: ELDORADO (PROJECT) */

@keyframes fadeInLeft {
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInUp {
    to { opacity: 1; transform: translateY(0); }
}

/* #endregion */

/* #region  Globals */
* {
    font-family: 'Montserrat';
}

.textline {
    height: 5px;
    background-color: #dba752;
}

.mainlink {
    font-weight: bold;
    font-size: 18px;
    background-color: #193540;
    color: #fff;
    border: 2px solid #193540;
    padding: 10px 30px;
}

.mainlink:hover {
    background-color: transparent;
    color: #193540;
}

.boxbox {
    margin-left: auto;
    margin-right: auto;
}

/* Heading & paragraph globals scoped to .content to avoid overriding Tailwind on new home layout */
.content p,
.content ul li {
    line-height: 1.3;
    font-size: 1.25rem;
}

.content ul li {
    list-style-type: square;
}

.content ul li::marker {
    color: #dbad26;
}

.content h2 {
    font-size: 3rem;
    font-weight: 600;
}

.content h3 {
    font-size: 2.5rem;
    font-weight: 600;
}

.content h4 {
    font-size: 2rem;
    font-weight: 600;
}

.content h5 {
    font-size: 1.5rem;
    font-weight: 600;
}



@media only screen and (max-width:1500px) {
    .mainlink {
        font-size: 18px;
    }
}

@media only screen and (max-width:1200px) {
    .pad {
        padding: 30px;
    }

    .padbig {
        padding: 60px;
    }
}

@media only screen and (max-width:800px) {
    .padbig {
        padding: 30px;
    }

    .homeback {
        padding: 0;
    }
}

/* #endregion */

/* #region NAV DESIGN SYSTEM */

/* ---- Top Bar ---- */
.pg-topbar {
    background: rgba(13, 17, 23, 0.92);
    backdrop-filter: blur(0.75rem);
    -webkit-backdrop-filter: blur(0.75rem);
    border-bottom: 1px solid rgba(var(--color-accent-rgb), 0.12);
    padding: 0.625rem 0;
    transition: padding 0.3s ease;
}

.pg-topbar-ticker {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

.pg-topbar-ticker-label {
    color: var(--color-text-primary);
    font-weight: 600;
}

.pg-topbar-ticker-link {
    color: var(--color-accent);
    font-weight: 600;
    text-decoration: none;
    transition: color 200ms ease;
}

.pg-topbar-ticker-link:hover {
    color: var(--color-accent-alt);
}

.pg-topbar-divider {
    opacity: 0.35;
}

/* ---- Social Buttons (topbar + footer) ---- */
.pg-social-btn {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.375rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    text-decoration: none;
    font-style: normal;
    transition: color 200ms ease;
}

.pg-social-btn:hover {
    color: var(--color-accent);
}

/* ---- Desktop Nav Links ---- */
.pg-nav-link {
    display: block;
    color: var(--color-text-primary);
    font-weight: 600;
    font-size: 1.125rem;
    text-transform: uppercase;
    padding: 0.5rem 1.125rem;
    border-radius: 0.375rem;
    transition: color 200ms ease;
    text-decoration: none;
    white-space: nowrap;
}

.pg-nav-link:hover,
.pg-nav-link.nav-active {
    color: var(--color-accent);
}

/* Dropdown trigger span */
.pg-nav-trigger {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--color-text-primary);
    font-weight: 600;
    font-size: 1.125rem;
    text-transform: uppercase;
    padding: 0.5rem 1.125rem;
    border-radius: 0.375rem;
    transition: color 200ms ease;
    cursor: default;
    user-select: none;
    white-space: nowrap;
}

.pg-nav-trigger:hover,
.pg-nav-trigger.nav-active {
    color: var(--color-accent);
}

/* Dropdown panel */
.pg-nav-dropdown {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 0.625rem;
    padding: 0.375rem 0;
    box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, 0.55);
    min-width: 13rem;
}

/* Dropdown item */
.pg-nav-sub-link {
    display: block;
    padding: 0.5rem 1.25rem;
    color: var(--color-text-subheader);
    font-size: 0.9375rem;
    transition: all 200ms ease;
    text-decoration: none;
}

.pg-nav-sub-link:hover {
    color: var(--color-accent);
    background: rgba(var(--color-accent-rgb), 0.08);
}

/* ---- Hamburger Button ---- */
.pg-hamburger-btn {
    width: 2.5rem;
    height: 2.5rem;
    display: none;
    align-items: center;
    justify-content: center;
    color: var(--color-text-primary);
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: color 200ms ease;
}

.pg-hamburger-btn:hover {
    color: var(--color-accent);
}

.pg-hamburger-icon {
    width: 1.5rem;
    height: 1.25rem;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.pg-hamburger-line {
    width: 100%;
    height: 0.125rem;
    background-color: currentColor;
    border-radius: 0.125rem;
    transition: all 0.3s ease;
    transform-origin: center;
    display: block;
}

.pg-hamburger-icon.active .pg-hamburger-line:nth-child(1) {
    transform: translateY(0.5625rem) rotate(45deg);
}

.pg-hamburger-icon.active .pg-hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.pg-hamburger-icon.active .pg-hamburger-line:nth-child(3) {
    transform: translateY(-0.5625rem) rotate(-45deg);
}

/* ---- Mobile Menu Overlay ---- */
.pg-mobile-menu {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: rgba(13, 17, 23, 0.97);
    backdrop-filter: blur(1rem);
    -webkit-backdrop-filter: blur(1rem);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    overflow: hidden;
}

.pg-mobile-menu.visible {
    opacity: 1;
    visibility: visible;
}

/* Mobile scroll wrapper */
.pg-mobile-menu-scroll {
    position: absolute;
    inset: 0;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    padding: 5.5rem 1.25rem 2rem;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.pg-mobile-menu-scroll.open {
    transform: translateX(0);
}

/* Mobile close button */
.pg-mobile-close {
    position: fixed;
    top: 1.25rem;
    right: 1.25rem;
    width: 2.75rem;
    height: 2.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(26, 35, 50, 0.85);
    backdrop-filter: blur(0.5rem);
    -webkit-backdrop-filter: blur(0.5rem);
    border: 1px solid var(--color-border);
    border-radius: 50%;
    color: var(--color-text-primary);
    cursor: pointer;
    z-index: 10000;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
    box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.3);
}

.pg-mobile-close:hover {
    color: var(--color-accent);
    border-color: var(--color-accent);
    transform: scale(1.05);
    box-shadow: 0 0.5rem 1.5rem rgba(var(--color-accent-rgb), 0.25);
}

.pg-mobile-close:active {
    transform: scale(0.95);
}

/* Mobile nav item wrapper */
.pg-mobile-nav-item {
    opacity: 0;
    transform: translateX(2rem);
    transition: opacity 0.4s ease, transform 0.4s ease;
    border-bottom: 1px solid var(--color-border);
}

/* Mobile nav link / toggle button */
.pg-mobile-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.875rem 0.25rem;
    color: var(--color-text-primary);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    text-decoration: none;
    transition: color 200ms ease;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
}

.pg-mobile-nav-link:hover {
    color: var(--color-accent);
}

/* Mobile submenu */
.pg-mobile-submenu {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.35s ease;
    background: rgba(var(--color-accent-rgb), 0.04);
}

.pg-mobile-sub-link {
    display: block;
    padding: 0.625rem 0.25rem 0.625rem 1.25rem;
    color: var(--color-text-muted);
    font-size: 0.875rem;
    text-decoration: none;
    transition: color 200ms ease;
}

.pg-mobile-sub-link:hover {
    color: var(--color-accent);
}

/* ---- Responsive visibility ---- */
@media (min-width: 1300px) {
    nav.desktop-nav  { display: flex !important; }
    .pg-hamburger-btn { display: none !important; }
}

@media (max-width: 1299px) {
    nav.desktop-nav  { display: none !important; }
    .pg-hamburger-btn { display: flex !important; }
}

/* #endregion */

/* #region Header & Nav */

.headerA {
    background-color: transparent;
    margin-top: 0;
    transition: all .2s;
}

.headerA .vertspace {
    width: 2px;
    height: 10px;
    border-right: 2px dotted rgba(255, 255, 255, .5);
}

.headerA .mainheader {
    height: auto;
    padding-left: 0;
}

.headerA .socials .social {
    color: #fff;
    font-size: 32px;
    opacity: .6;
}

.headerA .socials .social:hover {
    opacity: 1;
}

.headerA .socials .connect {
    font-weight: bold;
    cursor: pointer;
    transition: all .2s;
}

.headerA .socials .connect:hover {
    color: #fff;
}

.headerA .logo img {
    height: 5rem;
    transition:all .2s;
}

.headerA nav .mainmenu {
    padding: 0;
    margin-left: 0;
    position: relative;
}

.headerA nav .mainmenu::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1rem;
    height: 1rem;
    display: none;
}

.headerA nav .mainmenu:hover::after {
    display: block;
}

.headerA nav .mainmenu:hover .lower {
    display: block;
    background-color: #fff;
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, .15);
    top:100% !important;
}

.headerA nav .mainmenu:hover .top {
    background-color: #fff;
    color: #343434;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.headerA nav .toplink,
.headerA nav .mainmenu .top {
    color: #fff;
    border-radius: 0;
    padding: 1rem 2rem;
    text-align: center;
    height: auto;
    border: 0;
    position: relative;
    margin-left: 0;
    border-radius: 0.5rem;
}

.headerA nav .toplink:hover,
.headerA nav .mainmenu .top:hover {
    background-color: #fff;
    color: #343434;
    border: 0;
}

.headerA nav .toplink:hover {
    background-color: #dba752;
    color: #fff;
}

.headerA nav .toplink:last-of-type {
    margin-right: -1rem;
}

.headerA nav .mainmenu .lower {
    position: absolute;
    left: 0;
    top: calc(100% - 0.5rem);
    z-index: 100;
    display: none;
    min-width: 14rem;
    background-color: #fff;
    border-radius: 0.5rem;
    border-top-left-radius: 0;
    overflow: hidden;
    padding-top: 0.5rem;
}

.headerA nav .mainmenu .lower a {
    display: block;
    padding: 1rem;
    color: #343434;
    white-space: nowrap;
}

.headerA nav .mainmenu .lower a:hover {
    background-color: #dba752;
    color: #fff;
}

.headerA .subheader {
    color: #fff;
    border-bottom: 0;
    position: relative;
    z-index: 2;
    font-weight: normal;
    padding: 7px 15px;
    height: auto;
}

.headerA .subheader .mail {
    color: #fff;
}

.headerA .subheader .mail span {
    color: #dba752;
}

.headerA .subheader {
    color: #878c8f;
}

.headerA .subheader .quote a {
    color: #dba752;
    font-weight: bold;
}

.headerA .subheader .quote span {
    color: #fff;
    font-weight: bold;
}

.headerA .subheader .metals span {
    font-weight: bold;
    color: #fff;
}

.headerA .subheader .contact a {
    color: #343434;
    font-weight: 600;
}

.headerA .subheader .contact a span {
    color: #dba752;
    transition: all .2s;
}

.headerA .subheader .contact a:hover {
    color: #dba752;
}

.headerA .mailopen {
    display: block;
    cursor: pointer;
}

@media only screen and (max-width:1300px) {
    .headerA .smallopen {
        color: #fff;
        padding: 10px;
        font-size: 4rem;
    }

    .headerA .subgrow {
        display: flex;
        justify-content: space-between;
    }

    .headerA nav {
        background-color: rgba(72, 86, 85, 0.95);
        height:100vh;
    }

    .headerA nav .toplink:hover,
    .headerA nav .mainmenu .top:hover {
        background-color: unset;
    }

    .mailopen {
        background-color: #dba752;
        color: #fff;
    }
}

@media only screen and (max-width:900px) {
    .headerA .metals {
        display: none;
    }

    .headerA .vertspace {
        display: none;
    }

    .headerA .subheader {
        width: auto;
    }
}

@media only screen and (max-width:800px) {
    .headerA .subheader .contact a:first-of-type {
        display: none;
    }
    .headerA {
        margin-top:1rem;
    }
    .headerA .logo img {
        height:3rem;
    }
    .headerA.scrolled .logo img {
        height:2.5rem;
    }
}

.headerA .vertspace {
    width: 2px;
    height: 10px;
    border-right: 2px dotted rgba(255, 255, 255, .5);
}

.headerA .mainheader {
    height: auto;
    padding-left: 0;
}

.headerA .socials .social {
    color: #fff;
    font-size: 32px;
    opacity: .6;
}

.headerA .socials .social:hover {
    opacity: 1;
}

.headerA .socials .connect {
    font-weight: bold;
    cursor: pointer;
    transition: all .2s;
}

.headerA .socials .connect:hover {
    color: #fff;
}

.headerA .logo img {
    height: 5rem;
    transition:all .2s;
}

.headerA nav .mainmenu {
    padding: 0;
    margin-left: 0;
    position: relative;
}

.headerA nav .mainmenu::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1rem;
    height: 1rem;
    display: none;
}

.headerA nav .mainmenu:hover::after {
    display: block;
}

.headerA nav .mainmenu:hover .lower {
    display: block;
    background-color: #fff;
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, .15);
    top:100% !important;
}

.headerA nav .mainmenu:hover .top {
    background-color: #fff;
    color: #343434;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.headerA nav .toplink,
.headerA nav .mainmenu .top {
    color: #fff;
    border-radius: 0;
    padding: 1rem 2rem;
    text-align: center;
    height: auto;
    border: 0;
    position: relative;
    margin-left: 0;
    border-radius: 0.5rem;
}

.headerA nav .toplink:hover,
.headerA nav .mainmenu .top:hover {
    background-color: #fff;
    color: #343434;
    border: 0;
}

.headerA nav .toplink:hover {
    background-color: #dba752;
    color: #fff;
}

.headerA nav .toplink:last-of-type {
    margin-right: -1rem;
}

.headerA nav .mainmenu .lower {
    position: absolute;
    left: 0;
    top: calc(100% - 0.5rem);
    z-index: 100;
    display: none;
    min-width: 14rem;
    background-color: #fff;
    border-radius: 0.5rem;
    border-top-left-radius: 0;
    overflow: hidden;
    padding-top: 0.5rem;
}

.headerA nav .mainmenu .lower a {
    display: block;
    padding: 1rem;
    color: #343434;
    white-space: nowrap;
}

.headerA nav .mainmenu .lower a:hover {
    background-color: #dba752;
    color: #fff;
}

.headerA .subheader {
    color: #fff;
    border-bottom: 0;
    position: relative;
    z-index: 2;
    font-weight: normal;
    padding: 7px 15px;
    height: auto;
}

.headerA .subheader .mail {
    color: #fff;
}

.headerA .subheader .mail span {
    color: #dba752;
}

.headerA .subheader {
    color: #878c8f;
}

.headerA .subheader .quote a {
    color: #dba752;
    font-weight: bold;
}

.headerA .subheader .quote span {
    color: #fff;
    font-weight: bold;
}

.headerA .subheader .metals span {
    font-weight: bold;
    color: #fff;
}

.headerA .subheader .contact a {
    color: #343434;
    font-weight: 600;
}

.headerA .subheader .contact a span {
    color: #dba752;
    transition: all .2s;
}

.headerA .subheader .contact a:hover {
    color: #dba752;
}

.headerA .mailopen {
    display: block;
    cursor: pointer;
}

@media only screen and (max-width:1300px) {
    .headerA .smallopen {
        color: #fff;
        padding: 10px;
        font-size: 4rem;
    }

    .headerA .subgrow {
        display: flex;
        justify-content: space-between;
    }

    .headerA .subheader {
        width: 800px;
        background-color: unset;
    }

    .headerA nav {
        background-color: rgba(72, 86, 85, 0.95);
        height:100vh;
    }

    .headerA nav .toplink:hover,
    .headerA nav .mainmenu .top:hover {
        background-color: unset;
    }

    .mailopen {
        background-color: #dba752;
        color: #fff;
    }
}

@media only screen and (max-width:900px) {
    .headerA .metals {
        display: none;
    }

    .headerA .vertspace {
        display: none;
    }

    .headerA .subheader {
        width: auto;
    }
}

@media only screen and (max-width:800px) {
    .headerA .subheader .contact a:first-of-type {
        display: none;
    }
    .headerA {
        margin-top:1rem;
    }
    .headerA .logo img {
        height:3rem;
    }
    .headerA.scrolled .logo img {
        height:2.5rem;
    }
}

@media only screen and (max-width:600px) {
    .headerA .subheader .quote div:last-of-type {
        display: none;
    }
}

/* #endregion */

/* #region Subpage Header */
.subpage .mainheader {
    background-color: transparent;
    box-shadow: unset;
}

.subpage nav .mainmenu .top {
    color: #fff;
}

.subpage nav .mainmenu:hover .top {
    color: #dba752;
}

.subpage nav .toplink {
    color: #fff;
}

.subpage .subheader {
    background-color: transparent;
    border-bottom: 1px solid rgba(0, 0, 0, .15);
}

.subpage .subheader .contact a {
    color: #fff;
}

.subpage .mainheader .smallopen {
    color: #343434;
    font-size: 36px;
}

@media only screen and (max-width:900px) {
    .subpage .subheader {
        background-color: #f9f9f9;
    }

    .subpage .subheader .contact a {
        color: #343434;
    }

    .subpage .mainheader {
        background-color: #fff;
    }
}

/* #endregion */

/* #region  Scrolled Header */

.scrolled {
    background-color: rgba(13, 17, 23, 0.96);
    backdrop-filter: blur(1rem);
    -webkit-backdrop-filter: blur(1rem);
    box-shadow: 0 0.25rem 1.5rem rgba(0, 0, 0, 0.45);
    margin-top: 0;
}

.scrolled .mainheader {
    margin-bottom: 0;
    background-color: transparent;
}

.scrolled nav .toplink:hover {
    color: #fff;
}

.scrolled .logo img {
    height: 2.5rem;
    margin-top: 0;
}

/* Nav inner base — transition for both scroll in and out */
.pg-nav-inner {
    transition: padding 0.3s ease;
}

/* Compact topbar + nav on scroll */
.scrolled .pg-topbar {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
    transition: padding 0.3s ease;
}

.scrolled .pg-nav-inner {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    transition: padding 0.3s ease;
}

/* #endregion */

/* #region  Hero */
.hero {
    background-image: url('images/2024-12/bg_hero.jpg');
    background-size: cover;
    background-position: center top;
    text-align: center;
    height: 100vh;
}

.hero h1 {
    font-size: 4rem;
    line-height: 4rem;
    color: #fff;
    text-shadow: 0 1px 10px rgba(0, 0, 0, .33);
    font-weight: normal;
}

.hero h1 span.bold {
    font-weight: bold;
}

.hero h1 span.gold {
    color: #dba752;
}

.hero .heroscroll {
    background-image: url('images/hero_mouse.png');
    background-position: center top 1rem;
    background-repeat: no-repeat;
    padding-top: 4rem;
    margin-bottom: 1rem;
    color: #fff;
    font-weight: bold;
}

.hero .heroscroll.scrolled {
    opacity: 0;
    transform: translateY(-2rem);
}

.hero .mainlink:hover {
    padding-left: 50px;
    padding-right: 50px;
}

.hero .boxbox {
    position:relative;
    z-index:2;
}

.hero .video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 2rem;
    overflow: hidden;
}

.hero .video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero .botgrad {
    background: linear-gradient(to bottom, rgba(72, 86, 85, 0) 0%, rgba(72, 86, 85, 1) 100%);
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
}

@media only screen and (max-width:1500px) {
    .hero .latest {
        width: 100%;
    }
}

@media only screen and (max-width:1300px) {
    .hero .latest .newsitem:last-of-type {
        display: none;
    }

    .hero .latest .quarter {
        width: 33%;
    }

    .hero .latest .linespace:last-of-type {
        display: none;
    }
}

@media only screen and (max-width:1200px) {
    .hero {
        padding-left: 0;
        padding-right: 0;
    }
}

@media only screen and (max-width:1000px) {
    .hero .latest .newsitem {
        display: none;
    }

    .hero .latest .newsitem:first-of-type {
        display: block;
    }

    .hero .latest .quarter {
        width: 50%;
    }

    .hero .latest .linespace {
        display: none;
    }

    .hero h1 {
        font-size: 3rem;
        line-height: 3rem;
        padding-left:2rem;
        padding-right:2rem;
    }
}

@media only screen and (max-width:700px) {
    .hero h1 {
        font-size: 2.5rem;
        line-height: 2.5rem;
    }
}

@media only screen and (max-width:600px) {
    .hero .latest {
        display: block;
    }

    .hero .latest .quarter {
        width: 100%;
    }

    .hero .latest .spacersmall {
        padding-bottom: 0;
    }
}

/* #endregion */

/* #region  Home */
.home {
    background-color: #485655;
}

.home p, .home p strong, .home li, .home li strong {
    font-size: 1.25rem;
}

.home .eldorado {
    color:#fff;
}

.home .about {
    background-color:#f9f9f9;
}

.home .about p {
    font-size: 2rem;
}

.home .about .latest {
    background-color: #eee;
    border-radius: 1rem;
    padding: 2rem;
    color: #dba752;
    font-weight: 600;
    cursor: pointer;
}

.home .about .latest .title {
    font-size: 1.25rem;
    color: #111;
}

.home .about .latest .more {
    color: #111;
    margin-top: 1rem;
    opacity: 0.5;
}

.home .about .latest:hover {
    background-color: #dba752;
    color: #fff;
    transform: scale(1.05);
}

.home .about .latest:hover .title,
.home .about .latest:hover .more {
    color: #fff;
}

.home .about .latest:hover .more {
    opacity: 1;
}

.home .about .latest .more .fa-solid {
    opacity: 0;
    transform: translateX(-1rem);
}

.home .about .latest:hover .more .fa-solid {
    transform: translateX(0);
    opacity: 1;
}

.home .highlights {
    border: 2px solid #dba752;
    background-image: url('images/bg_highlights.jpg');
    background-size: cover;
}

.home .highlights .thirdgap2 {
    border-radius: 1rem;
    border:2px solid rgba(0,0,0,0.25);
    padding:1rem;
}

.home .highlights .thirdgap2.active {
    background-color: rgba(219, 167, 82, 0.25);
    backdrop-filter: blur(5px);
    box-shadow: 0 0 2rem rgba(0, 0, 0, .25);
    border: 2px solid #e5c07b;
}

.home .highlights .item {
    padding: 2rem 3rem;
    border: 2px solid #fff;
    border-radius: 1rem;
    color: #fff;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.home .highlights .item:last-of-type {
    border-color: #dba752;
    background-color: #dba752;
    color: #fff;
}

.home .projunder {
    background-color: #f9f9f9;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.home .projunder.whiteunder {
    right: 0;
    left: unset;
}

.home #projunder {
    width: 0;
}

.home .projbox img {
    background-color: #fff;
    box-shadow: 0 0 2rem rgba(0, 0, 0, .10);
}

#heroanim {
    transform: scale(1.2);
    opacity: 0;
}

@media only screen and (max-width:1200px) {
    .home .upcoming .pad {
        padding: 30px;
    }

    .home .overview {
        flex-direction: column-reverse;
    }

    .home .overview img {
        width: 100%;
        margin-bottom: 30px;
    }

    .home .overview .half {
        width: 100%;
        margin-right: 0;
    }

    .home .blueback h2 {
        font-size: 32px;
        line-height: 32px;
    }

    .home .highlights .item {
        padding:1rem;
    }

    .home .eldorado .boxbox .flex {
        flex-direction: column;
        row-gap:2rem;
    }

    .home .whiterock .boxbox {
        flex-direction: column;
        row-gap:2rem;
    }

    .home .eldorado .boxbox .halfgap2, .home .whiterock .boxbox .halfgap2 {
        width:100%;
    }

    .home .eldorado .boxbox img, .home .whiterock .boxbox img {
        max-width:100%;
        max-height:50vh;
        width:unset !important;
    }
}

@media only screen and (max-width:1000px) {
    .home .eldorado {
        flex-direction: column;
    }

    .home .eldorado .halfgap2 {
        width:100%;
    }

    .home .eldorado img {
        max-height:65vh;
        width:auto !important;
        max-width:100%;
    }

    .home .about .boxbox {
        display:block;
    }

    .home .upcoming {
        display: block;
    }

    .home .upcoming .text {
        width: 100%;
    }

    .home .upcoming .image {
        height: 55vw;
        width: 100%;
    }

    .home .gallery .image {
        width: 30%;
        margin-right: 4.5%;
        height: 20vw;
    }

    .home .gallery .image:nth-child(5n) {
        margin-right: 4.5%;
    }

    .home .gallery .image:nth-child(3n) {
        margin-right: 0;
    }

    .home .gallery .image:last-of-type {
        display: none;
    }

    .homeback {
        flex-direction: column;
    }

    .homeback:first-of-type {
        flex-direction: column-reverse;
    }

    .homeback .half {
        width: 100%;
    }

    .homeback .imageback {
        height: 500px;
        margin-left: 0;
    }

    .homeback .mapback img {
        margin-left: 0;
    }

    .home .siderbig>*:not(:last-child) {
        margin-right: 0;
    }

    .home .blueback {
        display: block;
    }

    .home .blueback .subscribe {
        width: 100%;
        margin-left: 0;
    }

    .home .about {
        flex-direction: column;
    }

    .home .about .halfgap {
        width:100%;
        text-align:center;
    }

    .home .highlights .boxbox {
        column-gap:2rem;
        row-gap:2rem;
    }

    .home .highlights .item {
        width:calc((100% - 2rem) / 2);
    }
}

@media only screen and (max-width:900px) {
    .home .blueback .subscribe {
        width: 33%;
    }

    .blueback .subscribe form {
        flex-direction: column;
    }

    .blueback .subscribe form input, .blueback .subscribe form select {
        width: 100%;
    }

    .blueback .subscribe form button {
        width: 100%;
        text-align: center;
    }
}

@media only screen and (max-width:800px) {
    .home h2 {
        font-size: 2.5rem;
        line-height: 2.5rem;
    }

    .home .eldorado .boxbox .halfgap2, .home .whiterock .boxbox .halfgap2 {
        padding:0;
    }

    .home .eldorado .boxbox .halfgap2 {
        padding-top:2rem;
    }
}

@media only screen and (max-width:600px) {
    .home .gallery .image {
        width: 48%;
        margin-right: 4%;
        height: 30vw;
    }

    .home .gallery .image:nth-child(5n) {
        margin-right: 4%;
    }

    .home .gallery .image:nth-child(3n) {
        margin-right: 4%;
    }

    .home .gallery .image:nth-child(2n) {
        margin-right: 0;
    }

    .home .gallery .image:last-of-type {
        display: block;
    }

    .home .blueback .lateflex {
        display: block;
        text-align: center;
    }

    .home .blueback .lateflex .mainlink {
        width: 100%;
        text-align: center;
        margin-top: 15px;
    }
    .home .highlights .item {
        width:100%;
    }
}

/* #endregion */

/* #region Newsletter Section */

.newsletter-badge,
.newsletter-title,
.newsletter-text,
.newsletter-form,
.newsletter-input,
.newsletter-button,
.newsletter-privacy {
    opacity: 0;
    transform: translateY(2rem);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.newsletter-badge.animate-in  { opacity: 1; transform: translateY(0); transition-delay: 0.1s; }
.newsletter-title.animate-in  { opacity: 1; transform: translateY(0); transition-delay: 0.2s; }
.newsletter-text.animate-in   { opacity: 1; transform: translateY(0); transition-delay: 0.3s; }
.newsletter-form.animate-in   { opacity: 1; transform: translateY(0); transition-delay: 0.4s; }
.newsletter-input.animate-in  { opacity: 1; transform: translateY(0); }
.newsletter-button.animate-in { opacity: 1; transform: translateY(0); }
.newsletter-privacy.animate-in { opacity: 1; transform: translateY(0); }

.newsletter-blob-1 { animation: floatBlob1 8s ease-in-out infinite; }
.newsletter-blob-2 { animation: floatBlob2 10s ease-in-out infinite; }

@keyframes floatBlob1 {
    0%, 100% { transform: translate(-50%, -50%) scale(1);   }
    50%       { transform: translate(-45%, -55%) scale(1.1); }
}

@keyframes floatBlob2 {
    0%, 100% { transform: translate(50%, 50%) scale(1);    }
    50%       { transform: translate(55%, 45%) scale(1.15); }
}

.newsletter-button.animate-in {
    animation: subtlePulse 3s ease-in-out 1s infinite;
}

@keyframes subtlePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(var(--color-accent-rgb), 0.4); }
    50%       { box-shadow: 0 0 0 0.75rem rgba(var(--color-accent-rgb), 0); }
}

/* #endregion */

/* #region Footer Design System */

.pg-footer {
    background: var(--color-bg);
    color: var(--color-text-muted);
}

/* Gradient gold divider at top of footer */
.pg-footer-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--color-accent) 40%, var(--color-accent) 60%, transparent 100%);
    opacity: 0.3;
}

/* Category heading in sitemap columns */
.pg-footer-cat {
    display: block;
    color: var(--color-accent);
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 1rem;
}

/* Sitemap links */
.pg-footer-link {
    display: block;
    color: var(--color-text-muted);
    font-size: 0.8125rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    text-decoration: none;
    transition: color 200ms ease, transform 200ms ease;
    padding: 0.125rem 0;
}

.pg-footer-link:hover {
    color: var(--color-accent);
    transform: translateX(0.25rem);
}

/* Bottom bar */
.pg-footer-bottom {
    border-top: 1px solid var(--color-border);
    padding: 1.5rem 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.pg-footer-copy {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.75rem;
    color: var(--color-text-muted);
    flex-wrap: wrap;
}

.pg-footer-copy a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color 200ms ease;
}

.pg-footer-copy a:hover {
    color: var(--color-accent-alt);
}

/* Footer social icons — slightly larger than topbar variant */
.pg-footer-social {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.pg-footer-social-btn {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--color-border);
    text-decoration: none;
    font-style: normal;
    transition: color 200ms ease, border-color 200ms ease, background 200ms ease;
}

.pg-footer-social-btn:hover {
    color: var(--color-accent);
    border-color: rgba(var(--color-accent-rgb), 0.4);
    background: rgba(var(--color-accent-rgb), 0.08);
}

/* #endregion */

/* #region  Footer */

footer .mailing {
    background-image: url('images/bg_mailing.jpg');
    background-size: cover;
    background-position: center top;
    padding-top: 160px;
    color: #fff;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, .15);
}

footer .mailing span {
    font-size: 32px;
    font-weight: 500;
    margin-right: 30px;
}

footer .mailing form input {
    background-color: transparent;
    border: 0;
    border-bottom: 2px solid #fff;
    font-size: 18px;
    color: #fff;
    width: 300px;
}

footer .mailing form input::placeholder {
    color: #fff;
}

footer .mailing form button {
    background-image: url('images/ui/arrow_right_white.png');
    background-position: center right;
    background-repeat: no-repeat;
    background-color: transparent;
    border: 0;
    border-bottom: 2px solid #fff;
    width: 48px;
}

footer .mailing .socials a {
    font-size: 36px;
    color: #fff;
    opacity: .5;
}

footer .mailing .socials a:hover {
    opacity: 1;
}

.footerA {
    color: #222;
}

.footerA .pad {
    padding-top: 30px;
    padding-bottom: 30px;
}

.footerA .text {
    width: 30%;
}

.footerA .text p {
    font-size: .9rem;
}

.footerA .sitemap .top,
.footerA .sitemap .toplink {
    font-size: 1.5rem;
    font-weight: 500;
    color: rgba(0, 0, 0, .3);
}

.footerA .sitemap .toplink {
    color: #dba752;
    align-self: flex-start;
}

.footerA .sitemap .lower a {
    display: block;
    color: #dba752;
    font-weight: bold;
    font-size: .9rem;
}

.footerA .sitemap .lower a:hover,
.footerA .sitemap .toplink:hover {
    text-decoration: underline;
}

.footerA .subfooter {
    border-top: 0;
    padding:1rem 0;
    color: #111;
}

.footerA .subfooter a {
    color: #dba752;
    font-weight: 500;
}

.footerA .subfooter a:hover {
    text-decoration: underline;
}

.footerA .text .socials {
    display: flex;
}

.footerA .text .socials span {
    font-size: 18px;
}

.footerA .text .socials a {
    color: #dba752;
    font-size: 32px;
}

.footerA .text .socials a:first-of-type {
    margin-left: 10px;
}

@media only screen and (max-width:1700px) {
    .footerA .sitemap .mainmenu {
        width: 18%;
    }
}

@media only screen and (max-width:1300px) {
    .footerA .siderbig {
        flex-direction: column-reverse;
        padding-bottom:0;
    }

    .footerA .text {
        margin-top: 60px;
        width: 50%;
        display: block;
    }

    .footerA .text p {
        margin-top: 20px;
    }
}

@media only screen and (max-width:900px) {
    .footerA .sitemap {
        display: none;
    }

    .footerA .text {
        margin-top: 0;
        width: auto;
        max-width: 500px;
        margin-right: 30px;
    }

    .footerA .subfooter .boxbox {
        display: block;
    }

    .footerA .subfooter a span {
        display:inline-block;
    }
}

@media only screen and (max-width:600px) {
    .footerA .subfooter a {
        margin-top:0;
    }
    .footerA .subfooter .colgapmini {
        display:block;
    }
}

/* #endregion */

/* #region Pagetop & Footer */
.pagetop {
    background-color: #f9f9f9;
    position: relative;
    background-image: url('images/2024-12/bg_hero.jpg');
    background-size: cover;
}

.pagetop .boxbox {
    padding-top: 8rem;
    padding-bottom: 8rem;
}

.pagetop h2 {
    font-size: 72px;
    color: #fff;
    border-left: 10px solid #dbad26;
    padding-left: 20px;
}

.pagetop .pagefill {
    width: 60%;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    background-size: cover;
    background-position: center left;
}

.pagetop iframe {
    width: 100%;
    height: 25vw;
    border: 0;
    pointer-events: none;
}

@media only screen and (max-width:1500px) {
    .pagetop h2 {
        font-size: 48px;
    }
}

@media only screen and (max-width:1500px) {
    .pagetop .pagefill {
        width: 65%;
    }

    footer .mailing {
        padding-left: 0;
        padding-right: 0;
    }

    footer .mailing span {
        font-size: 24px;
    }
}

@media only screen and (max-width:1300px) {
    .pagetop .pagefill {
        width: 50%;
    }
}

@media only screen and (max-width:1200px) {
    footer .mailing .socials {
        display: none;
    }

    footer .mailing form {
        justify-content: space-between;
        width: 100%;
    }

    footer .mailing form input {
        justify-self: flex-end;
    }
}

@media only screen and (max-width:900px) {
    .pagetop .pagefill {
        width: 100%;
    }
}

@media only screen and (max-width:800px) {
    footer .mailing form {
        display: block;
    }

    footer .mailing span {
        font-size: 36px;
        margin-bottom: 10px;
        display: block;
    }

    footer .mailing form input {
        flex-grow: 1;
    }
}

@media only screen and (max-width:600px) {
    .footerA .text .socials span {
        font-size: 18px;
        font-weight: 600;
    }

    .footerA .text .socials a {
        font-size: 24px;
    }
}

/* #endregion */

/* #region Content */

.contwrap {
    margin-top: -70vh;
    position: relative;
    z-index: 2;
}

.conttop {
    margin-bottom: 100px;
}

.conttop h1 {
    font-size: 56px;
    line-height: 56px;
    color: #dba752;
    font-weight: 500;
    text-transform: uppercase;
    width: 500px;
}

.conttop span {
    font-weight: 600;
    color: #999;
    font-size: 18px;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
    margin-left: 5px;
}

.contbox {
    background-color: #f9f9f9;
}

.content {
    background: linear-gradient(#fff, #f9f9f9);
    min-height: 600px;
    width: 100%;
}

.noprojcontent {
    margin-top: -90px;
    max-width:1400px;
    border-radius:2rem;
}

.content.newsbox {
    max-width:62.5rem;
}

.content.newsbox img {
    max-width:100%;
    height:auto;
}

.content.newsbox ul {
    margin-left:1.5rem;
    margin-bottom:1.5rem;
}

.content.newsbox ul li {
    margin-bottom:0.75rem;
    padding-left:0.5rem;
}

.content.newsbox ul li:last-child {
    margin-bottom:0;
}

.content.newsbox ul ul {
    margin-top:0.75rem;
    margin-bottom:0.5rem;
    margin-left:1.25rem;
}

.content.newsbox ul ul li {
    list-style-type:circle;
    margin-bottom:0.5rem;
}

.content.newsbox ul ul li::marker {
    color:#485655;
}

.content.newsbox ul ul ul li {
    list-style-type:disc;
    font-size:1.1rem;
}

.content.newsbox ul ul ul li::marker {
    color:#999;
}

.content .sideout {
    margin-left: -60px;
    margin-right: 60px;
    background-color: #dba752;
    padding-left: 50px;
}

.content .sidebar {
    width: 360px;
    background-color: #dba752;
    padding-top: 20px;
    padding-bottom: 20px;
}

.content .sidetop {
    background-color: #0c1a20;
    color: #fff;
    font-weight: bold;
    text-transform: uppercase;
    padding: 5px 10px;
    margin-bottom: -15px;
    display: table;
    margin-left: -10px;
}

.content .sidebar a {
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    padding: 15px;
    opacity: .75;
    display: block;
    border-bottom: 1px solid rgba(255, 255, 255, .5);
}

.content .sidebar a:last-of-type {
    border-bottom: 0;
}

.content .sidebar a:hover {
    opacity: 1;
}

.content .sidebar .active {
    pointer-events: none;
    opacity: 1;
    padding-left: 30px;
    background-image: url('images/ui/bracket_right_white.png');
    background-repeat: no-repeat;
    background-position: center left;
}

.content h3 {
    font-size: 42px;
    font-weight: 500;
}

.content h3 span {
    font-size: 24px;
}

.content h4, .home .highlights h4 {
    font-weight: 600;
    font-size: 24px;
    color: #111;
    background-color:#dbad26;
    padding:0.5rem 1rem;
    border-radius:0.5rem;
    text-transform: uppercase;
    display:table;
}

.conbb {
    background-color: #f9f9f9;
}

.conbb .subscribe {
    background-color: #dbad26;
    background-image: url('images/2024-12/bg_sub.jpg');
    background-size: cover;
    background-position: center;
    border-radius: 1rem;
    color: #fff;
}

.conbb .subscribe input,
.conbb .subscribe select {
    border-radius: 0.5rem;
    padding: 1rem;
    font-size: 1.25rem;
}

.conbb .subscribe button {
    border-radius: 0.5rem;
    padding: 1rem;
    font-size: 1.25rem;
    background-color: #193540;
    color: #fff;
    font-weight: bold;
}

.conbb .subscribe button:hover {
    background-color: #1d404d;
}

.conbb .subscribe .iconflex h3,
.conbb .subscribe .iconflex p {
    color: #fff;
}

.content .pdf-news-button {
    background-color: #ccc;
    width: 120px;
    background-image: url('images/ui/pdf-file.png');
    background-repeat: no-repeat;
    background-position: center center;
    margin-left: 15px;
    border-radius: 5px;
    opacity: .75;
}

.content .pdf-news-button:hover {
    background-color: #dba752;
    opacity: 1;
}

.content .tablewrap {
    overflow-x: auto;
    display: block;
    margin: 2rem 0;
}

.content table {
    width: 100%;
    border-spacing: 0;
    border-collapse: separate;
    font-size: 1rem;
}

.content table caption {
    font-weight: bold;
    padding: 1rem;
    font-size: 1.25rem;
    text-align: left;
    color: #1b292f;
}

.content table tr th {
    background-color: #1b292f;
    color: #fff;
    padding: 1rem 1.5rem;
    font-weight: 600;
    text-align: left;
    font-size: 1rem;
    white-space: nowrap;
}

.content table tr th:first-child {
    border-top-left-radius: 0.75rem;
}

.content table tr th:last-child {
    border-top-right-radius: 0.75rem;
}

.content table tr td {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #e0e0e0;
    background-color: #fff;
}

.content table tbody tr:nth-child(odd) td {
    background-color: #fff;
}

.content table tbody tr:nth-child(even) td {
    background-color: #f9f9f9;
}

.content table tbody tr:hover td {
    background-color: #f0f4f5;
    transition: background-color 0.2s ease;
}

.content table tbody tr:last-child td {
    border-bottom: none;
}

.content table tbody tr:last-child td:first-child {
    border-bottom-left-radius: 0.75rem;
}

.content table tbody tr:last-child td:last-child {
    border-bottom-right-radius: 0.75rem;
}

.content table tr td:first-child,
.content table tr th:first-child {
    font-weight: 600;
    color: #1b292f;
}

/* Mobile responsive table */
@media only screen and (max-width: 800px) {
    .content table {
        font-size: 0.875rem;
    }
    
    .content table tr th,
    .content table tr td {
        padding: 0.75rem 1rem;
    }
}

@media only screen and (max-width:1500px) {
    .conttop h1 {
        font-size: 42px;
        line-height: 42px;
        width: 400px;
    }

    .contwrap {
        margin-top: -60vh;
    }

    .content h3 {
        font-size: 32px;
    }

    .content h4 {
        font-size: 18px;
        font-weight: bold;
    }
}

@media only screen and (max-width:1200px) {
    .content {
        display: block;
        padding: 0;
    }

    .content .sidex {
        padding: 30px;
        margin-top: -70px;
    }

    .content .sideout {
        margin-left: 0;
        margin-right: 0;
        padding-left: 0;
    }

    .content .sidebar {
        width: 100%;
    }

    .content .sidebar .active {
        padding-left: 60px;
        background-position: center left 30px;
    }

    .content.pad {
        padding:2rem;
    }
}

@media only screen and (max-width:900px) {
    .conttop span {
        color: #eee;
    }
}

@media only screen and (max-width:600px) {
    .conttop h1 {
        width: auto;
    }
}

@media only screen and (max-width:500px) {
    .conttop h1 {
        font-size: 36px;
        line-height: 36px;
    }
}


/* #endregion */

/* #region Management / Advisors Page */
.content .people {
    color: #343434;
}

.content .people .person:not(:last-of-type) {
    padding-bottom: 60px;
    border-color: transparent;
    border-bottom: 1px dotted #ddd;
}

.content .people .person .text {
    width: 500px;
}

.content .people .person .textline {
    width: 3px;
    height: unset;
}

@media only screen and (max-width:1700px) {
    .content .people .person {
        padding: 0;
    }

    .content .people .person .text {
        width: 400px;
    }

    .content .people .siderbig>*:not(:last-child) {
        margin-right: 30px;
    }
}

@media only screen and (max-width:1500px) {
    .content .people .person .text {
        width: 300px;
    }
}

@media only screen and (max-width:1000px) {
    .content .people .person {
        display: block;
    }

    .content .people .person .text {
        width: 100%;
    }

    .content .people .person .textline {
        width: 100%;
        height: 3px;
    }

    .content .people .siderbig>*:not(:last-child) {
        margin-bottom: 30px;
    }
}

@media only screen and (max-width:800px) {
    .contbox {
        padding: 0;
        margin-top: 0;
    }
}

/* #endregion */

/* #region Stock Page */
.content .stock h2 {
    font-size: 42px;
    font-weight: 500;
}

.content .stock h3 {
    font-weight: 600;
    font-size: 24px;
}

.content .stock span {
    display: block;
    font-size: 18px;
    color: #999;
}

.content .stock span b {
    font-size: 28px;
    font-weight: 600;
    color: #343434;
}

.content .stock .entry:not(:last-of-type) {
    padding-bottom: 30px;
    border-color: transparent;
    border-bottom: 1px dotted #ddd;
}

.content .stock .structure .title {
    display: table;
}

.content .stock .structure .item {
    border: 1px solid #ccc;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: 36px;
    font-weight: 500;
}

.content .stock .structure .item span {
    text-transform: uppercase;
    font-size: 18px;
    font-weight: bold;
}

@media only screen and (max-width:1200px) {
    .content .stock .padnl {
        padding: 30px;
        padding-left: 0;
    }

    .content .stock h2 {
        font-size: 32px;
    }

    .content .stock span {
        font-size: 16px;
    }

    .content .stock span b {
        font-size: 24px;
    }

    .content .stock .structure .item {
        font-size: 24px;
    }

    .content .stock .structure .item span {
        font-size: 16px;
    }
}

@media only screen and (max-width:1000px) {
    .content .stock .structure .sider {
        display: block;
    }

    .content .stock .structure .third {
        width: 100%;
    }

    .content .stock .structure .third:not(:first-of-type) {
        margin-top: 30px;
    }
}

@media only screen and (max-width:800px) {
    .content .stock .price {
        display: block;
    }

    .content .stock .price .quote {
        margin-right: 0;
        padding-right: 0;
    }

    .content .stock .price .chart {
        height: 55vw;
    }
}

/* #endregion */

/* #region Archive Page */
.content .archive .year .yearlink {
    padding: 5px 10px;
    border: 2px solid #343434;
    color: #343434;
    font-size: 18px;
    opacity: .25;
    font-weight: bold;
}

.content .archive .year .yearlink:not(:last-of-type) {
    margin-right: 15px;
}

.content .archive .year .yearlink:hover {
    opacity: 1;
}

.content .archive .year .active {
    background-color: #dba752;
    color: #fff;
    border-color: #dba752;
    pointer-events: none;
    opacity: 1;
    font-weight: 600;
}

.content .archive .newslink {
    width: 100%;
    padding: 30px;
    color: #343434;
    text-transform: uppercase;
    font-weight: bold;
    border: 1px solid #ccc;
    opacity: .75;
}

.content .archive .newslink:last-of-type {
    margin-bottom: 0;
}

.content .archive .newslink:hover {
    opacity: 1;
    border-color: #aaa;
}

.content .archive .newslink span {
    display: block;
    font-weight: 500;
    color: #dba752;
}

.content .newsbox h1 {
    font-size: 48px;
    text-transform: uppercase;
}

@media only screen and (max-width:800px) {
    .content .archive .newslink {
        width: 100%;
    }
}

@media only screen and (max-width:600px) {
    .content .newsbox h1 {
        font-size: 36px;
    }

    .content .newsbox {
        margin: -30px;
    }

    .content .botlinks .linkleft {
        margin-left: 0;
    }
}

@media only screen and (max-width:400px) {
    .content .newsbox h1 {
        font-size: 24px;
        font-weight: bold;
    }
}

/* #endregion */

/* #region News Page */
.content .news h2 {
    font-size: 42px;
    font-weight: bold;
    text-transform: uppercase;
}

.content .news .fr-img-caption {
    display: block;
    margin: auto;
    text-align: center;
    font-weight: bold;
}

/* #endregion */

/* #region Directory Page */

.content .corporate .map iframe {
    height: 100%;
    width: 100%;
}

.content .corporate .info {
    border: 1px solid #ccc;
    width: 35%;
}

@media only screen and (max-width:1300px) {
    .content .corporate .info {
        width: 50%;
    }
}

@media only screen and (max-width:900px) {
    .content .corporate .item {
        display: block;
    }

    .content .corporate .info {
        width: 100%;
    }

    .content .corporate .map {
        height: 45vw;
    }
}

@media only screen and (max-width:600px) {
    .content .corporate .info {
        padding: 30px;
    }
}

/* #endregion */

/* #region Contact Page */
.content .contact h2 {
    font-size: 42px;
    font-weight: 500;
}

.content .contact .info a {
    color: #343434;
    font-weight: 600;
}

.content .contact .info a span {
    color: #dba752;
    margin-right: 5px;
    transition: all .2s;
}

.content .contact .info a:hover span {
    margin-right: 10px;
}

.content .contact .info a:hover {
    color: #dba752;
}

.content .contact form,
.content .contact .map {
    width: 70%;
}

.content .contact form input {
    width: 48%;
    border: 1px solid #ccc;
    padding: 30px;
    font-size: 18px;
}

.content .contact form textarea {
    width: 100%;
    border: 1px solid #ccc;
    padding: 30px;
    font-size: 18px;
    height: 200px;
}

@media only screen and (max-width:1700px) {

    .content .contact form,
    .content .contact .map {
        width: 60%;
    }
}

@media only screen and (max-width:1300px) {

    .content .contact form,
    .content .contact .map {
        width: 50%;
    }
}

@media only screen and (max-width:1000px) {

    .continner,
    .contactform {
        display: block;
        margin-right: 0;
    }

    .content .contact .title {
        display: table;
    }

    .content .contact form,
    .content .contact .map {
        width: 100%;
    }

    .content .contact .map {
        height: 45vw;
    }
}

@media only screen and (max-width:600px) {
    .content .contact .formrow {
        display: block;
    }

    .content .contact form input {
        width: 100%;
        padding: 20px 30px;
    }

    .content .contact form input:first-of-type {
        margin-bottom: 30px;
    }

    .content .contact form button {
        width: 100%;
        text-align: center;
    }
}

/* #endregion */

.news-out {
    width: 100%;
    margin-bottom: 30px;
}

.subpop {
    background-color: rgba(27, 41, 47, 0.97) !important;
}

/* #region Project Page */

.content .project > div:first-of-type .boxbox {
    margin-top: -90px;
}

.content .project .section {
    padding:3rem;
}
.content .project .section img {
    border-radius:2rem;
    max-height:55vh;
}

.content .project .section.eldorado_plans .boxbox {
    max-width:1000px;
}

.content .project .section.eldorado_plans {
    padding-top:0;
}

.content .project .section.disclaimer {
    background-color:#eee;
    border-radius:2rem;
    max-width:1400px;
    margin-left:auto;
    margin-right:auto;
}

.content .project .section.disclaimer h3 {
    font-size:1.5rem;
}

.content .project .section.disclaimer p {
    font-style:italic;
}

.content .project .unround img {
    border-radius:0;
}

.content .project .highlights .boxbox {
    background-image: url('images/bg_highlights.jpg');
    background-size: cover;
    color: #111;
    box-shadow: 0 2px 5px rgba(0, 0, 0, .22);
    border-radius:2rem;
    padding:2rem;
}

.content .project .highlights .boxbox ul li::marker, .home .highlights ul li::marker {
    color:#111;
}

.content .project .highlights h4, .home .highlights h4 {
    background-color:#1b292f;
    color:#fff;
}

.content .project .quote {
    background-color: #1C292F;
    padding: 30px;
}

.content .project .quote p {
    color: #fff;
}

.content .project .quote span {
    font-weight: bold;
    color: #DBAD26;
    text-align: right;
    display: block;
}

.content .project table tr td {
    text-align: center;
}

.project .gallery {
    margin-bottom:3rem;
}

.project .gallery h3 {
    background-color:#f9f9f9 !important;
}

@media only screen and (max-width:1500px) {
    .content .project .section.disclaimer {
        max-width:94vw;
        width:100%;
    }
}

@media only screen and (max-width:1000px) {
    .content .project .section .half {
        width:100%;
    }

    .content .project .section {
        padding:2rem;
    }
}

/* #endregion */

/* #region Project Custom: Eldorado */
.eldorado_plans .item {
    padding: 2rem;
    border-radius: 1rem;
    border: 2px solid #dbad26;
    width: calc(50% - 2rem);
}

.eldorado_plans .item:first-of-type {
    background-color: #dbad26;
}

.eldorado_plans h3:last-of-type {
    margin-top:2rem;
    line-height:1.3;
    text-align:center;
}

.eldorado_highlights {
    background-image:url('images/2024-12/bg_eldorado_highlights.jpg');
    background-size:cover;
    background-position:center;
    box-shadow: inset 0 100px 1rem -100px rgba(0,0,0,0.1), inset 0 -100px 1rem -100px rgba(0,0,0,0.1);
    padding-bottom:6rem !important;
}

.eldorado_highlights h3 {
    margin-bottom:2rem !important;
    text-align:center;
}

.eldorado_highlights ul {
    margin-left:0;
}

.eldorado_highlights ul li {
    border:2px solid #111;
    text-align:center;
    padding:2rem;
    border-radius:1rem;
    list-style-type:none;
    margin-bottom:0;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
}

.eldorado_meta {
    background-image:url('images/2025-07/bg_eldorado_metallurgical.jpg');
    background-size:cover;
    background-position:center;
    box-shadow: inset 0 100px 1rem -100px rgba(0,0,0,0.1), inset 0 -100px 1rem -100px rgba(0,0,0,0.1);
}

.eldorado_meta h3 {
    text-align:center;
}

.eldorado_sum2023 h3 {
    width: 100%;
    margin-bottom: 3%;
}

.eldorado_sum2023 .maintext {
    display:flex;
    flex-wrap:wrap;
    row-gap:2rem;
    column-gap:2rem;
}

.eldorado_sum2023 .item {
    background-color: #eee;
    border-radius:0.5rem;
    padding:0.5rem;
    width:calc(50% - 1rem);
}

.eldorado_sum2023 .item span {
    background-color: #1b292f;
    color: #fff;
    padding: 10px 15px;
    font-weight: bold;
    display: table;
    border-radius:0.5rem;
    transform: translateY(-1rem);
}

.eldorado_sum2023 .item ul {
    margin-left:1rem;
}

.eldorado_sum2023 .item ul li {
    font-size:0.9rem;
}

.eldorado_sum2023 .item:nth-child(3n+4) {
    margin-right: 0;
}

.eldorado_sum2023 img {
    max-height:unset !important;
}

.eldorado_east {
    background-image:url('images/2025-07/bg_eldorado_east.jpg');
    background-size:cover;
    background-position:center;
    color:#fff;
}

.eldorado_east h5 {
    line-height:1.3;
}

.eldorado_easthigh {
    padding-top:0 !important;
}

.eldorado_easthigh .boxbox .maintext {
    display:flex;
    flex-wrap:wrap;
    row-gap:2rem;
    column-gap:2rem;
}

.eldorado_easthigh .boxbox .maintext .halfgap {
    background-image: url('images/bg_highlights.jpg');
    background-size: cover;
    color: #111;
    box-shadow: 0 2px 5px rgba(0, 0, 0, .22);
    border-radius:2rem;
    padding:2rem;
    margin-top:-1rem;
}

.eldorado_easthigh .boxbox .maintext .halfgap ul li::marker {
    color: #111;
}

.eldorado_basin {
    padding-bottom:0 !important;
}

.eldorado_basin .boxbox {
    background-image:url('images/2025-07/bg_eldorado_mormon_basin.jpg');
    background-size:cover;
    background-position:center;
    border-radius:2rem;
    padding:3rem;
}

@media only screen and (max-width:1500px) {
    .eldorado_sum2023 .item {
        width:100%;
    }
}

@media only screen and (max-width:1000px) {
    .eldorado_plans .item {
        width:100%;
    }

    .eldorado_highlights ul li {
        width:100%;
        text-align:left;
    }

    .eldorado_meta .halfgap2 {
        width:100%;
    }

    .eldorado_meta .flex:first-of-type {
        flex-direction:column !important;
    }

    .eldorado_easthigh .halfgap {
        width:100%;
    }

    .eldorado_basin .boxbox {
        padding:2rem;
    }
}

@media only screen and (max-width:600px) {
    .eldorado_basin .boxbox {
        padding:1rem;
    }
}

/* #endregion */

/* #region DESIGN SYSTEM — Boilerplate Components */

/*
 * All components below use tokens from companyColors.css.
 * Use these classes across all _prepro pages for a consistent look.
 *
 * CARDS      — .pg-card  .pg-card--hover
 * HEADINGS   — .pg-card-title  .pg-section-title  .pg-section-subtitle
 * BAR        — .pg-gold-bar  .pg-gold-bar--center
 * BADGE      — .pg-badge
 * BUTTONS    — .pg-btn-primary  .pg-btn-secondary
 * FORMS      — .pg-input  .pg-textarea
 * ICON BOX   — .pg-icon-box  .pg-icon-box--lg
 * MISC       — .pg-empty  .pg-divider  .pg-link-back
 */

/* ---- Card ---- */
.pg-card {
    background: var(--color-card);
    backdrop-filter: blur(0.5rem);
    -webkit-backdrop-filter: blur(0.5rem);
    border-radius: 1rem;
    padding: 1.5rem;
    border: 1px solid var(--color-border);
    transition: border-color 200ms ease;
}

@media (min-width: 48rem) {
    .pg-card { padding: 2rem; }
}

.pg-card--hover:hover {
    border-color: var(--color-accent);
}

/* ---- Card Heading Block ---- */
.pg-card-head {
    margin-bottom: 1.5rem;
}

.pg-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: 0.5rem;
    line-height: 1.25;
}

/* ---- Section-level headings ---- */
.pg-section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 0.5rem;
    line-height: 1.25;
}

.pg-section-subtitle {
    color: var(--color-text-muted);
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

/* ---- Gold Bar (accent underline under titles) ---- */
.pg-gold-bar {
    width: 4rem;
    height: 0.25rem;
    background-color: var(--color-accent);
    border-radius: 0.125rem;
    flex-shrink: 0;
}

.pg-gold-bar--center {
    margin-inline: auto;
}

.pg-gold-bar--full {
    width: 100%;
}

/* ---- Badge / Pill ---- */
.pg-badge {
    display: inline-block;
    background: rgba(var(--color-accent-rgb), 0.10);
    border: 1px solid var(--color-accent);
    padding: 0.375rem 1rem;
    border-radius: 9999px;
    color: var(--color-accent);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    line-height: 1;
}

/* ---- Buttons ---- */
.pg-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(to right, var(--button-bg-primary), var(--button-hover-primary));
    color: var(--button-text-primary);
    font-weight: 700;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
    transition: all 200ms ease;
    text-decoration: none;
    font-size: 1rem;
    line-height: 1;
}

.pg-btn-primary:hover {
    background: linear-gradient(to right, var(--button-hover-primary), var(--button-bg-primary));
    transform: scale(1.03);
    color: var(--button-text-primary);
    box-shadow: 0 0.5rem 1.5rem rgba(var(--color-accent-rgb), 0.30);
}

.pg-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--button-bg-secondary);
    color: var(--button-text-secondary);
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    border: 1px solid var(--button-border-secondary);
    cursor: pointer;
    transition: all 200ms ease;
    text-decoration: none;
    font-size: 1rem;
    line-height: 1;
}

.pg-btn-secondary:hover {
    background: var(--button-hover-secondary);
    border-color: var(--color-accent);
    color: var(--color-accent);
}

/* ---- Form Inputs ---- */
.pg-input,
.pg-textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    background: var(--color-input-bg);
    border: 1px solid var(--color-input-border);
    border-radius: 0.75rem;
    color: var(--color-input-text);
    font-size: 1rem;
    transition: border-color 200ms ease, box-shadow 200ms ease;
    outline: none;
    display: block;
}

.pg-input::placeholder,
.pg-textarea::placeholder {
    color: var(--color-input-placeholder);
}

.pg-input:focus,
.pg-textarea:focus {
    border-color: var(--color-focus);
    box-shadow: 0 0 0 0.125rem rgba(var(--color-accent-rgb), 0.20);
}

.pg-input.pg-input--error,
.pg-textarea.pg-input--error {
    border-color: #ef4444;
}

.pg-textarea {
    resize: vertical;
    min-height: 8rem;
}

/* ---- Icon Box ---- */
.pg-icon-box {
    width: 2.5rem;
    height: 2.5rem;
    background: rgba(var(--color-accent-rgb), 0.10);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--color-accent);
}

.pg-icon-box--lg {
    width: 4rem;
    height: 4rem;
    border-radius: 0.75rem;
}

/* ---- Empty State ---- */
/* ---- Callout / Pull-quote ---- */
.pg-callout {
    background: rgba(var(--color-accent-rgb), 0.06);
    border-left: 0.25rem solid var(--color-accent);
    border-radius: 0 0.5rem 0.5rem 0;
    padding: 1.25rem 1.5rem;
}

.pg-empty {
    text-align: center;
    color: var(--color-text-muted);
    font-style: italic;
    padding: 3rem 1rem;
}

/* ---- Divider ---- */
.pg-divider {
    width: 100%;
    height: 1px;
    background: var(--color-border);
    margin-block: 1.5rem;
}

/* ---- Back Link ---- */
.pg-link-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-accent);
    font-weight: 600;
    font-size: 1.125rem;
    transition: color 200ms ease;
    text-decoration: none;
}

.pg-link-back:hover {
    color: var(--color-accent-alt);
}

/* ---- Event / Video Item (legacy page upgrade) ---- */
.pg-event-item {
    background: var(--color-card);
    backdrop-filter: blur(0.5rem);
    -webkit-backdrop-filter: blur(0.5rem);
    border-radius: 1rem;
    padding: 1.5rem;
    border: 1px solid var(--color-border);
    transition: border-color 200ms ease;
}

.pg-event-item:hover {
    border-color: var(--color-accent);
}

.pg-event-date {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-accent);
    margin-bottom: 0.25rem;
    display: block;
}

.pg-event-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: 0.5rem;
}

.pg-video-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 0.75rem;
    overflow: hidden;
    background: var(--color-bg-dark);
}

.pg-video-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* #endregion */

/* #region NEWS BODY */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.news-body h2,
.news-body h3,
.news-body h4 {
    color: #FFC72C;
    font-weight: bold;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.news-body h2 { font-size: 1.875rem; }
.news-body h3 { font-size: 1.5rem; }
.news-body h4 { font-size: 1.25rem; }

.news-body p {
    margin-bottom: 1.25rem;
    line-height: 1.75;
}

.news-body strong,
.news-body b {
    color: #ffffff;
    font-weight: 600;
}

.news-body ul,
.news-body ol {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.news-body li {
    margin-bottom: 0.75rem;
    line-height: 1.75;
}

.news-body a {
    color: #FFC72C;
    text-decoration: underline;
    transition: color 0.3s;
}

.news-body a:hover {
    color: #FFD700;
}

.news-body img {
    max-width: 100%;
    height: auto;
    border-radius: 1rem;
    margin: 2rem auto;
    display: block;
    border: 1px solid rgba(255, 199, 44, 0.2);
    cursor: pointer;
}

.news-body blockquote {
    border-left: 4px solid #FFC72C;
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: #d1d5db;
}

.news-body .drill-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 1.5rem 0;
    border-radius: 0.5rem;
    border: 1px solid rgba(255, 199, 44, 0.2);
}

.news-body table {
    width: 100%;
    min-width: 40rem;
    border-collapse: collapse;
    background: rgba(13, 17, 23, 0.6);
    font-size: 0.8125rem;
    margin: 0;
}

.news-body table caption {
    caption-side: top;
    text-align: left;
    padding: 0 0 0.75rem;
    color: #9ca3af;
    font-size: 0.8125rem;
    font-style: italic;
    white-space: nowrap;
}

.news-body table th {
    background: rgba(26, 35, 50, 0.95);
    color: #FFC72C;
    font-weight: 600;
    padding: 0.5rem 0.75rem;
    text-align: center;
    border-bottom: 1px solid rgba(255, 199, 44, 0.3);
    border-right: 1px solid rgba(255, 199, 44, 0.08);
    font-size: 0.8125rem;
    white-space: nowrap;
    letter-spacing: 0.025em;
}

.news-body table th:first-child {
    text-align: left;
}

.news-body table th:last-child {
    border-right: none;
}

.news-body table td {
    padding: 0.375rem 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    border-right: 1px solid rgba(255, 255, 255, 0.04);
    color: #d1d5db;
    vertical-align: middle;
    text-align: center;
}

.news-body table td:first-child {
    text-align: left;
    font-weight: 600;
    color: #e5e7eb;
}

.news-body table td:last-child {
    border-right: none;
}

.news-body table tr:last-child td {
    border-bottom: none;
}

.news-body table tbody tr:nth-child(even) td {
    background: rgba(255, 255, 255, 0.025);
}

.news-body table tbody tr:hover td {
    background: rgba(255, 199, 44, 0.06);
    color: #f3f4f6;
}
/* #endregion */
/* #region SUBPOP */
.subpop {
    position: fixed;
    bottom: -60px;
    left: 0;
    right: 0;
    height: 0;
    background-color: rgba(33, 33, 33, 0.97);
    z-index: 20;
    padding: 1.875rem;
    transition: all 0.5s cubic-bezier(0.075, 0.82, 0.165, 1);
    pointer-events: none;
}

.subpopshow {
    height: 100%;
    bottom: 0;
    pointer-events: all;
}

.full {
    width: 100%;
    height: 100%;
}

.subpop .subinner {
    max-width: 50rem;
    padding: 3.75rem;
    background-image: url('images/bg_subpop2.jpg');
    background-position: center center;
    background-size: cover;
    box-shadow: 0 0.125rem 0.3125rem rgba(0, 0, 0, 0.25);
    transition: all 0.5s;
    opacity: 0;
    margin-top: 1.875rem;
}

.subpop .subshow {
    margin-top: 0;
    opacity: 1;
}

.subpop .subinner .logo {
    background-size: contain;
    background-position: center left;
    background-repeat: no-repeat;
    min-height: 3.75rem;
}

.subpop .subinner .subout {
    font-size: 3rem;
    cursor: pointer;
    opacity: 0.5;
    transition: all 0.2s;
}

.subpop .subinner .subout:hover {
    opacity: 1;
}

.subpop .subinner span {
    font-size: 2rem;
    font-weight: 600;
    color: #2b3338;
    display: block;
    text-transform: uppercase;
}

.subpop .subinner form input {
    padding: 1.25rem;
    font-size: 1.35rem;
    background-color: #fff;
    border: 0.0625rem solid #ccc;
    border-radius: 0.3125rem;
    display: block;
    width: 100%;
}

.subpop .subinner form button {
    padding: 1.25rem;
    font-size: 1.35rem;
    font-weight: bold;
    text-transform: uppercase;
    color: #eee;
    border: 0;
    background-color: #333;
    border-radius: 0.3125rem;
    cursor: pointer;
}

.subpop .subinner form button:hover {
    color: #fff;
    background-color: #000;
}

.subpop .subinner form .checker {
    background-color: #fff;
    border-radius: 0.3125rem;
    border: 0.1875rem solid #eee;
    color: #eee;
    padding: 0.3125rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s;
    margin-right: 0.625rem;
}

.subpop .subinner form .checked {
    background-color: #097969;
    border-color: #097969;
    color: #fff;
}

.subpop .subinner form p {
    font-weight: bold;
}

@media only screen and (max-width: 43.75rem) {
    .subpop .subinner form {
        display: block;
    }

    .subpop .subinner form input[type="email"] {
        width: 100%;
    }

    .subpop .subinner form button {
        width: 100%;
        text-align: center;
        margin-top: 0.625rem;
    }

    .subpop .subinner {
        padding: 1.875rem;
    }

    .subpop .bottomflex {
        display: block;
    }
}
/* #endregion */

/* #region SUBRESPONSE */
.subresponse-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.subresponse-overlay.subresponse-visible {
    opacity: 1;
}

.subresponse-inner {
    position: relative;
    background: #1a2332;
    border: 0.0625rem solid rgba(255, 199, 44, 0.3);
    border-radius: 0.75rem;
    padding: 3rem 2.5rem;
    max-width: 28rem;
    width: 90%;
    text-align: center;
    transform: translateY(1rem);
    transition: transform 0.35s ease;
}

.subresponse-visible .subresponse-inner {
    transform: translateY(0);
}

.subresponse-close {
    position: absolute;
    top: 0.75rem;
    right: 1rem;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

.subresponse-close:hover {
    color: #fff;
}

.subresponse-icon {
    font-size: 3rem;
    color: #FFC72C;
    margin-bottom: 1rem;
}

.subresponse-title {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.subresponse-body {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1rem;
    line-height: 1.6;
}
/* #endregion */

/* #region PAGE: HOME */
@keyframes scroll-down {
    0% {
        opacity: 0;
        transform: translateY(-0.25rem);
    }
    30% {
        opacity: 1;
    }
    60% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateY(0.75rem);
    }
}

.mouse-wheel {
    animation: scroll-down 2s infinite;
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-1.875rem);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.fade-in-left.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(1.875rem);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.fade-in-right.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-up {
    opacity: 0;
    transform: translateY(1.875rem);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.fade-in-up.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.scale-in.animate-in {
    opacity: 1;
    transform: scale(1);
}

.highlight-item {
    opacity: 0;
    transform: translateX(-0.9375rem);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.highlight-item.animate-in {
    opacity: 1;
    transform: translateX(0);
}
/* #endregion */

/* #region Topbar Subscribe Button */
.pg-topbar-subscribe-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    background: rgba(var(--color-accent-rgb), 0.1);
    border: 1px solid rgba(var(--color-accent-rgb), 0.35);
    color: var(--color-accent);
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    padding: 0.375rem 0.875rem;
    border-radius: 2rem;
    cursor: pointer;
    transition: background 200ms ease, border-color 200ms ease, color 200ms ease;
    white-space: nowrap;
    line-height: 1;
    position: relative;
}

/* Beacon ring — scale-based so it's fully GPU-composited */
.pg-topbar-subscribe-btn::before,
.pg-topbar-subscribe-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 2rem;
    border: 1.5px solid rgba(var(--color-accent-rgb), 0.7);
    transform: scale(1);
    opacity: 0;
    animation: pgBeaconPulse 2.2s ease-out infinite;
    pointer-events: none;
    will-change: transform, opacity;
}

.pg-topbar-subscribe-btn::after {
    border-width: 1px;
    border-color: rgba(var(--color-accent-rgb), 0.45);
    animation-delay: 0.8s;
}

@keyframes pgBeaconPulse {
    0%   { transform: scale(1);    opacity: 0.8; }
    100% { transform: scale(1.55); opacity: 0;   }
}

.pg-topbar-subscribe-btn.pg-sub-done::before,
.pg-topbar-subscribe-btn.pg-sub-done::after {
    display: none;
}

.pg-topbar-subscribe-btn svg {
    width: 0.875rem;
    height: 0.875rem;
    flex-shrink: 0;
}

.pg-topbar-subscribe-btn:hover {
    background: rgba(var(--color-accent-rgb), 0.2);
    border-color: var(--color-accent);
    color: var(--color-accent-alt);
}

@media (max-width: 479px) {
    .pg-topbar-subscribe-btn .pg-topbar-btn-label {
        display: none;
    }
}
/* #endregion */

/* #region Subscribe Modal */

/* Honeypot — always hidden */
.firstnameform {
    display: none !important;
    visibility: hidden !important;
    position: absolute !important;
    left: -9999px !important;
}

.pg-submodal {
    position: fixed;
    inset: 0;
    background: rgba(13, 17, 23, 0.82);
    backdrop-filter: blur(0.5rem);
    -webkit-backdrop-filter: blur(0.5rem);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5rem 1.5rem 3rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0s linear 0.4s;
    overflow-y: auto;
}

.pg-submodal.pg-submodal--visible {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.4s ease, visibility 0s linear 0s;
}

/* Ambient gold glow behind content */
.pg-submodal-glow {
    position: absolute;
    width: 36rem;
    height: 36rem;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(ellipse at center, rgba(var(--color-accent-rgb), 0.07) 0%, transparent 70%);
    pointer-events: none;
    border-radius: 50%;
}

.pg-submodal-close {
    position: absolute;
    top: 0;
    right: 0;
    width: 2.75rem;
    height: 2.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(26, 35, 50, 0.9);
    border: 1px solid var(--color-border);
    border-radius: 50%;
    color: var(--color-text-muted);
    cursor: pointer;
    z-index: 10002;
    transition: color 200ms ease, border-color 200ms ease, transform 200ms ease;
    opacity: 0;
    transform: scale(0.75) rotate(-90deg);
}

.pg-submodal--visible .pg-submodal-close {
    opacity: 1;
    transform: scale(1) rotate(0deg);
    transition: opacity 0.35s ease 0.35s, color 200ms ease, border-color 200ms ease,
                transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) 0.35s;
}

.pg-submodal-close:hover {
    color: var(--color-accent);
    border-color: rgba(var(--color-accent-rgb), 0.5);
    transform: scale(1.08);
}

.pg-submodal-close svg {
    width: 1.125rem;
    height: 1.125rem;
}

/* Content wrapper — stagger trigger */
.pg-submodal-content {
    position: relative;
    width: 100%;
    max-width: 38rem;
    text-align: center;
    z-index: 1;
}

/* Staggered children — use child elements individually */
.pg-submodal-badge,
.pg-submodal-title,
.pg-submodal-desc,
.pg-submodal-body {
    opacity: 0;
    transform: translateY(1.75rem);
}

.pg-submodal--visible .pg-submodal-badge {
    animation: pgSubStagger 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.15s forwards;
}
.pg-submodal--visible .pg-submodal-title {
    animation: pgSubStagger 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.25s forwards;
}
.pg-submodal--visible .pg-submodal-desc {
    animation: pgSubStagger 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.35s forwards;
}
.pg-submodal--visible .pg-submodal-body {
    animation: pgSubStagger 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.45s forwards;
}

@keyframes pgSubStagger {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Modal title */
.pg-submodal-title {
    font-size: clamp(1.75rem, 5vw, 2.75rem);
    font-weight: 800;
    color: var(--color-text-primary);
    line-height: 1.15;
    margin: 0.75rem 0 1rem;
    letter-spacing: -0.025em;
}

.pg-submodal-title span {
    color: var(--color-accent);
}

.pg-submodal-desc {
    color: var(--color-text-secondary);
    font-size: 1.0625rem;
    line-height: 1.65;
    margin-bottom: 2rem;
    max-width: 30rem;
    margin-left: auto;
    margin-right: auto;
}

/* Badge in modal */
.pg-submodal-badge {
    margin-bottom: 0;
}

/* Inner card body */
.pg-submodal-body {
    max-width: 30rem;
    margin: 0 auto;
}

.pg-submodal-body .pg-card {
    background: rgba(13, 17, 23, 0.92);
    border: 1px solid rgba(var(--color-accent-rgb), 0.15);
}

/* Form row grid */
.pg-submodal-form-fields {
    display: grid;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

/* Privacy notice */
.pg-submodal-privacy {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    color: var(--color-text-muted);
    font-size: 0.75rem;
    margin-top: 0.875rem;
}

.pg-submodal-privacy svg {
    width: 0.875rem;
    height: 0.875rem;
    flex-shrink: 0;
    stroke: currentColor;
}

/* Decorative gold line above modal content */
.pg-submodal-divider {
    width: 3rem;
    height: 0.125rem;
    background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
    margin: 0 auto 1.5rem;
    opacity: 0;
    transform: scaleX(0);
}

.pg-submodal--visible .pg-submodal-divider {
    animation: pgSubDivider 0.6s ease 0.55s forwards;
}

@keyframes pgSubDivider {
    to {
        opacity: 1;
        transform: scaleX(1);
    }
}

/* Body scroll lock when modal is open */
body.overflow-hidden {
    overflow: hidden;
}

/* Already-subscribed state: hide open button */
.pg-topbar-subscribe-btn.pg-sub-done {
    opacity: 0.45;
    pointer-events: none;
    cursor: default;
}

/* #endregion */
