/* Crown's chosen Inner Circle gold. Components reference this one source. */
:root {
  --crown-gold: #dfbc87;
  --crown-page-bg: #080808;
  --crown-card-bg: #111110;
  --crown-card-border: #383329;
  --crown-card-title: #f5f5f5;
  --crown-card-copy: #b8b3a7;
  --crown-card-muted: #8e897e;
  --cos-gold: var(--crown-gold) !important;
  --cos-gold-light: var(--crown-gold) !important;
  --cos-gold-bright: var(--crown-gold) !important;
  --cos-gold-dark: rgb(from var(--crown-gold) r g b / .35) !important;
  --cos-gold-darker: rgb(from var(--crown-gold) r g b / .18) !important;
}

/* Override the parent theme's independent Customizer link and menu accents. */
html a,
html a:hover,
html .site-header .site-title a {
  color: var(--crown-gold);
}
/* Existing Matrix tools are stored content, so leave their data untouched. */
body.cos-matrix-page .matrix-header-subtitle,
body.cos-matrix-page .matrix-card__name-overlay,
body.cos-matrix-page .matrix-title-eyebrow,
body.cos-matrix-page .worldview-card-title,
body.cos-matrix-page [style*="color:rgb(196,168,102)"],
body.cos-matrix-page [style*="color: rgb(196, 168, 102)"] {
  color: var(--crown-gold) !important;
}

/* Homepage cards follow the blog; Matrix tools retain their transparency. */
#cos-redesign-preview :is(.cos-matrix-card, .cos-arena-topic, .cos-forum-topic) {
  --card-bg: var(--crown-card-bg) !important;
  --cos-text-heading: var(--crown-card-title);
  --cos-text-secondary: var(--crown-card-copy);
  background: var(--crown-card-bg) !important;
  border-color: var(--crown-card-border) !important;
}
#cos-redesign-preview :is(.cos-matrix-featured-title, .cos-matrix-card__name, .cos-matrix-card__name-overlay, .cos-arena-topic__title, .cos-forum-topic__title) {
  color: var(--crown-card-title) !important;
  transition: color .2s ease;
}
#cos-redesign-preview :is(.cos-matrix-card, .cos-arena-topic, .cos-forum-topic):is(:hover, :focus-within) {
  border-color: rgb(from var(--crown-gold) r g b / .28) !important;
}
#cos-redesign-preview :is(.cos-matrix-card, .cos-arena-topic, .cos-forum-topic):is(:hover, :focus-within) :is(.cos-matrix-featured-title, .cos-matrix-card__name, .cos-matrix-card__name-overlay, .cos-arena-topic__title, .cos-forum-topic__title) {
  color: var(--crown-gold) !important;
}
#cos-redesign-preview :is(.cos-matrix-card__desc, .cos-matrix-featured-copy p) {
  color: var(--crown-card-copy) !important;
}
.site-header .nav-menu > ul > li.current-menu-item > a,
.site-header .nav-menu > ul > li.current-menu-ancestor > a {
  color: var(--crown-gold) !important;
}
html.loaded .site-header .nav-menu ul li a .link-text::before,
.site-header .nav-menu li.current-menu-item > a .link-text::before,
.site-header .nav-menu li.has-submenu:hover > a .link-text::before {
  background-color: var(--crown-gold) !important;
  border-color: var(--crown-gold) !important;
}

/* Preserve the glow's opacity, shape and movement; use the brand hue. */
.border-glow-card {
  --glow-color: var(--crown-gold) !important;
  --glow-color-60: rgb(from var(--crown-gold) r g b / .6) !important;
  --glow-color-50: rgb(from var(--crown-gold) r g b / .5) !important;
  --glow-color-40: rgb(from var(--crown-gold) r g b / .4) !important;
  --glow-color-30: rgb(from var(--crown-gold) r g b / .3) !important;
  --glow-color-20: rgb(from var(--crown-gold) r g b / .2) !important;
  --glow-color-10: rgb(from var(--crown-gold) r g b / .1) !important;
}
