
/* ==========================================================
   NURTAŞ ŞÖMİNE V13 — FINAL UI / MOBILE / BLOG FIXES
   ========================================================== */

/* Page rhythm */
body:not(.nurtas-home) .page-header__title{
  max-width:980px;
  margin-inline:auto;
}
body:not(.nurtas-home) .section-space{padding-top:78px;padding-bottom:78px}

/* Service details: compact, readable */
.nurtas-service-sidebar .service-sidebar__nav li a{
  line-height:1.35;
}
.nurtas-rich-content h1{font-size:inherit}
.nurtas-rich-content img{max-width:100%;height:auto}
.nurtas-rich-content p{line-height:1.8}

/* Blog listing */
.nurtas-blog-index .container{max-width:1280px}
.nurtas-blog-index__intro{
  max-width:820px;
  margin:0 auto 44px;
  text-align:center;
}
.nurtas-blog-index__intro h2{
  margin:0 0 12px;
  font-size:clamp(30px,3vw,46px);
  color:#151515;
}
.nurtas-blog-index__intro p{
  margin:0;
  color:#666;
  font-size:16px;
  line-height:1.75;
}
.nurtas-blog-card{
  height:100%;
  display:flex;
  flex-direction:column;
  background:#fff;
  border:1px solid #e8e5df;
  overflow:hidden;
  box-shadow:none;
  transition:transform .2s ease,border-color .2s ease;
}
.nurtas-blog-card:hover{transform:translateY(-4px);border-color:#c9c3b9}
.nurtas-blog-card__media{
  position:relative;
  aspect-ratio:16/10;
  overflow:hidden;
  background:#eee;
}
.nurtas-blog-card__media img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .35s ease;
}
.nurtas-blog-card:hover .nurtas-blog-card__media img{transform:scale(1.025)}
.nurtas-blog-card__date{
  position:absolute;
  left:18px;
  bottom:18px;
  min-width:58px;
  padding:8px 10px;
  background:#111;
  color:#fff;
  text-align:center;
  line-height:1.1;
}
.nurtas-blog-card__date strong{display:block;font-size:18px}
.nurtas-blog-card__date span{font-size:11px;text-transform:uppercase;letter-spacing:.06em}
.nurtas-blog-card__body{
  flex:1;
  display:flex;
  flex-direction:column;
  padding:24px 24px 22px;
}
.nurtas-blog-card__title{
  margin:0 0 12px;
  font-size:21px;
  line-height:1.3;
}
.nurtas-blog-card__title a{color:#151515}
.nurtas-blog-card__excerpt{
  margin:0 0 20px;
  color:#666;
  line-height:1.7;
  font-size:14px;
}
.nurtas-blog-card__footer{
  margin-top:auto;
  padding-top:16px;
  border-top:1px solid #eeeae3;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  font-size:12px;
}
.nurtas-blog-card__read{
  color:#d85f1d;
  font-weight:800;
  letter-spacing:.04em;
}
.nurtas-blog-card__views{color:#777}
.nurtas-blog-index .post-pagination{
  justify-content:center;
  margin-top:24px;
}

/* Blog detail */
.nurtas-blog-detail .container{max-width:1050px}
.nurtas-blog-detail__article{
  background:#fff;
}
.nurtas-blog-detail__hero{
  width:100%;
  aspect-ratio:16/9;
  overflow:hidden;
  background:#eee;
  margin-bottom:34px;
}
.nurtas-blog-detail__hero img{width:100%;height:100%;object-fit:cover}
.nurtas-blog-detail__body{
  max-width:860px;
  margin:0 auto;
  color:#333;
  font-size:17px;
  line-height:1.85;
}
.nurtas-blog-detail__body h2{
  margin:38px 0 14px;
  font-size:30px;
  line-height:1.25;
  color:#151515;
}
.nurtas-blog-detail__body h3{
  margin:30px 0 12px;
  font-size:24px;
  color:#1b1b1b;
}
.nurtas-blog-detail__body img{max-width:100%;height:auto}
.nurtas-blog-detail__body table{max-width:100%;overflow:auto}
.nurtas-blog-detail__meta{
  max-width:860px;
  margin:0 auto 20px;
  color:#777;
  font-size:13px;
}

/* Home production image: balanced proportions */
body.nurtas-home .nh-producer__media{
  min-height:0!important;
  aspect-ratio:4/3;
  max-height:540px;
  overflow:hidden;
}
body.nurtas-home .nh-producer__media img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
}
body.nurtas-home .nh-media-label{
  max-width:min(82%,320px);
}

/* Final footer on homepage */
body.nurtas-home .main-footer__top .row{
  justify-content:space-between;
}
body.nurtas-home .footer-widget--contact,
body.nurtas-home .footer-widget--about{
  max-width:560px;
}

/* Placeholder for products with missing images */
.nurtas-product-noimage{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:260px;
  background:#f1f0ed;
  color:#777;
}

/* MOBILE */
@media(max-width:991.98px){
  body:not(.nurtas-home) .section-space{padding-top:52px;padding-bottom:52px}

  /* Service detail: MAIN CONTENT FIRST, service navigation BELOW */
  .service-details .nurtas-service-row{
    display:flex;
    flex-direction:column;
  }
  .service-details .nurtas-service-main{order:1}
  .service-details .nurtas-service-sidebar{order:2;margin-top:22px}
  .service-details .service-sidebar__info{padding:0}
  .service-details .service-sidebar__nav{
    margin:0;
    border-top:1px solid #e8e5df;
  }
  .service-details .service-sidebar__nav li{
    margin:0!important;
    border-bottom:1px solid #e8e5df;
  }
  .service-details .service-sidebar__nav li a{
    padding:13px 4px!important;
    min-height:auto!important;
    font-size:14px!important;
  }
  .service-details .service-sidebar__contact{margin-top:22px}
  .service-details__thumbnail img{max-height:440px;object-fit:cover}

  body.nurtas-home .nh-producer__media{
    aspect-ratio:16/11;
    max-height:500px;
  }

  .nurtas-blog-index__intro{margin-bottom:30px}
}

@media(max-width:767.98px){
  body:not(.nurtas-home) .page-header{min-height:120px}
  body:not(.nurtas-home) .page-header__title{font-size:28px!important;line-height:1.15}
  body:not(.nurtas-home) .floens-breadcrumb{display:none}

  body.nurtas-home .nh-producer__media{
    aspect-ratio:4/3;
    max-height:none;
  }
  body.nurtas-home .nh-media-label{padding:14px 16px}

  .nurtas-blog-card__body{padding:20px}
  .nurtas-blog-card__title{font-size:19px}
  .nurtas-blog-detail__body{font-size:16px;line-height:1.8}
  .nurtas-blog-detail__body h2{font-size:25px}
  .nurtas-blog-detail__body h3{font-size:21px}
}
