.smpg-topbar{
  display:flex;
  gap:16px;
  align-items:center;
  justify-content:space-between;
  margin-bottom: 18px;
}

.smpg-search{
  width: 320px;
  max-width: 100%;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.smpg-controls{
  display:flex;
  gap:10px;
}
.smpg-excerpt {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.smpg-filter, .smpg-sort{
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background:#fff;
}

.smpg-hero{
  text-align:center;
  padding: 24px 12px;
  margin-bottom: 10px;
}
.smpg-hero h2 {
    font-size: 40px;
    margin: 0 0 8px;
    font-weight: 700;
}

.smpg-hero p{
  margin: 0 auto;
  max-width: 760px;
  color:#666;
  line-height: 1.5;
}

.smpg-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 14px;
}

@media (max-width: 980px){
  .smpg-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px){
  .smpg-topbar{ flex-direction: column; align-items: stretch; }
  .smpg-controls{ justify-content: space-between; }
  .smpg-grid{ grid-template-columns: 1fr; }
}

.smpg-card{
  background:#fff;
  border-radius: 6px;
  overflow:hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,0.04);
}

.smpg-thumb{
  display:block;
  width:100%;
  aspect-ratio: 16 / 9;
  overflow:hidden;
}
.smpg-pagination {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    margin-top: 68px;
}
.smpg-thumb img{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
}

.smpg-card-body{
  padding: 14px 14px 16px;
}

.smpg-badges{
  display:flex;
  gap:8px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.smpg-badge {
    background: #111;
    color: #fff;
    font-size: 14px;
    padding: 5px 8px;
    border-radius: 3px;
    letter-spacing: 0.2px;
    font-family: 'reg';
}

.smpg-title a{
  color:#111;
  text-decoration:none;
}

.smpg-excerpt {
    margin: 0 0 12px;
    color: #666;
    font-size: 16px;
    line-height: 1.5;
    min-height: 40px;
}
.smpg-readmore {
    font-size: 14px;
    font-weight: 700;
    color: #111;
    text-decoration: none;
    font-family: 'reg';
	letter-spacing: 2px;
}
article.smpg-card img {
    width: 100% !important;
}
.smpg-empty{
  padding: 24px;
  text-align:center;
  color:#666;
  border: 1px dashed #ddd;
  border-radius: 6px;
}
.smpg-pagination button {
    font-family: 'reg' !important;
}
.smpg-topbar {
    background: #fff;
    padding: 20px 20px;
    box-shadow: 0px 0px 9px 0px #ccc;
    border-radius: 11px ! IMPORTANT;
}
.smpg-topbar input.smpg-search {
    border: 1px solid #ddd;
    font-family: 'reg';
}
.smpg-page-numbers{
  display:flex;
  gap:6px;
  flex-wrap: wrap;
  justify-content:center;
}

.smpg-page-btn{
  border: 1px solid #ddd;
  background:#fff;
  padding: 7px 10px;
  border-radius: 4px;
  cursor:pointer;
}

.smpg-page-btn.is-active{
  background:#111;
  color:#fff;
  border-color:#111;
}

.smpg-page-btn:disabled{
  opacity: 0.5;
  cursor:not-allowed;
}