/**
 * ==========================================================================
 * TEMAJET - KURUMSAL MİKRO EDİTÖR KARTI (2026 Google E-E-A-T & Zero Speed Impact)
 * Benzersiz İzolasyon Sınıfı: .temajet-corporate-author-box
 * ==========================================================================
 */

.temajet-corporate-author-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 10px 16px;
  margin: 24px 0;
  box-sizing: border-box;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
}

.temajet-corporate-author-box:hover {
  border-color: #cbd5e1;
  background-color: #ffffff;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
}

/* --------------------------------------------------------------------------
   1. SOL: 44x44px DAİRESEL EDİTÖR PROFİL RESMİ
   -------------------------------------------------------------------------- */
.temajet-corporate-author-box .tcab-avatar-link {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #e2e8f0;
  border: 1.5px solid #ffffff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  text-decoration: none;
  transition: transform 0.2s ease;
}

.temajet-corporate-author-box .tcab-avatar-link:hover {
  transform: scale(1.05);
}

.temajet-corporate-author-box .tcab-avatar-img,
.temajet-corporate-author-box img.avatar {
  width: 100% !important;
  height: 100% !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  display: block;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
}

/* --------------------------------------------------------------------------
   2. ORTA: EDİTÖR ADI SOYADI & UNVANI
   -------------------------------------------------------------------------- */
.temajet-corporate-author-box .tcab-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  min-width: 0;
  margin: 0 14px;
}

.temajet-corporate-author-box .tcab-name {
  font-size: 15px;
  font-weight: 600;
  color: #0f172a;
  text-decoration: none !important;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.15s ease;
  display: inline-block;
}

.temajet-corporate-author-box .tcab-name:hover {
  color: #d90429;
}

.temajet-corporate-author-box .tcab-role {
  font-size: 12px;
  font-weight: 500;
  color: #64748b;
  margin-top: 2px;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* --------------------------------------------------------------------------
   3. SAĞ: ONAY ROZETİ & 'PROFİLİ İNCELE ➔' MİKRO BUTONU
   -------------------------------------------------------------------------- */
.temajet-corporate-author-box .tcab-action {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Onay Rozeti (Mavi Checkmark) */
.temajet-corporate-author-box .tcab-verified {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  color: #2563eb;
  background-color: rgba(37, 99, 235, 0.08);
  border-radius: 50%;
  flex-shrink: 0;
}

.temajet-corporate-author-box .tcab-check-icon {
  width: 15px;
  height: 15px;
  display: block;
}

/* Mikro Buton */
.temajet-corporate-author-box .tcab-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  color: #334155;
  background-color: #ffffff;
  border: 1px solid #cbd5e1;
  padding: 5px 11px;
  border-radius: 4px;
  text-decoration: none !important;
  line-height: 1;
  white-space: nowrap;
  transition: all 0.18s ease;
}

.temajet-corporate-author-box .tcab-arrow-icon {
  width: 12px;
  height: 12px;
  display: block;
  transition: transform 0.18s ease;
}

.temajet-corporate-author-box .tcab-btn:hover {
  background-color: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
}

.temajet-corporate-author-box .tcab-btn:hover .tcab-arrow-icon {
  transform: translateX(2px);
}

/* --------------------------------------------------------------------------
   DARK MODE (KOYU TEMA) DESTEĞİ
   -------------------------------------------------------------------------- */
body.dark-theme .temajet-corporate-author-box {
  background-color: #151922;
  border-color: #242c3d;
}

body.dark-theme .temajet-corporate-author-box:hover {
  background-color: #1a202c;
  border-color: #333f54;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

body.dark-theme .temajet-corporate-author-box .tcab-avatar-link {
  background-color: #242c3d;
  border-color: #151922;
}

body.dark-theme .temajet-corporate-author-box .tcab-name {
  color: #f1f5f9;
}

body.dark-theme .temajet-corporate-author-box .tcab-name:hover {
  color: #ff5252;
}

body.dark-theme .temajet-corporate-author-box .tcab-role {
  color: #94a3b8;
}

body.dark-theme .temajet-corporate-author-box .tcab-verified {
  color: #60a5fa;
  background-color: rgba(96, 165, 250, 0.12);
}

body.dark-theme .temajet-corporate-author-box .tcab-btn {
  background-color: #1e2430;
  color: #cbd5e1;
  border-color: #2e3849;
}

body.dark-theme .temajet-corporate-author-box .tcab-btn:hover {
  background-color: #2563eb;
  color: #ffffff;
  border-color: #2563eb;
}

/* --------------------------------------------------------------------------
   MOBİL VE TABLET UYUMU (RESPONSIVE)
   -------------------------------------------------------------------------- */
@media (max-width: 600px) {
  .temajet-corporate-author-box {
    padding: 8px 12px;
  }

  .temajet-corporate-author-box .tcab-avatar-link {
    width: 38px;
    height: 38px;
    min-width: 38px;
  }

  .temajet-corporate-author-box .tcab-details {
    margin: 0 10px;
  }

  .temajet-corporate-author-box .tcab-name {
    font-size: 13.5px;
  }

  .temajet-corporate-author-box .tcab-role {
    font-size: 11px;
  }

  .temajet-corporate-author-box .tcab-btn {
    padding: 5px 8px;
    font-size: 11px;
    gap: 3px;
  }
}

@media (max-width: 400px) {
  .temajet-corporate-author-box .tcab-verified {
    display: none; /* Ekstra dar ekranlarda alandan tasarruf */
  }

  .temajet-corporate-author-box .tcab-btn span {
    display: none;
  }

  .temajet-corporate-author-box .tcab-btn::after {
    content: "Profil ➔";
    display: inline-block;
  }

  .temajet-corporate-author-box .tcab-arrow-icon {
    display: none;
  }
}
