.ds-category {
  width: 100vw !important;
  max-width: none !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  overflow: hidden;
  background: #f8f3eb;
}

.ds-category-hero,
.ds-category-posts {
  width: 100vw !important;
  max-width: none !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
}

.ds-category-hero-inner {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.ds-category-kicker {
  margin: 0 0 14px;

  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;

  color: #758764;
}

.ds-category-hero h1 {
  margin: 0 0 22px;

  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.05;

  color: #21361f;
}

.ds-category-description {
  max-width: 760px;
  margin: 0 auto;

  font-size: 18px;
  line-height: 1.75;

  color: #6f675b;
}

.ds-category-posts {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 90px 20px 120px;

  background: linear-gradient(
    180deg,
    #f8f3eb 0%,
    #f4ecdf 48%,
    #fdfaf4 100%
  );
}

.ds-category-posts-inner {
  max-width: 1240px;
  margin: 0 auto;
}

.ds-category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
}

.ds-category-card {
  overflow: hidden;
  border-radius: 30px;

  background: linear-gradient(
    145deg,
    rgba(252, 249, 244, 0.98) 0%,
    rgba(246, 240, 232, 0.98) 100%
  );

  border: 1px solid rgba(140, 125, 105, 0.14);

  box-shadow:
    0 16px 42px rgba(60, 45, 25, 0.075);

  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}


.ds-category-card:hover {
  transform: translateY(-8px);
  border-color: rgba(125, 145, 104, 0.28);

  box-shadow:
    0 26px 58px rgba(60, 45, 25, 0.13);
}

.ds-category-card a {
  display: flex;
  flex-direction: column;
  height: 100%;

  text-decoration: none;
  color: inherit;
}

.ds-category-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;

  background: #efe4d6;
}

.ds-category-image img {
  display: block;
  width: 100%;
  height: 100%;

  object-fit: cover;

  transition: transform 0.6s ease;
}

.ds-category-card:hover .ds-category-image img {
  transform: scale(1.04);
}

.ds-category-content {
  padding: 28px 26px 30px;
}

.ds-category-content h2 {
  margin: 0 0 14px;

  font-size: 23px;
  line-height: 1.25;

  color: #21361f;
}

.ds-category-content p {
  margin: 0 0 24px;

  font-size: 15.5px;
  line-height: 1.7;

  color: #6f675b;
}

.ds-category-content span {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;

  color: #44613b;
}

.ds-category-pagination {
  margin-top: 70px;
  text-align: center;
}

.ds-category-pagination .nav-links {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.ds-category-pagination a,
.ds-category-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 42px;
  height: 42px;
  padding: 0 14px;

  border-radius: 999px;

  text-decoration: none;

  color: #44613b;
  background: rgba(255, 255, 255, 0.52);
  border: 1px solid rgba(125, 145, 104, 0.16);
}

.ds-category-pagination .current {
  background: #6f8a63;
  color: #fff;
}

@media (max-width: 1000px) {
  .ds-category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  .ds-category-hero {
    padding: 90px 18px 70px;
  }

  .ds-category-posts {
    padding: 70px 16px 90px;
  }

  .ds-category-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .ds-category-content {
    padding: 24px 22px 26px;
  }

  .ds-category-content h2 {
    font-size: 21px;
  }
}

body.ds-darkmode .ds-category,
body.ds-darkmode .ds-category-posts {
  background: #10180f;
}

body.ds-darkmode .ds-category-hero {
  background: #10180f;
}

body.ds-darkmode .ds-category-hero h1,
body.ds-darkmode .ds-category-content h2 {
  color: #efe3cf;
}

body.ds-darkmode .ds-category-description,
body.ds-darkmode .ds-category-content p {
  color: #d8c8ad;
}

body.ds-darkmode .ds-category-card {
  background: rgba(255, 255, 255, 0.025);
  border-color: rgba(214, 188, 120, 0.14);
}









.ds-category-breadcrumbs {
  margin: 0 0 22px;
  font-size: 14px;
  color: #7a6a58;
}

.ds-category-breadcrumbs a {
  color: #5f7d55;
  text-decoration: none;
}

.ds-category-breadcrumbs a:hover {
  text-decoration: underline;
}

body.ds-darkmode .ds-category-breadcrumbs {
  color: #bfae91;
}

body.ds-darkmode .ds-category-breadcrumbs a {
  color: #d8c9a8;
}