/* CorporateX — Blog / Haberler arşiv */
.cx-blog-archive {
  padding: 28px 0 48px;
  background: #f5f7fb;
  flex: 1 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.cx-blog-shell {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
}

.cx-blog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 28px;
  align-items: start;
}

.cx-blog-header {
  margin-bottom: 22px;
}

.cx-blog-header__title {
  margin: 0 0 8px;
  font-size: 28px;
  font-weight: 700;
  color: #1b1f3b;
  line-height: 1.25;
}

.cx-blog-header__desc {
  margin: 0;
  font-size: 15px;
  color: #64748b;
  line-height: 1.55;
  max-width: 720px;
}

.cx-blog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.cx-blog-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e8edf4;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(15, 30, 43, 0.05);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  height: 100%;
}

.cx-blog-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 166, 255, 0.35);
  box-shadow: 0 14px 28px rgba(15, 30, 43, 0.1);
}

.cx-blog-card__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #eef2f7;
}

.cx-blog-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}

.cx-blog-card:hover .cx-blog-card__media img {
  transform: scale(1.04);
}

.cx-blog-card__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-size: 28px;
  background: linear-gradient(135deg, #eef2f7, #e2e8f0);
}

.cx-blog-card__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 16px 14px;
  flex: 1;
}

.cx-blog-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
  font-size: 12px;
  color: #64748b;
}

.cx-blog-card__cat {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(0, 166, 255, 0.1);
  color: var(--primary-color, #00A6FF);
  font-weight: 600;
  text-decoration: none;
}

.cx-blog-card__cat:hover {
  background: var(--primary-color, #00A6FF);
  color: #fff;
}

.cx-blog-card__title {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  color: #1b1f3b;
}

.cx-blog-card__title a {
  color: inherit;
  text-decoration: none;
}

.cx-blog-card__title a:hover {
  color: var(--primary-color, #00A6FF);
}

.cx-blog-card__excerpt {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: #64748b;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.cx-blog-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid #eef2f7;
}

.cx-blog-card__date {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #64748b;
}

.cx-blog-card__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 8px;
  background: var(--primary-color, #00A6FF);
  color: #fff !important;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none !important;
  transition: filter .2s ease, transform .2s ease;
}

.cx-blog-card__more:hover {
  filter: brightness(0.95);
  transform: translateY(-1px);
}

.cx-blog-pagination {
  margin-top: 28px;
  display: flex;
  justify-content: center;
}

.cx-blog-pagination .nav-links,
.cx-blog-pagination .page-numbers {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.cx-blog-pagination a.page-numbers,
.cx-blog-pagination span.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #e8edf4;
  color: #1b1f3b;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(15, 30, 43, 0.04);
}

.cx-blog-pagination span.page-numbers.current,
.cx-blog-pagination a.page-numbers:hover {
  background: var(--primary-color, #00A6FF);
  border-color: var(--primary-color, #00A6FF);
  color: #fff;
}

.cx-blog-empty {
  text-align: center;
  padding: 48px 20px;
  background: #fff;
  border: 1px solid #e8edf4;
  border-radius: 14px;
  color: #64748b;
}

.cx-blog-empty i {
  font-size: 40px;
  color: #cbd5e1;
  margin-bottom: 12px;
}

.cx-blog-empty h2 {
  margin: 0 0 8px;
  font-size: 22px;
  color: #1b1f3b;
}

/* Sidebar */
.cx-blog-sidebar,
.blog-sidebar.widget-area {
  position: sticky;
  top: 24px;
  display: grid;
  gap: 16px;
}

/* Single: breadcrumb hero ile sağ sidebar arasında boşluk */
.blog-single-wrapper {
  padding-top: 48px;
}
.blog-single-sidebar {
  padding-top: 12px;
}
.blog-single-sidebar .cx-blog-sidebar,
.blog-single-sidebar .blog-sidebar {
  top: 24px;
}

.cx-blog-sidebar .widget,
.blog-sidebar .widget,
.cx-blog-sidebar__box {
  background: #fff;
  border: 1px solid #e8edf4;
  border-radius: 14px;
  padding: 18px 16px;
  box-shadow: 0 8px 22px rgba(15, 30, 43, 0.04);
  margin: 0;
}

.cx-blog-sidebar .widget-title,
.blog-sidebar .widget-title,
.cx-blog-sidebar__title {
  margin: 0 0 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid #eef2f7;
  font-size: 16px;
  font-weight: 700;
  color: #1b1f3b;
  position: relative;
}

.cx-blog-sidebar .widget-title:after,
.blog-sidebar .widget-title:after,
.cx-blog-sidebar__title:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 42px;
  height: 2px;
  background: var(--primary-color, #00A6FF);
}

.cx-blog-sidebar .search-form,
.blog-sidebar .search-form {
  position: relative;
}

.cx-blog-sidebar .search-field,
.blog-sidebar .search-field,
.cx-blog-sidebar input[type="search"] {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 44px 12px 14px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  font-size: 14px;
  background: #f8fafc;
}

.cx-blog-sidebar .search-submit,
.blog-sidebar .search-submit {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: var(--primary-color, #00A6FF);
  cursor: pointer;
}

.cx-blog-sidebar ul,
.blog-sidebar ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.cx-blog-sidebar li,
.blog-sidebar li {
  margin: 0;
  padding: 10px 0;
  border-bottom: 1px solid #f1f5f9;
}

.cx-blog-sidebar li:last-child,
.blog-sidebar li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.cx-blog-sidebar a,
.blog-sidebar a {
  color: #334155;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
}

.cx-blog-sidebar a:hover,
.blog-sidebar a:hover {
  color: var(--primary-color, #00A6FF);
}

.cx-blog-sidebar .post-date,
.blog-sidebar .post-date {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: #94a3b8;
  font-weight: 400;
}

.cx-blog-sidebar__count {
  float: right;
  color: #94a3b8;
  font-size: 12px;
}

/* Sidebar iletişim */
.cx-blog-contact {
  display: grid;
  gap: 12px;
}

.cx-blog-contact__item {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.cx-blog-contact__icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 166, 255, 0.1);
  color: var(--primary-color, #00A6FF);
  font-size: 14px;
}

.cx-blog-contact__body {
  font-size: 13.5px;
  line-height: 1.45;
  color: #334155;
  word-break: break-word;
}

.cx-blog-contact__body a {
  color: #334155;
  text-decoration: none;
  font-weight: 500;
}

.cx-blog-contact__body a:hover {
  color: var(--primary-color, #00A6FF);
}

@media (max-width: 1024px) {
  .cx-blog-layout {
    grid-template-columns: 1fr;
  }

  .cx-blog-sidebar,
  .blog-sidebar.widget-area {
    position: static;
  }
}

@media (max-width: 720px) {
  .cx-blog-archive {
    padding-top: 12px;
  }

  .cx-blog-grid {
    grid-template-columns: 1fr;
  }

  .cx-blog-header__title {
    font-size: 24px;
  }
}
