/*
Theme Name: Corumilan Clean
Author: OpenAI
Description: Clean mobile-first real estate theme for corumilan.com
Version: 1.0
Text Domain: corumilan
*/

:root{
  --brand:#f97316;
  --brand-dark:#ea580c;
  --text:#111827;
  --muted:#6b7280;
  --bg:#f3f4f6;
  --border:#e5e7eb;
  --shadow:0 10px 30px rgba(17,24,39,.08);
  --radius:18px;
}

*{
  box-sizing:border-box;
}

body{
  margin:0;
  font-family:Arial,Helvetica,sans-serif;
  background:var(--bg);
  color:var(--text);
}

a{
  text-decoration:none;
  color:inherit;
}

img{
  max-width:100%;
  display:block;
}

.container{
  max-width:1280px;
  margin:0 auto;
  padding:0 16px;
}

.site-header{
  position:sticky;
  top:0;
  z-index:40;
  background:#fff;
  border-bottom:1px solid var(--border);
}

.header-inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
  min-height:72px;
}

.logo{
  font-size:28px;
  font-weight:800;
  color:var(--brand);
}

.top-nav a{
  margin-left:18px;
  color:var(--muted);
}

.hero{
  padding:24px 0;
}

.main-layout{
  display:grid;
  grid-template-columns:320px 1fr;
  gap:20px;
}

.sidebar-card,
.content-card,
.toolbar,
.card,
.info-card,
.gallery-wrap,
.blog-card,
.mahalle-link{
  background:#fff;
  border:1px solid var(--border);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
}

.sidebar-card,
.content-card,
.toolbar,
.info-card,
.gallery-wrap,
.blog-card,
.mahalle-link{
  padding:18px;
}

.section-title,
.sidebar-title{
  margin:0 0 14px;
  font-weight:800;
}

.section-title{
  font-size:24px;
}

.search-form .field{
  margin-bottom:12px;
}

.search-form label{
  display:block;
  font-size:14px;
  font-weight:700;
  margin-bottom:6px;
}

.search-form input,
.search-form select,
.search-form button,
.toolbar select,
.toolbar button{
  width:100%;
  height:46px;
  border-radius:12px;
  border:1px solid var(--border);
  padding:0 12px;
  font-size:15px;
  background:#fff;
}

.search-form button{
  background:var(--brand);
  border:none;
  color:#fff;
  font-weight:700;
  cursor:pointer;
}

.filter-toggle{
  display:none;
  margin-bottom:12px;
  width:100%;
  height:46px;
  border:none;
  border-radius:12px;
  background:var(--brand);
  color:#fff;
  font-weight:700;
  cursor:pointer;
}

.mobile-filter-panel{
  display:block;
}

.toolbar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  margin-bottom:18px;
}

.toolbar-group{
  display:flex;
  gap:10px;
  align-items:center;
  flex-wrap:wrap;
}

.view-toggle{
  display:inline-flex;
  gap:8px;
}

.view-toggle button{
  height:40px;
  border-radius:10px;
  border:1px solid var(--border);
  background:#fff;
  padding:0 12px;
  cursor:pointer;
}

.view-toggle button.active{
  background:var(--brand);
  color:#fff;
  border-color:var(--brand);
}

.grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
}

.card{
  overflow:hidden;
  padding:0;
}

.card-media{
  position:relative;
}

.card-media img{
  width:100%;
  height:220px;
  object-fit:cover;
}

.badge{
  position:absolute;
  left:12px;
  top:12px;
  background:var(--brand);
  color:#fff;
  border-radius:999px;
  padding:6px 10px;
  font-size:12px;
  font-weight:700;
}

.card-body{
  padding:14px;
}

.card-title{
  margin:0 0 8px;
  font-size:18px;
  font-weight:800;
}

.price{
  font-size:22px;
  color:var(--brand);
  font-weight:800;
  margin:0 0 10px;
}

.meta{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  color:var(--muted);
  font-size:14px;
}

.grid.list-view{
  grid-template-columns:1fr;
}

.grid.list-view .card{
  display:grid;
  grid-template-columns:320px 1fr;
  align-items:stretch;
}

.grid.list-view .card .card-media{
  height:100%;
}

.grid.list-view .card .card-media img{
  height:100%;
  min-height:220px;
  object-fit:cover;
}

.grid.list-view .card .card-body{
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.mahalle-grid,
.blog-list{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
}

.muted{
  color:var(--muted);
}

.blog-card h3,
.mahalle-link h3{
  margin:0 0 6px;
}

.pagination{
  display:flex;
  gap:8px;
  justify-content:center;
  margin-top:20px;
}

.pagination .page-numbers{
  background:#fff;
  border:1px solid var(--border);
  padding:10px 12px;
  border-radius:10px;
}

.pagination .current{
  background:var(--brand);
  color:#fff;
  border-color:var(--brand);
}

.back-link{
  display:inline-block;
  margin-top:12px;
}

/* Single Listing Layout */
.single-layout{
  display:block;
}

.single-top{
  display:grid;
  grid-template-columns:minmax(0,1fr) 360px;
  gap:24px;
  align-items:start;
  margin-top:16px;
  margin-bottom:24px;
}

.single-main-col{
  min-width:0;
}

.gallery-wrap{
  width:100%;
  padding:12px;
}

.gallery-main{
  position:relative;
  overflow:hidden;
  border-radius:20px;
}

.gallery-main{
  height:520px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#f3f3f3;
  border-radius:20px;
  overflow:hidden;
  position:relative;
}

.gallery-main img{
  max-width:100%;
  max-height:100%;
  width:auto;
  height:auto;
  object-fit:contain;
  cursor:pointer;
  transition:transform .3s ease;
}

.gallery-main img:hover{
  transform:scale(1.03);
}

.gallery-nav{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:44px;
  height:44px;
  border:none;
  border-radius:999px;
  background:rgba(255,255,255,.92);
  box-shadow:0 4px 14px rgba(0,0,0,.14);
  cursor:pointer;
  z-index:3;
  font-size:28px;
  line-height:1;
}

.gallery-prev{
  left:14px;
}

.gallery-next{
  right:14px;
}

.gallery-thumbs-row{
  display:flex;
  align-items:center;
  gap:10px;
  margin-top:14px;
}

.gallery-thumbs{
  display:flex;
  flex-wrap:nowrap;
  gap:14px;
  overflow-x:auto;
  overflow-y:hidden;
  scroll-behavior:smooth;
  scrollbar-width:none;
  -ms-overflow-style:none;
  min-width:0;
  flex:1;
  padding-bottom:2px;
}

.gallery-thumbs::-webkit-scrollbar{
  display:none;
}

.gallery-thumbs img{
  flex:0 0 150px;
  width:150px;
  height:95px;
  object-fit:cover;
  border-radius:14px;
  display:block;
  cursor:pointer;
  border:2px solid transparent;
}

.gallery-thumbs img.active{
  border-color:#16a34a;
}

.thumb-nav{
  width:40px;
  height:40px;
  flex:0 0 40px;
  border:none;
  border-radius:999px;
  background:#fff;
  box-shadow:0 4px 14px rgba(0,0,0,.12);
  cursor:pointer;
  font-size:24px;
  line-height:1;
}

.info-card{
  position:sticky;
  top:20px;
  align-self:start;
  height:fit-content;
}

.info-list{
  list-style:none;
  padding:0;
  margin:0;
}

.info-list li{
  display:flex;
  justify-content:space-between;
  gap:10px;
  padding:11px 0;
  border-bottom:1px solid var(--border);
}

.share-links{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:16px;
}

.share-icon{
  width:46px;
  height:46px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid var(--border);
}

.share-wa{
  background:#25D366;
  color:#fff;
  border-color:#25D366;
}

.share-fb{
  background:#1877F2;
  color:#fff;
  border-color:#1877F2;
}

.listing-description-card{
  margin-bottom:24px;
}

.float-btn{
  display:none;
  position:fixed;
  right:18px;
  width:54px;
  height:54px;
  border-radius:999px;
  align-items:center;
  justify-content:center;
  color:#fff;
  box-shadow:0 10px 24px rgba(0,0,0,.22);
  z-index:55;
}

.float-btn svg{
  width:24px;
  height:24px;
  display:block;
}

.float-wa{
  bottom:90px;
  background:#25D366;
}

.float-phone{
  bottom:22px;
  background:var(--brand);
}

.mobile-bottom{
  display:none;
  position:fixed;
  left:0;
  right:0;
  bottom:0;
  background:#fff;
  border-top:1px solid var(--border);
  z-index:60;
}

.mobile-bottom a{
  flex:1;
  text-align:center;
  padding:12px 6px;
  color:var(--muted);
  font-size:13px;
}

.site-footer{
  background:#111827;
  color:#fff;
  margin-top:40px;
}

.footer-inner{
  padding:36px 0;
}

.footer-grid{
  display:grid;
  grid-template-columns:2fr 1fr 1fr;
  gap:24px;
}

.footer-title{
  font-size:20px;
  font-weight:800;
  margin-bottom:10px;
}

.footer-meta{
  color:#d1d5db;
  margin-bottom:4px;
}

.lightbox{
  display:none;
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.92);
  z-index:100;
  align-items:center;
  justify-content:center;
  padding:20px;
}

.lightbox img{
  max-width:92vw;
  max-height:86vh;
  object-fit:contain;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next{
  position:absolute;
  background:rgba(255,255,255,.92);
  border:none;
  border-radius:999px;
  width:46px;
  height:46px;
  cursor:pointer;
  font-weight:800;
}

.lightbox-close{
  top:20px;
  right:20px;
}

.lightbox-prev{
  left:20px;
}

.lightbox-next{
  right:20px;
}

.gallery-thumb-list{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.gallery-thumb-item{
  position:relative;
  border:1px solid #ddd;
  border-radius:10px;
  padding:6px;
  background:#fff;
}

.gallery-thumb-item img{
  width:110px;
  height:90px;
  object-fit:cover;
  border-radius:8px;
}

.gallery-thumb-item button{
  position:absolute;
  top:4px;
  right:4px;
  border:none;
  background:#ef4444;
  color:#fff;
  border-radius:999px;
  width:22px;
  height:22px;
  cursor:pointer;
}

.page-content{
  color:#374151;
  line-height:1.8;
}

.page-content h2{
  margin-top:24px;
  margin-bottom:12px;
  font-size:22px;
}

.page-content ul{
  padding-left:20px;
}

.page-content p{
  margin:0 0 16px;
}

.sort-form{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  background:#fff7ed;
  border:1px solid #fed7aa;
  padding:10px 12px;
  border-radius:12px;
  margin:0;
}

.sort-label{
  font-size:14px;
  font-weight:700;
  color:#9a3412;
}

.sort-select{
  width:auto;
  min-width:120px;
  height:38px;
  border:1px solid #e5e7eb;
  border-radius:10px;
  background:#fff;
  padding:0 12px;
  font-size:14px;
  color:#111827;
}

.sort-button{
  height:42px;
  padding:0 16px;
  border:none;
  border-radius:10px;
  background:#f97316;
  color:#fff;
  font-weight:700;
  cursor:pointer;
}

.sort-button:hover{
  background:#ea580c;
}

.toolbar .muted{
  font-size:14px;
}

@media (max-width:1100px){
  .main-layout,
  .footer-grid{
    grid-template-columns:1fr;
  }

  .grid,
  .mahalle-grid,
  .blog-list{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .single-top{
    grid-template-columns:1fr;
  }

  .info-card{
    position:static;
  }

  .gallery-main img{
    height:380px;
  }
}

@media (max-width:768px){
  .top-nav{
    display:none;
  }

  .filter-toggle{
    display:block;
  }

  .mobile-filter-panel{
    display:none;
  }

  .mobile-filter-panel.open{
    display:block;
  }

  .main-layout,
  .footer-grid,
  .mahalle-grid,
  .blog-list{
    grid-template-columns:1fr;
  }

  .grid{
    grid-template-columns:1fr;
  }

  .grid.list-view .card{
    display:flex;
    flex-direction:column;
  }

  .grid.list-view .card .card-media img{
    height:220px !important;
    min-height:220px !important;
  }

  .toolbar{
    flex-direction:row;
    justify-content:space-between;
    align-items:center;
    gap:8px;
  }

  .toolbar-group{
    width:auto;
    display:flex;
    align-items:center;
    gap:8px;
  }

  .toolbar-group form{
    width:100%;
    display:flex;
    flex-direction:column;
    gap:10px;
  }

  .view-toggle{
    display:none !important;
    visibility:hidden !important;
    width:0 !important;
    height:0 !important;
    overflow:hidden !important;
    margin:0 !important;
    padding:0 !important;
  }

  .toolbar .muted{
    font-size:13px;
  }

  .gallery-main,
  .gallery-main img{
    border-radius:14px;
  }

  .gallery-main img{
    height:250px;
  }

  .gallery-nav{
    width:38px;
    height:38px;
    font-size:24px;
  }

  .gallery-prev{
    left:10px;
  }

  .gallery-next{
    right:10px;
  }

  .gallery-thumbs-row{
    gap:8px;
    margin-top:10px;
  }

  .gallery-thumbs img{
    flex:0 0 110px;
    width:110px;
    height:72px;
    border-radius:10px;
  }

  .thumb-nav{
    width:34px;
    height:34px;
    flex-basis:34px;
    font-size:20px;
  }

  .single-top{
    gap:18px;
    margin-bottom:18px;
  }

  .sort-form{
    width:auto;
    flex-direction:column;
    align-items:stretch;
  }

  .sort-select,
  .sort-button{
    width:100%;
  }

  .sort-select{
    min-width:110px;
    height:36px;
    font-size:13px;
    padding:0 10px;
  }

  .float-btn{
    display:flex;
  }

  .mobile-bottom{
    display:flex;
  }

  body{
    padding-bottom:72px;
  }
}
.back-link{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-top:14px;
  margin-bottom:16px;
  padding:10px 16px;
  background:#fff;
  border:1px solid var(--border);
  border-radius:12px;
  font-size:14px;
  font-weight:600;
  color:#374151;
  transition:all .18s ease;
  box-shadow:0 2px 6px rgba(0,0,0,.05);
}

.back-link:hover{
  background:var(--brand);
  color:#fff;
  border-color:var(--brand);
  transform:translateY(-1px);
}
.listing-seo-block{
  margin-top:24px;
  padding-top:8px;
  border-top:1px solid var(--border);
}

.listing-seo-block h2{
  margin:0 0 14px;
  font-size:22px;
  font-weight:800;
  color:var(--text);
}

.listing-seo-block p{
  margin:0 0 14px;
  color:#374151;
  line-height:1.8;
  font-size:15px;
}

@media (max-width:768px){
  .listing-seo-block{
    margin-top:18px;
  }

  .listing-seo-block h2{
    font-size:20px;
  }

  .listing-seo-block p{
    font-size:14px;
    line-height:1.75;
  }
}
.listing-internal-links{
  margin-top:24px;
  padding-top:18px;
  border-top:1px solid var(--border);
}

.listing-internal-links h2{
  margin:0 0 12px;
  font-size:20px;
  font-weight:800;
}

.listing-internal-chips{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.internal-chip{
  display:inline-flex;
  align-items:center;
  padding:10px 14px;
  border:1px solid var(--border);
  border-radius:999px;
  background:#fff7ed;
  color:#9a3412;
  font-size:14px;
  font-weight:700;
  transition:all .18s ease;
}

.internal-chip:hover{
  background:var(--brand);
  border-color:var(--brand);
  color:#fff;
}

.info-list strong a{
  color:var(--brand-dark);
  font-weight:800;
}

.info-list strong a:hover{
  text-decoration:underline;
}

@media (max-width:768px){
  .listing-internal-links{
    margin-top:18px;
    padding-top:14px;
  }

  .listing-internal-links h2{
    font-size:18px;
  }

  .internal-chip{
    font-size:13px;
    padding:9px 12px;
  }
}
.card-title{
  margin:0 0 8px;
  font-size:18px;
  font-weight:800;
  line-height:1.35;
}

.card-title a{
  color:inherit;
}

.card-title a:hover{
  color:var(--brand-dark);
}

.card-title{
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
 
 .landing-seo-text{
margin:12px 0 18px;
color:#374151;
line-height:1.7;
}

.room-links{
margin:10px 0 18px;
display:flex;
gap:10px;
flex-wrap:wrap;
}

.room-links a{
padding:8px 12px;
border-radius:8px;
background:#fff7ed;
border:1px solid #fed7aa;
font-weight:600;
font-size:14px;
}

.room-links a:hover{
background:var(--brand);
color:#fff;
}

.mahalle-links{
margin-top:30px;
}

.mahalle-links h2{
font-size:20px;
margin-bottom:12px;
}

.mahalle-links a{
display:inline-block;
margin:4px;
padding:8px 12px;
border-radius:8px;
background:#f3f4f6;
}
.landing-page-card h1{
  margin:0 0 14px;
}

.landing-seo-text{
  margin:12px 0 18px;
  color:#374151;
  line-height:1.8;
}

.room-links{
  margin:10px 0 22px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
}

.room-links strong{
  margin-right:4px;
}

.room-links a{
  display:inline-flex;
  align-items:center;
  padding:9px 13px;
  border-radius:10px;
  background:#fff7ed;
  border:1px solid #fed7aa;
  color:#9a3412;
  font-weight:700;
  font-size:14px;
}

.room-links a:hover{
  background:var(--brand);
  border-color:var(--brand);
  color:#fff;
}

.mahalle-links{
  margin-top:28px;
  padding-top:18px;
  border-top:1px solid var(--border);
}

.mahalle-links h2{
  margin:0 0 14px;
  font-size:22px;
  font-weight:800;
}

.mahalle-links a{
  display:inline-block;
  margin:4px 8px 4px 0;
  padding:9px 13px;
  border-radius:10px;
  background:#f9fafb;
  border:1px solid var(--border);
  font-weight:700;
  color:#374151;
}

.mahalle-links a:hover{
  background:#fff7ed;
  border-color:#fed7aa;
  color:#9a3412;
}

@media (max-width:768px){
  .landing-seo-text{
    line-height:1.75;
  }

  .room-links{
    gap:8px;
  }

  .room-links a,
  .mahalle-links a{
    font-size:13px;
    padding:8px 11px;
  }

  .mahalle-links h2{
    font-size:20px;
  }
}
.room-links{
margin:18px 0 24px;
display:flex;
flex-wrap:wrap;
gap:10px;
align-items:center;
}

.room-links strong{
margin-right:6px;
font-weight:700;
}

.room-links a{
display:inline-block;
padding:8px 14px;
border-radius:8px;
background:#fff7ed;
border:1px solid #fed7aa;
color:#c2410c;
font-weight:700;
font-size:14px;
text-decoration:none;
transition:all .2s ease;
}

.room-links a:hover{
background:#f97316;
border-color:#f97316;
color:#fff;
}
.room-chip{
display:inline-flex;
align-items:center;
padding:8px 14px;
border-radius:10px;
background:#fff7ed;
border:1px solid #fed7aa;
color:#9a3412;
font-weight:700;
font-size:14px;
}

.room-chip:hover{
background:var(--brand);
border-color:var(--brand);
color:#fff;
}
.room-links-box{
  margin:18px 0 24px;
}

.room-links-title{
  display:block;
  margin:0 0 12px;
  font-size:18px;
  font-weight:800;
  color:var(--text);
}

.room-links-list{
  display:flex !important;
  flex-wrap:wrap !important;
  gap:10px !important;
  align-items:center;
}

.room-links-list .room-links-item{
  display:inline-flex !important;
  align-items:center;
  justify-content:center;
  padding:9px 14px;
  border-radius:10px;
  background:#fff7ed !important;
  border:1px solid #fed7aa !important;
  color:#c2410c !important;
  font-weight:700;
  font-size:14px;
  line-height:1.2;
  text-decoration:none !important;
  transition:all .2s ease;
}

.room-links-list .room-links-item:hover{
  background:var(--brand) !important;
  border-color:var(--brand) !important;
  color:#fff !important;
}

@media (max-width:768px){
  .room-links-box{
    margin:16px 0 20px;
  }

  .room-links-title{
    font-size:17px;
    margin-bottom:10px;
  }

  .room-links-list .room-links-item{
    font-size:13px;
    padding:8px 12px;
  }
}
.landing-breadcrumb{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  align-items:center;
  margin:0 0 16px;
  font-size:14px;
  color:var(--muted);
}

.landing-breadcrumb a{
  color:var(--brand-dark);
  font-weight:600;
}

.landing-breadcrumb a:hover{
  text-decoration:underline;
}

.breadcrumb-sep{
  color:#9ca3af;
}

.breadcrumb-current{
  color:#374151;
  font-weight:700;
}

.landing-bottom-seo{
  margin-top:28px;
  padding-top:20px;
  border-top:1px solid var(--border);
}

.landing-bottom-seo h2{
  margin:0 0 14px;
  font-size:22px;
  font-weight:800;
}

.landing-bottom-seo p{
  margin:0 0 14px;
  color:#374151;
  line-height:1.8;
}

@media (max-width:768px){
  .landing-breadcrumb{
    font-size:13px;
    margin-bottom:14px;
  }

  .landing-bottom-seo h2{
    font-size:20px;
  }

  .landing-bottom-seo p{
    line-height:1.75;
  }
}
.mahalle-seo-content{
margin-top:24px;
padding-top:18px;
border-top:1px solid var(--border);
}

.mahalle-seo-content h2{
font-size:22px;
margin-bottom:12px;
font-weight:800;
}

.mahalle-seo-content p{
margin-bottom:12px;
line-height:1.8;
color:#374151;
}
.mahalle-sitemap-grid{
display:grid;
grid-template-columns:repeat(auto-fill,minmax(220px,1fr));
gap:10px;
margin-top:16px;
}

.mahalle-sitemap-link{
display:block;
padding:10px 14px;
border-radius:10px;
background:#f9fafb;
border:1px solid var(--border);
font-weight:600;
}

.mahalle-sitemap-link:hover{
background:#fff7ed;
border-color:#fed7aa;
color:#c2410c;
}
.blog-related-box{
  margin-top:28px;
  padding-top:20px;
  border-top:1px solid var(--border);
}

.blog-related-box h2{
  margin:0 0 14px;
  font-size:22px;
  font-weight:800;
}

.blog-related-links{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-bottom:16px;
}

.blog-related-link{
  display:inline-flex;
  align-items:center;
  padding:9px 13px;
  border-radius:10px;
  background:#fff7ed;
  border:1px solid #fed7aa;
  color:#9a3412;
  font-weight:700;
  font-size:14px;
}

.blog-related-link:hover{
  background:var(--brand);
  border-color:var(--brand);
  color:#fff;
}

.blog-related-listings{
  display:flex;
  flex-direction:column;
  gap:10px;
}

.blog-related-listing{
  display:block;
  padding:12px 14px;
  border-radius:10px;
  background:#f9fafb;
  border:1px solid var(--border);
  font-weight:700;
  color:#374151;
}

.blog-related-listing:hover{
  background:#fff7ed;
  border-color:#fed7aa;
  color:#9a3412;
}

@media (max-width:768px){
  .blog-related-box h2{
    font-size:20px;
  }

  .blog-related-link,
  .blog-related-listing{
    font-size:14px;
  }
}
.mahalle-sitemap-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(220px,1fr));
  gap:12px;
  margin-top:18px;
}

.mahalle-sitemap-link{
  display:block;
  padding:12px 14px;
  border-radius:12px;
  background:#f9fafb;
  border:1px solid var(--border);
  font-weight:700;
  color:#374151;
  transition:all .18s ease;
}

.mahalle-sitemap-link:hover{
  background:#fff7ed;
  border-color:#fed7aa;
  color:#c2410c;
}
.blog-related-box{
  margin-top:28px;
  padding-top:20px;
  border-top:1px solid var(--border);
}

.blog-related-box h2{
  margin:0 0 14px;
  font-size:22px;
  font-weight:800;
}

.blog-related-links{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.blog-related-link{
  display:inline-flex;
  align-items:center;
  padding:9px 13px;
  border-radius:10px;
  background:#fff7ed;
  border:1px solid #fed7aa;
  color:#9a3412;
  font-weight:700;
  font-size:14px;
}

.blog-related-link:hover{
  background:var(--brand);
  border-color:var(--brand);
  color:#fff;
}
.blog-related-links{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:12px;
}

.blog-related-link{
  display:inline-flex;
  align-items:center;
  padding:10px 14px;
  border-radius:12px;
  background:#fff7ed;
  border:1px solid #fed7aa;
  color:#c2410c;
  font-weight:700;
  font-size:14px;
  text-decoration:none;
  transition:all .18s ease;
}

.blog-related-link:hover{
  background:#f97316;
  border-color:#f97316;
  color:#fff;
  transform:translateY(-1px);
}
.mahalle-pill{
  display:inline-block;
  padding:3px 10px;
  border-radius:16px;
  background:#fff3e8;
  border:1px solid #ff8a3d;
  color:#ff6a00;
  text-decoration:none;
  font-size:12px;
}

.mahalle-pill:hover{
  background:#ff6a00;
  color:#fff;
}
.mahalle-pill{
  display:inline-flex;
  align-items:center;
  padding:6px 12px;
  border-radius:999px;
  background:#fff3e8;
  border:1px solid #ff8a3d;
  color:#ff6a00;
  text-decoration:none;
  font-size:13px;
  font-weight:600;
  line-height:1.2;
}

.mahalle-pill:hover{
  background:#ff6a00;
  color:#fff;
}

.info-list strong .mahalle-pill{
  margin:0;
}
/* ===== GALERI FINAL (TEMIZ) ===== */

.gallery-main{
  position:relative;
  width:100%;
  height:460px;
  overflow:hidden;
  border-radius:20px;
  background:#f3f4f6;
}

.gallery-main img{
  display:block;
  max-width:100%;
  max-height:100%;
  width:auto;
  height:auto;
  object-fit:contain;
  margin:auto;
  border-radius:20px;
}

/* NAV BUTTONS */
.gallery-nav{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:48px;
  height:48px;
  border-radius:50%;
  border:none;
  background:#fff;
  color:#222;
  box-shadow:0 4px 14px rgba(0,0,0,0.18);
  font-size:26px;
  cursor:pointer;
  z-index:10;
  transition:all .2s;
}

.gallery-nav:hover{
  background:#ff6a00;
  color:#fff;
}

.gallery-prev{
  left:16px;
}

.gallery-next{
  right:16px;
}

/* THUMBS */
.gallery-thumbs img{
  width:90px;
  height:65px;
  object-fit:cover;
  border-radius:8px;
  cursor:pointer;
  opacity:.7;
  transition:all .2s;
}

.gallery-thumbs img:hover{
  opacity:1;
  transform:scale(1.05);
}

.gallery-thumbs img.active{
  opacity:1;
  border:2px solid #ff6a00;
}

/* BLOG IMAGE */
.blog-thumb-link{
  position:relative;
  display:block;
  margin:12px 0;
  overflow:hidden;
}

.blog-thumb-link img{
  display:block;
  width:100%;
  height:auto;
}

/* WATERMARK */
.img-watermark{
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%, -50%) rotate(-20deg);
  font-size:32px;
  font-weight:800;
  letter-spacing:2px;
  color:rgba(255,255,255,0.12);
  pointer-events:none;
  user-select:none;
  white-space:nowrap;
}

/* ===== MOBILE FIX ===== */

@media (max-width:768px){

  .gallery-main{
    height:auto;
    border-radius:14px;
  }

  .gallery-main img{
    width:100%;
    height:auto;
    max-width:100%;
    object-fit:contain;
    border-radius:14px;
  }

  .gallery-thumbs img{
    width:70px;
    height:50px;
  }

  .gallery-nav{
    width:38px;
    height:38px;
    font-size:22px;
  }

  .gallery-prev{
    left:10px;
  }

  .gallery-next{
    right:10px;
  }

}