.blog-content-section {
    width: 100%;
    margin-top: 0;
    margin-bottom: 2.5rem;
    flex-grow: 1;
    padding-left: 0;
    padding-right: 0;
}

.blog-content-section__inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px;
    box-sizing: border-box;
}

body.post-template-default .blog-content-section__inner {
    max-width: 1080px;
    padding: 0;
}

.blog-content-section.alignwide .blog-content-section__inner {
    width: 100%;
}

.blog-content-section.alignfull .blog-content-section__inner {
    width: 100%;
}

.blog-content-section__inner p {
    color: var(--text-color, rgb(61, 61, 61));
    display: block;
    font-family: Lexend, sans-serif;
    font-weight: 300;
    font-style: normal;
    font-size: 16px;
    line-height: 1.4;
    letter-spacing: 0%;
    text-align: justify;
    height: auto;
    hyphens: auto;
    margin-bottom: 1.5rem;
}

.blog-content-section__inner p strong,
.blog-content-section__inner p b {
    font-weight: 700;
}

.blog-content-section__inner p:last-child {
    margin-bottom: 0;
}

/* Headings */
.blog-post-layout__content h2,
.blog-post-layout__content h3 {
    font-family: Lexend, sans-serif !important;
    line-height: 1.2 !important;
    margin-bottom: 1rem !important;
    margin-top: 0 !important;
}

.blog-content-section__inner h1,
.blog-content-section__inner h2,
.blog-content-section__inner h3,
.blog-content-section__inner h4,
.blog-content-section__inner h5,
.blog-content-section__inner h6 {
    color: var(--text-color, inherit);
    line-height: 1.2 !important;
    font-weight: 600 !important;
    margin-bottom: 1rem !important;
}

.blog-content-section__inner ul {
    list-style-type: disc;
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.blog-content-section__inner ul li {
    color: var(--text-color, rgb(61, 61, 61));
    font-family: Lexend, sans-serif;
    font-weight: 300;
    font-style: normal;
    font-size: 16px;
    line-height: 130%;
    letter-spacing: 0px;
    margin-bottom: 0.5rem;
}

.blog-content-section__inner ul:last-child {
    margin-bottom: 0;
}

.blog-content-section__inner ol {
    list-style-type: decimal;
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.blog-content-section__inner ol li {
    color: var(--text-color, rgb(61, 61, 61));
    font-family: Lexend, sans-serif;
    font-weight: 300;
    font-style: normal;
    font-size: 18px;
    line-height: 130%;
    letter-spacing: 0px;
    margin-bottom: 0.5rem;
}

.blog-content-section__inner ol:last-child {
    margin-bottom: 0;
}

.blog-content-section__inner a {
    color: #2ecc71;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.blog-content-section__inner a:hover {
    color: #27ae60;
}

.blog-content-section__inner blockquote {
    border-left: 5px solid var(--brand-4, #2ecc71);
    margin-bottom: 10px;
    padding: 10px 20px;
}

/* Table styles - compact */
.blog-content-section__table-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 1.5rem;
}

.blog-content-section__inner table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 0;
    font-size: 16px;
    line-height: 1.4;
    background-color: transparent;
    display: table;
}

.blog-content-section__inner table th,
.blog-content-section__inner table td {
    padding: 8px 12px;
    border: 1px solid #ddd;
    text-align: left;
    font-size: 16px;
    line-height: 1.4;
    background-color: transparent;
    color: var(--text-color, #000);
}

/* Default styles for headers and cells */
.blog-content-section__inner table th {
    font-weight: 500;
    color: var(--text-color, #000);
}

/* Tablet responsiveness */
@media (max-width: 1024px) {
    .blog-content-section__inner {
        padding: 0 clamp(24px, 5vw, 40px);
    }
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .blog-content-section__inner {
        padding-left: 30px;
        padding-right: 30px;
    }
    
    body.post-template-default .blog-content-section__inner {
        padding-left: 0;
        padding-right: 0;
    }
    
    .blog-content-section__table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        -ms-overflow-style: -ms-autohiding-scrollbar;
    }
    
    .blog-content-section__inner table {
        min-width: 600px; /* Prevent too much compression on mobile */
    }
}

/* Editor styles - ensure tables have same styling in admin */
.editor-styles-wrapper .blog-content-section__inner table,
.block-editor-block-list__layout .blog-content-section__inner table,
.is-root-container .blog-content-section__inner table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 0;
    font-size: 16px;
    line-height: 1.4;
    background-color: transparent !important;
    display: table;
}

.editor-styles-wrapper .blog-content-section__inner table th,
.editor-styles-wrapper .blog-content-section__inner table td,
.block-editor-block-list__layout .blog-content-section__inner table th,
.block-editor-block-list__layout .blog-content-section__inner table td,
.is-root-container .blog-content-section__inner table th,
.is-root-container .blog-content-section__inner table td {
    padding: 8px 12px;
    border: 1px solid #ddd !important;
    text-align: left;
    font-size: 16px;
    line-height: 1.4;
    background-color: transparent !important;
    color: var(--text-color, #000) !important;
}

.editor-styles-wrapper .blog-content-section__inner table th,
.block-editor-block-list__layout .blog-content-section__inner table th,
.is-root-container .blog-content-section__inner table th {
    font-weight: 500;
    color: var(--text-color, #000) !important;
    background-color: transparent !important;
}

/* Remove alternating row backgrounds in editor */
.editor-styles-wrapper .blog-content-section__inner table tr,
.block-editor-block-list__layout .blog-content-section__inner table tr,
.is-root-container .blog-content-section__inner table tr {
    background-color: transparent !important;
}

.editor-styles-wrapper .blog-content-section__inner table tr:nth-child(even),
.editor-styles-wrapper .blog-content-section__inner table tr:nth-child(odd),
.block-editor-block-list__layout .blog-content-section__inner table tr:nth-child(even),
.block-editor-block-list__layout .blog-content-section__inner table tr:nth-child(odd),
.is-root-container .blog-content-section__inner table tr:nth-child(even),
.is-root-container .blog-content-section__inner table tr:nth-child(odd) {
    background-color: transparent !important;
}

.editor-styles-wrapper .blog-content-section__inner table tr:nth-child(even) td,
.editor-styles-wrapper .blog-content-section__inner table tr:nth-child(even) th,
.editor-styles-wrapper .blog-content-section__inner table tr:nth-child(odd) td,
.editor-styles-wrapper .blog-content-section__inner table tr:nth-child(odd) th,
.block-editor-block-list__layout .blog-content-section__inner table tr:nth-child(even) td,
.block-editor-block-list__layout .blog-content-section__inner table tr:nth-child(even) th,
.block-editor-block-list__layout .blog-content-section__inner table tr:nth-child(odd) td,
.block-editor-block-list__layout .blog-content-section__inner table tr:nth-child(odd) th,
.is-root-container .blog-content-section__inner table tr:nth-child(even) td,
.is-root-container .blog-content-section__inner table tr:nth-child(even) th,
.is-root-container .blog-content-section__inner table tr:nth-child(odd) td,
.is-root-container .blog-content-section__inner table tr:nth-child(odd) th {
    background-color: transparent !important;
}

/* Empty State */
.blog-content-empty-state {
    padding: 40px 20px;
    text-align: center;
    min-height: 100px;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.03);
    border: 2px dashed rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    margin: 20px 0;
}

.blog-content-empty-title {
    color: rgba(0, 0, 0, 0.6) !important;
    font-family: Lexend, sans-serif;
    font-size: 16px !important;
    font-weight: 600 !important;
    margin: 0 0 8px 0 !important;
}

.blog-content-empty-text {
    color: rgba(0, 0, 0, 0.5) !important;
    font-family: Lexend, sans-serif;
    font-size: 18px !important;
    font-weight: 400 !important;
    margin: 0 0 8px 0 !important;
}

.blog-content-empty-click {
    color: rgba(0, 0, 0, 0.4) !important;
    font-family: Lexend, sans-serif;
    font-size: 14px !important;
    font-weight: 400 !important;
    margin: 0 !important;
    font-style: italic;
}

