/* =========================================================================
   eHolidayer — Contact us page
   Scoped to #elx_article_page_8 (article ID 8 = contact-us).
   Matches the Aurora palette: deep-navy, G-blue (#0896FF).
   ========================================================================= */


/* --- Article base ------------------------------------------------------- */
#elx_article_page_8.elx_article_page {
    font-size: 15px;
    line-height: 1.7;
    color: #1a2238;
    max-width: 780px;
}


/* --- Hero (template-override markup — ready when override is added) ------ */
#elx_article_page_8 .contact-hero {
    background: #ffffff;
    border-left: 5px solid #0896FF;
    border-radius: 6px;
    padding: 38px 44px;
    margin: 0 0 32px;
    box-shadow: 0 1px 3px rgba(10,37,64,0.06);
}
#elx_article_page_8 .contact-hero h1 {
    font-size: 30px; font-weight: 700; letter-spacing: -0.01em;
    color: #0A2540; margin: 0 0 10px;
    font-family: 'Inter','Roboto',system-ui,sans-serif;
}
#elx_article_page_8 .contact-hero p {
    font-size: 15px; line-height: 1.6; color: #4a5568;
    margin: 0 0 22px; max-width: 620px;
}
#elx_article_page_8 .contact-meta {
    display: flex; flex-wrap: wrap; gap: 28px; margin-top: 22px;
}
#elx_article_page_8 .contact-meta .meta-item {
    display: flex; align-items: flex-start; gap: 12px;
    font-size: 15px; color: #1a2238; min-width: 220px;
}
#elx_article_page_8 .contact-meta .meta-icon {
    flex: 0 0 40px; width: 40px; height: 40px; border-radius: 50%;
    background: #EFF5FB; color: #0896FF;
    display: flex; align-items: center; justify-content: center; font-size: 18px;
}
#elx_article_page_8 .contact-meta .meta-label {
    display: block; font-size: 12px; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.08em;
    color: #0896FF; margin-bottom: 1px;
}
#elx_article_page_8 .contact-meta a { color: #0896FF; text-decoration: none; }
#elx_article_page_8 .contact-meta a:hover { text-decoration: underline; color: #0670c4; }


/* --- Split area (template-override markup) ------------------------------ */
#elx_article_page_8 .contact-split {
    display: grid; grid-template-columns: 340px 1fr;
    gap: 28px; align-items: start;
}
#elx_article_page_8 .contact-card {
    background: #0A2540; color: #d6dce6; border-radius: 8px;
    padding: 32px 30px; border-left: 5px solid #0896FF;
}
#elx_article_page_8 .contact-card .card-heading {
    font-size: 12px; font-weight: 600; text-transform: uppercase;
    letter-spacing: 0.14em; color: #0896FF; margin: 0 0 8px;
}
#elx_article_page_8 .contact-card h3 {
    font-size: 20px; font-weight: 700; color: #fff; margin: 0 0 20px;
    font-family: 'Inter','Roboto',system-ui,sans-serif;
}
#elx_article_page_8 .contact-card .card-row {
    padding: 14px 0; border-top: 1px solid rgba(255,255,255,0.08);
    font-size: 14px; line-height: 1.6;
}
#elx_article_page_8 .contact-card .card-row:first-of-type { border-top: none; padding-top: 0; }
#elx_article_page_8 .contact-card .card-row strong {
    display: block; font-size: 12px; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.1em;
    color: #8FA8C8; margin-bottom: 4px;
}
#elx_article_page_8 .contact-card a { color: #0896FF; text-decoration: none; }
#elx_article_page_8 .contact-card a:hover { text-decoration: underline; color: #4ea3ff; }
#elx_article_page_8 .contact-card .card-note {
    margin-top: 20px; padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,0.08);
    font-size: 13px; color: #8FA8C8; line-height: 1.5;
}


/* --- Form wrapper (template-override markup) ---------------------------- */
#elx_article_page_8 .contact-formwrap {
    background: #fff; border-radius: 8px;
    padding: 30px 32px; box-shadow: 0 1px 3px rgba(10,37,64,0.06);
}
#elx_article_page_8 .contact-formwrap .form-title {
    font-size: 12px; font-weight: 600; text-transform: uppercase;
    letter-spacing: 0.14em; color: #0896FF; margin: 0 0 6px;
}
#elx_article_page_8 .contact-formwrap h3 {
    font-size: 22px; font-weight: 700; color: #0A2540; margin: 0 0 22px;
    font-family: 'Inter','Roboto',system-ui,sans-serif;
}


/* ========================================================================
   FORM LAYOUT — matches real elxis5Form markup:

   <form class="elx5_form">
     <fieldset class="elx5_fieldset">
       <legend>Contact</legend>
       <div class="elx5_formrow">
         <label class="elx5_label" for="...">Label*</label>
         <div class="elx5_labelside">
           <input class="elx5_text" ...>
         </div>
       </div>
       ...more rows...
       <div class="elx5_vlspace">
         <div class="elx5_formrow">
           <label class="elx5_label"></label>
           <div class="elx5_labelside">
             <button class="elx5_btn elx5_sucbtn">Submit</button>
             <div class="elx5_tip">Fields marked with an asterisk...</div>
           </div>
         </div>
       </div>
     </fieldset>
   </form>
   ======================================================================== */


/* --- Fieldset: strip default browser chrome ----------------------------- */
#elx_article_page_8 .elx5_fieldset {
    border: 0;
    padding: 0;
    margin: 0;
}

#elx_article_page_8 .elx5_fieldset legend {
    font-size: 20px;
    font-weight: 700;
    color: #0A2540;
    margin: 0 0 20px;
    padding: 0;
    font-family: 'Inter','Roboto',system-ui,sans-serif;
}


/* --- Each row: label on top, input below -------------------------------- */
#elx_article_page_8 .elx5_formrow {
    margin: 0 0 16px;
}


/* --- Labels ------------------------------------------------------------- */
#elx_article_page_8 .elx5_label {
    display: block;
    float: none;
    width: auto;
    font-size: 13px;
    font-weight: 600;
    color: #0F1B2D;
    margin: 0 0 6px;
    padding: 0;
    line-height: 1.3;
    text-align: left;
}


/* --- Input wrapper (elx5_labelside resets) ------------------------------ */
#elx_article_page_8 .elx5_labelside {
    float: none;
    width: auto;
    margin: 0;
    padding: 0;
    overflow: visible;
}


/* --- All inputs: override global 20px-height rule ----------------------- */
#elx_article_page_8 .elx5_text,
#elx_article_page_8 .elx5_form input[type="text"],
#elx_article_page_8 .elx5_form input[type="email"],
#elx_article_page_8 .elx5_form input[type="url"],
#elx_article_page_8 .elx5_form input[type="tel"],
#elx_article_page_8 .elx5_form select {
    display: block;
    width: 100%;
    height: auto;
    line-height: normal;
    box-sizing: border-box;
    background: #ffffff;
    border: 1.5px solid #d8dee9;
    border-radius: 5px;
    padding: 11px 14px;
    font-size: 14.5px;
    font-family: 'Roboto','Inter',system-ui,sans-serif;
    color: #1a2238;
    margin: 0;
    transition: border-color 200ms ease, box-shadow 200ms ease;
    vertical-align: middle;
}

#elx_article_page_8 .elx5_textarea,
#elx_article_page_8 .elx5_form textarea {
    display: block;
    width: 100%;
    height: auto;
    line-height: 1.5;
    box-sizing: border-box;
    background: #ffffff;
    border: 1.5px solid #d8dee9;
    border-radius: 5px;
    padding: 11px 14px;
    font-size: 14.5px;
    font-family: 'Roboto','Inter',system-ui,sans-serif;
    color: #1a2238;
    margin: 0;
    min-height: 120px;
    resize: vertical;
    transition: border-color 200ms ease, box-shadow 200ms ease;
    vertical-align: middle;
}

/* Select dropdown — reset global height */
#elx_article_page_8 .elx5_select {
    height: auto;
    line-height: normal;
    padding: 10px 14px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%230F1B2D' d='M1.4 0L6 5.6 10.6 0 12 1.4l-6 6.6L0 1.4z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 12px;
    padding-right: 38px;
}


/* --- Focus -------------------------------------------------------------- */
#elx_article_page_8 .elx5_text:focus,
#elx_article_page_8 .elx5_form input:focus,
#elx_article_page_8 .elx5_form select:focus,
#elx_article_page_8 .elx5_form textarea:focus {
    outline: none;
    border-color: #0896FF;
    box-shadow: 0 0 0 3px rgba(8,150,255,0.15);
    background: #ffffff;
}


/* --- Captcha (math) ----------------------------------------------------- */
#elx_article_page_8 .elx5_sideinput_wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

#elx_article_page_8 .elx5_sideinput_text {
    font-size: 15px;
    font-weight: 600;
    color: #0A2540;
    white-space: nowrap;
}

#elx_article_page_8 .elx5_sideinput_input {
    flex: 1;
}

#elx_article_page_8 .elx5_sideinput_input .elx5_text {
    width: 100%;
}


/* --- NoRobot captcha ---------------------------------------------------- */
#elx_article_page_8 .elx5_labelside .elxnorobot {
    margin: 0 0 4px;
}

#elx_article_page_8 .elxanorobot {
    font-size: 14px;
    color: #1a2238;
}

#elx_article_page_8 .elxnorobotbox {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2px solid #d8dee9;
    border-radius: 3px;
    vertical-align: middle;
    margin-right: 6px;
}


/* --- Submit row --------------------------------------------------------- */
#elx_article_page_8 .elx5_vlspace {
    margin: 24px 0 0;
    padding: 0;
}

#elx_article_page_8 .elx5_vlspace .elx5_formrow {
    margin: 0;
}

/* Hide the empty spacer label in the submit row */
#elx_article_page_8 .elx5_vlspace .elx5_label {
    display: none;
}

#elx_article_page_8 .elx5_vlspace .elx5_labelside {
    float: none;
    width: auto;
}

/* Submit button */
#elx_article_page_8 .elx5_btn.elx5_sucbtn,
#elx_article_page_8 .elx5_vlspace button {
    display: inline-block;
    width: auto;
    height: auto;
    line-height: normal;
    background: #0896FF;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    padding: 13px 38px;
    font-size: 14.5px;
    font-weight: 700;
    font-family: 'Inter','Roboto',system-ui,sans-serif;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(8,150,255,0.25);
    transition: background-color 200ms ease, box-shadow 200ms ease, transform 150ms ease;
    margin: 0;
    vertical-align: middle;
    text-shadow: none;
}

#elx_article_page_8 .elx5_btn.elx5_sucbtn:hover,
#elx_article_page_8 .elx5_vlspace button:hover {
    background: #0670bd;
    box-shadow: 0 4px 14px rgba(8,150,255,0.32);
    transform: translateY(-1px);
}


/* --- Tip text (required-fields note) ------------------------------------ */
#elx_article_page_8 .elx5_tip {
    font-size: 12px;
    color: #6b7280;
    margin: 8px 0 0;
    line-height: 1.4;
}


/* --- Validation + status messages --------------------------------------- */
#elx_article_page_8 .elx5_success,
#elx_article_page_8 .elx5_error,
#elx_article_page_8 .elx5_warning {
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 14px;
    margin: 0 0 16px;
    border-left: 3px solid;
}

#elx_article_page_8 .elx5_success  { background: #eaf7ef; color: #1b5e2e; border-left-color: #2e9e51; }
#elx_article_page_8 .elx5_error    { background: #fdecef; color: #9a1f38; border-left-color: #cc2945; }
#elx_article_page_8 .elx5_warning  { background: #fff7e6; color: #8a5d00; border-left-color: #e69c00; }


/* --- Minitext (small postal-code field) --------------------------------- */
#elx_article_page_8 .elx5_minitext {
    width: 120px;
}


/* --- Info block (address intro from the article body) ------------------- */
#elx_article_page_8 .elx5_info {
    font-size: 14.5px;
    line-height: 1.7;
    color: #4a5568;
    margin: 0 0 24px;
    padding: 16px 20px;
    background: #f8fafd;
    border-left: 3px solid #0896FF;
    border-radius: 0 4px 4px 0;
}


/* --- Responsive --------------------------------------------------------- */
@media (max-width: 860px) {
    #elx_article_page_8 .contact-split {
        grid-template-columns: 1fr;
    }
    .maincontent {
        width: 100% !important;
        box-sizing: border-box;
    }
    #elx_article_page_8 .contact-hero {
        padding: 28px 22px;
    }
    #elx_article_page_8 .contact-meta {
        flex-direction: column;
        gap: 16px;
    }
}

@media (max-width: 560px) {
    #elx_article_page_8 .contact-hero h1 { font-size: 24px; }
    #elx_article_page_8 .contact-formwrap { padding: 22px 18px; }
    #elx_article_page_8 .contact-card { padding: 24px 20px; }
}
