/* =========================================================
   ALANYA HOME — MODERN HOMEPAGE
   ========================================================= */

body.ah-theme {
    background:#fff;
}

.ah-home {
    background:#fff;
}

.ah-home .ah-container {
    width:min(1240px, calc(100% - 48px));
    margin-left:auto;
    margin-right:auto;
}


/* =========================================================
   HERO
   ========================================================= */

.ah-home-hero {
    position:relative;
    min-height:650px;
    background-position:center;
    background-size:cover;
    background-repeat:no-repeat;
    overflow:hidden;
}

.ah-home-hero-overlay {
    position:absolute;
    inset:0;
    background:
        linear-gradient(
            90deg,
            rgba(10,10,10,.84) 0%,
            rgba(10,10,10,.67) 42%,
            rgba(10,10,10,.25) 72%,
            rgba(10,10,10,.14) 100%
        );
}

.ah-home-hero-inner {
    position:relative;
    z-index:2;
    min-height:650px;
    display:flex;
    flex-direction:column;
    justify-content:center;
    padding-top:75px;
    padding-bottom:55px;
}

.ah-home-hero-copy {
    width:min(690px, 100%);
}

.ah-home-kicker,
.ah-home-section-kicker,
.ah-home-final-kicker {
    color:#c9a968;
    font-size:10px;
    font-weight:700;
    line-height:1.3;
    letter-spacing:.17em;
    text-transform:uppercase;
}

.ah-home-title {
    margin:17px 0 20px;
    max-width:680px;
    color:#fff;
    font-size:clamp(46px, 5.2vw, 76px);
    line-height:.99;
    letter-spacing:-.045em;
    font-weight:650;
}

.ah-home-lead {
    max-width:610px;
    margin:0;
    color:rgba(255,255,255,.82);
    font-size:17px;
    line-height:1.7;
}

.ah-home-hero-actions {
    display:flex;
    flex-wrap:wrap;
    gap:12px;
    margin-top:30px;
}

.ah-home-btn {
    min-height:50px;
    padding:0 22px;
    border-radius:9px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    text-decoration:none !important;
    font-size:12px;
    font-weight:700;
    letter-spacing:.02em;
    transition:.2s ease;
}

.ah-home-btn-primary {
    background:#b99450;
    color:#fff !important;
    border:1px solid #b99450;
}

.ah-home-btn-primary:hover {
    background:#a9823f;
    border-color:#a9823f;
}

.ah-home-btn-ghost {
    border:1px solid rgba(255,255,255,.45);
    color:#fff !important;
    background:rgba(255,255,255,.04);
    backdrop-filter:blur(8px);
}

.ah-home-btn-ghost:hover {
    background:#fff;
    color:#111 !important;
}


/* search */

.ah-home-search {
    width:min(1060px, 100%);
    margin-top:46px;
    padding:20px;
    background:rgba(255,255,255,.96);
    border-radius:14px;
    box-shadow:0 22px 60px rgba(0,0,0,.17);
}

.ah-home-search-heading {
    margin-bottom:12px;
    color:#171717;
    font-size:12px;
    font-weight:700;
    letter-spacing:.04em;
}

.ah-home-search-form {
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    gap:10px;
    align-items:stretch;
}

.ah-home-search-fields {
    min-width:0;
}

.ah-home-search-fields .row {
    margin-left:-5px;
    margin-right:-5px;
}

.ah-home-search-fields [class*="col-"] {
    padding-left:5px;
    padding-right:5px;
}

.ah-home-search-fields .form-control,
.ah-home-search-fields .bootstrap-select > .dropdown-toggle,
.ah-home-search-fields select,
.ah-home-search-fields input {
    min-height:48px;
    border:1px solid #e2ddd3 !important;
    border-radius:8px !important;
    background:#faf9f7 !important;
    box-shadow:none !important;
}

.ah-home-search-submit {
    min-width:145px;
    border:0;
    border-radius:8px;
    padding:0 19px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    background:#111;
    color:#fff;
    font-size:11px;
    font-weight:700;
    letter-spacing:.06em;
    text-transform:uppercase;
    cursor:pointer;
    transition:.2s ease;
}

.ah-home-search-submit:hover {
    background:#a9823f;
}


/* =========================================================
   QUICK LINKS
   ========================================================= */

.ah-home-quick {
    background:#f7f6f3;
    border-bottom:1px solid #ebe7df;
}

.ah-home-quick-inner {
    display:grid;
    grid-template-columns:repeat(4,1fr);
}

.ah-home-quick a {
    min-height:88px;
    padding:0 23px;
    display:flex;
    align-items:center;
    gap:15px;
    border-right:1px solid #e5e0d7;
    color:#202020;
    text-decoration:none !important;
    font-size:13px;
    font-weight:650;
    transition:.2s ease;
}

.ah-home-quick a:first-child {
    border-left:1px solid #e5e0d7;
}

.ah-home-quick a:hover {
    background:#fff;
}

.ah-home-quick a span {
    color:#a9823f;
    font-size:10px;
    letter-spacing:.08em;
}


/* =========================================================
   GLOBAL HOMEPAGE SECTIONS
   ========================================================= */

.ah-home-section {
    padding:78px 0;
}

.ah-home-section-soft {
    background:#f7f6f3;
}

.ah-home-section-head {
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:30px;
    margin-bottom:34px;
}

.ah-home-section-head h2,
.ah-home-editorial-heading h2,
.ah-home-why-head h2 {
    margin:8px 0 0;
    color:#171717;
    font-size:clamp(30px,3.2vw,46px);
    line-height:1.08;
    letter-spacing:-.035em;
    font-weight:600;
}

.ah-home-section-head-centered {
    justify-content:center;
    text-align:center;
}

.ah-home-section-link {
    flex:0 0 auto;
    padding-bottom:4px;
    border-bottom:1px solid #c8b17d;
    color:#625b50;
    text-decoration:none !important;
    font-size:11px;
    font-weight:700;
    letter-spacing:.03em;
}

.ah-home-section-link:hover {
    color:#a9823f;
}


/* =========================================================
   PROPERTY GRIDS
   ========================================================= */

.ah-home-property-grid > .row {
    row-gap:22px;
}

.ah-home-property-grid .thumbnail-g {
    margin-bottom:0 !important;
}


/* =========================================================
   EDITORIAL
   ========================================================= */

.ah-home-editorial {
    background:#fff;
}

.ah-home-editorial-layout {
    display:grid;
    grid-template-columns:minmax(300px,.78fr) minmax(0,1.35fr);
    gap:85px;
    align-items:start;
}

.ah-home-editorial-heading {
    position:sticky;
    top:110px;
}

.ah-home-editorial-heading h2 {
    max-width:470px;
}

.ah-home-editorial-links {
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin-top:27px;
}

.ah-home-editorial-links a {
    padding:9px 13px;
    border:1px solid #e5dfd4;
    border-radius:999px;
    color:#5f584e;
    text-decoration:none !important;
    font-size:10px;
    font-weight:650;
}

.ah-home-editorial-links a:hover {
    border-color:#b6975c;
    color:#9c7737;
}

.ah-home-editorial-content {
    color:#5a5a5a;
    font-size:14px;
    line-height:1.85;
}

.ah-home-editorial-content > :first-child {
    margin-top:0 !important;
}

.ah-home-editorial-content h1 {
    display:none !important;
}

.ah-home-editorial-content h2,
.ah-home-editorial-content h3 {
    color:#1e1e1e !important;
}

.ah-home-editorial-content img {
    max-width:100%;
    height:auto;
}


/* aggressively neutralize old homepage skin */

.ah-home-editorial-content [style*="background"] {
    background:transparent !important;
}

.ah-home-editorial-content [style*="color: white"],
.ah-home-editorial-content [style*="color:#fff"],
.ah-home-editorial-content [style*="color: #fff"] {
    color:inherit !important;
}


/* =========================================================
   PROCESS
   ========================================================= */

.ah-home-process {
    background:#111;
}

.ah-home-process .ah-home-section-kicker {
    color:#c4a262;
}

.ah-home-process .ah-home-section-head h2 {
    color:#fff;
}

.ah-home-process-grid {
    display:grid;
    grid-template-columns:repeat(4,1fr);
    border-top:1px solid rgba(255,255,255,.13);
    border-bottom:1px solid rgba(255,255,255,.13);
}

.ah-home-process-card {
    position:relative;
    min-height:255px;
    padding:34px 28px;
    border-right:1px solid rgba(255,255,255,.13);
}

.ah-home-process-card:first-child {
    border-left:1px solid rgba(255,255,255,.13);
}

.ah-home-process-number {
    margin-bottom:52px;
    color:#b99550;
    font-size:10px;
    letter-spacing:.15em;
}

.ah-home-process-card h3 {
    margin:0 0 13px;
    color:#fff;
    font-size:18px;
    font-weight:550;
}

.ah-home-process-card p {
    margin:0;
    color:rgba(255,255,255,.56);
    font-size:12px;
    line-height:1.75;
}


/* =========================================================
   GUIDES
   ========================================================= */

.ah-home-guide-grid {
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:18px;
}

.ah-home-guide-grid .ah-guide-card {
    height:100%;
}


/* =========================================================
   WHY ALANYA HOME
   ========================================================= */

.ah-home-why {
    background:#fff;
}

.ah-home-why-head {
    max-width:620px;
    margin-bottom:39px;
}

.ah-home-trust-grid {
    display:grid;
    grid-template-columns:repeat(3,1fr);
    border-top:1px solid #e8e3da;
    border-bottom:1px solid #e8e3da;
}

.ah-home-trust-card {
    min-height:230px;
    padding:30px 31px;
    border-right:1px solid #e8e3da;
}

.ah-home-trust-card:first-child {
    border-left:1px solid #e8e3da;
}

.ah-home-trust-index {
    margin-bottom:44px;
    color:#a9823f;
    font-size:10px;
    letter-spacing:.12em;
}

.ah-home-trust-card h3 {
    margin:0 0 12px;
    color:#1b1b1b;
    font-size:19px;
    font-weight:600;
}

.ah-home-trust-card p {
    max-width:310px;
    margin:0;
    color:#74716c;
    font-size:12px;
    line-height:1.75;
}


/* =========================================================
   FINAL CTA
   ========================================================= */

.ah-home-final {
    padding:68px 0;
    background:#a9823f;
}

.ah-home-final-inner {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:45px;
}

.ah-home-final-kicker {
    color:rgba(255,255,255,.66);
}

.ah-home-final h2 {
    margin:9px 0 11px;
    color:#fff;
    font-size:clamp(30px,3.2vw,47px);
    line-height:1.08;
    letter-spacing:-.035em;
}

.ah-home-final p {
    max-width:650px;
    margin:0;
    color:rgba(255,255,255,.76);
    font-size:13px;
    line-height:1.7;
}

.ah-home-final-actions {
    flex:0 0 auto;
    display:flex;
    gap:10px;
}

.ah-home-final-btn {
    min-height:50px;
    padding:0 19px;
    border-radius:8px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    text-decoration:none !important;
    font-size:11px;
    font-weight:700;
}

.ah-home-final-whatsapp {
    background:#111;
    color:#fff !important;
}

.ah-home-final-contact {
    border:1px solid rgba(255,255,255,.55);
    color:#fff !important;
}

.ah-home-final-contact:hover {
    background:#fff;
    color:#222 !important;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width:1100px) {

    .ah-home-guide-grid {
        grid-template-columns:repeat(2,1fr);
    }

    .ah-home-process-grid {
        grid-template-columns:repeat(2,1fr);
    }

    .ah-home-process-card:nth-child(2) {
        border-right:1px solid rgba(255,255,255,.13);
    }

    .ah-home-process-card:nth-child(n+3) {
        border-top:1px solid rgba(255,255,255,.13);
    }

}


@media (max-width:820px) {

    .ah-home .ah-container {
        width:min(100% - 30px, 1240px);
    }

    .ah-home-hero,
    .ah-home-hero-inner {
        min-height:auto;
    }

    .ah-home-hero-inner {
        padding-top:80px;
        padding-bottom:28px;
    }

    .ah-home-title {
        font-size:46px;
    }

    .ah-home-search {
        margin-top:34px;
    }

    .ah-home-search-form {
        grid-template-columns:1fr;
    }

    .ah-home-search-submit {
        min-height:50px;
    }

    .ah-home-quick-inner {
        grid-template-columns:repeat(2,1fr);
    }

    .ah-home-quick a:nth-child(3) {
        border-left:1px solid #e5e0d7;
        border-top:1px solid #e5e0d7;
    }

    .ah-home-quick a:nth-child(4) {
        border-top:1px solid #e5e0d7;
    }

    .ah-home-section {
        padding:58px 0;
    }

    .ah-home-editorial-layout {
        grid-template-columns:1fr;
        gap:32px;
    }

    .ah-home-editorial-heading {
        position:static;
    }

    .ah-home-trust-grid {
        grid-template-columns:1fr;
    }

    .ah-home-trust-card,
    .ah-home-trust-card:first-child {
        min-height:auto;
        border-left:1px solid #e8e3da;
        border-bottom:1px solid #e8e3da;
    }

    .ah-home-trust-card:last-child {
        border-bottom:0;
    }

    .ah-home-trust-index {
        margin-bottom:25px;
    }

    .ah-home-final-inner {
        align-items:flex-start;
        flex-direction:column;
    }

}


@media (max-width:575px) {

    .ah-home-hero-inner {
        padding-top:60px;
    }

    .ah-home-title {
        font-size:39px;
    }

    .ah-home-lead {
        font-size:14px;
    }

    .ah-home-hero-actions {
        display:grid;
        grid-template-columns:1fr;
    }

    .ah-home-btn {
        width:100%;
    }

    .ah-home-search {
        padding:14px;
        border-radius:10px;
    }

    .ah-home-quick-inner {
        grid-template-columns:1fr;
    }

    .ah-home-quick a,
    .ah-home-quick a:first-child,
    .ah-home-quick a:nth-child(3) {
        border-left:1px solid #e5e0d7;
        border-right:1px solid #e5e0d7;
        border-top:1px solid #e5e0d7;
    }

    .ah-home-quick a:first-child {
        border-top:0;
    }

    .ah-home-section-head {
        align-items:flex-start;
        flex-direction:column;
        gap:15px;
    }

    .ah-home-process-grid {
        grid-template-columns:1fr;
    }

    .ah-home-process-card,
    .ah-home-process-card:first-child {
        min-height:auto;
        border-left:1px solid rgba(255,255,255,.13);
        border-top:1px solid rgba(255,255,255,.13);
    }

    .ah-home-process-card:first-child {
        border-top:0;
    }

    .ah-home-process-number {
        margin-bottom:28px;
    }

    .ah-home-guide-grid {
        grid-template-columns:1fr;
    }

    .ah-home-final-actions {
        width:100%;
        display:grid;
        grid-template-columns:1fr;
    }

}

/* =========================================================
   HOMEPAGE SMART SEARCH — FINAL
   ========================================================= */

.ah-home-search {
    width:min(920px,100%);
    margin-top:38px;
    padding:14px;
}

.ah-home-search-heading {
    margin:0 0 9px 3px;
    font-size:10px;
    text-transform:uppercase;
    letter-spacing:.11em;
    color:#83796b;
}

.ah-home-search-form {
    grid-template-columns:minmax(0,1fr) 138px;
    gap:8px;
}

.ah-home-search-fields {
    display:block;
}

.ah-home-smart-input {
    width:100%;
    height:52px;
    padding:0 17px;
    margin:0;
    border:1px solid #e1ddd5 !important;
    border-radius:8px !important;
    outline:0;
    background:#faf9f7 !important;
    color:#202020;
    font-size:13px;
    box-shadow:none !important;
}

.ah-home-smart-input::placeholder {
    color:#969087;
    opacity:1;
}

.ah-home-smart-input:focus {
    border-color:#b49354 !important;
    background:#fff !important;
}

.ah-home-search-submit {
    min-width:0;
    height:52px;
}

@media (max-width:575px) {
    .ah-home-search-form {
        grid-template-columns:1fr;
    }

    .ah-home-search-submit {
        width:100%;
    }
}


/* =========================================================
   ADMIN CONTROLLED MODERN HOMEPAGE SLIDER
   ========================================================= */

.ah-home-hero {
    position:relative;
    min-height:590px;
    background:none !important;
    overflow:hidden;
}


.ah-home-slider {
    position:absolute;
    inset:0;
    z-index:0;
    overflow:hidden;
    background:#111;
}


.ah-home-slide {
    position:absolute;
    inset:0;

    background-position:center;
    background-repeat:no-repeat;
    background-size:cover;

    opacity:0;

    transform:scale(1.025);

    transition:
        opacity .85s ease,
        transform 6.5s ease;

    pointer-events:none;
}


.ah-home-slide.is-active {
    opacity:1;
    transform:scale(1);
}


.ah-home-hero-overlay {
    z-index:1;

    background:
        linear-gradient(
            90deg,
            rgba(8,8,8,.84) 0%,
            rgba(8,8,8,.67) 39%,
            rgba(8,8,8,.34) 67%,
            rgba(8,8,8,.18) 100%
        );
}


.ah-home-hero-inner {
    position:relative;
    z-index:2;

    min-height:590px;

    padding-top:68px;
    padding-bottom:34px;
}


/* slider navigation */

.ah-home-slider-ui {
    display:flex;
    align-items:center;

    gap:12px;

    margin-top:23px;
}


.ah-home-slider-dots {
    display:flex;
    align-items:center;

    gap:7px;
}


.ah-home-slider-dot {
    width:22px;
    height:2px;

    padding:0;
    border:0;

    background:rgba(255,255,255,.34);

    cursor:pointer;

    transition:.2s ease;
}


.ah-home-slider-dot.is-active {
    width:36px;
    background:#c5a15e;
}


.ah-home-slider-arrow {
    width:30px;
    height:30px;

    padding:0;

    display:flex;
    align-items:center;
    justify-content:center;

    border:1px solid rgba(255,255,255,.28);
    border-radius:50%;

    background:rgba(0,0,0,.12);

    color:#fff;

    font-size:12px;

    cursor:pointer;

    transition:.2s ease;
}


.ah-home-slider-arrow:hover {
    border-color:#c5a15e;
    background:#c5a15e;
}


/* prevent slider animation for reduced-motion users */

@media (prefers-reduced-motion: reduce) {

    .ah-home-slide {
        transition:opacity .2s ease;
        transform:none !important;
    }

}


@media (max-width:820px) {

    .ah-home-hero {
        min-height:auto;
    }

    .ah-home-hero-inner {
        min-height:610px;

        padding-top:65px;
        padding-bottom:28px;
    }

}


@media (max-width:575px) {

    .ah-home-hero-inner {
        min-height:640px;
    }

    .ah-home-slide {
        background-position:center center;
    }

    .ah-home-slider-ui {
        margin-top:18px;
    }

}


/* =========================================================
   DYNAMIC SLIDE CONTENT
   ========================================================= */

.ah-home-slide-content {
    max-width:620px;
    margin-top:24px;
    padding-left:16px;
    border-left:2px solid #b99450;
}

.ah-home-slide-content[hidden] {
    display:none !important;
}

.ah-home-slide-title {
    color:#fff;
    font-size:15px;
    line-height:1.35;
    font-weight:700;
    letter-spacing:.02em;
    text-transform:uppercase;
}

.ah-home-slide-description {
    margin-top:7px;
    max-width:560px;
    color:rgba(255,255,255,.72);
    font-size:12px;
    line-height:1.6;
}

.ah-home-slide-link {
    display:inline-flex;
    align-items:center;
    gap:8px;
    margin-top:12px;
    color:#d7b46f !important;
    text-decoration:none !important;
    font-size:10px;
    font-weight:700;
    letter-spacing:.08em;
    text-transform:uppercase;
}

.ah-home-slide-link:hover {
    color:#fff !important;
}

@media (max-width:575px) {

    .ah-home-slide-content {
        margin-top:20px;
    }

    .ah-home-slide-title {
        font-size:13px;
    }

}

/* =========================================================
   HOMEPAGE SLIDER — FIXED HEIGHT / COVER CROP
   ========================================================= */

.ah-home-hero {
    height: 660px !important;
    min-height: 660px !important;
    max-height: 660px !important;
    position: relative;
    overflow: hidden;
}

.ah-home-slider {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.ah-home-slide {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;

    opacity: 0;
    transform: scale(1.015);

    transition:
        opacity .85s ease,
        transform 6.5s ease;
}

.ah-home-slide.is-active {
    opacity: 1;
    transform: scale(1);
}

.ah-home-hero-inner {
    min-height: 0 !important;
    height: 100% !important;

    display: flex;
    flex-direction: column;
    justify-content: center;

    padding-top: 38px !important;
    padding-bottom: 28px !important;
}


/* tablet */

@media (max-width: 820px) {

    .ah-home-hero {
        height: 650px !important;
        min-height: 650px !important;
        max-height: 650px !important;
    }

    .ah-home-hero-inner {
        height: 100% !important;
        padding-top: 38px !important;
        padding-bottom: 24px !important;
    }

}


/* mobile */

@media (max-width: 575px) {

    .ah-home-hero {
        height: 720px !important;
        min-height: 720px !important;
        max-height: 720px !important;
    }

    .ah-home-hero-inner {
        height: 100% !important;
        justify-content: center;
        padding-top: 30px !important;
        padding-bottom: 22px !important;
    }

    .ah-home-slide {
        background-position: center center !important;
    }

}


/* =========================================================
   HOMEPAGE HERO — CMS CONTENT ONLY
   ========================================================= */

/*
 * Old static hero copy is no longer used.
 */

.ah-home-hero-copy,
.ah-home-kicker,
.ah-home-title,
.ah-home-lead,
.ah-home-hero-actions,
.ah-home-slide-content {
    display:none !important;
}


/* Main CMS controlled content */

.ah-home-cms-content {
    width:min(820px, 72vw);
    max-height:310px;

    display:flex;
    flex-direction:column;
    align-items:flex-start;

    position:relative;

    padding-left:20px;
    margin-bottom:28px;

    border-left:2px solid #c5a15e;
}

.ah-home-cms-content[hidden] {
    display:none !important;
}


/* Dynamic CMS Title = homepage H1 */

.ah-home-cms-title {
    max-width:800px;

    margin:0;

    color:#fff;

    font-size:clamp(42px, 4.6vw, 68px);
    line-height:1.02;

    font-weight:650;
    letter-spacing:-.045em;

    text-wrap:balance;

    overflow:hidden;

    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:3;
}

.ah-home-cms-title[hidden] {
    display:none !important;
}


/* Dynamic CMS description */

.ah-home-cms-description {
    max-width:700px;

    margin:18px 0 0;

    color:rgba(255,255,255,.82);

    font-size:15px;
    line-height:1.65;

    overflow:hidden;

    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:3;
}

.ah-home-cms-description[hidden] {
    display:none !important;
}


/* Dynamic CTA */

.ah-home-cms-link {
    min-height:46px;

    margin-top:20px;
    padding:0 18px;

    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:15px;

    border-radius:8px;

    background:#b99450;

    color:#fff !important;
    text-decoration:none !important;

    font-size:10px;
    line-height:1;
    font-weight:700;

    letter-spacing:.08em;
    text-transform:uppercase;

    transition:
        background .2s ease,
        transform .2s ease;
}

.ah-home-cms-link:hover {
    background:#a9823f;
    transform:translateY(-1px);
}


/* ---------------------------------------------------------
   Fixed hero layout
   Content can never resize the slider.
   --------------------------------------------------------- */

.ah-home-hero {
    height:660px !important;
    min-height:660px !important;
    max-height:660px !important;
}

.ah-home-hero-inner {
    height:100% !important;
    min-height:0 !important;

    display:flex;
    flex-direction:column;
    justify-content:center;

    padding-top:45px !important;
    padding-bottom:25px !important;
}


/*
 * Search remains anchored below CMS copy.
 */

.ah-home-search {
    flex:0 0 auto;
    margin-top:0;
}


/*
 * Slider navigation cannot push hero height.
 */

.ah-home-slider-ui {
    flex:0 0 auto;
    margin-top:18px;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width:820px) {

    .ah-home-hero {
        height:680px !important;
        min-height:680px !important;
        max-height:680px !important;
    }

    .ah-home-hero-inner {
        padding-top:38px !important;
        padding-bottom:22px !important;
    }

    .ah-home-cms-content {
        width:min(760px, 94%);
        max-height:300px;
        margin-bottom:24px;
    }

    .ah-home-cms-title {
        font-size:clamp(38px,7vw,56px);
    }

    .ah-home-cms-description {
        font-size:14px;
        -webkit-line-clamp:3;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width:575px) {

    .ah-home-hero {
        height:700px !important;
        min-height:700px !important;
        max-height:700px !important;
    }

    .ah-home-hero-inner {
        justify-content:center;

        padding-top:26px !important;
        padding-bottom:20px !important;
    }

    .ah-home-cms-content {
        width:100%;
        max-height:300px;

        padding-left:14px;
        margin-bottom:20px;
    }

    .ah-home-cms-title {
        font-size:38px;
        line-height:1.04;

        -webkit-line-clamp:3;
    }

    .ah-home-cms-description {
        margin-top:13px;

        font-size:13px;
        line-height:1.55;

        -webkit-line-clamp:3;
    }

    .ah-home-cms-link {
        min-height:43px;
        margin-top:15px;
    }

    .ah-home-search {
        width:100%;
    }

}

/* =========================================================
   HERO SEARCH — FIXED BOTTOM AREA
   ========================================================= */

.ah-home-hero {
    position:relative;
}


/* Dynamic slide content stays in the upper content area */

.ah-home-cms-content {
    position:absolute;
    top:50%;
    left:0;

    width:min(820px,72vw);

    transform:translateY(-58%);

    margin:0;
}


/* Slider navigation fixed above search area */

.ah-home-slider-ui {
    position:absolute;
    left:50%;
    bottom:118px;

    transform:translateX(-50%);

    margin:0;

    z-index:5;
}


/* Search bar fixed at slider bottom */

.ah-home-search {
    position:absolute;

    left:50%;
    bottom:24px;

    transform:translateX(-50%);

    width:min(920px, calc(100% - 48px));

    margin:0 !important;

    padding:12px 14px;

    z-index:5;

    background:rgba(255,255,255,.88);

    border:1px solid rgba(255,255,255,.45);
    border-radius:14px;

    box-shadow:
        0 14px 40px rgba(0,0,0,.14);

    backdrop-filter:blur(12px);
    -webkit-backdrop-filter:blur(12px);
}


/* Search heading a little quieter */

.ah-home-search-heading {
    margin:0 0 8px 2px;

    color:#756b5e;

    font-size:9px;
    font-weight:700;

    letter-spacing:.15em;
    text-transform:uppercase;
}


/* Search field */

.ah-home-smart-input {
    background:rgba(255,255,255,.72) !important;
}


/* Slider dots + arrows remain centered */

.ah-home-slider-ui {
    justify-content:center;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width:820px) {

    .ah-home-cms-content {
        top:44%;
        width:calc(100% - 30px);

        transform:translateY(-50%);
    }

    .ah-home-slider-ui {
        bottom:126px;
    }

    .ah-home-search {
        bottom:22px;

        width:calc(100% - 30px);
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width:575px) {

    .ah-home-cms-content {
        top:39%;
        width:calc(100% - 30px);

        transform:translateY(-50%);
    }

    .ah-home-slider-ui {
        bottom:168px;
    }

    .ah-home-search {
        bottom:18px;

        width:calc(100% - 24px);

        padding:11px;
    }

    .ah-home-search-form {
        grid-template-columns:1fr;
    }

    .ah-home-search-submit {
        width:100%;
    }

}

/* =========================================================
   HERO SLIDER NAV — SPACING FIX
   ========================================================= */

.ah-home-slider-ui {
    left:50% !important;
    bottom:132px !important;

    transform:translateX(-50%) !important;

    margin:0 !important;

    z-index:6;
}

.ah-home-search {
    bottom:22px !important;
}


/* tablet */

@media (max-width:820px) {

    .ah-home-slider-ui {
        bottom:136px !important;
    }

    .ah-home-search {
        bottom:20px !important;
    }

}


/* mobile */

@media (max-width:575px) {

    .ah-home-slider-ui {
        bottom:178px !important;
    }

    .ah-home-search {
        bottom:16px !important;
    }

}

/* =========================================================
   HOMEPAGE GUIDES — 3 x 2 GRID
   ========================================================= */

.ah-home-guide-grid {
    grid-template-columns:repeat(3, minmax(0,1fr)) !important;
    gap:18px;
}

.ah-home-guide-grid .ah-guide-content {
    min-height:175px;
}

.ah-home-guide-grid .ah-guide-title {
    font-size:17px;
    line-height:1.35;
}

.ah-home-guide-grid .ah-guide-description {
    font-size:12px;
    line-height:1.6;
}


/* tablet */

@media (max-width:900px) {

    .ah-home-guide-grid {
        grid-template-columns:repeat(2, minmax(0,1fr)) !important;
    }

}


/* mobile */

@media (max-width:575px) {

    .ah-home-guide-grid {
        grid-template-columns:1fr !important;
    }

}

/* =========================================================
   HOMEPAGE PROPERTY CARDS — CONSISTENT TITLE HEIGHT
   ========================================================= */

.ah-home .property-card .property-title,
.ah-home .property-card .title,
.ah-home .thumbnail-g .property-title,
.ah-home .thumbnail-g .title,
.ah-home .thumbnail-g h2,
.ah-home .thumbnail-g h3 {
    display:-webkit-box !important;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;

    overflow:hidden;
    text-overflow:ellipsis;

    min-height:2.7em;
    max-height:2.7em;

    line-height:1.35 !important;
}

/* keep card bodies visually aligned */

.ah-home .thumbnail-g .card,
.ah-home .thumbnail-g .property-card {
    height:100%;
}

.ah-home .thumbnail-g {
    display:flex;
}

.ah-home .thumbnail-g > * {
    width:100%;
}

/* =========================================================
   MOBILE HERO — COMPACT FINAL
   ========================================================= */

@media (max-width:575px) {

    .ah-home-hero {
        height:600px !important;
        min-height:600px !important;
        max-height:600px !important;
    }

    .ah-home-hero-inner {
        height:100% !important;
        padding:0 12px !important;
    }

    /* Dynamic slide content */
    .ah-home-cms-content {
        top:72px !important;
        left:12px !important;

        width:calc(100% - 24px) !important;
        max-height:250px !important;

        transform:none !important;

        margin:0 !important;
        padding-left:14px;
    }

    .ah-home-cms-title {
        font-size:34px !important;
        line-height:1.04 !important;

        -webkit-line-clamp:2 !important;
        max-height:2.08em;
    }

    .ah-home-cms-description {
        margin-top:12px !important;

        font-size:12px !important;
        line-height:1.55 !important;

        -webkit-line-clamp:2 !important;
    }

    .ah-home-cms-link {
        min-height:42px;
        margin-top:14px !important;
        padding:0 17px;
    }

    /* Navigation stays centered just above search */
    .ah-home-slider-ui {
        left:50% !important;
        bottom:164px !important;

        transform:translateX(-50%) !important;
    }

    /* Fixed bottom search area */
    .ah-home-search {
        left:12px !important;
        right:12px !important;
        bottom:14px !important;

        width:auto !important;

        transform:none !important;

        padding:10px !important;
        border-radius:13px;
    }

    .ah-home-search-heading {
        margin:0 0 8px 2px;
    }

    .ah-home-smart-input {
        height:50px;
    }

    .ah-home-search-submit {
        height:50px;
        min-height:50px;
    }

}

/* =========================================================
   MOBILE HERO — NATURAL COMPACT FLOW
   ========================================================= */

@media (max-width:575px) {

    /*
     * Sabit, kompakt slider.
     * Görsel bu alana cover ile kırpılır.
     */
    .ah-home-hero {
        height:540px !important;
        min-height:540px !important;
        max-height:540px !important;
        overflow:hidden !important;
    }

    .ah-home-slider,
    .ah-home-slide {
        width:100% !important;
        height:100% !important;
    }

    .ah-home-slide {
        background-size:cover !important;
        background-repeat:no-repeat !important;
        background-position:center center !important;
    }


    /*
     * Mobilde absolute positioning'i tamamen bırakıyoruz.
     * İçerikler doğal sırayla birbirini takip edecek.
     */
    .ah-home-hero-inner {
        position:relative !important;

        width:100% !important;
        height:100% !important;
        min-height:0 !important;

        display:flex !important;
        flex-direction:column !important;
        justify-content:flex-end !important;
        align-items:stretch !important;

        padding:24px 18px 14px !important;
    }


    /* CMS title / description / CTA */

    .ah-home-cms-content {
        position:static !important;

        top:auto !important;
        left:auto !important;
        bottom:auto !important;

        width:100% !important;
        max-width:none !important;
        max-height:none !important;

        transform:none !important;

        margin:0 !important;
        padding:0 0 0 14px !important;

        border-left:2px solid #c5a15e;
    }

    .ah-home-cms-title {
        margin:0 !important;

        font-size:30px !important;
        line-height:1.06 !important;

        -webkit-line-clamp:2 !important;
        max-height:2.12em !important;
    }

    .ah-home-cms-description {
        margin:9px 0 0 !important;

        font-size:12px !important;
        line-height:1.45 !important;

        -webkit-line-clamp:2 !important;
        max-height:2.9em !important;
    }

    .ah-home-cms-link {
        min-height:40px !important;

        margin-top:12px !important;
        padding:0 16px !important;
    }


    /*
     * Navigation artık title'dan hemen sonra gelir.
     */
    .ah-home-slider-ui {
        position:static !important;

        left:auto !important;
        right:auto !important;
        top:auto !important;
        bottom:auto !important;

        transform:none !important;

        align-self:center !important;

        margin:14px 0 12px !important;
    }


    /*
     * Search de hemen navigation'ın altında.
     * Artık bottom:absolute yok.
     */
    .ah-home-search {
        position:static !important;

        left:auto !important;
        right:auto !important;
        top:auto !important;
        bottom:auto !important;

        transform:none !important;

        width:100% !important;

        margin:0 !important;
        padding:10px !important;

        background:rgba(255,255,255,.88) !important;

        backdrop-filter:blur(12px);
        -webkit-backdrop-filter:blur(12px);
    }

    .ah-home-search-heading {
        margin:0 0 7px 2px !important;
    }

    .ah-home-search-form {
        display:grid !important;
        grid-template-columns:1fr !important;
        gap:8px !important;
    }

    .ah-home-smart-input {
        height:47px !important;
        min-height:47px !important;
    }

    .ah-home-search-submit {
        width:100% !important;
        height:47px !important;
        min-height:47px !important;
    }

}

/* =========================================================
   MOBILE HERO — ACTUALLY SHORT
   ========================================================= */

@media (max-width:575px) {

    /* Slider alanının KENDİSİ */
    .ah-home-hero {
        height:460px !important;
        min-height:460px !important;
        max-height:460px !important;
        overflow:hidden !important;
    }

    .ah-home-slider,
    .ah-home-slide {
        height:460px !important;
        min-height:460px !important;
        max-height:460px !important;
    }

    /* Görsel gerekirse crop olsun */
    .ah-home-slide {
        background-size:cover !important;
        background-position:center center !important;
        background-repeat:no-repeat !important;
    }

    .ah-home-hero-inner {
        height:460px !important;
        min-height:460px !important;
        max-height:460px !important;

        padding:16px 22px 12px !important;

        display:flex !important;
        flex-direction:column !important;
        justify-content:flex-end !important;
    }

    /* Dinamik slider metni daha kompakt */
    .ah-home-cms-content {
        margin:0 0 10px !important;
        padding-left:12px !important;
    }

    .ah-home-cms-title {
        font-size:29px !important;
        line-height:1.05 !important;
        -webkit-line-clamp:2 !important;
    }

    .ah-home-cms-description {
        margin-top:7px !important;
        font-size:11px !important;
        line-height:1.4 !important;
        -webkit-line-clamp:2 !important;
    }

    .ah-home-cms-link {
        min-height:38px !important;
        margin-top:9px !important;
        padding:0 14px !important;
    }

    /* Search kompakt */
    .ah-home-search {
        padding:8px !important;
        margin:0 !important;
        border-radius:12px !important;
    }

    .ah-home-search-heading {
        margin:0 0 6px 2px !important;
    }

    .ah-home-smart-input {
        height:42px !important;
        min-height:42px !important;
    }

    .ah-home-search-submit {
        height:42px !important;
        min-height:42px !important;
    }

    /* Navigasyon */
    .ah-home-slider-ui {
        margin:9px 0 !important;
    }
}

/* =========================================================
   MOBILE HERO — B REFERENCE LAYOUT
   ========================================================= */

@media (max-width:575px) {

    /* Tam kompakt slider alanı */
    .ah-home-hero {
        height:340px !important;
        min-height:340px !important;
        max-height:340px !important;
        margin-top:0 !important;
        padding-top:0 !important;
        overflow:hidden !important;
    }

    .ah-home-slider,
    .ah-home-slide {
        height:340px !important;
        min-height:340px !important;
        max-height:340px !important;
    }

    /* Görsel alanı doldursun, gerekirse ciddi crop olsun */
    .ah-home-slide {
        background-size:cover !important;
        background-position:center center !important;
        background-repeat:no-repeat !important;
    }

    .ah-home-hero-inner {
        width:100% !important;
        height:340px !important;
        min-height:340px !important;
        max-height:340px !important;

        display:block !important;

        padding:0 22px !important;
        margin:0 !important;
    }

    /* Dinamik içerik yukarıda sabit */
    .ah-home-cms-content {
        position:absolute !important;

        top:16px !important;
        left:22px !important;

        width:calc(100% - 44px) !important;
        max-width:none !important;

        margin:0 !important;
        padding-left:12px !important;

        transform:none !important;
    }

    .ah-home-cms-title {
        font-size:28px !important;
        line-height:1.03 !important;

        max-height:2.06em !important;

        -webkit-line-clamp:2 !important;
    }

    .ah-home-cms-description {
        margin-top:7px !important;

        font-size:11px !important;
        line-height:1.35 !important;

        max-height:2.7em !important;
        -webkit-line-clamp:2 !important;
    }

    .ah-home-cms-link {
        min-height:38px !important;

        margin-top:9px !important;
        padding:0 14px !important;
    }

    /* Search B görselindeki gibi hemen content altında */
    .ah-home-search {
        position:absolute !important;

        left:22px !important;
        right:22px !important;
        bottom:48px !important;

        width:auto !important;

        margin:0 !important;
        padding:9px !important;

        transform:none !important;

        border-radius:12px !important;

        background:rgba(255,255,255,.90) !important;
    }

    .ah-home-search-heading {
        margin:0 0 6px 2px !important;
        font-size:8px !important;
    }

    .ah-home-search-form {
        grid-template-columns:1fr !important;
        gap:7px !important;
    }

    .ah-home-smart-input {
        height:40px !important;
        min-height:40px !important;
    }

    .ah-home-search-submit {
        width:100% !important;

        height:40px !important;
        min-height:40px !important;
    }

    /* Navigation sliderın en altında */
    .ah-home-slider-ui {
        position:absolute !important;

        left:50% !important;
        bottom:8px !important;

        transform:translateX(-50%) !important;

        margin:0 !important;
    }
}

/* =========================================================
   MOBILE SLIDER IMAGE — FORCE FULL AREA FILL
   ========================================================= */

@media (max-width:575px) {

    .ah-home-slider,
    .ah-home-slide {
        width:100% !important;
        height:100% !important;
    }

    .ah-home-slide {
        background-size:100% 100% !important;
        background-position:center center !important;
        background-repeat:no-repeat !important;
    }

}

/* =========================================================
   SLIDER ORIGINAL IMAGE — REAL COVER
   ========================================================= */

.ah-home-slide {
    background-size:cover !important;
    background-repeat:no-repeat !important;
    background-position:center center !important;
}

@media (max-width:575px) {

    .ah-home-slide {
        background-size:cover !important;
        background-position:center center !important;
    }

}
