/* Emir Gumruk - Mevzuat tekil sayfa tasarimi (v1.0, Aralik 2026)
   Yalnizca body.emir-mvz-on (tekil yazi) altinda calisir. emir-mevzuat-tasarim.php ile birlikte gelir. */
body.emir-mvz-on{
  --mvz-navy:#0a1f44;--mvz-ink:#1c2433;--mvz-muted:#5a6678;--mvz-line:#e3e8ef;--mvz-soft:#f7f9fc;
  --mvz-tint:#eef3fb;--mvz-yellow:#ffd35a;--mvz-link:#1a56b0;
  --mvz-font:'Inter',-apple-system,'Segoe UI',Roboto,Arial,sans-serif;
}
body.emir-mvz-on .stm_single_post_layout_2{padding-top:14px;padding-bottom:34px}

/* ---- Baslik ---- */
body.emir-mvz-on .site-content .stm_single_post .stm_single_post_style_2 > h1{
  display:block!important;font-family:var(--mvz-font)!important;font-weight:800!important;
  font-size:clamp(1.4rem,1.05rem + 1.25vw,2rem)!important;line-height:1.28!important;letter-spacing:-.012em;
  color:var(--mvz-navy)!important;text-transform:none!important;margin:0 0 16px!important;padding:0!important;
  overflow-wrap:break-word;
}
body.emir-mvz-on .site-content .stm_single_post .stm_post_details{display:none!important}

/* ---- Tarih / kategori satiri ---- */
body.emir-mvz-on .emir-mvz-meta{
  display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;font-family:var(--mvz-font);font-size:13.5px;line-height:1.4;
  color:var(--mvz-muted);padding:0 0 20px;margin:0 0 26px;border-bottom:1px solid var(--mvz-line);
}
body.emir-mvz-on .emir-mvz-meta a.emir-mvz-meta__cat{
  display:inline-block;background:var(--mvz-tint);color:var(--mvz-navy)!important;font-weight:600;padding:5px 12px;
  border-radius:999px;text-decoration:none!important;transition:background .15s ease;
}
body.emir-mvz-on .emir-mvz-meta a.emir-mvz-meta__cat:hover{background:var(--mvz-yellow)}
body.emir-mvz-on .emir-mvz-meta__sep{width:4px;height:4px;border-radius:50%;background:#c3cbd8;flex:0 0 auto}
body.emir-mvz-on .emir-mvz-meta__date{font-weight:500;white-space:nowrap}

/* ---- Sesli dinleme karti ---- */
body.emir-mvz-on .stm_markup__content #daextrevo-audio-player-wrapper{
  display:flex;align-items:center;gap:14px;max-width:100%;margin:0 0 30px;padding:10px 16px;
  background:var(--mvz-soft);border:1px solid var(--mvz-line);border-radius:12px;
}
body.emir-mvz-on .stm_markup__content #daextrevo-audio-player-wrapper::before{
  content:"Sesli dinle";flex:0 0 auto;font-family:var(--mvz-font);font-weight:600;font-size:13px;line-height:1;
  color:var(--mvz-navy);padding-right:14px;border-right:1px solid var(--mvz-line);white-space:nowrap;
}
body.emir-mvz-on .stm_markup__content #daextrevo-audio-player-wrapper #daextrevo-audio-player-container{
  flex:1 1 auto;min-width:0;background:transparent!important;border:0!important;box-shadow:none!important;
  padding:0!important;margin:0!important;border-radius:0!important;
}
body.emir-mvz-on .stm_markup__content #daextrevo-audio-player-wrapper svg path{stroke:var(--mvz-navy)}
body.emir-mvz-on .stm_single_post .stm_mgb_60 .wp-audio-shortcode,
body.emir-mvz-on .stm_single_post .stm_mgb_60 .mejs-container{margin:0 0 24px!important;border-radius:8px;max-width:100%!important}

/* ---- Govde metni ---- */
body.emir-mvz-on .stm_single_post .stm_mgb_60{font-size:16px;line-height:1.75;color:var(--mvz-ink);margin-bottom:28px}
body.emir-mvz-on .stm_single_post .stm_mgb_60 p{margin:0 0 14px}
body.emir-mvz-on .stm_single_post .stm_mgb_60 a{
  color:var(--mvz-link);text-decoration:underline;text-decoration-color:rgba(26,86,176,.35);text-underline-offset:2px;
}
body.emir-mvz-on .stm_single_post .stm_mgb_60 a:hover{color:var(--mvz-navy);text-decoration-color:currentColor}
body.emir-mvz-on .stm_single_post .stm_mgb_60 hr{border:0;border-top:1px solid var(--mvz-line);height:0;margin:22px 0;background:none}
body.emir-mvz-on .stm_single_post .stm_mgb_60 img{border-radius:6px}
/* icerik icindeki ara basliklar: tema boyutlari cok buyuk, sade tut */
body.emir-mvz-on .stm_single_post .stm_mgb_60 h1,
body.emir-mvz-on .stm_single_post .stm_mgb_60 h2{font-family:var(--mvz-font)!important;font-size:1.3rem!important;line-height:1.35!important;font-weight:700!important;color:var(--mvz-navy)!important;margin:30px 0 12px!important;padding:0!important;text-transform:none!important;letter-spacing:0}
body.emir-mvz-on .stm_single_post .stm_mgb_60 h3,
body.emir-mvz-on .stm_single_post .stm_mgb_60 h4{font-family:var(--mvz-font)!important;font-size:1.1rem!important;line-height:1.4!important;font-weight:700!important;color:var(--mvz-navy)!important;margin:24px 0 10px!important;padding:0!important;text-transform:none!important}
body.emir-mvz-on .stm_single_post .stm_mgb_60 h5,
body.emir-mvz-on .stm_single_post .stm_mgb_60 h6{font-family:var(--mvz-font)!important;font-size:1rem!important;line-height:1.45!important;font-weight:700!important;color:var(--mvz-navy)!important;margin:20px 0 8px!important;padding:0!important;text-transform:none!important}
body.emir-mvz-on .stm_single_post .stm_mgb_60 h1:before,body.emir-mvz-on .stm_single_post .stm_mgb_60 h2:before,
body.emir-mvz-on .stm_single_post .stm_mgb_60 h3:before,body.emir-mvz-on .stm_single_post .stm_mgb_60 h4:before,
body.emir-mvz-on .stm_single_post .stm_mgb_60 h5:before,body.emir-mvz-on .stm_single_post .stm_mgb_60 h6:before{display:none!important;content:none!important}

/* ---- Duzen tablolari (tek hucreli sarmalayicilar) duz blok gibi davransin ---- */
body.emir-mvz-on .stm_single_post .stm_mgb_60 table:has(> tbody > tr:only-child > td:only-child),
body.emir-mvz-on .stm_single_post .stm_mgb_60 table:has(> tbody > tr:only-child > td:only-child) > tbody,
body.emir-mvz-on .stm_single_post .stm_mgb_60 table:has(> tbody > tr:only-child > td:only-child) > tbody > tr,
body.emir-mvz-on .stm_single_post .stm_mgb_60 table:has(> tbody > tr:only-child > td:only-child) > tbody > tr > td{
  display:block!important;width:auto!important;max-width:100%!important;padding:0!important;margin:0!important;
  border:0!important;background:none!important;box-shadow:none!important;
}

/* ---- Veri tablolari ---- */
body.emir-mvz-on .stm_single_post .stm_mgb_60 table:not(:has(> tbody > tr:only-child > td:only-child)){
  width:100%!important;border-collapse:separate!important;border-spacing:0!important;margin:6px 0 26px!important;
  border:1px solid var(--mvz-line)!important;border-radius:10px;overflow:hidden;background:#fff;
  font-size:14.5px;line-height:1.5;
}
body.emir-mvz-on .stm_single_post .stm_mgb_60 table:not(:has(> tbody > tr:only-child > td:only-child)) > tbody > tr > td,
body.emir-mvz-on .stm_single_post .stm_mgb_60 table:not(:has(> tbody > tr:only-child > td:only-child)) > tbody > tr > th,
body.emir-mvz-on .stm_single_post .stm_mgb_60 table:not(:has(> tbody > tr:only-child > td:only-child)) > thead > tr > th{
  padding:10px 14px!important;border:0!important;border-bottom:1px solid var(--mvz-line)!important;
  vertical-align:top;text-align:left;background:transparent;
  word-break:normal!important;overflow-wrap:break-word!important;white-space:normal!important;
}
body.emir-mvz-on .stm_single_post .stm_mgb_60 table:not(:has(> tbody > tr:only-child > td:only-child)) > tbody > tr > td + td,
body.emir-mvz-on .stm_single_post .stm_mgb_60 table:not(:has(> tbody > tr:only-child > td:only-child)) > tbody > tr > th + th{
  border-left:1px solid #eef1f6!important;
}
body.emir-mvz-on .stm_single_post .stm_mgb_60 table:not(:has(> tbody > tr:only-child > td:only-child)) > tbody > tr:last-child > td{border-bottom:0!important}
body.emir-mvz-on .stm_single_post .stm_mgb_60 table:not(:has(> tbody > tr:only-child > td:only-child)) > tbody > tr:nth-child(even) > td{background:#fafbfd}
body.emir-mvz-on .stm_single_post .stm_mgb_60 table:not(:has(> tbody > tr:only-child > td:only-child)) > tbody > tr > td > p{margin:0!important;line-height:inherit!important;font-size:inherit!important}
body.emir-mvz-on .stm_single_post .stm_mgb_60 table:not(:has(> tbody > tr:only-child > td:only-child)) > tbody > tr > td > p + p{margin-top:6px!important}
/* baslik satiri (PHP tarafinda isaretlenir) */
body.emir-mvz-on .stm_single_post .stm_mgb_60 table > tbody > tr.emir-th > td{
  background:var(--mvz-tint)!important;color:var(--mvz-navy);font-family:var(--mvz-font);font-weight:700;font-size:12.5px;
  letter-spacing:.02em;line-height:1.35;vertical-align:middle;border-bottom:2px solid #d5deec!important;
}

/* ---- Fiyat kartlari (satir ici stilli icerikler): genis ekranda iki sutun ---- */
@media (min-width:768px){
  body.emir-mvz-on .stm_single_post .stm_mgb_60 div[style*="flex-wrap"] > div[style*="max-width: 500px"]{max-width:calc(50% - 8px)!important;margin-bottom:0!important}
}

/* ---- Onceki / sonraki ---- */
body.emir-mvz-on .emir-mvz-nav{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:38px 0 18px;padding-top:26px;border-top:1px solid var(--mvz-line)}
body.emir-mvz-on .stm_single_post .stm_mgb_60 .emir-mvz-nav__i{
  display:flex;flex-direction:column;gap:6px;padding:14px 16px;border:1px solid var(--mvz-line);border-radius:12px;background:#fff;
  text-decoration:none!important;color:var(--mvz-ink);transition:border-color .15s ease,box-shadow .15s ease,transform .15s ease;min-width:0;
}
body.emir-mvz-on .stm_single_post .stm_mgb_60 a.emir-mvz-nav__i:hover{border-color:#c9d6ea;box-shadow:0 6px 18px rgba(10,31,68,.08);transform:translateY(-2px)}
body.emir-mvz-on .stm_single_post .stm_mgb_60 .emir-mvz-nav__i--next{text-align:right}
body.emir-mvz-on .stm_single_post .stm_mgb_60 .emir-mvz-nav__i--empty{border:0;background:none;padding:0}
body.emir-mvz-on .emir-mvz-nav__l{font-family:var(--mvz-font);font-weight:600;font-size:12.5px;line-height:1.2;color:var(--mvz-muted)}
body.emir-mvz-on .emir-mvz-nav__t{
  font-family:var(--mvz-font);font-weight:600;font-size:14.5px;line-height:1.4;color:var(--mvz-navy);
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
}
body.emir-mvz-on .stm_single_post .stm_mgb_60 p.emir-mvz-all{margin:0;text-align:center}
body.emir-mvz-on .stm_single_post .stm_mgb_60 p.emir-mvz-all a{
  display:inline-block;font-family:var(--mvz-font);font-weight:700;font-size:14px;line-height:1.2;color:var(--mvz-navy);
  background:var(--mvz-yellow);padding:11px 22px;border-radius:8px;text-decoration:none!important;transition:background .15s ease;
}
body.emir-mvz-on .stm_single_post .stm_mgb_60 p.emir-mvz-all a:hover{background:#f5c33b;color:var(--mvz-navy)}

/* ---- Mobil ---- */
@media (max-width:640px){
  body.emir-mvz-on .stm_single_post_layout_2{padding-top:18px}
  body.emir-mvz-on .stm_single_post .stm_mgb_60{font-size:15.5px;line-height:1.7}
  body.emir-mvz-on .stm_markup__content #daextrevo-audio-player-wrapper{padding:8px 12px;gap:10px}
  body.emir-mvz-on .stm_single_post .stm_mgb_60 table:not(:has(> tbody > tr:only-child > td:only-child)){
    display:block!important;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;font-size:13.5px;
  }
  body.emir-mvz-on .stm_single_post .stm_mgb_60 table:not(:has(> tbody > tr:only-child > td:only-child)) > tbody{display:table;width:100%}
  body.emir-mvz-on .stm_single_post .stm_mgb_60 table:not(:has(> tbody > tr:only-child > td:only-child)) > tbody > tr > td{
    padding:9px 11px!important;overflow-wrap:normal!important;
  }
  body.emir-mvz-on .emir-mvz-meta__sep{display:none}
  body.emir-mvz-on .emir-mvz-nav{grid-template-columns:1fr}
  body.emir-mvz-on .stm_single_post .stm_mgb_60 .emir-mvz-nav__i--next{text-align:left}
  body.emir-mvz-on .stm_single_post .stm_mgb_60 .emir-mvz-nav__i--empty{display:none}
}
