/* harunuysal.com.tr — Johannes temasına yapılan küçük eklemeler. Renkler temanın kendi değerleridir:
   ana metin #424851, vurgu (kırmızı) #f13b3b, ikincil metin #989da2, açık zemin #f2f3f3, koyu zemin #424851 */

/* Formlar */
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 16px 0 0; font-size: 1.5rem; min-height: 1em; }
.form-status.is-success { color: #2e7d32; }
.form-status.is-error { color: #f13b3b; }
.johannes-contact-form { margin-top: 30px; }
.johannes-contact-form .comment-form-email,
.johannes-contact-form .comment-form-url,
.johannes-contact-form .comment-form-author { width: 100%; }
.comment-form input[type=submit][disabled] { opacity: .6; cursor: wait; }
.comment-reply { margin-top: 10px; padding: 12px 16px; background: #f2f3f3; border-left: 3px solid #f13b3b; }

/* Kod blokları (Shiki) */
.entry-content pre.astro-code { padding: 20px 24px; border-radius: 0; background: #f2f3f3 !important; font-size: 1.4rem; line-height: 1.6; overflow-x: auto; margin: 0 0 3rem; }
.entry-content pre.astro-code code { background: transparent; padding: 0; font-size: inherit; white-space: pre; }
.entry-content :not(pre) > code { background: #f2f3f3; padding: 2px 6px; font-size: .88em; border-radius: 3px; overflow-wrap: anywhere; }

/* Tablolar mobilde yatay kaysın */
.entry-content figure.wp-block-table { overflow-x: auto; margin: 0 0 3rem; }
.entry-content figure.wp-block-table table { margin-bottom: 0; }

/* Yazı içi görseller */
.entry-content figure.wp-block-image { text-align: center; }
.entry-content figure.wp-block-image img { height: auto; }
.entry-content img { max-width: 100%; height: auto; }

/* Reklam alanları */
.johannes-ad-in-article { margin: 0 0 3rem; min-height: 1px; }

/* Arşiv sayfası */
.johannes-archive-list { max-width: 840px; margin: 0 auto; }
.johannes-archive-year { display: flex; align-items: baseline; gap: 12px; margin: 0 0 24px; }
.johannes-archive-year .count { font-size: 1.6rem; color: #989da2; font-weight: 400; }
.johannes-archive-month { margin: 0 0 32px; }
.johannes-archive-month h3 { font-size: 1.8rem; margin: 0 0 12px; color: #989da2; }
.johannes-archive-month ul { list-style: none; margin: 0; padding: 0; }
.johannes-archive-month li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; border-bottom: 1px solid rgba(66, 72, 81, .1); }
.johannes-archive-month li a { font-family: 'Mulish', Arial, sans-serif; font-weight: 900; font-size: 1.8rem; line-height: 1.35; }
.johannes-archive-month li time { flex: none; font-size: 1.4rem; color: #989da2; }
.johannes-archive-section + .johannes-archive-section { margin-top: 48px; }
@media (max-width: 599px) {
  .johannes-archive-month li { flex-direction: column; gap: 4px; }
}

/* Arşivdeki yazının bilgi kutusu */
.johannes-archived-note { margin: 0 0 3rem; padding: 16px 20px; background: #f2f3f3; border-left: 3px solid #989da2; font-size: 1.5rem; }
.johannes-archived-note a { color: #f13b3b; }

/* Arama sonuç bilgisi */
.johannes-search-empty { text-align: center; font-size: 1.8rem; color: #989da2; }

/* Öne çıkan alıntı (pullquote) — demo görünümü: kırmızı zemin, beyaz yazı, sola hizalı */
.entry-content .wp-block-pullquote { background: #f13b3b; color: #fff; padding: 40px 48px; margin: 0 0 3rem; border: 0; text-align: left; }
.entry-content .wp-block-pullquote blockquote { margin: 0; padding: 0; border: 0; }
.entry-content .wp-block-pullquote blockquote:before { display: none; }
.entry-content .wp-block-pullquote p { color: #fff; font-family: 'Mulish', Arial, sans-serif; font-weight: 900; font-size: 2.4rem; line-height: 1.6; margin: 0 0 1.5rem; }
.entry-content .wp-block-pullquote blockquote p { margin-bottom: 16px !important; }
.entry-content .wp-block-pullquote cite { display: block; margin-top: 0; color: #fff; font-style: italic; font-size: 1.8rem; text-transform: none; }
.entry-content blockquote cite { display: block; font-style: italic; font-weight: 400; }

/* Video gömme */
.entry-content .wp-block-embed { margin: 0 0 3rem; }
.entry-content .wp-block-embed iframe { border: 0; width: 100%; }

/* Alt bilgi */
.johannes-footer .textwidget p { margin-bottom: 16px; max-width: 300px; }
.johannes-footer .footer-latest li { margin-bottom: 10px; }
.johannes-footer .footer-latest li a { font-weight: 400; font-family: inherit; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.johannes-footer .johannes-copyright a { color: inherit; text-decoration: underline; }
@media (max-width: 767px) {
  .johannes-footer { background: #f6f6f7; margin-top: 30px; padding-top: 40px; }
  .johannes-footer .footer-divider { display: none; }
  .johannes-footer .widget { margin-bottom: 0; }
  .johannes-footer .widget-title { font-size: 1.3rem; letter-spacing: .12em; text-transform: uppercase; color: #8a8f97; margin-bottom: 14px; }
  /* Tanıtım: ortalı */
  .johannes-footer .footer-about { text-align: center; padding-bottom: 28px; }
  .johannes-footer .footer-about .widget-title { font-size: 2.4rem; letter-spacing: 0; text-transform: none; color: #424851; margin-bottom: 10px; }
  .johannes-footer .footer-about .textwidget p { max-width: 290px; margin: 0 auto 18px; font-size: 1.5rem; line-height: 1.6; }
  .johannes-footer .footer-about .mks_social_widget_ul { display: flex; justify-content: center; gap: 6px; margin: 0; }
  .johannes-footer .footer-about .mks_social_widget_ul a { width: 40px !important; height: 40px !important; line-height: 44px !important; font-size: 14px !important; }
  /* Sayfalar + Konular: beyaz kutu içinde iki sütun */
  .johannes-footer .footer-links { background: #fff; padding: 22px 18px 10px; height: 100%; }
  .johannes-footer-widgets > .col-6:nth-child(2) { padding-right: 0; }
  .johannes-footer-widgets > .col-6:nth-child(2) .footer-links { border-right: 1px solid rgba(66,72,81,.08); }
  .johannes-footer-widgets > .col-6:nth-child(3) { padding-left: 0; }
  .johannes-footer .footer-links li { margin-bottom: 12px; font-size: 1.5rem; }
  /* Son yazılar: ayraçlı liste */
  .johannes-footer .footer-latest { background: #fff; margin-top: 16px; padding: 22px 18px 4px; }
  .johannes-footer .footer-latest li { margin: 0; padding: 12px 0; border-top: 1px solid rgba(66,72,81,.08); font-size: 1.5rem; line-height: 1.5; }
  .johannes-footer .footer-latest li:first-child { border-top: 0; padding-top: 0; }
  /* Telif */
  .johannes-footer .johannes-footer-widgets + .johannes-copyright { border-top: 0; padding: 28px 0 90px; text-align: center; font-size: 1.3rem; color: #8a8f97; }
  .johannes-footer .johannes-copyright .sep { display: none; }
  .johannes-footer .johannes-copyright span, .johannes-footer .johannes-copyright a { display: block; }
  .johannes-footer .johannes-copyright a { margin-top: 6px; }
}
