*,
*::before,
*::after{
  box-sizing:border-box;
}

body{
  margin:0;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;
  background:#020617;
  color:#e5e7eb;
}

a{
  color:inherit;
  text-decoration:none;
}

/* HEADER */
.mpv-header{
  background:linear-gradient(90deg,var(--header-c1,#0f766e),var(--header-c2,#14532d));
  color:var(--header-text,#ffffff);
  padding:12px 16px;
  box-shadow:0 10px 30px rgba(0,0,0,.6);
  position:sticky;
  top:0;
  z-index:999;
}
.mpv-header-inner{
  max-width:1100px;
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.mpv-logo{
  font-weight:700;
  font-size:20px;
  letter-spacing:.04em;
}

/* MAIN */
.mpv-main{
  max-width:1100px;
  margin:24px auto 40px auto;
  padding:0 12px 40px 12px;
}

/* UYARI */
.mpv-warn{
  max-width:900px;
  margin:0 auto 16px auto;
  text-align:center;
  background:var(--warn-bg,#f97316);
  color:var(--warn-text,#ffffff);
  padding:10px 14px;
  border-radius:999px;
  font-size:13px;
  font-weight:600;
}

/* BANNER */
.mpv-banner{
  max-width:900px;
  margin:0 auto 28px auto;
  text-align:center;
  background:linear-gradient(90deg,var(--banner-c1,#0f766e),var(--banner-c2,#22c55e));
  color:var(--banner-text,#ffffff);
  padding:12px 14px;
  border-radius:14px;
  box-shadow:0 12px 35px rgba(0,0,0,.65);
  font-size:14px;
  font-weight:700;
}

/* GRID */
.mpv-grid{
  display:grid;
  gap:14px;
  margin-bottom:32px;
}

/* KART */
.mpv-card{
  background:#020617;
  border-radius:16px;
  border:1px solid rgba(148,163,184,.4);
  overflow:hidden;
  box-shadow:0 14px 35px rgba(15,23,42,.9);
}

.mpv-card-linkwrap{
  display:block;
}

/* ========================== */
/*     V力TR力N KARTI RES力MLER  */
/* ========================== */

.mpv-card-images{
  position:relative;
  display:flex;
  width:100%;
  height:var(--card-height,180px);
  overflow:hidden;
  border-radius:16px;
}

.mpv-card-images img{
  width:33.3333%;
  height:100%;
  object-fit:cover;
  display:block;
  position:relative;
}

/* LABELS */
.mpv-card-labels{
  position:absolute;
  left:6px;
  top:6px;
  display:flex;
  flex-direction:column;
  gap:35px;
}

.lbl{
  padding:3px 10px;
  border-radius:999px;
  font-size:14px;
  font-weight:700;
  text-shadow:0 0 4px rgba(0,0,0,.8);
  white-space:nowrap;
}

.lbl.name{
  background:linear-gradient(90deg,var(--name-c1,#22c55e),var(--name-c2,#16a34a));
  color:var(--name-text,#ffffff);
}
.lbl.city{
  background:linear-gradient(90deg,var(--city-c1,#0ea5e9),var(--city-c2,#0369a1));
  color:var(--city-text,#ffffff);
}
.lbl.place{
  background:linear-gradient(90deg,var(--place-c1,#eab308),var(--place-c2,#c2410c));
  color:var(--place-text,#000000);
}

/* MAKALE */
.mpv-article{
  margin-top:28px;
  background:var(--main-article-bg,#0f172a);
  border-radius:18px;
  border:1px solid rgba(148,163,184,.5);
  padding:18px 18px 22px 18px;
  box-shadow:0 20px 45px rgba(0,0,0,.9);
}
.mpv-article h1{
  font-size:22px;
  margin:0 0 8px 0;
  color:var(--main-article-title,#e5e7eb);
}
.mpv-article-body{
  font-size:14px;
  line-height:1.6;
  color:var(--main-article-text,#e5e7eb);
}

/* 力L MAKALE */
.mpv-il-articles{ margin-top:32px; }
.mpv-il-grid{
  display:grid;
  gap:14px;
}
@media(min-width:768px){
  .mpv-il-grid{ grid-template-columns:repeat(3,minmax(0,1fr)); }
}
.mpv-il-card{
  background:var(--il-article-bg,#0f172a);
  border-radius:16px;
  border:1px solid rgba(148,163,184,.4);
  padding:12px 14px 14px 14px;
}
.mpv-il-card h3{ font-size:14px; margin:0 0 4px 0; color:var(--il-article-title,#e5e7eb); }
.mpv-il-card h4{ font-size:13px; margin:0 0 6px 0; color:#f97316; }
.mpv-il-card p{
  font-size:12px;
  line-height:1.5;
  color:var(--il-article-text,#e5e7eb);
}

/* ===================== */
/* === PROFIL SAYFASI === */
/* ===================== */
body.mpv-profile-body{
  background:var(--profile-bg,#020617);
}

.mpv-profile-main{
  max-width:980px;
  margin:auto;
}

.mpv-profile{
  display:flex;
  flex-wrap:wrap;
  gap:18px;
}

/* PROFIL SLIDER */
.mpv-profile-gallery{
  position:relative;
  flex:1 1 280px;
  min-width:260px;
  width:100%;
  max-width:480px;
  margin:0 auto 20px auto;
}

.mpv-profile-gallery-inner{
  position:relative;
  width:100%;
  height:420px;
  overflow:hidden;
  border-radius:16px;
  box-shadow:0 12px 35px rgba(0,0,0,.85);
}

.mpv-profile-gallery-inner img{
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  object-fit:cover;
  display:none;
}

.mpv-profile-gallery-inner img.active{
  display:block !important;
}

/* SLIDER OKLAR */
.mpv-profile-nav{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:34px;
  height:34px;
  border-radius:50%;
  border:0;
  cursor:pointer;
  background:rgba(15,23,42,.9);
  color:#facc15;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:18px;
}

.mpv-profile-nav-prev{ left:8px; }
.mpv-profile-nav-next{ right:8px; }

/* DOTS */
.mpv-profile-gallery-dots{
  text-align:center;
  margin-top:8px;
}

.mpv-profile-gallery-dots .dot{
  display:inline-block;
  width:10px;
  height:10px;
  border-radius:50%;
  background:#555;
  margin:0 3px;
}

.mpv-profile-gallery-dots .dot.active{
  background:#ffcc00;
}

/* PROFIL INFO */
.mpv-profile-info{
  flex:1 1 260px;
}

.mpv-profile-info h1{
  margin-top:0;
}

.mpv-profile-info-box{
  margin-top:8px;
  background:#020617;
  border-radius:16px;
  border:1px solid rgba(148,163,184,.5);
  padding:12px 16px;
}

.mpv-profile-info-box ul{
  list-style:none;
  padding:0;
  margin:0;
}

.mpv-profile-info-box li{
  padding:6px 0;
  border-bottom:1px solid rgba(148,163,184,.25);
  display:flex;
  gap:6px;
}

.mpv-profile-info-box li:last-child{ border-bottom:0; }

.mpv-profile-info-box li strong{
  min-width:120px;
  color:#e5e7eb;
}

.mpv-profile-info-box li span{
  color:#e5e7eb;
}

/* BUTTONS */
.mpv-btn{
  display:inline-block;
  padding:var(--btn-padding-y,8px) var(--btn-padding-x,14px);
  border-radius:var(--btn-radius,999px);
  background:var(--btn-call-bg,#0ea5e9);
  color:var(--btn-call-text,#ffffff);
  font-size:var(--btn-font-size,15px);
  font-weight:600;
}

.mpv-btn-wa{
  background:var(--btn-wa-bg,#22c55e);
  color:var(--btn-wa-text,#ffffff);
}

/* FOOTER */
.mpv-footer{
  background:linear-gradient(90deg,var(--footer-c1,#020617),var(--footer-c2,#020617));
  color:var(--footer-text,#9ca3af);
  text-align:center;
  padding:16px 10px;
  font-size:12px;
  border-top:1px solid rgba(15,23,42,1);
  box-shadow:0 -8px 25px rgba(0,0,0,.9);
}

/* ============================== */
/*        PROFIL ORTALAMA FIX     */
/* ============================== */

/* Profil ana container → tüm cihazlarda ortala */
.mpv-profile{
  justify-content:center;
  align-items:flex-start;
  width:100%;
}

/* Slider kutusu → tam ortalı */
.mpv-profile-gallery{
  margin-left:auto;
  margin-right:auto;
}

/* Sağdaki bilgi kutusu → tam ortalı + AMP ile aynı max genişlik */
.mpv-profile-info{
  width:100%;
  max-width:420px;
  margin-left:auto !important;
  margin-right:auto !important;
  display:block;
}

/* Info box (iç tablo) → genişlik tam ortalı */
.mpv-profile-info-box{
  width:100%;
  margin-left:auto;
  margin-right:auto;
}

/* Butonlar konteyneri → üst info box ile birebir hizalama */
.mpv-profile-buttons{
  width:100%;
  max-width:420px;
  margin-left:auto !important;
  margin-right:auto !important;
  display:flex;
  flex-direction:column;
  gap:14px;
}

/* Her buton tam genişlik ve ortalanmış */
.mpv-profile-buttons a{
  width:100%;
  text-align:center;
}

/* Mobilde garantili ortalama */
@media(max-width:768px){
  .mpv-profile{
    flex-direction:column;
    align-items:center;
  }

  .mpv-profile-gallery,
  .mpv-profile-info{
    max-width:420px;
    width:100%;
    margin-left:auto !important;
    margin-right:auto !important;
  }
}

/* ============================== */
/*        AMPSİZ PROFIL FIX       */
/* ============================== */

/* Profil ana container ortalama */
.profile-container,
.mpv-profile {
    display:flex;
    flex-wrap:wrap;
    justify-content:center !important;
    align-items:flex-start !important;
    width:100%;
}

/* Slider tam ortada */
.profile-left,
.mpv-profile-gallery {
    margin-left:auto !important;
    margin-right:auto !important;
    width:100%;
    max-width:420px;
}

/* Info kutusu tam ortada */
.profile-right,
.mpv-profile-info {
    width:100%;
    max-width:420px;
    margin-left:auto !important;
    margin-right:auto !important;
    display:block;
}

/* Info box ortalı */
.profile-info,
.mpv-profile-info-box {
    width:100%;
    max-width:420px;
    margin-left:auto !important;
    margin-right:auto !important;
}

/* Buton alanı ortalı */
.profile-buttons,
.mpv-profile-buttons {
    width:100%;
    max-width:420px;
    margin-left:auto !important;
    margin-right:auto !important;
    display:flex;
    flex-direction:column;
    gap:14px;
}

/* Butonların kendisi ortalı ve tam genişlik */
.profile-buttons a,
.mpv-profile-buttons a {
    width:100% !important;
    text-align:center !important;
    display:block;
}

/* Mobilde garanti hizalama */
@media(max-width:768px){
    .profile-container,
    .mpv-profile {
        flex-direction:column !important;
        align-items:center !important;
    }

    .profile-left,
    .profile-right,
    .mpv-profile-gallery,
    .mpv-profile-info {
        width:100% !important;
        max-width:420px !important;
        margin-left:auto !important;
        margin-right:auto !important;
    }
}


