/* =================================
------------------------------------
  TIYEMDER - Post Pages Styles
------------------------------------
====================================*/

/* ===== POST LIST PAGE ===== */
.post-list-page {
  background: linear-gradient(135deg, #f8f9fa 0%, #e3f2fd 50%, #f1f8e9 100%);
  position: relative;
  overflow: hidden;
}

/* Yeni Hero Section */
.post-hero-section {
  position: relative;
  background: linear-gradient(135deg, #0E2062, #4a69bd);
  padding: 60px 0;
  color: #fff;
  overflow: hidden;
}

.post-floating-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.post-floating-element {
  position: absolute;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  width: 150px;
  height: 150px;
  transition: transform 2s ease;
}

.post-floating-element:nth-child(1) {
  top: -30px;
  left: 10%;
  width: 100px;
  height: 100px;
}

.post-floating-element:nth-child(2) {
  bottom: -50px;
  right: 15%;
  width: 120px;
  height: 120px;
}

.post-floating-element:nth-child(3) {
  top: 20%;
  left: 35%;
  width: 60px;
  height: 60px;
}

.post-floating-element:nth-child(4) {
  bottom: 30%;
  right: 30%;
  width: 80px;
  height: 80px;
}

.post-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.post-hero-content-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.post-hero-left h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-top: 15px;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.post-title-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
}

.post-title-badge i {
  color: #fff;
  font-size: 1rem;
}

.post-breadcrumb {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(5px);
  padding: 10px 20px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.post-breadcrumb a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.post-breadcrumb a:hover {
  opacity: 0.8;
}

.post-breadcrumb span {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
}

.post-breadcrumb i {
  font-size: 0.75rem;
}

.post-list-page::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg width='50' height='50' viewBox='0 0 50 50' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%230e2062' fill-opacity='0.02'%3E%3Ccircle cx='25' cy='25' r='15'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
  pointer-events: none;
  z-index: 1;
}

.post-list-section {
  position: relative;
  z-index: 2;
  padding: 100px 0;
  margin-top: -30px;
}

/* İyileştirilmiş Filtre Bölümü - Daha Kompakt Versiyon */
.post-filter-section {
  background: #fff;
  padding: 25px 30px;
  margin-bottom: 40px;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(14, 32, 98, 0.1);
  position: relative;
  overflow: hidden;
}

.post-filter-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #0E2062, #4a69bd, #0E2062);
  z-index: 3;
}

.post-filter-header {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  gap: 15px;
}

.filter-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #0E2062, #4a69bd);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 12px rgba(14, 32, 98, 0.2);
  flex-shrink: 0;
}

.filter-icon i {
  font-size: 16px;
  color: #fff;
}

.post-filter-title {
  text-align: left;
  flex-grow: 1;
}

.post-filter-title h3 {
  color: #0E2062;
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 5px;
}

.post-filter-title p {
  color: #666;
  font-size: 0.9rem;
  margin: 0;
}

.post-filter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  align-items: flex-end;
}

.post-filter-group {
  position: relative;
  min-width: 180px;
  flex: 1;
}

.post-filter-group label {
  display: block;
  color: #0E2062;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.input-icon-wrapper {
  position: relative;
}

.input-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #0E2062;
  opacity: 0.7;
  font-size: 14px;
}

.post-filter-group input,
.post-filter-group select {
  width: 100%;
  padding: 10px 10px 10px 35px;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  transition: all 0.3s ease;
  background: #fff;
  color: #333;
  height: 44px;
}

.post-filter-group input:focus,
.post-filter-group select:focus {
  outline: none;
  border-color: #0E2062;
  box-shadow: 0 0 0 3px rgba(14, 32, 98, 0.1);
}

.post-filter-submit-btn {
  background: linear-gradient(135deg, #0E2062, #4a69bd);
  color: #fff;
  border: none;
  padding: 0;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(14, 32, 98, 0.2);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.post-filter-submit-btn i {
  font-size: 16px;
}

.post-filter-submit-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.post-filter-submit-btn:hover::before {
  left: 100%;
}

.post-filter-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(14, 32, 98, 0.3);
}

.post-filter-submit-text {
  display: none;
}

@media (min-width: 992px) {
  .post-filter-submit-btn {
    padding: 0 20px;
    width: auto;
  }
  
  .post-filter-submit-text {
    display: inline;
    margin-left: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
  }
}

@media (max-width: 768px) {
  .post-filter-section {
    padding: 20px;
  }
  
  .post-filter-form {
    flex-direction: column;
    gap: 12px;
  }
  
  .post-filter-group {
    width: 100%;
  }
  
  .post-filter-submit-btn {
    width: 100%;
  }
  
  .post-filter-submit-text {
    display: inline;
    margin-left: 8px;
  }
}

/* İyileştirilmiş Post Kartları */
.posts-wrapper {
  position: relative;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.enhanced-post-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(14, 32, 98, 0.1);
  transition: all 0.4s ease;
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  transform: translateY(30px);
}

.enhanced-post-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #0E2062, #4a69bd, #0E2062);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
  z-index: 3;
}

.enhanced-post-card:hover::before {
  transform: scaleX(1);
}

.enhanced-post-card:hover {
  transform: translateY(0px);
  box-shadow: 0 25px 50px rgba(14, 32, 98, 0.15);
  border-color: rgba(14, 32, 98, 0.3);
}

.post-card-image {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.post-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.4));
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
}

.post-overlay.hover {
  opacity: 1;
}

.post-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.enhanced-post-card:hover .post-card-image img {
  transform: scale(1.08);
}

.post-category-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: linear-gradient(135deg, #0E2062, #4a69bd);
  color: #fff;
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 5px 15px rgba(14, 32, 98, 0.3);
}

.post-category-badge i {
  font-size: 0.8rem;
}

.post-reading-time {
  position: absolute;
  bottom: 15px;
  left: 15px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 9px;
  font-weight: 500;
  z-index: 2;
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.post-reading-time i {
  font-size: 0.8rem;
  color: #FFD700;
}

.post-card-content {
  padding: 30px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.post-card-title {
  color: #0E2062;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.3;
}

.post-card-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.post-card-title a:hover {
  color: #4a69bd;
  text-decoration: none;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.post-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #666;
  font-size: 14px;
  font-weight: 500;
}

.post-meta-item i {
  color: #0E2062;
  font-size: 14px;
  width: 16px;
  text-align: center;
}

.post-excerpt {
  color: #555;
  line-height: 1.7;
  margin-bottom: 25px;
  font-size: 1.1rem;
  flex-grow: 1;
}

.post-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid rgba(14, 32, 98, 0.1);
}

.post-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.post-tag {
  background: rgba(14, 32, 98, 0.08);
  color: #0E2062;
  padding: 6px 12px;
  border-radius: 15px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  border: 1px solid rgba(14, 32, 98, 0.1);
  display: flex;
  align-items: center;
  gap: 5px;
}

.post-tag i {
  font-size: 0.7rem;
  color: #4a69bd;
}

.post-read-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #0E2062, #4a69bd);
  color: #fff;
  padding: 12px 22px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(14, 32, 98, 0.3);
}

.post-read-more-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(14, 32, 98, 0.4);
  color: #fff;
  text-decoration: none;
}

.post-read-more-btn i {
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

.post-read-more-btn:hover i {
  transform: translateX(4px);
}

.post-card-decoration {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100px;
  height: 100px;
  pointer-events: none;
  z-index: 1;
  opacity: 0.05;
}

.post-decoration-pattern {
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%230e2062' fill-opacity='1'%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3C/g%3E%3C/svg%3E") repeat;
}

/* İçerik bulunamadı mesajı */
.no-posts-found {
  background: #fff;
  padding: 60px 30px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(14, 32, 98, 0.1);
  margin-bottom: 50px;
}

.no-posts-icon {
  width: 80px;
  height: 80px;
  background: rgba(14, 32, 98, 0.05);
  margin: 0 auto 25px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.no-posts-icon i {
  font-size: 30px;
  color: #0E2062;
}

.no-posts-found h4 {
  font-size: 1.8rem;
  color: #0E2062;
  margin-bottom: 15px;
  font-weight: 700;
}

.no-posts-found p {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 25px;
}

.btn-reset-filter {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #0E2062, #4a69bd);
  color: #fff;
  padding: 12px 25px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(14, 32, 98, 0.3);
}

.btn-reset-filter:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(14, 32, 98, 0.4);
  color: #fff;
  text-decoration: none;
}

/* İyileştirilmiş Sayfalama */
.post-pagination-area {
  margin-top: 60px;
  text-align: center;
  position: relative;
}

.post-pagination {
  display: inline-flex;
  border-radius: 50px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  background: #fff;
  border: 1px solid rgba(14, 32, 98, 0.1);
  margin-bottom: 15px;
}

.post-page-item {
  margin: 0;
}

.post-page-link {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px 20px;
  color: #0E2062;
  text-decoration: none;
  border: none;
  background: #fff;
  font-weight: 600;
  font-size: 1.05rem;
  transition: all 0.3s ease;
  position: relative;
  min-width: 55px;
}

.post-page-item:not(:last-child) .post-page-link {
  border-right: 1px solid rgba(14, 32, 98, 0.1);
}

.post-page-link:hover {
  background: linear-gradient(135deg, #0E2062, #4a69bd);
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(14, 32, 98, 0.2);
}

.post-page-item.active .post-page-link {
  background: linear-gradient(135deg, #0E2062, #4a69bd);
  color: #fff;
  box-shadow: 0 5px 15px rgba(14, 32, 98, 0.2);
}

.post-pagination-info {
  margin-top: 20px;
  color: #666;
  font-size: 1.05rem;
  font-weight: 500;
}

/* İyileştirilmiş Sidebar */
.post-sidebar {
  position: sticky;
  top: 100px;
}

.post-widget {
  background: #fff;
  border-radius: 20px;
  padding: 35px 30px;
  margin-bottom: 30px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(14, 32, 98, 0.1);
  position: relative;
  overflow: hidden;
  transform: translateX(30px);
}

.post-widget::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #0E2062, #4a69bd, #0E2062);
  z-index: 3;
}

.post-widget h4 {
  color: #0E2062;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.post-widget h4 i {
  color: #4a69bd;
}

/* Sidebar Search Form */
.sidebar-search-form {
  display: flex;
  gap: 10px;
}

.sidebar-search-input {
  flex-grow: 1;
  padding: 15px 15px 15px 45px;
  border: 2px solid #e9ecef;
  border-radius: 10px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.sidebar-search-input:focus {
  outline: none;
  border-color: #0E2062;
  box-shadow: 0 0 0 4px rgba(14, 32, 98, 0.1);
}

.sidebar-search-btn {
  background: linear-gradient(135deg, #0E2062, #4a69bd);
  color: #fff;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 15px rgba(14, 32, 98, 0.25);
}

.sidebar-search-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 20px rgba(14, 32, 98, 0.35);
}

/* Recent Posts Widget */
.recent-posts-widget {
  padding-bottom: 15px !important;
}

.recent-posts-container {
  margin-bottom: 10px;
}

.recent-post-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 12px;
  margin-bottom: 8px;
  border-radius: 10px;
  transition: all 0.3s ease;
  text-decoration: none;
  background: rgba(248, 249, 250, 0.5);
  border: 1px solid rgba(14, 32, 98, 0.06);
}

.recent-post-item:last-child {
  margin-bottom: 0;
}

.recent-post-item:hover {
  background: rgba(14, 32, 98, 0.03);
  transform: translateY(-3px);
  box-shadow: 0 10px 15px rgba(14, 32, 98, 0.08);
}

.recent-post-thumb {
  flex-shrink: 0;
  width: 70px;
  height: 70px;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}

.recent-post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.recent-post-item:hover .recent-post-thumb img {
  transform: scale(1.1);
}

.recent-post-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(14, 32, 98, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.recent-post-item:hover .recent-post-overlay {
  opacity: 1;
}

.recent-post-overlay i {
  color: #fff;
  font-size: 1.2rem;
}

.recent-post-info {
  flex-grow: 1;
  min-width: 0; /* Ensures text truncation works properly */
}

.recent-post-info h6 {
  color: #0E2062;
  font-weight: 600;
  margin: 0 0 6px;
  font-size: 14px;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.3s ease;
}

.recent-post-item:hover .recent-post-info h6 {
  color: #4a69bd;
}

.recent-post-meta {
  display: flex;
  align-items: center;
  font-size: 0.8rem;
  color: #777;
}

.recent-post-date {
  display: flex;
  align-items: center;
  gap: 5px;
}

.recent-post-date i {
  color: #4a69bd;
  font-size: 14px;
}

.view-all-posts {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  color: #0E2062;
  text-decoration: none;
  padding: 8px 0 0;
  border-top: 1px dashed rgba(14, 32, 98, 0.1);
  margin-top: 5px;
  transition: all 0.3s ease;
}

.view-all-posts:hover {
  color: #4a69bd;
}

.view-all-posts i {
  font-size: 0.7rem;
  transition: transform 0.3s ease;
}

.view-all-posts:hover i {
  transform: translateX(3px);
}

/* ===== ANIMATION CLASSES ===== */
.post-fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

.post-fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.post-slide-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.6s ease-out;
}

.post-slide-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.post-slide-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: all 0.6s ease-out;
}

.post-slide-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 991px) {
  .post-hero-title {
    font-size: 3.2rem;
  }
  
  .post-hero-subtitle {
    font-size: 1.2rem;
  }
  
  .post-detail-title {
    font-size: 2rem;
  }
  
  .post-detail-header {
    padding: 30px;
  }
  
  .post-detail-content {
    padding: 30px;
  }
  
  .post-sidebar {
    position: static;
    margin-top: 40px;
  }
  
  .post-widget {
    transform: translateX(0);
  }
}

@media (max-width: 768px) {
  .post-hero-section {
    padding: 80px 0 60px;
  }
  
  .post-hero-title {
    font-size: 2.8rem;
  }
  
  .post-list-section,
  .post-detail-section {
    padding: 80px 0;
  }
  
  .post-filter-section {
    padding: 30px 20px;
  }
  
  .post-filter-title h3 {
    font-size: 1.8rem;
  }
  
  .post-filter-form {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .post-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .post-card-title {
    font-size: 1.6rem;
  }
  
  .post-detail-title {
    font-size: 1.8rem;
  }
  
  .post-detail-header {
    padding: 25px;
  }
  
  .post-detail-content {
    padding: 25px;
  }
  
  .post-detail-meta {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
  }
  
  .post-detail-image {
    height: 300px;
  }
  
  .post-widget {
    padding: 25px 20px;
  }
  
  .recent-post-item {
    flex-direction: column;
    gap: 10px;
  }
  
  .recent-post-thumb {
    width: 100%;
    height: 150px;
  }
}

@media (max-width: 576px) {
  .post-hero-title {
    font-size: 2.2rem;
  }
  
  .post-hero-subtitle {
    font-size: 1.1rem;
  }
  
  .post-filter-section {
    padding: 25px 15px;
  }
  
  .post-filter-title h3 {
    font-size: 24px;
  }
  
  .post-card-content {
    padding: 20px;
  }
  
  .post-card-title {
    font-size: 1.5rem;
  }
  
  .post-excerpt {
    font-size: 1rem;
  }
  
  .post-detail-title {
    font-size: 1.6rem;
  }
  
  .post-detail-header {
    padding: 20px 15px;
  }
  
  .post-detail-content {
    padding: 20px 15px;
  }
  
  .post-widget {
    padding: 20px 15px;
  }
  
  .post-detail-image {
    height: 250px;
  }
  
  .post-pagination .post-page-link {
    padding: 10px 15px;
    font-size: 0.9rem;
  }
  
  .tag-cloud {
    gap: 8px;
  }
  
  .tag-item {
    padding: 6px 12px;
    font-size: 0.85rem;
  }
  
  .post-widget h4 {
    font-size: 1.4rem;
  }
}

/* ===== IMPROVED CATEGORIES WIDGET ===== */
.categories-widget {
  padding-bottom: 20px !important;
}

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

.category-item {
  margin-bottom: 4px;
  border-radius: 8px;
  transition: all 0.2s;
  overflow: hidden;
  font-size: 0.97rem;
}

.category-item.active .category-link {
  background: linear-gradient(90deg, #e3f2fd 60%, #f1f8e9 100%);
  color: #0E2062;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(14, 32, 98, 0.07);
}

.category-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 12px;
  color: #444;
  text-decoration: none;
  font-size: 0.97rem;
  border-radius: 8px;
  background: rgba(248, 249, 250, 0.9);
  border: 1px solid rgba(14, 32, 98, 0.04);
  transition: all 0.2s;
  min-height: 38px;
}

.category-link span:first-child {
  display: flex;
  align-items: center;
  gap: 7px;
}

.category-link span:first-child i {
  color: #4a69bd;
  font-size: 1rem;
  width: 18px;
  text-align: center;
}

.category-link:hover {
  background: #e3f2fd;
  color: #0E2062;
  transform: translateX(2px) scale(1.03);
  font-weight: 600;
}

.category-count {
  background: #f1f8e9;
  color: #0E2062;
  font-size: 0.85rem;
  font-weight: 600;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  margin-left: 8px;
}

.category-link:hover .category-count {
  background: #c8e6c9;
}

.all-category {
  margin-top: 10px;
}

.all-category .category-link {
  background: linear-gradient(90deg, #f1f8e9 60%, #e3f2fd 100%);
  border: 1px solid rgba(14, 32, 98, 0.08);
  font-weight: 700;
}

.all-category .category-count {
  background: #e3f2fd;
}

.no-categories {
  padding: 10px;
  text-align: center;
  color: #777;
  font-style: italic;
  background: rgba(248, 249, 250, 0.7);
  border-radius: 8px;
  font-size: 0.95rem;
}

.no-categories p {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.no-categories i {
  color: #4a69bd;
}

/* Kompakt kategori widget'ı */
.compact-categories-widget {
  padding: 16px 12px !important;
  margin-bottom: 18px !important;
  border-radius: 12px !important;
  box-shadow: 0 2px 8px rgba(14,32,98,0.06);
  max-width: 100%;
}

.compact-categories-widget h5 {
  font-size: 1.08rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #0E2062;
  display: flex;
  align-items: center;
  gap: 7px;
}

.compact-category-list .category-item {
  margin-bottom: 2px;
  border-radius: 6px;
  font-size: 0.93rem;
}

.compact-category-list .category-link {
  padding: 5px 8px;
  min-height: 28px;
  font-size: 0.93rem;
  border-radius: 6px;
  background: #f8f9fa;
}

.compact-category-list .category-link span:first-child i {
  font-size: 0.95rem;
  width: 16px;
}

.compact-category-list .category-count {
  width: 18px;
  height: 18px;
  font-size: 0.82rem;
  margin-left: 6px;
  border-radius: 50%;
  background: #f1f8e9;
  color: #0E2062;
  display: flex;
  align-items: center;
  justify-content: center;
}

.compact-category-list .category-link:hover {
  background: #e3f2fd;
  color: #0E2062;
  font-weight: 600;
}

.compact-category-list .category-item.active .category-link {
  background: linear-gradient(90deg, #e3f2fd 60%, #f1f8e9 100%);
  color: #0E2062;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(14, 32, 98, 0.07);
}

/* Responsive iyileştirme */
@media (max-width: 991px) {
  .category-link {
    font-size: 0.97rem;
    padding: 8px 10px;
    min-height: 36px;
  }
  .category-count {
    width: 20px;
    height: 20px;
    font-size: 0.82rem;
  }
}

@media (max-width: 576px) {
  .category-link {
    font-size: 0.95rem;
    padding: 7px 8px;
    min-height: 32px;
  }
  .category-count {
    width: 18px;
    height: 18px;
    font-size: 0.8rem;
  }
}