.bjc,
.bjc * {
  box-sizing: border-box;
}

.bjc {
  width: 100%;
  margin: 0;
  padding: 0;
  background: #fbfbfa;
  color: #111;
  font-family: "Montserrat", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.bjc a {
  color: inherit;
  text-decoration: none;
}

.bjc-hero {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: #001228;
  background-image: var(--bjc-bg-desktop);
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}

.bjc-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 12, 29, .18);
  pointer-events: none;
}

.bjc-hero__inner,
.bjc__inner {
  width: 100%;
  margin: 0 auto;
}

.bjc-hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
}

.bjc-hero__content {
  width: 100%;
}

.bjc-hero__title {
  margin: 0;
  padding: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 48px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: .01em;
  white-space: normal;
}

.bjc-hero__title-main { color: #fff; }
.bjc-hero__title-accent { color: #d99a27; }

.bjc-ornament,
.bjc-section-ornament {
  --bjc-gold: #d99a27;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 12px;
}

.bjc-ornament {
  width: 145px;
  margin: 10px 0 8px;
}

.bjc-ornament::before,
.bjc-ornament::after {
  content: "";
  display: block;
  width: calc(50% - 8px);
  height: 1px;
  background: var(--bjc-gold);
}

.bjc-ornament i,
.bjc-section-ornament i {
  width: 6px;
  height: 6px;
  margin: 0 5px;
  border: 1px solid var(--bjc-gold);
  transform: rotate(45deg);
  display: block;
}

.bjc-hero__description {
  max-width: 330px;
  margin: 0;
  padding: 0;
  color: #fff;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.45;
}

.bjc-layout {
  display: flex;
  align-items: flex-start;
  width: 100%;
}

.bjc-layout--no-sidebar .bjc-main {
  width: 100%;
  flex: 1 1 100%;
}

.bjc-main {
  min-width: 0;
  flex: 1 1 auto;
}

.bjc-sidebar {
  min-width: 240px;
  flex: 0 0 31%;
  border-left: 1px solid #e6e6e6;
}

.bjc-section-heading {
  width: 100%;
  text-align: center;
  margin: 0 0 17px;
}

.bjc-section-title {
  margin: 0;
  padding: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: .01em;
  text-transform: uppercase;
  color: #111820;
}

.bjc-section-ornament {
  width: 70px;
  height: 9px;
  margin-top: 4px;
}

.bjc-section-ornament::before,
.bjc-section-ornament::after {
  content: "";
  display: block;
  width: 26px;
  height: 1px;
  background: var(--bjc-gold);
}

.bjc-section-ornament i {
  width: 5px;
  height: 5px;
  margin: 0 3px;
}

.bjc-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.bjc-card {
  display: flex;
  min-width: 0;
  height: 100%;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 0;
  box-shadow: none;
  transition: border-color .18s ease, transform .18s ease;
}

.bjc-card__image-link {
  display: block;
  width: 100%;
  overflow: hidden;
  background: #071320;
}

.bjc-card__image {
  display: block;
  width: 100%;
  height: 158px;
  object-fit: cover;
  object-position: center;
  margin: 0;
  border: 0;
  transition: transform .25s ease;
}

.bjc-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 12px 12px 14px;
}

.bjc-card__category {
  margin: 0 0 7px;
  color: #c8820d;
  font-size: 9px;
  font-weight: 500;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: .015em;
}

.bjc-card__title {
  margin: 0 0 9px;
  padding: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.25;
  color: #111;
  text-transform: none;
}

.bjc-card__title a {
  color: #111;
  transition: color .18s ease;
}

.bjc-card__excerpt {
  margin: 0 0 12px;
  color: #343434;
  font-size: 10px;
  font-weight: 400;
  line-height: 1.45;
}

.bjc-card__more {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  align-self: flex-start;
  margin-top: auto;
  color: #c8820d;
  font-size: 9px;
  font-weight: 500;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: .02em;
}

.bjc-card:hover .bjc-card__image {
  transform: scale(1.015);
}

.bjc-card:hover .bjc-card__title a,
.bjc-card__more:hover {
  color: #9d6307;
}

.bjc-load-more-wrap {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 15px;
}

.bjc-load-more {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 220px;
  min-height: 34px;
  padding: 8px 26px;
  border: 1px solid #d99a27;
  border-radius: 3px;
  background: #fff;
  color: #a86e11;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 10px;
  font-weight: 500;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: .025em;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}

.bjc-load-more:hover,
.bjc-load-more:focus-visible {
  background: #d99a27;
  color: #fff;
  outline: none;
}

.bjc-load-more:disabled {
  opacity: .65;
  cursor: default;
}

.bjc-load-more__chevron {
  display: inline-block;
  font-size: 15px;
  line-height: .7;
  transform: translateY(-2px);
}

.bjc-sidebar-section {
  margin: 0;
}

.bjc-sidebar-section + .bjc-sidebar-section {
  margin-top: 26px;
}

.bjc-section-heading--sidebar {
  margin-bottom: 12px;
}

.bjc-categories {
  width: 100%;
}

.bjc-cat-row {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 38px;
  border-bottom: 1px solid #e8e8e8;
  color: #111;
}

.bjc-cat-row:first-child {
  border-top: 1px solid #f1f1f1;
}

.bjc-cat-row__icon {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  color: #061427;
  font-size: 12px;
}

.bjc-cat-row__icon svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
}

.bjc-cat-row__name {
  min-width: 0;
  color: #111;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.25;
}

.bjc-cat-row__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: end;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #d99a27;
  color: #fff;
  font-size: 8px;
  font-weight: 600;
  line-height: 1;
}

.bjc-popular-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.bjc-popular {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  width: 100%;
}

.bjc-popular__image {
  flex: 0 0 auto;
  width: 90px;
  height: 58px;
  object-fit: cover;
  object-position: center;
  background: #0a1320;
}

.bjc-popular__meta {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding-top: 1px;
}

.bjc-popular__title {
  color: #111;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.35;
}

.bjc-popular__date {
  margin-top: 5px;
  color: #4d4d4d;
  font-size: 8px;
  font-weight: 400;
  line-height: 1.2;
}

.bjc-popular:hover .bjc-popular__title,
.bjc-cat-row:hover .bjc-cat-row__name {
  color: #b5750d;
}

@media (max-width: 1024px) {
  .bjc-hero {
    background-image: var(--bjc-bg-tablet);
  }

  .bjc-layout {
    flex-direction: column;
  }

  .bjc-main,
  .bjc-sidebar {
    width: 100%;
    flex-basis: 100%;
  }

  .bjc-sidebar {
    min-width: 0;
    margin-top: 30px;
    padding-top: 27px;
    padding-left: 0 !important;
    border-left: 0;
    border-top: 1px solid #e6e6e6;
  }

  .bjc-categories {
    max-width: 680px;
    margin: 0 auto;
  }

  .bjc-popular-list {
    max-width: 680px;
    margin: 0 auto;
  }
}

@media (max-width: 767px) {
  .bjc-hero {
    background-image: var(--bjc-bg-mobile);
    background-position: 63% center;
  }

  .bjc-hero::before {
    background: rgba(0, 12, 29, .34);
  }

  .bjc-hero__title {
    font-size: 33px;
  }

  .bjc-ornament {
    width: 118px;
    margin-top: 9px;
  }

  .bjc-hero__description {
    max-width: 270px;
    font-size: 12px;
  }

  .bjc-section-heading {
    margin-bottom: 16px;
  }

  .bjc-section-title {
    font-size: 21px;
  }

  .bjc-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .bjc-card__image {
    height: 210px;
  }

  .bjc-card__category {
    font-size: 10px;
  }

  .bjc-card__title {
    font-size: 17px;
    line-height: 1.3;
  }

  .bjc-card__excerpt {
    font-size: 12px;
    line-height: 1.5;
  }

  .bjc-card__more {
    font-size: 10px;
  }

  .bjc-load-more {
    width: 100%;
    max-width: 320px;
  }

  .bjc-cat-row {
    min-height: 43px;
    grid-template-columns: 22px minmax(0, 1fr) 26px;
  }

  .bjc-cat-row__name {
    font-size: 11px;
  }

  .bjc-popular {
    gap: 11px;
  }

  .bjc-popular__image {
    width: 100px;
    height: 67px;
  }

  .bjc-popular__title {
    font-size: 11px;
  }

  .bjc-popular__date {
    font-size: 9px;
  }
}

@media (max-width: 479px) {
  .bjc-hero {
    background-position: 69% center;
  }

  .bjc-hero__title {
    font-size: 30px;
  }

  .bjc-hero__description {
    max-width: 245px;
  }

  .bjc-card__image {
    height: 190px;
  }
}
