.blogs-page {
  --blogs-card-image-height: 240px;

  max-width: 1240px;
  margin: 0 auto;
  padding: 48px clamp(20px, 4vw, 80px) 80px;
  box-sizing: border-box;
  background: #fff;
}

.blogs-page__layout {
  display: block;
}

.blogs-page__layout--with-nav {
  display: grid;
  grid-template-columns: 240px 1fr;
  column-gap: clamp(32px, 4vw, 56px);
  align-items: start;
}

.blogs-page__main {
  min-width: 0;
}

.blogs-page__header {
  margin-bottom: clamp(24px, 4vw, 32px);
}

.blogs-page__title {
  margin: 0;
  font-family: "Poppins", sans-serif;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  color: #1c1c1c;
}

/* Desktop: match product category sidebar */
.blogs-category-nav {
  margin: 0;
  padding-bottom: 16px;
  background: #fff;
}

.blogs-category-nav__root {
  margin: 0;
  padding: 0 0 12px;
}

.blogs-category-nav__root-link {
  display: block;
  padding: 14px 0;
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  color: #d3b574;
  text-decoration: none;
  transition: color 0.2s ease;
}

.blogs-category-nav__root-link.is-active,
.blogs-category-nav__root-link:hover {
  color: #1c1c1c;
  font-weight: 700;
}

.blogs-category-nav__divider {
  height: 4px;
  background: #1c1c1c;
  margin: 0 0 12px;
}

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

.blogs-category-nav__item {
  margin: 0;
}

.blogs-category-nav__link {
  display: block;
  padding: 12px 0;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  color: #7a7a7a;
  text-decoration: none;
  transition: color 0.2s ease;
}

.blogs-category-nav__link:hover,
.blogs-category-nav__link.is-active {
  color: #1c1c1c;
  font-weight: 600;
}

.blogs-main {
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.blogs-card {
  display: flex;
  align-items: stretch;
  flex-wrap: nowrap;
  gap: 24px;
  padding: 24px;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  box-sizing: border-box;
}

.blogs-card__image {
  flex: 0 0 280px;
  width: 280px;
  height: var(--blogs-card-image-height);
  max-width: 100%;
  border-radius: 10px;
  overflow: hidden;
}

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

.blogs-card__content {
  flex: 1 1 auto;
  min-width: 0;
  height: var(--blogs-card-image-height);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.blogs-card__title {
  margin: 0 0 10px;
  font-family: "Poppins", sans-serif;
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 700;
  line-height: 1.35;
}

.blogs-card__title a {
  color: #1c1c1c;
  text-decoration: none;
}

.blogs-card__title a:hover {
  color: #d3b574;
}

.blogs-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin: 0 0 12px;
}

.blogs-card__category {
  font-family: "Poppins", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #d3b574;
  text-decoration: none;
}

.blogs-card__category:hover {
  color: #1c1c1c;
}

.blogs-card__date {
  margin: 0;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #9a9a9a;
}

.blogs-card__excerpt {
  flex: 1;
  min-height: 0;
  margin: 0 0 16px;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.65;
  color: #666;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 7;
}

.blogs-card__cta {
  font-family: "Poppins", sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #9a9a9a;
  text-decoration: none;
}

.blogs-card__cta:hover {
  color: #d3b574;
}

.blogs-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  margin-top: 8px;
  padding-top: 8px;
}

.blogs-pagination__link {
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: #1c1c1c;
  text-decoration: none;
}

.blogs-pagination__link:hover {
  color: #d3b574;
}

.blogs-pagination__link--disabled {
  color: #bdbdbd;
  pointer-events: none;
}

.blogs-empty {
  padding: 48px 24px;
  text-align: center;
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  color: #666;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
}

.blog-show {
  max-width: 860px;
  margin: 0 auto;
  padding: 48px clamp(20px, 4vw, 80px) 80px;
  box-sizing: border-box;
  background: #fff;
}

.blog-show__header {
  margin-bottom: 28px;
}

.blog-show__breadcrumb {
  margin: 0 0 16px;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  color: #9a9a9a;
}

.blog-show__breadcrumb a {
  color: #9a9a9a;
  text-decoration: none;
}

.blog-show__breadcrumb a:hover {
  color: #d3b574;
}

.blog-show__breadcrumb-sep {
  margin: 0 8px;
}

.blog-show__title {
  margin: 0 0 12px;
  font-family: "Poppins", sans-serif;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  line-height: 1.25;
  color: #1c1c1c;
}

.blog-show__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
}

.blog-show__category {
  font-family: "Poppins", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #d3b574;
  text-decoration: none;
}

.blog-show__category:hover {
  color: #1c1c1c;
}

.blog-show__date {
  display: block;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  color: #9a9a9a;
}

.blog-show__cover {
  margin: 0 0 32px;
  border-radius: 12px;
  overflow: hidden;
}

.blog-show__cover img {
  display: block;
  width: 100%;
  height: auto;
}

.blog-show__content {
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: #444;
}

.blog-show__content h2,
.blog-show__content h3,
.blog-show__content h4 {
  margin: 1.6em 0 0.8em;
  font-family: "Poppins", sans-serif;
  color: #1c1c1c;
  line-height: 1.35;
}

.blog-show__content h2 {
  font-size: 24px;
}

.blog-show__content h3 {
  font-size: 20px;
}

.blog-show__content p,
.blog-show__content ul,
.blog-show__content ol {
  margin: 0 0 1em;
}

.blog-show__content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.blog-show__content a {
  color: #d3b574;
}

.blog-show__content blockquote {
  margin: 1.5em 0;
  padding: 12px 20px;
  border-left: 4px solid #d3b574;
  background: #fafafa;
  color: #666;
}

.blog-show__footer {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid #e5e5e5;
}

.blog-show__back {
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #1c1c1c;
  text-decoration: none;
}

.blog-show__back:hover {
  color: #d3b574;
}

.blog-share {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid #e5e5e5;
}

.blog-share__label {
  margin: 0 0 14px;
  font-family: "Poppins", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9a9a9a;
}

.blog-share__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.blog-share__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid #e5e5e5;
  border-radius: 999px;
  background: #fff;
  color: #1c1c1c;
  font-family: "Poppins", sans-serif;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
}

.blog-share__btn:hover {
  text-decoration: none;
  border-color: #d3b574;
  color: #1c1c1c;
  background: #faf8f3;
}

.blog-share__btn--facebook:hover {
  border-color: #1877f2;
  color: #1877f2;
  background: #f5f9ff;
}

.blog-share__btn--twitter:hover {
  border-color: #0f1419;
  color: #0f1419;
  background: #f5f5f5;
}

.blog-share__btn--linkedin:hover {
  border-color: #0a66c2;
  color: #0a66c2;
  background: #f5f9ff;
}

.blog-share__btn--whatsapp:hover {
  border-color: #25d366;
  color: #128c7e;
  background: #f3fdf7;
}

.blog-share__btn--telegram:hover {
  border-color: #0088cc;
  color: #0088cc;
  background: #f3f9fd;
}

.blog-share__btn--copy.is-copied {
  border-color: #d3b574;
  color: #1c1c1c;
  background: #faf8f3;
}

@media (max-width: 600px) {
  .blog-share__buttons {
    gap: 8px;
  }

  .blog-share__btn {
    flex: 1 1 calc(50% - 4px);
    min-width: 0;
  }
}

@media (max-width: 900px) {
  .blogs-page {
    padding: 40px clamp(20px, 4vw, 40px) 64px;
  }
}

/* Mobile: match product category pill buttons */
@media (max-width: 768px) {
  .blogs-page {
    padding: 24px 16px 48px;
  }

  .blogs-page__layout,
  .blogs-page__layout--with-nav {
    display: block;
  }

  .blogs-category-nav {
    padding-bottom: 0;
    background: transparent;
    margin: 0 0 16px;
  }

  .blogs-category-nav__root {
    padding-bottom: 10px;
  }

  .blogs-category-nav__root-link {
    padding: 0;
    font-size: 18px;
    font-weight: 700;
    color: #1c1c1c;
  }

  .blogs-category-nav__root-link.is-active,
  .blogs-category-nav__root-link:hover {
    font-weight: 700;
  }

  .blogs-category-nav__bar {
    margin: 0 -16px 0;
    padding: 0 16px 12px;
  }

  .blogs-category-nav__divider {
    margin-bottom: 12px;
  }

  .blogs-category-nav__list {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0 2px 4px;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .blogs-category-nav__list::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
  }

  .blogs-category-nav__item {
    flex: 0 0 auto;
  }

  .blogs-category-nav__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border: 1px solid #d3b574;
    border-radius: 999px;
    background: #fff;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.3;
    color: #1c1c1c;
    white-space: nowrap;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  }

  .blogs-category-nav__link:hover,
  .blogs-category-nav__link.is-active {
    background: #1c1c1c;
    border-color: #1c1c1c;
    color: #fff;
    font-weight: 500;
  }

  .blogs-page__header {
    margin-bottom: 24px;
  }

  .blogs-page__title {
    font-size: 22px;
  }
}

@media (max-width: 600px) {
  .blogs-page {
    padding: 32px 20px 48px;
  }

  .blogs-card {
    flex-wrap: wrap;
    padding: 18px;
    gap: 18px;
  }

  .blogs-card__image {
    flex: 1 1 100%;
    width: 100%;
    height: 200px;
  }

  .blogs-card__content {
    height: auto;
    overflow: visible;
    justify-content: flex-start;
  }

  .blogs-card__excerpt {
    flex: none;
    display: block;
    overflow: visible;
    -webkit-line-clamp: unset;
  }

  .blogs-pagination {
    gap: 20px;
  }
}
