/* Styling für das APS Profile Card Widget */

.aps-profile-layout-wrapper {
    width: 100%;
}

/* 1. Überschrift */
.aps-profile-headline {
  font-family: "Playfair Display", serif;
    font-size: 1.953em;
    font-weight: 500;
	    text-shadow: 1px 1px 1px rgba(0, 0, 0, .1);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    width: 50%;
    padding-bottom: 15px !important;
    margin-bottom: 25px;
    border-bottom: 3px solid #a7800f !important; /* Goldene Linie */
    color: #333;
    text-align: center;
    /* Zentriert die Überschrift im Wrapper */
    display: block;
    margin-left: auto;
    margin-right: auto;
}.aps-profile-headline2 {
  font-family: "Playfair Display", serif;
    font-size: 1.953em;
    font-weight: 500;
	    text-shadow: 1px 1px 1px rgba(0, 0, 0, .1);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    width: 30%;
    padding-bottom: 15px !important;
    margin-bottom: 25px;
    border-bottom: 3px solid #a7800f !important; /* Goldene Linie */
    color: #333;
    text-align: center;
    /* Zentriert die Überschrift im Wrapper */
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.aps-profile-layout-wrapper {
    background: #f9f9f9;
    padding: 15px;
    padding-top: 100px;
    padding-bottom: 100px;
    border-left: 1px solid #a47f06;
    border-right: 1px solid #a47f06;
}
/* 2. Spalten-Container */
.aps-profile-columns-wrapper {
    display: flex;
    align-items: center; /* Obenbündig */
    gap: 30px; /* Abstand zwischen den Spalten */
}

/* Spalte 1: Linke Karte */
.aps-profile-column-card {
    flex: 1; /* Nimmt verfügbaren Platz ein */
    min-width: 0; /* Wichtig für Flexbox-Verhalten */
}

.aps-profile-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    /* Standard-Schatten (wird durch Elementor-Kontrolle überschrieben) */
    box-shadow: 0 5px 15px rgba(0,0,0,0.1); 
    width: 100%; /* Füllt die Spalte */
}

.aps-profile-image img {
    width: 100%;
        height: 700px;
    object-fit: cover;
    display: block;
}

.aps-profile-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    max-height: 50%;
    opacity: 0.8;
    background: white;
    padding: 20px;
    padding-bottom: 30px;
    text-align: center;
    overflow: hidden;
}
.aps-profile-name {
  font-family: "Playfair Display", serif;
    font-size: 1.3rem;
    color: #000;
    margin-top: 0;
    margin-bottom: 10px;
}

.aps-profile-bio {
  font-family: "Playfair Display", serif;
    font-size: 1.05rem;
    color: #000;
    line-height: 1.5;
    margin: 0;
}


/* Spalte 2: Rechte Leiste */
.aps-profile-column-bar {
    flex: 1; /* Nimmt verfügbaren Platz ein */
    min-width: 0;
	    justify-content: flex-end;
    display: flex
;
    padding-top: 10px; /* Kleiner Abstand nach oben, um besser auszusehen */
}

.aps-profile-bar {
    display: flex;
    align-items: center;
    background-color: #A7800F;
    border-radius: 10px;
    padding: 20px 15px;
    width: 90%;
    box-sizing: border-box;
    box-shadow: 0 3px 8px rgba(0,0,0,0.1);
}

.aps-profile-bar-image img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
 
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.aps-profile-bar-name {
    margin-left: 15px;
   font-family: "Playfair Display", serif;
    font-size: 1.2em;
    font-weight: 700;
    color: black !important; /* Standard-Farbe (wird durch Elementor überschrieben) */
}


/* Responsive Anpassung: Spalten stapeln */
@media (max-width: 767px) {
    .aps-profile-columns-wrapper {
        flex-direction: column; /* Spalten untereinander stapeln */
    }
    
    .aps-profile-column-bar {
        width: 100%; /* Volle Breite für die Leiste auf Mobilgeräten */
    }
}