/* One mobile interface scale across the public site and administration. */
@media(max-width:960px){:root{--ke-ui-copy:14px;--ke-ui-meta:13px;--ke-ui-input:16px;--ke-ui-title:24px;--ke-ui-section:22px;--ke-ui-card:18px;--ke-ui-h1:24px;--ke-ui-h2:22px;--ke-ui-h3:18px;--ke-ui-button:14px;--ke-ui-icon:18px;--ke-ui-control:44px;--ke-ui-leading:1.65}}
/* Public mobile type and control scale; decorative artwork keeps its proportions. */
@media(max-width:960px){
  body.ke-site{font-size:var(--ke-ui-copy,14px);line-height:var(--ke-ui-leading,1.65)}
  body.ke-site :is(.keh-home,.kei-builder-body,.content__post--article,.kei-contact-layout,.kei-location,.kei-callout,.sidebar){font-size:var(--ke-ui-copy,14px);line-height:var(--ke-ui-leading,1.65)}
  body.ke-site main :is(p,li,td,th,blockquote),
  body.ke-site.kei-page main :is(.content__post--article,.kei-builder-body,.kei-contact-layout,.kei-location,.kei-callout) :is(p,li,td,th,blockquote),
  body.ke-site.kei-page #wpb-content-root.kei-builder-body :is(p,li){font-size:var(--ke-ui-copy,14px)!important;line-height:var(--ke-ui-leading,1.65)!important}
  body.ke-site :is(.keh-home h1,h1.kei-title,main h1){font-size:var(--ke-ui-title,24px)!important;line-height:1.3!important;letter-spacing:-.4px}
  body.ke-site main h2,
  body.ke-site.kei-page main :is(.content__post--article,.kei-builder-body,.kei-contact-layout,.kei-location,.kei-callout) h2,
  body.ke-site.kei-page #wpb-content-root.kei-builder-body h2{font-size:var(--ke-ui-section,22px)!important;line-height:1.35!important;letter-spacing:-.3px}
  body.ke-site main :is(h3,h4),
  body.ke-site.kei-page main :is(.content__post--article,.kei-builder-body,.kei-contact-layout,.kei-location,.kei-callout) :is(h3,h4),
  body.ke-site.kei-page #wpb-content-root.kei-builder-body :is(h3,h4){font-size:var(--ke-ui-card,18px)!important;line-height:1.4!important;letter-spacing:-.15px}
  body.ke-site main :is(h5,h6){font-size:var(--ke-ui-copy,14px)!important;line-height:1.5!important;letter-spacing:normal}
  body.ke-site :is(.keh-service-card h3,.keh-post h3,.keh-models h3,.uck-card-list .headline,.kei-contact-option strong){font-size:var(--ke-ui-card,18px)!important;line-height:1.4!important}
  body.ke-site :is(.kei-contact-option div>span,.keh-shortcuts strong,.keh-hero-trust strong,.keh-hero-note strong,.keh-about-copy li strong,.keh-about-copy li span){font-size:var(--ke-ui-copy,14px);line-height:var(--ke-ui-leading,1.65)}
  body.ke-site :is(.keh-since strong,.kco-founder-sign>span){font-size:var(--ke-ui-title,24px);line-height:1.2}
  body.ke-site :is(.keh-since span,.keh-hero-trust p>span,.keh-hero-note div>span){font-size:var(--ke-ui-meta,13px);line-height:1.5}

  body.ke-site main :is(small,label,figcaption,.wp-caption-text,.post-meta,.entry-meta,.content__post--meta,.content-header-meta,.ke-article-meta,.uck-card-top,.keh-eyebrow,.keh-post-label,.keh-image-caption,.keh-service-top small,.keh-shortcuts small,.kei-kicker,.kei-contact-since,.kco-eyebrow,.kco-section-label,.kco-story-note,.kco-drawing-label,.keg-eyebrow,.keg-section-heading,.keg-map-top>span,.keg-map-bottom,.ket-eyebrow,.ket-date-label,.ket-art-top>span,.ket-art-bottom,.ket-portal-action>span),
  body.ke-site.kei-page main :is(.keg-enhanced,.ket-enhanced) :is(.keg-eyebrow,.ket-eyebrow),
  body.ke-site.kei-page #wpb-content-root.kei-builder-body :is(small,label,.kei-kicker,.kco-eyebrow,.kco-section-label,.keg-eyebrow,.ket-eyebrow){font-size:var(--ke-ui-meta,13px)!important;line-height:1.5!important;letter-spacing:.2px}
  body.ke-site :is(.content-header-meta,.content__post--meta,.ke-article-meta) :is(a,span,time){font-size:inherit!important;line-height:inherit!important}
  body.ke-site :is(.kco-step-symbol,.keg-step-icon,.ket-step-icon)>small{font-size:var(--ke-ui-meta,13px)!important;line-height:1!important}
  body.ke-site :is(.kco-principle-mark small,.keg-resource-top>small,.ket-card-top>small){font-size:var(--ke-ui-title,24px)!important;line-height:1!important}

  body.ke-site main :is(input:not([type=submit]):not([type=button]):not([type=reset]):not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=range]):not([type=color]),select,textarea){font-size:var(--ke-ui-input,16px)!important;line-height:1.5!important;padding:10px 12px;min-height:var(--ke-ui-control,44px);box-sizing:border-box}
  body.ke-site main :is(input[type=checkbox],input[type=radio]){width:18px;height:18px;min-height:0;vertical-align:middle;flex:0 0 18px}
  body.ke-site main :is(button,input[type=submit],input[type=button],input[type=reset],.keh-button,.kei-button,.vc_btn3,.button,.btn),
  body.ke-site .kec-header .kec-header-cta,
  body.ke-site .ket-portal-action>p>a{font-size:var(--ke-ui-button,14px)!important;line-height:1.5!important;min-height:var(--ke-ui-control,44px);padding:10px 12px;gap:8px;box-sizing:border-box;letter-spacing:normal;white-space:normal}
  body.ke-site :is(.keh-card-link,.keh-text-link,.kei-text-link,.keh-contact-phone,.uck-card--meta a){font-size:var(--ke-ui-button,14px)!important;line-height:1.5;min-height:var(--ke-ui-control,44px);display:inline-flex;align-items:center;gap:8px}
  body.ke-site .navigation.pagination .page-numbers{font-size:var(--ke-ui-button,14px);line-height:1.5;min-width:var(--ke-ui-control,44px);min-height:var(--ke-ui-control,44px);padding:10px;box-sizing:border-box}
  body.ke-site .uck-card-list .jm-post-like{min-width:var(--ke-ui-control,44px);height:var(--ke-ui-control,44px);min-height:var(--ke-ui-control,44px);font-size:var(--ke-ui-meta,13px);padding:8px}

  body.ke-site .kec-header .kec-nav-link,
  body.ke-site .kec-header .kec-parent-button{font-size:var(--ke-ui-button,14px)!important;line-height:1.5;min-height:var(--ke-ui-control,44px);box-sizing:border-box}
  body.ke-site .kec-header :is(.kec-menu-toggle,.kec-sub-toggle),
  body.ke-site button.ke-theme-toggle{width:var(--ke-ui-control,44px);height:var(--ke-ui-control,44px);min-height:var(--ke-ui-control,44px);min-width:var(--ke-ui-control,44px);flex:0 0 var(--ke-ui-control,44px);padding:10px!important;box-sizing:border-box}
  body.ke-site .kec-header .kec-brand{max-width:calc(100% - 108px)}
  body.ke-site .kec-header .kec-contact-links{font-size:var(--ke-ui-meta,13px);line-height:1.5;gap:8px}
  body.ke-site .kec-header .kec-socials-top{gap:2px}
  body.ke-site .kec-header .kec-socials-top a{width:28px;height:32px;flex:0 0 28px}
  body.ke-site .kec-footer :is(.kec-footer-column>ul a,.kec-footer-brand>p,.kec-footer-contact>a,.kec-footer-contact>p){font-size:var(--ke-ui-copy,14px);line-height:var(--ke-ui-leading,1.65)}
  body.ke-site .kec-footer .kec-footer-column>h2{font-size:var(--ke-ui-card,18px);line-height:1.4;letter-spacing:normal}
  body.ke-site .kec-footer .kec-footer-contact>.kec-footer-phone{font-size:var(--ke-ui-card,18px);line-height:1.4}
  body.ke-site .kec-footer :is(.kec-footer-bottom,.kec-footer-bottom>span){font-size:var(--ke-ui-meta,13px);line-height:1.5}
  body.ke-site .kec-footer .kec-socials-footer>a{width:var(--ke-ui-control,44px);height:var(--ke-ui-control,44px);flex:0 0 var(--ke-ui-control,44px)}
  body.ke-site .kec-footer .kec-footer-brand>.kec-socials{grid-template-columns:repeat(2,var(--ke-ui-control,44px))}

  body.ke-site :is(.kec-header,.kec-footer) .kec-icon,
  body.ke-site button.ke-theme-toggle svg,
  body.ke-site.keh-home :is(.keh-button,.keh-card-link,.keh-text-link,.keh-contact-phone,.keh-shortcuts,.keh-service-top,.keh-trust-mark,.keh-note-icon,.keh-about-copy li,.keh-models>a)>svg,
  body.ke-site.keh-home .keh-shortcut-icon>svg,
  body.ke-site.keh-home .keh-service-top>span>svg,
  body.ke-site.keh-home .keh-trust-mark>svg,
  body.ke-site.keh-home .keh-note-icon>svg,
  body.ke-site .kei-contact-icon>svg,
  body.ke-site a.kei-contact-option>svg,
  body.ke-site a.kei-button>svg,
  body.ke-site .kco-value-icon>.kco-icon,
  body.ke-site .kco-step-symbol>.kco-icon,
  body.ke-site .kco-principle-mark>span>.kco-icon,
  body.ke-site .kco-story-note>.kco-icon,
  body.ke-site :is(.keg-icon,.ket-icon){width:var(--ke-ui-icon,18px);height:var(--ke-ui-icon,18px);flex:0 0 var(--ke-ui-icon,18px);padding:0}
  body.ke-site .ket-portal-action>p>a::after{font-size:var(--ke-ui-icon,18px)}
}

/* Administration uses the same mobile type and control scale as the public site. */
@media (max-width:900px){
  :is(.main-shell,.sidebar,.login-body){font-size:var(--ke-ui-copy,14px);line-height:1.65}
  .main-shell :is(p,.notice,.message-body,.contact-details,.status-item,.empty,.welcome-site,.welcome-copy>p:not(.welcome-kicker),.dashboard-status p,.health p,.settings-intro p,.muted),
  .login-body :is(p,.muted,.login-story-copy){font-size:var(--ke-ui-copy,14px);line-height:1.65}
  .main-shell :is(.table-title,.media-title,.record strong,.quick-action strong,.dashboard-status strong,.health strong,.message-heading strong){font-size:var(--ke-ui-copy,14px);line-height:1.5}
  .main-shell :is(.field>span,.field>small,.field>span small,.editor-note,.save-hint,.settings-save>span,.record small,.quick-action small,.path,.badge,.stat-footer,.stat small,.stat-index,.workspace-date,.system-status,.admin-footer,.pagination,.section-kicker,.welcome-kicker),
  .login-body :is(.field>span,.field>small,.field>span small,.login-kicker,.login-back,.login-security-note,.login-security-context,.login-security-status,.login-security-trust,.login-remember small,.login-human>span,.login-human [data-login-human-help]),
  .sidebar :is(.nav-divider,.nav-section-label,.brand small,.user-link small){font-size:var(--ke-ui-meta,13px);line-height:1.5;letter-spacing:.2px}
  .main-shell .topbar .page-title,
  .main-shell .welcome-title,
  .login-body :is(.login-card h1,.login-story-title){font-size:var(--ke-ui-h1,24px);line-height:1.25;letter-spacing:-.4px}
  .main-shell .main h2{font-size:var(--ke-ui-h2,22px);line-height:1.35;letter-spacing:-.25px}
  .main-shell :is(.card h2,.card h3,.card-heading h2,.dashboard-section-title h2,.settings-section-title h2){font-size:var(--ke-ui-h3,18px);line-height:1.4;letter-spacing:-.2px}
  .main-shell .main h3{font-size:var(--ke-ui-h3,18px);line-height:1.4}
  .main-shell .stat strong,
  .main-shell .stats:has(>.stat:nth-child(3):last-child) .stat strong{font-size:var(--ke-ui-h1,24px);line-height:1.25;letter-spacing:-.4px;margin-block:6px}
  .main-shell .stat>span:not(.stat-footer):not(.stat-icon):not(.stat-index){font-size:var(--ke-ui-copy,14px);line-height:1.5}
  .main-shell :is(.main,.topbar) :is(.button,.button.small,.link-button,.row-actions a,.editor-tabs button,.format-toolbar button,.tabs a),
  .login-body :is(.button,.link-button){font-size:var(--ke-ui-button,14px);line-height:1.5;min-height:var(--ke-ui-control,44px);padding:10px 12px;gap:8px;box-sizing:border-box;white-space:normal;text-align:center}
  .main-shell .row-actions :is(a,.link-button){display:inline-flex;align-items:center;justify-content:center;font-size:var(--ke-ui-button,14px);min-height:var(--ke-ui-control,44px);padding:10px 12px;line-height:1.5}
  .main-shell .table-wrap .row-actions :is(a,.link-button){font-size:var(--ke-ui-button,14px);min-height:var(--ke-ui-control,44px);padding:10px 12px;line-height:1.5}
  .main-shell :is(.icon-button,.ke-theme-toggle),
  .sidebar .sidebar-close,
  .login-body :is(.icon-button,.ke-theme-toggle){width:var(--ke-ui-control,44px);height:var(--ke-ui-control,44px);min-width:var(--ke-ui-control,44px);min-height:var(--ke-ui-control,44px);flex:0 0 var(--ke-ui-control,44px);padding:10px;line-height:1;font-size:var(--ke-ui-icon,18px);box-sizing:border-box}
  .main-shell :is(.button,.icon-button,.button-icon,.ke-theme-toggle,.quick-action,.quick-action-icon,.record-icon,.stat-icon,.stat-footer,.dashboard-status,.health)>svg,
  .main-shell .ke-theme-toggle svg,
  .sidebar :is(.sidebar-close,.nav-icon)>svg,
  .sidebar nav>.nav-item svg,
  .login-body :is(.button,.icon-button,.ke-theme-toggle) svg{width:var(--ke-ui-icon,18px);height:var(--ke-ui-icon,18px);min-width:var(--ke-ui-icon,18px);flex-shrink:0}
  .sidebar :is(.nav-icon,.nav-link-arrow){width:var(--ke-ui-icon,18px);height:var(--ke-ui-icon,18px);font-size:var(--ke-ui-icon,18px);line-height:1}
  .sidebar nav>.nav-item,
  .sidebar-bottom>.nav-item,
  .sidebar .user-link strong{font-size:var(--ke-ui-copy,14px);line-height:1.4}
  .main-shell :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select,textarea),
  .login-body :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select,textarea){font-size:var(--ke-ui-input,16px)!important;line-height:1.5;min-height:var(--ke-ui-control,44px);padding:10px 12px}
  .main-shell .main .title-input{font-size:var(--ke-ui-input,16px)!important;line-height:1.5;letter-spacing:normal}
  :is(.main-shell,.login-body) input:is([type=checkbox],[type=radio]){width:var(--ke-ui-icon,18px);height:var(--ke-ui-icon,18px);flex:0 0 var(--ke-ui-icon,18px)}
  :is(.main-shell,.login-body) .check{font-size:var(--ke-ui-copy,14px);line-height:1.5;min-height:36px}
  .main-shell .main .table-wrap tbody>tr>td{font-size:var(--ke-ui-copy,14px);line-height:1.65}
  .main-shell .main .table-wrap td[data-label]::before,
  .main-shell .main .table-wrap :is(.path,td>code){font-size:var(--ke-ui-meta,13px);line-height:1.5}
  .main-shell .main .field>span,
  .login-body .login-card .field>span{font-size:var(--ke-ui-meta,13px);line-height:1.5}
  .main-shell .format-toolbar button{min-width:var(--ke-ui-control,44px)}
  .login-body .password-field input{min-height:48px;padding-right:76px!important}
  .login-body .password-field .icon-button{width:auto;min-width:44px;top:2px;right:2px;font-size:var(--ke-ui-button,14px)}
}
@media (max-width:600px){
  .main-shell .replacement-row{grid-template-columns:minmax(0,1fr) 44px}
  .main-shell .replacement-row>.icon-button{width:44px;min-height:44px;height:100%;align-self:stretch}
}

/* Mobile public layout refinement: keep the page edge and content flow consistent. */
@media(max-width:960px){
 body.ke-site,
 body.ke-site :is(#wrapper,#inner-wrap,.kec-header,.kec-utility,.kec-navbar,.kec-navigation,.kec-footer,.keh-hero,.keh-shortcuts,.keh-contact,.keh-section,.kei-masthead,.kei-callout){border-radius:0!important}
 body.ke-site .kec-footer .kec-footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;align-items:start}
 body.ke-site .kec-footer .kec-footer-brand{display:flex;flex-direction:column;align-items:flex-start;grid-column:1/-1;width:100%;gap:10px;padding:0;min-width:0}
 body.ke-site .kec-footer .kec-footer-wordmark{width:min(220px,100%);max-width:100%;margin:0;grid-column:auto;grid-row:auto}
 body.ke-site .kec-footer .kec-footer-brand>p{width:100%;max-width:100%;margin:0!important;grid-column:auto;grid-row:auto}
 body.ke-site .kec-footer .kec-footer-brand>.kec-socials{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;align-self:flex-start;width:auto;max-width:100%;gap:8px;margin:0;grid-column:auto;grid-row:auto;grid-template-columns:none}
 body.ke-site .kec-footer .kec-socials-footer>a{flex:0 0 44px;width:44px;height:44px;margin:0}
 body.ke-site .kec-footer .kec-footer-contact{grid-column:1/-1;min-width:0}
 body.ke-site.keh-home .keh-hero-inner{align-items:stretch;gap:10px}
 body.ke-site.keh-home .keh-hero-note{position:static;align-self:stretch;width:100%;max-width:100%;margin:0;padding:10px 0 0;border:0;border-top:1px solid #ffffff30;background:transparent;box-shadow:none;color:#f1f4ed;gap:10px}
 body.ke-site.keh-home .keh-note-icon{display:grid;place-items:center;flex:0 0 32px;width:32px;height:32px;background:transparent;border:1px solid #ffffff30;color:#dec18b}
 body.ke-site.keh-home .keh-hero-note>div{flex:1;min-width:0}
 body.ke-site.keh-home .keh-hero-note div>span{color:#c0d0c3;letter-spacing:.2px}
 body.ke-site.keh-home .keh-hero-note strong{color:inherit}
 body.ke-site.keh-home .keh-post-image{display:grid;place-items:center;width:100%;min-width:0;aspect-ratio:16/9;overflow:hidden}
 body.ke-site.keh-home .keh-post-image>img{display:block;width:100%;height:100%!important;max-height:100%;object-fit:contain;object-position:center;transform:none!important}
 body.ke-site.kei-archive .uck-card-list .uck-card--image img{height:100%!important;object-fit:contain!important;object-position:center;transform:none!important}
 body.ke-site :is(.keh-post-image,.uck-card--image):has(img:is([src*="Korfez-Emlak-e1685629121889" i],[src*="/logo-" i],[src*="/_ke/brand-" i])){display:grid;place-items:center;aspect-ratio:auto;height:124px;min-height:0;background:var(--kei-paper,#eef0e8)}
 body.ke-site :is(.keh-post-image,.uck-card--image) img:is([src*="Korfez-Emlak-e1685629121889" i],[src*="/logo-" i],[src*="/_ke/brand-" i]){display:block;width:100%;height:124px!important;max-height:124px;padding:16px!important;box-sizing:border-box;object-fit:contain!important;object-position:center;transform:none!important}
 body.ke-site.keh-home .keh-contact-actions{width:100%;align-items:stretch;gap:10px}
 body.ke-site.keh-home .keh-contact-phone{align-self:flex-start;width:auto;max-width:100%;background:transparent}
}
/* End mobile public layout refinement. */
