/*
Theme Name: GeneratePress Child
Template: generatepress
*/

/*
Theme Name: GeneratePress Child
Template: generatepress
*/

/* ==== AB HIER DEIN PORTAL CSS ==== */


/* ==================================================
   DOKUMENTE
================================================== */

.wp-block-query .type-dokumente h4 a::before,
.wp-block-query .type-dokument h4 a::before {
    content: "📄 ";
    margin-right: 6px;
}


/* ==================================================
   PINNWAND – MINIMAL APPLE STYLE
================================================== */

.wp-block-post-template {
    list-style: none;
    padding: 0;
}

/* Card */
.wp-block-post-template > li {
    background: #f5f5f7;
    border-radius: 16px;
    padding: 24px 32px 22px 32px;
    margin-bottom: 32px;
    border: 1px solid rgba(0,0,0,0.04);
    box-shadow: 0 6px 18px rgba(0,0,0,0.05);
    position: relative;
    transition: all 0.18s ease;
    cursor: pointer;
}

.wp-block-post-template > li:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(0,0,0,0.07);
}

/* Meta */
.wp-block-post-date,
.wp-block-post-comments-count {
    display: inline;
    font-size: 0.8rem;
    color: #8e8e93;
    margin: 0;
    font-weight: 500;
}

.wp-block-post-comments-count::before {
    content: " • ";
    margin: 0 4px;
}

li.ankuendigung_typ-offiziell .wp-block-post-date::after {
    content: " • Offiziell";
    color: #2c5aa0;
}

li.ankuendigung_typ-privat .wp-block-post-date::after {
    content: " • Privat";
    color: #3a7d44;
}

/* Titel */
.wp-block-post-title {
    margin: 6px 0;
}

.wp-block-post-title a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.15rem;
    color: #111;
}

.wp-block-post-title a:hover {
    color: #0071e3;
}

li.ankuendigung_typ-offiziell .wp-block-post-title a::before {
    content: "📢";
}

li.ankuendigung_typ-privat .wp-block-post-title a::before {
    content: "🔔";
}

/* Autor */
.wp-block-post-author {
    margin: 18px 0 8px 0;
    padding-top: 12px;
    border-top: 1px solid rgba(0,0,0,0.05);
    font-size: 0.9rem;
    color: #8e8e93;
}

.wp-block-post-author p {
    margin: 0;
}

.weg-role-label {
    margin-left: 6px;
    font-size: 0.85rem;
    color: #8e8e93;
    font-weight: 500;
}

/* Text */
.wp-block-post-excerpt {
    margin: 8px 0 0 0;
    color: #333;
    font-size: 1rem;
    line-height: 1.65;
}

/* Akzentlinie */
li.ankuendigung_typ-offiziell {
    border-right: 4px solid #2c5aa0;
}

li.ankuendigung_typ-privat {
    border-right: 4px solid #3a7d44;
}

/* Neu-Badge */
li.weg-new-post::before {
    content: "Neu";
    position: absolute;
    top: 16px;
    right: 18px;
    background: #0071e3;
    color: white;
    font-size: 0.65rem;
    padding: 6px 10px;
    border-radius: 999px;
    font-weight: 600;
    letter-spacing: 0.05em;
}

/* Ganze Card klickbar */
.wp-block-post-template > li .wp-block-post-title a::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
}



/* ======================================
   SINGLE ANKÜNDIGUNG – APPLE MINIMAL
====================================== */

.weg-single-inner {
    max-width: 740px;
    margin: 0 auto;
    padding: 80px 24px 60px 24px;
}

/* Zurück-Link */
.weg-back-link {
    font-size: 0.8rem;
    color: #8e8e93;
    text-decoration: none;
    letter-spacing: 0.02em;
    display: inline-block;
    margin-bottom: 32px;
}

.weg-back-link:hover {
    color: #1d1d1f;
}


/* Meta */
.weg-meta {
    font-size: 0.8rem;
    color: #8e8e93;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 10px;
}


/* Titel */
.weg-title {
    font-size: 1.75rem;
    font-weight: 600;
    line-height: 1.25;
    margin: 6px 0 18px 0;
}


/* Autor */
.weg-author {
    font-size: 0.85rem;
    color: #8e8e93;
    margin-bottom: 40px;
}


/* Inhalt */
.weg-content {
    font-size: 1.15rem;
    line-height: 1.85;
    color: #1d1d1f;
}

.weg-content p {
    margin-bottom: 1.6em;
}


/* Kommentarbereich */
.weg-comments {
    margin-top: 100px;
    padding-top: 50px;
    border-top: 1px solid rgba(0,0,0,0.08);
}

/* Kommentar-Überschrift */

.comments-title {
    font-size: 1.2rem !important;
    font-weight: 600;
    margin-bottom: 24px;
    visibility: hidden;
    position: relative;	
}

.comments-title::after {
    content: "Kommentare";
    visibility: visible;
    position: absolute;
    left: 0;
}

.comment-reply-title {
    font-size: 1.2rem !important;
    font-weight: 600;
    margin-bottom: 24px;
}

