/* webAltyapi Categories.scss + CategoryCard.scss — statik bloglar sayfası */

/* ——— Bloglar sayfası zemin ——— */
.page-bloglar {
  background: #fff;
}

/* ——— Bloglar giriş (premium) ——— */

.blog-page-hero {
  margin-top: calc(140px + 1.5rem);
  padding: 2.25rem 0 1.5rem;
  background: #fff;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.blog-page-hero__inner {
  max-width: 720px;
}

.blog-page-hero__eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--theme-accent-color, #8a7355);
}

.blog-page-hero__titles.anaTitle .title {
  margin: 0 0 0.65rem;
  font-size: clamp(1.85rem, 4.5vw, 2.45rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0f172a;
  line-height: 1.15;
}

.blog-page-hero__titles.anaTitle .desc {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.6;
  color: #64748b;
  max-width: 38rem;
}

@media (max-width: 900px) {
  .blog-page-hero {
    margin-top: calc(110px + 1rem);
    padding: 1.5rem 0 1rem;
  }
}

.categoriesPage {
  margin-top: 0;
  padding-top: 2.5rem;
  padding-bottom: 4rem;
}

.categoriesPage .container {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.categoriesPage .categoryCardsContent {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  column-gap: 1rem;
}

.categoryCardsContent--premium {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.35rem 1.5rem;
  max-width: 1040px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 640px) {
  .categoryCardsContent--premium {
    grid-template-columns: 1fr;
  }
}

.categoryMessage {
  padding: 1rem 1.25rem;
  border-radius: 12px;
  text-align: center;
  font-size: 0.95rem;
}

.categoryMessageError {
  background: #fdecea;
  color: #c0392b;
  border: 1px solid #f5c6cb;
}

.categoryEmptyState {
  min-height: 120px;
  padding: 2rem 1rem;
  text-align: center;
  color: #555;
  font-size: 1rem;
}

/* CategoryCard.scss */
.categorycard {
  width: 100%;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  overflow: hidden;
  text-decoration: none;
  display: flex;
  min-height: 220px;
}

.categorycard--premium {
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(15, 23, 42, 0.06);
  min-height: 320px;
}

.categorycard--premium:hover {
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.12);
  transform: translateY(-4px);
  border-color: rgba(138, 115, 85, 0.22);
}

.categorycard:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.categorycard .fade-in-section {
  width: 100%;
}

.categorycard .categoryContent {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.categorycard .categoryContent .backgroundImg {
  width: 100%;
  height: 200px;
  overflow: hidden;
  position: relative;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
}

.categorycard--premium .categoryContent .backgroundImg {
  height: 220px;
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
}

.categorycard--premium .categoryContent .backgroundImg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 40%,
    rgba(15, 23, 42, 0.25) 100%
  );
  pointer-events: none;
}

@media (max-width: 900px) {
  .categorycard .categoryContent .backgroundImg {
    height: 150px;
  }

  .categorycard--premium .categoryContent .backgroundImg {
    height: 180px;
  }
}

.categorycard .categoryContent .backgroundImg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.categorycard .categoryContent h3,
.categorycard__heading {
  padding: 20px 16px;
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #2c3e50;
  text-align: center;
  background: #ffffff;
  border-top: 1px solid #f8f9fa;
  transition: color 0.3s ease;
}

.categorycard__body {
  text-align: left;
  background: #fff;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 0;
}

.categorycard--premium .categorycard__heading {
  padding: 1.15rem 1.35rem 0.35rem;
  text-align: left;
  font-size: 1.2rem;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.02em;
  border: none;
  background: transparent;
}

.categorycard__hint {
  margin: 0;
  padding: 0 1.35rem;
  font-size: 0.88rem;
  line-height: 1.5;
  color: #64748b;
}

.categorycard__meta {
  margin: 0;
  margin-top: auto;
  padding: 1rem 1.35rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  font-size: 0.82rem;
}

.categorycard__count {
  font-weight: 600;
  color: #475569;
}

.categorycard__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 700;
  color: var(--theme-accent-color, #8a7355);
}

.categorycard__cta-arrow {
  display: inline-block;
  width: 0.35rem;
  height: 0.35rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
  margin-bottom: 2px;
}

@media (max-width: 900px) {
  .categorycard .categoryContent h3,
  .categorycard__heading {
    padding: 16px 12px;
    font-size: 16px;
  }

  .categorycard--premium .categorycard__heading {
    padding: 1rem 1.1rem 0.25rem;
    font-size: 1.1rem;
  }

  .categorycard__hint {
    padding: 0 1.1rem;
  }

  .categorycard__meta {
    padding: 0.85rem 1.1rem 1rem;
  }
}

.categorycard:hover .categoryContent .backgroundImg img {
  transform: scale(1.05);
}

.categorycard:hover .categoryContent h3,
.categorycard:hover .categorycard__heading {
  color: #8a7355;
}

.categorycard--premium:hover .categorycard__heading {
  color: var(--theme-accent-color, #8a7355);
}

@media (max-width: 1024px) {
  .categoriesPage .categoryCardsContent {
    grid-template-columns: repeat(3, 1fr);
  }

  .categoriesPage .categoryCardsContent.categoryCardsContent--premium {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .categoriesPage {
    margin-top: calc(110px + 2rem);
  }

  .page-bloglar .categoriesPage {
    margin-top: 0;
  }

  .categoriesPage .container {
    gap: 3rem;
  }

  .categoriesPage .categoryCardsContent {
    grid-template-columns: repeat(2, 1fr);
  }

  .categoriesPage .categoryCardsContent.categoryCardsContent--premium {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 500px) {
  .categoriesPage {
    margin-top: calc(110px + 2rem);
    margin-bottom: -2rem;
  }

  .page-bloglar .categoriesPage {
    margin-top: 0;
    margin-bottom: 0;
  }
}

/* ——— Blog kategori şablonu (blog-kategori.html) ——— */

.page-blog-kategori {
  padding-bottom: 3rem;
}

.blogCategoryError {
  margin: calc(140px + 2rem) auto 0;
  max-width: 640px;
  padding: 1.5rem;
  text-align: center;
  background: #fff8f5;
  border: 1px solid #f0e0d8;
  border-radius: 12px;
}

.blogCategoryError__text {
  margin: 0 0 1rem;
  color: #333;
}

.blogCategoryError__link {
  color: var(--theme-accent-color, #8a7355);
  font-weight: 600;
  text-decoration: underline;
}

.blogListPage {
  margin-top: calc(140px + 0.5rem);
}

.blogListPage .categoryName {
  position: relative;
  width: 100%;
  min-height: 260px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.blogListPage .categoryName > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.blogListPage .categoryName .background {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(15, 23, 42, 0.45) 0%,
    rgba(15, 23, 42, 0.65) 100%
  );
  pointer-events: none;
}

.blogListPage .categoryName .categoryName__container {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-bottom: 2.5rem;
  padding-top: 3rem;
}

.blog-cat-banner-eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
}

.blogListPage .bannerText .title h1 {
  margin: 0;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}

.blog-cat-banner-tagline {
  margin: 0.65rem 0 0;
  max-width: 36rem;
  font-size: 1rem;
  line-height: 1.55;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
}

.blogListPage__inner {
  padding-top: 2.5rem;
  padding-bottom: 2rem;
}

.blogListPage .contentProjeler {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}

.sidebarBlog__section {
  background: linear-gradient(165deg, #ffffff 0%, #faf8f5 100%);
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(15, 23, 42, 0.07);
  border: 1px solid rgba(15, 23, 42, 0.06);
  padding: 1.35rem 1.1rem;
}

.sidebarBlog__title h3 {
  margin: 0 0 0.5rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #64748b;
}

.sidebarBlog__title hr {
  margin: 0 0 1rem;
  border: none;
  border-top: 1px solid #e8eaef;
}

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

.sidebarBlog__categoryStart {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
}

.sidebarBlog__categoryItem {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.55rem 0.45rem;
  text-decoration: none;
  color: #475569;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 10px;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.sidebarBlog__postCount {
  flex-shrink: 0;
  min-width: 1.6rem;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.06);
  color: #475569;
}

.sidebarBlog__categoryItem--active .sidebarBlog__postCount {
  background: rgba(138, 115, 85, 0.2);
  color: #3d3428;
}

.sidebarBlog__categoryItem:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.sidebarBlog__categoryItem--active {
  color: var(--theme-accent-color, #8a7355);
  background: rgba(138, 115, 85, 0.1);
  box-shadow: inset 0 0 0 1px rgba(138, 115, 85, 0.2);
}

.sidebarBlog__categoryBullet {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.5;
  flex-shrink: 0;
}

.sidebarBlog__categoryItem--active .sidebarBlog__categoryBullet {
  opacity: 1;
}

.sidebarBlog__categoryDivider {
  margin: 0.35rem 0 0.15rem;
  border: none;
  border-top: 1px solid #f1f5f9;
}

.contentProjelerRight {
  min-width: 0;
}

.ListBlog .title .titleContent {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.ListBlog .title .titleContent h3 {
  margin: 0;
  font-weight: 700;
  color: #1e293b;
}

.ListBlog .title hr {
  margin: 0.75rem 0 0;
  border: none;
  border-top: 1px solid #e8eaef;
}

.blogCatFilterBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem;
  border: none;
  background: transparent;
  color: #64748b;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}

.blogCatFilterBtn:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.filterIconContent {
  display: none;
}

.iconFilter {
  fill: currentColor;
}

.ListBlog .list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.blogCategoryEmpty {
  grid-column: 1 / -1;
  padding: 2.5rem 1rem;
  text-align: center;
  color: #64748b;
  background: #f8fafc;
  border-radius: 12px;
  border: 1px dashed #e2e8f0;
}

/* award-card — blog kartları */
.award-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.07);
  border: 1px solid rgba(15, 23, 42, 0.06);
  transition: box-shadow 0.25s ease, transform 0.2s ease, border-color 0.2s ease;
  color: inherit;
}

.award-card:hover {
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.11);
  transform: translateY(-4px);
  border-color: rgba(138, 115, 85, 0.18);
}

.award-card__image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #f1f5f9;
}

.award-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.award-card:hover .award-card__image img {
  transform: scale(1.04);
}

.award-card__content {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.1rem 1.15rem 1.25rem;
  gap: 0.5rem;
}

.award-card__badge {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  font-size: 0.78rem;
  color: #64748b;
}

.award-card__badge span:last-child {
  color: var(--theme-accent-color, #8a7355);
  font-weight: 600;
}

.award-card__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  color: #0f172a;
}

.award-card__desc {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: #475569;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.award-card__btn {
  margin-top: auto;
  padding-top: 0.5rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--theme-accent-color, #8a7355);
}

/* Sayfalama */
.blogListPage .paginate {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
}

.blogListPage .paginate li {
  list-style: none;
}

.blogListPage .paginate a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 0.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  color: #475569;
  background: #f1f5f9;
  transition: background 0.2s, color 0.2s;
}

.blogListPage .paginate a:hover:not(.activePageLink) {
  background: #e2e8f0;
  color: #0f172a;
}

.blogListPage .paginate li.activePage a,
.blogListPage .paginate .activePageLink {
  background: var(--theme-accent-color, #8a7355);
  color: #fff;
}

.blogListPage .paginate li.prevButton a,
.blogListPage .paginate li.nextButton a {
  min-width: 2.5rem;
}

.blogListPage .paginate li.disabled a {
  opacity: 0.35;
  pointer-events: none;
  cursor: default;
}

@media (max-width: 1024px) {
  .blogListPage .contentProjeler {
    grid-template-columns: minmax(200px, 260px) minmax(0, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 900px) {
  .blogListPage {
    margin-top: calc(110px + 0.5rem);
  }

  .blogCategoryError {
    margin-top: calc(110px + 1.5rem);
  }

  .filterIconContent {
    display: flex;
  }

  .blogListPage .contentProjeler {
    grid-template-columns: 1fr;
  }

  .sidebarBlog {
    order: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.35s ease, opacity 0.25s ease;
    margin-bottom: 0;
  }

  .sidebarBlog.sidebarBlog--mobile-open {
    max-height: 1200px;
    opacity: 1;
    margin-bottom: 0.5rem;
  }

  .contentProjelerRight {
    order: 1;
  }
}

@media (max-width: 500px) {
  .blogListPage .categoryName {
    min-height: 180px;
  }

  .ListBlog .list {
    grid-template-columns: 1fr;
  }
}

/* ——— Blog yazı detay (blog-yazi.html) ——— */

.page-blog-yazi {
  padding-bottom: 3rem;
}

.blogDetay {
  margin-top: calc(140px + 1rem);
}

.blogDetay__breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  font-size: 0.88rem;
  margin-bottom: 1.75rem;
  color: #64748b;
}

.blogDetay__breadcrumb a {
  color: var(--theme-accent-color, #8a7355);
  text-decoration: none;
  font-weight: 500;
}

.blogDetay__breadcrumb a:hover {
  text-decoration: underline;
}

.blogDetay__breadcrumb span {
  color: #0f172a;
  font-weight: 600;
  max-width: 100%;
}

.blogDetay__breadcrumbIcon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  fill: #94a3b8;
}

.blogDetay__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 300px);
  gap: 2.5rem;
  align-items: start;
}

.blogDetay__main {
  min-width: 0;
}

.blogDetay__category {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--theme-accent-color, #8a7355);
  margin-bottom: 0.65rem;
}

.blogDetay__title {
  margin: 0 0 1.25rem;
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 800;
  line-height: 1.25;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.blogDetay__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  align-items: center;
  margin-bottom: 1.75rem;
}

.blogDetay__date {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  color: #475569;
}

.blogDetay__tags {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.65rem;
  font-size: 0.88rem;
  color: #475569;
}

.blogDetay__metaIcon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  fill: currentColor;
  opacity: 0.85;
}

.blogDetay__tag {
  color: #64748b;
  font-weight: 500;
}

.blogDetay__coverImage {
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 1.5rem;
  background: #f1f5f9;
  aspect-ratio: 16 / 9;
}

.blogDetay__coverImage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blogDetay__quote {
  margin: 0 0 1.75rem;
  padding: 1.15rem 1.25rem 1.15rem 1.1rem;
  border-left: 4px solid var(--theme-accent-color, #8a7355);
  background: #f8fafc;
  border-radius: 0 10px 10px 0;
  font-size: 1.05rem;
  line-height: 1.6;
  color: #334155;
}

.blogDetay__quote p {
  margin: 0;
}

.blogDetay__content {
  font-size: 1rem;
  line-height: 1.75;
  color: #334155;
}

.blogDetay__content h2 {
  margin: 2rem 0 0.85rem;
  font-size: 1.35rem;
  font-weight: 700;
  color: #0f172a;
}

.blogDetay__content h2:first-child {
  margin-top: 0;
}

.blogDetay__content h3 {
  margin: 1.5rem 0 0.65rem;
  font-size: 1.12rem;
  font-weight: 700;
  color: #1e293b;
}

.blogDetay__content p {
  margin: 0 0 1rem;
}

.blogDetay__content ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.blogDetay__content li {
  margin-bottom: 0.35rem;
}

.blogDetay__content li p {
  margin: 0;
}

.blogDetay__content strong {
  color: #0f172a;
}

.blogDetay__sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.blogDetay__sidebarSection {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  padding: 1.25rem 1rem;
}

.blogDetay__sidebarTitle h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: #1e293b;
}

.blogDetay__sidebarTitle hr {
  margin: 0 0 1rem;
  border: none;
  border-top: 1px solid #e8eaef;
}

.blogDetay__sidebarPosts {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.blogDetay__sidebarEmpty {
  margin: 0;
  font-size: 0.92rem;
  color: #64748b;
}

.blogDetay__sidebarPost {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.5rem 0;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid #f1f5f9;
  transition: color 0.2s;
}

.blogDetay__sidebarPost:last-child {
  border-bottom: none;
}

.blogDetay__sidebarPost:hover .blogDetay__sidebarPostTitle {
  color: var(--theme-accent-color, #8a7355);
}

.blogDetay__sidebarPostTitle {
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.35;
  color: #0f172a;
}

.blogDetay__sidebarPostDate {
  font-size: 0.78rem;
  color: #94a3b8;
}

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

.blogDetay__categoryStart {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
}

.blogDetay__sidebarCatItem {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.5rem 0.35rem;
  text-decoration: none;
  color: #475569;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}

.blogDetay__sidebarPostCount {
  flex-shrink: 0;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.06);
  color: #475569;
}

.blogDetay__sidebarCatItem--active .blogDetay__sidebarPostCount {
  background: rgba(138, 115, 85, 0.2);
  color: #3d3428;
}

.blogDetay__sidebarCatItem:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.blogDetay__sidebarCatItem--active {
  color: var(--theme-accent-color, #8a7355);
  background: rgba(138, 115, 85, 0.1);
}

.blogDetay__sidebarCatBullet {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.5;
  flex-shrink: 0;
}

.blogDetay__sidebarCatItem--active .blogDetay__sidebarCatBullet {
  opacity: 1;
}

@media (max-width: 1024px) {
  .blogDetay__layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .blogDetay__sidebar {
    order: 2;
  }
}

@media (max-width: 900px) {
  .blogDetay {
    margin-top: calc(110px + 1rem);
  }

  .page-blog-yazi .blogCategoryError {
    margin-top: calc(110px + 1rem);
  }
}

@media (max-width: 500px) {
  .blogDetay__breadcrumb {
    font-size: 0.82rem;
  }
}
