.os-front-articles {
  width: 100%;
  background: var(--os-article-bg, #f7f7f7);
  padding: 38px 24px 72px;
  font-family: inherit;
}

.os-front-articles-inner {
  width: 100%;
  max-width: var(--os-article-max, 960px);
  margin: 0 auto;
}

.os-front-articles-header {
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  gap: 60px;
  align-items: start;
  margin-bottom: 34px;
}

.os-front-articles-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  background: #fff;
  color: #555;
  padding: 8px 13px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  margin-bottom: 18px;
}

.os-front-articles-badge .dashicons {
  width: 15px;
  height: 15px;
  font-size: 15px;
}

.os-front-articles-header h2 {
  margin: 0;
  color: #111;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.17;
  font-weight: 400;
  letter-spacing: -1.8px;
}

.os-front-articles-header p {
  margin: 0;
  color: #565656;
  font-size: 18px;
  line-height: 1.48;
  font-weight: 400;
  max-width: 560px;
}

.os-front-articles-grid {
  display: grid;
  grid-template-columns: repeat(var(--os-article-columns, 2), minmax(0, 1fr));
  gap: 26px 34px;
}

.os-front-article-card {
  min-width: 0;
}

.os-front-article-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 8px;
  background: #e9e9e9;
  text-decoration: none !important;
}

.os-front-article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .35s ease;
}

.os-front-article-card:hover .os-front-article-image img {
  transform: scale(1.035);
}

.os-front-article-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #00a651;
  font-size: 34px;
  font-weight: 700;
  background: linear-gradient(135deg, #eef9f3, #ffffff);
}

.os-front-article-card h3 {
  margin: 12px 0 4px;
  color: #111;
  font-size: 16px;
  line-height: 1.22;
  font-weight: 700;
  letter-spacing: -0.2px;
}

.os-front-article-card h3 a {
  color: inherit !important;
  text-decoration: none !important;
}

.os-front-article-card h3 a:hover {
  color: #00a651 !important;
}

.os-front-article-date {
  color: #666;
  font-size: 13px;
  line-height: 1.2;
}

.os-front-articles-button-wrap {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}

.os-front-articles-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  height: 60px;
  padding: 0 34px;
  border-radius: 999px;
  background: #00a651;
  color: #ffffff !important;
  text-decoration: none !important;
  font-size: 16px;
  font-weight: 700;
  transition: transform .25s ease, background .25s ease;
}

.os-front-articles-button:hover {
  background: #009647;
  color: #ffffff !important;
  transform: translateY(-2px);
}

.os-front-articles-empty {
  background: #fff;
  border-radius: 14px;
  padding: 24px 28px;
  color: #555;
  font-size: 16px;
}

@media (max-width: 900px) {
  .os-front-articles-header {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .os-front-articles-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
}

@media (max-width: 640px) {
  .os-front-articles {
    padding: 28px 18px 54px;
  }

  .os-front-articles-grid {
    grid-template-columns: 1fr;
  }

  .os-front-article-card h3 {
    font-size: 15px;
  }

  .os-front-articles-button {
    width: 100%;
  }
}
