/* === POST HEADER AREA === */
.post-header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    margin-bottom: 40px;
    gap: 20px;
}

.post-meta-text {
    flex: 1;
    min-width: 200px;
    font-size: 0.95rem;
    color: #bbbbbb;
    line-height: 1.5;
}

.post-meta-text strong {
    color: #ffbe55;
    font-weight: 600;
    display: inline;
    margin-right: 8px;
}

.meta-value {
    color: #dddddd;
}

/* Float or align the image */
.og-image {
    flex: 0 0 40%;
    max-width: 40%;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
}

.post-summary {
    margin-top: 10px;
    font-style: italic;
    color: #dddddd;
    line-height: 1.5;
}

.post-meta-summary {
    margin-top: 15px;
    margin-bottom: 25px;
    font-style: italic;
    color: #cccccc;
}

.post-tags {
    margin-top: 12px;
    color: #cccccc;
    font-size: 0.9em;
}

.post-tags .post-tag {
    background-color: rgba(255, 190, 85, 0.1);
    border: 1px solid #ffbe55;
    border-radius: 4px;
    padding: 2px 8px;
    margin-right: 6px;
    display: inline-block;
    margin-bottom: 5px;
}

.explore-read-more-inline {
    color: #f9a825;
    text-decoration: none;
    font-weight: bold;
    margin-left: 4px;
}

.explore-read-more-inline:hover {
    text-decoration: underline;
}

.post-tags.post-gap-bottom {
    margin-top: 2rem;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.post-files h3 {
    font-size: 1.3em;
    margin-top: 1em;
    color: #ffbe55;
}
.post-files ul {
    list-style-type: none;
    padding-left: 0;
}
.post-files li {
    margin-bottom: 0.5em;
}
.post-files a {
    color: #69acdf;
    text-decoration: underline;
}


.tags-label {
    text-transform: uppercase;
    font-weight: bold;
    color: #ffbe55; /* matches other labels like 'By:', optional */
}

/* === Clean Pagination Styling === */
.page-card .pagination {
    margin-top: 2rem;
    text-align: center;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.page-card .pagination a {
    display: inline-block;
    background-color: rgba(255, 190, 85, 0.08);
    color: #ffbe55;
    border: 1px solid rgba(255, 190, 85, 0.3);
    padding: 6px 12px;
    margin: 0 5px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease-in-out;
}

.page-card .pagination a:hover {
    background-color: #ffbe55;
    color: #000;
}

.page-card .pagination a.current-page {
    background-color: #ffbe55;
    color: #000;
    font-weight: bold;
}


/* === Responsive stacking on mobile === */
@media only screen and (max-width: 768px) {
    .post-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .og-image {
        max-width: 100%;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .post-header-flex {
        flex-direction: column;
    }

    .og-image-right {
        margin-top: 20px;
        max-width: 100%;
    }
}
