/* =========================================================
   yayin.css · Tez / Makale / Kitap sekmeli bölümü
   ---------------------------------------------------------
   KAYNAK: mana-tezler-makaleler-kitaplar-tabs eklentisi, her render'da
   sayfaya #mtmt-N ile kapsanmış <style> bloğu basıyordu. Burada SINIF
   tabanlı hâle getirildi ve dosyaya alındı: aynı sayfada birden çok
   örnek olsa da CSS bir kez yüklenir.

   Sabit renkler temanın değişkenlerine bağlandı (#801328 → --bordo-700
   vb.), böylece merkez paleti değişirse bölüm de takip eder. Ölçüler
   özgün tasarımdan birebir korundu.
   ========================================================= */

.mtmt-wrap{background:var(--bordo-50);padding:clamp(28px,4vw,48px) clamp(18px,3vw,32px);border-radius:var(--radius-lg)}
.mtmt-wrap .mtmt-eyebrow{display:flex;align-items:center;gap:10px;color:var(--bordo-700);font-family:var(--font-mono);font-weight:700;font-size:12px;letter-spacing:.16em;text-transform:uppercase;margin-bottom:10px}
.mtmt-wrap .mtmt-eyebrow::before{content:'';display:inline-block;width:28px;height:2px;background:var(--gold-600)}
.mtmt-wrap .mtmt-header{display:flex;align-items:flex-end;justify-content:space-between;flex-wrap:wrap;gap:16px;margin-bottom:28px}
.mtmt-wrap .mtmt-title{font-size:clamp(1.4rem,2.4vw,1.95rem);font-weight:800;color:var(--ink);margin:0}

.mtmt-wrap .mtmt-tabs{display:flex;gap:8px;background:#fff;padding:6px;border-radius:10px;border:1px solid var(--border)}
.mtmt-wrap .mtmt-tab-btn{border:none;background:transparent;padding:10px 22px;font-weight:700;font-size:14px;color:var(--muted);border-radius:7px;cursor:pointer;transition:.2s;white-space:nowrap}
.mtmt-wrap .mtmt-tab-btn:hover{color:var(--bordo-700)}
.mtmt-wrap .mtmt-tab-btn.active{background:var(--bordo-700);color:#fff}

.mtmt-wrap .mtmt-panel{display:none}
.mtmt-wrap .mtmt-panel.active{display:block}

.mtmt-wrap .mtmt-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}
@media(max-width:1100px){.mtmt-wrap .mtmt-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){
  .mtmt-wrap .mtmt-grid{grid-template-columns:1fr}
  .mtmt-wrap .mtmt-header{flex-direction:column;align-items:flex-start}
  .mtmt-wrap .mtmt-tabs{width:100%;overflow-x:auto}
}

.mtmt-wrap .mtmt-card{background:#fff;border:1px solid var(--border);border-radius:14px;padding:16px;display:flex;flex-direction:column;box-shadow:0 4px 15px rgba(0,0,0,.03)}
.mtmt-wrap .mtmt-card-thumb{width:100%;aspect-ratio:4/3;border-radius:10px;overflow:hidden;margin-bottom:16px;background:var(--surface);border:1px solid var(--border);display:flex;align-items:center;justify-content:center;position:relative}
.mtmt-wrap .mtmt-card-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.mtmt-wrap .mtmt-card-thumb.mtmt-thumb-contain img{object-fit:contain;padding:10px}
.mtmt-wrap .mtmt-card-thumb.mtmt-thumb-default img{object-fit:cover;padding:0}

.mtmt-wrap .mtmt-thumb-logo-bg{position:relative;width:100%;height:100%;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,var(--bordo-800),var(--bordo-900));overflow:hidden}
.mtmt-wrap .mtmt-thumb-logo-bg::before{content:'';position:absolute;inset:0;background-image:repeating-linear-gradient(45deg,rgba(255,255,255,.06) 0 2px,transparent 2px 18px)}
.mtmt-wrap .mtmt-thumb-logo-badge{position:relative;z-index:1;width:34%;display:flex;align-items:center;justify-content:center}
.mtmt-wrap .mtmt-thumb-logo-badge img{width:100%;height:auto;object-fit:contain;filter:brightness(0) invert(1);opacity:.32}
.mtmt-wrap .mtmt-thumb-type-icon{position:absolute;right:10px;bottom:10px;width:28px;height:28px;border-radius:8px;background:rgba(255,255,255,.14);display:flex;align-items:center;justify-content:center;z-index:1}
.mtmt-wrap .mtmt-thumb-type-icon svg{width:16px;height:16px}

.mtmt-wrap .mtmt-card-badge{display:inline-block;background:#fff;color:var(--bordo-700);border:1px solid var(--bordo-100);font-weight:600;font-size:11px;padding:3px 10px;border-radius:50px;margin-bottom:8px;align-self:flex-start}
.mtmt-wrap .mtmt-card-title{font-size:15px;font-weight:700;line-height:1.4;color:var(--ink);margin:0 0 8px;flex-grow:1}
.mtmt-wrap .mtmt-card-title a{color:inherit;text-decoration:none}
.mtmt-wrap .mtmt-card-title a:hover{color:var(--bordo-700)}
.mtmt-wrap .mtmt-card-sub{font-size:12px;color:var(--muted);margin:0 0 14px}
.mtmt-wrap .mtmt-card-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;background:#fff;color:var(--bordo-700);border:1.5px solid var(--bordo-700);font-weight:600;font-size:12px;padding:9px 12px;border-radius:6px;text-decoration:none;margin-top:auto}
.mtmt-wrap .mtmt-card-btn:hover{background:var(--bordo-700);color:#fff}

.mtmt-wrap .mtmt-empty{color:var(--faint);font-size:14px;padding:20px 0}
.mtmt-wrap .mtmt-footer{text-align:center;margin-top:32px}
.mtmt-wrap .mtmt-cta{display:inline-flex;align-items:center;gap:8px;background:var(--bordo-700);color:#fff;font-weight:700;font-size:14px;padding:14px 26px;border-radius:8px;text-decoration:none}
.mtmt-wrap .mtmt-cta:hover{background:var(--bordo-900)}
