/* Einheitliches Referenzdesign aller über index.html verlinkten Fondsgesellschaften. */

body.fund-rebuilt-page {
  color:#1D1D1F;
  font-family:Arial,Helvetica,sans-serif;
  font-size:17px;
  font-variant-caps:normal;
}

.fund-rebuilt-page .page-hero .eyebrow {
  color:#9B2A61;
  font-family:Arial,Helvetica,sans-serif;
  font-size:.76rem;
  font-style:normal;
  font-weight:750;
  letter-spacing:.16em;
  line-height:1.15;
  text-transform:uppercase;
}

.fund-rebuilt-page .page-hero h1 {
  color:#1D1D1F;
  font-family:Arial,Helvetica,sans-serif;
  font-style:normal;
  font-variant-caps:normal;
  font-weight:650;
  text-transform:none;
}

.fund-content-layout {
  width:var(--container);
  margin:34px auto 96px;
}

.fund-rebuilt-grid {
  display:grid;
  grid-template-columns:minmax(240px,320px) minmax(0,1fr);
  gap:clamp(28px,3vw,48px);
  align-items:start;
  color:#1D1D1F;
  font-family:Arial,Helvetica,sans-serif;
}

.fund-rebuilt-sidebar,
.fund-rebuilt-main {
  min-width:0;
  display:grid;
  gap:20px;
}

.fund-rebuilt-sidebar {
  position:sticky;
  top:calc(var(--header-h) + 22px);
  gap:15px;
}

.fund-rebuilt-sidebar .ag-side-card,
.fund-rebuilt-main .ag-article {
  box-sizing:border-box;
  min-width:0;
  max-width:100%;
  border:1px solid rgba(29,29,31,.12);
  background:#fff;
  box-shadow:0 14px 38px rgba(29,29,31,.055);
}

.fund-rebuilt-sidebar .ag-side-card {
  padding:clamp(24px,2.7vw,36px);
  border-radius:28px;
  color:#1D1D1F;
  font-size:.92rem;
  font-weight:430;
  letter-spacing:.002em;
  line-height:1.45;
}

.fund-rebuilt-main .ag-article {
  padding:clamp(28px,4vw,46px);
  border-radius:24px;
  color:#1D1D1F;
  font-size:clamp(.98rem,1.22vw,1.12rem);
  font-weight:430;
  letter-spacing:.005em;
  line-height:1.62;
}

.fund-rebuilt-sidebar .ag-side-card:empty,
.fund-rebuilt-main .ag-article:empty,
.fund-rebuilt-sidebar .ag-side-card[data-empty="true"],
.fund-rebuilt-main .ag-article[data-empty="true"] {
  display:none!important;
}

/* Sämtliche alten Seitenstriche neutralisieren. Nur die weiter unten
   definierten semantischen Teilüberschriften dürfen einen Strich erhalten. */
.fund-rebuilt-grid :where(div,span,p,strong,em,i,b,h1,h2,h3,h4,h5,h6) {
  border-left-width:0!important;
}

/* Alte Schriftklassen verlieren ihre historischen Größen und Laufweiten. */
.fund-rebuilt-grid :is(.Zinn1,.Zinn11,.Zinn111,.Zinn112,.Zinn13,.Zinn14,.Zinn23,.Zinn231,.Zinndunkel,.schwarz,.schwarz3,.schwarz21,.Schwarzgross,.Rotgross,.formularrot,.magenta,.Magnesium,.grau_fussnote1,.grau_fussnote11) {
  font-family:Arial,Helvetica,sans-serif;
  font-size:inherit;
  font-style:inherit;
  font-variant-caps:normal;
  letter-spacing:inherit;
  line-height:inherit;
  text-transform:none;
}

.fund-rebuilt-grid :is(.Rotgross,.formularrot,.magenta,.Schwarzgross,.schwarz,.schwarz3,.schwarz21) {
  margin:0;
  padding-left:0;
  border-left:0;
}

/* Rubrikzeilen. */
.fund-rebuilt-grid .article-card-kicker,
.fund-rebuilt-grid .article-main-kicker,
.fund-rebuilt-grid .ag-side-card > .kicker,
.fund-rebuilt-grid .ag-article > .kicker,
.fund-rebuilt-grid .overview-kicker {
  display:block;
  margin:0 0 15px;
  color:#9B2A61!important;
  font-family:Arial,Helvetica,sans-serif!important;
  font-size:clamp(.86rem,1.1vw,1.02rem)!important;
  font-style:normal!important;
  font-variant-caps:normal!important;
  font-weight:750!important;
  letter-spacing:.16em!important;
  line-height:1.15!important;
  text-transform:uppercase!important;
}

/* Teilüberschriften: stets genau ein kurzer grauer Strich. */
.fund-rebuilt-grid .article-card-subtitle,
.fund-rebuilt-grid .fund-rebuilt-sidebar .ag-heading-prefix {
  display:block;
  width:fit-content;
  max-width:100%;
  margin:0 0 9px;
  padding:1px 0 1px 13px;
  border-left:3px solid #C9C9C9!important;
  color:#1D1D1F!important;
  font-family:Arial,Helvetica,sans-serif!important;
  font-size:.92rem!important;
  font-style:normal!important;
  font-variant-caps:normal!important;
  font-weight:430!important;
  letter-spacing:.002em!important;
  line-height:1.34!important;
  overflow-wrap:anywhere;
  text-transform:none!important;
}

.fund-rebuilt-grid .article-main-subtitle,
.fund-rebuilt-grid .fund-rebuilt-main .ag-heading-prefix {
  display:block;
  width:fit-content;
  max-width:100%;
  margin:0 0 12px;
  padding:2px 0 2px 14px;
  border-left:3px solid #C9C9C9!important;
  color:#1D1D1F!important;
  font-family:Arial,Helvetica,sans-serif!important;
  font-size:clamp(.98rem,1.22vw,1.12rem)!important;
  font-style:normal!important;
  font-variant-caps:normal!important;
  font-weight:430!important;
  letter-spacing:.005em!important;
  line-height:1.38!important;
  overflow-wrap:anywhere;
  text-transform:none!important;
}

/* Artikeltitel. */
.fund-rebuilt-grid .article-card-title,
.fund-rebuilt-grid .fund-rebuilt-sidebar .ag-heading-title,
.fund-rebuilt-grid .overview-title {
  display:block;
  max-width:100%;
  margin:0 0 15px;
  color:#1D1D1F!important;
  font-family:Arial,Helvetica,sans-serif!important;
  font-size:clamp(1.12rem,1.5vw,1.45rem)!important;
  font-style:normal!important;
  font-variant-caps:normal!important;
  font-weight:750!important;
  letter-spacing:-.023em!important;
  line-height:1.23!important;
  overflow-wrap:anywhere;
  text-transform:none!important;
}

.fund-rebuilt-grid .article-main-title,
.fund-rebuilt-grid .fund-rebuilt-main .ag-heading-title,
.fund-rebuilt-grid .section-title {
  display:block;
  max-width:30ch;
  margin:0 0 18px;
  color:#1D1D1F!important;
  font-family:Arial,Helvetica,sans-serif!important;
  font-size:clamp(1.45rem,2.5vw,2.35rem)!important;
  font-style:normal!important;
  font-variant-caps:normal!important;
  font-weight:620!important;
  letter-spacing:-.025em!important;
  line-height:1.16!important;
  overflow-wrap:normal;
  text-transform:none!important;
  word-break:normal;
}

.fund-rebuilt-grid .ag-split-heading {
  display:block;
  max-width:none;
  margin:0;
  padding:0;
  border:0!important;
  color:#1D1D1F;
  font:inherit;
  letter-spacing:normal;
  line-height:normal;
}

/* Datum und Metadaten. */
.fund-rebuilt-grid .article-card-date,
.fund-rebuilt-grid .ag-side-card > .date {
  display:inline-block;
  margin:0;
  color:#696A6E!important;
  font-family:Arial,Helvetica,sans-serif!important;
  font-size:.92rem!important;
  font-style:normal!important;
  font-weight:400!important;
  letter-spacing:.002em!important;
  line-height:1.34!important;
  text-transform:none!important;
}

.fund-rebuilt-grid .article-main-date,
.fund-rebuilt-grid .ag-article > .ag-date {
  display:inline-block;
  margin:0 0 clamp(26px,4vw,42px);
  color:#696A6E!important;
  font-family:Arial,Helvetica,sans-serif!important;
  font-size:clamp(.92rem,1.25vw,1.08rem)!important;
  font-style:normal!important;
  font-weight:400!important;
  letter-spacing:-.005em!important;
  line-height:1.3!important;
  text-transform:none!important;
}

.fund-rebuilt-grid .article-main-date ~ .article-main-kicker {
  margin-top:clamp(38px,5vw,62px);
}

.fund-rebuilt-grid .Magnesium:not(.article-card-date):not(.article-main-date) {
  color:#696A6E;
  font-size:.92rem;
  line-height:1.45;
}

/* Redaktionsinhalte. */
.fund-rebuilt-main .ag-article p {
  margin:0 0 1.05em;
}

.fund-rebuilt-main .ag-article br + br {
  display:none;
}

.fund-rebuilt-main .ag-article :is(h2,h3):not(.ag-split-heading) {
  margin:1.25em 0 .55em;
  color:#1D1D1F;
  font-family:Arial,Helvetica,sans-serif;
  font-size:clamp(1.25rem,2vw,1.8rem);
  font-weight:620;
  letter-spacing:-.02em;
  line-height:1.2;
}

.fund-rebuilt-grid a:not(.primary-button) {
  color:#7C1F4D;
  text-decoration-color:rgba(155,42,97,.26);
  text-underline-offset:.18em;
}

.fund-rebuilt-grid a[aria-label="Weiterlesen"],
.fund-rebuilt-grid .article-card-arrow,
.fund-rebuilt-grid .back-to-top-arrow,
.fund-rebuilt-grid .ag-link,
.fund-rebuilt-grid .ag-back {
  display:inline-flex;
  width:fit-content;
  min-width:36px;
  min-height:34px;
  align-items:center;
  justify-content:center;
  margin-top:10px;
  color:#9B2A61!important;
  font-size:1.35rem;
  line-height:1;
  text-decoration:none!important;
}

.fund-rebuilt-grid .ag-author,
.fund-rebuilt-grid .author-block {
  margin:24px 0;
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  font-size:inherit;
  letter-spacing:normal;
  line-height:inherit;
}

/* Einheitliche Autorenzeile nach dem vorgegebenen Referenzbild. */
.fund-rebuilt-grid .author-standard {
  display:block;
  margin:26px 0;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  color:#66676B!important;
  font-family:Arial,Helvetica,sans-serif!important;
  font-size:0.86rem!important;
  font-style:normal!important;
  font-variant-caps:normal!important;
  font-weight:400!important;
  letter-spacing:normal!important;
  line-height:1.55!important;
  text-transform:none!important;
}

.fund-rebuilt-grid .author-standard > span {
  display:block;
  margin:0;
  padding:0;
  color:inherit!important;
  font:inherit!important;
  letter-spacing:inherit!important;
  line-height:inherit!important;
  text-transform:none!important;
}

.fund-rebuilt-grid .author-standard-name,
.fund-rebuilt-grid .author-standard-role {
  margin-top:0!important;
}

.fund-rebuilt-grid .ag-author > p.label {
  margin:0!important;
}

.fund-rebuilt-grid .ag-author .author-standard {
  margin:0!important;
}

/* Unter rr/Berlin-Datumsangaben in den Fund-Rebuilt-Artikeln soll keine optische Leerzeile stehen. */
.fund-rebuilt-grid .article-main-date,
.fund-rebuilt-grid .ag-article > .ag-date {
  margin-bottom:0!important;
}

.fund-rebuilt-grid .article-main-date + p,
.fund-rebuilt-grid .ag-article > .ag-date + p,
.fund-rebuilt-grid .article-main-date + .ag-author,
.fund-rebuilt-grid .ag-article > .ag-date + .ag-author,
.fund-rebuilt-grid .article-main-date + .author-block,
.fund-rebuilt-grid .ag-article > .ag-date + .author-block,
.fund-rebuilt-grid .article-main-date + .ag-back,
.fund-rebuilt-grid .ag-article > .ag-date + .ag-back {
  margin-top:0!important;
}

.fund-rebuilt-grid ul,
.fund-rebuilt-grid ol {
  margin:.7em 0 1.2em;
  padding-left:1.3em;
}

.fund-rebuilt-grid table {
  display:block;
  width:100%;
  overflow:auto;
  border-collapse:collapse;
}

.fund-rebuilt-grid td,
.fund-rebuilt-grid th {
  padding:10px 12px;
  border-bottom:1px solid rgba(29,29,31,.11);
  text-align:left;
}

.preserved-fragment-anchors {
  position:absolute;
  width:1px;
  height:1px;
  overflow:hidden;
  clip:rect(0 0 0 0);
  white-space:nowrap;
}

@media (max-width:820px) {
  .fund-rebuilt-grid {
    grid-template-columns:1fr;
    gap:20px;
  }

  .fund-rebuilt-sidebar {
    position:static;
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .fund-rebuilt-grid .article-main-title,
  .fund-rebuilt-grid .fund-rebuilt-main .ag-heading-title,
  .fund-rebuilt-grid .section-title {
    max-width:none;
  }
}

@media (max-width:560px) {
  .fund-content-layout {
    margin-top:20px;
  }

  .fund-rebuilt-sidebar {
    grid-template-columns:1fr;
  }

  .fund-rebuilt-sidebar .ag-side-card,
  .fund-rebuilt-main .ag-article {
    padding:24px 20px;
    border-radius:22px;
  }
}

/* Projektweit: unter allen Datumsangaben, die mit „rr/Berlin“ beginnen, kein zusätzlicher Leerraum. */
.fund-rebuilt-grid .rr-date-tight {
  margin-bottom:0!important;
}
