/* Egyszerű Post Display CSS */

/* Fő konténer */
.simple-post-display {
    max-width: 1200px;
    margin: 40px auto;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 2px solid #e5e7eb;
    overflow: hidden;
    transition: all 0.3s ease;
}

.author {
    display: none;
}

.simple-post-display:hover {
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.15);
    border-color: #dc2626;
}

/* Fő cím */
.post-title {
    font-size: 32px;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
    padding: 30px 30px 20px;
    line-height: 1.3;
    border-bottom: 3px solid #dc2626;
}

/* Meta információk */
.post-meta {
    background: #f8f9fa;
    padding: 20px 30px;
    border-bottom: 1px solid #e5e7eb;
}

.meta-item {
    margin-bottom: 12px;
    font-size: 14px;
    color: #6b7280;
    line-height: 1.5;
}

.meta-item:last-child {
    margin-bottom: 0;
}

.meta-item strong {
    color: #374151;
    font-weight: 600;
}

.meta-item a {
    color: #dc2626;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.meta-item a:hover {
    color: #b91c1c;
}

/* Szerző információk */
.author {
    display: inline;
}

/* Olvasási idő és szószám */
.reading-time,
.word-count {
    display: inline-block;
    margin-right: 20px;
}

/* Tartalom */
.post-content {
    padding: 30px;
    font-size: 16px;
    line-height: 1.7;
    color: #374151;
}

/* Tipográfia */
.post-content h2 {
    font-size: 26px;
    font-weight: 700;
    color: #1f2937;
    margin: 30px 0 20px 0;
    padding-left: 15px;
    border-left: 4px solid #dc2626;
}

.post-content h3 {
    font-size: 22px;
    font-weight: 600;
    color: #374151;
    margin: 25px 0 15px 0;
}

.post-content h4 {
    font-size: 20px;
    font-weight: 600;
    color: #4b5563;
    margin: 20px 0 12px 0;
}

.post-content h5,
.post-content h6 {
    font-size: 18px;
    font-weight: 600;
    color: #6b7280;
    margin: 18px 0 10px 0;
}

.post-content p {
    margin: 0 0 20px 0;
}

.post-content ul,
.post-content ol {
    margin: 20px 0;
    padding-left: 30px;
}

.post-content li {
    margin-bottom: 8px;
}

.post-content blockquote {
    background: #fef2f2;
    border-left: 4px solid #dc2626;
    margin: 25px 0;
    padding: 20px 25px;
    font-style: italic;
    color: #374151;
    border-radius: 0 8px 8px 0;
}

.post-content a {
    color: #dc2626;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.post-content a:hover {
    color: #b91c1c;
    text-decoration: underline;
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.post-content code {
    background: #f3f4f6;
    color: #dc2626;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
}

.post-content pre {
    background: #1f2937;
    color: #f9fafb;
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 20px 0;
    font-family: 'Courier New', monospace;
    font-size: 14px;
}

.post-content pre code {
    background: none;
    color: inherit;
    padding: 0;
}

.post-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.post-content th,
.post-content td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}

.post-content th {
    background: #f9fafb;
    font-weight: 600;
    color: #1f2937;
}

.post-content tr:hover {
    background: #f9fafb;
}

/* Közösségi megosztás */
.social-share {
    padding: 25px 30px;
    background: #f8f9fa;
    border-top: 1px solid #e5e7eb;
    text-align: center;
}

.social-share h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 20px 0;
}

.social-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.social-btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    color: white;
}

.social-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.social-btn.facebook {
    background: #1877f2;
}

.social-btn.facebook:hover {
    background: #166fe5;
}

.social-btn.twitter {
    background: #1da1f2;
}

.social-btn.twitter:hover {
    background: #1991db;
}

.social-btn.linkedin {
    background: #0a66c2;
}

.social-btn.linkedin:hover {
    background: #0958a5;
}

.social-btn.email {
    background: #6b7280;
}

.social-btn.email:hover {
    background: #4b5563;
}

/* Tablet nézet */
@media (max-width: 1024px) {
    .simple-post-display {
        margin: 30px 20px;
    }
    
    .post-title {
        font-size: 28px;
        padding: 25px 25px 18px;
    }
    
    .post-meta {
        padding: 18px 25px;
    }
    
    .post-content {
        padding: 25px;
        font-size: 15px;
    }
    
    .post-content h2 {
        font-size: 24px;
    }
    
    .post-content h3 {
        font-size: 20px;
    }
    
    .social-share {
        padding: 20px 25px;
    }
}

/* Mobil nézet */
@media (max-width: 768px) {
    .simple-post-display {
        margin: 20px 15px;
        border-radius: 10px;
    }
    
    .post-title {
        font-size: 26px;
        padding: 20px 20px 15px;
        line-height: 1.2;
    }
    
    .post-meta {
        padding: 15px 20px;
    }
    
    .meta-item {
        font-size: 13px;
        margin-bottom: 10px;
    }
    
    .reading-time,
    .word-count {
        display: block;
        margin-right: 0;
        margin-bottom: 5px;
    }
    
    .post-content {
        padding: 20px;
        font-size: 14px;
    }
    
    .post-content h2 {
        font-size: 22px;
        padding-left: 12px;
    }
    
    .post-content h3 {
        font-size: 19px;
    }
    
    .post-content h4 {
        font-size: 17px;
    }
    
    .post-content ul,
    .post-content ol {
        padding-left: 25px;
    }
    
    .post-content blockquote {
        padding: 15px 20px;
        margin: 20px 0;
        font-size: 15px;
    }
    
    .social-share {
        padding: 18px 20px;
    }
    
    .social-share h3 {
        font-size: 16px;
        margin-bottom: 15px;
    }
    
    .social-buttons {
        gap: 10px;
    }
    
    .social-btn {
        padding: 8px 16px;
        font-size: 13px;
    }
}

/* Kis mobil nézet */
@media (max-width: 480px) {
    .simple-post-display {
        margin: 15px 10px;
    }
    
    .post-title {
        font-size: 24px;
        padding: 18px 18px 12px;
    }
    
    .post-meta {
        padding: 12px 18px;
    }
    
    .meta-item {
        font-size: 12px;
    }
    
    .post-content {
        padding: 18px;
        font-size: 14px;
    }
    
    .post-content h2 {
        font-size: 20px;
    }
    
    .post-content h3 {
        font-size: 18px;
    }
    
    .post-content h4 {
        font-size: 16px;
    }
    
    .social-share {
        padding: 15px 18px;
    }
    
    .social-buttons {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }
    
    .social-btn {
        width: 100%;
        max-width: 200px;
        text-align: center;
    }
}

/* Extra kis mobil */
@media (max-width: 360px) {
    .post-title {
        font-size: 22px;
    }
    
    .post-content {
        font-size: 13px;
    }
    
    .post-content h2 {
        font-size: 19px;
    }
    
    .post-content h3 {
        font-size: 17px;
    }
}