/* ==========================================================================
   MNS Real Estate NYC — Tablet, Foldable & Mid-Screen Styles (tablet.css)
   Target Range: 481px – 1199px ONLY (Desktop 1200px+ & Portrait Mobile <=480px untouched)
   Phase 1: Global Foundation (Typography, Header, Nav, Footer, Forms/Buttons) + Home Page
   ========================================================================== */


/* ==========================================================================
   ZONE 1: MAIN TABLETS, UNFOLDED WIDE & LARGE LANDSCAPE (768px – 1199px)
   Covers: iPad Mini/8/9/10/Air/Pro (768px–1194px), iPhone Duo Unfolded Wide (890px)
   ========================================================================== */
@media only screen and (min-width: 768px) and (max-width: 1199px) {

    /* --- 1. Base Typography & Root Scale (1rem = 10px) --- */
    html {
        font-size: 62.5%;
    }

    body {
        font-size: 1.5rem;
        line-height: 1.4;
    }

    h2,
    .av_rent_pr {
        font-size: 2.8rem;
    }

    .top_space {
        padding-top: 4rem;
    }

    /* --- 2. Global Header & Slide-Out Navigation --- */
    .logo_list {
        width: 9.6rem;
        padding-top: 2.2rem;
    }

    .mail_icon {
        width: 2.4rem;
        height: 1.8rem;
        background-size: contain;
        top: 38%;
        left: 2.2%;
        margin-top: 0;
    }

    button.nav_icon[type=button] {
        width: 2.8rem;
        height: 2.2rem;
        background-size: contain;
        top: 36%;
        right: 2.2%;
    }

    nav {
        position: fixed;
        width: 36%;
        min-width: 30rem;
        max-width: 36rem;
        overflow-y: auto;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.08);
    }

    button.close.nav_close {
        display: flex;
        justify-content: flex-end;
        width: auto;
        height: auto;
        margin: 1.6rem 1.8rem 0 auto;
    }

    .nav_close svg {
        width: 2.4rem;
        height: 2.4rem;
    }

    .menu_layout {
        padding-top: 4.5rem;
    }

    nav ul li a {
        font-size: 1.5rem;
        padding: 1.15rem 10%;
    }

    nav ul li .menu_dropdown_toggle {
        padding-right: 10%;
    }

    nav ul li .menu_arrow {
        width: 1.4rem;
        height: 0.7rem;
        min-width: 14px;
        min-height: 7px;
    }

    nav ul.drop.menu_sub li a {
        font-size: 1.35rem;
        padding: 1rem 10% 1rem 14%;
    }

    nav ul li .search {
        margin: 3.2rem 10% 3rem;
    }

    .search input[type=search] {
        height: 3.6rem;
        font-size: 1.3rem;
        border-bottom-width: 1.5px;
        padding-right: 2.8rem;
    }

    nav ul li .search button[type=submit],
    .agents_search button[type=submit] {
        width: 1.8rem;
        min-width: 0;
        height: 1.8rem;
        padding: 0;
        right: 0;
        top: 0.9rem;
        background-position: right center;
        background-size: contain;
    }

    /* --- 3. Global Buttons, Inputs, Selects & Refined Borders --- */
    button[type="submit"],
    button[type="button"],
    a.swich_btn,
    .fill_form input[type="text"],
    .fill_form input[type="email"],
    .fill_form label,
    .fill_form input[type=radio],
    .ui-selectmenu-button.ui-button,
    .drop_down > .ui-selectmenu-button.ui-button,
    button.ui-multiselect,
    .drop_down.nhood_wrap .n_hood,
    .min_max_wrap > .drop_down > .ui-selectmenu-button.ui-button,
    .nhood_content .right button.select_all_hoods,
    .apart_layout button.m_more,
    .apart_layout button.reset,
    .more_layout button,
    .rel_more button,
    .rel_more a,
    .rep_link a,
    .dt_gr a,
    .dt_gr button[type=button],
    .multi_search input,
    .about_mns_btn,
    .view_more_press_btn {
        height: 3.6rem;
        font-size: 1.2rem;
    }

    .fill_form input[type="text"],
    .fill_form input[type="email"],
    .fill_form label,
    .fill_form input[type=radio],
    .fill_form textarea,
    .ui-selectmenu-button.ui-button,
    .drop_down > .ui-selectmenu-button.ui-button,
    button.ui-multiselect,
    .drop_down.nhood_wrap .n_hood,
    .min_max_wrap > .drop_down > .ui-selectmenu-button.ui-button,
    .nhood_content .right button.select_all_hoods,
    .more_layout button,
    .rel_more button,
    .rel_more a,
    .rep_link.new_dev_link,
    .dt_gr a,
    .dt_gr button[type=button],
    .multi_search input {
        border-width: 1.5px;
    }

    .min_max_wrap > .drop_down.min > .ui-selectmenu-button.ui-button {
        border-right: 0;
    }

    .min_max_wrap > .drop_down.max > .ui-selectmenu-button.ui-button {
        border-left: 0;
    }

    .min_max_line {
        width: 1.5px;
    }

    .fill_form input[type="text"],
    .fill_form input[type="email"] {
        padding: 0 1.2rem;
    }

    .fill_form textarea {
        height: 11rem;
        padding: 1.2rem 1.4rem;
        font-size: 1.3rem;
    }

    .ui-widget.ui-widget-content,
    .ui-multiselect-checkboxes label,
    .n_search_checkbox label,
    .more_menu .top h3,
    .more_menu .bottom h3,
    .disclosure label {
        font-size: 1.2rem;
    }

    .multi_search input[type="text"]::placeholder,
    .fill_form input[type=text]::placeholder,
    .fill_form input[type=email]::placeholder,
    .fill_form textarea::placeholder,
    .search input[type=search]::placeholder {
        font-size: 1.2rem;
    }

    .multi_search input[type="text"]::-webkit-input-placeholder,
    .fill_form input[type=text]::-webkit-input-placeholder,
    .fill_form input[type=email]::-webkit-input-placeholder,
    .fill_form textarea::-webkit-input-placeholder,
    .search input[type=search]::-webkit-input-placeholder {
        font-size: 1.2rem;
    }

    .multi_search input[type="text"]::-moz-placeholder,
    .fill_form input[type=text]::-moz-placeholder,
    .fill_form input[type=email]::-moz-placeholder,
    .fill_form textarea::-moz-placeholder,
    .search input[type=search]::-moz-placeholder {
        font-size: 1.2rem;
    }

    /* Preserve icon-only button dimensions */
    button.nav_icon[type=button] {
        height: 2.2rem;
    }

    button.close.close_icon,
    button.close.nav_close,
    button.listings_star[type=button],
    .list_filter button[type=button],
    .results_bottom ul.state3 li.list_layout .list_info button[type=button] {
        height: auto;
    }

    button.listings_star[type=button] {
        font-size: 1.8rem;
    }

    .close_icon svg {
        width: 2.4rem;
        height: 2.4rem;
    }

    .multi_search input {
        padding: 0 1.2rem 0 3rem;
    }

    .multi_search button[type="button"] {
        left: 1rem;
        top: 50%;
        transform: translateY(-50%);
        width: 1.3rem;
        height: 1.3rem;
        background-size: contain;
    }

    /* --- 4. Global Contact / "Say Hi" Form & Modal --- */
    .sec_cont {
        width: 62%;
        max-width: 54rem;
    }

    .sec_cont > div {
        width: 60%;
        max-width: 28rem;
        padding: 2.8rem 0 2.2rem;
    }

    .form_layout .fill_form,
    .form_layout.fill_form,
    .buyer_with_broker {
        margin-bottom: 1.4rem;
    }

    .fill_form.submit_form {
        padding: 1.6rem 0 3rem;
    }

    button[type="submit"] {
        width: auto;
        min-width: 14rem;
        padding: 0 2.8rem;
    }

    .contact_modal_lyt .modal-dialog {
        max-width: 60%;
        width: 50rem;
    }

    .contact_modal .fill_form,
    .more_modal_lyt .right form .fill_form {
        margin-bottom: 1.4rem;
    }

    /* --- 5. Global Footer --- */
    footer {
        padding: 3.8rem 2rem 2.8rem;
    }

    footer .left {
        padding: 0 0 1.6rem;
    }

    footer .left h3 {
        padding-bottom: 0.6rem;
    }

    footer .left h3,
    footer .left p,
    .soc_pay_layout a,
    .disclosure_forms a,
    .footer_copy {
        font-size: 1.3rem;
    }

    .disclosure_forms {
        flex-wrap: wrap;
        gap: 0.8rem 2rem;
        padding-bottom: 1.4rem;
    }

    .disclosure_forms a {
        margin-right: 0;
    }

    .soc_pay_layout {
        padding-bottom: 1.4rem;
    }

    .soc_pay_layout a {
        align-items: center;
    }

    .soc_pay_layout a img {
        width: 14.5rem;
        padding-left: 1.2rem;
    }

    .soc_pay_layout a img.am_express {
        width: 5.5rem;
        height: 1.6rem;
    }

    footer .social {
        padding-bottom: 1.4rem;
    }

    .social li {
        margin-right: 1.8rem;
    }

    .social li:last-child {
        margin-right: 0;
    }

    .social li a i {
        font-size: 1.8rem;
    }

    .social li a svg.x_icon {
        width: 1.7rem;
        height: 1.7rem;
    }

    .home_logo,
    .disability_logo {
        width: 1.6rem;
        height: 1.5rem;
        margin-left: 0.8rem;
        background-size: contain;
    }

    /* --- 6. HOME PAGE (/) --- */
    .home_srch_lyt {
        flex-direction: column;
        align-items: stretch;
        gap: 1.4rem;
        margin-bottom: 1.8rem;
    }

    .home_srch_lyt > h2 {
        width: 100%;
        font-size: 2.4rem;
        padding-bottom: 0;
        text-align: left;
    }

    .home_srch_card {
        width: 100%;
    }

    .home_srch_card .apart_layout {
        height: auto;
        gap: 1%;
    }

    .home_srch_card .swich_btn_list {
        width: 25.5%;
    }

    .home_srch_card .multi_search {
        width: 26%;
    }

    .home_srch_card .bedrooms_card {
        width: 24%;
    }

    .home_srch_card button[type="submit"] {
        width: 21.5%;
        min-width: 0;
        padding: 0 0.8rem;
    }

    .home_srch_card .swich_btn_list a.swich_btn,
    .home_srch_card button[type="submit"],
    .home_srch_card .bedrooms_card > button[type="button"],
    .home_srch_card .multi_search input {
        height: 3.6rem;
        font-size: 1.1rem;
    }

    .home_srch_card .bedrooms_card > button {
        border-right-width: 1px;
    }

    .home_srch_card .multi_search input {
        padding: 0 1rem 0 2.8rem;
    }

    .home_srch_card .multi_search input[type="text"]::placeholder {
        font-size: 1.1rem;
    }

    .home_srch_card .multi_search input[type="text"]::-webkit-input-placeholder {
        font-size: 1.1rem;
    }

    .home_srch_card .multi_search input[type="text"]::-moz-placeholder {
        font-size: 1.1rem;
    }

    .home_srch_card .multi_search button[type="button"] {
        left: 1rem;
        top: 50%;
        transform: translateY(-50%);
        width: 1.2rem;
        height: 1.2rem;
        background-size: contain;
    }

    .about_mns {
        padding: 4.8rem 0 3.8rem;
    }

    .about_mns h2 {
        padding-bottom: 1.8rem;
    }

    .about_mns p {
        max-width: 68rem;
        margin: 0 auto;
        font-size: 1.5rem;
        line-height: 1.65;
        padding-bottom: 2.4rem;
    }

    .about_mns_btn {
        height: 3.8rem;
        padding: 0 2.6rem;
        font-size: 1.2rem;
    }

    .services {
        padding: 2rem 0 5.5rem;
    }

    .real_estate {
        margin-bottom: 1rem;
    }

    .real_estate > h2 {
        padding-bottom: 0.5rem;
    }

    .real_estate > h3 {
        font-size: 1.35rem;
    }

    .services_list {
        width: 18.8%;
        border-radius: 14px;
    }

    .services_list a {
        padding: 1.6rem 1.2rem 2.2rem;
    }

    .services_list a .services_bg {
        width: 4.4rem;
        height: 4.4rem;
        margin-bottom: 1.3rem;
    }

    .services_list:nth-child(3) a .services_bg {
        width: 100%;
        height: 4.4rem;
    }

    .services_list:nth-child(5) a .services_bg {
        width: 6.6rem;
        height: 4.4rem;
    }

    .services_list h3 {
        font-size: 1.18rem;
        line-height: 1.22;
        padding-bottom: 0.7rem;
    }

    .services_list p {
        font-size: 1.15rem;
        line-height: 1.35;
    }

}


/* Extra breathing room on wider tablets / iPad Landscape (992px – 1199px) */
@media only screen and (min-width: 992px) and (max-width: 1199px) {

    h2,
    .av_rent_pr {
        font-size: 3rem;
    }

    .home_srch_card .swich_btn_list a.swich_btn,
    .home_srch_card button[type="submit"],
    .home_srch_card .bedrooms_card > button[type="button"],
    .home_srch_card .multi_search input {
        font-size: 1.2rem;
    }

    .home_srch_card .multi_search input[type="text"]::placeholder {
        font-size: 1.2rem;
    }

    .home_srch_card .multi_search input[type="text"]::-webkit-input-placeholder {
        font-size: 1.2rem;
    }

    .services_list a {
        padding: 2rem 1.5rem 2.6rem;
    }

    .services_list h3 {
        font-size: 1.3rem;
    }

    .services_list p {
        font-size: 1.2rem;
    }

}


/* ==========================================================================
   ZONE 2: UNFOLDED TALL, SMALL TABLETS & PHONE LANDSCAPE (481px – 767px)
   Covers: iPhone Duo Unfolded Tall (626px), Galaxy Fold (690–748px),
           iPad Mini Portrait (744px), Phone Landscape (568–767px)
   Keeps responsive.css layout structure while normalizing oversized vw -> rem
   ========================================================================== */
@media only screen and (min-width: 481px) and (max-width: 767px) {

    /* --- 1. Base Typography & Root Scale (1rem = 10px) --- */
    html {
        font-size: 62.5%;
    }

    body,
    .bld_table_layout table tbody tr td a.icon-dl:before {
        font-size: 1.6rem;
        line-height: 1.45;
    }

    h2,
    .tabs_open.phone_tab a,
    .home_srch_lyt > h2 {
        font-size: 3rem;
    }

    h3 {
        font-size: 1.7rem;
    }

    .content {
        padding: 0 2.4rem;
    }

    .top_space {
        padding-top: 4.5rem;
    }

    /* --- 2. Header & Full-Screen Menu (including Landscape Submenu Fix) --- */
    .logo_list {
        width: 11rem;
        padding: 2.4rem 0 0 0;
    }

    button.nav_icon[type=button] {
        width: 3.2rem;
        height: 2.5rem;
        top: 2.8rem;
        right: 2.4rem;
        background-size: contain;
    }

    button.close.nav_close {
        width: 3.6rem;
        height: 3.6rem;
        top: 1.6rem;
        right: 2rem;
    }

    .nav_close svg {
        width: 2.4rem;
        height: 2.4rem;
    }

    nav {
        overflow-y: auto;
    }

    .menu_layout > ul {
        padding: 5.5rem 0 3.5rem;
        vertical-align: middle;
    }

    /* Fixes empty 20vw gap above dropdown submenu in Landscape */
    nav .menu_layout ul.drop.menu_sub {
        padding: 0;
    }

    nav ul li a {
        font-size: 1.8rem;
        padding: 1.1rem 0;
    }

    nav ul li .menu_arrow {
        width: 1.5rem;
        height: 0.8rem;
        min-width: 14px;
        min-height: 7px;
        margin-left: 0.8rem;
        margin-right: -2.3rem;
    }

    nav ul.drop.menu_sub li a {
        padding: 1rem 0;
        font-size: 1.5rem;
    }

    nav ul li .search {
        max-width: 32rem;
        margin: 2rem auto 0;
    }

    .search input[type=search] {
        height: 3.8rem;
        font-size: 1.4rem;
        padding-right: 3rem;
        border-bottom-width: 1.5px;
    }

    nav ul li .search button[type=submit],
    .agents_search button[type=submit] {
        width: 1.8rem;
        min-width: 0;
        height: 1.8rem;
        padding: 0;
        right: 0;
        top: 1rem;
        background-position: right center;
        background-size: contain;
    }

    /* --- 3. Global Buttons, Inputs, Selects & Say Hi Form --- */
    button[type="submit"],
    button[type="button"] {
        font-size: 1.3rem;
        height: 4rem;
    }

    button[type="submit"] {
        width: auto;
        min-width: 16rem;
        padding: 0 3rem;
    }

    .ui-selectmenu-button.ui-button,
    .fill_form input[type="text"],
    .fill_form input[type="email"],
    .fill_form input[type="radio"],
    .fill_form label,
    .dt_gr a,
    .dv_line,
    .dt_gr button[type=button],
    .rep_link a,
    button[type=button].swich_btn,
    .drop_down > .ui-selectmenu-button.ui-button,
    button.ui-multiselect,
    .drop_down.nhood_wrap .n_hood,
    .min_max_wrap > .drop_down > .ui-selectmenu-button.ui-button,
    .multi_sl_bar .right.more,
    a.swich_btn,
    .multi_search input,
    .apart_layout button.m_more,
    .apart_layout button.reset,
    .nhood_content .right button.select_all_hoods,
    .home_srch_card .multi_search input {
        height: 4rem;
        font-size: 1.3rem;
    }

    .fill_form input[type="text"],
    .fill_form input[type="email"],
    .fill_form label,
    .fill_form input[type=radio],
    .fill_form textarea,
    .ui-selectmenu-button.ui-button,
    .drop_down > .ui-selectmenu-button.ui-button,
    button.ui-multiselect,
    .drop_down.nhood_wrap .n_hood,
    .min_max_wrap > .drop_down > .ui-selectmenu-button.ui-button,
    .multi_search input {
        border-width: 1.5px;
    }

    .min_max_wrap > .drop_down.min > .ui-selectmenu-button.ui-button {
        border-right: 0;
    }

    .min_max_wrap > .drop_down.max > .ui-selectmenu-button.ui-button {
        border-left: 0;
    }

    .fill_form textarea {
        height: 12rem;
        padding: 1.2rem 1.4rem;
        font-size: 1.4rem;
    }

    .ui-selectmenu-button.ui-button,
    .fill_form input[type="submit"],
    .home_srch_card .swich_btn_list a.swich_btn,
    .home_srch_card button[type="submit"],
    .home_srch_card .bedrooms_card > button[type="button"],
    .drop_down > .ui-selectmenu-button.ui-button,
    button.ui-multiselect,
    .drop_down.nhood_wrap .n_hood,
    .min_max_wrap > .drop_down > .ui-selectmenu-button.ui-button,
    .multi_sl_bar .right.more,
    .n_search_checkbox label,
    .dt_gr a,
    .dt_gr button[type=button],
    .rep_link a,
    .fill_form label,
    .disclosure label {
        font-size: 1.3rem;
    }

    .ui-widget.ui-widget-content,
    .ui-multiselect-checkboxes label,
    .more_menu .top h3,
    .more_menu .bottom h3 {
        font-size: 1.3rem;
    }

    .fill_form input[type=text]::placeholder,
    .fill_form input[type=email]::placeholder,
    .fill_form textarea::placeholder,
    .search input[type=search]::placeholder,
    .multi_search input[type="text"]::placeholder,
    .home_srch_card .multi_search input[type="text"]::placeholder {
        font-size: 1.3rem;
    }

    .fill_form input[type=text]::-webkit-input-placeholder,
    .fill_form input[type=email]::-webkit-input-placeholder,
    .fill_form textarea::-webkit-input-placeholder,
    .search input[type=search]::-webkit-input-placeholder,
    .multi_search input[type="text"]::-webkit-input-placeholder,
    .home_srch_card .multi_search input[type="text"]::-webkit-input-placeholder {
        font-size: 1.3rem;
    }

    .fill_form input[type=text]::-moz-placeholder,
    .fill_form input[type=email]::-moz-placeholder,
    .fill_form textarea::-moz-placeholder,
    .search input[type=search]::-moz-placeholder,
    .multi_search input[type="text"]::-moz-placeholder,
    .home_srch_card .multi_search input[type="text"]::-moz-placeholder {
        font-size: 1.3rem;
    }

    .form_layout .fill_form,
    .fill_form.submit_form input[type="submit"],
    .multi_sl_bar .left_buttons > .drop_down,
    .drop_down.nhood_wrap,
    .min_max_wrap,
    .multi_sl_bar .right.more,
    .fill_form,
    .form_layout.fill_form,
    .contact_modal .fill_form,
    .more_modal_lyt .right form .fill_form {
        margin-bottom: 1.5rem;
    }

    .sec_cont {
        max-width: 52rem;
        padding: 0 2.4rem;
    }

    .sec_cont > div {
        width: 22rem;
        padding: 3rem 0 2.2rem;
    }

    .contact_layout {
        padding-bottom: 6rem;
    }

    .disclosure {
        margin: 1.6rem auto 2.2rem;
    }

    .disclosure label:before {
        width: 1.4rem;
        height: 1.4rem;
        left: -2.2rem;
        top: 0.2rem;
        background-size: contain;
    }

    /* Preserve icon-only button dimensions */
    button.nav_icon[type=button] {
        width: 3.2rem;
        height: 2.5rem;
    }

    button.close.nav_close {
        width: 3.6rem;
        height: 3.6rem;
    }

    button.close.close_icon,
    button.listings_star[type=button] {
        width: auto;
        height: auto;
    }

    button.listings_star[type=button] {
        font-size: 2rem;
    }

    /* --- 4. Global Footer --- */
    footer {
        padding: 4.2rem 2.4rem;
    }

    footer .left {
        padding: 0 0 2rem;
    }

    footer .left h3 {
        padding-bottom: 0.6rem;
    }

    .footer_address .m_divider {
        padding-top: 0.5rem;
    }

    footer .left h3,
    footer .left p,
    .soc_pay_layout a > span,
    .disclosure_forms a,
    .footer_copy {
        font-size: 1.4rem;
    }

    .soc_pay_layout {
        padding: 0 0 2rem;
    }

    .soc_pay_layout a > span:first-child {
        padding-bottom: 1rem;
    }

    .soc_pay_layout a img {
        width: 18rem;
    }

    .soc_pay_layout a img.am_express {
        width: 6.2rem;
        height: 1.8rem;
        padding-left: 1rem;
    }

    footer .disclosure_forms {
        padding-bottom: 2rem;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.8rem 2rem;
    }

    .disclosure_forms a {
        padding-bottom: 0;
    }

    footer .social {
        padding: 0 0 2rem;
    }

    .social li {
        margin-right: 2.2rem;
    }

    .social li:last-child {
        margin-right: 0;
    }

    .social li a i {
        font-size: 2rem;
    }

    .social li a svg.x_icon {
        width: 1.9rem;
        height: 1.9rem;
    }

    .home_logo,
    .disability_logo {
        width: 1.8rem;
        height: 1.7rem;
        margin-left: 1rem;
        background-size: contain;
    }

    /* --- 5. HOME PAGE (/) --- */
    .home_srch_lyt {
        padding-bottom: 3.2rem;
    }

    .home_top h2 {
        padding-bottom: 2rem;
        text-align: center;
    }

    .home_srch_lyt > h2 {
        font-size: 2.6rem;
    }

    .home_srch_lyt > h2 .we_are_mns {
        display: inline;
    }

    .home_srch_card {
        max-width: 52rem;
        margin: 0 auto;
    }

    .home_srch_card .swich_btn_list,
    .home_srch_card .bedrooms_card,
    .home_srch_card .multi_search {
        margin-bottom: 1.2rem;
    }

    .home_srch_card button[type="submit"] {
        width: 100%;
    }

    .home_srch_card .bedrooms_card > button {
        border-right-width: 1px;
    }

    .multi_search input[type="text"],
    .home_srch_card .multi_search input[type="text"] {
        padding: 0 1.4rem 0 3.4rem;
    }

    .multi_search button[type="button"],
    .home_srch_card .multi_search button[type="button"] {
        left: 1.2rem;
        top: 50%;
        transform: translateY(-50%);
        width: 1.4rem;
        height: 1.4rem;
        background-size: contain;
    }

    .home_top video {
        height: 52vw;
        max-height: 36rem;
    }

    .about_mns {
        padding: 4.8rem 0 1rem;
    }

    .about_mns h2 {
        font-size: 2.8rem;
        padding-bottom: 1.6rem;
    }

    .about_mns h2 .m_divider {
        display: inline;
    }

    .about_mns p {
        font-size: 1.6rem;
        line-height: 1.6;
        max-width: 58rem;
        margin: 0 auto;
        padding-bottom: 2.6rem;
    }

    .about_mns_btn {
        height: 4rem;
        padding: 0 2.8rem;
        font-size: 1.3rem;
    }

    .services {
        padding: 4.5rem 0 5.5rem;
    }

    .real_estate {
        padding-bottom: 2.4rem;
    }

    .real_estate > h2 {
        font-size: 2.8rem;
        padding-bottom: 0.8rem;
    }

    .real_estate > h2 .m_divider,
    .real_estate > h3 .m_divider {
        display: inline;
    }

    .real_estate > h3 {
        font-size: 1.5rem;
    }

    .services_layout {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.6rem;
    }

    .services_list {
        width: calc(50% - 0.8rem);
        margin-bottom: 0;
        border-radius: 12px;
    }

    .services_list a {
        height: 100%;
        padding: 2.2rem 2rem;
    }

    .services_list a .services_bg {
        width: 4.8rem;
        height: 4.8rem;
        margin-bottom: 1.4rem;
    }

    .services_list:nth-child(3) a .services_bg {
        width: 17rem;
        max-width: 100%;
        height: 3.6rem;
        margin-bottom: 1.4rem;
    }

    .services_list:nth-child(5) a .services_bg {
        width: 7.6rem;
        height: 4.4rem;
        margin-bottom: 1.4rem;
    }

    .services_list h3 {
        font-size: 1.45rem;
        line-height: 1.25;
        padding-bottom: 0.8rem;
    }

    .services_list p {
        font-size: 1.35rem;
        line-height: 1.4;
    }

}
