/*
Theme Name: Astra Child
Theme URI: https://wpastra.com/
Description: Astra Child Theme
Author: Your Name
Author URI: https://yourwebsite.com
Template: astra
Version: 1.0
*/

.nm-author-box {
    display: flex;
    gap: 15px;
    padding: 20px;
    margin-top: 40px;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    background: #fafafa;
}

body.single .nm-author-box {
    border: 1px solid rgba(20, 184, 166, 0.4) !important;
    border-radius: 12px;
    padding: 20px !important;
    background: #f9fffe;
}

.nm-author-avatar img {
    border-radius: 50%;
}

.nm-author-info {
    flex: 1;
}

.nm-author-name {
    margin: 0;
    font-size: 18px;
}

.nm-author-bio {
    font-size: 14px;
    color: #555;
    margin-top: 5px;
}

.nm-author-social {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.nm-author-social a {
    font-size: 13px;
    text-decoration: none;
    color: #1e73be;
}

.nm-author-social a:hover {
    text-decoration: underline;
}
/* Astra mobile-first responsive posts */

.single-post .ast-container,
.single-post #primary,
.single-post .site-main,
.single-post article,
.single-post .entry-content {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* Mobile post spacing */
.single-post .entry-content {
    padding: 0 15px;
    font-size: 16px;
    line-height: 1.7;
    overflow-wrap: break-word;
}

/* Responsive images, videos, embeds */
.single-post .entry-content img,
.single-post .entry-content iframe,
.single-post .entry-content video,
.single-post .entry-content embed,
.single-post .entry-content object {
    max-width: 100%;
    height: auto;
}

/* Fix YouTube/iframe overflow */
.single-post .entry-content iframe {
    width: 100%;
}

/* Tables scroll instead of breaking layout */
.single-post .entry-content table {
    display: block;
    width: 100%;
    overflow-x: auto;
}

/* Code blocks */
.single-post .entry-content pre,
.single-post .entry-content code {
    white-space: pre-wrap;
    word-break: break-word;
}

/* Tablet */
@media (min-width: 768px) {
    .single-post .entry-content {
        padding: 0 25px;
        font-size: 17px;
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .single-post .entry-content {
        max-width: 800px;
        margin: 0 auto;
        padding: 0;
    }
}