/* YORUM AVATARLARI */
.comment-body img.avatar,
.comment-author img.avatar,
.comment-body .comment-author .avatar {
  width: 100px !important;
  height: 108px !important;
  border-radius: 4px !important;
  object-fit: cover;
  padding: 2px;
  margin-bottom: 8px;
}

img.avatar[src*="gravatar.com/avatar/?"],
img.avatar[src*="secure.gravatar.com/avatar/?"],
img.avatar[src*="gravatar.com/avatar/?s="],
img.avatar[src*="secure.gravatar.com/avatar/?s="],
img.avatar[src*="gravatar.com/avatar/"][src*="d=mm"],
img.avatar[src*="secure.gravatar.com/avatar/"][src*="d=mm"] {
  content: url("https://kompozisyon.tr/avatar/avatar3.webp") !important;
  border-radius: 10px !important;
  object-fit: cover !important;
}


/* YORUMLAR */
.comment-body {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;
  border: 1px solid #D3E6EB;
  background: #ECF7FA;
  border-radius: 6px;
  padding: 11px;
  margin-bottom: 20px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.comment-author {
  text-align: center;
  padding-right: 10px;
  margin-right: 15px;
  font-weight: 500;
  color: #040404 !important;
}

.comment-author cite {
  text-shadow: 0 1px 7px #040404;
  font-size: 11pt;
  font-weight: normal !important;
  color: #040404 !important;
}

.comment-main {
  display: flex;
  flex-direction: column;
}

.comment-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  border: 1px solid #D3E6EB;
  padding: 6px;
  text-align: center;
  background: #F5FBFC;
  border-radius: 8px;
  color: #000;
}

.comment-meta a {
  color: #000;
  text-align: center;
}

.comments-title {
  padding: 8px !important;
  font-size: 15px !important;
  font-weight: normal !important;
  color: #000;
  text-align: center;
  border: 1px solid #E1D47E;
  background: #FCF7D7;
  border-radius: 3px;
  font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI",
    Helvetica, Arial, sans-serif;
}

.comment-content {
  border: 1px solid #D3E6EB;
  background: #fff;
  border-radius: 4px;
  padding: 14px;
  line-height: 1.6;
  color: #222;
}


/* YANITLAR */
.children {
  margin-left: 0 !important;
  padding-left: 0 !important;
  border: none !important;
}

.children .comment-content:first-of-type {
  border: 1px solid #CFDFE3;
  border-left: 4px solid #5BA8C7;
  background: #fff;
  padding: 10px 12px;
  margin-bottom: 10px;
  font-size: 14px;
  color: #444;
}

.children .comment-content:first-of-type::before {
  content: "Alıntı yapılan mesaj:";
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: #316B8D;
}

.children .comment-body {
  position: relative;
  overflow: visible;
}

.children .comment-body::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 40px;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 12px solid #D3E6EB;
}


/* YORUM FORMU */
.comment-respond {
  width: 50%;
  max-width: 700px;
  margin: 20px auto;
  padding: 15px;
  box-sizing: border-box;
  border: 1px solid #EEE;
  background: #FBFBFB;
  border-radius: 5px;
}

.comment-form textarea {
  display: block;
  width: calc(100% - 20px);
  height: 140px;
  margin: 10px auto;
  padding: 9px;
  border: 1px solid #AFD4D3;
  border-radius: 6px;
  background: #D9EBEB;
  color: #000;
  resize: vertical;
  line-height: 1.4;
  font: 13px Tahoma !important;
}

.comment-form input[type="text"],
.comment-form input[type="email"] {
  width: 100%;
  padding: 10px;
  border: 1px solid #D3E6EB;
  border-radius: 6px;
  background: #fff;
  font-size: 15px;
}

.comment-form input[type="submit"],
.comment-form button {
  min-width: 80px;
  border: none;
  border-radius: 10px;
  background: #FEC731;
  color: #000;
}

.comment-form button:hover,
.comment-form input[type="submit"]:hover {
  background: #3B88AA;
}

.comment-reply-title,
.logged-in-as,
#url,
label[for="url"],
input[name="url"],
p.comment-form-url {
  display: none !important;
}


/* MOBİL */
@media (max-width: 768px) {
  .comment-body {
    grid-template-columns: 1fr;
    gap: 4px !important;
    margin-bottom: 10px;
    text-align: left !important;
  }

  .comment-main {
    margin-top: 10px;
  }

  .comment-author {
    margin: 0;
    padding: 0;
  }

  .comment-respond {
    width: 90%;
    max-width: none;
  }
}