/* 
  ---------------------------------------------------------------------
  EGS CARD SITE HEXAGON
  High-Level Notes:
    - This section sets up a container and two nested hexagon elements:
      the outer hexagon and the inner hexagon.
    - The outer hexagon is the main shape, while the inner hexagon
      sits inside it, often for color changes, score text, etc.
    - The .site-hexagon-score and .site-hexagon-logo-container 
      handle the text and logo styling/positioning respectively.
  ---------------------------------------------------------------------
*/


.site-hexagon-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0;
}


.site-outer-hexagon {
  position: relative;
  display: flex;
  background-color: var(--white-color-1) !important;
  justify-content: center;
  align-items: center;
  aspect-ratio: cos(30deg);
  clip-path: polygon(-50% 50%, 50% 100%, 150% 50%, 50% 0);
}


.site-inner-hexagon {
  position: relative;
  aspect-ratio: cos(30deg);
  clip-path: polygon(-50% 50%, 50% 100%, 150% 50%, 50% 0);
}


.site-hexagon-score {
  position: absolute;
  letter-spacing: -0.5px;
  color: var(--white-color-1) !important;
  z-index: 2;
  text-shadow: 0px 0px 8px rgba(0, 0, 0, 0.43);
  font-family: var(--identity-font);
  font-weight: var(--font-weight8);
  left: 50%;
  transform: translate(-50%, -50%);
}

/* ----------------- LOGO CONTAINER & TEXT ----------------- */

.site-hexagon-logo-container {
  display: flex;
  position: absolute;
  transform: translate(-50%, -50%);
  align-items: center;
  flex-direction: row;
  left: 50%;
}

.site-hexagon-logo-text {
  text-shadow: 0px 0px 8px rgba(0, 0, 0, 0.43);
  color: var(--white-color-1) !important;
  text-transform: uppercase;
  font-family: var(--logo-font1);
  font-weight: var(--font-weight5);
}

.site-hexagon-logo-text::before,
.site-hexagon-logo-text::after {
  content: '';
  background-color: var(--white-color-1) !important;
  position: absolute;
  top: 50%;
  transform: translateY(-55%);
}

/*
  .site-hexagon-logo-text::before {
    left: -0.3rem;
  }
  
  .site-hexagon-logo-text::after {
    right: -0.3rem;
  }
  */



/*───────────────────────────────────────────────────────────────────────────────
  dexa.css – GLOBAL  (EM-based, two stacked hexagons)
───────────────────────────────────────────────────────────────────────────────*/

.dexa {
  position: relative;
  width: 2.55em;
  line-height: 0;
  z-index: 2;
}


.dexa-frame {
  width: 100%;
  height: auto;
  display: block;
}


.dexa-score {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1em;
  color: #fff;
  text-shadow: 0 0 8px rgba(0, 0, 0, .43);
  font-family: var(--identity-font);
  font-weight: var(--font-weight8);
  line-height: 1;
  letter-spacing: -0.5px;
  z-index: 2;
}


.dexa-core {
  position: absolute;
  top: calc(52.5% + 0.5em);
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex: 1 0 auto;
  align-items: center;
  gap: 0;
  filter: drop-shadow(0 0 8px rgba(0, 0, 0, .43));
  z-index: 2;
  overflow: hidden;
}

.dexa-core img {
  border: none !important;
}

.dexa-logo {
  width: 0.35em !important;
  height: auto !important;
}


.dexa-bar {
  width: 0.2em !important;
  height: 0.05em !important;
  min-height: 1px !important;
  display: block !important;
  flex: 0 0 auto;
  aspect-ratio: unset;
}

.dexa-bar:first-child {
  margin-right: 0.075em;
}

.dexa-bar:last-child {
  margin-left: 0.075em;
}






/*───────────────────────────────────────────────────────────────────────────────
  EG Logo — GLOBAL STYLES  (em-based, scales from parent font-size)
───────────────────────────────────────────────────────────────────────────────*/
.logo-container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-decoration: none;
  max-width: fit-content;
  gap: 0rem;
}

.site-name {
  display: flex;
  align-items: center;
  font-family: var(--logo-font1);
  font-weight: var(--font-weight7);
  color: var(--white-color-1);
  letter-spacing: -0.65px;
  overflow: hidden;
  border-radius: 2px;
  gap: .05em;
}

.logo-container .site-name .navsitename1 {
  padding: .15em;
  background: linear-gradient(to right, var(--site-start-color), var(--site-end-color));
  text-box-trim: trim-both;
  text-box-edge: cap alphabetic;
}

.logo-container .site-name .navsitename2 {
  margin-right: .75rem;
  text-box-trim: trim-both;
  text-box-edge: cap alphabetic;
}

/* top-bar override – ONLY font-size lives here */





/*───────────────────────────────────────────────────────────────────────────────
  checkmark
───────────────────────────────────────────────────────────────────────────────*/
.yes-checkmark {
  fill: var(--card-color, var(--site-color));
  display: inline-flex;
  align-items: center;
}

.yes-checkmark span {
  margin-left: 0.5rem;
}

.no-checkmark {
  fill: var(--overall-zero-score);
}

.no-checkmark svg,
.yes-checkmark svg {
  width: auto;
  aspect-ratio: calc(1 / 1);
}


/* --------------------------------------------------------------------- */

/*───────────────────────────────────────────────────────────────────────────────
  editors-choice-badge — FONT-SIZE TWEAK (2025-06-05)
  • Left & right halves now both run at 1 em (the badge’s base font-size).
  • “EG” remains 1 em; “GAMER” stays at .32 em.
  • All spacing still in em, so proportions stay intact as you scale the badge.
───────────────────────────────────────────────────────────────────────────────*/
/*───────────────────────────────────────────────────────────────────────────────
  editors-choice-badge — GRID CONVERSION (2025-06-05)
  • Badge switched from flex → 2-column CSS Grid.
  • Both the left and right halves are themselves 2-row grids, so their
    first and second lines always share the exact same height.
  • Nothing else changes: colours, scaling, media-query overrides, etc.
───────────────────────────────────────────────────────────────────────────────*/
.editors-choice-badge {

  display: grid;
  grid-template-columns: auto auto;
  border-radius: 4px;
  overflow: hidden;
}

/* Left section (EG / GAMER) now a 2-row grid */
.editors-badge-left {
  display: grid;
  grid-template-rows: auto;
  align-content: center;
  background-color: var(--card-color, var(--site-color));
  color: #ffffff;
  row-gap: .08em;
  padding: .435em .425em .425em .425em;
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
}


.editors-badge-right {
  display: grid;
  grid-template-rows: 1fr 1fr;

  align-content: center;
  justify-content: center;
  background-color: #f0f0f0;
  font-family: var(--logo-font1);
  font-weight: 800;
  text-transform: uppercase;
  color: var(--card-color, var(--site-color));
  row-gap: .095em;
  padding: .435em .425em .425em .425em;
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
  text-align: center;
  font-size: 1em;
}

/* Large “EG” text (row 1, col 1) */
.editors-badge-logo-text1 {
  font-size: 1.55em;
  line-height: .75;
  font-family: var(--logo-font1);
  font-weight: 700;
  letter-spacing: -1.35px;
  text-box-trim: trim-end;
  text-box-edge: cap alphabetic;
}

/* Smaller “GAMER” text (row 2, col 1) */
.editors-badge-logo-text2 {
  font-size: .475em;
  line-height: .75;
  font-family: var(--identity-font);
  font-weight: 700;
  margin-left: 1px;
  text-box-trim: trim-end;
  text-box-edge: cap alphabetic;
}

/* Right-hand lines inherit the equal row heights automatically */
.editors-badge-line1,
.editors-badge-line2 {
  line-height: .75;
  text-box-trim: trim-both;
  text-box-edge: cap alphabetic;
}





/*───────────────────────────────────────────────────────────────────────────────
  editors-square-badge.css — FULL REPLACEMENT
───────────────────────────────────────────────────────────────────────────────
  • 2025-06-05 — Uses CSS vars supplied by helper for line1/line2 sizing.
───────────────────────────────────────────────────────────────────────────────*/
.editors-square-badge {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 3.45em;
  height: 3.45em;
  line-height: 1;
  text-transform: uppercase;
  font-family: var(--logo-font1);
  font-weight: 800;
  color: #ffffff;
}

.editors-square-badge .sqbadge-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.editors-square-badge .sqbadge-line1,
.editors-square-badge .sqbadge-line2 {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  text-align: center;
  letter-spacing: -0.25px;
}

.editors-square-badge .sqbadge-line1 {
  font-size: var(--sqb-line1-size, 1em);
  line-height: 0.9;
}

.editors-square-badge .sqbadge-line2 {
  font-size: var(--sqb-line2-size, 0.75em);
  line-height: 0.9;
}



/* -------------------------------------------------------------------------------------------------
   tag
---------------------------------------------------------------------------------------------------- */

.item-tag {
  font-family: var(--identity-font);
  font-weight: var(--font-weight7);
  font-size: var(--ft-14-12);
  text-transform: uppercase;
  display: inline-block;
}


/* -------------------------------------------------------------------------------------------------
   date
---------------------------------------------------------------------------------------------------- */

.item-date {
  line-height: 1.5;
  font-size: var(--ft-12-11);
  font-family: var(--identity-font);
  font-weight: var(--font-weight6);
}

@media (max-width: 600px) {
  .item-tag {
    font-size: var(--fm-12-11);
  }

}

/* -------------------------------------------------------------------------------------------------
   Divider 1
---------------------------------------------------------------------------------------------------- */


.section-divider {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin: 2.75rem auto 2.25rem auto;
  max-width: var(--home-width);
  row-gap: .5rem;
}


.section-divider-heading {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0 1rem 0 0;
}

.section-divider-title {
  font-family: var(--identity-font);
  font-size: var(--ft-34-28);
  letter-spacing: -0.75px;
  color: var(--white-black-color-1);
  font-weight: 900;
  margin: 0;
  line-height: 1.3;
}


.section-divider-subtitle {
  font-size: var(--ftm-15-13);
  font-family: var(--identity-font);
  font-weight: var(--font-weight4);
  color: var(--grey-color-3);
  margin: 0;
  line-height: 1.4;
  letter-spacing: -0.25px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  display: block;
}

.section-divider-actions {
  flex: 0 1 auto;
  display: flex;
  gap: 4px;
  white-space: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  margin-top: 1rem;
  margin-bottom: -6px;
  padding-bottom: 6px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

.section-divider-actions::-webkit-scrollbar {
  height: 6px;
}

.section-divider-actions::-webkit-scrollbar-track {
  background: transparent;
}

.section-divider-actions::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
}


.section-divider-actions .section-divider-link {
  display: inline-block;
  padding: .75rem 1.75rem;
  margin-top: 0.25em;
  border: 1px solid var(--section-medium-background-color);
  font-size: var(--ft-14-13);
  /*1150-400 */
  background-color: transparent;
  color: var(--white-color-2);
  font-family: var(--identity-font, sans-serif);
  font-weight: var(--font-weight6, 600);
  cursor: pointer;
  text-decoration: none;
}

.section-divider-actions .section-divider-link:first-child {
  border-top-left-radius: 80px;
  border-bottom-left-radius: 80px;
}

.section-divider-actions .section-divider-link:last-child {
  border-top-right-radius: 80px;
  border-bottom-right-radius: 80px;
}


@media (hover: hover) and (pointer: fine) {
  .section-divider-actions .section-divider-link[data-product-color="true"]:hover {
    background-color: transparent;
    border: 1px solid transparent;
    border-image: linear-gradient(to right,
        var(--card-hover),
        var(--card-hover)) 1;
    border-image-slice: 1;
    color: var(--card-hover);
  }


  .section-divider-actions .section-divider-link:not([data-product-color="true"]):hover {
    background: var(--site-gradient-text);
    border-image: var(--site-background-gradient) 1;
    border-image-slice: 1;

    -webkit-background-clip: text;
    -moz-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
  }
}

.section-divider-actions .section-divider-link[data-product-color="true"].active {
  background-color: var(--card-color, var(--site-color));
  border: 1px solid var(--card-color, var(--site-color));
  color: #fff;
}

.section-divider-actions .section-divider-link:not([data-product-color="true"]).active {
  background: var(--site-background-gradient);
  border: 1px solid var(--site-start-color);
  border-image: none;
  color: #fff;
}


@media (max-width: 600px) {
  .section-divider-title {}

}

/* REPLACE THIS WHOLE BLOCK (Caret size + gradient hover)
   Where: keep with your previous "Section Divider → Title Link" rules */

/* Title link */
.section-divider .section-divider-title .section-divider-link {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font: inherit;
  color: var(--white-color-1);
  text-decoration: none;
  cursor: pointer;
  transition: color .18s ease, transform .12s ease, background .18s ease;
  will-change: color, transform, background;
}

/* Bigger right-pointing caret */
.section-divider .section-divider-title .section-divider-link::after {
  content: "›";
  display: inline-block;
  line-height: 1;
  font-weight: 500;
  font-size: 1.6em;
  /* ⟵ bigger caret */
  margin-left: .1rem;
  transform: translateY(-0.04em);
  color: var(--site-color);
  transition: transform .14s ease, color .18s ease;
}

/* Fallback hover (for browsers without text-clip support) */
.section-divider .section-divider-title .section-divider-link:hover {
  color: var(--site-color);
}

.section-divider .section-divider-title .section-divider-link:hover::after {
  transform: translateX(6px) translateY(-0.04em);
}

/* Gradient text hover for supporting browsers */
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .section-divider .section-divider-title .section-divider-link:hover {
    background: var(--site-gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    /* gradient text */
  }

  .section-divider .section-divider-title .section-divider-link:hover::after {
    background: var(--site-gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    /* gradient caret */
    transform: translateX(6px) translateY(-0.04em);
  }
}

/* Focus ring remains accessible */
.section-divider .section-divider-title .section-divider-link:focus-visible {
  outline: 2px solid var(--site-color);
  outline-offset: 3px;
  border-radius: 6px;
}

/* -------------------------------------------------------------------------------------------------
   Divider 2
---------------------------------------------------------------------------------------------------- */

.sub-section-divider-container {
  display: flex;
  width: 100%;
  max-width: var(--home-width);
  margin: 4rem auto 2rem auto;
  padding: 0rem;
  align-content: center;
  overflow-x: hidden;
  border: var(--border) solid var(--brand-accent);
  position: relative;
  flex-direction: column;
  justify-content: stretch;
  align-items: stretch;
  z-index: 4;
}

.sub-section-divider-container {
  display: flex;
  justify-content: center;
  width: 100%;
}

.sub-section-divider {
  display: flex;
  align-items: center;
  max-width: var(--home-width);
  justify-content: center;
  width: 100%;
  position: relative;
  overflow: hidden;
  padding: 1.5rem 0;
  border: var(--border) solid var(--brand-accent);
}

.sub-section-divider::before {
  content: '';
  position: absolute;
  top: 0;
  width: 108%;
  height: 1px;
  background-color: var(--section-light-background-color);
  margin: 0 auto;
}

.sub-section-divider::after {
  content: '';
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 1px;
  background-color: var(--section-light-background-color);
  margin: 0 auto;
}

.divider-text {
  font-family: var(--identity-font);
  font-size: 1.35rem;
  font-weight: bold;
  color: var(--white-black-color-2);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
}


/* -------------------------------------------------------------------------------------------------
   Pin Tag
---------------------------------------------------------------------------------------------------- */

.pinned-tag {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  color: var(--white-color-1);
  font-family: var(--identity-font);
  font-size: var(--ft-15-13);
  font-weight: var(--font-weight7);
  width: auto;
  height: 2em;
  aspect-ratio: 1;
  border-radius: 4px;
  z-index: 10;

}

.pin-icon {
  width: auto;
  height: 1em !important;
  vertical-align: middle;
  filter: invert(100%);
}



@media (max-width: 600px) {
  .pinned-tag {
    font-size: var(--fm-13-12);
  }
}













/* ===================================================================
   vault-toggle feedback elements (add to your main stylesheet)
===================================================================*/
/* 0️⃣  shared -------------------------------------------------------*/
.toggle-wrapper {
  align-self: flex-start;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

/* 1) tiny spinner --------------------------------------------------*/

.toggle-spinner {
  display: none;
  border-bottom-color: transparent;
  /* hide two segments for a sharper arc    */
  border-left-color: transparent;
  border-radius: 50%;
  animation: vaultSpin 0.6s linear infinite;
  vertical-align: middle;
  will-change: transform;
  /* smoother on weaker GPUs                */
}

@keyframes vaultSpin {
  100% {
    transform: rotate(360deg);
  }
}

.toggle-caution {
  display: none;
}

.toggle-spinner.visible {
  display: inline-block;
}


.toggle-caution.visible {
  display: inline-block;
}


.toggle-status {
  font-family: var(--identity-font);
  color: var(--white-color-1);
}










/* ===================================================================
   egRatingfeedback elements (add to your main stylesheet)
===================================================================*/

/* ===================================================================
   egRating widget — logo + stars (clipPath half-fill), theme-aware
===================================================================*/

.eg-rating {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  padding: .35em .6em;
  border-radius: 999px;
  background: transparent;
  border: 1px solid var(--section-light-background-color);
  box-shadow: 0 .05em .15em rgba(0, 0, 0, .08);
  line-height: 1;
  font-size: 1em;
  /* Scale the whole widget by changing this */
}

/* Logo chip */
.eg-rating .er-logo {
  border-radius: 999px;
  background: transparent;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.eg-rating .er-logo svg {
  display: block;
  width: 1.25em;
  height: 1.25em;
  --card-color: var(--site-start-color);
  fill: var(--card-color, var(--site-start-color));
}

/* Divider */
.eg-rating .er-divider {
  width: 1px;
  height: 1.15em;
  background: var(--section-light-background-color);
}

/* Stars row */
.eg-rating .eg-stars {
  display: inline-flex;
  align-items: center;
  gap: .15em;
  margin: 0;
  padding: 0;
  list-style: none;
  line-height: 0;
}

/* Star (single SVG with base + clipped fill) */
.eg-rating .eg-star {
  width: 1.25em;
  height: 1.25em;
  flex: 0 0 auto;
}

.eg-rating .eg-star-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.eg-rating .eg-star-base {
  fill: var(--grey-color-4, #c9cbd1);
}

.eg-rating .eg-star-fill {
  fill: var(--rating-star-color, #f7b54a);
}

/* Optional hover lift */
@media (hover:hover) and (pointer:fine) {
  .eg-rating:hover {
    box-shadow: 0 .08em .2em rgba(0, 0, 0, .12);
  }
}


















/* FILE: public/css/site_shared.css — APPEND THIS FULL BLOCK (Breadcrumb parity for all pages)
   Purpose: Make breadcrumbs on site-index pages render IDENTICAL to article pages,
   without loading view_articles.css. Also includes minimal article-header shell
   so the header spacing/width matches your article layout.
*/


/* ── Breadcrumbs (exact rules used on article pages) ─────────────────────── */

.site-index__header .breadcrumbs,
.article-header .breadcrumbs {
  font-family: var(--identity-font);
  font-weight: var(--font-weight4);
  font-size: var(--font-size-13px);
}

.site-index__header .breadcrumb,
.article-header .breadcrumb {
  color: var(--grey-color-2);
  text-transform: capitalize;
}

.site-index__header .breadcrumb .crumb,
.article-header .breadcrumb .crumb {
  text-decoration: none;
  color: var(--grey-color-2);
  margin: 0 4px;
  /* symmetrical 4 px gap */
}

.site-index__header .breadcrumb a.crumb:hover,
.article-header .breadcrumb a.crumb:hover {
  text-decoration: underline;
  color: var(--card-color, var(--site-color));
}

.site-index__header .breadcrumb .crumb:first-child,
.article-header .breadcrumb .crumb:first-child {
  margin-left: 0;
}












/****************************************************
 * "md-formatted
 ****************************************************/



.md-formated {
  padding: 0rem 1rem .5rem 1rem;
  margin-top: 2rem;
}

.pcard-kt-content .md-formated {
  margin-top: .5rem;
  padding: 0;
}


.pcard-kt-content-mobile .md-formated h4,
.pcard-kt-content .md-formated h4,
.md-formated h4 {
  color: var(--white-color-2);
  font-family: var(--identity-font);
  font-weight: var(--font-weight7);
  font-size: var(--ft-20-19);
  line-height: 1.3;
  letter-spacing: -.25px;
  margin: 1rem 0 .75rem 0;
  padding: 0 0 0 0rem
}

.pcard-kt-content-mobile .md-formated h4,
.pcard-kt-content .md-formated h4 {
  margin-top: 0rem;
  color: var(--white-color-1);
  font-size: var(--ft-19-18);
}

.pcard-kt-content-mobile .md-formated h4 {
  font-size: var(--ft-18-17);
}

.pcard-kt-content-mobile .md-formated p,
.pcard-kt-content .md-formated p {
  margin-bottom: 1.5rem;
}

.pcard-kt-content-mobile .md-formated ul,
.pcard-kt-content .md-formated ul,
.md-formated ul {
  margin: 0 0;
  padding-left: 1.5rem;
  list-style: disc;
  /* Bullets */
  color: var(--grey-color-1);
  font-family: var(--identity-font);
  font-size: var(--font-size-16px);
  line-height: var(--font-size-27px);
  margin-bottom: 2rem;
}

.pcard-kt-content-mobile .md-formated ul,
.pcard-kt-content .md-formated ul {
  font-size: var(--ft-17-15);
  line-height: 1.5;
}

.pcard-kt-content-mobile .md-formated li,
.pcard-kt-content .md-formated li,
.md-formated li {
  margin-bottom: 0.75rem;
}

.pcard-kt-content-mobile .md-formated table,
.md-formated table {
  border-collapse: collapse;
  margin: 1rem 0 2rem;
  width: 100%;
}

.pcard-kt-content-mobile .md-formated th,
.pcard-kt-content-mobile .md-formated td,
.pcard-kt-content .md-formated th,
.pcard-kt-content .md-formated td,
.md-formated th,
.md-formated td {
  border: 1px solid #444;
  padding: 8px;
  font-family: var(--identity-font);
}

.pcard-kt-content-mobile .md-formated th,
.pcard-kt-content .md-formated th,
.md-formated th {
  font-weight: var(--font-weight7);
  font-size: var(--font-size-15px);
  color: var(--white-color-1);
}

.pcard-kt-content-mobile .md-formated td,
.pcard-kt-content .md-formated td,
.md-formated td {
  font-weight: var(--font-weight4);
  font-size: var(--font-size-14px);
  color: var(--white-color-2);
}


.pcard-kt-content-mobile .md-formated thead,
.pcard-kt-content .md-formated thead,
.md-formated thead {
  background-color: var(--egxxl-surface-1);
  color: var(--white-color-1)
}





























/* ============================================================================
   NAV SEARCH — body-level portal (REPLACE THIS WHOLE BLOCK in partial_navbar.css)
   • Initial panel height equals the top bar (var(--top-bar-H))
   • Suggestions grow the panel downward
   • Nothing shows until results exist (.open toggles the list)
============================================================================ */
.nav-search-portal {
  position: fixed;
  inset: 0;
  z-index: 97000;
  pointer-events: none;
}

.nav-search-portal.active {
  pointer-events: auto;
}

/* Shade */
.nav-search-shade {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.7);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
}

.nav-search-portal.active .nav-search-shade {
  opacity: 1;
  visibility: visible;
}

/* Slide-in panel: grid with fixed first row (= top bar height) and auto second row */
.nav-search-popup {
  position: fixed;
  top: 0;
  right: 0;
  width: 450px;
  min-height: var(--top-bar-H);
  max-height: 100vh;
  display: grid;
  grid-template-rows: var(--top-bar-H) auto;
  align-items: center;
  padding: 0 1.25rem 0rem;
  /* keep row full-height without vertical padding */
  background: var(--main-background-color);
  border-left: 1px solid;
  border-image: linear-gradient(to top, var(--site-start-color), var(--site-end-color)) 1;
  box-shadow: 0 0 10px rgba(0, 0, 0, .5);
  transform: translateX(100%);
  transition: transform .3s ease-in-out;
  box-sizing: border-box;
}

.nav-search-popup:has(#nav-search-suggestions.open) {
  padding-bottom: 1rem;
}

.nav-search-portal.active .nav-search-popup {
  transform: translateX(0);
}

/* Search row = first grid row (exactly top-bar tall) */
.nav-search-row {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 100%;
}

.nav-search-label {
  font-family: var(--identity-font);
  color: var(--white-color-1);
  font-size: var(--font-size-14px);
}

.nav-close-search {
  font-size: 2.5rem;
  line-height: 1;
  color: var(--accent-color-1);
  cursor: pointer;
  background: transparent;
  border: none;
  padding: 0 .25rem;
}

.nav-search-input {
  flex: 1;
  border: 2px solid var(--accent-color-1);
  background: #222;
  color: #fff;
  padding: 1rem 12px;
  font-size: var(--font-size-14px);
  font-family: var(--identity-font);
  font-weight: var(--font-weight4);
  box-sizing: border-box;
}

.nav-search-input:focus {
  outline: none;
  border-color: var(--accent-color-1);
}

/* Suggestions = second grid row; hidden until items exist */
#nav-search-suggestions.nav-search-suggestions {
  display: none;
  margin-top: .75rem;
  border: 1px solid rgba(255, 255, 255, .12);
  background: var(--main-background-color);
  border-radius: 6px;
  max-height: calc(100vh - var(--top-bar-H) - .75rem);
  overflow: auto;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .4);
}

#nav-search-suggestions.open {
  display: block;
}

/* REPLACE ONLY the .nav-suggestion rules in partial_navbar.css */

/* Item container: 48px thumb + text */
.nav-suggestion {
  display: grid;
  grid-template-columns: 60px 1fr;
  align-items: center;
  column-gap: 12px;
  text-decoration: none;
  color: inherit;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  cursor: pointer;
}

.nav-suggestion:last-child {
  border-bottom: 0;
}

.nav-suggestion:hover,
.nav-suggestion.active {
  background: rgba(255, 255, 255, .06);
  text-decoration: none;
}

.nav-suggestion:visited {
  color: inherit;
}

/* Left thumbnail */
.nav-suggestion-thumb {
  width: 60px;
  height: 60px;
  border-radius: 6px;
  overflow: hidden;
  background: #111;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-suggestion-thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  /* overridden inline to 'contain' when needed */
  background: #111;
}

.nav-suggestion-thumb-svg {
  width: 75%;
  height: 75%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-suggestion-thumb-svg .svg-base {
  width: 100%;
  height: 100%;
}

/* Right text column */
.nav-suggestion-main {
  display: flex;
  flex-direction: column;
  gap: .35rem;
}

.nav-suggestion-title {
  font: 400 var(--font-size-15px)/1.2 var(--identity-font);
  text-transform: none;
}

.nav-suggestion-sub {
  font: 400 var(--font-size-13px)/1.2 var(--identity-font);
  opacity: .7;
  text-transform: none;
}

.nav-suggestion mark {
  background: transparent;
  color: var(--accent-color-1);
}



@media (max-width:600px) {
  .nav-search-popup {
    width: 100vw;
  }
}






















/* ==========================================================================
   FOOTER (global) — CLEANED & CONSOLIDATED
   • Route-aware background (Home → darkestdarker, Articles → darkest, Default → dark)
   • 4 → 2 → 1 column grid
   • One-liner brand copy measure
   • Unified gradient hover for ALL footer links (text + SVGs)
   ========================================================================== */

:root {
  --eg-footer-background: var(--section-dark-background-color);
  --site-gradient-text: linear-gradient(to right, var(--site-start-color), var(--site-end-color));
}

/* Route-aware theme (gate on :has() support) */
@supports selector(body:has(*)) {
  body:has(.home-rail-anchor) {
    --eg-footer-background: var(--section-darkestdarker-background-color);
  }

  body:has(.article) {
    --eg-footer-background: var(--section-darkest-background-color);
  }

  body:has(.pages-basic) {
    --eg-footer-background: var(--section-dark-background-color);
  }


  body:has(.wrapper-list) {
    --eg-footer-background: var(--main-background-color)
  }

  body:has(.card-rows) {
    --eg-footer-background: var(--section-darkestdark-background-color);
  }
}

/* Wrapper */
.site-footer {
  background: var(--eg-footer-background);
  color: var(--white-black-color-1);
  margin-top: 4rem;
  padding: 1rem 0 0;
}


body:has(.wrapper-list) .site-footer {
  margin-top: 0;
}


.site-footer__inner {
  width: calc(100% - 3rem);
  max-width: var(--site-width);
  margin: 0 auto;
  padding: 2.75rem 0 2rem;
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) repeat(3, minmax(0, 1fr));
  /* wider brand col */
  column-gap: 2.75rem;
  row-gap: 2.75rem;
}

/* 2 cols (tablet) */
@media (max-width: 900px) {
  .site-footer__inner {
    grid-template-columns: 1fr 1fr;
  }
}

/* 1 col (mobile) */
@media (max-width: 500px) {
  .site-footer__inner {
    grid-template-columns: 1fr;
    row-gap: 2.75rem;
    padding: 2rem 0 1.25rem;
  }
}

/* Brand */
.site-footer__brand-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .5rem;
}

.site-footer .site-name {
  font-size: var(--font-size-32px);
}

.site-footer__about {
  margin: 1.25rem 0 0 .15rem;
  color: var(--white-color-2);
  font-family: var(--identity-font);
  font-weight: var(--font-weight4);
  font-size: clamp(var(--ft-14-13), 0.9rem + 0.15vw, var(--ft-15-13));
  line-height: 1.55;
  max-width: 56ch;
  text-wrap: pretty;
}

@media (max-width: 600px) {
  .site-footer__about {
    max-width: 100%;
  }
}

/* Columns / headings / lists */
.site-footer__col {
  min-width: 0;
}

.site-footer__heading {
  margin: 0 0 .75rem 0;
  font-family: var(--identity-font);
  font-weight: 700;
  font-size: var(--font-size-15px);
  line-height: 1.2;
  letter-spacing: -.1px;
  text-transform: uppercase;
  color: var(--white-black-color-1);
}

.site-footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .55rem;
}

/* Links (baseline: never underline) */
.site-footer__link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--identity-font);
  font-size: var(--font-size-14px);
  color: var(--white-color-2);
  text-decoration: none;
}

/* Hover/focus: solid-color fallback (no underline) */
.site-footer__link:hover,
.site-footer__link:focus-visible {
  color: var(--site-start-color);
  text-decoration: none;
  outline: none;
}

/* Gradient text hover (feature-gated) — works for any wrapped label
   MDN: background-clip:text + @supports. */
@supports (-webkit-background-clip: text) or (background-clip: text) {

  .site-footer__link:hover .site-link-text,
  .site-footer__link:focus-visible .site-link-text,
  .site-footer__link:hover>span,
  /* Socials labels already use a bare <span> */
  .site-footer__link:focus-visible>span {
    background-image: var(--site-gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    text-decoration: none;
  }
}

/* Icon sizing */
.site-footer__icon {
  width: 1.15em;
  height: 1.15em;
  display: inline-block;
  fill: currentColor;
}

/* SVG gradient on hover — switch to in-SVG linearGradient via fill:url(#id)
   MDN: <linearGradient> + CSS fill. */
.site-footer__link:hover #footer-twitter .grad-path {
  fill: url(#footerThemeGradient-twitter);
}

.site-footer__link:hover #footer-youtube .grad-path {
  fill: url(#footerThemeGradient-youtube);
}

.site-footer__link:hover #footer-discord .grad-path {
  fill: url(#footerThemeGradient-discord);
}

/* Bottom bar */
.site-footer__bar {
  width: calc(100% - 3rem);
  max-width: var(--site-width);
  margin: 0 auto;
  border-top: 1px solid var(--section-medium-background-color);
  padding: .95rem 0 1.35rem;
  text-align: center;
}

.site-footer__bar p {
  margin: 1rem 0;
  color: var(--white-color-2);
  font-family: var(--identity-font);
  font-size: var(--ft-14-13);
}

/* ——— References:
   • background-clip:text & accessibility/fallbacks (MDN). :contentReference[oaicite:0]{index=0}
   • @supports and selector(:has()) feature queries (MDN). :contentReference[oaicite:1]{index=1}
   • SVG linearGradient + CSS fill:url(#id) (MDN). :contentReference[oaicite:2]{index=2}
*/