.vdm-news-form-wrap,
.vdm-news-list,
.vdm-news-empty,
.vdm-news-message {
  box-sizing: border-box;
}

.vdm-news-form-wrap *,
.vdm-news-list * {
  box-sizing: border-box;
}

.vdm-news-form-wrap {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  padding: 26px;
  border: 1px solid #e5e7eb;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 14px 40px rgba(15, 23, 42, .08);
  color: #17201a;
}

.vdm-news-form-head {
  margin-bottom: 22px;
}

.vdm-news-kicker {
  display: inline-block;
  margin-bottom: 7px;
  color: #2e7d4f;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.vdm-news-form-head h2 {
  margin: 0 0 7px;
  color: #17201a;
  font-size: clamp(25px, 4vw, 36px);
  line-height: 1.08;
}

.vdm-news-form-head p {
  margin: 0;
  color: #647067;
}

.vdm-news-form {
  display: grid;
  gap: 18px;
}

.vdm-news-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.vdm-news-field {
  min-width: 0;
}

.vdm-news-field label {
  display: block;
  margin-bottom: 7px;
  color: #17201a;
  font-size: 14px;
  font-weight: 750;
}

.vdm-news-field input[type="text"],
.vdm-news-field input[type="file"],
.vdm-news-field textarea,
.vdm-news-field select {
  display: block;
  width: 100%;
  max-width: 100%;
  min-height: 48px;
  margin: 0;
  padding: 11px 13px;
  border: 1px solid #d8dfda;
  border-radius: 12px;
  background: #fff;
  color: #17201a;
  font: inherit;
  outline: none;
}

.vdm-news-field textarea {
  min-height: 170px;
  resize: vertical;
}

.vdm-news-field input:focus,
.vdm-news-field textarea:focus,
.vdm-news-field select:focus {
  border-color: #2e7d4f;
  box-shadow: 0 0 0 3px rgba(46, 125, 79, .12);
}

.vdm-news-field small {
  display: block;
  margin-top: 6px;
  color: #78827b;
  font-size: 12px;
}

.vdm-news-submit {
  min-height: 50px;
  padding: 12px 20px;
  border: 0;
  border-radius: 12px;
  background: #2e7d4f;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .18s ease, filter .18s ease;
}

.vdm-news-submit:hover {
  filter: brightness(.95);
  transform: translateY(-1px);
}

.vdm-news-message,
.vdm-news-empty {
  width: 100%;
  max-width: 860px;
  margin: 14px auto;
  padding: 13px 15px;
  border-radius: 12px;
  background: #f3f5f4;
  color: #26332b;
}

.vdm-news-message--success {
  border: 1px solid #b9dec8;
  background: #edf8f1;
  color: #1c633b;
}

.vdm-news-message--warning {
  border: 1px solid #ead7a1;
  background: #fff9e8;
  color: #715914;
}

.vdm-news-message--error {
  border: 1px solid #e8b8b8;
  background: #fff1f1;
  color: #8d2e2e;
}

.vdm-news-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  width: 100%;
}

.vdm-news-card {
  overflow: hidden;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(15, 23, 42, .06);
}

.vdm-news-card__image {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #edf3ef;
  text-decoration: none;
}

.vdm-news-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vdm-news-card__placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: #2e7d4f;
  font-size: 38px;
  font-weight: 900;
}

.vdm-news-card__body {
  padding: 18px;
}

.vdm-news-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 10px;
}

.vdm-news-type,
.vdm-news-tag {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
}

.vdm-news-type {
  background: #eaf5ee;
  color: #256641;
}

.vdm-news-type.is-tournament {
  background: #17201a;
  color: #fff;
}

.vdm-news-tag {
  background: #f1f3f2;
  color: #59635c;
}

.vdm-news-card h3 {
  margin: 0 0 9px;
  color: #17201a;
  font-size: 20px;
  line-height: 1.22;
}

.vdm-news-card h3 a {
  color: inherit;
  text-decoration: none;
}

.vdm-news-card p {
  margin: 0 0 14px;
  color: #667068;
  font-size: 14px;
  line-height: 1.55;
}

.vdm-news-more {
  color: #2e7d4f;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 900px) {
  .vdm-news-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .vdm-news-form-wrap {
    padding: 19px;
    border-radius: 16px;
  }

  .vdm-news-grid,
  .vdm-news-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .vdm-news-field input[type="file"] {
    padding: 9px;
  }
}
