@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --bp-text: #111315;
  --bp-subtle: #6b7280;
  --bp-border: #e5e7eb;
  --bp-bg: #ffffff;
  --bp-shadow: 0 25px 45px rgba(15, 23, 42, 0.08);
  --bp-radius: 24px;
}


@media (min-width: 769px),
print {
  .page-layout-2columns-right .column.main {
    width: 100%;
  }
}

/*  base nya  */
.blogpage {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bp-bg);
  color: var(--bp-text);
}

.container {
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;

}

.columns .column.main {
  padding-bottom: 0px;
}

/*  tmpt banner  */
.blog-title {
  margin: 0 0 6px;
  font-size: 25px;
  line-height: 1.15;
  font-weight: 800;
  text-align: center;
  padding-top: 2rem;
}

.blog-subtitle {
  margin: 0;
  color: var(--bp-subtle);
  font-size: clamp(14px, 2vw, 17px);
  max-width: 640px;
  text-align: center;
  padding-bottom: 4rem;
}

.bp-banner__media {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  border-radius: var(--bp-radius);
  box-shadow: var(--bp-shadow);
}

.bp-banner__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bp-banner__overlay {
  position: auto;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.2) 65%);
}

/*  Banner di bawah   */
.blog-bottom-banner {
  padding: 16px 0 40px;
}

.blog-bottom-banner__inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.blog-bottom-banner__frame {
  display: block;
  background: #fff;
  border: 1px solid var(--bp-border);
  border-radius: 16px;
  box-shadow: var(--bp-shadow);
  padding: 16px;
}

.blog-bottom-banner__img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

/* toolbar tmpt all post, footwear dll  */
.bp-toolbar {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 6rem 16px 16px;
  border-radius: 20px;
  margin-bottom: 26px;
}

.bp-tab-carousel {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 24rem;
  max-width: 38rem;
}

.bp-tab-window {
  position: relative;
  flex: 1 1 auto;
  overflow-x: auto;
  overflow-y: visible;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.bp-tab-window::-webkit-scrollbar {
  display: none;
}

.bp-tab-carousel.is-scrollable:not(.is-at-start) .bp-tab-window::before,
.bp-tab-carousel.is-scrollable:not(.is-at-end) .bp-tab-window::after {
  opacity: 1;
}

.bp-tab-btn {
  width: 44px;
  height: 44px;
  color: black;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.bp-tab-btn:focus,
.bp-tab-btn:active,
.bp-tab-btn:hover,
.bp-tab-btn {
  outline: none;
  background: none;
  box-shadow: none;
  border: none;
}

.bp-tab-btn::after {
  content: '';
  position: absolute;
  inset: 2px;
  pointer-events: none;
  outline: none;
  background: none;
  box-shadow: none;
  border: none;
}

.bp-tab-carousel:not(.is-scrollable) .bp-tab-btn {
  opacity: 0;
  pointer-events: none;
}

.navbar-tab {
  display: flex;
  flex-wrap: nowrap;
  gap: 28px;
  border-bottom: 1px solid var(--bp-border);
  padding-bottom: 10px;
  margin: 0;
  min-width: max-content;
}

.category-tab {
  position: relative;
  display: inline-flex;
  align-items: center;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  color: #374151;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  padding-bottom: 4px;
  transition: color 0.2s ease;
}

.category-tab::after,
.category-tab::before {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  border-radius: 999px;
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.category-tab::before {
  bottom: -11px;
  background: rgba(17, 24, 39, 0.25);
}

.category-tab::after {
  bottom: -11px;
  background: black;
  box-shadow: 0 6px 16px rgba(15, 122, 104, 0.35);
}

.category-tab:hover {
  background: none;
  border: none;
}

.category-tab:hover::after {
  transform: scaleX(1);
}

.category-tab:hover::before {
  transform: scaleX(1);
}

.category-tab.is-active {
  color: #111827;
  font-weight: 800;
}

.category-tab.is-active::after,
.category-tab.is-active::before {
  transform: scaleX(1);
}

.category-tab:focus,
.category-tab:active {
  outline: none;
  background: none;
  box-shadow: none;
  border: none;
}


.bp-sort {
  display: flex;
  align-items: center;
  gap: 8px;
}

.bp-sort__label {
  font-size: 13px;
  color: var(--bp-subtle);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.bp-sort__label::before {
  content: '';
  width: 28px;
  height: 28px;
  margin-right: -1.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='16' viewBox='0 0 12 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8.5 3.25v9.5m0 0L11 10.5m-2.5 2.25L6 10.5M3.5 12.75v-9.5m0 0L1 5.5m2.5-2.25L6 5.5' stroke='%230f172a' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.bp-sort__select {
  border: 1px solid #d1d5db;
  background-color: #fff;
  border-radius: 999px;
  font-size: 13px;
  min-width: 160px;
  padding-left: 2.5rem;
  color: #111827;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  line-height: 1.2;
  font-weight: 600;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='7' viewBox='0 0 12 7' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5l5 4 5-4' stroke='%230f172a' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.bp-sort__select:focus-visible {
  outline: none;
  border-color: #0f7a68;
  box-shadow: 0 14px 32px rgba(15, 122, 104, 0.2);
}

.bp-sort__select option {
  font-weight: 500;
  color: #111827;
}

/* post */
.bp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  padding-bottom: 18px;
}

.bp-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--bp-border);
  border-radius: 18px;
  box-shadow: var(--bp-shadow);
  overflow: hidden;
  transition: all 0.2s ease;
}

.bp-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 55px rgba(15, 23, 42, 0.14);
}

.bp-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #f3f4f6;
}

.bp-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bp-card__tags {
  position: absolute;
  left: 16px;
  bottom: 16px;
  width: calc(100% - 32px);
  z-index: 2;
  pointer-events: auto;
}

.bp-chip-window {
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
  width: 100%;
  padding: 4px 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
  outline: transparent;
  background: transparent;
  box-shadow: transparent;
  border: transparent;
}

.bp-chip-window::-webkit-scrollbar {
  display: none;
}

.bp-card__tags.is-scrollable:not(.is-at-start) .bp-chip-window::before,
.bp-card__tags.is-scrollable:not(.is-at-end) .bp-chip-window::after {}

.bp-chip-window.is-dragging {
  cursor: grabbing;
  user-select: none;
}

.bp-chip-track {
  display: inline-flex;
  gap: 8px;
  min-width: max-content;
  padding-right: 8px;
}

.bp-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #0f172a;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  padding: 6px 16px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(6px);
}

.bp-card__body {
  position: relative;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 170px;
  background: linear-gradient(180deg, #ffffff 0%, #f6f8fb 100%);
}

.bp-card__title {
  font-weight: 700;
  font-size: 20px;
  line-height: 1.3;
  color: #0f172a;
  text-decoration: none;
  letter-spacing: -0.01em;
  transition: color 0.2s ease;
}

.bp-card__title:hover {
  color: #0f7a68;
  text-decoration: none;
}



.bp-card__excerpt {
  color: var(--bp-subtle);
  font-size: 14px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bp-card__meta {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px 18px;
  border-top: 1px solid var(--bp-border);
}

.bp-card__date {
  color: #4b5563;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.bp-card__read {
  color: #0f7a68;
  font-weight: 700;
  font-size: 12px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s ease, letter-spacing 0.2s ease;
}

.bp-card__read::after {
  content: '>';
  font-size: 13px;
  transition: transform 0.2s ease;
}

.bp-card__read:hover {
  gap: 8px;
  letter-spacing: 0.24em;
}

.bp-card__read:hover::after {
  transform: translateX(2px);
}

.bp-empty {
  padding: 40px 0;
  text-align: center;
  color: var(--bp-subtle);
  font-weight: 600;
}

.hiddenGrid {
  display: none !important;
}

/* tombol SEE MORE */
.bp-more {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 10px 0 40px;
  font-size: 14px;
  color: var(--bp-subtle);
}

.bp-more__btn {
  border: none;
  background: #111827;
  color: #fff;
  border-radius: 999px;
  padding: 8px 50px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.bp-more__btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.bp-more__visible {
  font-weight: 700;
  color: var(--bp-text);
}

/*  Reponsif  */
@media (max-width: 991px) {
  .bp-banner__media {
    min-height: auto;
  }

  .bp-sort {
    width: 100%;
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .bp-banner__media {
    min-height: auto;
  }

  .bp-card__body {
    min-height: auto;
  }

  .bp-card__meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .bp-sort {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}
