/*
Theme Name: Spitzbart
Description: A custom WP theme for Spitzbart
*/
    .expert-container {
      display: flex;
      flex-wrap: wrap;
      max-width: 1000px;
      margin: 50px auto;
      padding: 2rem;
      background-color: #f5f5f5;
      gap: 2rem;
    }

    .expert-profil-text {
      flex: 2;
      min-width: 280px;
    }

    .expert-profil-text h2 {
      color: #0090D7;
      font-size: 2rem;
      font-family: "promptmedium";
      margin-bottom: 1rem;
    }

    .expert-profil-text p {
      color: #444;
      line-height: 1.5;
      margin-bottom: 1rem;
    }

    .expert-social-icons {
      margin-top: 2rem;
    }

    .expert-social-icons a {
      margin-right: 0.5rem;
      font-size: 1.2rem;
      color: #555;
      text-decoration: none;
    }

    .expert-social-icons a:hover {
      color: #0090D7;
    }

    .expert-profil-bild {
      flex: 1;
      min-width: 200px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
    }

    figure {
      margin: 0;
    }

    .expert-profil-bild figure img {
      max-width: 100%;
      height: auto;
      border-radius: 4px;
    }

    .expert-profil-bild figcaption {
      font-size: 0.9rem;
      color: #666;
      margin-top: 0.5rem;
    }

    .expert-kontakt {
      margin-top: 1rem;
      font-size: 0.95rem;
      color: #333;
    }

    .expert-kontakt a {
      color: #0090D7;
      text-decoration: none;
      line-height: 30px;
    }

    .expert-kontakt a:hover {
      text-decoration: underline;
    }

    @media (max-width: 768px) {
      .expert-profil-container {
        flex-direction: column;
        padding: 1rem;
      }

      .expert-profil-text,
      .expert-profil-bild {
        flex: 100%;
      }

      .expert-profil-text h2 {
        font-size: 1.25rem;
      }
    }