/**
 * Custom styling for post meta layout
 * Centers category and author in one row
 */

/* Target the specific group containing category and author */
.wp-block-group.is-layout-grid,
.wp-block-group.wp-container-core-group-is-layout-b757edec {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center;
    align-items: center !important;
    gap: 20px !important;
    margin-top: 6px !important;
}

/* Make both elements display inline and centered */
.wp-block-group.is-layout-grid > .wp-block-post-terms,
.wp-block-group.is-layout-grid > .wp-block-post-author,
.wp-block-group.wp-container-core-group-is-layout-b757edec > .wp-block-post-terms,
.wp-block-group.wp-container-core-group-is-layout-b757edec > .wp-block-post-author {
    text-align: center !important;
    margin: 0 !important;
}

/* Remove right alignment from category */
.wp-block-group.is-layout-grid > .wp-block-post-terms.has-text-align-right,
.wp-block-group.wp-container-core-group-is-layout-b757edec > .wp-block-post-terms.has-text-align-right,
.taxonomy-category.has-text-align-right {
    text-align: center !important;
}

/* Remove left alignment from author */
.wp-block-group.is-layout-grid > .wp-block-post-author.has-text-align-left,
.wp-block-group.wp-container-core-group-is-layout-b757edec > .wp-block-post-author.has-text-align-left,
.wp-block-post-author.has-text-align-left {
    text-align: center !important;
}

/* Make author display inline */
.wp-block-post-author {
    display: inline-flex !important;
}

/* Adjust spacing between avatar and name */
.wp-block-post-author__avatar {
    margin-right: 5px !important;
}

/* Target the exact structure from the example */
.wp-container-core-group-is-layout-b757edec {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center;
    align-items: center !important;
    gap: 20px !important;
    margin-top: 6px !important;
}

.nobottommargin, .nobottommargin p{
    margin-bottom: 0px !important;
}
.nobottompadding, .nobottompadding p{
    padding-bottom: 0px !important;
}

.notoppadding, .notoppadding p{
    padding-top: 0px !important;
}

.notopmargin, .notopmargin p{
    margin-top: 0px !important;
}

.m-10{
    margin-top: 10px;
}
.b-600{
    font-weight: 600 !important;
}

.wp-block-post-author__content{
padding-top:5px;
}
/* Target the exact structure from the example */
.leftjustify {
    justify-content: left !important;
    align-items: left !important;
}
/* Responsive adjustments for mobile */
@media (max-width: 768px) {
    .wp-block-group.is-layout-grid,
    .wp-block-group.wp-container-core-group-is-layout-b757edec,
    .wp-container-core-group-is-layout-b757edec {
        flex-direction: column !important;
        gap: 10px !important;
    }
}
