/*
Theme Name: Kanuni
Author: SeyYah
Version: 1.0
Description: Özel hazırlanmış sohbet teması için stil dosyası
*/


/* Temel sıfırlamalar */
* {
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  background: #fff7f0;
  color: #333;
}

/* === HEADER TOP === */
.site-header {
  width: 100%;
  background: linear-gradient(90deg, #ff6a00, #e65c00);
  color: white;
  box-shadow: 0 3px 15px rgba(0,0,0,0.2);
}

.header-top {
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 52px;
  cursor: pointer;
}

/* Menü butonları */
.main-menu a {
  color: white;
  text-decoration: none;
  margin-left: 25px;
  font-weight: 600;
  font-size: 16px;
  padding: 8px 14px;
  border-radius: 8px;
  background-color: rgba(255 255 255 / 0.15);
  transition: background-color 0.3s ease, color 0.3s ease;
}

.main-menu a:first-child {
  margin-left: 0;
}

.main-menu a:hover {
  background-color: #ff8a00;
  color: #fff;
}

/* === HEADER BOTTOM === */
.header-bottom {
  max-width: 1200px;
  margin: 25px auto 40px;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  gap: 30px;
}

/* Sohbet giriş formu */
.sohbet-giris {
  background: linear-gradient(135deg, #ff8a00, #f21862);
  border-radius: 16px;
  padding: 30px 25px;
  width: 320px;
  color: white;
  box-shadow: 0 5px 25px rgba(242, 24, 98, 0.5);
  font-weight: 600;
}

.sohbet-giris h2 {
  font-size: 26px;
  margin-bottom: 20px;
  font-weight: 700;
  border-bottom: 2px solid rgba(255,255,255,0.3);
  padding-bottom: 10px;
}

.sohbet-giris label {
  display: block;
  margin-bottom: 8px;
  font-size: 15px;
}

.sohbet-giris input[type="text"],
.sohbet-giris input[type="password"] {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: none;
  margin-bottom: 20px;
  font-size: 16px;
  outline: none;
}

.sohbet-giris input::placeholder {
  color: #ffcad1;
}

.sohbet-giris button {
  width: 100%;
  padding: 14px 0;
  border: none;
  border-radius: 14px;
  background-color: #ff4b81;
  font-weight: 800;
  font-size: 18px;
  color: white;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.sohbet-giris button:hover {
  background-color: #e5005a;
}

/* Header bottom sağdaki resim */
.header-image img {
  max-width: 320px;
  border-radius: 16px;
  box-shadow: 0 5px 25px rgba(242, 24, 98, 0.4);
  display: block;
  object-fit: cover;
  height: 100%;
}

/* Responsive */
@media (max-width: 900px) {
  .header-bottom {
    flex-direction: column;
    align-items: center;
  }
  .sohbet-giris, .header-image img {
    width: 90%;
    max-width: 320px;
  }
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --- Info Boxes --- */
.info-boxes .container {
  display: flex;
  gap: 25px;
  justify-content: center;
  margin-bottom: 40px;
}

.info-box {
  background: linear-gradient(135deg, #ff6a00, #e65c00);
  color: white;
  padding: 25px 30px;
  border-radius: 16px;
  box-shadow: 0 5px 20px rgba(230, 92, 0, 0.4);
  width: 320px;
  text-align: center;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.info-box:hover {
  background: linear-gradient(135deg, #e65c00, #ff6a00);
}

/* --- Dynamic Texts --- */
.dynamic-texts {
  background: #fff3e6;
  padding: 30px 0;
  text-align: center;
  font-weight: 700;
  color: #e65c00;
  margin-bottom: 50px;
}

.dynamic-text-list {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.dynamic-text-item a {
  background: #ff8a00;
  color: white;
  padding: 12px 20px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  box-shadow: 0 3px 10px rgba(255, 138, 0, 0.6);
  transition: background-color 0.3s ease;
}

.dynamic-text-item a:hover {
  background-color: #e65c00;
}

/* --- Articles Grid --- */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 35px;
  margin-bottom: 70px;
}

.article-card {
  background: #fff7f0;
  border-radius: 16px;
  box-shadow: 0 5px 20px rgba(255, 138, 0, 0.25);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.article-image img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
  max-height: 200px;
  margin-bottom: 15px;
}

.article-title {
  font-size: 20px;
  margin-bottom: 10px;
  font-weight: 700;
  color: #e65c00;
}

.article-excerpt {
  flex-grow: 1;
  font-size: 16px;
  color: #333;
  margin-bottom: 20px;
}

.read-more {
  align-self: flex-start;
  background-color: #ff6a00;
  color: white;
  padding: 10px 18px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.read-more:hover {
  background-color: #e65c00;
}

/* Responsive */
@media (max-width: 768px) {
  .info-boxes .container,
  .dynamic-text-list {
    flex-direction: column;
    align-items: center;
  }
  .info-box,
  .dynamic-text-item a {
    width: 90%;
    max-width: 320px;
  }
}

.site-footer {
  background: linear-gradient(90deg, #e65c00, #ff6a00);
  color: white;
  padding: 40px 0;
  box-shadow: 0 -3px 15px rgba(230, 92, 0, 0.6);
  font-weight: 600;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-left h3 {
  font-size: 28px;
  margin-bottom: 8px;
  font-weight: 700;
}

.footer-left p {
  font-size: 14px;
  color: #ffd9b3;
}

.footer-menu {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-menu a {
  color: white;
  text-decoration: none;
  font-size: 16px;
  padding: 6px 12px;
  border-radius: 8px;
  background-color: rgba(255 255 255 / 0.15);
  transition: background-color 0.3s ease;
}

.footer-menu a:hover {
  background-color: #ff8a00;
}

.social-icons a {
  color: white;
  font-size: 20px;
  margin-left: 12px;
  transition: color 0.3s ease;
}

.social-icons a:first-child {
  margin-left: 0;
}

.social-icons a:hover {
  color: #ff8a00;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer-menu {
    justify-content: center;
  }
  .social-icons {
    margin-top: 15px;
  }
}


.single-header-bar {
  background-color: #ff6600;
  padding: 20px;
  text-align: center;
  color: #fff;
}

.single-page-title {
  margin: 0;
  font-size: 24px;
  font-weight: bold;
}

/* === SINGLE HEADER === */
.single-header-bar {
  background-color: #ff6600;
  padding: 20px;
  text-align: center;
  color: #fff;
}

.single-page-title {
  margin: 0;
  font-size: 24px;
  font-weight: bold;
}

/* === MAKALE META === */
.article-meta {
  margin: 10px 0;
  color: #999;
  font-size: 14px;
}

/* === BAŞLIK === */
.article-title {
  font-size: 28px;
  color: #333;
  margin-bottom: 10px;
}

/* === GÖRSEL === */
.article-image img {
  width: 100%;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
}

/* === ETİKETLER === */
.article-tags {
  margin-top: 30px;
  background: #fff2e6;
  padding: 15px;
  border-radius: 8px;
  border: 1px solid #ffa64d;
  font-size: 14px;
}

.etiket-title {
  font-weight: bold;
  color: #cc5200;
}

/* === YORUMLAR === */
.comment-respond {
  margin-top: 40px;
  background: #fff4e6;
  padding: 20px;
  border-radius: 8px;
  border: 1px solid #ffc285;
}

.comment-respond h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #cc5200;
}

.comment-form textarea,
.comment-form input[type="text"],
.comment-form input[type="email"] {
  width: 100%;
  padding: 10px;
  margin-top: 8px;
  margin-bottom: 12px;
  border-radius: 5px;
  border: 1px solid #ccc;
}

.comment-form .submit {
  background-color: #ff6600;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

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

.comment-list li {
  margin-bottom: 20px;
  border-bottom: 1px solid #ddd;
  padding-bottom: 15px;
}

/* --- SINGLE PAGE --- */
.single-main .container {
  display: flex;
  max-width: 1200px;
  margin: 40px auto;
  gap: 40px;
  padding: 0 20px;
}

/* Sidebar (sohbet giriş + menü) */
.single-sidebar {
  width: 320px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* Tekrar sohbet-giris stili (aynı önceki gibi) */
.single-sidebar .sohbet-giris {
  background: linear-gradient(135deg, #ff8a00, #f21862);
  border-radius: 16px;
  padding: 30px 25px;
  color: white;
  font-weight: 600;
  box-shadow: 0 5px 25px rgba(242, 24, 98, 0.5);
}

.single-sidebar .sohbet-giris h2 {
  font-size: 26px;
  margin-bottom: 20px;
  font-weight: 700;
  border-bottom: 2px solid rgba(255,255,255,0.3);
  padding-bottom: 10px;
}

.single-sidebar .sohbet-giris label {
  display: block;
  margin-bottom: 8px;
  font-size: 15px;
}

.single-sidebar .sohbet-giris input[type="text"],
.single-sidebar .sohbet-giris input[type="password"] {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: none;
  margin-bottom: 20px;
  font-size: 16px;
  outline: none;
}

.single-sidebar .sohbet-giris input::placeholder {
  color: #ffcad1;
}

.single-sidebar .sohbet-giris button {
  width: 100%;
  padding: 14px 0;
  border: none;
  border-radius: 14px;
  background-color: #ff4b81;
  font-weight: 800;
  font-size: 18px;
  color: white;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.single-sidebar .sohbet-giris button:hover {
  background-color: #e5005a;
}

/* Sidebar menüsü */
.single-menu {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.single-menu a {
  color: #ff6a00;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  border: 1px solid #ff6a00;
  border-radius: 12px;
  padding: 10px 15px;
  text-align: center;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.single-menu a:hover {
  background-color: #ff6a00;
  color: white;
}

/* Makale içerik alanı */
.single-article {
  flex-grow: 1;
  background: #fff7f0;
  border-radius: 16px;
  padding: 30px 40px;
  box-shadow: 0 5px 30px rgba(255, 138, 0, 0.25);
}

/* Meta bilgiler (tarih, okundu, yorum) */
.article-meta {
  font-size: 14px;
  color: #e65c00;
  margin-bottom: 12px;
  font-weight: 600;
}

/* Başlık */
.article-title {
  font-size: 32px;
  font-weight: 700;
  color: #ff6a00;
  margin-bottom: 20px;
}

/* Resim */
.article-image img {
  width: 100%;
  max-height: 400px;
  border-radius: 16px;
  object-fit: cover;
  margin-bottom: 25px;
}

/* İçerik */
.article-content {
  font-size: 18px;
  line-height: 1.8;
  color: #333;
}

/* Responsive */
@media (max-width: 900px) {
  .single-main .container {
    flex-direction: column;
    padding: 20px;
  }
  .single-sidebar {
    width: 100%;
  }
  .single-article {
    padding: 20px 15px;
  }
}




/* Global box-sizing reset – her şey kutu sınırında kalsın */
*, ::before, ::after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

/* Latest wrapper kutusu */
.latest-wrapper {
  position: relative; /* absolute header için gerekli */
  max-width: 1200px;
  margin: 10px auto 30px; /* Üst boşluk artırıldı */
  background: #fff;
  border: 4px solid #ccc;
  padding: 15px;
}

/* Başlık ve nav container - kutu dışı üstünde */
.latest-header {
  position: absolute;
  top: -70px; /* kutunun üstünde */
  left: 15px; /* wrapper padding ile hizalı */
  right: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 40px;
  box-sizing: border-box;
  font-weight: bold;
  font-size: 20px;
  color: #000;
  background: transparent;
  z-index: 10;
  padding: 0;
  margin: 0;
}

/* Başlık stili - margin ve border kaldırıldı */
.latest-wrapper h2 {
  margin: 0;
  padding: 0;
  border: none;
}

/* Slider ileri/geri butonları */
.slider-nav button {
  padding: 6px 14px;
  background-color: #3498db;
  color: #fff;
  border: none;
  font-weight: bold;
  border-radius: 3px;
  cursor: pointer;
  height: 36px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  transition: background-color 0.3s ease;
}

.slider-nav button:hover {
  background-color: #2980b9;
}

/* İçerik taşıyıcı, taşmayı gizle */
.latest-container {
  overflow: hidden;
}

/* Her bir slider elemanı */
.latest-item {
  display: flex !important;
  align-items: flex-start;
  gap: 15px;
  width: 50%;
  box-sizing: border-box;
  padding: 15px;
}



/* Sliderdaki görsel */
.latest-item img {
  width: 300px;       /* Sohbettemasi.com ölçüleri */
  height: 182px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
  display: block;
}


.content-text p {
  display: -webkit-box;
  -webkit-line-clamp: 3; /* En fazla 3 satır göster */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  height: 60px; /* Yüksekliği sabit tut */
}



.devam-btn {
  padding: 6px 14px;
  background-color: #f39c12;
  color: #fff;
  border-radius: 3px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  display: inline-block;
}



/* Carousel genel kapsayıcı */
.carousel {
  position: relative;
}

/* Carousel içeriği */
.carousel-inner {
  position: relative;
  width: 100%;
  overflow: hidden;
}

/* Aktif slayt sola hizalanır */
.carousel-inner > .active {
  left: 0;
}

/* Aktif, önceki, sonraki slaytlar görünür */
.carousel-inner > .active,
.carousel-inner > .next,
.carousel-inner > .prev {
  display: block;
}

/* Slayt itemları */
.carousel-inner > .item {
  position: relative;
  display: none;
  -webkit-transition: .6s ease-in-out left;
  transition: .6s ease-in-out left;
}

/* Genel img reset */
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  border: 0;
}

/* Margin bottom yardımcı sınıf */
.m-b-50 {
  margin-bottom: 5rem !important;
}


.section-heading {
  margin-bottom: 0; /* Kutuya sıfır mesafe */
}

.latest-heading {
  background-image: url('http://sohbettemalari.xyz/wp-content/themes/Kanuni/images/blog.png');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  padding: 0.8rem 2rem;
  color: #fff;
  font-size: 20px;
  font-weight: bold;
  line-height: 1.2;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: -2px; /* Kutuyla tam bitişme */
  white-space: nowrap;
  margin-left: 500px; /* ← BURAYI EKLEDİK, SAĞA KAYDIRIR */
}

.latest-item .content-text h3 {
  color: #000000 !important;
}


/* lastContentBox içerik stili */
.lastContentBox .content {
  height: 280px;
  padding: 2rem 0.7rem 1rem 3rem;
  background-color: #fff;
  border-radius: 1rem;
  -webkit-box-shadow: inset 2px 2px 2px #fff5, 2px 2px 2px #0007, inset 0px -3px 5px #0007;
  -moz-box-shadow: inset 2px 2px 2px #fff5, 2px 2px 2px #0007, inset 0px -3px 5px #0007;
  box-shadow: inset 2px 2px 2px #fff5, 2px 2px 2px #0007, inset 0px -3px 5px #0007;
  position: relative;
}

/* Responsive container genişlikleri */
@media (min-width: 1200px) {
  .container {
    width: 1170px;
  }
}
@media (min-width: 992px) {
  .container {
    width: 970px;
  }
}
@media (min-width: 768px) {
  .container {
    width: 750px;
  }
}
.container {
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

/* Örnek: anne kapsayıcının Z‑index’ini sıfırlamak */
.parent-wrapper {
  position: static !important;
  z-index: auto !important;
}


