/* yazarlar/css/yazarlar2.css */

:root{
  --yzr2-red:#dc3545;
  --yzr2-blue:#0d6efd;
  --yzr2-green:#198754;

  --yzr2-text:#212529;
  --yzr2-muted:#6c757d;

  --yzr2-border:#e9ecef;
  --yzr2-bg:#ffffff;
  --yzr2-soft:#f8f9fa;

  --yzr2-radius:16px;
  --yzr2-shadow:0 12px 34px rgba(0,0,0,.07);
  --yzr2-shadow2:0 10px 26px rgba(0,0,0,.06);
}

/* ===== ÜST PROFİL BAR ===== */
.yzr2-authorbar{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;

  padding:16px 18px;        /* (1) büyütüldü */
  margin-bottom:14px;

  background:var(--yzr2-bg);
  border:1px solid var(--yzr2-border);
  border-radius:var(--yzr2-radius);
  box-shadow:var(--yzr2-shadow2);

  position:relative;
  overflow:hidden;
}

/* (1) özellikle yzr2-accent kullanıldığında biraz daha büyük dursun */
.yzr2-authorbar.yzr2-accent{
  padding:18px 20px;
  border-radius:18px;
}

.yzr2-accent::before{
  content:"";
  position:absolute;
  left:-30%;
  top:-60%;
  width:160%;
  height:180%;
  background:
    radial-gradient(circle at 20% 20%, rgba(220,53,69,.10), transparent 55%),
    radial-gradient(circle at 80% 30%, rgba(13,110,253,.10), transparent 55%),
    radial-gradient(circle at 70% 80%, rgba(25,135,84,.10), transparent 55%);
  pointer-events:none;
}

.yzr2-author-left{
  display:flex;
  gap:16px;
  align-items:flex-start;
  flex:1 1 auto;
  min-width:0;
  position:relative;
  z-index:1;
}

/* (1) foto büyütüldü */
.yzr2-photo{ width:100px; height:100px; flex:0 0 100px; }

.yzr2-photo img{
  width:100px; height:100px;
  object-fit:cover;
  border-radius:18px;
  border:1px solid rgba(17,24,39,.10);
  display:block;
  box-shadow:0 5px 5px rgba(0,0,0,.10);
}

.yzr2-ph{
  width:72px; height:72px;
  border-radius:18px;
  border:1px solid rgba(17,24,39,.10);
  background: linear-gradient(135deg, rgba(220,53,69,.85), rgba(13,110,253,.85));
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:900;
  color:#fff;
  box-shadow:0 10px 18px rgba(0,0,0,.10);
  font-size:20px;
}

.yzr2-author-text{ min-width:0; }

.yzr2-author-name{
  font-weight:950;
  letter-spacing:-.25px;
  line-height:1.15;
  color:var(--yzr2-text);
  font-size:32px; /* (1) biraz büyüt */

  display:inline-block;
  position:relative;
  padding-bottom:10px; /* (2) çizgi için boşluk */
}

/* (2) İsim ile biyografi arasına ince şık çizgi (HTML’e dokunmadan) */
.yzr2-author-name::after{
  content:"";
  position:absolute;
  left:0;
  bottom:2px;
  width:200px;
  height:2px;
  border-radius:999px;
  background: linear-gradient(90deg, rgba(220,53,69,.65), rgba(13,110,253,.55));
  opacity:.95;
}

.yzr2-author-bio{
  margin-top:6px;
  color:#343a40;
  font-size:13px;
  line-height:1.5;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

.yzr2-author-right{
  text-align:right;
  flex:0 0 auto;
  min-width:220px; /* biraz geniş */
  position:relative;
  z-index:1;
}

/* sağ: e-posta */
.yzr2-email{
  font-weight:950;
  font-size:13px;
  color:rgba(33,37,41,.85);
  word-break:break-word;
  padding-top:2px;
}

/* (3) e-posta ile sosyal butonlar arasına çizgi:
   HTML’te .yzr2-email-line varsa o da çalışır; yoksa social üst çizgisi devreye girer */
.yzr2-email-line{
  height:1px;
  width:100%;
  margin:10px 0 10px;
  background: rgba(17,24,39,.12);
}

/* sosyal butonlar */
.yzr2-social{
  display:flex;
  justify-content:flex-end;
  gap:10px;
  flex-wrap:wrap;

  /* (3) email altı çizgi yoksa da çizgi görünsün */
  margin-top:10px;
  padding-top:10px;
  border-top:1px solid rgba(17,24,39,.10);
}

/* buton */
.yzr2-sm{
  width:38px; height:38px;
  display:inline-flex;
  align-items:center;
  justify-content:center;

  border:1px solid rgba(17,24,39,.10);
  border-radius:12px;

  text-decoration:none;
  color:var(--yzr2-text);
  background:#fff;

  box-shadow:0 6px 14px rgba(0,0,0,.06);
  transition:transform .10s ease, border-color .10s ease, box-shadow .10s ease, color .10s ease;
}

.yzr2-sm:hover{
  transform:translateY(-2px);
  border-color: rgba(220,53,69,.35);
  box-shadow:0 10px 20px rgba(0,0,0,.10);
  color: var(--yzr2-red);
}

.yzr2-sm-xl{
  width:42px; height:42px;
  border-radius:14px;
}

/* (4) Liste dosyasında ikonlar <i class="..."> ile geliyorsa gerekli stil */
.yzr2-sm i{
  font-size:18px;
  line-height:1;
  display:inline-block;
}


.yzr2-social-empty{
  font-weight:900;
  color:var(--yzr2-muted);
  font-size:13px;
}

/* ===== LİSTE ===== */
.yzr2-listwrap{ background:transparent; }
.yzr2-list{
  display:flex;
  flex-direction:column;
  gap:12px;
}

.yzr2-item{
  display:block;
  text-decoration:none;
  color:inherit;

  background:var(--yzr2-bg);
  border:1px solid var(--yzr2-border);
  border-radius:var(--yzr2-radius);
  box-shadow:var(--yzr2-shadow);
  overflow:hidden;

  transition:transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}

.yzr2-item:hover{
  transform:translateY(-2px);
  border-color:rgba(220,53,69,.35);
  box-shadow:0 16px 34px rgba(0,0,0,.10);
}

.yzr2-item-accent{ position:relative; }
.yzr2-item-accent::before{
  content:"";
  position:absolute;
  left:0; top:0; right:0;
  height:2px;
  background: linear-gradient(90deg,
    rgba(220,53,69,1),
    rgba(13,110,253,1),
    rgba(25,135,84,1)
  );
}

.yzr2-item-body{
  padding:18px 18px 14px;
  background: linear-gradient(180deg, #ffffff 0%, #ffffff 68%, var(--yzr2-soft) 100%);
}

.yzr2-item-title{
  font-weight:950;
  letter-spacing:-.20px;
  line-height:1.15;
  color:var(--yzr2-text);
  font-size: clamp(18px, 1.35vw, 24px);

  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

.yzr2-item-meta{
  margin-top:10px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

.yzr2-item-date{
  font-size:13px;
  color:var(--yzr2-muted);
  font-weight:850;
  white-space:nowrap;
}

.yzr2-item-more{
  display:inline-flex;
  align-items:center;
  gap:8px;

  font-size:13px;
  font-weight:950;
  color:var(--yzr2-red);

  background: rgba(220,53,69,.06);
  border:1px solid rgba(220,53,69,.18);
  padding:6px 10px;
  border-radius:999px;

  transition:transform .12s ease, box-shadow .12s ease, background .12s ease, border-color .12s ease;
}

.yzr2-item:hover .yzr2-item-more{
  transform:translateY(-1px);
  box-shadow:0 10px 20px rgba(220,53,69,.12);
  border-color: rgba(220,53,69,.30);
  background: rgba(220,53,69,.08);
}

.yzr2-arrow{
  font-weight:950;
  line-height:1;
  transform: translateY(-1px);
}

.yzr2-empty{
  padding:18px 16px;
  border:1px dashed rgba(108,117,125,.35);
  border-radius:var(--yzr2-radius);
  background: rgba(248,249,250,.7);
  color:var(--yzr2-muted);
  font-weight:850;
}

/* ===============================
   ÇOK OKUNANLAR WIDGET
================================ */

.cokokunan-widget {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  overflow: hidden;
}

.cokokunan-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  font-weight: 600;
  font-size: 15px;
  background: linear-gradient(135deg, #f5f7fa, #eef1f5);
  border-bottom: 1px solid #eee;
}

.cokokunan-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #ff3b30;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.cokokunan-list {
  display: flex;
  flex-direction: column;
}

.cokokunan-item {
  display: flex;
  gap: 12px;
  padding: 12px 16px;
  text-decoration: none;
  color: #111;
  transition: background .2s ease;
  border-bottom: 1px solid #f1f1f1;
}

.cokokunan-item:last-child {
  border-bottom: none;
}

.cokokunan-item:hover {
  background: #f9fafc;
}

.cokokunan-thumb {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  border-radius: 10px;
  overflow: hidden;
}

.cokokunan-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cokokunan-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cokokunan-title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 4px;
}

.cokokunan-date {
  font-size: 12px;
  color: #777;
}

@media (min-width: 992px) {
  .cokokunan-widget {
      position: sticky;
      top: 110px;
      transition: all .2s ease;
  }
}

@media (max-width: 767.98px) {
  .yzr2-authorbar,
  .yzr2-authorbar.yzr2-accent{
    display:block;
    padding:16px;
    border-radius:18px;
  }

  .yzr2-author-left{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:16px;
    width:100%;
    text-align:left;
  }

  .yzr2-photo{
    width:94px;
    height:94px;
    flex:0 0 94px;
  }

  .yzr2-photo img,
  .yzr2-photo .yzr2-ph{
    width:94px;
    height:94px;
    border-radius:20px;
  }

  .yzr2-ph{
    font-size:30px;
    box-shadow:0 10px 20px rgba(0,0,0,.12);
  }

  .yzr2-author-text{
    flex:0 1 auto;
    min-width:0;
    max-width:60%;
  }

  .yzr2-author-name{
    display:block;
    width:auto;
    font-size:31px;
    line-height:1.08;
    padding-bottom:10px;
    margin-bottom:5px;
    word-break:break-word;
  }

  .yzr2-author-name::after{
    width:min(150px, 44vw);
    bottom:0;
  }

  .yzr2-author-bio{
    margin-top:9px;
    font-size:15px;
    line-height:1.55;
    -webkit-line-clamp:2;
  }

  .yzr2-author-right{
    width:100%;
    min-width:0;
    margin-top:14px;
    padding:14px 10px 0;
    text-align:center;
    border-top:1px solid rgba(17,24,39,.10);
  }

  .yzr2-email{
    display:block;
    text-align:center;
    font-size:13px;
    line-height:1.5;
    font-weight:900;
    padding-top:0;
    margin:0 auto;
    overflow-wrap:anywhere;
    word-break:break-word;
  }

  .yzr2-email-line{
    width:100%;
    max-width:220px;
    margin:10px auto 12px;
  }

  .yzr2-social{
    justify-content:center;
    align-items:center;
    gap:10px;
    margin-top:10px;
    padding-top:0;
    border-top:0;
  }

  .yzr2-sm{
    width:40px;
    height:40px;
    border-radius:12px;
  }

  .yzr2-sm i{
    font-size:17px;
  }
}

@media (max-width: 420px) {
  .yzr2-authorbar,
  .yzr2-authorbar.yzr2-accent{
    padding:14px;
  }

  .yzr2-author-left{
    gap:14px;
    align-items:center;
    justify-content:center;
    width:100%;
  }

  .yzr2-photo{
    width:86px;
    height:86px;
    flex:0 0 86px;
  }

  .yzr2-photo img,
  .yzr2-photo .yzr2-ph{
    width:86px;
    height:86px;
    border-radius:18px;
  }

  .yzr2-author-text{
    max-width:62%;
  }

  .yzr2-author-name{
    font-size:27px;
  }

  .yzr2-author-name::after{
    width:122px;
  }

  .yzr2-author-bio{
    font-size:14px;
    line-height:1.5;
  }

  .yzr2-author-right{
    padding:12px 6px 0;
  }

  .yzr2-email{
    font-size:12.5px;
  }

  .yzr2-social{
    gap:9px;
  }

  .yzr2-sm{
    width:38px;
    height:38px;
    border-radius:11px;
  }
}

@media (max-width: 767.98px) {
  .cokokunan-widget{
    display:none !important;
  }
}

/* =========================================================
   YAZARLAR LİSTE SAYFASI
========================================================= */
.yy-authors-page{
  --yy-gap:22px;
  --yy-red:#dc3545;
  --yy-blue:#0d6efd;
  --yy-green:#198754;
  --yy-text:#1f2937;
  --yy-muted:#667085;
  --yy-border:#e7edf3;
}

.yy-section{
  margin-bottom:32px;
}

.yy-section-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:14px 18px;
  margin-bottom:18px;
  border:1px solid var(--yy-border);
  border-radius:18px;
  background:linear-gradient(135deg,#ffffff 0%,#f7fafc 100%);
  box-shadow:0 10px 24px rgba(15,23,42,.05);
}

.yy-section-head--dark{
  color:#fff;
  border-color:rgba(255,255,255,.10);
  background:linear-gradient(135deg,#737d88 0%, #5f6975 100%);
  box-shadow:0 14px 28px rgba(15,23,42,.12);
}

.yy-section-title{
  color:inherit;
  font-size:clamp(24px, 2.1vw, 34px);
  font-weight:900;
  letter-spacing:-.03em;
  line-height:1.08;
}

.yy-section-subtitle{
  margin-top:4px;
  font-size:13px;
  line-height:1.45;
  color:#667085;
}

.yy-section-head--dark .yy-section-subtitle{
  color:rgba(255,255,255,.82);
}

.yy-section-badge{
  min-width:46px;
  height:46px;
  padding:0 14px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  background:rgba(255,255,255,.16);
  color:#fff;
  font-weight:900;
  font-size:15px;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.14);
}

.yy-top-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:var(--yy-gap);
}

.yy-top-grid--count-1{
  max-width:360px;
  margin:0 auto;
  grid-template-columns:1fr;
}

.yy-top-grid--count-2{
  max-width:780px;
  margin:0 auto;
  grid-template-columns:repeat(2, minmax(0, 1fr));
}

.yy-author-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:var(--yy-gap);
}

.yy-marquee{
  overflow:hidden;
  width:100%;
  border-radius:24px;
}

.yy-marquee-track{
  display:flex;
  flex-wrap:nowrap;
  gap:var(--yy-gap);
  width:max-content;
  will-change:transform;
  transform:translate3d(0,0,0);
}

.yy-marquee-item{
  flex:0 0 auto;
}

.yy-author-card{
  position:relative;
  height:100%;
  overflow:hidden;
  border:1px solid rgba(15,23,42,.08);
  border-radius:22px;
  background:linear-gradient(135deg, rgba(255,255,255,.97) 0%, rgba(240,247,249,.97) 100%);
  box-shadow:0 14px 30px rgba(15,23,42,.08);
  transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  isolation:isolate;
}

.yy-author-card::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 18% 16%, rgba(220,53,69,.12), transparent 42%),
    radial-gradient(circle at 84% 22%, rgba(13,110,253,.10), transparent 44%),
    radial-gradient(circle at 82% 80%, rgba(25,135,84,.10), transparent 42%);
  pointer-events:none;
}

.yy-author-card::after{
  content:"";
  position:absolute;
  left:0;
  top:0;
  right:0;
  height:3px;
  background:linear-gradient(90deg, rgba(220,53,69,1), rgba(13,110,253,1), rgba(25,135,84,1));
  opacity:.95;
}

.yy-author-card:hover{
  transform:translateY(-6px);
  border-color:rgba(220,53,69,.28);
  box-shadow:0 20px 38px rgba(220,53,69,.14), 0 14px 30px rgba(15,23,42,.12);
}

.yy-author-card__inner{
  position:relative;
  z-index:1;
  min-height:100%;
  padding:26px 24px 22px;
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
}

.yy-author-avatar{
  width:96px;
  height:96px;
  border-radius:50%;
  overflow:hidden;
  display:block;
  background:#fff;
  border:3px solid rgba(255,255,255,.92);
  box-shadow:0 12px 24px rgba(15,23,42,.14);
}

.yy-author-avatar img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.yy-author-name{
  margin:16px 0 0;
  font-size:30px;
  font-weight:900;
  line-height:1.1;
  letter-spacing:-.03em;
}

.yy-author-name a{
  color:var(--yy-text);
  text-decoration:none;
}

.yy-author-name a:hover{
  color:var(--yy-red);
}

.yy-author-bio{
  margin-top:10px;
  min-height:44px;
  color:var(--yy-muted);
  font-size:14px;
  line-height:1.6;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

.yy-author-card.is-today .yy-author-bio{
  min-height:46px;
}

.yy-author-last-label{
  margin-top:14px;
  font-size:11px;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:#7c8796;
}

.yy-author-last-title{
  margin-top:6px;
  min-height:46px;
  color:#1f2937;
  font-size:15px;
  font-weight:800;
  line-height:1.45;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

.yy-author-actions{
  margin-top:auto;
  padding-top:18px;
}

.yy-author-btn{
  min-width:126px;
  height:42px;
  padding:0 18px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  border:1px solid rgba(13,110,253,.42);
  background:#fff;
  color:#0d6efd;
  text-decoration:none;
  font-size:13px;
  font-weight:900;
  box-shadow:0 8px 18px rgba(13,110,253,.10);
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease, color .18s ease;
}

.yy-author-btn:hover{
  transform:translateY(-2px);
  color:var(--yy-red);
  border-color:rgba(220,53,69,.35);
  box-shadow:0 12px 24px rgba(220,53,69,.14);
}

.yy-empty-state{
  padding:28px 24px;
  border:1px solid var(--yy-border);
  border-radius:20px;
  background:linear-gradient(135deg,#fff 0%,#f7fafc 100%);
  color:var(--yy-muted);
  font-weight:700;
  text-align:center;
  box-shadow:0 10px 24px rgba(15,23,42,.05);
}

@media (max-width: 991.98px){
  .yy-author-grid{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }

  .yy-top-grid{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }

  .yy-top-grid--count-3{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }

  .yy-top-grid--count-3 .yy-top-grid__item:last-child{
    grid-column:1 / -1;
    max-width:420px;
    width:100%;
    margin:0 auto;
  }

  .yy-author-name{
    font-size:27px;
  }
}

@media (max-width: 575.98px){
  .yy-authors-page{
    padding-top:16px !important;
  }

  .yy-section{
    margin-bottom:24px;
  }

  .yy-section-head{
    padding:12px 14px;
    margin-bottom:14px;
    border-radius:16px;
  }

  .yy-section-title{
    font-size:24px;
  }

  .yy-section-subtitle{
    font-size:12px;
  }

  .yy-section-badge{
    min-width:40px;
    height:40px;
    font-size:14px;
    padding:0 12px;
  }

  .yy-author-grid,
  .yy-top-grid,
  .yy-top-grid--count-2,
  .yy-top-grid--count-3{
    grid-template-columns:1fr;
    max-width:none;
  }

  .yy-top-grid--count-3 .yy-top-grid__item:last-child{
    max-width:none;
  }

  .yy-author-card{
    border-radius:18px;
  }

  .yy-author-card__inner{
    padding:22px 18px 18px;
  }

  .yy-author-avatar{
    width:86px;
    height:86px;
  }

  .yy-author-name{
    margin-top:14px;
    font-size:24px;
  }

  .yy-author-bio{
    font-size:13px;
    min-height:auto;
  }

  .yy-author-last-title{
    font-size:14px;
    min-height:auto;
  }

  .yy-author-actions{
    padding-top:16px;
  }

  .yy-author-btn{
    min-width:118px;
    height:40px;
    font-size:12.5px;
  }
}