.sjm-main {
  min-height: 60vh;
  padding: 64px 0 80px;
  background: #fffaf5;
}

.sjm-container {
  width: min(calc(100% - 32px), 1120px);
  margin-inline: auto;
}

.sjm-page-header {
  max-width: 760px;
  margin: 0 auto 36px;
  text-align: center;
}

.sjm-page-header h1,
.sjm-single h1 {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.4;
}

.sjm-page-header p {
  color: #6f6964;
}

.sjm-eyebrow {
  margin: 0 0 4px;
  color: #d94f0b !important;
  font-size: 13px;
  font-weight: 800;
}

.sjm-search-box {
  margin-bottom: 42px;
  padding: 24px;
  border: 1px solid #f1d7c3;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(80, 48, 25, .1);
}

.sjm-results h2 {
  margin: 0 0 20px;
}

.sjm-results h2 span {
  color: #d94f0b;
  font-size: .7em;
}

.sjm-grid {
  display: grid;
  gap: 20px;
}

.sjm-card {
  display: grid;
  grid-template-columns: 240px 1fr;
  overflow: hidden;
  border: 1px solid #e8e1da;
  border-radius: 8px;
  background: #fff;
}

.sjm-card__image {
  display: grid;
  min-height: 220px;
  place-items: center;
  background: #fff3e8;
  color: #d94f0b;
}

.sjm-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sjm-card__image .dashicons {
  font-size: 52px;
}

.sjm-card__body {
  padding: 24px;
}

.sjm-card__body h2 {
  margin: 0;
  font-size: 24px;
}

.sjm-card__catch {
  margin: 5px 0;
  color: #d94f0b;
  font-weight: 700;
}

.sjm-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 12px 0;
}

.sjm-tags span {
  padding: 3px 8px;
  border-radius: 3px;
  background: #f3f1ef;
  color: #5b5652;
  font-size: 12px;
  font-weight: 700;
}

.sjm-empty {
  padding: 52px 20px;
  border: 1px solid #e8e1da;
  border-radius: 8px;
  background: #fff;
  text-align: center;
}

.sjm-single {
  padding: 42px;
  border: 1px solid #e8e1da;
  border-radius: 10px;
  background: #fff;
}

.sjm-single__header {
  display: grid;
  grid-template-columns: 1fr 380px;
  align-items: center;
  gap: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid #e8e1da;
}

.sjm-single__lead {
  color: #6f6964;
  font-size: 17px;
}

.sjm-single__image img,
.sjm-article__image img {
  width: 100%;
  border-radius: 8px;
}

.sjm-info-table {
  margin: 30px 0;
  border-top: 1px solid #e8e1da;
}

.sjm-info-table div {
  display: grid;
  grid-template-columns: 150px 1fr;
  border-bottom: 1px solid #e8e1da;
}

.sjm-info-table strong,
.sjm-info-table span {
  padding: 14px;
}

.sjm-info-table strong {
  background: #fffaf5;
}

.sjm-content {
  max-width: 820px;
  margin: 38px auto;
}

.sjm-content h2 {
  margin-top: 2em;
  padding: 12px 16px;
  border-left: 5px solid #f26b21;
  background: #fff3e8;
}

.sjm-content h3 {
  margin-top: 1.8em;
  border-bottom: 2px solid #f1d7c3;
}

.sjm-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 42px;
}

.sjm-column-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.sjm-column-card {
  overflow: hidden;
  border: 1px solid #e8e1da;
  border-radius: 8px;
  background: #fff;
}

.sjm-column-card img,
.sjm-column-card__placeholder {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.sjm-column-card__placeholder {
  display: grid;
  place-items: center;
  background: #fff3e8;
  color: #d94f0b;
}

.sjm-column-card__placeholder .dashicons {
  font-size: 44px;
}

.sjm-column-card__body {
  padding: 18px;
}

.sjm-column-card__body h2,
.sjm-column-card__body h3 {
  margin: 4px 0 8px;
  font-size: 19px;
  line-height: 1.55;
}

.sjm-column-card__body p,
.sjm-column-card__body time {
  color: #6f6964;
  font-size: 12px;
}

.sjm-article {
  max-width: 900px;
  padding: 42px;
  border: 1px solid #e8e1da;
  border-radius: 10px;
  background: #fff;
}

.sjm-article__image {
  margin-bottom: 30px;
}

@media (max-width: 900px) {
  .sjm-card,
  .sjm-single__header {
    grid-template-columns: 1fr;
  }

  .sjm-card__image {
    min-height: 180px;
  }

  .sjm-column-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 620px) {
  .sjm-main {
    padding: 42px 0 60px;
  }

  .sjm-column-grid {
    grid-template-columns: 1fr;
  }

  .sjm-single,
  .sjm-article {
    padding: 22px;
  }

  .sjm-info-table div {
    grid-template-columns: 1fr;
  }
}

