/* ==========================================================================
   Web Girişim — ürün/rehber sayfaları için içerik stilleri
   Yalnızca QR menü ve restoran yönetimi sayfalarında yüklenir.
   ========================================================================== */

#posts h1 {
  font-size: 30px;
  line-height: 1.22;
  margin: 0 0 16px;
  color: #2f2b47;
}

#posts h2 {
  font-size: 23px;
  line-height: 1.3;
  margin: 34px 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #ececf4;
  color: #2f2b47;
}

#posts h3 {
  font-size: 18px;
  line-height: 1.35;
  margin: 24px 0 8px;
  color: #443e63;
}

#posts p { margin: 0 0 14px; line-height: 1.72; }
#posts ul, #posts ol { margin: 0 0 16px; padding-left: 22px; line-height: 1.72; }
#posts li { margin-bottom: 7px; }

/* giriş paragrafı */
.wg-lead {
  font-size: 17px !important;
  line-height: 1.65 !important;
  color: #4a4560;
  margin-bottom: 22px !important;
}

/* özet kutusu */
.wg-summary {
  background: #f7f6fd;
  border: 1px solid #e4e1f4;
  border-left: 4px solid #7571d9;
  border-radius: 3px;
  padding: 16px 20px 4px;
  margin: 0 0 26px;
}
.wg-summary h2 {
  font-size: 15px !important;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin: 0 0 10px !important;
  padding: 0 !important;
  border: 0 !important;
  color: #5c5486;
}
.wg-summary ul, .wg-summary ol { margin-bottom: 12px; }
.wg-summary li { font-size: 14.5px; line-height: 1.6; }

/* tablolar */
.wg-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 22px;
  font-size: 14.5px;
}
.wg-table th, .wg-table td {
  padding: 10px 12px;
  border: 1px solid #e6e4f0;
  text-align: left;
  vertical-align: top;
  line-height: 1.55;
}
.wg-table thead th {
  background: #f4f3fb;
  color: #443e63;
  font-weight: bold;
}
.wg-table tbody tr:nth-child(even) { background: #fafaff; }

/* not ve formül kutuları */
.wg-note {
  background: #fffaf0;
  border-left: 3px solid #e0b34c;
  padding: 11px 15px;
  margin: 0 0 20px;
  font-size: 14.5px;
  line-height: 1.6;
}
.wg-formula {
  background: #f4f3fb;
  border-radius: 3px;
  padding: 13px 16px;
  margin: 0 0 20px;
  font-size: 15px;
  text-align: center;
}

/* SSS */
.wg-faq { margin: 0 0 26px; }
.wg-faq h3 {
  font-size: 16.5px;
  margin: 20px 0 6px;
  color: #2f2b47;
}
.wg-faq h3::before {
  content: "?";
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-right: 9px;
  border-radius: 50%;
  background: #7571d9;
  color: #fff;
  font-size: 12px;
  line-height: 20px;
  text-align: center;
  vertical-align: 2px;
}
.wg-faq p { color: #4c4763; font-size: 15px; }

/* eylem çağrısı */
.wg-cta {
  margin: 30px 0 10px !important;
  padding: 16px 18px;
  background: #f7f6fd;
  border: 1px solid #e4e1f4;
  border-radius: 3px;
  font-size: 15px;
}
.wg-cta a { font-weight: bold; }

/* ilgili sayfalar */
.wg-related {
  margin: 34px 0 0;
  padding: 18px 20px 10px;
  border-top: 2px solid #ececf4;
}
.wg-related h2 {
  font-size: 16px !important;
  margin: 0 0 10px !important;
  padding: 0 !important;
  border: 0 !important;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: #5c5486;
}
.wg-related ul { list-style: none; padding: 0; margin: 0; }
.wg-related li { margin-bottom: 8px; padding-left: 16px; position: relative; }
.wg-related li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: #7571d9;
}

/* ---------------------------------------------------------------- mobil */
@media (max-width: 1000px) {
  #posts h1 { font-size: 25px; }
  #posts h2 { font-size: 20px; margin-top: 28px; }
  #posts h3 { font-size: 17px; }
  .wg-lead { font-size: 16px !important; }
  .wg-summary { padding: 14px 16px 2px; }

  /* geniş tablo kendi içinde kaysın, sayfa kaymasın */
  .wg-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
    font-size: 14px;
  }
  .wg-table th, .wg-table td { white-space: normal; min-width: 130px; }
}

@media (max-width: 600px) {
  #posts h1 { font-size: 22px; }
  #posts h2 { font-size: 18.5px; }
  .wg-cta { padding: 14px; font-size: 14.5px; }
  .wg-faq h3 { font-size: 16px; }
}

/* --- TL;DR / kısa cevap kutusu (GEO: AI motorları için alıntılanabilir blok) --- */
.wg-tldr {
  background: #eef6f2;
  border: 1px solid #cfe4da;
  border-left: 4px solid #0b6e4f;
  border-radius: 3px;
  padding: 15px 20px;
  margin: 0 0 24px;
}
.wg-tldr h2 {
  font-size: 13px !important;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin: 0 0 8px !important;
  padding: 0 !important;
  border: 0 !important;
  color: #0b6e4f;
}
.wg-tldr p { margin: 0; font-size: 15.5px; line-height: 1.65; color: #22392f; }

/* --- ilgili sayfalar: silo navigasyonu --- */
.wg-related h3 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #5c5486;
  margin: 16px 0 8px;
}
.wg-related li { margin-bottom: 11px; line-height: 1.45; }
.wg-rel-desc {
  display: block;
  padding-left: 0;
  color: #77718f;
  font-size: 12.5px;
  line-height: 1.5;
  margin-top: 2px;
}

/* geniş tablo sarmalayıcı */
.tw { overflow-x: auto; margin: 0 0 22px; -webkit-overflow-scrolling: touch; }
.tw .wg-table { margin-bottom: 0; }

@media (max-width: 600px) {
  .wg-tldr { padding: 13px 15px; }
  .wg-tldr p { font-size: 15px; }
}

/* ==========================================================================
   Ana sayfa: hero, ürün kartları, rehber listesi
   ========================================================================== */
.wg-hero {
  margin: 0 0 26px;
  padding: 0 0 22px;
  border-bottom: 1px solid #ececf4;
}
.wg-hero h1 {
  font-size: 32px !important;
  line-height: 1.18;
  margin: 0 0 12px !important;
}
.wg-hero-sub {
  font-size: 17px;
  line-height: 1.6;
  color: #4a4560;
  margin: 0 0 18px !important;
  max-width: 60ch;
}
.wg-hero-cta { margin: 0 !important; }
.wg-btn {
  display: inline-block;
  padding: 11px 20px;
  margin: 0 8px 8px 0;
  border-radius: 3px;
  background: #7571d9;
  color: #fff !important;
  font-size: 15px;
  font-weight: bold;
  text-decoration: none !important;
  border: 1px solid #7571d9;
}
.wg-btn:hover { background: #5f5ac2; border-color: #5f5ac2; }
.wg-btn-alt { background: #fff; color: #5f5ac2 !important; }
.wg-btn-alt:hover { background: #f4f3fb; }

/* ürün kartları */
.wg-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0 0 28px;
}
.wg-card {
  border: 1px solid #e4e1f4;
  border-top: 3px solid #7571d9;
  border-radius: 3px;
  background: #fbfaff;
  padding: 16px 18px 12px;
}
.wg-card h3 {
  font-size: 17px !important;
  margin: 0 0 8px !important;
}
.wg-card h3 a { text-decoration: none; }
.wg-card p { font-size: 14px; line-height: 1.6; color: #4c4763; margin: 0 0 10px; }
.wg-card ul { list-style: none; padding: 0; margin: 0; }
.wg-card li { margin-bottom: 5px; font-size: 13.5px; padding-left: 14px; position: relative; }
.wg-card li::before { content: "→"; position: absolute; left: 0; color: #7571d9; }

/* rehber listesi */
.wg-guides { list-style: none; padding: 0; margin: 0 0 24px; }
.wg-guides li {
  padding: 11px 0;
  border-bottom: 1px solid #f0eff7;
  font-size: 14.5px;
  line-height: 1.6;
  color: #55506e;
}
.wg-guides li:last-child { border-bottom: 0; }
.wg-guides a { font-weight: bold; }

@media (max-width: 1000px) {
  .wg-cards { grid-template-columns: 1fr; gap: 12px; }
  .wg-hero h1 { font-size: 26px !important; }
  .wg-hero-sub { font-size: 16px; }
}
@media (max-width: 600px) {
  .wg-hero h1 { font-size: 23px !important; }
  .wg-btn { display: block; text-align: center; margin-right: 0; }
}

/* tema h1'e sabit yükseklik/arka plan veriyor; çok satırlı başlıkta alt satırı
   kırpıyor. Hero başlığı normal akışa alınır. */
.wg-hero h1,
#posts h1, #posts_full h1 {
  height: auto !important;
  min-height: 0 !important;
  overflow: visible !important;
  background: none !important;
  line-height: 1.32 !important;
  padding-bottom: 3px;
}
.wg-card li { padding-left: 17px; }
.wg-card li::before { content: "→"; }
.wg-guides li a { margin-right: 2px; }

/* dar sidebar'lı düzende üç kart sıkışıyor; alan bulundukça açılsın */
.wg-cards { grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); }
