/* =========================================================
   STECKBRIEF & BIOGRAPHIE
   Datei: content-biographie.css
========================================================= */


/* =========================================================
   1) BASICS
========================================================= */

    /* ---------------------------------------------------------
       Wrapper
    --------------------------------------------------------- */

          .bio-wrap{
            max-width: 980px;
            margin: 0 auto;
            box-sizing: border-box;
          }


    /* ---------------------------------------------------------
       Intro / Text
    --------------------------------------------------------- */

          .bio-intro{
            margin-bottom: calc(var(--menu-gap) * 1.6);
            color: rgba(255,255,255,0.88);
            font-size: var(--font-size-content);
            line-height: var(--line-height-text);
          }

          .muted{
            color: rgba(255,255,255,0.72);
          }


    /* ---------------------------------------------------------
       Links im Bio-Bereich
    --------------------------------------------------------- */

          .bio-wrap a{
            color: var(--color-link);
            text-decoration: none;
            position: relative;
            overflow-wrap: anywhere;
          }

          .bio-wrap a::after{
            content: "";
            position: absolute;
            left: 50%;
            bottom: -2px;
            width: 0;
            height: 1.5px;
            background: currentColor;
            transition: width .25s ease, left .25s ease;
          }

          .bio-wrap a:hover{
            color: var(--color-link-hover);
          }

          .bio-wrap a:hover::after{
            width: 100%;
            left: 0;
          }


/* =========================================================
   2) SEKTIONEN
========================================================= */

          .bio-section{
            margin-top: calc(var(--menu-gap) * 1.1);
            padding: calc(var(--menu-gap) * 1.05);

            border: 1px solid rgba(255,255,255,0.22);
            border-radius: var(--radius-sm);
            background: rgba(0,0,0,0.12);

            transition: background .2s ease, border-color .2s ease;
          }

          .bio-section:hover{
            background: rgba(0,0,0,0.18);
            border-color: rgba(255,255,255,0.32);
          }

          .bio-title{
            margin: 0 0 14px 0;

            font-family: var(--font-style-headline);
            font-size: calc(var(--font-size-headline-section) * 0.9);
            color: #fff;
          }


/* =========================================================
   3) STECKBRIEF (dl)
========================================================= */

          .bio-dl{
            margin: 0;
          }

          .bio-row{
            display: grid;
            grid-template-columns: 1fr;
            gap: 6px;

            padding: 10px 0 10px 26px;
            border-top: 1px solid rgba(255,255,255,0.10);
            position: relative;
          }

          .bio-row:first-child{
            border-top: none;
            padding-top: 0;
          }

          .bio-row:last-child{
            padding-bottom: 0;
          }

          .bio-row::before{
            content: "›";
            position: absolute;
            left: 8px;
            top: 10px;
            color: rgba(255,255,255,0.65);
            font-weight: 900;
          }

          .bio-row dt{
            margin: 0;

            font-family: var(--font-style-text);
            font-weight: 900;
            color: rgba(255,255,255,0.92);
          }

          .bio-row dd{
            margin: 0;

            font-family: var(--font-style-text);
            color: rgba(255,255,255,0.90);
            line-height: 1.35;
          }

          .bio-row dd + dd{
            position: relative;
            margin-top: 2px;
            padding-left: 1.1em;
          }

          .bio-row dd + dd::before{
            content: "›";
            position: absolute;
            left: 0;
            opacity: 0.75;
          }


/* =========================================================
   4) BIOGRAPHIE TEXT
========================================================= */

          .bio-text{
            color: rgba(255,255,255,0.92);
          }

          .bio-text p,
          .bio-text .bodytext,
          .bio-text .auto-style2{
            margin: 0 0 1rem 0;

            font-family: var(--font-style-text);
            font-size: var(--font-size-content);
            line-height: var(--line-height-text);
            text-align: justify;
            color: rgba(255,255,255,0.92);
          }

          .bio-text p:last-child,
          .bio-text .bodytext:last-child,
          .bio-text .auto-style2:last-child{
            margin-bottom: 0;
          }

          .bio-text span[style]{
            font-size: inherit !important;
            line-height: inherit !important;
            color: inherit !important;
          }


/* =========================================================
   5) BILDER DIREKT IM TEXT
========================================================= */

          .bio-text img{
            display: block;
            max-width: 100%;
            height: auto;

            border: 1px solid rgba(255,255,255,0.18);
            border-radius: var(--radius-sm);
            background: rgba(255,255,255,0.04);
            box-shadow: 0 10px 26px rgba(0,0,0,0.22);
          }

          .bio-text img[align="left"]{
            float: left;
            margin: 0.2rem 1rem 0.8rem 0;
          }

          .bio-text img[align="right"]{
            float: right;
            margin: 0.2rem 0 0.8rem 1rem;
          }


/* =========================================================
   6) BIOGRAPHIE – FIGURE MIT HINTERGRUND
========================================================= */

          .bio-figure{
            margin: 0.2rem 0 1rem 0;
            max-width: 320px;

            padding: 8px;

            background: rgba(255,255,255,0.06);
            border: 1px solid rgba(255,255,255,0.18);
            border-radius: var(--radius-sm);

            box-shadow: 0 10px 26px rgba(0,0,0,0.25);
          }

          .bio-figure img{
            width: 100%;
            height: auto;
            display: block;

            border-radius: calc(var(--radius-sm) * 0.6);
          }

          .bio-figure figcaption{
            margin-top: 6px;

            font-family: var(--font-style-text);
            font-size: 0.82rem;
            line-height: 1.35;

            color: rgba(255,255,255,0.80);
          }

          .bio-figure.left{
            float: left;
            margin: 0.2rem 1rem 0.9rem 0;
          }

          .bio-figure.right{
            float: right;
            margin: 0.2rem 0 0.9rem 1rem;
          }


/* =========================================================
   7) ALTE BESTANDS-KLASSEN
========================================================= */

          .auto-style1,
          .auto-style2,
          .bodytext{
            color: rgba(255,255,255,0.92);
          }

          .auto-style2,
          .bodytext{
            font-family: var(--font-style-text);
            font-size: var(--font-size-content);
            line-height: var(--line-height-text);
            text-align: justify;
          }

          .bodytext{
            margin: 0 0 1rem 0;
          }


/* =========================================================
   8) BIOGRAPHIE – AUFKLAPPBARE BLOECKE
========================================================= */

    /* ---------------------------------------------------------
       Details-Container
    --------------------------------------------------------- */

          .bio-details{
            margin-top: calc(var(--menu-gap) * 0.9);

            border: 1px solid rgba(255,255,255,0.18);
            border-radius: var(--radius-sm);
            background: rgba(0,0,0,0.10);

            overflow: hidden;

            transition:
              background .2s ease,
              border-color .2s ease;
          }

          .bio-details:hover{
            background: rgba(0,0,0,0.14);
            border-color: rgba(255,255,255,0.28);
          }


    /* ---------------------------------------------------------
       Summary
    --------------------------------------------------------- */

          .bio-details > summary{
            list-style: none;
            cursor: pointer;

            padding: 14px 16px;

            font-family: var(--font-style-headline);
            font-size: calc(var(--font-size-content) * 1.05);
            font-weight: 900;

            color: rgba(255,255,255,0.96);

            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
          }

          .bio-details > summary::-webkit-details-marker{
            display: none;
          }

          .bio-details > summary:hover{
            background: rgba(0,0,0,0.14);
          }


    /* ---------------------------------------------------------
       Plus / Minus
    --------------------------------------------------------- */

          .bio-details > summary::after{
            content: "+";

            font-family: var(--font-style-ui);
            font-weight: 900;
            color: rgba(255,255,255,0.85);
          }

          .bio-details[open] > summary::after{
            content: "–";
          }


    /* ---------------------------------------------------------
       Content
    --------------------------------------------------------- */

          .bio-details-content{
            padding: 0 16px 14px 16px;
          }

          .bio-details + .bio-details{
            margin-top: calc(var(--menu-gap) * 0.75);
          }


/* =========================================================
   9) ALTER
========================================================= */

          .age-value{
            font-size: 0.85em;
            opacity: 0.8;
            white-space: nowrap;
          }


/* =========================================================
   10) FLOATS AUFRAEUMEN
========================================================= */

          .bio-text::after,
          .bio-section::after,
          .bio-wrap::after,
          .bio-details-content::after{
            content: "";
            display: block;
            clear: both;
          }


/* =========================================================
   11) RESPONSIVE – DESKTOP
========================================================= */

@media (min-width: 860px){

          .bio-row{
            grid-template-columns: 220px 1fr;
            gap: 8px 18px;
            padding-left: 0;
          }

          .bio-row::before{
            display: none;
          }

          .bio-row dt{
            grid-column: 1;
          }

          .bio-row dd{
            grid-column: 2;
          }

          .bio-row dd + dd{
            margin-top: 4px;
          }

          .bio-text img[align="left"]{
            max-width: min(38%, 300px);
          }

          .bio-text img[align="right"]{
            max-width: min(38%, 300px);
          }
}


/* =========================================================
   12) RESPONSIVE – MOBILE
========================================================= */

@media (max-width: 700px){

          .bio-text img[align="left"],
          .bio-text img[align="right"]{
            float: none;
            display: block;
            margin: 0.2rem auto 0.9rem auto;
            max-width: 100%;
          }

          .bio-text p,
          .bio-text .bodytext,
          .bio-text .auto-style2{
            text-align: left;
          }

          .bio-figure.left,
          .bio-figure.right{
            float: none;
            margin: 0.4rem auto 1rem auto;
            max-width: 100%;
          }
}

@media (max-width: 768px){

          .bio-section{
            padding: calc(var(--menu-gap) * 0.9);
          }

          .bio-details > summary{
            font-size: calc(var(--font-size-content) * 1.02);
            padding: 12px 14px;
          }

          .bio-details-content{
            padding: 0 14px 12px 14px;
          }
}