/*
Theme Name: Apple Estate UK
Description: English-language Apple Estate property website for international buyers in Fethiye.
Version: 1.1.1
Template: apple-emlak-starter
Text Domain: apple-estate-uk
*/
:root{--navy:#29352f;--red:#c62528;--red-dark:#9e1f22;--green:#1f713e;--sea:#2b8f91;--cream:#f7f2e8;--ink:#262d29;--muted:#626c66;--line:#e3e3db;--shadow:0 14px 40px rgba(57,46,34,.12)}
.brand-mark{width:49px;height:49px;border-radius:0;background:none;box-shadow:none}.brand-mark img{width:49px;height:49px}.btn,.btn-sea{background:var(--red)}.btn:hover{background:var(--red-dark)}.btn-outline{background:#fff}.hero{background-image:linear-gradient(100deg,rgba(24,39,32,.92),rgba(31,55,43,.68) 54%,rgba(43,143,145,.26)),var(--hero-image);background-size:cover;background-position:center}.hero:before,.hero:after{display:none}.eyebrow{color:#f0d7b4}.property-place{color:var(--green)}.badge.primary{background:var(--red)}.category-card{background-size:cover;background-position:center}.category-card:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(18,31,25,.8),rgba(18,31,25,.08));z-index:0}.category-card>*{position:relative;z-index:1}.category-card:nth-child(1){background-image:var(--area-one)}.category-card:nth-child(2){background-image:var(--area-two)}.category-card:nth-child(3){background-image:var(--area-three)}.category-card:nth-child(4){background-image:var(--area-four)}.visual-panel{background-image:linear-gradient(150deg,rgba(30,60,42,.76),rgba(43,143,145,.48)),var(--story-image);background-size:cover;background-position:center}.check-list span:before{color:var(--red)}.contact-box .btn{background:var(--red)}.post-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.post-card{border:1px solid var(--line);border-radius:18px;overflow:hidden;background:#fff;box-shadow:0 8px 28px rgba(16,42,67,.07)}.post-card-link{display:block;height:100%;color:inherit;text-decoration:none}.post-card-image{display:block;aspect-ratio:16/10;background:var(--cream);overflow:hidden}.post-card-image img{display:block;width:100%;height:100%;object-fit:cover}.post-card-body{padding:22px}.post-card h2,.post-card h3{font-family:Georgia,serif;color:var(--navy);line-height:1.2}.post-card-meta{font-size:12px;color:var(--green);font-weight:800;text-transform:uppercase}.post-card-body strong{display:inline-block;margin-top:8px}.article{max-width:820px}.article img{border-radius:16px}.article h2,.article h3{color:var(--navy)}.gallery-grid{display:grid;grid-template-columns:2fr 1fr 1fr;grid-auto-rows:220px;gap:10px}.gallery-grid img{width:100%;height:100%;object-fit:cover}.gallery-grid a:first-child{grid-row:span 2}.gallery-grid a{border-radius:14px;overflow:hidden}.site-footer .brand-mark img{filter:none}@media(max-width:900px){.post-grid{grid-template-columns:1fr 1fr}.gallery-grid{grid-template-columns:1fr 1fr}.gallery-grid a:first-child{grid-row:auto}}@media(max-width:620px){.post-grid,.gallery-grid{grid-template-columns:1fr}.gallery-grid{grid-auto-rows:240px}}
.brand-image{display:inline-flex;flex:0 0 auto;align-items:center}
.language-switch{display:inline-flex;align-items:center;gap:7px;flex:0 0 auto;padding:8px 10px;border:1px solid var(--line);border-radius:999px;background:#fff;color:var(--navy);font-size:13px;font-weight:800;text-decoration:none;white-space:nowrap}
.language-switch:hover{border-color:var(--green);color:var(--green)}
.language-switch-code{display:grid;place-items:center;width:25px;height:25px;border-radius:50%;background:#e30a17;color:#fff;font-size:11px;letter-spacing:.03em}
.nav>.nav-list{display:flex;align-items:center;justify-content:center;gap:clamp(10px,1.15vw,20px);width:100%;list-style:none;margin:0;padding:0}
.nav>.nav-list>li{display:block;list-style:none;margin:0;padding:0}
.brand-logo{display:block;width:165px;height:auto;max-width:100%}
.site-footer .brand-logo{width:220px}
@media(max-width:620px){.brand-logo{width:140px}}
@media(max-width:420px){.brand-logo{width:128px}}

/* Keep the desktop header balanced when menu labels are long or browser zoom is increased. */
@media (min-width:1181px){
  .header-inner{width:min(1440px,calc(100% - 48px));height:88px;gap:clamp(14px,1.2vw,22px)}
  .brand{flex:0 0 auto;margin-right:0}
  .brand strong{font-size:24px;line-height:1.1;white-space:nowrap}
  .brand small{margin-top:2px;line-height:1.2;white-space:nowrap}
  .nav{flex:1 1 auto;justify-content:center;min-width:0;gap:clamp(10px,1.15vw,20px);font-size:clamp(12px,.9vw,14px)}
  .nav a,.header-actions .btn{white-space:nowrap}
  .header-actions{flex:0 0 auto;gap:8px}
  .header-actions .btn{padding:11px 16px;font-size:14px;line-height:1.3}
}

/* Keep Customizer card photos centered after the parent theme's fallback background shorthand. */
.category-card:nth-child(1),
.category-card:nth-child(2),
.category-card:nth-child(3),
.category-card:nth-child(4){background-size:cover;background-position:center;background-repeat:no-repeat}

.legal a{display:inline;margin:0;text-decoration:underline;text-underline-offset:3px}
.breadcrumbs ol{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin:0 0 28px;padding:0;list-style:none;color:var(--muted);font-size:13px}
.breadcrumbs li{display:flex;align-items:center;gap:9px}
.breadcrumbs li:not(:last-child)::after{content:"/";color:#a4aca7}
.breadcrumbs a{color:var(--green);font-weight:750}
.breadcrumbs a:hover{text-decoration:underline;text-underline-offset:3px}
:where(a,button,input,select,textarea):focus-visible{outline:3px solid #1d5fbf;outline-offset:3px}
.field :where(input,select):focus-visible,.filters :where(input,select):focus-visible{outline:3px solid #1d5fbf;outline-offset:1px;border-radius:6px}
@media (min-width:901px) and (max-width:1180px){
  .header-inner{height:88px}
  .brand{margin-right:auto}
  .brand strong{line-height:1.1;white-space:nowrap}
  .brand small{margin-top:2px;line-height:1.2;white-space:nowrap}
  .nav{display:none;position:absolute;top:88px;left:0;right:0;background:#fff;padding:22px 20px;flex-direction:column;align-items:flex-start;border-bottom:1px solid var(--line)}
  .nav.open{display:flex}
  .nav>.nav-list{flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:12px}
  .menu-toggle{display:block}
  .header-actions .btn-outline{display:none}
  .header-actions .btn{white-space:nowrap}
}
@media (max-width:620px){
  html,body{max-width:100%;overflow-x:hidden}
  body>*{max-width:100vw}
  .header-inner{gap:14px}
  .brand{flex:0 0 auto}
  .brand strong{font-size:20px;line-height:1.1;white-space:nowrap}
  .header-actions{display:none!important}
  .header-actions .btn{white-space:nowrap}
  .language-switch{margin-left:auto;padding:6px 8px}
  .language-switch-label{display:none}
  .menu-toggle{display:block!important;margin-left:0;color:var(--navy);font-size:28px;line-height:1}
  .hero-inner{width:calc(100vw - 28px)!important;max-width:calc(100vw - 28px);margin-inline:14px}
  .hero-copy,.search-panel,.field{width:100%;max-width:100%;min-width:0}
  .hero-copy{overflow-wrap:anywhere}
  .page-hero{padding:44px 0 38px}
  .page-hero h1{font-size:clamp(36px,10vw,42px);line-height:1.08;margin:10px 0 14px}
  .page-hero p{font-size:15px;line-height:1.55;margin-bottom:0}
}

/* Named authorship and local-expertise profiles. */
.article-byline{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:20px;color:var(--muted);font-size:14px}
.article-byline a{color:var(--green);font-weight:800;text-decoration:underline;text-underline-offset:3px}
.article-author{display:grid;grid-template-columns:auto 1fr;gap:20px;margin-top:56px;padding:26px;border:1px solid var(--line);border-radius:18px;background:var(--cream)}
.person-avatar{display:grid;place-items:center;flex:0 0 auto;width:64px;height:64px;border-radius:50%;background:var(--green);color:#fff;font-weight:900;letter-spacing:.04em;object-fit:cover}
.person-avatar-large{width:240px;height:300px;border-radius:20px;font-size:42px;box-shadow:var(--shadow)}
.profile-portrait-wrap{display:grid;justify-items:center;gap:10px}
.profile-photo-note{color:var(--muted);font-size:12px;font-weight:750;text-align:center}
.article-author-label{margin:0 0 4px;color:var(--green);font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}
.article-author h2{margin:0;font-family:Georgia,serif;font-size:28px}.article-author h2 a{color:var(--navy)}
.article-author-role,.profile-role{margin:5px 0 12px;color:var(--green);font-weight:800}
.article-author-links,.profile-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}
.article-author-links a{padding:7px 11px;border:1px solid var(--line);border-radius:999px;background:#fff;color:var(--green);font-size:13px;font-weight:800}
.profile-intro{display:grid;grid-template-columns:auto 1fr;gap:32px;align-items:center;margin-bottom:38px}
.profile-lead{max-width:860px;color:var(--ink);font-size:20px;line-height:1.65}
.profile-biography{margin-top:38px}.profile-biography h2{color:var(--navy)}.profile-biography-content{max-width:860px;font-size:18px;line-height:1.75}
.profile-expertise,.profile-trust,.team-history{margin-top:38px;padding:26px;border:1px solid var(--line);border-radius:18px;background:var(--cream)}
.profile-expertise h2,.profile-trust h2,.team-history h2{margin-top:0;color:var(--navy)}
.profile-expertise ul{display:flex;gap:10px;flex-wrap:wrap;margin:0;padding:0;list-style:none}
.profile-expertise li{padding:8px 13px;border:1px solid var(--line);border-radius:999px;background:#fff;color:var(--green);font-weight:750}
.team-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-top:32px}
.team-card{display:grid;grid-template-columns:auto 1fr;gap:18px;padding:26px;border:1px solid var(--line);border-radius:18px;background:#fff;box-shadow:var(--shadow)}
.team-card h2,.team-card h3{margin:0;font-family:Georgia,serif;font-size:28px}.team-card h2 a,.team-card h3 a{color:var(--navy)}
.team-profile-link{color:var(--green);font-weight:800}
.about-team{margin-top:clamp(46px,7vw,84px);padding-top:clamp(38px,5vw,62px);border-top:1px solid var(--line)}
.about-team>.eyebrow{display:block;color:var(--green);margin-bottom:10px}
.about-team>h2{margin:0;color:var(--navy);font-family:Georgia,serif;font-size:clamp(34px,5vw,54px);line-height:1.08}
.about-team-action{margin-top:28px}
@media(max-width:620px){.article-author,.profile-intro,.team-card{grid-template-columns:1fr}.team-grid{grid-template-columns:1fr}.person-avatar-large{width:min(100%,280px);height:auto;min-height:220px;aspect-ratio:4/5}.profile-lead{font-size:18px}}
@media (max-width:420px){
  .header-actions{display:none}
}
@media (max-width:900px){
  .nav>.nav-list{flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:12px}
}

/* Search-focused landing pages for regions, property types, and transaction types. */
.taxonomy-hero{padding-top:46px}
.taxonomy-breadcrumbs{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-bottom:24px;color:var(--muted);font-size:13px}
.taxonomy-breadcrumbs a{color:var(--green);font-weight:750}
.taxonomy-breadcrumbs a:hover{text-decoration:underline}
.seo-breadcrumbs{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-bottom:24px;color:var(--muted);font-size:13px}
.seo-breadcrumbs a{color:var(--green);font-weight:750}
.seo-breadcrumbs a:hover{text-decoration:underline}
.single-property>.wrap>.seo-breadcrumbs{margin-bottom:28px}
.listing-term-links{display:flex;gap:10px;flex-wrap:wrap;margin:-4px 0 26px}
.listing-term-links span{padding:7px 11px;border:1px solid var(--line);border-radius:999px;background:#fff;color:var(--muted);font-size:13px}
.listing-term-links a{color:var(--green);font-weight:750}
.listing-term-links a:hover{text-decoration:underline}
.page-related-links{margin-top:48px;padding:26px;border:1px solid var(--line);border-radius:18px;background:var(--cream)}
.page-related-links h2{margin:0 0 14px;font-family:Georgia,serif;color:var(--navy);font-size:26px;font-weight:500}
.page-related-links div{display:flex;gap:10px;flex-wrap:wrap}
.page-related-links a{padding:8px 13px;border:1px solid var(--line);border-radius:999px;background:#fff;color:var(--green);font-size:13px;font-weight:750}
.page-related-links a:hover{text-decoration:underline}
.taxonomy-description{max-width:820px;color:var(--muted);font-size:17px}
.taxonomy-description p{margin:0 0 12px}
.taxonomy-description p:last-child{margin-bottom:0}
.taxonomy-results .section-head{align-items:center}
.taxonomy-results-count{margin-top:4px;color:var(--muted)}
.taxonomy-related{margin-top:54px;padding:28px;border:1px solid var(--line);border-radius:18px;background:var(--cream)}
.taxonomy-related h2{margin:0 0 16px;font-family:Georgia,serif;color:var(--navy);font-size:28px;font-weight:500}
.taxonomy-related-links{display:flex;gap:10px;flex-wrap:wrap}
.taxonomy-related-links a{display:inline-flex;padding:8px 13px;border:1px solid var(--line);border-radius:999px;background:#fff;color:var(--navy);font-size:13px;font-weight:750}
.taxonomy-related-links a:hover{border-color:var(--green);color:var(--green)}
.empty-location-links{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin:22px 0}
.empty-location-links a{padding:9px 14px;border:1px solid var(--line);border-radius:999px;background:#fff;color:var(--green);font-weight:750}
.empty-location-links a:hover{text-decoration:underline}
.results-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px;flex-wrap:wrap}
.listing-sort{display:flex;align-items:center;gap:10px}
.listing-sort label{font-weight:800;color:var(--navy)}
.listing-sort select{min-width:205px;padding:11px 38px 11px 14px;border:1px solid var(--line);border-radius:12px;background:#fff;color:var(--ink);font:inherit;font-weight:700}
.site-footer h2{color:#fff;margin-top:0;font-family:inherit;font-size:1em}
.article h2[id],.article h3[id]{scroll-margin-top:110px}
.hub-articles{max-width:1180px;margin-top:48px}
.content-hub{max-width:1180px}
.hub-articles>h2{font-family:Georgia,serif;color:var(--navy);font-size:34px;font-weight:500}
.about-fethiye-hub{max-width:1180px;margin-top:48px;padding-top:42px;border-top:1px solid var(--line)}
.about-fethiye-hub h2{font-family:Georgia,serif;color:var(--navy);font-size:34px;font-weight:500}
@media (max-width:620px){
  .taxonomy-hero{padding-top:36px}
  .taxonomy-results .section-head{display:block}
  .taxonomy-results .section-head .btn{margin-top:18px}
  .results-actions{justify-content:flex-start;margin-top:18px}
  .listing-sort{width:100%;align-items:flex-start;flex-direction:column}
  .listing-sort select{width:100%}
  .taxonomy-related{padding:22px}
}
