/*
 Theme Name:   Basel Child
 Description:  Basel Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     basel
 Version:      1.0.0
 Text Domain:  basel-child
*/


/* Your customizations starts here */


/* =========================================
   CHARLES BERTRAM — LANDING PAGE
   Basel Child Theme
   ========================================= */

/* HIDE BASEL HEADER ELEMENTS */
.page-title {
    display: none !important;
}

.main-header .site-logo,
.main-nav > h5 {
    display: none !important;
}

/* PAGE BACKGROUND */
article#post-2,
article#post-2 .entry-content,
article#post-2 .wpb-content-wrapper {
    background-color: #F8F3E9;
}

/* LOGO */
article#post-2 .cb-landing-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 25px 20px 15px;
    margin: 0 auto;
    box-sizing: border-box;
}

article#post-2 .cb-landing-logo img {
    display: block;
    width: 100%;
    max-width: 420px;
    height: auto;
    max-height: none;
    margin: 0 auto;
    object-fit: contain;
}

/* CONTACT INTRODUCTION */
article#post-2 .cb-contact-section {
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
    padding: 20px 20px 0;
    box-sizing: border-box;
}

article#post-2 .cb-contact-section h1 {
    margin: 0 0 12px;
    color: #343A22;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 42px;
    font-weight: 500;
    line-height: 1.2;
    text-align: center;
}

article#post-2 .cb-contact-intro {
    max-width: 540px;
    margin: 0 auto 20px;
    color: #625E52;
    font-family: Montserrat, sans-serif;
    font-size: 15px;
    line-height: 1.8;
    text-align: center;
}

/* PHONE AND SOCIAL LINKS */
article#post-2 .cb-contact-details {
    width: 100%;
    max-width: 760px;
    margin: 10px auto 25px;
    padding: 0 20px;
    color: #343A22;
    font-family: Montserrat, sans-serif;
    text-align: center;
    box-sizing: border-box;
}

/* PHONE ICON ABOVE NUMBER */
article#post-2 .cb-phone {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: fit-content;
    margin: 0 auto 18px;
    color: #343A22 !important;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
}

article#post-2 .cb-contact-icon {
    display: block;
    margin: 0 auto;
    color: #B86E43;
    text-align: center;
    line-height: 1;
}

/* SOCIAL LINKS — SINGLE CENTRED ROW */
article#post-2 .cb-social-links {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap;
    justify-content: center !important;
    align-items: center !important;
    gap: 16px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
}

article#post-2 .cb-social-links a {
    display: inline-block;
    flex: 0 0 auto;
    padding: 5px 0;
    color: #343A22 !important;
    font-family: Montserrat, sans-serif;
    font-size: 13px;
    text-decoration: none;
    transition: color 0.2s ease;
}

article#post-2 .cb-social-links a:hover {
    color: #B86E43 !important;
}

article#post-2 .cb-social-divider {
    flex: 0 0 auto;
    color: #B86E43;
}

/* CHARLES BERTRAM — REFINED OLIVE DIVIDER */
article#post-2 .cb-landing-logo::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: min(72%, 580px);
    height: 1px;
    background: #343A22;
}

article#post-2 .cb-landing-logo {
    position: relative;
    padding-bottom: 24px !important;
    margin-bottom: 18px !important;
}

/* CONTACT FORM PANEL
   Contact Form 7 is in a WPBakery Text Block. */
article#post-2 .wpb_text_column .wpcf7 {
    display: block;
    width: calc(100% - 40px);
    max-width: 760px;
    margin: 0 auto 50px;
    padding: 38px 48px;
    background: #FFFEFB;
    border: 1px solid #E6DFD2;
    border-top: 2px solid #343A22;
    border-radius: 2px;
    box-shadow: 0 12px 35px rgba(52, 58, 34, 0.08);
    box-sizing: border-box;
}

article#post-2 .wpb_text_column .wpcf7 form {
    width: 100%;
    margin: 0;
}

/* FORM LABELS */
article#post-2 .wpcf7 form label {
    display: block;
    margin: 0 0 20px;
    color: #343A22;
    font-family: Montserrat, sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.2px;
}

/* INPUT FIELDS AND MESSAGE */
article#post-2 .wpcf7 form input:not([type="submit"]):not([type="checkbox"]),
article#post-2 .wpcf7 form textarea {
    display: block;
    width: 100%;
    max-width: 100%;
    margin-top: 8px;
    padding: 13px 15px;
    color: #343A22;
    background: #FFFFFF;
    border: 1px solid #D8D1C5;
    border-radius: 2px;
    box-shadow: none;
    font-family: Montserrat, sans-serif;
    font-size: 14px;
    font-weight: 400;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

article#post-2 .wpcf7 form textarea {
    min-height: 145px;
    resize: vertical;
}

article#post-2 .cb-phone::before {
    content: "☎";
    display: block;
    color: #343A22;
    font-size: 22px;
    font-weight: normal;
    margin-bottom: 6px;
}

/* INPUT FOCUS */
article#post-2 .wpcf7 form input:focus,
article#post-2 .wpcf7 form textarea:focus {
    border-color: #B86E43;
    outline: none;
    box-shadow: 0 0 0 3px rgba(184, 110, 67, 0.10);
}

/* SEND BUTTON */
article#post-2 .wpcf7 form input[type="submit"] {
    display: inline-block;
    min-width: 190px;
    padding: 15px 28px;
    color: #FFFFFF !important;
    background: #343A22 !important;
    border: 1px solid #343A22 !important;
    border-radius: 2px;
    box-shadow: none;
    font-family: Montserrat, sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}

article#post-2 .wpcf7 form input[type="submit"]:hover {
    color: #FFFFFF !important;
    background: #B86E43 !important;
    border-color: #B86E43 !important;
}

/* FORM VALIDATION AND RESPONSE */
article#post-2 .wpcf7-not-valid-tip {
    margin-top: 5px;
    color: #A33B32;
    font-size: 12px;
}

article#post-2 .wpcf7 form .wpcf7-response-output {
    margin: 20px 0 0;
    padding: 14px 16px;
    font-size: 13px;
    line-height: 1.6;
}

/* RESPONSIVE LAYOUT */
@media (max-width: 767px) {
    article#post-2 .cb-landing-logo {
        padding: 20px 15px 10px;
    }

    article#post-2 .cb-landing-logo img {
        max-width: 340px;
    }

    article#post-2 .cb-contact-section {
        padding: 15px 15px 0;
    }

    article#post-2 .cb-contact-section h1 {
        font-size: 34px;
    }

    article#post-2 .cb-contact-intro {
        font-size: 14px;
    }

    article#post-2 .cb-contact-details {
        margin: 10px auto 22px;
        padding: 0 15px;
    }

    article#post-2 .cb-social-links {
        gap: 10px;
    }

    article#post-2 .cb-social-links a {
        font-size: 12px;
    }

    article#post-2 .wpb_text_column .wpcf7 {
        width: calc(100% - 30px);
        margin-bottom: 35px;
        padding: 25px 20px;
    }

    article#post-2 .wpcf7 form input[type="submit"] {
        width: 100%;
    }
}

@media (max-width: 360px) {
    article#post-2 .cb-social-links {
        gap: 7px;
    }

    article#post-2 .cb-social-links a {
        font-size: 11px;
    }
}
