/* Homepage category tiles with restrained gold detailing. */
html body .vs_qulit_sevtion > .container > .row {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 20px;
  margin-inline: 0;
  padding-inline: 0 !important;
}

.vs_qulit_sevtion .row > .vs_heading { grid-column: 1 / -1; }

html body .vs_qulit_sevtion .row > [class*="col-"] {
  min-width: 0;
  width: auto;
  max-width: none;
  padding: 0;
  margin-bottom: 0 !important;
}

.vs_qulit_sevtion .row > [class*="col-"] > div { height: 100%; }

html body .vs_qulit_sevtion .row > [class*="col-"] a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  height: 100%;
  min-height: 160px;
  padding: 20px 10px 16px;
  border: 1px solid rgb(192 150 73 / 28%);
  border-radius: 14px;
  background: linear-gradient(145deg, #fffefa, #fff7e9);
  box-shadow: 0 5px 15px rgb(168 120 34 / 6%);
  text-decoration: none;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}

html body .vs_qulit_sevtion .vs_qulit_img {
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  margin: 0;
  padding: 7px;
  flex-shrink: 0;
  border: 1px solid #d8b777;
  background: linear-gradient(135deg, #fffdf6, #f5e4c0);
  box-shadow: 0 3px 10px rgb(175 125 35 / 10%);
}

html body .vs_qulit_sevtion .vs_qulit_img img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  background-color: #fff;
  box-shadow: 0 1px 5px rgb(180 138 62 / 14%);
  transform: none;
}

html body .vs_qulit_sevtion a p {
  margin: 0 !important;
  color: #40372e;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.45;
  overflow-wrap: break-word;
}

html body .vs_qulit_sevtion .row > [class*="col-"] a:hover {
  border-color: #c59c55;
  box-shadow: 0 8px 20px rgb(168 120 34 / 13%);
  transform: translateY(-2px);
}

.vs_qulit_sevtion a:focus-visible { outline: 3px solid #b5832c; outline-offset: 4px; }

@media (max-width: 1199px) {
  html body .vs_qulit_sevtion > .container > .row { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
}

@media (max-width: 767px) {
  html body .vs_qulit_sevtion > .container > .row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  html body .vs_qulit_sevtion .row > [class*="col-"] a { min-height: 144px; padding: 14px 8px; gap: 12px; }
  html body .vs_qulit_sevtion .vs_qulit_img { width: 66px; height: 66px; padding: 6px; }
  html body .vs_qulit_sevtion .vs_qulit_img img { width: 50px; height: 50px; }
  html body .vs_qulit_sevtion a p { font-size: 14px; }
}

@media (max-width: 479px) {
  html body .vs_qulit_sevtion > .container > .row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  html body .vs_qulit_sevtion .row > [class*="col-"] a { transition: none; }
  html body .vs_qulit_sevtion .row > [class*="col-"] a:hover { transform: none; }
}
