/* Advoke CV — Media Defaults */

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

img {
  border-style: none;
  font-style: italic;
  background-repeat: no-repeat;
  background-size: cover;
  shape-margin: 0.75rem;
}

img[width][height] {
  height: auto;
}

.img-rounded   { border-radius: var(--radius-lg); }
.img-rounded-lg{ border-radius: var(--radius-2xl); }
.img-circle    { border-radius: var(--radius-full); }

.img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.img-contain {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.aspect-square   { aspect-ratio: 1 / 1; }
.aspect-video    { aspect-ratio: 16 / 9; }
.aspect-photo    { aspect-ratio: 4 / 3; }
.aspect-portrait { aspect-ratio: 3 / 4; }
.aspect-a4       { aspect-ratio: 210 / 297; }
.aspect-letter   { aspect-ratio: 8.5 / 11; }
.aspect-wide     { aspect-ratio: 21 / 9; }

figure {
  margin: 0;
}

figcaption {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-top: var(--space-2);
  text-align: center;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: var(--font-weight-bold);
  letter-spacing: -0.02em;
  color: var(--color-text);
  transition: var(--transition-colors);
}

.brand-mark:hover {
  color: var(--color-accent-active);
}

.brand-mark__img {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-md);
  flex-shrink: 0;
  display: block;
}

.brand-mark__text {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-mark__title {
  font-size: var(--text-base);
  font-weight: var(--font-weight-bold);
  letter-spacing: -0.02em;
}

.brand-mark__sub {
  font-size: var(--text-2xs);
  font-weight: var(--font-weight-medium);
  color: var(--color-text-muted);
  letter-spacing: var(--letter-spacing-wide);
  text-transform: uppercase;
}

@media (max-width: 480px) {
  .brand-mark__sub {
    display: none;
  }
  .brand-mark__img {
    width: 28px;
    height: 28px;
  }
}