/* Ortak Discord Markdown Stilleri */
.discord-link {
  color: #4d96ee !important;
  text-decoration: none;
  word-break: break-word;
  transition: color 0.15s ease, text-decoration 0.15s ease;
}
.discord-link:hover {
  color: #6db0ff !important;
  text-decoration: underline !important;
}

/* Özel renk verilmişse ({#hex}) link mavisini ezer */
.discord-link[style*="color: inherit"],
[style*="color"] > .discord-link,
[style*="color"] .discord-link {
  color: inherit !important;
}

.discord-subtext {
  font-size: 0.82rem;
  color: #9ca3af;
  margin: 4px 0 8px;
  display: block;
}

.discord-h1 {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  margin: 24px 0 12px;
  border-bottom: 1px solid #2e3642;
  padding-bottom: 8px;
}
.discord-h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin: 20px 0 10px;
}
.discord-h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
  margin: 16px 0 8px;
}

.discord-bold { font-weight: 700; color: #fff; }
.discord-italic { font-style: italic; }
.discord-bold-italic { font-weight: 700; font-style: italic; color: #fff; }
.discord-underline { text-decoration: underline; text-underline-offset: 3px; }
.discord-strike { text-decoration: line-through; color: #9ca3af; }

.discord-code-inline {
  background-color: #2b2d31;
  padding: 2px 6px;
  border-radius: 4px;
  font-family: monospace;
  font-size: 0.9em;
  color: #e0e1e5;
}

.discord-code-block {
  background-color: #1e1f22;
  border: 1px solid #2e3642;
  padding: 14px;
  border-radius: 6px;
  font-family: monospace;
  font-size: 0.9em;
  color: #e0e1e5;
  white-space: pre-wrap;
  word-break: break-all;
  margin: 16px 0;
  display: block;
}

.discord-quote {
  border-left: 4px solid #4e5058;
  padding: 8px 14px;
  margin: 14px 0;
  color: #dbdee1;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 0 4px 4px 0;
}

.discord-spoiler {
  background-color: #2b2d31;
  color: #2b2d31;
  border-radius: 4px;
  padding: 0 4px;
  cursor: pointer;
  user-select: none;
  transition: color 0.15s ease, background-color 0.15s ease;
}
.discord-spoiler.revealed {
  background-color: rgba(255, 255, 255, 0.12);
  color: #f3f4f6;
  user-select: text;
}

.discord-ul { margin: 10px 0 10px 24px; list-style-type: disc; }
.discord-ol { margin: 10px 0 10px 24px; list-style-type: decimal; }
.discord-li { margin-bottom: 6px; }

.article-body p {
  margin-bottom: 12px;
}

.media-embed-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 16px 0;
  border: 1px solid #2e3642;
  display: block;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  margin: 20px 0;
  border-radius: 8px;
  background: #000;
}
.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}
