/*
Theme Name: SohbetMobil Neon
Theme URI: https://sohbetmobil.org/
Author: Direkhizmet.com.tr
Author URI: https://direkhizmet.com.tr/
Description: SohbetMobil.org özel neon blog teması. Tasarım ve Geliştirme: Direkhizmet.com.tr
Version: 1.3.1
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
Text Domain: sohbetmobil
Tags: blog, dark, custom-logo, featured-images, threaded-comments
*/

/* Tasarım ve Geliştirme: Direkhizmet.com.tr — imza stilleri */
.sm-dh-credit-wrap {
  margin: 0.45rem 0 0;
  color: #667388;
  font-size: 0.75rem;
  line-height: 1.4;
}
.sm-dh-credit {
  color: var(--cyan, #00f6ff);
  font-weight: 600;
}
.sm-dh-credit:hover { text-decoration: underline; }

/* WordPress uyum — HTML görünümünü bozmadan */

body.admin-bar .header { top: 32px; }
@media (max-width: 782px) {
  body.admin-bar .header { top: 46px; }
}

.logo--custom .custom-logo-link { display: inline-flex; align-items: center; }
.logo--custom .custom-logo {
  display: block;
  height: 46px;
  width: auto;
  max-width: min(280px, 62vw);
}

/* WP post_class ekstra sınıfları kartı bozmasın */
.blog__grid > .post,
.blog__grid article.post {
  margin: 0;
  padding: 0;
  background: var(--card, rgba(12, 18, 32, 0.85));
  border: 1px solid var(--line, rgba(0, 246, 255, 0.16));
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.blog__grid .post__media {
  position: relative;
  display: block;
  overflow: hidden;
}
.blog__grid .post__media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.blog__grid .post:hover .post__media img { transform: scale(1.04); }
.blog__grid .post__body {
  padding: 1rem 1.05rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  flex: 1;
}
.blog__grid .post__body h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.35;
}
.blog__grid .post__body h3 a { color: #f4f7ff; }
.blog__grid .post__body h3 a:hover { color: var(--cyan, #00f6ff); }
.blog__grid .post__body p {
  margin: 0;
  color: var(--muted, #8b97ad);
  font-size: 0.9rem;
  flex: 1;
}
.blog__grid .meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.85rem;
  margin-top: 0.35rem;
  color: #7d8aa3;
  font-size: 0.78rem;
}

.header__cta {
  margin-left: 0.5rem;
  flex-shrink: 0;
}

.blog-cta {
  margin-top: 1.75rem;
  padding: 1.15rem 1.2rem;
  border-radius: 18px;
  border: 1px solid rgba(0, 246, 255, 0.22);
  background: rgba(12, 18, 32, 0.75);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.blog-cta p {
  margin: 0;
  color: #c5cede;
  max-width: 42ch;
}
.blog-cta strong { color: #f4f7ff; }

.wp-content {
  color: #c5cede;
  font-size: 1.02rem;
  line-height: 1.7;
}
.wp-content > *:first-child { margin-top: 0; }
.wp-content h2,
.wp-content h3,
.wp-content h4 {
  font-family: var(--display, Orbitron, sans-serif);
  color: #f4f7ff;
  margin: 1.4rem 0 0.65rem;
}
.wp-content h2 { color: var(--cyan, #00f6ff); font-size: 1.25rem; }
.wp-content p { margin: 0 0 1rem; }
.wp-content a { color: var(--cyan, #00f6ff); }
.wp-content ul,
.wp-content ol { margin: 0 0 1rem; padding-left: 1.2rem; }
.wp-content img,
.wp-content .wp-block-image img {
  max-width: 100%;
  height: auto;
  border-radius: 14px;
}
.wp-content figure { margin: 1rem 0; }
.wp-content blockquote {
  margin: 1rem 0;
  padding: 0.9rem 1.1rem;
  border-left: 3px solid var(--cyan, #00f6ff);
  background: rgba(0, 246, 255, 0.06);
  border-radius: 0 12px 12px 0;
  color: #d7deea;
}
.wp-content pre,
.wp-content code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
}
.wp-content pre { padding: 1rem; overflow-x: auto; }
.wp-content code { padding: 0.1rem 0.35rem; }

.post-single {
  background: rgba(12, 18, 32, 0.85);
  border: 1px solid rgba(0, 246, 255, 0.16);
  border-radius: 18px;
  padding: 1.5rem 1.35rem;
  margin-bottom: 1.5rem;
}
.post-single__thumb {
  display: block;
  margin: -1.5rem -1.35rem 1.25rem;
  border-radius: 18px 18px 0 0;
  overflow: hidden;
}
.post-single__thumb img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.pagination,
.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin: 2rem 0 0.5rem;
}
.pagination a,
.pagination span,
.nav-links a,
.nav-links span,
.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 0.85rem;
  border-radius: 12px;
  border: 1px solid rgba(0, 246, 255, 0.25);
  background: rgba(12, 18, 32, 0.85);
  color: #f4f7ff;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
}
.pagination .current,
.nav-links .current,
.page-numbers.current {
  background: rgba(0, 246, 255, 0.18);
  border-color: var(--cyan, #00f6ff);
  color: var(--cyan, #00f6ff);
  box-shadow: 0 0 16px rgba(0, 246, 255, 0.25);
}

.comments-area {
  margin-top: 1.5rem;
  background: rgba(12, 18, 32, 0.85);
  border: 1px solid rgba(0, 246, 255, 0.16);
  border-radius: 18px;
  padding: 1.4rem 1.25rem;
}
.comments-area h2,
.comments-area h3 {
  font-family: var(--display, Orbitron, sans-serif);
  color: var(--cyan, #00f6ff);
  margin: 0 0 1rem;
  font-size: 1.1rem;
}
.comment-list { list-style: none; margin: 0; padding: 0; }
.comment-body {
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(0, 246, 255, 0.1);
}
.comment-author { font-weight: 700; color: #f4f7ff; }
.comment-meta { font-size: 0.8rem; color: #8b97ad; margin: 0.2rem 0 0.55rem; }
.comment-form label {
  display: block;
  margin: 0.7rem 0 0.35rem;
  font-size: 0.88rem;
  color: #8b97ad;
  font-weight: 600;
}
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(0, 246, 255, 0.25);
  background: rgba(255, 255, 255, 0.04);
  color: #f4f7ff;
  padding: 0.85rem 0.95rem;
}
.comment-form .submit,
.comment-form input[type="submit"] {
  margin-top: 0.9rem;
  cursor: pointer;
  border: 0;
  border-radius: 999px;
  padding: 0.85rem 1.35rem;
  font-weight: 700;
  background: var(--cyan, #00f6ff);
  color: #041018;
  box-shadow: 0 0 18px rgba(0, 246, 255, 0.35);
}

.search-form {
  display: flex;
  gap: 0.55rem;
  margin-bottom: 1.25rem;
}
.search-form input[type="search"] {
  flex: 1;
  border-radius: 12px;
  border: 1px solid rgba(0, 246, 255, 0.25);
  background: rgba(255, 255, 255, 0.04);
  color: #f4f7ff;
  padding: 0.85rem 0.95rem;
}
.search-form button {
  border: 0;
  border-radius: 12px;
  padding: 0 1.1rem;
  background: var(--cyan, #00f6ff);
  color: #041018;
  font-weight: 700;
  cursor: pointer;
}

.no-posts {
  text-align: center;
  padding: 2rem 1rem;
  color: #8b97ad;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 860px) {
  .header__cta { display: none; }
  .blog-cta { flex-direction: column; align-items: flex-start; }
}
