/* Modern Cikkoldal CSS - Magazin stílus */
.post-page-container {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
    padding: 2rem 0;
}

.post-page-container .container {
    max-width: 1400px;
    overflow: hidden;
}

/* Régi hero section CSS eltávolítva - már nem használt */

/* Fő tartalom layout - teljes szélesség, központosítva, sidebar nélkül */
.post-content-layout {
    display: block;
    max-width: 100%;
}

/* Fő tartalom */
.post-main-content {
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
}

.post-main-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2, #f093fb);
}

.post-main-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.post-main-content .post-excerpt {
    font-size: 1.25rem;
    color: #6c757d;
    margin-bottom: 2rem;
    line-height: 1.6;
    font-weight: 400;
}

.post-main-content .featured-image {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 2rem;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.post-main-content .featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.post-main-content .photo-credit {
    text-align: right;
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: #6c757d;
    font-style: italic;
}

.post-main-content .post-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #2c3e50;
}

.post-main-content .post-content h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #34495e;
    margin: 2rem 0 1rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e9ecef;
}

.post-main-content .post-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #34495e;
    margin: 1.5rem 0 1rem 0;
}

.post-main-content .post-content p {
    margin-bottom: 1.5rem;
}

.post-main-content .post-content img {
    max-width: 100% !important;
    width: auto !important;
    height: auto !important;
    border-radius: 8px;
    margin: 1.5rem 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    display: block;
}

.post-main-content .post-content blockquote {
    border-left: 4px solid #667eea;
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: #6c757d;
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 0 8px 8px 0;
}

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

.post-main-content .post-content li {
    margin-bottom: 0.5rem;
}

/* Oldalsáv - eltávolítva, már nem használt */

.sidebar-widget {
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    padding: 1.5rem;
    margin-bottom: 2rem;
    border-top: 4px solid #667eea;
}

.sidebar-widget h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e9ecef;
}

/* Kapcsolódó cikkek */
.related-posts .post-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e9ecef;
}

.related-posts .post-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.related-posts .post-thumbnail {
    width: 80px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.related-posts .post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-posts .post-info {
    flex: 1;
}

.related-posts .post-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.25rem;
    line-height: 1.4;
    text-decoration: none;
    display: block;
}

.related-posts .post-title:hover {
    color: #667eea;
}

.related-posts .post-date {
    font-size: 0.85rem;
    color: #6c757d;
}

/* Kategóriák */
.categories-widget .category-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e9ecef;
}

.categories-widget .category-item:last-child {
    border-bottom: none;
}

.categories-widget .category-name {
    color: #2c3e50;
    text-decoration: none;
    font-weight: 500;
}

.categories-widget .category-name:hover {
    color: #667eea;
}

.categories-widget .category-count {
    background: #667eea;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Reklám placeholder */
.ad-widget {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px dashed #dee2e6;
    text-align: center;
    padding: 2rem 1rem;
    color: #6c757d;
}

.ad-widget i {
    font-size: 2rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.ad-widget h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #495057;
}

.ad-widget p {
    font-size: 0.9rem;
    margin: 0;
}

/* Breadcrumb */
.breadcrumb-nav {
    background: white;
    border-radius: 12px;
    padding: 1rem 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.breadcrumb-nav .breadcrumb {
    margin: 0;
    padding: 0;
}

.breadcrumb-nav .breadcrumb-item a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

.breadcrumb-nav .breadcrumb-item a:hover {
    text-decoration: underline;
}

.breadcrumb-nav .breadcrumb-item.active {
    color: #6c757d;
    font-weight: 600;
}

/* Reszponzív design - sidebar nélküli verzió */
@media (max-width: 992px) {
    .post-content-layout {
        padding: 0;
    }
    
    .post-main-content h1 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .post-page-container {
        padding: 1rem 0;
    }
    
    .post-main-content {
        padding: 1.5rem;
    }
    
    .post-main-content h1 {
        font-size: 1.8rem;
    }
    
    .sidebar-widget {
        padding: 1rem;
    }
}

@media (max-width: 576px) {
    .post-main-content {
        padding: 1rem;
    }
    
    .post-main-content h1 {
        font-size: 1.6rem;
    }
    
    .breadcrumb-nav {
        padding: 0.75rem 1rem;
    }
}

/* Általános kép szabályok */
.post-page-container img,
.post-main-content img,
.post-sidebar img {
    max-width: 100% !important;
    height: auto !important;
    width: auto !important;
}

/* Animációk */
.post-main-content {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hover effektek */
.post-main-content:hover,
.sidebar-widget:hover {
    transform: translateY(-2px);
    transition: transform 0.3s ease;
}

.related-posts .post-item:hover {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 0.75rem;
    margin: 0 -0.75rem 0.75rem -0.75rem;
    transition: all 0.3s ease;
}

/* Tag-ek */
.post-tags {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e9ecef;
}

.post-tags .tag {
    display: inline-block;
    background: #667eea;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    margin: 0.25rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.post-tags .tag:hover {
    background: #5a6fd8;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

/* Megosztás gombok */
.post-sharing {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e9ecef;
}

.share-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    color: white;
    font-weight: 500;
    margin: 0.25rem;
    transition: all 0.3s ease;
}

.share-button.facebook {
    background: #1877f2;
}

.share-button.twitter {
    background: #1da1f2;
}

.share-button.linkedin {
    background: #0077b5;
}

.share-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    color: white;
}

/* Keretes kiemelt tartalom */
.content-highlight {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px solid #667eea;
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
    position: relative;
    overflow: hidden;
}

.content-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2, #f093fb);
}

.content-highlight.info {
    border-color: #17a2b8;
    background: linear-gradient(135deg, #f0f8ff 0%, #e6f3ff 100%);
}

.content-highlight.info::before {
    background: linear-gradient(90deg, #17a2b8, #20c997, #28a745);
}

.content-highlight.warning {
    border-color: #ffc107;
    background: linear-gradient(135deg, #fffbf0 0%, #fff3cd 100%);
}

.content-highlight.warning::before {
    background: linear-gradient(90deg, #ffc107, #fd7e14, #e83e8c);
}

.content-highlight.success {
    border-color: #28a745;
    background: linear-gradient(135deg, #f0fff4 0%, #d4edda 100%);
}

.content-highlight.success::before {
    background: linear-gradient(90deg, #28a745, #20c997, #17a2b8);
}

.content-highlight.danger {
    border-color: #dc3545;
    background: linear-gradient(135deg, #fff5f5 0%, #f8d7da 100%);
}

.content-highlight.danger::before {
    background: linear-gradient(90deg, #dc3545, #e83e8c, #fd7e14);
}

.content-highlight.quote {
    border-color: #6c757d;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    font-style: italic;
    position: relative;
}

.content-highlight.quote::before {
    background: linear-gradient(90deg, #6c757d, #495057, #343a40);
}

.content-highlight.quote::after {
    content: '"';
    position: absolute;
    top: -10px;
    right: 20px;
    font-size: 4rem;
    color: #6c757d;
    opacity: 0.3;
    font-family: serif;
}

.content-highlight .highlight-title {
    font-weight: 600;
    font-size: 1.1rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.content-highlight .highlight-title i {
    font-size: 1.2rem;
}

.content-highlight.info .highlight-title {
    color: #0c5460;
}

.content-highlight.warning .highlight-title {
    color: #856404;
}

.content-highlight.success .highlight-title {
    color: #155724;
}

.content-highlight.danger .highlight-title {
    color: #721c24;
}

.content-highlight.quote .highlight-title {
    color: #495057;
}

.content-highlight .highlight-content {
    color: #2c3e50;
    line-height: 1.6;
}

.content-highlight .highlight-content p:last-child {
    margin-bottom: 0;
}

/* Reszponzív design a highlight boxokhoz */
@media (max-width: 768px) {
    .content-highlight {
        padding: 1rem;
        margin: 1.5rem 0;
    }
    
    .content-highlight .highlight-title {
        font-size: 1rem;
    }
}

/* Hover effektek */
.content-highlight:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}
