/* Generated by tools/derive-polo-css.py from themes/theme1/css/visa-passport.css - edit theme1 and re-run, not this file. */


.vp-section {
  position: relative;
  left: 50%;
  right: 50%;
  width: 100vw;
  margin-left: -50vw;
  margin-right: -50vw;
  padding: 4.5rem 0 5rem;
  background: #0860a8;
  overflow: hidden;
}


.vp-guilloche {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.09;
  background-image: none;
}

.vp-inner {
  position: relative;
  z-index: 1;
}


.vp-heading {
  max-width: 640px;
  margin-bottom: 2.75rem;
  color: #fff;
}

.vp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-gold-bright, #e0b955);
  margin-bottom: 0.75rem;
}

.vp-eyebrow-line {
  display: block;
  width: 34px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.vp-heading h2 {
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif ;
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 0.6rem;
}

.vp-heading p {
  font-size: 0.97rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
}


.vp-grid {
  display: grid;
  
  grid-template-columns: repeat(auto-fit, minmax(min(310px, 100%), 1fr));
  gap: 1.5rem;
}

.vp-card {
  position: relative;
  display: flex;
  flex-direction: column;
  
  background: #fdfbf6;
  border-radius: 0.9rem;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  box-shadow:
    0 18px 40px rgba(4, 12, 26, 0.34),
    0 2px 0 rgba(255, 255, 255, 0.5) inset;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.vp-card:hover,
.vp-card:focus-visible {
  transform: translateY(-5px);
  color: inherit;
  text-decoration: none;
  box-shadow:
    0 28px 56px rgba(4, 12, 26, 0.46),
    0 2px 0 rgba(255, 255, 255, 0.6) inset;
}


.vp-spine {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 12px;
  background: linear-gradient(rgba(8,96,168,0.06), rgba(8,96,168,0.06));
  background-size: 100% 100%, 3px 100%;
  background-repeat: no-repeat, repeat-y;
  background-position: 0 0, 4px 0;
}


.vp-head {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1.1rem 0.7rem 1.6rem;
  border-bottom: 1px solid rgba(8, 96, 168, 0.09);
}

.vp-crest {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  flex: none;
  border-radius: 50%;
  background: var(--brand-navy, #0860a8);
  color: var(--brand-gold-bright, #e0b955);
  box-shadow: 0 3px 8px rgba(8, 96, 168, 0.35);
}

.vp-crest .icon {
  width: 15px;
  height: 15px;
}

.vp-doc {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.vp-doc-type {
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-navy, #0860a8);
}

.vp-doc-issuer {
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  color: #8b8069;
}


.vp-photo {
  position: relative;
  aspect-ratio: 16 / 9;
  margin: 0.85rem 1.1rem 0 1.6rem;
  border-radius: 0.5rem;
  background-size: cover;
  background-position: center;
  background-color: #e6e0d2;
  
  filter: saturate(0.92) contrast(1.02);
  box-shadow: 0 2px 10px rgba(8, 96, 168, 0.2) inset;
}


.vp-stamp {
  position: absolute;
  right: -8px;
  bottom: -14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  width: 104px;
  height: 104px;
  padding: 0.4rem;
  border-radius: 50%;
  text-align: center;
  color: #074b84;
  border: 2px solid currentColor;
  
  box-shadow: 0 0 0 1px rgba(23, 69, 127, 0.35) inset;
  background: none;
  transform: rotate(-13deg);
  
  opacity: 0.88;
  transition: transform 0.28s ease, opacity 0.22s ease;
}

.vp-card:hover .vp-stamp {
  transform: rotate(-7deg) scale(1.04);
  opacity: 1;
}

.vp-stamp-top,
.vp-stamp-bottom {
  font-size: 0.53rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.85;
}

.vp-stamp-main {
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}


.vp-body {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: 1.15rem 1.1rem 1rem 1.6rem;
  flex: 1;
}

.vp-country {
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif ;
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--brand-navy, #0860a8);
}

.vp-fields {
  display: flex;
  gap: 1.75rem;
  padding-top: 0.15rem;
}

.vp-field {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.vp-field-label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: #8b8069;
}

.vp-field-value {
  font-size: 1rem;
  font-weight: 700;
  color: var(--brand-navy, #0860a8);
}

.vp-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: auto;
  padding-top: 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #074b84;
}

.vp-cta .icon {
  width: 13px;
  height: 13px;
  transition: transform 0.15s ease;
}

.vp-card:hover .vp-cta .icon {
  transform: translateX(3px);
}


.vp-mrz {
  padding: 0.5rem 1.1rem 0.55rem 1.6rem;
  background: #efe9dc;
  border-top: 1px dashed rgba(8, 96, 168, 0.18);
  font-family: "Courier New", Courier, monospace;
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(8, 96, 168, 0.62);
  
  white-space: nowrap;
  overflow: hidden;
}


@media (max-width: 575.98px) {
  .vp-section {
    padding: 3.25rem 0 3.5rem;
  }

  .vp-stamp {
    width: 84px;
    height: 84px;
    right: -4px;
  }

  .vp-stamp-main {
    font-size: 0.63rem;
  }

  .vp-fields {
    gap: 1.25rem;
  }
}


@media (prefers-reduced-motion: reduce) {
  .vp-card,
  .vp-stamp,
  .vp-cta .icon {
    transition: none;
  }

  .vp-card:hover {
    transform: none;
  }

  .vp-card:hover .vp-stamp {
    transform: rotate(-13deg);
  }
}
