/* Google Optimalizált Bejegyzés Megjelenítő CSS */

/* Alapértelmezett betűtípusok */
.optimized-post-display {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    width: 100%;
    margin: 0;
    background: #fff;
}

/* ===== META INFORMÁCIÓK BLOKK ===== */

.post-meta-block {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px 30px;
    width: 100%;
    box-sizing: border-box;
}

.meta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 30px;
    justify-content: flex-start;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.meta-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.9;
    margin-right: 5px;
}

/* Dátum elem */
.date-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
}

.post-published-date,
.post-modified-date {
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
}

.post-modified-date {
    opacity: 0.9;
    font-size: 12px;
}

/* Olvasási idő elem */
.reading-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
}

.reading-time,
.word-count {
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 500;
    font-size: 13px;
}

/* Kategóriák elem */
.categories-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.categories-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.category-tag {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 4px 10px;
    border-radius: 15px;
    text-decoration: none;
    font-size: 11px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.category-tag:hover {
    background: rgba(255, 255, 255, 0.3);
    color: white;
    transform: translateY(-1px);
}

/* Címkék elem */
.tags-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.tag-item {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    padding: 3px 8px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 10px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.tag-item:hover {
    background: rgba(255, 255, 255, 0.25);
    color: white;
    transform: translateY(-1px);
}

/* ===== FŐ BEJEGYZÉS CÍM ===== */

.post-main-title {
    font-family: 'Merriweather', Georgia, serif;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.3;
    color: #1f2937;
    padding: 0;
    text-align: left;
}

/* ===== BEJEGYZÉS FEJLÉC (Eltávolítva alapértelmezetten) ===== */

.post-header {
    padding: 40px 30px 30px;
    border-bottom: 1px solid #e5e7eb;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    display: none; /* Alapértelmezetten rejtett */
}

.post-header.show {
    display: block;
}

.post-title {
    font-family: 'Merriweather', Georgia, serif;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
    color: #1f2937;
    margin: 0 0 20px 0;
    text-align: center;
}

.post-excerpt {
    font-size: 18px;
    line-height: 1.6;
    color: #4b5563;
    text-align: center;
    font-style: italic;
    margin: 0;
    padding: 0 20px;
}

/* ===== BEJEGYZÉS TARTALOM ===== */

.post-content-wrapper {
    padding: 30px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #374151;
    width: 100%;
    box-sizing: border-box;
}

/* Tartalom tipográfia */
.post-content-wrapper h2 {
    font-family: 'Merriweather', Georgia, serif;
    font-size: 28px;
    font-weight: 700;
    color: #1f2937;
    margin: 40px 0 20px 0;
    line-height: 1.3;
}

.post-content-wrapper h3 {
    font-family: 'Merriweather', Georgia, serif;
    font-size: 24px;
    font-weight: 600;
    color: #1f2937;
    margin: 35px 0 18px 0;
    line-height: 1.3;
}

.post-content-wrapper h4 {
    font-size: 20px;
    font-weight: 600;
    color: #1f2937;
    margin: 30px 0 15px 0;
    line-height: 1.4;
}

.post-content-wrapper h5,
.post-content-wrapper h6 {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    margin: 25px 0 12px 0;
    line-height: 1.4;
}

.post-content-wrapper p {
    margin: 0 0 20px 0;
    text-align: justify;
}

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

.post-content-wrapper li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.post-content-wrapper blockquote {
    background: #f9fafb;
    border-left: 4px solid #667eea;
    margin: 30px 0;
    padding: 20px 25px;
    font-style: italic;
    font-size: 18px;
    color: #4b5563;
    border-radius: 0 8px 8px 0;
}

.post-content-wrapper a {
    color: #667eea;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.post-content-wrapper a:hover {
    color: #764ba2;
}

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

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

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

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

.post-content-wrapper table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

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

.post-content-wrapper th {
    background: #f8fafc;
    font-weight: 600;
    color: #1f2937;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.5px;
}

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

/* ===== KÖZÖSSÉGI MEGOSZTÁS ===== */

.social-share-block {
    padding: 30px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-top: 1px solid #e5e7eb;
}

.share-title {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 20px 0;
    text-align: center;
}

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

.share-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    min-width: 100px;
}

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

.share-button.facebook:hover {
    background: #166fe5;
    color: white;
    transform: translateY(-2px);
}

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

.share-button.twitter:hover {
    background: #1991db;
    color: white;
    transform: translateY(-2px);
}

.share-button.linkedin {
    background: #0a66c2;
    color: white;
}

.share-button.linkedin:hover {
    background: #0958a5;
    color: white;
    transform: translateY(-2px);
}

.share-button.email {
    background: #6b7280;
    color: white;
}

.share-button.email:hover {
    background: #4b5563;
    color: white;
    transform: translateY(-2px);
}

/* ===== RESZPONZÍV DESIGN ===== */

/* Tablet nézet */
@media (max-width: 1024px) {
    .post-meta-block {
        padding: 20px 25px;
    }
    
    .meta-row {
        gap: 25px;
    }
    
    .post-main-title {
        font-size: 32px;
        margin: 25px 25px 0 25px;
    }
    
    .post-content-wrapper {
        padding: 25px;
        font-size: 15px;
    }
    
    .post-content-wrapper h2 {
        font-size: 26px;
    }
    
    .post-content-wrapper h3 {
        font-size: 22px;
    }
}

/* Mobil nézet */
@media (max-width: 768px) {
    .post-meta-block {
        padding: 15px 20px;
    }
    
    .meta-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .meta-item {
        width: 100%;
    }
    
    .categories-list,
    .tags-list {
        gap: 5px;
    }
    
    .post-main-title {
        font-size: 28px;
        margin: 20px 20px 0 20px;
    }
    
    .post-content-wrapper {
        padding: 20px;
        font-size: 15px;
    }
    
    .post-content-wrapper h2 {
        font-size: 24px;
        margin: 35px 0 18px 0;
    }
    
    .post-content-wrapper h3 {
        font-size: 20px;
        margin: 30px 0 15px 0;
    }
    
    .post-content-wrapper h4 {
        font-size: 18px;
    }
    
    .post-content-wrapper blockquote {
        font-size: 16px;
        padding: 15px 20px;
        margin: 25px 0;
    }
    
    .social-share-buttons {
        gap: 10px;
    }
    
    .share-button {
        padding: 8px 16px;
        font-size: 13px;
        min-width: 80px;
    }
}

/* Kis mobil nézet */
@media (max-width: 480px) {
    .post-meta-block {
        padding: 12px 15px;
    }
    
    .meta-row {
        gap: 12px;
    }
    
    .meta-label {
        font-size: 11px;
    }
    
    .post-published-date,
    .post-modified-date,
    .reading-time,
    .word-count {
        font-size: 12px;
    }
    
    .category-tag {
        font-size: 10px;
        padding: 3px 8px;
    }
    
    .tag-item {
        font-size: 9px;
        padding: 2px 6px;
    }
    
    .post-main-title {
        font-size: 24px;
        margin: 15px 15px 0 15px;
        line-height: 1.2;
    }
    
    .post-content-wrapper {
        padding: 15px;
        font-size: 14px;
        text-align: left;
    }
    
    .post-content-wrapper h2 {
        font-size: 22px;
    }
    
    .post-content-wrapper h3 {
        font-size: 18px;
    }
    
    .post-content-wrapper ul,
    .post-content-wrapper ol {
        padding-left: 20px;
    }
    
    .post-content-wrapper blockquote {
        font-size: 15px;
        padding: 12px 15px;
        margin: 20px 0;
    }
    
    .social-share-block {
        padding: 20px 15px;
    }
    
    .social-share-buttons {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }
    
    .share-button {
        width: 100%;
        max-width: 200px;
    }

    
    .post-content-wrapper {
        padding: 35px 25px;
        font-size: 15px;
    }
    
    .post-content-wrapper h2 {
        font-size: 26px;
    }
    
    .post-content-wrapper h3 {
        font-size: 22px;
    }
}

/* Mobil nézet */
@media (max-width: 768px) {
    .optimized-post-display {
        margin: 15px;
        border-radius: 10px;
    }
    
    .post-meta-block {
        padding: 20px;
    }
    
    .meta-group {
        gap: 10px;
        margin-bottom: 15px;
    }
    
    .reading-time-group {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }
    
    .categories-list,
    .tags-list {
        gap: 6px;
    }
    
    .post-header {
        padding: 30px 20px 20px;
    }
    
    .post-title {
        font-size: 28px;
        margin-bottom: 15px;
    }
    
    .post-excerpt {
        font-size: 16px;
        padding: 0 10px;
    }
    
    .post-content-wrapper {
        padding: 30px 20px;
        font-size: 15px;
    }
    
    .post-content-wrapper h2 {
        font-size: 24px;
        margin: 35px 0 18px 0;
    }
    
    .post-content-wrapper h3 {
        font-size: 20px;
        margin: 30px 0 15px 0;
    }
    
    .post-content-wrapper h4 {
        font-size: 18px;
    }
    
    .post-content-wrapper blockquote {
        font-size: 16px;
        padding: 15px 20px;
        margin: 25px 0;
    }
    
    .social-share-buttons {
        gap: 10px;
    }
    
    .share-button {
        padding: 8px 16px;
        font-size: 13px;
        min-width: 80px;
    }
}

/* Kis mobil nézet */
@media (max-width: 480px) {
    .optimized-post-display {
        margin: 10px;
        border-radius: 8px;
    }
    
    .post-meta-block {
        padding: 15px;
    }
    
    .author-info {
        gap: 8px;
    }
    
    .author-avatar {
        width: 32px;
        height: 32px;
    }
    
    .meta-label {
        font-size: 11px;
    }
    
    .categories-list,
    .tags-list {
        justify-content: flex-start;
    }
    
    .post-header {
        padding: 25px 15px 15px;
    }
    
    .post-title {
        font-size: 24px;
        line-height: 1.3;
    }
    
    .post-excerpt {
        font-size: 15px;
        padding: 0 5px;
    }
    
    .post-content-wrapper {
        padding: 25px 15px;
        font-size: 14px;
        text-align: left;
    }
    
    .post-content-wrapper h2 {
        font-size: 22px;
    }
    
    .post-content-wrapper h3 {
        font-size: 18px;
    }
    
    .post-content-wrapper ul,
    .post-content-wrapper ol {
        padding-left: 20px;
    }
    
    .post-content-wrapper blockquote {
        font-size: 15px;
        padding: 12px 15px;
        margin: 20px 0;
    }
    
    .social-share-block {
        padding: 20px 15px;
    }
    
    .social-share-buttons {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }
    
    .share-button {
        width: 100%;
        max-width: 200px;
    }
}

/* ===== SPECIÁLIS MEGJELENÍTÉSEK ===== */

/* Sötét mód támogatás */
@media (prefers-color-scheme: dark) {
    .optimized-post-display {
        background: #1f2937;
        color: #f9fafb;
    }
    
    .post-main-title {
        color: #f9fafb;
    }
    
    .post-header {
        background: linear-gradient(180deg, #374151 0%, #1f2937 100%);
        border-bottom-color: #4b5563;
    }
    
    .post-title {
        color: #f9fafb;
    }
    
    .post-excerpt {
        color: #d1d5db;
    }
    
    .post-content-wrapper {
        color: #e5e7eb;
    }
    
    .post-content-wrapper h2,
    .post-content-wrapper h3,
    .post-content-wrapper h4,
    .post-content-wrapper h5,
    .post-content-wrapper h6 {
        color: #f9fafb;
    }
    
    .post-content-wrapper blockquote {
        background: #374151;
        color: #d1d5db;
        border-left-color: #667eea;
    }
    
    .post-content-wrapper code {
        background: #374151;
        color: #fbbf24;
    }
    
    .post-content-wrapper table {
        background: #374151;
    }
    
    .post-content-wrapper th {
        background: #4b5563;
        color: #f9fafb;
    }
    
    .post-content-wrapper td {
        border-bottom-color: #4b5563;
    }
    
    .post-content-wrapper tr:hover {
        background: #4b5563;
    }
    
    .social-share-block {
        background: linear-gradient(135deg, #374151 0%, #4b5563 100%);
        border-top-color: #4b5563;
    }
    
    .share-title {
        color: #f9fafb;
    }
}

/* Mozgás csökkentése */
@media (prefers-reduced-motion: reduce) {
    .category-tag,
    .tag-item,
    .share-button,
    .author-name {
        transition: none;
    }
    
    .category-tag:hover,
    .tag-item:hover,
    .share-button:hover {
        transform: none;
    }
}

/* Printelhető nézet */
@media print {
    .optimized-post-display {
        box-shadow: none;
        border: 1px solid #000;
        margin: 0;
        border-radius: 0;
    }
    
    .post-meta-block {
        background: #f5f5f5 !important;
        color: #000 !important;
        border-radius: 0;
    }
    
    .category-tag,
    .tag-item {
        background: #e5e5e5 !important;
        color: #000 !important;
        border: 1px solid #ccc;
    }
    
    .social-share-block {
        display: none;
    }
    
    .post-content-wrapper a {
        color: #000;
        text-decoration: underline;
    }
    
    .post-content-wrapper img {
        box-shadow: none;
        border: 1px solid #ccc;
    }
}