/* =====================================================
   CENTAURI MINERALS — GLOBAL CSS
   WordPress + Elementor Ready
   Last updated: June 2026
   Includes: base, layout, components, nav, header,
             dropdowns, mobile menu, popups, footer,
             investor pages, project pages, subscribe
===================================================== */


/* =========================
   FONT LOAD — Garet
========================= */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800&display=swap');

/*
@font-face {
  font-family: "Garet";
  src: url("https://centauriminerals.com/wp-content/fonts/Garet-Book.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Garet";
  src: url("https://centauriminerals.com/wp-content/fonts/Garet-Heavy.woff2") format("woff2");
  font-weight: 700 800;
  font-style: normal;
  font-display: swap;
}
*/


/* =========================
   BRAND VARIABLES
========================= */

:root {
  --cm-navy:  #154973;
  --cm-gold:  #B87C00;
  --cm-sky:   #75ADE0;
  --cm-grey:  #CED2D7;
  --cm-black: #000000;
  --cm-white: #FFFFFF;
  --cm-light: #F6F7F8;
  --cm-text:  #1F2A33;
}


/* =========================
   BASE RESET
========================= */

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: #ffffff;
  font-family: "Garet", "Montserrat", "Arial", sans-serif;
  color: var(--cm-text);
}

body, .site, .site-content, .content-area, .entry-content,
.elementor, .elementor-section-wrap, .elementor-widget-container {
  width: 100% !important;
  max-width: none !important;
}


/* =========================
   ELEMENTOR FULL-BLEED FIX
========================= */

.elementor-section,
.elementor-section.elementor-section-boxed > .elementor-container,
.e-con, .e-con-inner {
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.site-main, .entry-content, .post-content, .page-content {
  padding: 0 !important;
  margin: 0 !important;
  max-width: 100% !important;
}

.elementor-widget-wrap { padding: 0 !important; }


/* =========================
   LAYOUT
========================= */

.cm-container {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.cm-section {
  padding: 80px 8%;
  background: #ffffff;
  color: var(--cm-text);
}

.cm-section.cm-light { background: var(--cm-light); }

.cm-section.cm-navy-section {
  background: var(--cm-navy);
  color: #ffffff;
}

.cm-navy-section .cm-section-title,
.cm-navy-section p,
.cm-navy-section h2,
.cm-navy-section h3 { color: #ffffff; }

.cm-slideshow-hero, .cm-page-hero, .cm-project-hero {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}


/* =========================
   GLOBAL HEADER
========================= */

.cm-global-header {
  background: #ffffff;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 9999;
  width: 100%;
  transition: box-shadow 0.3s ease;
}

.cm-global-header.cm-header-compact {
  box-shadow: 0 2px 16px rgba(0,0,0,0.10);
}

.cm-global-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 14px 0;
  min-height: 72px;
}

.cm-global-logo { flex-shrink: 0; display: block; }
.cm-global-logo img { width: 220px; height: auto; display: block; }

.cm-header-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}


/* =========================
   PRIMARY NAV
========================= */

.cm-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 4px;
}

.cm-nav-list > li { position: relative; }

.cm-nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--cm-navy);
  text-decoration: none;
  font-weight: 700;
  font-size: 13.5px;
  padding: 8px 12px;
  border-radius: 3px;
  white-space: nowrap;
  transition: color 0.2s ease, background 0.2s ease;
}

.cm-nav-link:hover {
  color: var(--cm-gold);
  background: rgba(21,73,115,0.05);
}

.cm-nav-list > li.current-menu-item > .cm-nav-link,
.cm-nav-list > li.current-menu-ancestor > .cm-nav-link,
.cm-nav-list > li.current_page_item > .cm-nav-link,
.cm-nav-list > li.current_page_ancestor > .cm-nav-link,
.cm-nav-list > li.current-menu-parent > .cm-nav-link {
  color: var(--cm-gold) !important;
  background: transparent !important;
  box-shadow: none !important;
}

.cm-nav-arrow {
  font-size: 10px;
  margin-left: 2px;
  transition: transform 0.2s ease;
  display: inline-block;
}

.cm-has-dropdown:hover .cm-nav-arrow { transform: rotate(180deg); }

/* Indented dropdown items */
.cm-dropdown .cm-dropdown-indented > .cm-dropdown-link {
  padding-left: 32px;
  font-size: 12px;
  color: #666666;
  font-weight: 600;
  border-left: 3px solid var(--cm-gold);
  margin-left: 12px;
}

.cm-dropdown .cm-dropdown-indented > .cm-dropdown-link:hover {
  padding-left: 38px;
  color: var(--cm-gold);
  background: var(--cm-light);
}


/* =========================
   FIRST-LEVEL DROPDOWN
========================= */

.cm-dropdown {
  list-style: none;
  margin: 0;
  padding: 8px 0;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  background: #ffffff;
  border-top: 3px solid var(--cm-gold);
  box-shadow: 0 12px 36px rgba(0,0,0,0.14);
  min-width: 240px;
  border-radius: 0 0 6px 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 100;
}

.cm-has-dropdown:hover > .cm-dropdown,
.cm-has-dropdown:focus-within > .cm-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.cm-dropdown-link {
  display: block;
  padding: 10px 20px;
  color: var(--cm-navy);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transition: color 0.2s ease, background 0.2s ease, padding-left 0.2s ease;
}

.cm-dropdown-link:hover {
  color: var(--cm-gold);
  background: var(--cm-light);
  padding-left: 26px;
}

.cm-dropdown li.current-menu-item > .cm-dropdown-link { color: var(--cm-gold); }

.cm-dropdown li.cm-menu-divider {
  border-top: 1px solid var(--cm-grey);
  margin: 6px 0;
}


/* =========================
   SECOND-LEVEL SUB-DROPDOWN
========================= */

.cm-dropdown li.cm-has-dropdown { position: relative; }

.cm-subdropdown {
  list-style: none;
  margin: 0;
  padding: 8px 0;
  position: absolute;
  top: -8px;
  left: 100%;
  background: #ffffff;
  border-top: 3px solid var(--cm-gold);
  box-shadow: 0 12px 36px rgba(0,0,0,0.14);
  min-width: 260px;
  border-radius: 0 0 6px 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 101;
}

.cm-dropdown li.cm-has-dropdown:hover > .cm-subdropdown,
.cm-dropdown li.cm-has-dropdown:focus-within > .cm-subdropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.cm-subdropdown-link {
  display: block;
  padding: 10px 20px;
  color: var(--cm-navy);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transition: color 0.2s ease, background 0.2s ease, padding-left 0.2s ease;
}

.cm-subdropdown-link:hover {
  color: var(--cm-gold);
  background: var(--cm-light);
  padding-left: 26px;
}

.cm-dropdown li.cm-has-dropdown > .cm-dropdown-link::after {
  content: " ›";
  font-size: 14px;
  float: right;
  color: var(--cm-gold);
}


/* =========================
   SEARCH BAR
========================= */

.cm-search-wrapper { position: relative; }

.cm-search-toggle {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--cm-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border-radius: 3px;
  transition: color 0.2s ease, background 0.2s ease;
}

.cm-search-toggle:hover {
  color: var(--cm-gold);
  background: rgba(21,73,115,0.05);
}

.cm-search-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: #ffffff;
  border-top: 3px solid var(--cm-gold);
  box-shadow: 0 12px 36px rgba(0,0,0,0.14);
  padding: 16px;
  width: 320px;
  border-radius: 0 0 6px 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 200;
}

.cm-search-dropdown.cm-search-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.cm-search-form { display: flex; align-items: center; gap: 8px; }

.cm-search-input {
  flex: 1;
  border: 1px solid var(--cm-grey);
  padding: 10px 14px;
  font-size: 14px;
  font-family: inherit;
  color: var(--cm-text);
  border-radius: 3px;
  outline: none;
  transition: border-color 0.2s ease;
}

.cm-search-input:focus { border-color: var(--cm-navy); }

.cm-search-btn {
  background: var(--cm-navy);
  border: none;
  color: #ffffff;
  padding: 10px 12px;
  border-radius: 3px;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: background 0.2s ease;
}

.cm-search-btn:hover { background: var(--cm-gold); }


/* =========================
   LANGUAGE SWITCHER
========================= */

.cm-lang-switcher {
  display: flex;
  align-items: center;
  border: 1px solid var(--cm-grey);
  border-radius: 3px;
  overflow: hidden;
  flex-shrink: 0;
}

.cm-lang-btn {
  background: none;
  border: none;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 700;
  font-family: inherit;
  color: var(--cm-navy);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.cm-lang-btn:hover, .cm-lang-btn.cm-lang-active {
  background: var(--cm-navy);
  color: #ffffff;
}

.cm-lang-divider { color: var(--cm-grey); font-size: 12px; pointer-events: none; }

.cm-lang-switcher ul { list-style: none; margin: 0; padding: 0; display: flex; }

.cm-lang-switcher ul li a {
  display: block;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 700;
  color: var(--cm-navy);
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.cm-lang-switcher ul li.current-lang a,
.cm-lang-switcher ul li a:hover {
  background: var(--cm-navy);
  color: #ffffff;
}


/* =========================
   MOBILE HAMBURGER
========================= */

.cm-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 3px;
  transition: background 0.2s ease;
}

.cm-hamburger:hover { background: rgba(21,73,115,0.05); }

.cm-hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--cm-navy);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.cm-hamburger.cm-is-open .cm-hamburger-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.cm-hamburger.cm-is-open .cm-hamburger-line:nth-child(2) { opacity: 0; transform: scaleX(0); }
.cm-hamburger.cm-is-open .cm-hamburger-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* =========================
   WELCOME BACK BANNER
========================= */

.cm-welcome-banner {
  background: var(--cm-navy);
  color: #ffffff;
  padding: 10px 0;
  position: sticky;
  top: 72px;
  z-index: 9998;
  border-bottom: 2px solid var(--cm-gold);
}

.cm-welcome-banner-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.cm-welcome-text { font-size: 13px; color: rgba(255,255,255,0.92); }
.cm-welcome-link { color: var(--cm-gold); font-weight: 700; text-decoration: none; }
.cm-welcome-link:hover { text-decoration: underline; }

.cm-welcome-close {
  background: none;
  border: none;
  color: rgba(255,255,255,0.70);
  font-size: 20px;
  cursor: pointer;
  padding: 0 4px;
  line-height: 1;
  flex-shrink: 0;
  transition: color 0.2s ease;
}

.cm-welcome-close:hover { color: #ffffff; }


/* =========================
   POP-UP MODALS
   (Events pop-up + Subscribe pop-up share these styles)
========================= */

.cm-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.cm-popup-overlay.cm-popup-visible { opacity: 1; visibility: visible; }

.cm-popup {
  background: #ffffff;
  border-top: 5px solid var(--cm-gold);
  border-radius: 0 0 10px 10px;
  padding: 40px;
  max-width: 520px;
  width: 100%;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.cm-popup-overlay.cm-popup-visible .cm-popup { transform: translateY(0); }

.cm-popup-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  font-size: 26px;
  color: #888888;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s ease;
}

.cm-popup-close:hover { color: var(--cm-navy); }

.cm-popup-eyebrow {
  color: var(--cm-gold);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 10px;
}

.cm-popup-title { color: var(--cm-navy); font-size: 26px; font-weight: 800; margin: 0 0 24px; }

.cm-popup-event {
  border-bottom: 1px solid var(--cm-grey);
  padding: 16px 0;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.cm-popup-event:last-child { border-bottom: none; }

.cm-popup-event-date {
  background: var(--cm-navy);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 3px;
  white-space: nowrap;
  flex-shrink: 0;
}

.cm-popup-event-info h4 { color: var(--cm-navy); font-size: 15px; font-weight: 700; margin: 0 0 4px; }
.cm-popup-event-info p { color: #666666; font-size: 13px; margin: 0; }


/* =========================
   FIXED INVESTOR SIDEBAR
========================= */

.cm-fixed-sidebar {
  position: fixed;
  right: 0;
  top: calc(50% + 36px);
  transform: translateY(-50%);
  z-index: 9000;
}

.cm-fixed-sidebar-inner {
  display: flex;
  flex-direction: column;
  background: var(--cm-navy);
  border-radius: 8px 0 0 8px;
  overflow: hidden;
  box-shadow: -4px 0 20px rgba(0,0,0,0.15);
}

.cm-fixed-sidebar-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 14px 12px;
  color: rgba(255,255,255,0.80);
  text-decoration: none;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid rgba(255,255,255,0.10);
  transition: background 0.2s ease, color 0.2s ease;
  text-align: center;
}

.cm-fixed-sidebar-link:last-child { border-bottom: none; }
.cm-fixed-sidebar-link:hover { background: var(--cm-gold); color: #ffffff; }


/* =========================
   SUBSCRIBE SIDEBAR TRIGGER
   Pulsing gold dot to draw attention
========================= */

.cm-subscribe-trigger {
  position: relative;
}

.cm-subscribe-trigger::before {
  content: "";
  position: absolute;
  top: 10px;
  right: 8px;
  width: 8px;
  height: 8px;
  background: var(--cm-gold);
  border-radius: 50%;
  animation: cmPulse 2s infinite;
}

@keyframes cmPulse {
  0%   { transform: scale(1);   opacity: 1; }
  50%  { transform: scale(1.5); opacity: 0.5; }
  100% { transform: scale(1);   opacity: 1; }
}


/* =========================
   TYPOGRAPHY
========================= */

.cm-eyebrow {
  color: var(--cm-gold);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 700;
  font-size: 12px;
  margin-bottom: 14px;
  display: block;
}

.cm-title { font-size: clamp(38px,6vw,66px); line-height: 1.05; font-weight: 800; margin: 0 0 22px; color: #ffffff; }
.cm-subtitle { font-size: 19px; line-height: 1.7; max-width: 760px; color: rgba(255,255,255,0.90); }
.cm-gold { color: var(--cm-gold); }

.cm-section-title { color: var(--cm-navy); font-size: clamp(28px,4vw,44px); font-weight: 800; margin-bottom: 16px; line-height: 1.1; }
.cm-section-text { font-size: 17px; line-height: 1.75; max-width: 860px; color: var(--cm-text); margin-bottom: 0; }

.cm-section-intro { max-width: 760px; margin-bottom: 40px; }
.cm-section-intro h2 { font-size: clamp(28px,4vw,42px); font-weight: 800; margin: 10px 0 16px; color: var(--cm-navy); }
.cm-section-intro p { font-size: 17px; line-height: 1.7; color: #555555; }

.cm-section-header-row { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; }
.cm-section-header-row .cm-section-title { margin-bottom: 0; }


/* =========================
   BUTTONS
========================= */

.cm-button {
  display: inline-block;
  background: var(--cm-gold);
  color: #ffffff !important;
  padding: 14px 28px;
  border-radius: 3px;
  text-decoration: none !important;
  font-weight: 700;
  font-size: 14px;
  margin-top: 26px;
  margin-right: 12px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.cm-button:hover { background: #9f6b00; transform: translateY(-2px); }

.cm-button-outline {
  background: transparent !important;
  border: 2px solid #ffffff;
  color: #ffffff !important;
  padding: 14px 28px;
  border-radius: 3px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none !important;
  display: inline-block;
  margin-top: 26px;
  margin-right: 12px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.cm-button-outline:hover { background: #ffffff !important; color: var(--cm-navy) !important; transform: translateY(-2px); }

.cm-text-link { color: var(--cm-navy); font-weight: 700; font-size: 13px; text-decoration: none; transition: color 0.2s ease; }
.cm-text-link:hover { color: var(--cm-gold); }
.cm-underline-link { border-bottom: 2px solid var(--cm-gold); padding-bottom: 3px; }


/* =========================
   GRIDS
========================= */

.cm-grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; margin-top: 40px; }
.cm-grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 26px; margin-top: 40px; }


/* =========================
   CARDS
========================= */

.cm-card {
  background: #ffffff;
  color: var(--cm-text);
  border-radius: 0 0 10px 10px;
  padding: 32px;
  border-top: 4px solid var(--cm-gold);
  box-shadow: 0 8px 26px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cm-card:hover { transform: translateY(-5px); box-shadow: 0 16px 38px rgba(0,0,0,0.12); }
.cm-card h3 { color: var(--cm-navy); font-size: 20px; font-weight: 700; margin-top: 0; margin-bottom: 12px; }
.cm-card p { color: var(--cm-text); font-size: 15px; line-height: 1.65; margin: 0; }

.cm-card-icon {
  width: 44px; height: 44px;
  background: var(--cm-light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  color: var(--cm-navy);
}

.cm-icon { font-size: 36px; color: var(--cm-gold); margin-bottom: 16px; display: block; }

/* Static card — no hover effect for non-linked cards */
.cm-card-static {
  background: #ffffff;
  color: var(--cm-text);
  border-radius: 0 0 10px 10px;
  padding: 32px;
  border-top: 4px solid var(--cm-gold);
  box-shadow: 0 8px 26px rgba(0,0,0,0.08);
  cursor: default;
}

.cm-card-static h3 { color: var(--cm-navy); font-size: 20px; font-weight: 700; margin-top: 0; margin-bottom: 12px; }
.cm-card-static p { color: var(--cm-text); font-size: 15px; line-height: 1.65; margin: 0; }


/* =========================
   HOME — SLIDESHOW HERO
========================= */

.cm-slideshow-hero {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  display: flex;
  align-items: center;
  color: #ffffff;
}

.cm-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; animation: cmFade 20s infinite;
}

.cm-slide:nth-child(1) { animation-delay: 0s; }
.cm-slide:nth-child(2) { animation-delay: 5s; }
.cm-slide:nth-child(3) { animation-delay: 10s; }
.cm-slide:nth-child(4) { animation-delay: 15s; }

.cm-slideshow-hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(21,73,115,0.92), rgba(21,73,115,0.45), rgba(21,73,115,0.15));
  z-index: 1;
}

.cm-hero-content { position: relative; z-index: 2; max-width: 820px; }

@keyframes cmFade {
  0%   { opacity: 0; }
  8%   { opacity: 1; }
  28%  { opacity: 1; }
  36%  { opacity: 0; }
  100% { opacity: 0; }
}


/* =========================
   PAGE HERO HEADERS
========================= */

.cm-page-hero {
  position: relative; min-height: 420px;
  display: flex; align-items: center;
  overflow: hidden; color: #ffffff;
  background:
    linear-gradient(90deg, rgba(21,73,115,0.92), rgba(21,73,115,0.62)),
    url("https://centauriminerals.com/wp-content/uploads/2026/05/DJI_0205-1.jpg");
  background-size: cover; background-position: center; background-repeat: no-repeat;
}

.cm-page-hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.12), rgba(0,0,0,0.30));
  z-index: 1;
}

.cm-page-hero-content { position: relative; z-index: 2; max-width: 850px; }
.cm-page-hero h1 { font-size: clamp(42px,6vw,72px); line-height: 1.02; margin: 0 0 24px; color: #ffffff; }
.cm-page-hero p { font-size: 20px; line-height: 1.7; max-width: 760px; color: rgba(255,255,255,0.92); }


/* =========================
   PROJECT HERO
========================= */

.cm-project-hero {
  position: relative; min-height: 460px;
  display: flex; align-items: center;
  overflow: hidden; color: #ffffff;
  background:
    linear-gradient(90deg, rgba(21,73,115,0.92), rgba(21,73,115,0.50)),
    var(--project-hero-image);
  background-size: cover; background-position: center;
}

.cm-project-hero::after {
  content: ""; position: absolute; inset: 0;
  background: rgba(0,0,0,0.18); z-index: 1;
}

.cm-project-hero-content { position: relative; z-index: 2; max-width: 850px; }
.cm-project-hero h1 { font-size: clamp(42px,6vw,72px); line-height: 1.02; margin: 0 0 24px; color: #ffffff; }
.cm-project-hero p { font-size: 20px; line-height: 1.7; max-width: 760px; color: rgba(255,255,255,0.92); }


/* =========================
   HOME — STATS BAR
========================= */

.cm-stats-bar { background: var(--cm-navy); padding: 28px 0; }
.cm-stats-grid { display: grid; grid-template-columns: repeat(4,1fr); }

.cm-stat {
  display: flex; flex-direction: column;
  align-items: center; text-align: center;
  padding: 10px 20px;
  border-right: 1px solid rgba(255,255,255,0.12);
}

.cm-stat:last-child { border-right: none; }
.cm-stat-number { font-size: 28px; font-weight: 800; color: var(--cm-gold); line-height: 1; margin-bottom: 6px; }
.cm-stat-label { font-size: 11px; color: rgba(255,255,255,0.72); text-transform: uppercase; letter-spacing: 1.5px; font-weight: 600; }


/* =========================
   HOME — WHY CENTAURI
========================= */

.cm-why-grid { display: grid; grid-template-columns: repeat(3,1fr); margin-top: 40px; }
.cm-why-item { border-left: 4px solid var(--cm-gold); padding: 0 32px 0 24px; }
.cm-why-item:first-child { border-left: none; padding-left: 0; }
.cm-why-label { font-size: 11px; color: var(--cm-sky); text-transform: uppercase; letter-spacing: 2px; font-weight: 700; margin-bottom: 10px; }
.cm-why-item h3 { font-size: 18px; font-weight: 700; color: #ffffff; margin: 0 0 10px; }
.cm-why-item p { font-size: 14px; color: rgba(255,255,255,0.75); line-height: 1.7; margin: 0; }


/* =========================
   HOME — RESPONSIBLE EXPLORATION
========================= */

.cm-responsible-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.cm-esg-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cm-esg-card { background: var(--cm-light); padding: 22px; border-radius: 6px; border-top: 3px solid var(--cm-navy); }
.cm-esg-title { font-size: 11px; font-weight: 700; color: var(--cm-navy); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 8px; }
.cm-esg-card p { font-size: 13px; color: #555555; line-height: 1.65; margin: 0; }


/* =========================
   IMAGE HOVER OVERLAYS
========================= */

.cm-hover-wrap { position: relative; overflow: hidden; display: block; }
.cm-hover-wrap .cm-hover-img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.cm-hover-wrap:hover .cm-hover-img { transform: scale(1.05); }

.cm-hover-overlay {
  position: absolute; inset: 0;
  background: rgba(21,73,115,0.75);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.3s ease;
}

.cm-hover-wrap:hover .cm-hover-overlay { opacity: 1; }

.cm-hover-overlay-text {
  color: #ffffff; font-size: 15px; font-weight: 700; text-align: center; padding: 16px;
  transform: translateY(8px); transition: transform 0.3s ease;
}

.cm-hover-wrap:hover .cm-hover-overlay-text { transform: translateY(0); }


/* =========================
   PROJECTS PAGE
========================= */

.cm-project-tabs { display: flex; border-bottom: 1px solid var(--cm-grey); margin-bottom: 45px; }
.cm-project-tabs a { padding: 16px 34px; text-decoration: none; color: var(--cm-navy); font-weight: 700; font-size: 14px; transition: background 0.2s ease, color 0.2s ease; }
.cm-project-tabs a.active, .cm-project-tabs a:hover { background: var(--cm-navy); color: #ffffff; }

.cm-project-card-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; margin-top: 32px; }

.cm-project-tile { background: var(--cm-light); border-radius: 8px; overflow: hidden; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.cm-project-tile:hover { transform: translateY(-5px); box-shadow: 0 16px 38px rgba(0,0,0,0.12); }
.cm-project-tile img { width: 100%; height: 240px; object-fit: cover; display: block; }
.cm-project-tile-content { padding: 26px; }
.cm-project-tile-content span { color: var(--cm-gold); text-transform: uppercase; font-size: 11px; font-weight: 700; letter-spacing: 1.5px; }
.cm-project-tile-content h3 { color: var(--cm-navy); font-size: 22px; font-weight: 700; margin: 12px 0 8px; }
.cm-project-tile-content p { color: var(--cm-text); font-size: 14px; line-height: 1.65; margin-bottom: 16px; }
.cm-project-tile-content a { color: var(--cm-navy); font-weight: 700; font-size: 13px; text-decoration: none; transition: color 0.2s ease; }
.cm-project-tile-content a:hover { color: var(--cm-gold); }

.cm-project-overview { display: grid; grid-template-columns: 2fr 1fr; gap: 50px; }

.cm-project-facts { background: var(--cm-light); padding: 30px; border-top: 4px solid var(--cm-gold); border-radius: 0 0 6px 6px; }
.cm-project-facts h3 { color: var(--cm-navy); font-size: 18px; font-weight: 700; margin: 0 0 16px; }
.cm-project-facts ul { list-style: none; padding: 0; margin: 0; }
.cm-project-facts li { padding: 10px 0; border-bottom: 1px solid var(--cm-grey); font-size: 14px; color: var(--cm-text); }

.cm-map { width: 100%; border-radius: 8px; }
.cm-timeline { border-left: 3px solid var(--cm-gold); padding-left: 28px; }
.cm-timeline-item { margin-bottom: 36px; }

.cm-gallery { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.cm-gallery img { width: 100%; height: 240px; object-fit: cover; border-radius: 4px; }
[hidden] { display: none !important; }


/* =========================
   INVESTORS PAGE
========================= */

.cm-investor-bg {
  position: relative;
  background: linear-gradient(rgba(255,255,255,0.92), rgba(255,255,255,0.92)),
    url("https://centauriminerals.com/wp-content/uploads/2026/05/DJI_0205-2.jpg");
  background-size: cover; background-position: center;
}

.cm-investor-tabs { display: flex; flex-wrap: wrap; border-bottom: 1px solid var(--cm-grey); margin-bottom: 38px; }
.cm-investor-tabs a { padding: 16px 28px; color: var(--cm-navy); text-decoration: none; font-weight: 700; font-size: 14px; transition: background 0.2s ease, color 0.2s ease; }
.cm-investor-tabs a.active, .cm-investor-tabs a:hover { background: var(--cm-navy); color: #ffffff; }

.cm-investor-quicklinks { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin-bottom: 56px; }
.cm-investor-quicklinks a { background: var(--cm-light); padding: 22px; color: var(--cm-navy); text-decoration: none; font-weight: 700; font-size: 14px; border-top: 4px solid var(--cm-gold); transition: background 0.2s ease; }
.cm-investor-quicklinks a:hover { background: #e8edf2; }

.cm-investor-intro h2 { color: var(--cm-navy); font-size: clamp(28px,4vw,48px); font-weight: 800; margin-bottom: 18px; }
.cm-investor-intro p { max-width: 860px; font-size: 18px; line-height: 1.75; }

.cm-investor-highlights { display: grid; grid-template-columns: repeat(3,1fr); gap: 34px; margin-top: 45px; }
.cm-investor-highlight { border-left: 4px solid var(--cm-gold); padding-left: 22px; }
.cm-investor-highlight h3 { color: var(--cm-navy); font-size: 20px; font-weight: 700; margin: 0 0 10px; }

.cm-investor-resource-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; }
.cm-investor-resource-card { background: #ffffff; padding: 32px; border-top: 4px solid var(--cm-gold); box-shadow: 0 8px 26px rgba(0,0,0,0.08); border-radius: 0 0 8px 8px; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.cm-investor-resource-card:hover { transform: translateY(-5px); box-shadow: 0 16px 38px rgba(0,0,0,0.12); }
.cm-investor-resource-card h3 { color: var(--cm-navy); font-size: 20px; font-weight: 700; margin: 0 0 12px; }
.cm-investor-resource-card a { color: var(--cm-navy); font-weight: 700; text-decoration: none; font-size: 14px; }

.cm-investor-dashboard { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; }
.cm-investor-panel { background: var(--cm-light); padding: 28px; border-radius: 6px; }

.cm-panel-header { display: flex; justify-content: space-between; align-items: center; gap: 16px; border-bottom: 1px solid var(--cm-grey); padding-bottom: 16px; margin-bottom: 18px; }
.cm-panel-header h3 { color: var(--cm-navy); font-size: 17px; font-weight: 700; margin: 0; }
.cm-panel-header a { color: var(--cm-gold); font-weight: 700; font-size: 13px; text-decoration: none; }

.cm-investor-panel .cm-investor-news-item { display: flex; flex-direction: column; }
.cm-investor-panel .cm-investor-news-item a { color: var(--cm-navy); text-decoration: none; font-weight: 700; font-size: 14px; padding: 13px 0; transition: color 0.2s ease; }
.cm-investor-panel .cm-investor-news-item a:hover { color: var(--cm-gold); }
.cm-investor-panel .cm-investor-news-item span { color: var(--cm-gold); font-weight: 700; font-size: 12px; display: block; margin-bottom: 4px; }

.cm-document-list { display: flex; flex-direction: column; }
.cm-document-list a { color: var(--cm-navy); text-decoration: none; font-weight: 700; font-size: 14px; padding: 13px 0; border-bottom: 1px solid var(--cm-grey); transition: color 0.2s ease; }
.cm-document-list a:hover { color: var(--cm-gold); }

.cm-event-item { display: flex; gap: 16px; border-bottom: 1px solid var(--cm-grey); padding: 14px 0; }
.cm-event-item h4 { color: var(--cm-navy); font-size: 15px; font-weight: 700; margin: 0 0 4px; }
.cm-event-date { background: var(--cm-navy); color: #ffffff; min-width: 60px; height: 60px; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; border-radius: 4px; flex-shrink: 0; text-align: center; }


/* =========================
   INVESTOR SUB-PAGES
   (ESTMA, Financial Statements, Shareholder Meetings,
    Investor Hub, Analyst Coverage)
========================= */

/* Shared two-column layout */
.cm-estma-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 64px;
  align-items: start;
}

/* Main column heading */
.cm-estma-main {}
.cm-estma-heading {
  font-size: 28px;
  font-weight: 800;
  color: var(--cm-navy);
  margin: 0 0 28px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--cm-grey);
}

/* Notice block (gold left border) */
.cm-estma-notice {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--cm-light);
  border-left: 4px solid var(--cm-gold);
  padding: 18px 22px;
  border-radius: 0 6px 6px 0;
  margin-bottom: 24px;
}

.cm-estma-notice svg { color: var(--cm-gold); flex-shrink: 0; margin-top: 2px; }
.cm-estma-notice p { font-size: 14px; color: #555555; line-height: 1.7; margin: 0; }

/* Individual document entry row */
.cm-estma-entry {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 18px 0;
}

.cm-estma-entry-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--cm-navy);
}

/* PDF download button */
.cm-estma-pdf-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--cm-navy);
  color: #ffffff;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 3px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.2s ease;
}

.cm-estma-pdf-link:hover { background: var(--cm-gold); color: #ffffff; }

/* Horizontal divider between entries */
.cm-estma-rule {
  border: none;
  border-top: 1px solid var(--cm-grey);
  margin: 0;
}

/* Sidebar */
.cm-estma-sidebar {}

.cm-estma-sidebar-section {
  margin-bottom: 32px;
}

.cm-estma-sidebar-section h3 {
  font-size: 11px;
  font-weight: 700;
  color: var(--cm-navy);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin: 0 0 12px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--cm-grey);
}

.cm-estma-sidebar-section ul { list-style: none; padding: 0; margin: 0; }

.cm-estma-sidebar-section ul li { border-bottom: 1px solid rgba(206,210,215,0.5); }

.cm-estma-sidebar-section ul li a {
  display: block;
  padding: 10px 0;
  color: var(--cm-text);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.cm-estma-sidebar-section ul li a:hover { color: var(--cm-gold); padding-left: 6px; }

.cm-estma-sidebar-active { color: var(--cm-gold) !important; font-weight: 700; }
.cm-estma-sidebar-active::before { content: "› "; }

.cm-estma-sidebar-section p { font-size: 13px; color: #666666; line-height: 1.7; margin: 0 0 10px; }

.cm-estma-sidebar-link { font-size: 13px; font-weight: 700; color: var(--cm-gold); text-decoration: none; transition: color 0.2s ease; }
.cm-estma-sidebar-link:hover { color: var(--cm-navy); }


/* =========================
   MEDIA & NEWS PAGE
========================= */

.cm-media-gateway, .cm-news-archive { padding: 90px 0; background: #f5f3ef; }

.cm-media-dropdown details { border-top: 1px solid #c9c1b4; border-bottom: 1px solid #c9c1b4; padding: 22px 0; }
.cm-media-dropdown summary { cursor: pointer; font-size: 20px; font-weight: 700; color: var(--cm-navy); list-style: none; display: flex; justify-content: space-between; align-items: center; user-select: none; }
.cm-media-dropdown summary::-webkit-details-marker { display: none; }
.cm-media-dropdown summary::after { content: "+"; font-size: 26px; font-weight: 400; }
.cm-media-dropdown details[open] summary::after { content: "–"; }

.cm-media-tiles { display: grid; grid-template-columns: repeat(2,1fr); gap: 26px; margin-top: 28px; }
.cm-media-tile { display: block; padding: 34px; min-height: 240px; background: #ffffff; color: var(--cm-navy); text-decoration: none; border: 1px solid #ddd5ca; border-radius: 4px; transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease; }
.cm-media-tile span { display: block; font-size: 12px; letter-spacing: 0.12em; color: var(--cm-gold); margin-bottom: 36px; text-transform: uppercase; }
.cm-media-tile h3 { font-size: 24px; font-weight: 700; margin-bottom: 12px; }
.cm-media-tile p { font-size: 15px; line-height: 1.65; color: #555555; }
.cm-media-tile:hover { transform: translateY(-5px); background: var(--cm-navy); color: #ffffff; }
.cm-media-tile:hover p, .cm-media-tile:hover span { color: rgba(255,255,255,0.80); }

.cm-news-years { display: flex; gap: 26px; margin-bottom: 40px; border-bottom: 1px solid #c9c1b4; padding-bottom: 16px; flex-wrap: wrap; }
.cm-news-years a { color: var(--cm-navy); text-decoration: none; font-weight: 700; font-size: 14px; transition: color 0.2s ease; }
.cm-news-years a.active, .cm-news-years a:hover { color: var(--cm-gold); }

.cm-news-list { display: flex; flex-direction: column; }
.cm-news-list .cm-news-row { display: grid; grid-template-columns: 160px 1fr auto; align-items: center; gap: 26px; padding: 26px 0; text-decoration: none; color: var(--cm-navy); border-bottom: 1px solid var(--cm-grey); transition: padding-left 0.2s ease, background 0.2s ease; }
.cm-news-list .cm-news-row:hover { padding-left: 16px; background: rgba(21,73,115,0.04); }
.cm-news-date { font-size: 14px; color: var(--cm-gold); font-weight: 700; }
.cm-news-list .cm-news-row h3 { font-size: 22px; font-weight: 600; margin: 0; transition: color 0.2s ease; }
.cm-news-list .cm-news-row:hover h3 { color: var(--cm-gold); }

.cm-news-row::after,
.cm-news-item::after {
  content: "→";
  font-size: 18px;
  color: var(--cm-navy);
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-block;
}

.cm-news-row:hover::after,
.cm-news-item:hover::after {
  color: var(--cm-gold);
  transform: translateX(4px);
}


/* =========================
   EMAIL SUBSCRIPTION
========================= */

.cm-subscribe-form { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.cm-subscribe-input { flex: 1; min-width: 240px; border: 1px solid var(--cm-grey); padding: 12px 16px; font-size: 14px; font-family: inherit; color: var(--cm-text); border-radius: 3px; outline: none; transition: border-color 0.2s ease; }
.cm-subscribe-input:focus { border-color: var(--cm-navy); }
.cm-subscribe-msg { margin-top: 12px; font-size: 14px; font-weight: 600; }
.cm-subscribe-success { color: #2a7a4b; }
.cm-subscribe-error { color: #c0392b; }


/* =========================
   CONTACT PAGE
========================= */

.cm-contact-hero img { width: 100%; height: 320px; object-fit: cover; display: block; }
.cm-contact-page { display: grid; grid-template-columns: 340px 1fr; background: #ffffff; }
.cm-contact-sidebar h2 { background: #111111; color: #ffffff; padding: 36px 60px; margin: 0; font-size: 30px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; }
.cm-contact-sidebar nav { padding: 44px 60px; }
.cm-contact-sidebar a { display: block; margin-bottom: 24px; color: #111111; font-weight: 700; text-transform: uppercase; text-decoration: none; font-size: 14px; letter-spacing: 0.03em; transition: color 0.2s ease; }
.cm-contact-sidebar a.active { color: var(--cm-gold); }
.cm-contact-sidebar a.active::before { content: ">"; margin-right: 8px; }
.cm-contact-main { padding: 36px 60px 72px; }
.cm-contact-main h1 { text-align: right; font-size: 30px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; margin: 0 0 24px; }
.cm-contact-line { height: 1px; background: #b8b8b8; margin-bottom: 28px; }
.cm-contact-cards { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
.cm-contact-card { background: #f1f1f1; padding: 26px; border-radius: 4px; }
.cm-contact-card h3 { font-size: 22px; font-weight: 700; margin: 0 0 14px; color: var(--cm-navy); }
.cm-contact-card p { line-height: 1.65; font-size: 14px; color: var(--cm-text); }
.cm-contact-card a { color: var(--cm-gold); text-decoration: none; font-weight: 700; }


/* =========================
   FOOTER
========================= */

.cm-footer { background: var(--cm-black); color: var(--cm-white); padding: 50px 8%; }
.cm-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.cm-footer-brand p { font-size: 13px; line-height: 1.7; color: #888888 max-width: 280px; margin-top: 12px; }
.cm-footer-brand a {display: inline-block;}
.cm-footer-brand img {display: block; width: 180px; height: auto;}
.cm-footer-col h4 { font-size: 11px; font-weight: 700; color: #ffffff; text-transform: uppercase; letter-spacing: 1.5px; margin: 0 0 14px; }
.cm-footer-col a { display: block; color: #888888; text-decoration: none; font-size: 13px; margin-bottom: 8px; transition: color 0.2s ease; }
.cm-footer-col a:hover { color: var(--cm-gold); }
.cm-footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.08); font-size: 12px; color: #555555; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }


/* =========================
   PAGINATION
========================= */

.cm-pagination { margin-top: 40px; }
.cm-pagination .nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.cm-pagination .page-numbers { display: inline-block; padding: 10px 16px; border: 1px solid var(--cm-grey); color: var(--cm-navy); text-decoration: none; font-weight: 700; font-size: 14px; border-radius: 3px; transition: background 0.2s ease, color 0.2s ease; }
.cm-pagination .page-numbers.current,
.cm-pagination .page-numbers:hover { background: var(--cm-navy); color: #ffffff; border-color: var(--cm-navy); }


/* =========================
   RESPONSIVE — TABLET (≤1024px)
========================= */

@media (max-width: 1024px) {

  .cm-global-nav {
    position: fixed; top: 72px; left: 0; right: 0; bottom: 0;
    background: #ffffff; overflow-y: auto;
    padding: 20px 24px 40px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 9998;
    border-top: 3px solid var(--cm-gold);
  }

  .cm-global-nav.cm-nav-open { transform: translateX(0); }
  .cm-nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .cm-nav-list > li { border-bottom: 1px solid var(--cm-grey); }
  .cm-nav-link { padding: 14px 4px; font-size: 15px; justify-content: space-between; }

  .cm-dropdown, .cm-subdropdown {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border-top: none;
    border-left: 3px solid var(--cm-gold);
    border-radius: 0; padding: 0; display: none; margin-left: 16px;
  }

  .cm-dropdown.cm-mobile-open, .cm-subdropdown.cm-mobile-open { display: block; }
  .cm-dropdown-link, .cm-subdropdown-link { padding: 12px 16px; font-size: 14px; border-bottom: 1px solid rgba(206,210,215,0.5); }
  .cm-hamburger { display: flex; }
  .cm-fixed-sidebar { display: none; }

  .cm-estma-layout { grid-template-columns: 1fr; gap: 40px; }
  .cm-estma-sidebar { border-top: 2px solid var(--cm-grey); padding-top: 32px; }

}


/* =========================
   RESPONSIVE — TABLET (≤900px)
========================= */

@media (max-width: 900px) {

  .cm-section { padding: 60px 6%; }

  .cm-grid-3, .cm-grid-2, .cm-project-card-grid,
  .cm-investor-quicklinks, .cm-investor-highlights,
  .cm-investor-resource-grid, .cm-investor-dashboard,
  .cm-project-overview, .cm-footer-grid { grid-template-columns: 1fr; }

  .cm-stats-grid { grid-template-columns: repeat(2,1fr); }
  .cm-stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.12); }
  .cm-stat:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.12); }
  .cm-stat:last-child, .cm-stat:nth-last-child(2):nth-child(odd) { border-bottom: none; }

  .cm-why-grid { grid-template-columns: 1fr; gap: 28px; }
  .cm-why-item, .cm-why-item:first-child { border-left: 4px solid var(--cm-gold); padding-left: 20px; }
  .cm-responsible-grid { grid-template-columns: 1fr; gap: 36px; }
  .cm-section-header-row { flex-direction: column; align-items: flex-start; }
  .cm-page-hero { min-height: 320px; }
  .cm-page-hero h1, .cm-project-hero h1 { font-size: 38px; }
  .cm-page-hero p, .cm-project-hero p { font-size: 17px; }
  .cm-gallery { grid-template-columns: repeat(2,1fr); }
  .cm-project-tabs, .cm-investor-tabs { flex-wrap: wrap; }
  .cm-contact-page { grid-template-columns: 1fr; }
  .cm-contact-main h1 { text-align: left; }
  .cm-contact-cards { grid-template-columns: 1fr; }
  .cm-media-tiles { grid-template-columns: 1fr; }
  .cm-news-list .cm-news-row { grid-template-columns: 1fr; gap: 8px; }
  .cm-global-header-inner { flex-direction: row; justify-content: space-between; }

}


/* =========================
   RESPONSIVE — MOBILE (≤600px)
========================= */

@media (max-width: 600px) {

  .cm-slideshow-hero { min-height: 520px; }
  .cm-title { font-size: 36px; }
  .cm-subtitle { font-size: 16px; }
  .cm-stat-number { font-size: 22px; }
  .cm-esg-grid { grid-template-columns: 1fr; }
  .cm-global-logo img { width: 180px; }
  .cm-section-intro h2 { font-size: 28px; }
  .cm-search-dropdown { width: 280px; right: -60px; }
  .cm-popup { padding: 28px 20px; }
  .cm-popup-title { font-size: 22px; }
  .cm-welcome-text { font-size: 12px; }
  .cm-footer-bottom { flex-direction: column; text-align: center; }

}

/* Force full width for custom page content */
.entry-content > *,
.entry-content .wp-block-html,
.wp-block-group,
.is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Remove default body/page padding and background gaps */
html,
body {
  margin: 0 !important;
  padding: 0 !important;
}

#page,
#content,
#main,
.site,
.site-content,
.wp-site-blocks {
  margin: 0 !important;
  padding: 0 !important;
}
