/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

.elementor-widget-text-editor p:last-child {
    margin-bottom: 0;
}

.custom-post-nav {
    display: flex;
    width: 100%;
    padding: 30px 0;
    gap: 0; /* Remove gap so they meet in the middle if needed */
}

/* Forces both sides to be exactly 50% width */
.custom-post-nav .nav-column {
    flex: 1;
    display: flex;
}

/* Left side alignment */
.custom-post-nav .next-col {
    justify-content: flex-start;
    text-align: left;
}

/* Right side alignment */
.custom-post-nav .prev-col {
    justify-content: flex-end;
    text-align: right;
}

.custom-post-nav .nav-column a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #000 !important; 
    font-weight: 400;
    font-size: 26px;
    transition: opacity 0.3s ease;
    max-width: 90%; /* Prevents text from hitting the very edge */
}

.custom-post-nav .nav-column a:hover {
    opacity: 0.7;
}

.custom-post-nav .nav-arrow {
    display: flex;
    align-items: center;
    padding: 0 15px;
}

/* Mobile Tweak: Keeps them side-by-side but shrinks text */
@media (max-width: 768px) {
    .custom-post-nav .nav-column a {
        font-size: 13px;
    }
    .custom-post-nav .nav-arrow {
        padding: 0 8px;
    }
}