/* ===============================
   Hizmet Detay Sayfası
   - Sadece içerik (yazı + tablo) stilleri.
   - Layout / grid / sidebar gibi alanlara dokunmaz.
   =============================== */

/* Hero alanı (mevcut) */
.service-hero{
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: center;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.service-hero::before{
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.45);
}
.service-hero .container{
  position: relative;
  z-index: 1;
}

/* ===============================
   WYSIWYG İçerik Tipografi
   =============================== */
.service-content{
  /* okunabilirlik */
  font-size: 1.05rem;
  line-height: 1.85;
  color: #2b2b2b;
  /* tek sütun okuma genişliği */
  max-width: 880px;
  margin: 0 auto;
}

.service-content > :first-child{ margin-top: 0 !important; }
.service-content > :last-child{ margin-bottom: 0 !important; }

/* Başlıklar */
.service-content h1,
.service-content h2,
.service-content h3,
.service-content h4,
.service-content h5,
.service-content h6{
  line-height: 1.25;
  margin: 1.6rem 0 .75rem;
  color: #111;
}

.service-content h1{ font-size: 2.05rem; }
.service-content h2{ font-size: 1.65rem; }
.service-content h3{ font-size: 1.35rem; }
.service-content h4{ font-size: 1.15rem; }
.service-content h5{ font-size: 1.05rem; }
.service-content h6{ font-size: 1.0rem; }

.service-content p{
  margin: 0 0 1.05rem;
}

/* Listeler */
.service-content ul,
.service-content ol{
  padding-left: 1.25rem;
  margin: 0 0 1.15rem;
}
.service-content li{ margin: .35rem 0; }
.service-content li > p{ margin: .45rem 0; }

/* Vurgu */
.service-content strong{ font-weight: 700; }
.service-content em{ font-style: italic; }

/* Görseller */
.service-content img{
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

/* Linkler: rengi değiştirmeden, altı çizgisiz (sadece hafif vurgu) */
.service-content a{
  word-break: break-word;
  color: inherit;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(0,0,0,.18);
}
.service-content a:hover{
  border-bottom-color: rgba(0,0,0,.35);
}

/* Ayraç */
.service-content hr{
  border: 0;
  border-top: 1px solid rgba(0,0,0,.12);
  margin: 1.5rem 0;
}

/* Alıntı */
.service-content blockquote{
  margin: 1.2rem 0;
  padding: .9rem 1rem;
  background: rgba(230, 126, 34, 0.08);
  border-left: 4px solid var(--accent);
  border-radius: 12px;
}
.service-content blockquote p{ margin: 0; }

/* Kod (varsa) */
.service-content code{
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: .95em;
  background: rgba(0,0,0,.06);
  padding: .12rem .35rem;
  border-radius: 8px;
}
.service-content pre{
  background: rgba(0,0,0,.06);
  padding: 1rem;
  border-radius: 14px;
  overflow: auto;
}

/* ===============================
   Tablolar
   =============================== */
.service-content table{
  width: 100%;
  border-collapse: collapse;
  margin: 1.25rem 0;
  border: 1px solid #d9d9d9;
  background: #fff;
  font-size: 0.98rem;
}

.service-content th,
.service-content td{
  border: 1px solid #d9d9d9;
  padding: .75rem .85rem;
  vertical-align: top;
}

.service-content th{
  background: #f6f7f9;
  font-weight: 700;
  color: #111;
}

.service-content tbody tr:nth-child(even){
  background: #fbfcfe;
}

.service-content caption{
  caption-side: bottom;
  text-align: left;
  padding-top: .5rem;
  color: rgba(0,0,0,.6);
  font-size: .95rem;
}

/* Mobilde taşma olmasın */
@media (max-width: 767.98px){
  .service-content{
    font-size: 1.02rem;
    line-height: 1.8;
    max-width: 100%;
  }

  .service-content table{
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}
