.ethos-fund-links.block-outer-container {
  position: relative;
  display: block;
  width: 100%;
  background: #0a2e39;
  color: #efefe4;
  font-family: ABCWhyte, Arial, sans-serif;
}
.ethos-fund-links, .ethos-fund-links * { box-sizing: border-box; }
/* The existing theme supplies the sidebar's width and mobile visibility. */
.ethos-fund-links.block-outer-container > .ethos-fund-links__rail {
  position: absolute; inset: 0 auto 0 0; width: 9%; min-height: 0;
  margin: 0; padding: 0; border-color: #000; pointer-events: none;
}
.ethos-fund-links .ethos-fund-links__inner {
  max-width: 1600px;
  margin: 0 auto;
  padding: clamp(48px, 6vw, 96px) clamp(24px, 6vw, 96px);
}
.ethos-fund-links .ethos-fund-links__eyebrow {
  margin: 0 0 24px; padding: 0; color: #efefe4;
  font: 400 12px/1.5 ABCWhyte, Arial, sans-serif;
  letter-spacing: .14em; text-transform: uppercase;
}
.ethos-fund-links .ethos-fund-links__header {
  display: flex; flex-direction: column; align-items: flex-start; gap: 28px;
  margin-bottom: clamp(32px, 4vw, 56px);
}
.ethos-fund-links .ethos-fund-links__heading {
  max-width: 850px; margin: 0; padding: 0; color: #efefe4;
  font: 400 clamp(32px, 4vw, 60px)/1.12 VictorSerif, Georgia, serif;
  overflow-wrap: anywhere;
}
.ethos-fund-links a.ethos-fund-links__all {
  display: inline-flex; align-items: center; gap: 14px;
  margin: 0; padding: 0 0 6px; color: #efefe4; background: transparent;
  border: 0; border-bottom: 1px solid rgba(239,239,228,.5); border-radius: 0;
  font: 400 15px/1.5 ABCWhyte, Arial, sans-serif;
  text-decoration: none; opacity: 1; transition: none;
}
.ethos-fund-links .ethos-fund-links__grid {
  display: grid; grid-template-columns: minmax(0,1fr); gap: 0;
  padding: 1px; background: transparent;
}
.ethos-fund-links a.ethos-fund-links__card {
  display: flex; flex-direction: column; justify-content: space-between;
  gap: 44px; min-width: 0; min-height: 176px;
  margin: 0; padding: 28px; border: 0; border-radius: 0;
  outline: 1px solid rgba(239,239,228,.3);
  color: #efefe4; background: #0a2e39;
  text-decoration: none; opacity: 1; transition: none;
}
.ethos-fund-links .ethos-fund-links__meta {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 16px;
  font: 400 12px/1.5 ABCWhyte, Arial, sans-serif;
  text-transform: uppercase; letter-spacing: .1em; overflow-wrap: anywhere;
}
.ethos-fund-links .ethos-fund-links__arrow { display: block; width: 14px; height: 14px; flex-shrink: 0; margin-top: 2px; color: rgba(239,239,228,.55); background: none; border: 0; }
.ethos-fund-links .ethos-fund-links__name {
  font: 400 clamp(25px, 2.3vw, 34px)/1.2 VictorSerif, Georgia, serif;
  overflow-wrap: anywhere;
}
.ethos-fund-links a.ethos-fund-links__card:hover { background: #153d48; opacity: 1; }
.ethos-fund-links a.ethos-fund-links__all:hover { border-bottom-color: #efefe4; opacity: 1; }
.ethos-fund-links a.ethos-fund-links__card:focus-visible { outline: 2px solid #efefe4; outline-offset: -5px; }
.ethos-fund-links a.ethos-fund-links__all:focus-visible { outline-offset: 5px; }
@media (min-width: 640px) {
  .ethos-fund-links .ethos-fund-links__grid:not(.ethos-fund-links__grid--1) { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (min-width: 900px) {
  .ethos-fund-links .ethos-fund-links__grid.ethos-fund-links__grid--3 { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (min-width: 1100px) {
  .ethos-fund-links .ethos-fund-links__header { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 48px; }
  .ethos-fund-links .ethos-fund-links__all { flex-shrink: 0; }
  .ethos-fund-links .ethos-fund-links__grid.ethos-fund-links__grid--4 { grid-template-columns: repeat(4,minmax(0,1fr)); }
}
