/**
 * assets/css/profile/post_cards.css
 * 
 * DROPX PRIME SYSTEM - POSZTKÁRTYA, MÉDIA ÉS TIPOGRÁFIA MODUL (DRY)
 * 
 * Használja: Hírfolyam (home.php), Csoportok (group_view.php).
 * 
 * JAVÍTÁSOK (V13.0 - SPECIFIKUS REJTÉS-VÉDELEM & TÖKÉLETES MARKDOWN TIPOGRÁFIA):
 * - Javítva: A .post-edit-container.hidden-box mostantól megbízhatóan rejtett.
 * - 16:9-es képarányú Cinema YouTube Facade és középre igazított Play gomb.
 * - Teljes Markdown tipográfia: .cyber-quote, .cyber-code-pre, .cyber-inline-code, .cyber-spoiler.
 * - 3 soros "Tovább olvasom..." és Infinite Scroll animáció.
 * - Szigorúan 0 db szabály.
 */

/* =========================================================================
   0. GLOBÁLIS ÉS SPECIFIKUS REJTÉSI SZABÁLYOK
   ========================================================================= */
.hidden-box,
.post-edit-container.hidden-box,
.post-comments-section.hidden-box,
.post-body-container.hidden-box {
    display: none;
}

/* =========================================================================
   1. POSZT ALAPKÁRTYA ÉS JELVÉNYEK
   ========================================================================= */
.post-card {
    width: 100%;
    background: var(--color-glass-main, rgba(24, 20, 18, 0.85));
    border: 1px solid var(--color-border-subtle, rgba(255, 255, 255, 0.08));
    border-left: 3px solid var(--color-silver, #c5bdbc);
    border-radius: 8px;
    padding: 16px 18px;
    margin-bottom: 18px;
    position: relative;
    backdrop-filter: blur(14px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    box-sizing: border-box;
    transition: border-color 0.25s, box-shadow 0.25s;
}

.post-card.pinned-post {
    border-left-color: var(--color-gold, #e59e00);
    box-shadow: 0 0 15px var(--color-gold-glow, rgba(229, 158, 0, 0.5));
}

.post-card.is-sponsored {
    border: 1px solid rgba(229, 158, 0, 0.7);
    background: linear-gradient(180deg, rgba(38, 32, 18, 0.9) 0%, rgba(20, 22, 28, 0.92) 100%);
    box-shadow: 0 0 20px rgba(229, 158, 0, 0.28);
}

.post-card.is-group-post {
    border-left-color: #3b82f6;
}

.post-pinned-tag {
    position: absolute;
    top: 0; 
    right: 15px;
    background: var(--color-gold, #e59e00);
    color: #000000;
    font-family: 'Chakra Petch', sans-serif;
    font-weight: 700;
    font-size: 0.72rem;
    text-transform: uppercase;
    padding: 3px 8px;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
}

.sponsored-post-badge-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(229, 158, 0, 0.22);
    border: 1px solid rgba(229, 158, 0, 0.6);
    color: var(--color-gold, #e59e00);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.group-post-source-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    font-size: 0.82rem;
    padding: 3px 8px;
    border-radius: 4px;
    margin-bottom: 10px;
}

.group-source-link {
    color: var(--color-gold, #e59e00);
    text-decoration: none;
    font-weight: 700;
}

.group-source-link:hover {
    text-decoration: underline;
}

/* =========================================================================
   2. POSZT FEJLÉC ÉS MŰVELETI MENÜ
   ========================================================================= */
.post-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.post-author-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.post-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--color-border-subtle, rgba(255, 255, 255, 0.08));
    flex-shrink: 0;
    cursor: pointer;
}

.post-author-text {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.post-author-name {
    display: flex;
    align-items: center;
    gap: 6px;
}

.author-link,
.author-link-btn,
.shared-author-link-btn,
.comment-author-name-btn {
    background: none;
    border: none;
    padding: 0;
    color: var(--text-light, #ffffff);
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    cursor: pointer;
    text-align: left;
    text-decoration: none;
    transition: color 0.2s;
}

.author-link:hover,
.author-link-btn:hover,
.shared-author-link-btn:hover,
.comment-author-name-btn:hover { 
    color: var(--color-gold, #e59e00); 
}

.author-link.highlight-gold {
    color: var(--color-gold, #e59e00);
}

.donor-star {
    color: var(--color-gold, #e59e00);
    display: inline-flex;
    align-items: center;
}

.post-meta-sub {
    font-size: 0.82rem;
    color: var(--text-muted, #aba29a);
    margin-top: 2px;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* 3 PÖTTYÖS MŰVELETI MENÜ */
.post-options-dropdown-container {
    position: relative;
}

.post-options-trigger-btn {
    background: transparent;
    border: none;
    color: var(--text-muted, #aba29a);
    cursor: pointer;
    padding: 4px 6px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s, background 0.2s;
}

.post-options-trigger-btn:hover { 
    color: var(--color-gold, #e59e00);
    background: rgba(229, 158, 0, 0.12);
}

.post-options-menu {
    position: absolute;
    top: 100%; 
    right: 0;
    background: rgba(18, 15, 12, 0.98);
    backdrop-filter: blur(14px);
    border: 1px solid var(--color-border-gold, rgba(229, 158, 0, 0.45));
    width: 175px;
    z-index: 200;
    display: none;
    flex-direction: column;
    border-radius: 6px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.7);
    margin-top: 4px;
    overflow: hidden;
}

.post-options-menu.active { 
    display: flex; 
}

.post-opt-item {
    background: transparent;
    border: none;
    color: var(--text-light, #ffffff);
    text-align: left;
    padding: 10px 14px;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    font-size: 0.92rem;
    cursor: pointer;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s, color 0.2s;
}

.post-opt-item:hover { 
    background: rgba(229, 158, 0, 0.15);
    color: var(--color-gold, #e59e00); 
}

/* =========================================================================
   3. POSZT TARTALOM ÉS 3 SOROS SZÖVEGLEVÁGÁS (READ MORE)
   ========================================================================= */
.post-body-container {
    margin-top: 8px;
}

.post-text-content {
    position: relative;
    margin-bottom: 8px;
}

.post-body {
    color: var(--text-light, #ffffff);
    font-size: 1.08rem;
    line-height: 1.5;
    word-wrap: break-word;
    position: relative;
    transition: max-height 0.3s ease;
}

.post-body.post-body-clamped {
    max-height: 85px;
    overflow: hidden;
}

.post-body.post-body-clamped::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 35px;
    background: linear-gradient(180deg, transparent 0%, rgba(24, 20, 18, 0.98) 100%);
    pointer-events: none;
}

.post-read-more-btn {
    background: transparent;
    border: none;
    color: var(--color-gold, #e59e00);
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 0;
    margin-top: 4px;
    margin-bottom: 6px;
    transition: color 0.2s;
}

.post-read-more-btn:hover {
    color: #ffb81c;
    text-decoration: underline;
}

/* =========================================================================
   4. MARKDOWN TIPOGRÁFIA POSZTOKBAN
   ========================================================================= */
.post-body .cyber-quote {
    margin: 8px 0;
    padding: 6px 14px;
    background: rgba(229, 158, 0, 0.08);
    border-left: 3px solid var(--color-gold, #e59e00);
    border-radius: 0 4px 4px 0;
    color: var(--color-silver, #c5bdbc);
    font-style: italic;
    display: block;
}

.post-body .cyber-code-pre {
    background: #080a0e;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    padding: 10px 14px;
    margin: 8px 0;
    overflow-x: auto;
    display: block;
}

.post-body .cyber-code-block {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    color: var(--color-gold, #e59e00);
}

.post-body .cyber-inline-code {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--color-gold, #e59e00);
    padding: 2px 6px;
    border-radius: 3px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
}

.post-body .cyber-spoiler {
    background: #11141c;
    color: transparent;
    cursor: pointer;
    border-radius: 3px;
    padding: 2px 6px;
    border: 1px dashed #ef4444;
    transition: all 0.2s ease;
    user-select: none;
    font-size: 0.95rem;
    display: inline-block;
}

.post-body .cyber-spoiler:hover {
    border-color: var(--color-gold, #e59e00);
    box-shadow: 0 0 8px rgba(229, 158, 0, 0.4);
}

.post-body .cyber-spoiler.revealed {
    color: #ffffff;
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.15);
    user-select: text;
}

/* =========================================================================
   5. 16:9 CINEMA YOUTUBE FACADE ÉS VIDEÓKÁRTYA
   ========================================================================= */
.post-media-content {
    margin-top: 8px;
    width: 100%;
}

.parsed-youtube-facade,
.parsed-youtube-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #0a0c10;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid rgba(229, 158, 0, 0.35);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
    box-sizing: border-box;
    cursor: pointer;
    margin-bottom: 8px;
}

.parsed-youtube-facade .yt-facade-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.parsed-youtube-facade:hover .yt-facade-cover {
    transform: scale(1.02);
}

.yt-facade-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 68px;
    height: 48px;
    background: rgba(255, 0, 0, 0.92);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.8);
    cursor: pointer;
    border: none;
    transition: transform 0.2s ease, background 0.2s ease;
    z-index: 5;
}

.yt-facade-play-btn:hover {
    background: #ff0000;
    transform: translate(-50%, -50%) scale(1.12);
    box-shadow: 0 8px 24px rgba(255, 0, 0, 0.5);
}

.parsed-youtube-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* =========================================================================
   6. INFINITE SCROLL ŐRSZEM ÉS ANIMÁCIÓ
   ========================================================================= */
.feed-infinite-sentinel {
    width: 100%;
    padding: 18px 0;
    text-align: center;
    box-sizing: border-box;
}

.infinite-loader-spinner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--color-gold, #e59e00);
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
}

.infinite-loader-spinner .feather-spin {
    animation: featherSpin 1.2s linear infinite;
}

/* =========================================================================
   7. INLINE POSZT SZERKESZTŐ (CSAK AKTIVÁLVA FLEX)
   ========================================================================= */
.post-edit-container {
    background: rgba(20, 18, 16, 0.9);
    border: 1px dashed var(--color-border-gold, rgba(229, 158, 0, 0.45));
    padding: 14px;
    margin-top: 12px;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-sizing: border-box;
    width: 100%;
}

.edit-panel-label {
    font-family: 'Chakra Petch', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-gold, #e59e00);
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 6px;
}

.edit-editor-textarea {
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    min-height: 80px;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid var(--color-border-subtle, rgba(255, 255, 255, 0.08));
    padding: 10px 12px;
    color: var(--text-light, #ffffff);
    outline: none;
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.05rem;
    border-radius: 4px;
    box-sizing: border-box;
    resize: vertical;
}

.edit-editor-textarea:focus {
    border-color: var(--color-gold, #e59e00);
    box-shadow: 0 0 8px var(--color-gold-glow, rgba(229, 158, 0, 0.5));
}

.post-edit-images-section {
    background: rgba(10, 8, 7, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 6px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.post-edit-images-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.post-edit-img-item {
    position: relative;
    width: 65px;
    height: 65px;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid var(--color-border-gold, rgba(229, 158, 0, 0.45));
    background: #0d0f14;
    box-sizing: border-box;
}

.post-edit-img-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.post-edit-remove-img-btn {
    position: absolute;
    top: 2px;
    right: 2px;
    background: rgba(239, 68, 68, 0.9);
    border: none;
    color: #ffffff;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    line-height: 1;
    padding: 0;
    transition: background 0.2s, transform 0.15s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

.post-edit-remove-img-btn:hover {
    background: #dc2626;
    transform: scale(1.15);
}

.post-edit-upload-row {
    display: flex;
    align-items: center;
}

.post-edit-upload-trigger {
    font-size: 0.85rem;
    padding: 5px 10px;
}

.edit-meta-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.edit-buttons {
    display: flex;
    gap: 8px;
}

/* PREMIUM FEED CARDS */
.post-card {
    padding: 18px 19px;
    border-left-width: 2px;
    border-radius: var(--dx-radius-lg);
    background: linear-gradient(180deg, rgba(19,22,27,.95), rgba(11,14,17,.98));
    border-color: var(--dx-line);
}

.post-card:hover {
    border-color: rgba(214,165,43,.25);
    box-shadow: var(--dx-shadow-hover);
}

.group-post-source-tag {
    background: rgba(191,198,206,.055);
    border-color: rgba(191,198,206,.12);
    color: var(--dx-silver);
}

.blog-news-top-card,
.groups-sidebar-item,
.post-comments-section,
.post-actions-footer,
.post-reactions-bar {
    background-color: rgba(191,198,206,.035);
    border-color: var(--dx-line-soft);
}

.blog-news-top-card:hover,
.groups-sidebar-item:hover {
    border-color: rgba(214,165,43,.34);
    background-color: rgba(214,165,43,.045);
}

body.light-mode .post-card {
    background: linear-gradient(180deg, #fbfcfd, #edf1f3);
    color: var(--dx-silver-hi);
}

body.light-mode .group-post-source-tag,
body.light-mode .blog-news-top-card,
body.light-mode .groups-sidebar-item,
body.light-mode .post-comments-section,
body.light-mode .post-actions-footer,
body.light-mode .post-reactions-bar {
    background: #eef2f4;
    border-color: var(--dx-line);
    color: var(--dx-silver-hi);
}

/* =========================================================================
   DROPX SOCIAL REFINEMENT - UNIFIED POST PRESENTATION
   Globális: Hírfolyam + Profil + Csoportok
   ========================================================================= */
.post-card {
    border-radius: 12px;
    padding: 17px 18px;
    background: linear-gradient(145deg, rgba(18, 21, 27, 0.96), rgba(13, 15, 19, 0.94));
    border-color: rgba(255,255,255,.075);
    box-shadow: 0 10px 34px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.025);
}

.post-card:hover {
    border-color: rgba(229,158,0,.28);
    box-shadow: 0 14px 40px rgba(0,0,0,.34), 0 0 22px rgba(229,158,0,.055);
}

.post-header {
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,.045);
}

.post-author-info { gap: 11px; }
.post-avatar { width: 44px; height: 44px; border-color: rgba(229,158,0,.2); }
.post-author-name { gap: 7px; }
.post-meta-sub { opacity: .82; }

.post-body-container { margin-top: 10px; }
.post-body {
    font-size: 1.02rem;
    line-height: 1.58;
    color: rgba(255,255,255,.93);
}

.post-media-content {
    margin-top: 14px;
    border-radius: 10px;
    overflow: hidden;
    background: rgba(0,0,0,.18);
    border: 1px solid rgba(255,255,255,.055);
}

.post-reactions-bar,
.post-actions-footer {
    background: rgba(255,255,255,.025);
    border-color: rgba(255,255,255,.055);
}

.post-options-trigger-btn {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    border: 1px solid transparent;
}

.post-options-trigger-btn:hover {
    border-color: rgba(229,158,0,.24);
}

.post-options-menu {
    width: 205px;
    border-radius: 10px;
    padding: 5px;
    background: rgba(12,14,18,.98);
    border-color: rgba(229,158,0,.34);
}

.post-opt-item { border-radius: 7px; }

.post-read-more-btn {
    margin-top: 7px;
    padding: 5px 8px;
    border: 1px solid rgba(229,158,0,.18);
    border-radius: 7px;
    background: rgba(229,158,0,.045);
    text-decoration: none;
}

.post-read-more-btn:hover {
    text-decoration: none;
    background: rgba(229,158,0,.09);
}

/* =========================================================================
   DROPX GLOBAL POST REFINEMENT — TISZTA, EGYBEFÜGGŐ POSZTKÁRTYA
   ========================================================================= */
.post-card {
    padding: 16px;
    border-radius: 14px;
    background: linear-gradient(155deg, rgba(17, 20, 25, 0.97), rgba(10, 13, 17, 0.97));
    border-color: rgba(255, 255, 255, 0.07);
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.post-header {
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.045);
}

.post-body-container {
    margin-top: 0;
}

.post-text-content {
    margin: 0 0 10px;
}

.post-body {
    font-size: 1.02rem;
    line-height: 1.58;
    color: rgba(255, 255, 255, 0.92);
}

.post-media-content {
    margin-top: 10px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    overflow: visible;
}

.post-media-content .post-tile-gallery {
    margin: 0;
    border-color: rgba(255, 255, 255, 0.07);
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}

.post-media-content .tile-item {
    border-color: rgba(255, 255, 255, 0.08);
}

.post-media-content .tile-item:hover {
    border-color: rgba(229, 158, 0, 0.38);
}

.post-reactions-bar {
    margin-top: 10px;
    border-radius: 8px;
}

.post-actions-footer {
    margin-top: 6px;
    border-radius: 8px;
}

.post-comments-section {
    margin-top: 10px;
    border-radius: 10px;
}

.post-read-more-btn {
    padding: 5px 9px;
    margin-top: 6px;
    border: 1px solid rgba(229, 158, 0, 0.18);
    border-radius: 7px;
    background: rgba(229, 158, 0, 0.045);
}

.post-read-more-btn:hover {
    background: rgba(229, 158, 0, 0.09);
    text-decoration: none;
}

.post-options-menu {
    border-radius: 10px;
    background: rgba(10, 13, 17, 0.985);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.42);
}

.post-opt-item {
    min-height: 34px;
    border-radius: 7px;
}

.post-opt-item:hover {
    background: rgba(229, 158, 0, 0.08);
}

@media (max-width: 700px) {
    .post-card {
        padding: 13px;
        border-radius: 11px;
    }

    .post-body {
        font-size: 0.98rem;
    }
}


/* =========================================================================
   DROPX GLOBAL POST MEDIA REFINEMENT — EGYETLEN, TISZTA MÉDIAFELÜLET
   ========================================================================= */
.post-card .post-media-content {
    margin: 12px 0 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.post-card .post-media-content .post-tile-gallery {
    border: 1px solid rgba(255, 255, 255, 0.075);
    border-radius: 12px;
    background: rgba(8, 11, 15, 0.72);
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}

.post-card .post-reactions-bar {
    margin-top: 8px;
    padding-top: 7px;
    padding-bottom: 7px;
    border-radius: 8px;
}

.post-card .post-actions-footer {
    margin-top: 5px;
    border-radius: 8px;
}

/* =========================================================================
   DROPX SYSTEM BLOG POSZT — VIZUÁLIS KÁRTYA
   A rendszerblog-poszt kizárólag a hírfolyam post-card moduljában él.
   ========================================================================= */
.post-card.is-system-post {
    border-color: rgba(229, 158, 0, 0.42);
    border-left-color: var(--color-gold, #e59e00);
    background: linear-gradient(180deg, rgba(24, 20, 18, 0.96) 0%, rgba(13, 16, 21, 0.97) 100%);
    box-shadow: 0 0 18px rgba(229, 158, 0, 0.10);
}

.post-card.is-system-post .post-header {
    align-items: center;
}

.blog-system-header-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex: 0 0 auto;
    margin-left: auto;
    padding: 5px 9px;
    border: 1px solid rgba(229, 158, 0, 0.55);
    border-radius: 7px;
    background: rgba(229, 158, 0, 0.10);
    color: var(--color-gold, #e59e00);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    white-space: nowrap;
}

.blog-system-content {
    width: 100%;
}

.blog-system-title {
    margin: 2px 0 8px;
    color: var(--text-light, #ffffff);
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.18rem;
    font-weight: 800;
    line-height: 1.25;
}

.blog-system-excerpt {
    margin: 0 0 12px;
    color: var(--text-muted, #aba29a);
    font-size: 0.98rem;
    line-height: 1.45;
}

.blog-system-cover-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.blog-system-cover-frame {
    margin: 0;
    width: 100%;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 10px;
    background: #0a0c10;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.24);
}

.blog-system-cover-image {
    display: block;
    width: 100%;
    height: auto;
    max-height: 520px;
    object-fit: contain;
    background: #0a0c10;
    transition: transform 0.25s ease, filter 0.25s ease;
}

.blog-system-cover-link:hover .blog-system-cover-image {
    transform: scale(1.012);
    filter: brightness(1.04);
}

.blog-system-link-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 8px;
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 8px;
    background: rgba(10, 13, 17, 0.72);
}

.blog-system-link-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    color: var(--color-gold, #e59e00);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.035em;
    text-transform: uppercase;
}

.blog-system-link-label span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.blog-system-open-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex: 0 0 auto;
    color: var(--color-gold, #e59e00);
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.92rem;
    font-weight: 800;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

.blog-system-open-link:hover {
    color: #ffb81c;
    transform: translateX(2px);
}

@media (max-width: 700px) {
    .blog-system-header-badge {
        max-width: 58%;
        font-size: 0.62rem;
    }

    .blog-system-link-card {
        align-items: flex-start;
        flex-direction: column;
        gap: 7px;
    }

    .blog-system-open-link {
        width: 100%;
        justify-content: space-between;
    }
}


/* DROPX APP PROFILE — POST CARD BOX MODEL
 * A mobilos profilfalon a padding nem növelheti a kártya tényleges szélességét.
 */
@media (max-width: 700px) {
    #profile .post-card {
        box-sizing: border-box;
    }
}
