/* ════════════════════════════════════════════════════════
   POST.CSS — AZ24SAAT.ORG  |  Premium 2025
════════════════════════════════════════════════════════ */

/* ── Content Layout ── */
.content-wrapper {
    display: flex;
    flex-direction: row;
    gap: 36px;
    max-width: 1280px;
    margin: 36px auto;
    padding: 0 20px
}

.single-post {
    flex: 1 1 68%;
    min-width: 0
}

.sidebar {
    flex: 0 0 300px;
    min-width: 0
}

/* ── Article Container ── */
.post-container {
    background: #fff;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, .06);
    border: 1px solid #e8eaf0
}

/* ── Post Header ── */
.post-header .meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13.5px;
    margin-bottom: 14px
}

.post-header .category-tag {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #e30613, #b7000f);
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .4px;
    text-transform: uppercase
}

.post-header .date {
    color: #9ca3af;
    font-size: .8rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px
}

.post-header .date::before {
    content: '🕐';
    font-size: .85rem
}

.post-title {
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    font-weight: 800;
    line-height: 1.3;
    color: #0f1221;
    margin-bottom: 22px;
    letter-spacing: -.3px
}

/* ── Thumbnail ── */
.post-thumbnail {
    margin-bottom: 28px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .1)
}

.post-thumbnail img,
.post-thumbnail picture {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover
}

/* ── Post Content ── */
.post-content {
    font-size: 17px;
    line-height: 1.85;
    color: #2d3043
}

.post-content h2 {
    font-size: clamp(1.3rem, 2.5vw, 1.7rem);
    font-weight: 800;
    color: #0f1221;
    margin: 32px 0 14px;
    padding-left: 14px;
    border-left: 4px solid #e30613;
    line-height: 1.3
}

.post-content h3 {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    font-weight: 700;
    color: #1a1d27;
    margin: 26px 0 12px;
    line-height: 1.35
}

.post-content h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1d27;
    margin: 22px 0 10px
}

.post-content p {
    margin-bottom: 20px
}

.post-content a {
    color: #1d4ed8;
    text-decoration: underline;
    text-underline-offset: 2px
}

.post-content a:hover {
    color: #e30613
}

.post-content img,
.post-content picture {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px auto;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .08)
}

.post-content blockquote {
    background: #f8f9fc;
    border-left: 5px solid #7c3aed;
    border-radius: 0 12px 12px 0;
    padding: 18px 22px;
    margin: 24px 0;
    font-style: italic;
    color: #374151;
    font-size: 1.05em
}

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

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

.post-content strong {
    color: #0f1221;
    font-weight: 700
}

.post-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: .95rem
}

.post-content table th {
    background: #f1f3f9;
    color: #374151;
    font-weight: 700;
    padding: 10px 14px;
    text-align: left;
    border-bottom: 2px solid #e8eaf0
}

.post-content table td {
    padding: 10px 14px;
    border-bottom: 1px solid #f0f2f6;
    color: #4b5563
}

.post-content table tr:hover td {
    background: #f8f9fc
}

/* ── Tags ── */
.post-tags {
    margin-top: 24px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 13.5px
}

.post-tags>span {
    font-weight: 700;
    color: #374151
}

.post-tags a {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    border-radius: 20px;
    background: #f3f4f6;
    color: #374151;
    font-weight: 500;
    font-size: .8rem;
    transition: all .2s;
    border: 1px solid #e5e7eb
}

.post-tags a:hover {
    background: #e30613;
    color: #fff;
    border-color: #e30613
}

/* ── Social Share ── */
.social-share {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid #f0f2f6
}

.social-share>span {
    font-weight: 700;
    color: #374151;
    font-size: .9rem
}

.social-share a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 15px;
    border-radius: 10px;
    font-weight: 600;
    color: #fff;
    font-size: .82rem;
    transition: opacity .2s, transform .15s
}

.social-share a:hover {
    opacity: .88;
    transform: translateY(-1px)
}

.social-share a.facebook {
    background: #1877f2
}

.social-share a.twitter {
    background: #000
}

.social-share a.telegram {
    background: #0088cc
}

.social-share a.whatsapp {
    background: #25d366
}

/* ── Responsive ── */
@media(max-width:992px) {
    .content-wrapper {
        flex-direction: column;
        gap: 28px
    }

    .sidebar {
        flex: none;
        width: 100%
    }
}

@media(max-width:640px) {
    .post-container {
        padding: 20px 16px
    }

    .post-title {
        font-size: 1.5rem
    }

    .post-content {
        font-size: 16px
    }
}