/* ========================================================================
   SMG SINGLE POST TEMPLATE
   Standard-Layout für Einzelansicht von Posts (Fallback für Non-Elementor)
   ======================================================================== */

.smg-single-post {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

/* FEATURED IMAGE
   ======================================================================== */

.smg-featured-image {
    width: 100%;
    margin-bottom: 3rem;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.smg-featured-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.smg-featured-image:hover img {
    transform: scale(1.02);
}

/* POST HEADER
   ======================================================================== */

.entry-header {
    margin-bottom: 3rem;
    text-align: center;
}

.smg-post-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    font-size: 0.95rem;
    color: #64748b;
    flex-wrap: wrap;
}

.smg-post-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #f8fafc;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
}

.smg-post-meta i {
    color: var(--primary-red);
}

.entry-title {
    font-family: var(--font-secondary);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    color: #1e293b;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.smg-post-summary {
    font-size: 1.2rem;
    color: #64748b;
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto;
    font-weight: 500;
}

/* POST CONTENT
   ======================================================================== */

.entry-content {
    margin-bottom: 3rem;
}

.entry-content .container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.entry-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #374151;
    margin-bottom: 1.5rem;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
    color: #1e293b;
    font-family: var(--font-secondary);
    font-weight: 700;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.entry-content h2 {
    font-size: 1.8rem;
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 0.5rem;
}

.entry-content h3 {
    font-size: 1.5rem;
}

.entry-content h4 {
    font-size: 1.3rem;
}

.entry-content blockquote {
    background: #f8fafc;
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    font-style: italic;
    font-size: 1.1rem;
    border-radius: 8px;
}

.entry-content ul,
.entry-content ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.entry-content li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

.page-links {
    margin-top: 2rem;
    text-align: center;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 8px;
}

/* POST FOOTER
   ======================================================================== */

.entry-footer {
    border-top: 1px solid #e2e8f0;
    padding-top: 2rem;
}

.entry-footer .container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* TAGS
   ======================================================================== */

.smg-post-tags {
    margin-bottom: 2rem;
}

.smg-post-tags h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 1rem;
}

.smg-tag {
    display: inline-block;
    background: #f1f5f9;
    color: #475569;
    padding: 0.375rem 0.75rem;
    border-radius: 12px;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.smg-tag:hover {
    background: var(--primary-red);
    color: white;
    text-decoration: none;
}

/* POST NAVIGATION
   ======================================================================== */

.smg-post-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.smg-nav-previous,
.smg-nav-next {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.smg-nav-previous:hover,
.smg-nav-next:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.smg-nav-previous a,
.smg-nav-next a {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    text-decoration: none;
    color: #374151;
    transition: color 0.3s ease;
}

.smg-nav-previous a:hover,
.smg-nav-next a:hover {
    color: var(--primary-red);
}

.smg-nav-previous a {
    text-align: left;
}

.smg-nav-next a {
    text-align: right;
    flex-direction: row-reverse;
}

.smg-nav-previous span,
.smg-nav-next span {
    font-weight: 600;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.smg-nav-previous i,
.smg-nav-next i {
    font-size: 1.2rem;
    color: var(--primary-red);
    flex-shrink: 0;
}

/* RESPONSIVE DESIGN
   ======================================================================== */

@media (max-width: 768px) {
    .smg-single-post {
        padding: 1rem 0;
    }
    
    .entry-header {
        text-align: left;
        margin-bottom: 2rem;
    }
    
    .smg-post-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .entry-content .container,
    .entry-footer .container {
        padding: 0 1rem;
    }
    
    .entry-content p {
        font-size: 1rem;
    }
    
    .smg-post-navigation {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .smg-nav-previous a,
    .smg-nav-next a {
        padding: 1rem;
        font-size: 0.9rem;
    }
    
    .smg-featured-image {
        margin-bottom: 2rem;
        border-radius: 8px;
    }
}

@media (max-width: 480px) {
    .entry-title {
        font-size: 1.5rem;
    }
    
    .smg-post-summary {
        font-size: 1rem;
    }
    
    .entry-content h2 {
        font-size: 1.5rem;
    }
    
    .entry-content h3 {
        font-size: 1.3rem;
    }
    
    .entry-content blockquote {
        padding: 1rem;
        margin: 1rem 0;
    }
    
    .smg-nav-previous a,
    .smg-nav-next a {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
} 