/**
 * Home vCard — match vsantos.info About Me panel (Kerge dark + blue accent).
 */

.home-vcard-layout .site-header,
.home-vcard-layout .site-footer,
.home-vcard-layout .theme-switcher,
.home-vcard-layout .top-bar,
.home-vcard-layout .pdiaz-top-bar {
  display: none !important;
}

body.home-vcard-layout {
  margin: 0;
  background: #000 !important;
  color: #d5d5d5;
  font-family: "Poppins", Helvetica, sans-serif;
  font-size: 14px;
  line-height: 1.85;
  overflow-x: hidden;
}

.home-vcard-layout a {
  color: #0099cc;
  text-decoration: none;
  transition: color 0.2s ease;
}

.home-vcard-layout a:hover {
  color: #006699;
}

.vs-shell {
  min-height: 100vh;
  background: #000;
}

/* Left sidebar — black, ~18–20% */
.vs-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 18%;
  min-width: 200px;
  max-width: 260px;
  z-index: 40;
  overflow: auto;
  background: #000;
  border-right: 1px solid #1a1a1a;
}

.vs-sidebar__inner {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 28px 0 20px;
}

.vs-brand {
  text-align: center;
  padding: 0 18px;
}

/* Rectangular profile photo (not circle) */
.vs-brand__photo {
  display: block;
  width: 88px;
  height: 88px;
  margin: 8px auto 16px;
  object-fit: cover;
  border-radius: 2px;
  border: 0;
  background: #222;
}

.vs-brand__name {
  margin: 0 0 4px;
  font-size: 1.35rem;
  font-weight: 600;
  color: #f5f5f5;
  line-height: 1.2;
}

.vs-brand__role {
  margin: 0;
  color: #9c9c9c;
  font-size: 0.88rem;
  font-weight: 400;
  min-height: 1.35em;
}

.vs-nav {
  padding: 28px 0 20px;
}

.vs-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.vs-nav a {
  display: block;
  position: relative;
  padding: 11px 20px;
  color: #e8e8e8 !important;
  font-size: 0.95rem;
  font-weight: 400;
  text-align: center;
  border: 0;
}

.vs-nav a:hover {
  color: #fff !important;
  background: #1a1a1a;
}

.vs-nav a.is-active {
  color: #fff !important;
  background: #2a2a2a;
}

.vs-nav a.is-active::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 2px;
  background: #0099e5;
}

.vs-social {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: auto;
  padding: 16px 12px 8px;
}

.vs-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: #333;
  color: #aaa !important;
  font-size: 0;
}

.vs-social a svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.vs-social a:hover {
  background: #0099e5;
  color: #fff !important;
}

.vs-copy {
  margin: 8px 0 0;
  padding: 0 12px;
  text-align: center;
  color: #666;
  font-size: 0.7rem;
}

.vs-menu-toggle {
  display: none;
  position: fixed;
  top: 12px;
  right: 12px;
  z-index: 60;
  width: 42px;
  height: 42px;
  border: 0;
  background: #1a1a1a;
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
}

/* Main */
.vs-main {
  margin-left: max(18%, 200px);
  min-height: 100vh;
  background: #000;
}

.vs-page {
  max-width: none;
}

/* About hero: center image | right text (sidebar is separate column) */
.vs-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  background: #111;
}

.vs-hero__fill {
  min-height: 100vh;
  background: var(--vs-hero-photo) center center / cover no-repeat;
  background-color: #111;
}

.vs-hero__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(40px, 8vw, 80px) clamp(32px, 9%, 90px);
  background: #333;
  color: #e8e8e8;
  min-height: 100vh;
}

.vs-hero__role {
  margin: 0 0 12px;
  color: #a5a5a5;
  font-size: 1.05rem;
  font-weight: 400;
  min-height: 1.4em;
}

.vs-hero__title {
  margin: 0 0 18px;
  font-size: clamp(2.1rem, 4vw, 2.85rem);
  font-weight: 600;
  line-height: 1.15;
  color: #f5f5f5;
}

.vs-hero__text p {
  margin: 0 0 0.95em;
  color: #e0e0e0;
  font-size: 0.95rem;
}

.vs-hero__text p:last-of-type {
  margin-bottom: 0;
}

.vs-hero__text a {
  color: #0099e5;
}

.vs-hero__text a:hover {
  color: #33b1ef;
}

.vs-hero__actions {
  margin-top: 28px;
}

/* Ghost Download CV like screenshot */
.vs-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 26px;
  border: 2px solid #e8e8e8;
  background: transparent;
  color: #f5f5f5 !important;
  font: inherit;
  font-weight: 500;
  font-size: 0.9rem;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.vs-btn:hover {
  border-color: #0099e5;
  color: #0099e5 !important;
  background: transparent;
}

.vs-btn--primary {
  border-color: #0099e5;
  background: #0099e5;
  color: #fff !important;
}

.vs-btn--primary:hover {
  background: #0077b3;
  border-color: #0077b3;
  color: #fff !important;
}

/* Rest of sections (keep site content below About) */
.vs-section {
  padding: clamp(36px, 5vw, 56px) clamp(20px, 4vw, 48px);
  background: #111;
  border-top: 1px solid #222;
}

.vs-section--panel {
  background: #0d0d0d;
}

.vs-block-title {
  position: relative;
  display: inline-block;
  margin: 0 0 28px;
  font-size: 1.35rem;
  font-weight: 600;
  color: #f5f5f5;
}

.vs-block-title::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  margin-top: 10px;
  background: #0099e5;
}

.vs-section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.vs-section__more {
  margin-bottom: 28px;
  color: #aaa !important;
  font-size: 0.85rem;
}

.vs-section__more:hover {
  color: #0099e5 !important;
}

.vs-what {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 36px;
}

.vs-what-item {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
}

.vs-what-item__icon {
  color: #aaa;
}

.vs-what-item__icon svg {
  width: 28px;
  height: 28px;
}

.vs-what-item h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
  color: #f5f5f5;
}

.vs-what-item p {
  margin: 0;
  color: #aaa;
  font-size: 0.92rem;
}

.vs-testimonials {
  display: grid;
  grid-template-columns: 36px 1fr 36px;
  gap: 10px;
  align-items: center;
}

.vs-testimonials__viewport {
  overflow: hidden;
}

.vs-testimonials__track {
  display: flex;
  gap: 16px;
  transition: transform 0.45s ease;
}

.vs-quote {
  flex: 0 0 calc(50% - 8px);
  margin: 0;
  padding: 22px;
  background: #222;
  border: 1px solid #333;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.vs-quote p {
  margin: 0;
  color: #ccc;
}

.vs-quote figcaption {
  margin-top: 16px;
}

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

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

.vs-testimonials__nav {
  width: 36px;
  height: 36px;
  border: 1px solid #333;
  background: #000;
  color: #f5f5f5;
  font-size: 1.25rem;
  cursor: pointer;
}

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

.vs-badge {
  display: inline-block;
  margin: 0 0 20px;
  padding: 6px 12px;
  background: rgba(0, 153, 229, 0.12);
  color: #0099e5;
  font-size: 0.8rem;
  font-weight: 600;
}

.vs-timeline {
  list-style: none;
  margin: 0;
  padding: 0 0 0 18px;
  border-left: 2px solid #333;
}

.vs-timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 16px;
  padding: 0 0 22px 22px;
}

.vs-timeline li::before {
  content: "";
  position: absolute;
  left: -24px;
  top: 8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #0099e5;
}

.vs-timeline__period {
  color: #0099e5;
  font-size: 0.85rem;
}

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

.vs-timeline span {
  color: #999;
  font-size: 0.9rem;
}

.vs-section .featured-grid {
  margin-top: 0;
}

.vs-section .featured-card {
  background: #222;
  border: 1px solid #333;
  color: #d5d5d5;
}

.vs-section .featured-card__kicker,
.vs-section .featured-card__body p,
.vs-section .featured-card__link {
  color: #aaa;
}

.vs-section .featured-card__body h3 {
  color: #f5f5f5;
}

.vs-section .featured-card:hover .featured-card__link {
  color: #0099e5;
}

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

.vs-blog-card {
  background: #222;
  border: 1px solid #333;
}

.vs-blog-card a {
  display: block;
  padding: 18px;
  color: inherit;
  height: 100%;
}

.vs-blog-card time {
  display: block;
  margin-bottom: 8px;
  color: #888;
  font-size: 0.75rem;
}

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

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

.vs-explore {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
}

.vs-explore a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  background: #222;
  border: 1px solid #333;
  color: #d5d5d5 !important;
}

.vs-explore a:hover {
  border-color: #0099e5;
}

.vs-explore strong {
  color: #f5f5f5;
}

.vs-explore span {
  color: #888;
  font-size: 0.78rem;
  font-weight: 400;
}

.vs-contact p {
  color: #aaa;
}

.vs-contact__email {
  margin: 12px 0 18px !important;
  font-size: 1.15rem;
  font-weight: 600;
}

.vs-contact__email a {
  color: #f5f5f5 !important;
}

@media (max-width: 980px) {
  .vs-what,
  .vs-blog-grid {
    grid-template-columns: 1fr;
  }

  .vs-quote {
    flex-basis: 100%;
  }

  .vs-timeline li {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

@media (max-width: 860px) {
  .vs-menu-toggle {
    display: block;
  }

  .vs-sidebar {
    width: min(86vw, 280px);
    max-width: none;
    transform: translateX(-105%);
    transition: transform 0.28s ease;
  }

  body.vs-nav-open .vs-sidebar {
    transform: translateX(0);
  }

  .vs-main {
    margin-left: 0;
  }

  .vs-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .vs-hero__fill {
    min-height: 280px;
  }
}
