
/* =========================================================
   ND – EN GÜZEL SİYAHA YOLCULUK v1.3.0
   SON SÜRÜM — metin önde, tasarım geride.
   Hiçbir içerik DIV'i taşınmaz / flex-grid yapılmaz.
   ========================================================= */

.nd-egs-page{
  --egs-ink:#302d29;
  --egs-muted:#746e65;
  --egs-gold:#ad8d4b;
  --egs-gold-soft:#d8c69b;
  --egs-line:#e1d8c7;
  --egs-cream:#faf6ed;
  --egs-black:#171715;
}

/* Önceki sürümlerde runtime eklenmiş olabilecek sınıflar için güvenlik */
.nd-egs-page .nd-egs-content .nd-egs-image-block,
.nd-egs-page .nd-egs-content .nd-egs-gallery{
  display:block!important;
  width:auto!important;
  max-width:none!important;
  height:auto!important;
  min-width:0!important;
  float:none!important;
  clear:both!important;
  flex:none!important;
  grid-template-columns:none!important;
}

/* Ana gövde */
.nd-egs-page .nd-egs-shell{
  box-sizing:border-box!important;
  width:min(100%,980px)!important;
  max-width:980px!important;
  margin:0 auto!important;
  padding:0 22px!important;
}

/* Üst giriş kartı */
.nd-egs-page .nd-egs-intro{
  position:relative;
  overflow:hidden;
  max-width:900px;
  margin:10px auto 48px;
  padding:30px 32px 26px;
  border:1px solid #ddd2bb;
  border-radius:17px;
  background:
    radial-gradient(circle at 96% 0,rgba(173,141,75,.09),transparent 28%),
    #faf6ed;
}
.nd-egs-page .nd-egs-intro:after{
  content:"";
  position:absolute;
  right:-50px;
  top:-70px;
  width:170px;
  height:170px;
  border:1px solid rgba(173,141,75,.10);
  border-radius:50%;
}
.nd-egs-page .nd-egs-kicker{
  position:relative;z-index:1;
  font:800 10px/1.3 Arial,sans-serif;
  letter-spacing:.18em;
  color:#806b3e;
}
.nd-egs-page .nd-egs-rule{
  position:relative;z-index:1;
  display:block;
  width:44px;height:2px;
  margin:14px 0 17px;
  background:var(--egs-gold);
}
.nd-egs-page .nd-egs-intro p{
  position:relative;z-index:1;
  max-width:720px;
  margin:0!important;
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(21px,2.1vw,28px);
  line-height:1.5;
  letter-spacing:-.015em;
  color:#29251f;
}
.nd-egs-page .nd-egs-route{
  position:relative;z-index:1;
  display:flex;
  align-items:center;
  gap:9px;
  margin-top:21px;
  padding-top:16px;
  border-top:1px solid rgba(173,141,75,.18);
  font:700 9px/1.2 Arial,sans-serif;
  letter-spacing:.1em;
  text-transform:uppercase;
  color:#746b5c;
}
.nd-egs-page .nd-egs-route i{
  flex:1;height:1px;background:#d8c79e;
}

/* Okuma alanı */
.nd-egs-page .nd-egs-content{
  display:block!important;
  width:100%!important;
  min-width:0!important;
  font-family:Georgia,"Times New Roman",serif;
  font-size:18px;
  line-height:1.84;
  color:var(--egs-ink);
}
.nd-egs-page .nd-egs-content p,
.nd-egs-page .nd-egs-content blockquote,
.nd-egs-page .nd-egs-content ul,
.nd-egs-page .nd-egs-content ol{
  min-width:0;
  max-width:850px;
  margin-left:auto!important;
  margin-right:auto!important;
}
.nd-egs-page .nd-egs-content p{
  margin-top:0!important;
  margin-bottom:1.08em!important;
}

/* Bölüm başlıkları */
.nd-egs-page .nd-egs-content .nd-journey-heading{
  position:relative!important;
  display:block!important;
  width:auto!important;
  max-width:900px!important;
  min-width:0!important;
  min-height:0!important;
  margin:52px auto 20px!important;
  padding:21px 64px 11px 0!important;
  border:0!important;
  border-top:1px solid var(--egs-line)!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  text-align:left!important;
  color:#26231f!important;
  font-family:Georgia,"Times New Roman",serif!important;
  font-size:clamp(24px,2.35vw,32px)!important;
  font-style:normal!important;
  font-weight:600!important;
  line-height:1.2!important;
  letter-spacing:-.018em!important;
  text-transform:none!important;
}
.nd-egs-page .nd-egs-content .nd-journey-heading:before{
  content:""!important;
  position:static!important;
  display:block!important;
  width:36px!important;
  height:2px!important;
  margin:0 0 12px!important;
  border:0!important;
  background:var(--egs-gold)!important;
}
.nd-egs-page .nd-egs-content .nd-journey-heading:after{
  content:attr(data-nd-no)!important;
  position:absolute!important;
  right:0!important;
  top:21px!important;
  font-family:Georgia,"Times New Roman",serif!important;
  font-size:36px!important;
  line-height:1!important;
  font-style:italic!important;
  font-weight:400!important;
  color:rgba(173,141,75,.18)!important;
}
.nd-egs-page .nd-heading-main{display:block!important}
.nd-egs-page .nd-heading-sub{
  display:block!important;
  max-width:690px!important;
  margin-top:7px!important;
  font:500 12px/1.45 Arial,sans-serif!important;
  letter-spacing:.02em!important;
  color:var(--egs-muted)!important;
}

/* Yazının görsel merkezi: Kâbe */
.nd-egs-page .nd-egs-content .nd-kabe-heading{
  margin-top:64px!important;
  padding:25px 70px 24px 25px!important;
  border-top:0!important;
  border-radius:14px!important;
  background:linear-gradient(135deg,#161614,#24221d)!important;
  color:#fff8e9!important;
  box-shadow:0 14px 34px rgba(20,18,14,.10)!important;
}
.nd-egs-page .nd-egs-content .nd-kabe-heading:before{
  background:#c3a35b!important;
}
.nd-egs-page .nd-egs-content .nd-kabe-heading:after{
  right:22px!important;
  top:25px!important;
  color:rgba(214,186,116,.23)!important;
}

/* Başlık sonrası metin her zaman normal */
.nd-egs-page .nd-egs-content .nd-journey-heading + p{
  display:block!important;
  width:auto!important;
  max-width:850px!important;
  min-width:0!important;
  margin:0 auto 1.08em!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:var(--egs-ink)!important;
  text-align:left!important;
  font-size:18px!important;
  line-height:1.84!important;
  font-style:normal!important;
  font-weight:400!important;
}

/* Kısa vurgu artık siyah dev kart değil */
.nd-egs-page .nd-egs-highlight{
  display:block!important;
  width:auto!important;
  max-width:800px!important;
  margin:27px auto!important;
  padding:17px 22px 17px 25px!important;
  border:0!important;
  border-left:3px solid var(--egs-gold)!important;
  border-radius:0 10px 10px 0!important;
  background:#f8f3e8!important;
  box-shadow:none!important;
  color:#342e25!important;
  text-align:left!important;
  font-family:Georgia,"Times New Roman",serif!important;
  font-size:19px!important;
  line-height:1.65!important;
  font-style:italic!important;
}

/* Daha kuvvetli tefekkür pasajı */
.nd-egs-page .nd-egs-reflection{
  display:block!important;
  max-width:820px!important;
  margin:27px auto!important;
  padding:21px 24px!important;
  border:1px solid #e3dac7!important;
  border-radius:11px!important;
  background:#fcfaf5!important;
  color:#312d27!important;
  line-height:1.75!important;
}

/* Dua */
.nd-egs-page .nd-egs-prayer{
  display:block!important;
  width:auto!important;
  max-width:810px!important;
  margin:28px auto!important;
  padding:22px 24px 22px 27px!important;
  border:1px solid #ded0b1!important;
  border-left:3px solid var(--egs-gold)!important;
  border-radius:0 11px 11px 0!important;
  background:#faf5e9!important;
  color:#383127!important;
  font-size:19px!important;
  line-height:1.7!important;
}
.nd-egs-page .nd-egs-prayer:before{
  content:"DUA";
  display:block;
  margin-bottom:8px;
  font:800 9px/1.2 Arial,sans-serif;
  letter-spacing:.16em;
  color:#806b3e;
}

/* =========================================================
   FOTOĞRAFLAR
   Sadece img ve gerçekten image-only P/FIGURE kapsayıcılarına dokunur.
   ========================================================= */
.nd-egs-page .nd-egs-content img.nd-egs-photo{
  display:block!important;
  position:static!important;
  float:none!important;
  clear:both!important;
  margin:29px auto 36px!important;
  padding:0!important;
  width:auto!important;
  height:auto!important;
  max-width:100%!important;
  border:0!important;
  border-radius:13px!important;
  object-fit:contain!important;
  box-shadow:
    0 13px 30px rgba(31,26,18,.11),
    0 0 0 1px rgba(173,141,75,.14)!important;
}

.nd-egs-page .nd-egs-content p.nd-photo-wrap,
.nd-egs-page .nd-egs-content figure.nd-photo-wrap{
  position:relative!important;
  display:block!important;
  width:100%!important;
  max-width:860px!important;
  min-width:0!important;
  height:auto!important;
  margin:30px auto 40px!important;
  padding:0 0 25px!important;
  float:none!important;
  clear:both!important;
  text-align:center!important;
  background:transparent!important;
}
.nd-egs-page .nd-photo-wrap img.nd-egs-photo{
  margin:0 auto!important;
}
.nd-egs-page .nd-photo-wrap:after{
  content:attr(data-caption);
  display:block;
  margin-top:10px;
  text-align:center;
  color:#837a6b;
  font:500 10px/1.4 Arial,sans-serif;
  letter-spacing:.08em;
  text-transform:uppercase;
}

/* Dört mevcut fotoğraf için kontrollü ölçü */
.nd-egs-page img.nd-photo-opening{
  width:min(100%,700px)!important;
  max-height:520px!important;
}
.nd-egs-page img.nd-photo-medine{
  width:min(100%,720px)!important;
  max-height:540px!important;
}
.nd-egs-page img.nd-photo-umre{
  width:min(100%,650px)!important;
  max-height:540px!important;
}
.nd-egs-page img.nd-photo-kabe{
  width:min(100%,760px)!important;
  max-height:560px!important;
  border-radius:10px!important;
  box-shadow:
    0 15px 34px rgba(20,18,14,.15),
    0 0 0 1px rgba(173,141,75,.28)!important;
}

/* Eski WordPress hizalamaları */
.nd-egs-page .nd-egs-content img.alignleft,
.nd-egs-page .nd-egs-content img.alignright,
.nd-egs-page .nd-egs-content img.aligncenter,
.nd-egs-page .nd-egs-content img.alignnone{
  float:none!important;
  margin-left:auto!important;
  margin-right:auto!important;
}

/* Veda */
.nd-egs-page .nd-egs-final{
  position:relative;
  overflow:hidden;
  max-width:900px;
  margin:64px auto 12px;
  padding:46px 34px 32px;
  text-align:center;
  border-radius:17px;
  background:
    radial-gradient(circle at 50% -20%,rgba(195,163,91,.13),transparent 34%),
    linear-gradient(145deg,#141413,#22201b);
  color:#fff;
  box-shadow:0 18px 46px rgba(18,16,13,.15);
}
.nd-egs-page .nd-egs-final small{
  display:block;
  margin-bottom:16px;
  color:#c3a45e;
  font:800 9px/1.2 Arial,sans-serif;
  letter-spacing:.2em;
}
.nd-egs-page .nd-egs-final blockquote{
  display:block!important;
  width:auto!important;
  max-width:720px!important;
  margin:0 auto!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  color:#fff8e9!important;
  font-family:Georgia,"Times New Roman",serif!important;
  font-size:clamp(23px,3vw,33px)!important;
  line-height:1.5!important;
  font-style:italic!important;
}
.nd-egs-page .nd-egs-amin{
  display:block;
  margin-top:18px;
  color:#cbbd9d;
  font-family:Georgia,serif;
  font-size:16px;
}
.nd-egs-page .nd-egs-signature{
  margin-top:28px;
  padding-top:17px;
  border-top:1px solid rgba(255,255,255,.10);
  color:#d7d0c3;
  font:600 11px/1.4 Arial,sans-serif;
  letter-spacing:.05em;
}
.nd-egs-page .nd-egs-signature em{
  display:block;
  margin-top:4px;
  color:#8f8a80;
  font-size:9px;
  font-style:normal;
  font-weight:500;
  letter-spacing:.10em;
  text-transform:uppercase;
}
.nd-egs-page .nd-egs-original-final-hidden,
.nd-egs-page .nd-egs-original-signature-hidden{
  display:none!important;
}

/* Mobil */
@media(max-width:760px){
  .nd-egs-page .nd-egs-shell{
    width:100%!important;
    max-width:100%!important;
    padding:0 15px!important;
  }
  .nd-egs-page .nd-egs-intro{
    padding:22px 18px 20px;
    margin-bottom:32px;
    border-radius:14px;
  }
  .nd-egs-page .nd-egs-route{flex-wrap:wrap}
  .nd-egs-page .nd-egs-route i{flex:0 0 14px}

  .nd-egs-page .nd-egs-content{
    font-size:17px;
    line-height:1.78;
  }
  .nd-egs-page .nd-egs-content .nd-journey-heading{
    margin-top:41px!important;
    padding:18px 45px 9px 0!important;
    font-size:24px!important;
  }
  .nd-egs-page .nd-egs-content .nd-journey-heading:after{
    top:18px!important;
    font-size:31px!important;
  }
  .nd-egs-page .nd-egs-content .nd-kabe-heading{
    padding:22px 48px 21px 18px!important;
  }
  .nd-egs-page .nd-egs-content .nd-journey-heading + p{
    font-size:17px!important;
    line-height:1.78!important;
  }
  .nd-egs-page .nd-egs-prayer,
  .nd-egs-page .nd-egs-highlight{
    font-size:18px!important;
    padding:18px!important;
  }
  .nd-egs-page .nd-egs-reflection{
    padding:18px!important;
  }

  .nd-egs-page .nd-egs-content p.nd-photo-wrap,
  .nd-egs-page .nd-egs-content figure.nd-photo-wrap{
    max-width:100%!important;
    margin:24px auto 31px!important;
    padding-bottom:21px!important;
  }
  .nd-egs-page .nd-egs-content img.nd-egs-photo,
  .nd-egs-page img.nd-photo-opening,
  .nd-egs-page img.nd-photo-medine,
  .nd-egs-page img.nd-photo-umre,
  .nd-egs-page img.nd-photo-kabe{
    width:auto!important;
    max-width:100%!important;
    max-height:none!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }

  .nd-egs-page .nd-egs-final{
    margin-top:47px;
    padding:37px 19px 26px;
    border-radius:14px;
  }
}
