/**
 * Components Styles
 * Wiederverwendbare Komponenten (Glass, Entry, Widgets, Navigation, Comments)
 *
 * @package STApp_WP_Theme
 */

/* ==========================================================================
   Glass Block Style
   ========================================================================== */

.is-style-glass {
    background: rgba(255, 255, 255, 0.03) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

@media screen and (max-width: 768px) {
    .is-style-glass {
        padding: 3rem 2rem;
        border-radius: 20px;
    }
}

@media screen and (max-width: 480px) {
    .is-style-glass {
        padding: 2.5rem 1.5rem;
        border-radius: 16px;
    }
}

/* ==========================================================================
   Entry Components
   ========================================================================== */

.entry-header {
    margin-bottom: 2rem;
}

.entry-title {
    margin: 0 0 1rem;
    font-size: 2rem;
    line-height: 1.2;
}

.entry-title a {
    color: var(--color-secondary);
    text-decoration: none;
}

.entry-title a:hover {
    color: var(--color-primary);
}

.entry-meta {
    color: #666;
    font-size: 0.875rem;
}

.entry-meta > span {
    margin-right: 1rem;
}

.post-thumbnail {
    margin-bottom: 2rem;
}

.post-thumbnail img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.entry-content {
    line-height: 1.8;
}

.entry-content > * {
    margin-bottom: 1.5rem;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.entry-footer {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e5e5;
    font-size: 0.875rem;
}

.entry-footer > span {
    display: inline-block;
    margin-right: 1.5rem;
}

/* ==========================================================================
   Widgets
   ========================================================================== */

.widget-area {
    margin-top: 3rem;
}

.widget {
    margin-bottom: 3rem;
}

.widget-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.widget ul {
    list-style: none;
    padding: 0;
}

.widget li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #e5e5e5;
}

.widget li:last-child {
    border-bottom: none;
}

/* Footer Widgets */
.footer-widget-area .widget {
    margin-bottom: 2rem;
}

.footer-widget-area .widget-title {
    color: white;
}

.footer-widget-area a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-widget-area a:hover {
    color: white;
}

/* ==========================================================================
   Posts Navigation
   ========================================================================== */

.posts-navigation,
.post-navigation {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e5e5;
}

.nav-links {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.nav-previous,
.nav-next {
    flex: 1;
}

.nav-next {
    text-align: right;
}

/* ==========================================================================
   Comments
   ========================================================================== */

.comments-area {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e5e5;
}

.comment-list {
    list-style: none;
    padding: 0;
}

.comment {
    margin-bottom: 2rem;
}

.comment-body {
    padding: 1.5rem;
    background-color: #f9f9f9;
    border-radius: 8px;
}

.comment-author {
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.comment-meta {
    font-size: 0.875rem;
    color: #666;
    margin-bottom: 1rem;
}
