/* ==========================================================================
   1. SINGLE / ÄUSSERE SHELL
   ========================================================================== */

html body.single-micro_beitrag .wj-shell {
    background: #f5f5f5;
    padding: 40px 0;
    width: 100%;
    box-sizing: border-box;
}

html body.single-micro_beitrag .wj-layout {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* ==========================================================================
   2. ROOT-CONTAINER
   ========================================================================== */

.wj-card {
    box-sizing: border-box;
    width: 100%;
    margin-bottom: 30px;
}

.wj-card *,
.wj-card *::before,
.wj-card *::after {
    box-sizing: border-box;
}

/* ==========================================================================
   3. WHITE CARD BOX
   ========================================================================== */

.wj-white-card-box {
    position: relative;
    z-index: 1;

    background: #fff;
    padding: 40px 30px 30px;

    border: 1px solid rgba(0,0,0,0.04);
    border-radius: 10px;

    box-shadow:
        0 1px 2px rgba(0,0,0,0.04),
        0 8px 30px rgba(0,0,0,0.06);
}

/* ==========================================================================
   4. HEADER & META
   ========================================================================== */

.wj-card-header {
    margin-bottom: 25px;
}

.wj-title {
    font-size: 1.5rem;
    line-height: 1.3;
    margin: 0 0 15px;
}

.wj-title a {
    color: var(--global-palette3);
    text-decoration: none;
    transition: color 0.2s ease;
}

.wj-title a:hover {
    color: var(--global-palette1);
}

.wj-meta {
    display: flex;
    align-items: center;
    gap: 15px;
}

.wj-avatar-space img,
.wj-feed-avatar img {
    display: block;
    border-radius: 50%;
    height: auto;
}

.wj-meta-details,
.wj-feed-meta-text {
    display: flex;
    flex-direction: column;

    line-height: 1.5;
    color: #666;
}

.wj-meta-details {
    font-size: 0.8rem;
}

.wj-feed-meta-text {
    font-size: 0.82rem;
}

.wj-author,
.wj-feed-author {
    font-weight: 600;
}

.wj-date-modified {
    font-style: italic;
    color: #888;
}

.wj-meta-icon {
    opacity: 0.7;
}

.wj-meta-separator {
    margin: 0 8px;
    opacity: 0.4;
}

/* ==========================================================================
   5. HERO / FEATURED IMAGE
   ========================================================================== */
.wj-card-media {
    position: relative;

    width: 100%;
    margin: 25px auto 30px;
}

.wj-card-media img {
    display: block;
    width: 100%;
    height: auto;
}

.wj-image-overlay-fade {
    position: absolute;
    inset: auto 0 0 0;

    height: 200px;

    pointer-events: none;

    background: linear-gradient(
        to bottom,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.08) 20%,
        rgba(255,255,255,0.25) 40%,
        rgba(255,255,255,0.55) 60%,
        rgba(255,255,255,0.82) 78%,
        rgba(255,255,255,0.96) 92%,
        rgba(255,255,255,1) 100%
    );
}

/* ==========================================================================
   6. CONTENT / TYPOGRAPHY
   ========================================================================== */

.wj-prose {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--global-palette4);
}

.wj-prose p {
    margin: 0 0 1.5em;
}

.wj-prose p:last-child {
    margin-bottom: 0;
}

.wj-prose img,
.wj-prose figure,
.wj-prose iframe,
.wj-prose video {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 1.5em auto;
    border-radius: 6px;
}

.wj-prose ul,
.wj-prose ol {
    margin: 0 0 1.5em 1.5em;
    padding: 0;
}

.wj-prose li {
    margin-bottom: 0.5em;
}

.wj-prose blockquote {
    margin: 1.5em 0;
    padding: 10px 20px;

    background: #f9f9f9;
    border-left: 4px solid #b5a17b;

    font-style: italic;
}

/* ==========================================================================
   7. HASHTAGS
   ========================================================================== */

.journal-hashtag {
    font-weight: 600;
    color: #b5a17b;
    text-decoration: none;

    border-bottom: 1px dashed #b5a17b;

    transition: all 0.2s ease;
}

.journal-hashtag:hover {
    color: #8a7653;
    border-bottom-style: solid;
}

/* ==========================================================================
   8. INTERAKTIONEN / ACTIONS
   ========================================================================== */

.wj-card-divider {
    border: 0;
    height: 1px;

    margin: 25px 0;

    background: #eee;
}

.wj-actions-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.ShariffHeadline,
.shariff .shariff-text {
    font-size: 0.75rem;
}

.ShariffHeadline {
    line-height: 1.4;
    margin-bottom: 8px;
    color: #777;
}

.wpulike {
    text-align: right;
    transform: scale(0.9);
    transform-origin: right bottom;
}

.wj-feed-actions .wpulike {
    margin: 0;
    padding: 0;
    align-self: flex-end;
}

/* ==========================================================================
   9. KOMMENTARE / EDIT INFO
   ========================================================================== */

.wj-comments-shell {
    display: block;
    margin-top: 20px;
}

.wj-comments-shell .comment-respond,
.wj-comments-shell .comments-title,
.wj-comments-shell .comment-list {
    max-width: 100%;
}

.wj-edited-note {
    margin-top: 30px;

    text-align: right;

    font-size: 0.8rem;
    font-style: italic;
    color: #888;
}

.wj-comments-shell .comments-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.wj-comments-shell .comment-meta .comment-author a {
    font-size: 1rem;
    font-weight: normal;
    color: #72664D;
    pointer-events: none;
    cursor: default;
    text-decoration: none;
}

.wj-comments-shell .comment-body .avatar {
    border: 0;
    box-shadow: none;
    padding: 0;
    background: transparent;
}
.wj-comments-shell .comment .avatar {
    top: 5px;
}

.wj-comments-shell .comment-reply-title {
   font-size: 1.25rem;
   font-weight: 600;
}

/* ==========================================================================
   10. ARCHIV / JOURNAL FEED
   ========================================================================== */

.wj-archive-shell {
    background: #ffffff;
    min-height: 100vh;
    padding-bottom: 60px;
}

.wj-archive-header {
    margin-bottom: 40px;

    padding: 44px 20px 46px;

    background: #ececec;
}

.wj-archive-header-inner {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.wj-archive-description {
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;

    text-align: center;

    font-size: 1.05rem;
    line-height: 1.7;
    color: #666;
}

.wj-archive-kicker {
    display: inline-block;

    margin-bottom: 12px;

    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;

    color: #8a7653;
}

.wj-archive-title {
    margin: 0 0 15px;

    font-size: 2.4rem;
    line-height: 1.2;

    color: var(--global-palette2);
}

.wj-archive-feed {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 20px;
}

.wj-feed-comment-count {
    text-align: right;
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 8px;
}

/* ==========================================================================
   11. FEED CARDS
   ========================================================================== */

.wj-feed-card {
    overflow: hidden;

    margin-bottom: 35px;

    background: #fff;

    border: 1px solid rgba(0,0,0,0.04);
    border-radius: 10px;

    box-shadow:
        0 1px 2px rgba(0,0,0,0.04),
        0 8px 30px rgba(0,0,0,0.05);
}

.wj-feed-image {
    position: relative;
}

.wj-feed-image img {
    width: 100%;
    height: 400px;

    display: block;

    object-fit: cover;
    object-position: center;
}

.wj-feed-image-fade {
    position: absolute;
    inset: auto 0 0 0;

    height: 80px;

    background: linear-gradient(
        to bottom,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,1) 100%
    );
}

.wj-feed-content {
    padding: 0 30px 30px;
}

.wj-feed-header {
    margin-top: 15px;
}

.wj-feed-meta {
    display: flex;
    align-items: center;
    gap: 14px;

    margin-bottom: 18px;
    padding-top: 18px;
}

.wj-feed-title {
    margin: 0 0 18px;

    font-size: 1.7rem;
    line-height: 1.25;
}

.wj-feed-title a {
    color: var(--global-palette2);
    text-decoration: none;
}

.wj-feed-title a:hover {
    color: var(--global-palette1);
}

.wj-feed-excerpt {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--global-palette4);
}

.wj-feed-footer {
    margin-top: 25px;
}

.wj-feed-readmore {
    font-size: 0.95rem;
    font-weight: 600;

    text-decoration: none;

    color: #8a7653;
}

.wj-feed-readmore:hover {
    color: #5f5038;
}

/* ==========================================================================
   12. RESPONSIVE
   ========================================================================== */

@media (max-width: 768px) {

    .wj-archive-title {
        font-size: 2rem;
    }

    .wj-feed-content {
        padding: 0 22px 24px;
    }

    .wj-feed-title {
        font-size: 1.45rem;
    }
}

/* ==========================================================================
   9. ZURÜCK ZUM JOURNAL
   ========================================================================== */

.wj-back-link {
    margin: 20px 0;
    text-align: right;
}

.wj-back-link a {
    color: var(--global-palette2);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: color 0.2s ease;
}

.wj-back-link a:hover {
    color: var(--global-palette1);
}