/* Extras: flags, portfolio, CV dialog, testimonial photos */

.vs-lang {
  display: flex;
  justify-content: center;
  gap: 4px;
  padding: 0 10px 14px;
  flex-wrap: wrap;
}

.vs-lang__flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  font-size: 1.05rem;
  line-height: 1;
  border-radius: 4px;
  background: #1a1a1a;
  text-decoration: none !important;
  opacity: 0.72;
  transition: opacity 0.15s, background 0.15s, transform 0.15s;
}

.vs-lang__flag:hover {
  opacity: 1;
  background: #2a2a2a;
  transform: translateY(-1px);
}

.vs-lang__flag.is-active {
  opacity: 1;
  background: #333;
  box-shadow: inset 0 0 0 1px #0099e5;
}

.vs-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

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

.vs-portfolio-card {
  display: block;
  padding: 20px;
  background: #222;
  border: 1px solid #333;
  color: inherit !important;
  transition: border-color 0.2s;
}

.vs-portfolio-card:hover {
  border-color: #0099e5;
}

.vs-portfolio-card__kicker {
  margin: 0 0 6px;
  color: #0099e5;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.vs-portfolio-card h3 {
  margin: 0 0 8px;
  color: #f5f5f5;
  font-size: 1.1rem;
}

.vs-portfolio-card p {
  margin: 0;
  color: #aaa;
  font-size: 0.9rem;
}

.vs-portfolio-card__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px !important;
}

.vs-portfolio-card__links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid #444;
  background: #1a1a1a;
  color: #f5f5f5 !important;
  font-size: 0.8rem;
  font-weight: 600;
}

.vs-portfolio-card__links a:hover {
  border-color: #0099e5;
  color: #0099e5 !important;
}

.vs-blog-note {
  margin: -12px 0 18px;
  color: #888;
  font-size: 0.9rem;
}

.vs-quote__person {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}

.vs-quote__photo {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 4px;
  background: #333;
  flex-shrink: 0;
}

.vs-quote__person strong {
  display: block;
  color: #f5f5f5;
}

.vs-quote__person span span {
  color: #888;
  font-size: 0.85rem;
}

.vs-social a[aria-label="Web"] {
  width: auto;
  min-width: 28px;
  padding: 0 8px;
  font-size: 0.65rem;
  font-weight: 600;
}

.vs-dialog {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: calc(100vw - 32px);
}

.vs-dialog::backdrop {
  background: rgba(0, 0, 0, 0.72);
}

.vs-dialog__card {
  width: min(420px, 100%);
  margin: auto;
  padding: 28px 24px;
  background: #222;
  border: 1px solid #444;
  color: #e8e8e8;
}

.vs-dialog__card h3 {
  margin: 0 0 10px;
  color: #f5f5f5;
  font-size: 1.2rem;
}

.vs-dialog__card p {
  margin: 0 0 20px;
  color: #aaa;
}

.vs-dialog__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

@media (max-width: 900px) {
  .vs-portfolio-grid {
    grid-template-columns: 1fr;
  }
}
