/*
Theme Name: Forex İnceleme
Theme URI: https://www.forexinceleme.com/
Author: Forex İnceleme
Author URI: https://www.forexinceleme.com/
Description: Forex firmalarını incelemek için özel tema
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: forex-inceleme
Tags: forex, inceleme, firma
*/

/* Temel stil düzeltmeleri */
*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f5f7fa;
  position: relative;
  width: 100%;
}

img, svg, video, canvas, audio, iframe, embed, object {
  display: block;
  max-width: 100%;
}

/* Container düzeltmesi */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Çok uzun içerikler için kelime kırılma kuralı */
p, h1, h2, h3, h4, h5, h6, span, a, li, td, th {
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* Yıldız derecelendirme için düzeltme */
.star-rating {
  display: inline-flex;
  font-size: 1.25rem;
}

/* Link stilleri */
a {
  color: rgb(22 163 74 / var(--tw-text-opacity, 1));
  text-decoration: none;
  transition: color 0.3s, background-color 0.3s;
}

a:hover {
  color: rgb(22 163 74 / var(--tw-text-opacity, 1));
}

/* Panel gölgeleri için düzeltme */
.shadow-md {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.shadow-lg {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* TailwindCSS yüklenmezse etkili olacak bazı yardımcı sınıflar */
.bg-white {
  background-color: #fff;
}

.text-primary {
  color: rgb(22 163 74 / var(--tw-text-opacity, 1));
}

.rounded-lg {
  border-radius: 0.5rem;
}

.p-4 {
  padding: 1rem;
}

.p-6 {
  padding: 1.5rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

/* Mobil uyumluluk */
@media (max-width: 768px) {
  .hidden {
    display: none;
  }
}

@media (min-width: 769px) {
  .md\:block {
    display: block;
  }
}

/* Footer stilleri */
footer {
  background-color: #1a202c;
  color: #f7fafc;
  padding: 2rem 0;
  margin-top: 0 !important;
}

main + footer {
  margin-top: 0 !important;
}

section:last-child {
  margin-bottom: 0 !important;
}

/* Modern Hero Alanı Stileri */
.forex-hero-full-bg {
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  width: 100vw;
  background: linear-gradient(135deg, #22c55e33 0%, #32a15b17 100%);
  padding: 0.85rem 0;
  margin-bottom: 1.1rem;
  max-width: 100vw;
  box-sizing: border-box;
}

.forex-hero-full-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #22c55e33 0%, #32a15b17 100%);
  z-index: -1;
}

.forex-hero-content {
  background-color: transparent;
  border-radius: 0;
  padding: 0.3rem 0;
}

.forex-breadcrumb {
  display: flex;
  align-items: center;
  font-size: 14px;
  margin-bottom: 0.75rem;
  color: #64748b;
}

.forex-breadcrumb a {
  color: #64748b;
  transition: color 0.2s;
}

.forex-breadcrumb a:hover {
  color: #0056b3;
}

.forex-breadcrumb .separator {
  margin: 0 6px;
  color: #94a3b8;
}

.forex-hero-header {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.forex-hero-logo {
  background-color: white;
  border-radius: 8px;
  padding: 0.6rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 88px;
  flex-shrink: 0;
}

.forex-hero-info {
  flex: 1;
}

.forex-hero-title {
  display: flex;
  align-items: center;
  margin-bottom: 0.25rem;
}

.forex-hero-title h1 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0;
  line-height: 1.3;
}

.forex-premium-badge {
  background-color: rgb(22 163 74 / var(--tw-text-opacity, 0.1));
  color: rgb(22 163 74 / var(--tw-text-opacity, 1));
  font-size: 0.83rem;
  font-weight: 600;
  padding: 0.17rem 0.55rem;
  border-radius: 9999px;
  margin-right: 0.55rem;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

.forex-rating {
  display: flex;
  align-items: center;
  margin-bottom: 0.45rem;
}

.forex-rating-stars {
  display: flex;
  color: #facc15;
}

.forex-rating-stars svg {
  width: 1.2rem;
  height: 1.2rem;
  margin-right: 1px;
}

.forex-rating-score {
  font-weight: 700;
  margin-left: 0.45rem;
  font-size: 1.1rem;
  color: #1e293b;
}

.forex-rating-count {
  color: #64748b;
  font-size: 0.94rem;
  margin-left: 0.3rem;
}

.forex-regulators {
  display: flex;
  flex-wrap: wrap;
  gap: 0.28rem;
}

.forex-regulator-badge {
  background-color: #f3e8ff;
  color: #6b21a8;
  font-size: 0.83rem;
  padding: 0.17rem 0.44rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
}

.forex-regulator-badge .dot {
  width: 4.5px;
  height: 4.5px;
  background-color: #6b21a8;
  border-radius: 50%;
  margin-right: 0.22rem;
}

.forex-cta {
  display: flex;
  align-items: center;
}

.forex-cta-button {
  background-color: #f97316;
  color: white;
  padding: 0.44rem 0.88rem;
  border-radius: 0.375rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  transition: background-color 0.2s;
  font-size: 0.99rem;
}

.forex-cta-button:hover {
  background-color: #ea580c;
  color: white;
}

.forex-cta-button svg {
  margin-left: 0.33rem;
  width: 1rem;
  height: 1rem;
}

.forex-data-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.55rem;
  margin-bottom: 0;
}

.forex-data-card {
  background-color: white;
  border-radius: 8px;
  padding: 0.66rem;
  display: flex;
  align-items: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s, box-shadow 0.2s;
}

.forex-data-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.forex-data-card-icon {
  width: 2.48rem;
  height: 2.48rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.55rem;
  flex-shrink: 0;
}

.forex-data-card-icon svg {
  width: 1.2rem;
  height: 1.2rem;
}

.forex-data-card-label {
  font-size: 0.83rem;
  color: #64748b;
  margin-bottom: 0.12rem;
  line-height: 1.3;
}

.forex-data-card-value {
  font-weight: 700;
  font-size: 1.1rem;
  color: #1e293b;
  line-height: 1.3;
}

/* Renk varyasyonları */
.forex-data-card-icon.blue {
  background-color: #dbeafe;
  color: #1e40af;
}

.forex-data-card-icon.green {
  background-color: #dcfce7;
  color: #166534;
}

.forex-data-card-icon.purple {
  background-color: #f3e8ff;
  color: #6b21a8;
}

.forex-data-card-icon.amber {
  background-color: #fef3c7;
  color: #92400e;
}

/* Responsive düzenlemeler */
@media (max-width: 768px) {
  .forex-data-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .forex-hero-content > div {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .forex-cta {
    margin-top: 0.75rem;
    width: 100%;
  }
  
  .forex-cta-button {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .forex-data-cards {
    grid-template-columns: 1fr;
  }
}

/* İçerik Alanı Stilleri */
.content-area {
  /* Temel metin stilleri */
  color: #333;
  font-size: 16px;
  line-height: 1.7;
  word-wrap: break-word;
}

/* İçerik Alanı Başlık Stilleri */
.content-area h1, 
.content-area h2, 
.content-area h3, 
.content-area h4, 
.content-area h5, 
.content-area h6 {
  margin-top: 1.5em;
  margin-bottom: 0.75em;
  font-weight: 700;
  line-height: 1.3;
  color: #111;
  border-bottom: none;
  padding-bottom: 0;
}

.content-area h1 {
  font-size: 2em;
}

.content-area h2 {
  font-size: 1.75em;
  border-bottom: none;
  padding-bottom: 0.3em;
}

.content-area h3 {
  font-size: 1.5em;
}

.content-area h4 {
  font-size: 1.25em;
}

.content-area h5 {
  font-size: 1.1em;
}

.content-area h6 {
  font-size: 1em;
}

/* Paragraf stilleri */
.content-area p {
  margin-bottom: 1.5em;
}

/* Liste stilleri */
.content-area ul,
.content-area ol {
  margin-bottom: 1.5em;
  padding-left: 2em;
}

.content-area ul {
  list-style-type: disc;
}

.content-area ol {
  list-style-type: decimal;
}

.content-area ul ul,
.content-area ol ol,
.content-area ul ol,
.content-area ol ul {
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}

.content-area li {
  margin-bottom: 0.5em;
}

/* Kalın ve italik metin */
.content-area strong,
.content-area b {
  font-weight: 700;
}

.content-area em,
.content-area i {
  font-style: italic;
}

/* Blok alıntı */
.content-area blockquote {
  margin: 1.5em 0;
  padding: 1em 1.5em;
  border-left: 4px solid #0056b3;
  background-color: #f5f7fa;
  font-style: italic;
  color: #555;
}

.content-area blockquote p:last-child {
  margin-bottom: 0;
}

/* Kod ve ön biçimlendirilmiş metin */
.content-area code,
.content-area pre {
  font-family: "Courier New", Courier, monospace;
  background-color: #f5f5f5;
  border-radius: 3px;
}

.content-area code {
  padding: 0.2em 0.4em;
  font-size: 0.9em;
}

.content-area pre {
  margin: 1.5em 0;
  padding: 1em;
  overflow-x: auto;
  line-height: 1.4;
}

.content-area pre code {
  padding: 0;
  background-color: transparent;
}

/* Tablo stilleri */
.content-area table {
  width: 100%;
  margin-bottom: 1.5em;
  border-collapse: collapse;
}

.content-area th,
.content-area td {
  padding: 0.75em;
  border: 1px solid #ddd;
}

.content-area th {
  background-color: #f5f5f5;
  font-weight: 700;
  text-align: left;
}

.content-area tr:nth-child(even) {
  background-color: #f9f9f9;
}

/* Görsel ve resim düzeltmeleri */
.content-area img {
  max-width: 100%;
  height: auto;
  margin: 1.5em 0;
  border-radius: 5px;
}

.content-area figure {
  margin: 1.5em 0;
}

.content-area figcaption {
  margin-top: 0.5em;
  font-size: 0.9em;
  color: #666;
  text-align: center;
}

/* Bağlantı stilleri */
.content-area a {
  color: #0056b3;
  text-decoration: none;
  transition: color 0.3s;
}

.content-area a:hover {
  color: #003d7a;
  text-decoration: underline;
}

/* Çizgi Öğesi */
.content-area hr {
  height: 1px;
  background-color: #ddd;
  border: none;
  margin: 2em 0;
}

/* Performans Optimizasyonları */
/* Görsel render optimizasyonu */
img, svg {
  transform: translateZ(0); /* Hardware acceleration */
}

/* Animation optimizasyonu */
.transition-all, 
.transition-colors, 
.transition-shadow,
.hover\:shadow-md {
  will-change: transform, box-shadow;
  backface-visibility: hidden;
}

/* Font optimizasyonu */
body {
  text-rendering: optimizeSpeed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Yan Panel Modern Tasarım */
.w-full.md\:w-1\/3 .bg-white {
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.w-full.md\:w-1\/3 .bg-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.w-full.md\:w-1\/3 h3 {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding-bottom: 0.75rem;
  margin-bottom: 1rem;
  position: relative;
  display: flex;
  align-items: center;
}

.w-full.md\:w-1\/3 h3::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 40px;
  height: 3px;
  background: currentColor;
  border-radius: 3px;
}

.w-full.md\:w-1\/3 h3.text-green-600::after {
  background: #059669;
}

.w-full.md\:w-1\/3 h3.text-red-600::after {
  background: #DC2626;
}

.w-full.md\:w-1\/3 h3.text-gray-700::after {
  background: #4B5563;
}

/* Artılar ve Eksiler Liste Öğeleri */
.w-full.md\:w-1\/3 ul.space-y-2 .group {
  padding: 0.6rem;
  border-radius: 8px;
  transition: background-color 0.2s ease;
}

.w-full.md\:w-1\/3 ul.space-y-2 .group:hover {
  background-color: rgba(0, 0, 0, 0.02);
}

/* Öne Çıkan Özellikler */
.w-full.md\:w-1\/3 .flex.items-center.mb-3.p-2 {
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
  transition: all 0.2s ease;
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.w-full.md\:w-1\/3 .flex.items-center.mb-3.p-2:hover {
  transform: translateX(3px);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
}

/* Platformlar, Ürünler vb Rozetler */
.w-full.md\:w-1\/3 .flex.flex-wrap .bg-gray-50 {
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
  transition: all 0.2s ease;
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.w-full.md\:w-1\/3 .flex.flex-wrap .bg-gray-50:hover {
  transform: translateY(-2px);
}

/* Düzenleyiciler */
.w-full.md\:w-1\/3 .forex-regulator-badge {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* İkon Stillerini İyileştirme */
.w-full.md\:w-1\/3 svg {
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.05));
}

/* Modern Menü Stilleri */
.main-navigation {
  position: relative;
}

.main-navigation ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 1.5rem;
}

.main-navigation li {
  position: relative;
}

.main-navigation a {
  display: block;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 0.25rem;
  border-radius: 0.25rem;
  transition: all 0.3s ease;
  position: relative;
}

/* Hover efekti */
.main-navigation a:hover {
  color: rgb(22 163 74 / var(--tw-text-opacity, 1));
}

/* Aktif menü öğesi */
.main-navigation .current-menu-item a {
  color: rgb(22 163 74 / var(--tw-text-opacity, 1));
  font-weight: 600;
}

/* Aktif menü çizgi animasyonu */
.main-navigation .current-menu-item a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: rgb(22 163 74 / var(--tw-text-opacity, 1));
  border-radius: 2px;
  transform: scaleX(1);
}

/* Hover çizgi animasyonu */
.main-navigation a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: rgb(22 163 74 / var(--tw-text-opacity, 1));
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.main-navigation a:hover::after {
  transform: scaleX(1);
}

/* Dropdown menüler */
.main-navigation .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: white;
  min-width: 200px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-radius: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.2s ease-in-out;
  z-index: 100;
  padding: 0.5rem 0;
}

.main-navigation li:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.main-navigation .sub-menu li {
  width: 100%;
}

.main-navigation .sub-menu a {
  padding: 0.75rem 1.25rem;
  color: #4b5563;
}

.main-navigation .sub-menu a:hover {
  background-color: #f3f4f6;
}

/* Mobil Menü Animasyonu */
#mobile-menu {
  transition: height 0.3s ease-in-out;
  height: 0;
  overflow: hidden;
}

#mobile-menu.open {
  height: auto;
}

#mobile-menu ul {
  margin: 0;
  padding: 0.75rem 0;
}

#mobile-menu ul li {
  list-style: none;
}

#mobile-menu ul li a {
  display: block;
  padding: 0.75rem 0.5rem;
  color: #4b5563;
  text-decoration: none;
  border-radius: 0.375rem;
  transition: all 0.2s ease;
}

#mobile-menu ul li a:hover {
  background-color: #f3f4f6;
  color: rgb(22 163 74 / var(--tw-text-opacity, 1));
  padding-left: 0.75rem;
}

#mobile-menu ul li.current-menu-item a {
  background-color: #eff6ff;
  color: rgb(22 163 74 / var(--tw-text-opacity, 1));
  font-weight: 500;
}

/* Mobil Menü Geçiş Animasyonu İçin */
.menu-toggle-icon {
  transition: transform 0.3s ease;
}

.menu-toggle-active .menu-toggle-icon {
  transform: rotate(90deg);
}

/* Özel CSS için */
/* Buton stillerini düzeltme */
.bg-orange-500:hover,
.bg-blue-600:hover,
a.inline-block.bg-orange-500:hover,
a.inline-flex.bg-blue-600:hover,
a.inline-block.bg-orange-500:hover span,
a.inline-flex.bg-blue-600:hover span {
  color: white !important;
}

a.bg-orange-500:hover {
  background-color: #ea580c !important; /* hover:bg-orange-600 */
  color: white !important;
}

a.bg-blue-600:hover {
  background-color: #2563eb !important; /* hover:bg-blue-700 */
  color: white !important;
}

/* Butonlar için text-blue hover durumunu engelleme */
a.text-white:hover,
button.text-white:hover {
  color: white !important;
}

/* Footer Boşluk Düzeltmesi */
footer {
  margin-top: 0 !important;
}

main + footer {
  margin-top: 0 !important;
}

section:last-child {
  margin-bottom: 0 !important;
}

/* Son bölüm ile footer arasındaki boşluğu kaldır */
.bg-gradient-to-r.from-blue-50.to-indigo-50.py-16.relative.left-50.right-50.w-screen + footer,
.bg-gradient-to-r.from-blue-50.to-indigo-50.py-16.mb-12.relative.left-50.right-50.w-screen + footer {
  margin-top: 0 !important;
}

/* Yorum Formu Özel Stilleri */
.comment-form-wrapper {
  position: relative;
}

.comment-form-wrapper label {
  font-weight: 500;
  color: #4b5563;
}

.comment-form-wrapper input[type="text"],
.comment-form-wrapper input[type="email"],
.comment-form-wrapper textarea {
  width: 100%;
  border: 1px solid #e5e7eb;
  border-radius: 0.375rem;
  padding: 0.75rem;
  line-height: 1.5;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.comment-form-wrapper input[type="text"]:focus,
.comment-form-wrapper input[type="email"]:focus,
.comment-form-wrapper textarea:focus {
  border-color: rgb(22 163 74 / var(--tw-text-opacity, 1));
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
  outline: none;
}

.comment-form-wrapper textarea {
  min-height: 12rem;
  resize: vertical;
}

.comment-form-wrapper button[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  padding: 0.625rem 1.25rem;
  border-radius: 0.375rem;
  background-color: #0056b3;
  color: white;
  transition: background-color 0.2s, transform 0.1s;
  cursor: pointer;
  border: none;
}

.comment-form-wrapper button[type="submit"]:hover {
  background-color: #004494;
}

.comment-form-wrapper button[type="submit"]:active {
  transform: translateY(1px);
}

.star-rating {
  cursor: pointer;
  width: 2rem;
  height: 2rem;
  color: #fbbf24;
  transition: color 0.2s, transform 0.1s;
}

.star-rating:hover {
  transform: scale(1.1);
}

.comment-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.comment-list li {
  margin-bottom: 1.5rem;
}

.comment-list .avatar {
  border-radius: 50%;
}

.forex-rating-stars svg {
  color: #fbbf24;
}


.pagination .screen-reader-text{
  display: none !important;
}

.pagination .nav-links{
  gap: 10px !important;
  display: flex !important;
}

.pagination .nav-links span,
.pagination .nav-links a{
  width: 40px !important;
  height: 40px !important;
  justify-content: center !important;
  align-items: center !important;
  border: 1px solid rgba(0,0,0,0.1);
  background-color: rgba(0,0,0,0.05);
  border-radius: 5px !important;
  justify-content: center !important;
  align-items:  center !important;
  display: flex !important;
}

.pagination .nav-links span:hover,
.pagination .nav-links a:hover,
.pagination .nav-links .current{
  background-color: rgb(30 64 175 / var(--tw-text-opacity, 0.05));
  color: rgb(30 64 175 / var(--tw-text-opacity, 1));
  border: 1px solid rgb(30 64 175 / var(--tw-text-opacity, 1));
}