/*
Theme Name: Oyunda Twitter Teması
Author: RockNRogue
Description: Kullanıcı kaydı olmayan, Twitter'a benzer basit bir gönderi akışı için tasarlanmış minimalist bir WordPress teması.
Version: 1.0
Text Domain: oyunda-twitter
*/

/* Temel stil ayarları */

.post-content p {
  margin-bottom: 1.2em; /* Paragraflar arasına 1.5 satır boşluk bırakır */
}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

body {
    background-color: #1a202c; /* Koyu arka plan */
    font-family: 'Inter', sans-serif;
    color: #cbd5e0; /* Açık metin rengi */
}

/* Sayfalama bağlantıları için stil */
.posts-nav-next a,
.posts-nav-prev a {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: #4299e1; /* Mavi arka plan */
    color: white;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: background-color 0.2s;
}

.posts-nav-next a:hover,
.posts-nav-prev a:hover {
    background-color: #2b6cb0; /* Koyu mavi arka plan */
}

/* Gönderi kartları için stil */
.tweet-card {
    background-color: #2d3748; /* Koyu gri kart arka planı */
    border: 1px solid #4a5568;
    border-radius: 0.75rem; /* Yuvarlak kenarlar */
    overflow: hidden;
}

.tweet-card:hover {
    transform: none;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); /* Gölge efekti */
}

/* Yorum bağlantıları için stil */
.comment-list .reply-link,
.comment-list .edit-link {
    color: #4299e1;
    transition: color 0.2s;
}

.comment-list .reply-link:hover,
.comment-list .edit-link:hover {
    color: #2b6cb0;
}

/* İçerik içindeki resimlerin duyarlı olmasını sağlar */
.post-content img {
    max-width: 100%;
    height: auto;
}

/* Arama Formu Stillleri */
.search-form {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.search-form .search-field {
    flex: 1;
    border: 1px solid #4a5568;
    background-color: #2d3748;
    color: #cbd5e0;
    padding: 0.5rem 1rem;
    border-radius: 9999px; /* Tailwind'in rounded-full'una denk gelir */
    outline: none;
    transition: all 0.2s ease-in-out;
}

.search-form .search-field:focus {
    border-color: #4299e1;
    box-shadow: 0 0 0 2px rgba(66, 153, 225, 0.5); /* Mavi parıltı efekti */
}

.search-form .search-submit {
    display: none; /* Arama butonunu gizle, arama işlevi enter ile çalışacak */
}

/* GÖMÜLÜ İÇERİK DÜZELTME KURALLARI */
.post-content .wp-block-embed,
.post-content iframe,
.post-content video,
.post-content blockquote,
.post-content .twitter-tweet,
.post-content .instagram-media,
.post-content .tiktok-embed {
    width: 100%;
    max-width: 100%;
    margin: 0;
}

.twitter-tweet {
  width: 100% !important;
}

/* YENİ EKLENEN ALT BİLGİ (FOOTER) KURALARI */
.footer-container {
    background-color: #1a202c; /* Koyu arka plan */
    color: #a0aec0; /* Açık gri metin */
    padding: 2rem 1rem;
    text-align: center;
    margin-top: 3rem;
}

.footer-content {
    max-width: 768px; /* İçeriğin genişliğini sınırla */
    margin-left: auto;
    margin-right: auto;
    font-size: 0.875rem; /* Küçük font boyutu */
}

/* Sadece oyunda.org bağlantısı için stiller */
.footer-content .oyunda-link {
    background-color: #e53e3e; /* Kırmızı arka plan rengi */
    color: #ffffff; /* Beyaz metin rengi */
    padding: 0.25rem 0.5rem; /* İç boşluk ekle */
    border-radius: 5px; /* 8px kenar yarıçapı */
    text-decoration: none; /* Alt çizgiyi kaldır */
    transition: background-color 0.3s ease; /* Hover efekti için yumuşak geçiş */
}

/* Fare üzerine gelince uygulanacak stil */
.footer-content .oyunda-link:hover {
    background-color: #c53030; /* Koyu kırmızı arka plan */
}

/* --- YENİ EKLENEN ROZET (BADGE) KURALLARI --- */
.verified-badge {
    width: 16px;
    height: 16px;
    vertical-align: middle;
    margin-left: -2px !important;
    display: inline-block;
}

/* --- LOGO BOYUTU İÇİN YENİ KURALLAR --- */
.custom-logo {
    width: 96px; /* Logonun genişliğini 96 piksel olarak ayarlar */
    height: auto; /* Yüksekliği otomatik ayarlar ve en boy oranını korur */
}