/* Core layout styles */
html, body {
    overflow-x: hidden;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
}

.text-center {
    text-align: center;
}

/* Site structure */
.site-header {
    background: #fff;
    border-bottom: 1px solid #eee;
    padding: 20px 0;
}

.site-footer {
    background: #f9f9f9;
    padding: 40px 0;
    border-top: 1px solid #eee;
}

/* --- Elementor Sticky / Floating Button --- */
.elementor-button-floating-yes, .elementor-button-sticky-yes {
    display: block !important;
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    margin: 0 !important;
    z-index: 99999 !important;
    text-align: center;
    background: #ffffff;
    box-shadow: 0 0 30px 0 rgba(0,0,0,0.2);
    padding: 10px;
    border-radius: 0 !important;
}

/* Ensure nothing blocks clicks */
.elementor-button-sticky-yes.elementor-button-wrapper {
    pointer-events: auto;
}

@media (max-width: 767px) {
    .elementor-button-sticky-yes .elementor-button {
        display: block !important;
        width: 100%;
        border-radius: 0 !important;
    }
}

/* LP Layouts */
.lp-layout-blank .site-content {
    padding: 0;
}

.lp-layout-slim .lp-slim-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px 15px;
    background: #fff;
    box-shadow: 0 0 50px rgba(0,0,0,0.05);
    min-height: 100vh;
}

/* Base Body Styling for Slim */
body.lp-layout-slim {
    background: #f0f2f5;
}

/* --- Layout & Dual Column (LP Blog Style) --- */
body.lp-layout-regular {
    background: #e9eaed; /* Outer gray background */
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #444;
    margin: 0;
    padding: 0;
}

.lp-layout-regular #page.site {
    max-width: 1060px;
    margin: 40px auto;
    background: #fdfdfd; /* White inner box */
    box-shadow: 0 2px 15px rgba(0,0,0,0.05); /* Slight shadow to make it pop */
}

.content-sidebar-wrap {
    display: flex;
    flex-wrap: wrap;
    padding: 40px 50px;
}

.content-sidebar-wrap .content-area {
    width: 65%;
    padding-right: 50px;
    box-sizing: border-box;
}

.content-sidebar-wrap .widget-area {
    width: 35%;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    #page.site {
        margin: 0;
    }
    .content-sidebar-wrap {
        padding: 20px;
    }
    .content-sidebar-wrap .content-area,
    .content-sidebar-wrap .widget-area {
        width: 100%;
        padding-right: 0;
    }
}

/* --- Header Branding --- */
.site-header {
    background-color: transparent;
    padding: 60px 50px 30px;
    text-align: center;
    border-bottom: 1px solid #e5e5e5;
}

.site-branding .site-title {
    margin: 0;
    font-size: 2.2rem;
    font-weight: 300;
}

.site-branding .site-title a {
    color: #333;
    text-decoration: none;
}

.site-branding .site-description {
    margin-top: 5px;
    color: #777;
    font-size: 1.1rem;
    font-weight: 300;
}

/* --- Index Loop Posts --- */
article.post {
    margin-bottom: 50px;
}

.entry-header {
    margin-bottom: 15px;
}

.entry-title {
    margin: 0 0 5px;
    font-size: 2rem;
    font-weight: 300;
}

.entry-title a {
    color: #333;
    text-decoration: none;
}

.entry-title a:hover {
    color: var(--lp-primary, #0073aa);
}

.entry-meta {
    font-size: 0.85rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.entry-meta a {
    color: #999;
    text-decoration: none;
}

.entry-meta a:hover {
    color: var(--lp-primary, #0073aa);
}

.entry-content {
    line-height: 1.7;
    font-size: 1.05rem;
}

/* --- Widgets --- */
.widget {
    margin-bottom: 40px;
}

.widget-title {
    font-size: 1.3rem;
    font-weight: 300;
    color: #333;
    margin-bottom: 20px;
}

.widget ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.widget ul li {
    padding: 12px 0;
    border-bottom: 1px dotted #ccc;
}

.widget ul li:last-child {
    border-bottom: none;
}

.widget ul li a {
    color: #0073aa;
    text-decoration: none;
}

.widget ul li a:hover {
    text-decoration: underline;
}

.widget .search-form {
    display: flex;
}

.widget .search-form input[type="search"] {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-right: none;
    background: #fdfdfd;
}

.widget .search-form input[type="submit"] {
    padding: 10px 15px;
    background: #e1e1e1;
    color: #333;
    border: 1px solid #ddd;
    border-left: none;
    cursor: pointer;
}

.widget .search-form input[type="submit"]:hover {
    background: #d4d4d4;
}
