/*
 Theme Name:   Hello Elementor Child
 Theme URI:    https://elementor.com/hello-theme/
 Description:  A child theme for Hello Elementor.
 Author:       Your Name
 Author URI:   https://yourwebsite.com
 Template:     hello-elementor
 Version:      1.0.0
 Text Domain:  hello-elementor-child
*/

/* Custom CSS goes below this line */



/* 1. Lock the outer header template container to the top */
.ekit-template-content-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 99999 !important;
}

/* 2. Target the main Elementor header container */
.elementor-element-886e601 {
    background-color: #ffffff !important; /* Prevents underlying page content from showing through */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08); /* Optional subtle bottom shadow */
}

/* 3. Add top padding to the body so page content doesn't get covered by the fixed header */
body {
    padding-top: 150px !important; /* Adjust this value if your header height differs */
}

/* 4. Offset for logged-in WP Admin Bar */
body.admin-bar .ekit-template-content-header {
    top: 32px !important;
}

@media (max-width: 782px) {
    body.admin-bar .ekit-template-content-header {
        top: 46px !important;
    }
}







/* Main Form Wrapper */
.cf7-custom-form {
    display: flex;
    flex-direction: column;
    gap: 20px; /* Vertical spacing between rows */
}

/* Row Layout */
.cf7-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; /* Horizontal spacing between side-by-side fields */
    width: 100%;
}

/* Column Base Rules */
.cf7-col-50, .cf7-col-100 {
    display: flex;
    flex-direction: column;
    width: 100%;
}

/* Desktop Styles (2 Columns per Row) */
@media (min-width: 768px) {
    .cf7-col-50 {
        flex: 1;
        max-width: calc(50% - 10px); /* Adjusts perfectly for the 20px gap */
    }
    .cf7-col-100 {
        flex: 0 0 100%;
    }
}

/* Ensure all field elements stretch to the limits of their columns */
.cf7-custom-form input {
    width: 100% !important;
    box-sizing: border-box;
}

/* Specific Fix for Textarea Element Full-Width & Shorter Height */
.cf7-custom-form textarea {
    width: 100% !important;
    min-width: 100% !important;
    display: block;
    box-sizing: border-box;
    height: 60px !important; /* Shorter, compact look */
    resize: vertical;
}


.space-table-wrap {
    background: #C3934E1C;
    padding: 20px 0 0 0;
}

.space-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

/* Remove ALL borders */
.space-table,
.space-table tr,
.space-table td,
.space-table th {
    border: none !important;
}

/* Header */
.space-table thead th {
    text-align: left;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #6b665d;
    padding: 0 20px 24px;
}

/* Only header divider */
.space-table thead tr {
    border-bottom: 1px solid #d9d4ca !important;
}

/* Body cells */
.space-table tbody td {
    padding: 24px 20px;
    vertical-align: top;
}

/* Only bottom divider */
.space-table tbody tr:last-child td {
    border-bottom: 1px solid #d9d4ca !important;
    padding-bottom: 34px;
}

/* Column widths (Adjusted to equal 100% for 4 columns) */
.space-type { width: 20%; padding-right: 20px; }
.space-best { width: 25%; padding-right: 20px; }
.space-notes { width: 35%; padding-right: 20px; }
.space-pricing { width: 20%; }

/* Typography */
.space-title {
    font-size: 20px;
    font-weight: 400;
    line-height: 1.4;
    color: #111;
}

.space-text {
    font-size: 16px;
    line-height: 1.75;
    color: #66635d;
    font-weight: 300;
}

/* Mobile Optimization */
@media (max-width: 991px) {
    .space-table,
    .space-table thead,
    .space-table tbody,
    .space-table th,
    .space-table td,
    .space-table tr {
        display: block;
        width: 100%;
    }

    /* Hide the main header visually but keep it accessible */
    .space-table thead {
        display: none;
    }

    .space-table tbody tr {
        border-bottom: 1px solid #d9d4ca;
        padding: 20px 0;
    }

    .space-table tbody tr:last-child {
        border-bottom: none;
    }

    .space-table tbody td {
        padding: 12px 20px; 
        position: relative;
    }

    /* Pulls the data-label attribute from HTML to act as inline headers */
    .space-table tbody td::before {
        content: attr(data-label);
        display: block;
        font-size: 11px;
        font-weight: 600;
        letter-spacing: 2px;
        text-transform: uppercase;
        color: #6b665d;
        margin-bottom: 6px;
    }

    /* Reset widths and padding for mobile */
    .space-type,
    .space-best,
    .space-notes,
    .space-pricing {
        width: 100%;
        padding-right: 20px;
    }

    .space-title {
        margin-bottom: 4px;
    }

    .space-table tbody tr:last-child td {
        border-bottom: none !important;
        padding-bottom: 12px;
    }
}


/* Base Typography */
body {
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    font-weight: 300;
    line-height: 1.75;
    color: #333;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 0.6em;
}

h1 {
    font-size: 50px;
}

h2 {
    font-size: 40px;
}

h3 {
    font-size: 36px;
}

h4 {
    font-size: 28px;
}

h5 {
    font-size: 22px;
}

h6 {
    font-size: 18px;
}

/* Tablet */
@media (max-width: 991px) {
    body {
        font-size: 17px;
        line-height: 1.7;
    }

    h1 {
        font-size: 48px;
    }

    h2 {
        font-size: 35px;
    }

    h3 {
        font-size: 32px;
    }

    h4 {
        font-size: 26px;
    }

    h5 {
        font-size: 21px;
    }

    h6 {
        font-size: 18px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    body {
        font-size: 16px;
        line-height: 1.7;
    }

    h1 {
        font-size: 36px;
    }

    h2 {
        font-size: 30px;
    }

    h3 {
        font-size: 26px;
    }

    h4 {
        font-size: 22px;
    }

    h5 {
        font-size: 20px;
    }

    h6 {
        font-size: 18px;
    }
}




.single-post .post-tags,
.single-post .tags-links {
    display: none !important;
}