.entry-content {
  font-size: 1rem;
  line-height: 1.75;
  color: #374151;
  text-align: start;
}

.entry-content h1, .entry-content h2, .entry-content h3,
.entry-content h4, .entry-content h5, .entry-content h6 {
  font-weight: 700;
  color: #111827;
  line-height: 1.3;
  margin: 1.4em 0 0.55em;
  font-family: inherit;
}

.entry-content h1 { font-size: 2em; }
.entry-content h2 { font-size: 1.5em; }
.entry-content h3 { font-size: 1.25em; }
.entry-content h4 { font-size: 1.1em; }
.entry-content h5 { font-size: 1em; }
.entry-content h6 { font-size: 0.9em; }

.entry-content p { margin: 0 0 1em; }

.entry-content ul, .entry-content ol { margin: 0 0 1em; padding-left: 1.6em; }
.entry-content ul { list-style: disc; }
.entry-content ol { list-style: decimal; }
.entry-content li { margin: 0.3em 0; }
.entry-content li > ul, .entry-content li > ol { margin: 0.3em 0 0; }

.entry-content a { color: #ea580c; text-decoration: underline; }
.entry-content a:hover { color: #c2410c; }

.entry-content img { max-width: 100%; height: auto; }

/* Gorsellerin ustune ve altina ferah bosluk birak (text gorsele yapismasin) */
.entry-content figure,
.entry-content .wp-block-image,
.entry-content .wp-block-gallery {
  max-width: 100%;
  margin: 2em 0 2.5em;
}

/* Gorselleri modern yumusak koseli yap */
.entry-content .wp-block-image img,
.entry-content .wp-block-gallery img,
.entry-content > img { border-radius: 1rem; }
.entry-content .wp-block-image { border-radius: 1rem; overflow: hidden; }

.entry-content figure figcaption, .entry-content .wp-block-image figcaption {
  font-size: 0.875rem; color: #6b7280; text-align: center; margin-top: 0.5em;
}

.entry-content .alignleft {
  float: left;
  margin: 0.5em 1.5em 1em 0;
  max-width: 50%;
}
.entry-content .alignright {
  float: right;
  margin: 0.5em 0 1em 1.5em;
  max-width: 50%;
}
/* Float edilmis gorsellerden sonra yapisal bloklar alta insin
   (icerik kartlari/metinler saga kaymasin) */
.entry-content .wp-block-quote,
.entry-content .wp-block-group,
.entry-content .wp-block-heading,
.entry-content h1, .entry-content h2, .entry-content h3,
.entry-content h4, .entry-content h5, .entry-content h6 {
  clear: both;
}

/* Mobilde yasli gorselleri ortalayarak alt alta goster */
@media (max-width: 768px) {
  .entry-content .alignleft,
  .entry-content .alignright {
    float: none;
    display: block;
    margin: 2em auto 2.5em;
    max-width: 100%;
  }
}
.entry-content .aligncenter {
  display: block;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.entry-content .wp-block-image.aligncenter {
  display: table;
  margin-left: auto;
  margin-right: auto;
}
.entry-content .wp-block-image.aligncenter figcaption {
  display: table-caption;
  caption-side: bottom;
}
.entry-content .aligncenter img { display: inline-block; margin-left: auto; margin-right: auto; }

.entry-content .alignwide { width: 100%; max-width: 100%; }
.entry-content .alignfull { width: 100%; max-width: 100%; }

.entry-content .has-text-align-right { text-align: right; }
.entry-content .has-text-align-center { text-align: center; }
.entry-content .has-text-align-left { text-align: left; }
.entry-content .has-text-align-justify { text-align: justify; }

.entry-content table { width: 100%; border-collapse: collapse; margin: 1em 0; }
.entry-content th, .entry-content td { border: 1px solid #e5e7eb; padding: 0.5em 0.75em; }
.entry-content th { background: #f9fafb; font-weight: 600; }
.entry-content .wp-block-table.is-style-stripes tbody tr:nth-child(2n+1) { background: #f9fafb; }
.entry-content .wp-block-table.is-style-stripes { border-bottom: 1px solid #e5e7eb; }

.entry-content blockquote {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 1rem;
  padding: 1.5em;
  color: #4b5563;
  margin: 1.5em 0;
  font-style: normal;
}
.entry-content blockquote cite { display: block; margin-top: 0.5em; font-size: 0.875rem; color: #6b7280; font-style: normal; }
.entry-content blockquote p { margin-bottom: 0.75em; }
.entry-content blockquote p:last-child { margin-bottom: 0; }
.entry-content blockquote h3, .entry-content blockquote h4 { margin-top: 0.75em; }

.entry-content .wp-block-quote { border-left-color: #f97316; }
.entry-content .wp-block-pullquote {
  border-top: 4px solid #e5e7eb; border-bottom: 4px solid #e5e7eb;
  padding: 1.5em 0; margin: 1.5em 0; text-align: center; color: #111827;
}
.entry-content .wp-block-pullquote blockquote { border-left: 0; font-style: normal; padding-left: 0; color: inherit; }
.entry-content .wp-block-pullquote p { margin-bottom: 0.5em; }
.entry-content .wp-block-pullquote.is-style-solid-color { border: 0; padding: 1.5em; }

.entry-content pre {
  background: #111827; color: #f9fafb; padding: 1em;
  border-radius: 0.5rem; overflow: auto; margin: 1em 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9em; line-height: 1.6; white-space: pre-wrap;
}
.entry-content code {
  background: #f3f4f6; padding: 0.15em 0.35em; border-radius: 0.25em;
  font-size: 0.9em; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.entry-content pre code { background: transparent; padding: 0; font-size: 1em; }
.entry-content kbd {
  background: #111827; color: #fff; padding: 0.15em 0.4em;
  border-radius: 0.25em; font-size: 0.85em; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.entry-content mark { background: #fef08a; color: inherit; }
.entry-content sub { vertical-align: sub; font-size: 0.75em; }
.entry-content sup { vertical-align: super; font-size: 0.75em; }

.entry-content .wp-block-verse {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  margin: 1em 0; padding-left: 1.6em; border-left: 3px solid #f97316;
}

.entry-content hr, .entry-content .wp-block-separator {
  border: 0; border-top: 1px solid #e5e7eb; margin: 2em 0;
}
.entry-content .wp-block-separator.is-style-wide { width: 100%; max-width: 100%; }
.entry-content .wp-block-separator.has-background { height: 3px; background: #e5e7eb; border: 0; }

.entry-content .wp-block-spacer { clear: both; }
.entry-content .wp-block-group { margin: 1em 0; }
.entry-content .wp-block-group.has-background { padding: 1.5em; }

.entry-content .wp-block-columns { gap: 1.5em; margin: 1em 0; }
.entry-content .wp-block-column > * { margin-bottom: 1em; }
.entry-content .wp-block-column > *:last-child { margin-bottom: 0; }

.entry-content .wp-block-cover { margin: 1em 0; }
.entry-content .wp-block-cover__inner-container { color: #fff; }

.entry-content .wp-block-media-text { margin: 1em 0; }
.entry-content .wp-block-media-text img, .entry-content .wp-block-media-text figure { margin: 0; }

.entry-content .wp-block-buttons { margin: 1em 0; gap: 0.5em; }
.entry-content .wp-block-button { margin: 0; }
.entry-content .wp-block-button__link { text-decoration: none; }

.entry-content iframe { max-width: 100%; }
.entry-content .wp-block-embed { margin: 1em 0; }
.entry-content .wp-block-embed iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; }

.entry-content .is-layout-flex { display: flex; flex-wrap: wrap; }
.entry-content .is-layout-flex > * { margin: 0; }

.entry-content .has-text-color a { color: inherit; }
.entry-content p.has-background, .entry-content .has-background { padding: 1em 1.25em; }
.entry-content .has-drop-cap::first-letter {
  font-size: 3.5em; float: left; line-height: 0.8; font-weight: 700;
  margin: 0.05em 0.1em 0 0; color: #111827;
}
