/* ==========================================================================
   Blakemore & Sons — site refresh layer
   Loaded last in footer.php so it can compact the template's inline styles
   without !important. Client-specific: not shared with other breezy tenants.
   ========================================================================== */

:root {
    /* spacing */
    --bmc-1: 4px;
    --bmc-2: 8px;
    --bmc-3: 12px;
    --bmc-4: 16px;
    --bmc-5: 24px;
    --bmc-6: 32px;
    --bmc-7: 48px;
    --bmc-8: 64px;
    --bmc-section: clamp(40px, 5.5vw, 64px);
    --bmc-section-sm: clamp(28px, 4vw, 40px);
    --bmc-banner: 160px;

    /* type */
    --bmc-h1: clamp(28px, 2.2vw + 14px, 34px);
    --bmc-h2: clamp(23px, 1.4vw + 13px, 30px);
    --bmc-h3: clamp(19px, 0.7vw + 13px, 22px);
    --bmc-body: 15px;
    --bmc-body-lg: 16px;
    --bmc-line: 1.6;
    --bmc-tap: 44px;

    --bmc-ease: cubic-bezier(.2, .7, .2, 1);
}

/* --------------------------------------------------------------------------
   1. Vertical rhythm
   -------------------------------------------------------------------------- */

.padding_80,
section.padding_80,
.testimonial-section.padding_80,
.list_section.padding_80,
.blog_sec.padding_80,
.about_us.padding_80 {
    padding: var(--bmc-section) 0;
}

section.feature_sec.padding_50 {
    padding: var(--bmc-section-sm) 0;
}

.image_sec {
    padding: var(--bmc-section) 0 var(--bmc-section-sm);
}

.padd,
.app_sec.padd {
    padding: var(--bmc-section) 0;
}

.padding_50 {
    padding: var(--bmc-section-sm) 0;
}

.padding_10 {
    padding: var(--bmc-2) 0;
}

.padding_15 {
    padding: var(--bmc-3) 0;
}

#clients {
    padding: var(--bmc-section-sm) 0;
}

.col_300px_re .as_full_container {
    padding: var(--bmc-section) 0;
}

.black_footer {
    padding: var(--bmc-section) 0 var(--bmc-section-sm);
}

.white_footer .as_container {
    padding: 16px 15px;
}

.footer_title {
    font-size: var(--bmc-h3);
    line-height: 1.35;
    margin-bottom: 16px;
}

.black_footer .col_300px,
.black_footer .col_500px {
    margin-bottom: 24px;
}

.black_footer .col_300px p,
.black_footer .col_300px a,
.black_footer .col_500px a {
    font-size: 15px;
    line-height: 1.6;
}

.quick_links ul li {
    padding: 1px 0;
}

.footer_acc > p {
    margin-bottom: 8px;
}

/* --------------------------------------------------------------------------
   2. Type scale — keeps the Poppins hierarchy, tightens leading and margins
   -------------------------------------------------------------------------- */

h1, h2, h3, h4, h5, h6 {
    line-height: 1.28;
}

.as_title .title_sec,
.section h2,
.sub_head,
.app_sec .app_title,
.blog_sec .title_sec,
#clients .title_sec,
.additional_page_container h2,
.feature_sec .as_title .title_sec,
.testimonial-section .as_title .title_sec {
    font-size: var(--bmc-h2);
    line-height: 1.3;
    margin: 0 0 16px;
}

.title_head h1,
.banner_div .bnr_hd,
.top_head h1 {
    font-size: var(--bmc-h1);
    line-height: 1.2;
}

.banner_content h1 {
    font-size: clamp(30px, 3.2vw + 8px, 40px);
    line-height: 1.2;
}

.banner_content h2 {
    font-size: clamp(20px, 1.8vw + 8px, 27px);
    line-height: 1.3;
}

.pro_side_title {
    font-size: var(--bmc-h3);
    line-height: 1.35;
    margin: 12px 0 8px;
}

.address_div h2 {
    font-size: clamp(22px, 1.4vw + 14px, 26px);
    line-height: 1.35;
    margin-bottom: 16px;
}

.social_div h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.section p,
.grid_content p,
.additional_page_container p,
.gnb-overall-privacy-policy p,
.gnb-privacy-p-b-10 p,
.gnb-privacy-p-b-50 p,
.form_title p {
    font-size: var(--bmc-body-lg);
    line-height: var(--bmc-line);
    margin-bottom: 14px;
}

.additional_page_container ul li,
.gnb-overall-privacy-policy ul li,
.gnb-privacy-p-b-10 li,
.gnb-privacy-p-b-50 li {
    font-size: var(--bmc-body);
    line-height: 1.6;
    margin-bottom: 6px;
}

.additional_page_container ul,
.gnb-overall-privacy-policy ul {
    margin-bottom: 14px;
}

.section p b,
.additional_page_container p b {
    font-size: 105%;
}

/* --------------------------------------------------------------------------
   3. Buttons, cards and forms
   -------------------------------------------------------------------------- */

.cmn_btn,
.cmn_btn_one,
.cmn_btn_two,
.common_button,
.enquire_btn,
.app_btn,
.contact_section .submit_btn {
    min-height: 46px;
    padding: 10px 24px;
    font-size: 15px;
    line-height: 1.3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cmn_btn {
    height: auto;
}

.h27_default_btn {
    min-height: 42px;
    padding: 10px 22px;
    font-size: 15px;
}

.hover:hover {
    transform: translateY(-3px);
}

.feature_content {
    height: auto;
    min-height: 0;
    padding: 14px 16px;
}

.fe_title {
    height: auto;
    line-height: 1.35;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
}

.feature_content p {
    height: auto;
    max-height: 65px;
}

.fe_price {
    margin-bottom: 6px;
}

.amenities {
    padding: 8px 12px;
    min-height: 36px;
    max-height: 42px;
}

.form-control {
    margin-bottom: 14px;
}

.form_div p {
    margin-bottom: 14px;
}

.contact_section input,
.contact_section textarea {
    margin: 6px 0;
}

/* --------------------------------------------------------------------------
   4. Header, hero and banners
   -------------------------------------------------------------------------- */

.top_head {
    height: clamp(200px, 24vw, 320px);
}

.title_head {
    padding: 10px 16px;
    margin-bottom: 24px;
}

.blog_section {
    padding-top: clamp(120px, 12vw, 150px) !important;
}

.blog_header_block .h27_default_btn {
    margin: var(--bmc-section) 0 16px;
}

.section_img .overlay_section.padding_default {
    margin: clamp(160px, 18vw, 200px) 0 0;
}

/* --------------------------------------------------------------------------
   5. Home page components
   -------------------------------------------------------------------------- */

.testimonial-div {
    padding: 40px 32px;
}

.white-bg {
    margin: 16px 16px 16px 26px;
    height: auto;
    min-height: 340px;
    padding: 40px 28px;
}

.white-bg i {
    top: -20px;
    left: -20px;
    font-size: 40px;
    padding: 14px;
}

.white-bg .para_overflow {
    height: auto;
    max-height: 250px;
}

.white-bg p {
    line-height: 1.6;
    font-size: 15px;
}

.white-bg .person-name {
    font-size: 18px;
}

.app_grid {
    gap: 24px;
}

.app_btn {
    margin-top: 20px;
}

.sub_head {
    margin-bottom: 16px;
}

.request_sec .heading {
    font-size: clamp(24px, 2.4vw + 8px, 34px);
    line-height: 1.3;
    padding-bottom: 0;
    margin: 0 0 18px;
}

/* Sales / results search panel */
#detaild_page.as_home_search {
    padding: 32px 0;
}

#clients .title_sec {
    margin-bottom: 20px;
}

.blog_sec .title_sec {
    margin-bottom: 18px;
}

/* --------------------------------------------------------------------------
   6. Sidebar drawer (replaces the old slideToggle fly menu)
   -------------------------------------------------------------------------- */

.bmc-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .55);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 10050;
    transition: opacity .3s var(--bmc-ease), visibility 0s linear .3s;
}

.bmc-drawer-overlay.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity .3s var(--bmc-ease);
}

.menu_fly_button.bmc-drawer {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(420px, 88vw);
    max-width: 600px;
    height: 100dvh;
    min-height: 100vh;
    display: block;
    padding: 20px 24px 28px;
    background: #262626;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 10060;
    visibility: hidden;
    transform: translateX(100%);
    transition: transform .3s var(--bmc-ease), visibility 0s linear .3s;
}

.menu_fly_button.bmc-drawer.is-open {
    visibility: visible;
    transform: none;
    transition: transform .3s var(--bmc-ease);
}

body.bmc-drawer-open {
    overflow: hidden;
}

.bmc-drawer-close {
    display: grid;
    place-items: center;
    width: var(--bmc-tap);
    height: var(--bmc-tap);
    margin: 0 0 12px auto;
    padding: 0;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

.bmc-drawer-close:hover,
.bmc-drawer-close:focus-visible {
    color: var(--secondary-color);
    outline: none;
}

.menu_fly_button.bmc-drawer ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu_fly_button.bmc-drawer li {
    border-bottom: 1px solid #303030;
    position: relative;
}

.menu_fly_button.bmc-drawer a {
    display: flex;
    align-items: center;
    min-height: 48px;
    width: 100%;
    padding: 12px 0;
    color: #fff;
    font-family: var(--reg);
    font-size: 16px;
    transition: color .2s ease;
}

.menu_fly_button.bmc-drawer a:hover,
.menu_fly_button.bmc-drawer a:focus-visible,
.menu_fly_button.bmc-drawer a.active {
    color: var(--secondary-color);
    outline: none;
}

button.hamburger_menu {
    background: none;
    border: 0;
    padding: 0;
    min-width: var(--bmc-tap);
    min-height: var(--bmc-tap);
    cursor: pointer;
}

button.hamburger_menu:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.hamburger_menu .icon-left,
.hamburger_menu .icon-right {
    left: 50%;
    margin-left: -12px;
}

@media (max-width: 480px) {
    .menu_fly_button.bmc-drawer {
        width: 100%;
        padding: 16px 20px 24px;
    }
}

@media (min-width: 1551px) {
    .menu_fly_button.bmc-drawer,
    .bmc-drawer-overlay {
        display: none !important;
    }
}

/* --------------------------------------------------------------------------
   7. Slick arrows — one aligned pair, sized for touch
   -------------------------------------------------------------------------- */

.feature_sec .as_title,
.testimonial-section .as_title {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.feature_sec .as_title > .col_80,
.testimonial-section .as_title > .col_80 {
    flex: 1 1 auto;
    width: auto;
    float: none;
}

.feature_sec .as_title > .col_20,
.testimonial-section .as_title > .col_20 {
    flex: 0 0 auto;
    width: auto;
    float: none;
}

.as_title .detail_page_sec {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    width: auto;
    padding: 0;
    position: relative;
}

.as_title .detail_page_sec .slick-prev,
.as_title .detail_page_sec .slick-next {
    position: relative;
    float: none;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    transform: none;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    font-size: 0;
    line-height: 0;
    -webkit-tap-highlight-color: transparent;
}

.as_title .detail_page_sec .slick-prev {
    background: #fff;
}

.as_title .detail_page_sec .slick-next {
    background: var(--secondary-color);
}

.as_title .detail_page_sec .slick-prev::before,
.as_title .detail_page_sec .slick-next::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 9px;
    height: 9px;
    margin: -6px 0 0 -6px;
    border: solid;
    border-width: 0 2px 2px 0;
    background: transparent;
}

.as_title .detail_page_sec .slick-prev::before {
    border-color: var(--main-color);
    transform: rotate(135deg);
}

.as_title .detail_page_sec .slick-next::before {
    border-color: #fff;
    transform: rotate(-45deg);
}

.as_title .detail_page_sec .slick-prev:hover,
.as_title .detail_page_sec .slick-prev:focus-visible {
    background: var(--secondary-color);
}

.as_title .detail_page_sec .slick-prev:hover::before,
.as_title .detail_page_sec .slick-prev:focus-visible::before {
    border-color: #fff;
}

.as_title .detail_page_sec .slick-next:hover,
.as_title .detail_page_sec .slick-next:focus-visible {
    background: #1a1a1a;
}

.testimonial-section .detail_page_sec .slick-prev {
    background: var(--main-color);
}

.testimonial-section .detail_page_sec .slick-prev::before {
    border-color: #fff;
}

/* Booking date slider inside a property page — keep arrows off the dates. */
.date_time_slider .slick-prev,
.date_time_slider .slick-next {
    width: 30px;
    height: 30px;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    left: -4px;
    right: auto;
}

.date_time_slider .slick-next {
    left: auto;
    right: -4px;
}

/* --------------------------------------------------------------------------
   8. Standard content pages
   -------------------------------------------------------------------------- */

/* Contact */
.contact_section {
    padding: var(--bmc-section) 0;
}

.form_div {
    padding: 32px;
}

.address_div {
    padding: 32px;
}

.opeaning_timings {
    padding: 28px 20px;
}

.as_map {
    height: 380px;
}

.contact_icon_sub_text,
.contact_icon_sub_text a {
    line-height: 1.6;
}

/* Request valuation */
.valuation_content {
    padding: calc(var(--bmc-section) + 120px) 24px var(--bmc-section);
}

.valuation_container {
    width: 100%;
    max-width: 960px;
    margin-top: 32px;
    padding: 32px;
}

.site_page_title {
    font-size: var(--bmc-h2);
    line-height: 1.3;
}

.site_page_header p {
    font-size: 16px;
    line-height: 1.6;
}

.valuation_submit {
    padding-top: 20px !important;
}

/* Register / account */
#registerContainer {
    min-height: 0;
    padding: calc(var(--bmc-section) + 40px) 0 var(--bmc-section);
}

.favorite-property-wrapper {
    padding: 64px 0;
}

.tem4_fav_container.estate_container .site_page_header {
    margin: 64px auto 0;
}

.favorite-property-wrapper .site_page_header {
    margin-top: 64px;
}

.section_sub_title {
    margin-bottom: 20px;
    line-height: 1.6;
}

.title-border,
.favorite-property-wrapper .site_page_button_holder,
.change-password-wrapper .site_page_button_holder {
    margin-bottom: 28px;
}

/* Blogs */
.blog_header_block .h27_default_btn,
.blog_section .h27_default_btn {
    margin: var(--bmc-section) 0 16px;
}

.news_title {
    line-height: 1.3;
}

#responsive_add_page .pagination {
    margin: 20px 0;
    max-width: 100%;
}

/* Privacy policy */
.gnb-privacy-container {
    padding-left: 24px;
    padding-right: 24px;
}

.gnb-overall-privacy-policy {
    padding-top: 48px;
    padding-bottom: 0;
}

.cnb_privacy_container {
    margin-top: 48px;
}

.gnb-privacy-p-b-50 {
    padding-bottom: 32px;
}

.gnb-privacy-p-b-10 {
    padding-bottom: 8px;
}

.gnb-privacy-head {
    font-size: 21px !important;
    line-height: 1.35;
    margin-bottom: 12px;
}

/* Sales / results */
.flex_page_result {
    gap: 14px;
}

.feature_sec .co_col.co_col_100.search_result {
    padding: 8px 12px;
}

.search_result {
    font-size: 15px;
}

/* Property detail */
.property_details_list {
    padding: 12px 0 0;
}

.propery_side_div {
    margin-bottom: 20px;
}

.pro_side_title {
    margin-top: 10px;
    margin-bottom: 10px;
}

.detail_page_wrapper .section-title {
    margin-bottom: 14px;
}

.property_feature {
    padding-right: 8px;
    margin-bottom: 8px;
}

.contact_div {
    margin-top: 8px;
}

.enquire_btn {
    padding: 12px 24px;
}

.book_viewing_sec {
    padding-top: 12px;
}

/* --------------------------------------------------------------------------
   9. Small screens
   -------------------------------------------------------------------------- */

@media (max-width: 991px) {
    .padding_80,
    section.padding_80,
    .image_sec,
    .padd,
    .app_sec.padd,
    .about_us.padding_80,
    .list_section.padding_80,
    .blog_sec.padding_80,
    .testimonial-section.padding_80,
    .col_300px_re .as_full_container,
    .contact_section {
        padding-top: var(--bmc-section-sm);
        padding-bottom: var(--bmc-section-sm);
    }

    .black_footer {
        padding-top: var(--bmc-section-sm);
        padding-bottom: 24px;
    }

    .contact_row {
        gap: 24px;
    }

    section.feature_sec.padding_50 {
        padding: 32px 0;
    }

    #detaild_page.as_home_search {
        padding: 24px 0 28px;
    }

    .address_div {
        gap: 16px;
    }

    .as_map {
        height: 340px;
    }

    .valuation_container {
        padding: 24px;
    }

    .form_div {
        padding: 28px;
    }

    .gnb-overall-privacy-policy {
        padding-top: 32px;
    }

    .blog_section {
        padding-top: 110px !important;
    }

    .blog_header_block .h27_default_btn {
        margin: 40px 0 16px;
    }
}

@media (max-width: 768px) {
    .form_div,
    .address_div {
        padding: 22px;
    }

    .opeaning_timings {
        padding: 22px 16px;
    }

    .as_map {
        height: 300px;
    }

    .valuation_content {
        padding: calc(var(--bmc-section) + 30px) 16px var(--bmc-section);
    }

    .valuation_container {
        padding: 20px;
        margin-top: 20px;
    }

    .white-bg {
        margin: 10px 10px 10px 20px;
        min-height: 0;
        padding: 28px 20px;
    }

    .white-bg .para_overflow {
        max-height: 220px;
    }

    .testimonial-div {
        padding: 28px 20px;
    }

    .address_div ul li {
        padding-bottom: 14px;
        margin-bottom: 14px;
    }

    .contact_section input,
    .contact_section textarea {
        height: 46px;
    }

    .contact_section textarea {
        height: 96px;
    }
}

@media (max-width: 640px) {
    .feature_sec .as_title,
    .testimonial-section .as_title {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .feature_sec .as_title > .col_80,
    .testimonial-section .as_title > .col_80 {
        flex: 0 0 auto;
        width: 100%;
    }

    .feature_sec .as_title > .col_20,
    .testimonial-section .as_title > .col_20 {
        width: 100%;
    }

    .as_title .detail_page_sec {
        width: 100%;
        justify-content: flex-end;
    }

    .as_title .detail_page_sec .slick-prev,
    .as_title .detail_page_sec .slick-next {
        width: 40px;
        height: 40px;
    }

    .contact_row {
        gap: 18px;
    }

    .blog_section {
        padding-top: 70px !important;
    }
}

@media (max-width: 480px) {
    .padding_80,
    section.padding_80,
    .image_sec,
    .padd,
    .app_sec.padd,
    .about_us.padding_80,
    .list_section.padding_80,
    .blog_sec.padding_80,
    .testimonial-section.padding_80,
    .col_300px_re .as_full_container,
    .contact_section {
        padding-top: 36px;
        padding-bottom: 36px;
    }

    .padding_50 {
        padding-top: 28px;
        padding-bottom: 28px;
    }

    section.feature_sec.padding_50 {
        padding: 28px 0;
    }

    .title_head {
        margin-left: auto;
        margin-right: auto;
        padding: 8px 14px;
    }

    .form_div {
        padding: 20px 15px;
        border-radius: 12px;
    }

    .address_div {
        padding: 20px 16px;
    }

    .as_map {
        height: 260px;
    }

    .white-bg {
        margin: 6px 6px 6px 16px;
        padding: 24px 16px;
    }

    .white-bg .para_overflow {
        max-height: 200px;
    }

    .white-bg i {
        top: -14px;
        left: -14px;
        font-size: 32px;
        padding: 12px;
    }

    .black_footer {
        padding-top: 36px;
    }

    .footer_title {
        margin-bottom: 12px;
    }

    .contact_icon_sub_text,
    .contact_icon_sub_text a,
    .opening-hour-time,
    .opening-hour-time span {
        font-size: 14px;
    }
}

@media (max-width: 390px) {
    .section p,
    .grid_content p,
    .additional_page_container p,
    .gnb-overall-privacy-policy p,
    .gnb-privacy-p-b-10 p,
    .gnb-privacy-p-b-50 p,
    .form_title p {
        font-size: 15px;
    }

    .white-bg .para_overflow {
        max-height: 190px;
    }
}
