/**
 * JuKi Theme Admin Styles
 *
 * @package JuKi-Theme
 */

/* Load CreteRound-Regular.ttf font */
@font-face {
    font-family: 'CreteRound';
    src: url('../fonts/CreteRound-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

.juki-parent-header{
    top: 70vh;
    position: relative;
    padding-left: 50px;
    width: auto;
}
.juki-parent-header h1{
    color: white;
    width: auto;
    text-transform: uppercase;
    font-family: 'CreteRound', serif;
    font-size: 100px;
    line-height: 0.8;
    font-weight: 300;
    opacity: 0;
    transform: translateX(-100px);
    animation: slideInLeft 1s ease-out 0.5s forwards;
}
.juki-parent-header h2{
    color: white;
    width: auto;
    font-family: 'CreteRound', serif;
    margin-left: 40px;
    font-weight: 300;
    opacity: 0;
    transform: translateX(-100px);
    animation: slideInLeft 1s ease-out 1s forwards;
}

.juki-main {
    width: 100%;
}

.entry-content{
    position: relative;
    top: 75vh;
    padding: 20px 5%;
}

.entry-content > * {
    max-width: 1200px; /* gleiche max Breite wie Bild-Container */
    margin-left: auto;
    margin-right: auto; /* zentriert alle direkten Kinder innerhalb des 5%-Paddings */
}

/* Optional: Box-Sizing für konsistente Berechnungen */
.entry-content,
.entry-content * {
    box-sizing: border-box;
}

.entry-content h3{
    font-size: 40px;
    font-family: 'CreteRound', serif;
    line-height: 1;
    color: #dcf0fe;
    margin-bottom: 20px;
    font-weight: 300;
    opacity: 0;
    transform: translateX(-100px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.entry-content h3.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.entry-content h4, .entry-filter h4{
    font-size: 25px;
    font-family: 'CreteRound', serif;
    line-height: 1;
    color: #dcf0fe;
    margin-bottom: 30px;
    font-weight: 300;
}

.entry-text{
    color: #dcf0fe;
    margin-top: 20px;
    font-family: 'CreteRound', serif;
    font-weight: 200;
}

.entry-content ul {
    list-style-position: inside;
    padding-left: 0;
}

.entry-content .entry-title-image {
    /* Container als Block mit voller Breite, optional Maxbreite für bessere Lesbarkeit */
    width: 100%;
    /* Optional: max-width für große Bildschirme (kann angepasst werden) */
    max-width: 1200px;
    margin: 0 auto; /* zentriert den Container, rechter Abstand entspricht dem linken */
}

.entry-content .entry-title-image img,
.entry-content .entry-title-image .entry-title-image__img {
    display: block;
    max-width: 100%;
    height: auto;
    width: 100%; /* Bild füllt Containerbreite und skaliert herunter */
    border-radius: 50px 50px 50px 50px;
    overflow: hidden;
}

.entry-filter{
    position: relative;
    top: 75vh;
    padding: 20px 5%;
}

.entry-single-event {
    position: relative;
    top: 0;
}

.entry-events {
    position: relative;
    top: 75vh;
}

.entry-single-event .event-single-headline{
    padding-left: 5%;
    font-family: 'CreteRound', serif;
    font-weight: 300;
    font-size: 30px;
    padding-top: 10px;
    padding-bottom: 10px;
    color: black;
}

.entry-single-event .event-single-content{
    color: #dcf0fe;
    padding: 20px 5%;
}

.entry-single-event .event-single-content h4{
    font-size: 25px;
    font-family: 'CreteRound', serif;
    line-height: 1;
    font-weight: 300;
    padding-bottom: 20px;
}

.entry-single-event .event-single-content ul {
    list-style-position: inside;
    padding-left: 0;
}

.juki-footer{
    position: relative;
    top: 75vh;
    background-color: red;
    color: #ffffff;
    padding-left: 5%;
    padding-top: 30px;
    padding-bottom: 30px;
    font-family: 'CreteRound', serif;
    line-height: 1.3;
    font-weight: 100;
}

/* Kontakte im Event-Stil */
.juki-contacts-list {
    position: relative;
    top: 0;
    width: 100%;
}

.juki-contact-item {
    position: relative;
    top: 0;
    margin-bottom: 0;
    width: 100%;
}

.juki-contact-headline {
    padding-left: 5%;
    padding-right: 5%;
    font-family: 'CreteRound', serif;
    font-weight: 300;
    font-size: 30px;
    padding-top: 10px;
    padding-bottom: 10px;
    color: #000000;
    width: 100%;
    box-sizing: border-box;
}

.juki-contact-headline h3 {
    margin: 0;
    font-size: 30px;
    font-weight: 300;
    color: #000000;
}

.juki-contact-content {
    color: #dcf0fe;
    padding: 20px 5%;
    width: 100%;
    box-sizing: border-box;
}

.juki-contact-inner {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    flex-wrap: wrap;
}

/* Abstand zwischen mehreren Kontakten innerhalb einer Kirche */
.juki-contact-inner:not(:last-child) {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(255,255,255,0.15);
}

.juki-contact-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.juki-contact-avatar .avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.juki-contact-avatar .avatar-placeholder {
    font-family: 'CreteRound', serif;
    font-size: 60px;
    color: #dcf0fe;
    opacity: 0.8;
}

.juki-contact-info {
    flex: 1;
    min-width: 200px;
    font-family: 'CreteRound', serif;
}

.juki-contact-name {
    font-size: 28px;
    font-weight: 300;
    color: #dcf0fe;
    margin-bottom: 10px;
    line-height: 1.2;
}

.juki-contact-email {
    font-size: 18px;
    font-weight: 300;
}

.juki-contact-email a {
    color: #dcf0fe;
    text-decoration: none;
    border-bottom: 1px solid #dcf0fe;
    transition: opacity 0.3s ease;
}

.juki-contact-email a:hover {
    opacity: 0.7;
}

@media (max-width: 768px) {
    .juki-contact-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .juki-contact-avatar {
        width: 120px;
        height: 120px;
    }

    .juki-contact-avatar .avatar-placeholder {
        font-size: 48px;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}