.blog-hero {
    background: linear-gradient(135deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.6) 100%), url('../img/blog-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 60px 0 30px 0;
    text-align: center;
    margin-top: 30px;
}

.blog-hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: white;
}

.blog-hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    color: rgba(255,255,255,0.9);
}

.blog-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 20px;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-top: 32px !important;
    padding-top: 0 !important;
}

.blog-main-content {
    width: 100%;
}

.blog-posts {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start !important;
    gap: 30px;
    justify-content: flex-start;
    margin-top: 32px !important;
    padding: 0 !important;
}

.blog-card {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

/* Açıklama ve başlık görselin hemen altında, kutu gibi ayrık durmasın */
.blog-content {
    padding: 32px 32px 24px 32px;
    background: none;
    border-radius: 0 0 18px 18px;
    margin-top: 0;
    box-shadow: none;
}
.blog-post-full {
    margin: 0;
    padding: 0;
    border: none;
    background: none;
}
.blog-post-full-content {
    margin-bottom: 18px;
    line-height: 1.6;
    color: #333;
    font-size: 1.08em;
    padding: 0;
}
.blog-post-excerpt {
    margin: 0 0 18px 0;
    padding: 0;
    color: #444;
    font-size: 1.08em;
    line-height: 1.6;
    background: none;
    border: none;
}

/* Kartın üst görseli ile içerik arasında boşluk olmasın */
.blog-card-main-media {
    margin-bottom: 0;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 15px;
    color: #666;
    font-size: 0.9rem;
}

.blog-meta i {
    color: #d72638;
}

.blog-content h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 10px;
    margin-top: 0;
}

.blog-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.read-more {
    display: inline-block;
    padding: 10px 20px;
    background: linear-gradient(135deg, #d72638 0%, #0047ab 100%);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.read-more:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 32px !important;
}

.sidebar-widget {
    background: #fff;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.categories-widget h3,
.recent-widget h3 {
    font-size: 1.2rem;
    margin-bottom: 18px;
    color: #0047ab;
    font-weight: 700;
}

.categories-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.category-btn {
    background: #f4f4f4;
    color: #0047ab;
    border: none;
    border-radius: 20px;
    padding: 7px 18px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.category-btn.active, .category-btn:hover {
    background: linear-gradient(135deg, #0047ab 0%, #d72638 100%);
    color: #fff;
}

.recent-posts-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.recent-post-item {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: background 0.15s;
    border-radius: 8px;
    padding: 6px 0;
}

.recent-post-item:hover {
    background: #f4f4f4;
}

.recent-post-thumb {
    width: 48px !important;
    height: 48px !important;
    object-fit: cover !important;
    border-radius: 8px !important;
    display: block;
    background: #eee;
}

.recent-post-title {
    font-size: 1rem;
    color: #222;
    font-weight: 500;
    line-height: 1.2;
}

.sidebar-social-title {
    font-size: 1.05rem;
    color: #333;
    margin-bottom: 12px;
    font-weight: 500;
    text-align: center;
}

.sidebar-social-icons {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.social-icon {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.3em;
    color: #fff;
    background: #0047ab;
    transition: background 0.2s, transform 0.2s;
}

.social-icon.facebook { background: #1877f3; }
.social-icon.instagram { background: #e1306c; }
.social-icon.whatsapp { background: #25d366; }
.social-icon.linkedin { background: #0077b5; }
.social-icon.tiktok { background: #000; }
.social-icon:hover {
    transform: scale(1.12);
    filter: brightness(1.1);
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.pagination a {
    padding: 10px 15px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    min-width: 40px;
    text-align: center;
}

.pagination a.active {
    background: linear-gradient(135deg, #d72638 0%, #0047ab 100%);
    color: white;
    border-color: transparent;
}

.pagination a:hover:not(.active) {
    background: #f4f4f4;
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.pagination span {
    color: #666;
    padding: 0 5px;
}

.blog-card-actions {
    display: flex;
    gap: 10px;
    margin-top: 18px;
}

.share-buttons {
    display: flex;
    gap: 6px;
}

.share-btn {
    background: #f4f4f4;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0047ab;
    font-size: 1.1em;
    cursor: pointer;
    transition: background 0.2s;
}

.share-btn:hover {
    background: #e6eaf3;
    color: #d72638;
}

.modern-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 22px;
    font-size: 1.08rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, #0047ab 0%, #d72638 100%);
    color: #fff;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
    margin-right: 8px;
}
.modern-btn:last-child { margin-right: 0; }
.modern-btn:hover {
    background: linear-gradient(135deg, #d72638 0%, #0047ab 100%);
    color: #fff;
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 4px 16px rgba(0,0,0,0.13);
}

.blog-tags {
    display: inline-block;
    margin-left: 10px;
    vertical-align: middle;
}
.blog-tag {
    display: inline-block;
    background: linear-gradient(135deg, #0047ab 0%, #d72638 100%);
    color: #fff;
    font-size: 0.85em;
    font-weight: 500;
    border-radius: 12px;
    padding: 2px 10px;
    margin-right: 4px;
    margin-bottom: 2px;
    letter-spacing: 0.02em;
    box-shadow: 0 1px 4px rgba(0,0,0,0.07);
    transition: background 0.2s;
}

/* Mobilde kategori seçme alanı blog gönderilerinin başında görünsün */
.mobile-categories-top {
    display: block;
    margin-bottom: 18px;
    width: 100%;
}
.mobile-categories-top .categories-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

@media (max-width: 900px) {
    .blog-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .blog-sidebar {
        order: 2;
    }
    .blog-posts {
        order: 1;
    }
    .mobile-categories-top {
        display: block !important;
    }
}

@media (max-width: 600px) {
    .blog-container {
        display: block;
        padding: 18px 2vw;
    }
    .blog-sidebar {
        flex-direction: column;
        gap: 16px;
        margin-top: 24px;
    }
    .sidebar-widget {
        min-width: unset;
        padding: 16px;
    }
    .blog-tag {
        font-size: 0.8em;
        padding: 2px 7px;
    }
    #mobile-catalog a {
        font-size: 1rem;
        padding: 10px 8px;
        min-width: 120px;
    }
    .pagination {
        gap: 8px;
        margin-top: 30px;
    }
    .pagination a {
        padding: 8px 12px;
        font-size: 0.9rem;
        min-width: 35px;
    }
}

.sidebar-social-links {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin-top: 8px;
}
.sidebar-social-links a {
    font-size: 1.5rem;
    color: #222;
    transition: color 0.2s;
}
.sidebar-social-links a:hover {
    color: #0047ab;
}

#mobile-catalog a {
    font-size: 1.1rem;
    padding: 14px 20px;
    border-radius: 18px;
    min-width: 180px;
    text-align: center;
}

/* Galeri ve Lightbox için yeni stiller */
.blog-media-gallery {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  margin-bottom: 24px;
  padding-bottom: 8px;
}
.blog-media-gallery .gallery-item {
  display: block;
  max-width: 180px;
  max-height: 140px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: transform 0.2s;
}
.blog-media-gallery .gallery-item img,
.blog-media-gallery .gallery-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.blog-media-gallery .gallery-item:hover {
  transform: scale(1.04);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.blog-lightbox-overlay {
  position: fixed;
  z-index: 9999;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.2s;
}
.blog-lightbox {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.blog-lightbox img,
.blog-lightbox video {
  max-width: 90vw;
  max-height: 80vh;
  border-radius: 8px;
  box-shadow: 0 4px 32px rgba(0,0,0,0.25);
}
.close-lightbox {
  position: absolute;
  top: 8px;
  right: 16px;
  font-size: 2.2rem;
  color: #fff;
  cursor: pointer;
  z-index: 2;
  text-shadow: 0 2px 8px #000;
}
@media (max-width: 600px) {
  .blog-media-gallery {
    gap: 8px;
  }
  .blog-media-gallery .gallery-item {
    max-width: 110px;
    max-height: 80px;
  }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Blog kartı galeri (ana sayfa) */
.blog-card-gallery {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 8px 0 8px 0;
  border-radius: 10px 10px 0 0;
  background: #f7f7f7;
  min-height: 90px;
  max-height: 140px;
}
.blog-card-gallery-img {
  width: 110px;
  height: 80px;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.07);
  transition: transform 0.18s;
  cursor: pointer;
}
.blog-card-gallery-img:hover {
  transform: scale(1.04);
  box-shadow: 0 2px 12px rgba(0,0,0,0.13);
}
.blog-card-gallery-video-icon {
  width: 110px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #222;
  border-radius: 6px;
  color: #fff;
  font-size: 2.2rem;
  position: relative;
  box-shadow: 0 1px 6px rgba(0,0,0,0.07);
}
.blog-card-gallery-video-icon i {
  pointer-events: none;
}
@media (max-width: 600px) {
  .blog-card-gallery-img, .blog-card-gallery-video-icon {
    width: 70px;
    height: 50px;
  }
  .blog-card-gallery {
    min-height: 50px;
    max-height: 70px;
  }
}

/* Modern blog kartı galeri (ana sayfa) - güncel */
.blog-card-gallery-modern {
  position: relative;
  margin-bottom: 0.5rem;
}
.main-media {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background: #f7f7f7;
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.main-media-img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}
.side-media-absolute {
  position: absolute;
  bottom: -18px;
  right: 18px;
  z-index: 2;
  width: 80px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
  background: #eaeaea;
  box-shadow: 0 2px 10px rgba(0,0,0,0.13);
  display: flex;
  align-items: center;
  justify-content: center;
}
.side-media-img, .side-media-absolute video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}
.side-media-absolute video {
  background: #222;
}
.media-count {
  position: absolute !important;
  bottom: 12px !important;
  right: 18px !important;
  background: rgba(0,0,0,0.7) !important;
  color: #fff !important;
  padding: 4px 12px !important;
  border-radius: 16px !important;
  font-weight: 600 !important;
  font-size: 1.08em !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12) !important;
  z-index: 10 !important;
  display: inline-block !important;
}
@media (max-width: 600px) {
  .main-media-img, .main-media video {
    height: 60px;
    font-size: 2rem;
  }
  .main-media {
    min-height: 60px;
  }
  .side-media-absolute {
    width: 40px;
    height: 30px;
    right: 6px;
    bottom: -8px;
  }
}

/* Read More ile açılan galeri */
.blog-card-readmore-gallery {
  display: flex;
  gap: 10px;
  margin: 18px 0 10px 0;
  flex-wrap: wrap;
}
.blog-card-readmore-gallery .gallery-item {
  display: block;
  width: 110px;
  height: 80px;
  border-radius: 7px;
  overflow: hidden;
  box-shadow: 0 1px 6px rgba(0,0,0,0.08);
  transition: transform 0.18s;
  background: #f7f7f7;
  position: relative;
}
.blog-card-readmore-gallery .gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.readmore-gallery-video {
  width: 100%;
  height: 100%;
  background: #222;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 2.2rem;
  border-radius: 7px;
}
.blog-card-readmore-gallery .gallery-item:hover {
  transform: scale(1.05);
  box-shadow: 0 2px 12px rgba(0,0,0,0.13);
}
@media (max-width: 600px) {
  .blog-card-readmore-gallery .gallery-item {
    width: 70px;
    height: 50px;
  }
}

/* Kart içi küçük medya kutusu (yeni) */
.side-media-floating {
  position: absolute;
  top: 0.2rem;
  right: 0.5rem;
  width: 80px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
  background: #eaeaea;
  box-shadow: 0 2px 10px rgba(0,0,0,0.13);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
}
.side-media-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}
.side-media-video-wrap {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.side-media-video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  display: block;
  background: #222;
}
.play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 2.2rem;
  opacity: 0.85;
  pointer-events: none;
  text-shadow: 0 2px 8px #000;
}
.side-media-floating .media-count {
  position: absolute;
  top: 4px;
  right: 6px;
  background: #222;
  color: #fff;
  font-size: 0.95em;
  padding: 2px 7px;
  border-radius: 12px;
  z-index: 4;
  opacity: 0.92;
  font-weight: 600;
  pointer-events: none;
}
@media (max-width: 600px) {
  .side-media-floating {
    width: 40px;
    height: 30px;
    right: 0.2rem;
    top: 0.2rem;
  }
  .side-media-img, .side-media-video-wrap video {
    width: 100%;
    height: 100%;
  }
  .play-icon {
    font-size: 1.2rem;
  }
}

/* Read More galeri video kutusu ve play simgesi */
.readmore-gallery-video-wrap {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.readmore-gallery-video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 7px;
  display: block;
  background: #222;
}
.readmore-gallery-video-wrap .play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 2.2rem;
  opacity: 0.85;
  pointer-events: none;
  text-shadow: 0 2px 8px #000;
} 

.blog-card-actions .modern-btn, .blog-card-actions button {
    padding: 7px 18px !important;
    font-size: 1rem !important;
    min-width: 90px !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07) !important;
    font-weight: 600 !important;
    margin: 0 6px 0 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.blog-card-actions .modern-btn:last-child, .blog-card-actions button:last-child {
    margin-right: 0 !important;
}

.blog-post-full-content {
    margin-bottom: 20px;
    line-height: 1.6;
    color: #333;
}

.blog-card-readmore-gallery {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 16px 0;
    margin-top: 20px;
    border-top: 1px solid #eee;
}

.blog-card-readmore-gallery .gallery-item {
    flex-shrink: 0;
    width: 200px;
    height: 150px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s;
    cursor: pointer;
    position: relative;
}

.blog-card-readmore-gallery .gallery-item img,
.blog-card-readmore-gallery .gallery-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.readmore-gallery-video-wrap {
    position: relative;
}

.readmore-gallery-video-wrap .play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 2rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    pointer-events: none;
}

@media (max-width: 600px) {
    .blog-card-readmore-gallery .gallery-item {
        width: 150px;
        height: 120px;
    }
} 