/* MatSoft desktop vCard: large-screen layouts only.
   Preserve existing mobile/tablet V2 design, uploaded media, and card settings. */
@media screen and (min-width:1100px) {
  .pv-page:not(.pv-embedded) { padding:38px 24px 54px; }
  .pv-page:not(.pv-embedded) .pv-shell {
    width:100%; max-width:1160px; min-height:0;
    margin:0 auto; border-radius:24px; overflow:hidden;
    box-shadow:0 22px 76px rgba(13,34,33,.12);
  }
  .pv-page:not(.pv-embedded) .pv-content {
    padding-inline:clamp(28px,4vw,54px);
  }
  .pv-page:not(.pv-embedded) .pv-tools {
    min-height:66px;
  }
  .pv-page:not(.pv-embedded) .pv-tools button {
    min-height:58px; font-size:14px;
  }
  .pv-page:not(.pv-embedded) .pv-socials {
    justify-content:center;
  }
  /* Editorial: full-width desktop hero, portrait/cover on left,
     name, role and company on right. Header brand stays over the picture. */
  .pv-page.pv-editorial:not(.pv-embedded) .pv-editorial-hero,
  .pv-page.pv-editorial.pv-editorial-v2-preview:not(.pv-embedded) .pv-editorial-hero,
  .pv-page.pv-editorial.pv-editorial-compact-firstscreen:not(.pv-embedded) .pv-editorial-hero {
    display:grid!important;
    grid-template-columns:minmax(0,1.04fr) minmax(0,.96fr)!important;
    grid-template-rows:minmax(490px,auto)!important;
    min-height:490px!important;
    background:var(--v2-brand-deep,var(--pv-dark))!important;
    isolation:isolate;
  }
  .pv-page.pv-editorial:not(.pv-embedded) .pv-editorial-photo,
  .pv-page.pv-editorial.pv-editorial-v2-preview:not(.pv-embedded) .pv-editorial-photo,
  .pv-page.pv-editorial.pv-editorial-compact-firstscreen:not(.pv-embedded) .pv-editorial-photo {
    grid-column:1!important;grid-row:1!important;position:relative!important;
    inset:auto!important;order:unset!important;
    width:100%!important;height:100%!important;min-height:490px!important;
    max-height:600px!important;align-self:stretch;overflow:hidden;
  }
  .pv-page.pv-editorial:not(.pv-embedded) .pv-editorial-photo>.pv-portrait,
  .pv-page.pv-editorial:not(.pv-embedded) .pv-editorial-photo>.pv-photo-trigger,
  .pv-page.pv-editorial:not(.pv-embedded) .pv-editorial-photo .pv-photo-trigger>.pv-portrait {
    width:100%!important;height:100%!important;max-height:none!important;
    object-fit:cover!important;object-position:50% 30%!important;
  }
  .pv-page.pv-editorial:not(.pv-embedded) .pv-editorial-photo::after {
    background:linear-gradient(180deg,rgba(8,28,27,.18),transparent 45%,rgba(8,28,27,.19))!important;
  }
  .pv-page.pv-editorial:not(.pv-embedded) .pv-editorial-head,
  .pv-page.pv-editorial.pv-editorial-compact-firstscreen:not(.pv-embedded) .pv-editorial-head {
    position:absolute!important;top:0!important;left:0!important;right:auto!important;
    width:52%!important;bottom:auto!important;z-index:6!important;
    padding:24px 28px!important;order:unset!important;
    background:linear-gradient(180deg,rgba(6,29,25,.76),transparent)!important;
  }
  .pv-page.pv-editorial:not(.pv-embedded) .pv-editorial-title,
  .pv-page.pv-editorial.pv-editorial-v2-preview:not(.pv-embedded) .pv-editorial-title,
  .pv-page.pv-editorial.pv-editorial-compact-firstscreen:not(.pv-embedded) .pv-editorial-title {
    grid-column:2!important;grid-row:1!important;position:relative!important;
    order:unset!important;display:flex!important;flex-direction:column!important;
    justify-content:center!important;align-items:flex-start!important;
    width:100%!important;min-width:0!important;min-height:490px!important;
    padding:clamp(34px,4vw,58px)!important;gap:16px!important;
    background:var(--v2-brand-deep,var(--pv-dark))!important;
    color:#fff!important;
  }
  .pv-page.pv-editorial:not(.pv-embedded) .pv-editorial-title .pv-identity h1 {
    font-size:clamp(38px,4vw,59px)!important;line-height:1.1!important;
    overflow-wrap:break-word!important;
  }
  .pv-page.pv-editorial:not(.pv-embedded) .pv-editorial-title .pv-identity .pv-role,
  .pv-page.pv-editorial:not(.pv-embedded) .pv-editorial-title .pv-identity .pv-company {
    font-size:clamp(16px,1.5vw,19px)!important;
  }
  .pv-page.pv-editorial:not(.pv-embedded) .pv-editorial-title .pv-identity .pv-location {
    font-size:15px!important;
  }
  .pv-page.pv-editorial:not(.pv-embedded) .pv-editorial-contact {
    padding:22px clamp(28px,4vw,54px)!important;
  }
  .pv-page.pv-editorial:not(.pv-embedded) .pv-editorial-contact .pv-actions {
    display:grid!important;grid-template-columns:1fr 1fr!important;gap:18px!important;
  }
  .pv-page.pv-editorial:not(.pv-embedded) .pv-editorial-contact .pv-primary {
    min-height:60px!important;
  }
  .pv-page.pv-editorial:not(.pv-embedded) .pv-editorial-contact .pv-direct {
    display:flex!important;flex-wrap:wrap!important;justify-content:center!important;gap:10px!important;
  }
  .pv-page.pv-editorial:not(.pv-embedded) .pv-editorial-contact .pv-direct>a,
  .pv-page.pv-editorial:not(.pv-embedded) .pv-editorial-contact .pv-direct>button {
    min-height:56px!important;flex:1 1 100px!important;
  }
  .pv-page.pv-editorial:not(.pv-embedded) .pv-editorial-photo .pv-editorial-avatar--overlay {
    left:24px!important;bottom:24px!important;
  }
  /* Signature: existing split hero grows to fill a proper desktop canvas. */
  .pv-page.pv-firma:not(.pv-embedded) .pv-shell { max-width:1080px; }
  .pv-page.pv-firma:not(.pv-embedded) .pv-signature-hero {
    grid-template-columns:minmax(0,.94fr) minmax(0,1.06fr)!important;
    align-items:center;gap:clamp(30px,5vw,65px);padding:38px 45px;
  }
  .pv-page.pv-firma:not(.pv-embedded) .pv-signature-portrait .pv-portrait,
  .pv-page.pv-firma:not(.pv-embedded) .pv-signature-portrait .pv-monogram {
    height:clamp(395px,43vw,505px);object-fit:cover;
    width:100%;border-radius:16px;
  }
  .pv-page.pv-firma:not(.pv-embedded) .pv-signature-copy .pv-identity h1 {
    font-size:clamp(36px,3.7vw,53px);
  }
  /* Corporate: preserve existing design, give the two areas room to breathe. */
  .pv-page.pv-corporativa:not(.pv-embedded) .pv-shell {max-width:1160px;}
  .pv-page.pv-corporativa:not(.pv-embedded) .pv-corporate-hero {
    grid-template-columns:1.04fr .96fr;gap:44px;padding:38px 48px;
  }
  .pv-page.pv-corporativa:not(.pv-embedded) .pv-corporate-channels {
    padding-inline:48px;
  }
  /* Essential: transform narrow phone-card into image-and-information desktop view. */
  .pv-page.pv-esencial:not(.pv-embedded) .pv-shell {
    max-width:1070px;margin:0 auto;min-height:0;
  }
  .pv-page.pv-esencial:not(.pv-embedded) .pv-essential-hero {
    display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);
    grid-template-rows:auto auto auto 1fr;column-gap:40px;align-items:center;
    padding:45px!important;text-align:left;
  }
  .pv-page.pv-esencial:not(.pv-embedded) .pv-essential-logo {
    grid-column:2;grid-row:1;margin:0 0 15px;justify-self:start;
  }
  .pv-page.pv-esencial:not(.pv-embedded) .pv-essential-portrait {
    grid-column:1;grid-row:1 / span 4;align-self:stretch;min-height:400px;
  }
  .pv-page.pv-esencial:not(.pv-embedded) .pv-essential-portrait .pv-portrait,
  .pv-page.pv-esencial:not(.pv-embedded) .pv-essential-portrait .pv-monogram {
    width:100%;height:100%;max-height:530px;object-fit:cover;border-radius:16px;
  }
  .pv-page.pv-esencial:not(.pv-embedded) .pv-essential-hero>.pv-identity {
    grid-column:2;grid-row:2;text-align:left;
  }
  .pv-page.pv-esencial:not(.pv-embedded) .pv-essential-hero>.pv-actions {
    grid-column:2;grid-row:3;width:100%;margin:16px 0 0;
  }
  .pv-page.pv-esencial:not(.pv-embedded) .pv-essential-hero>.pv-socials {
    grid-column:2;grid-row:4;justify-content:flex-start;
    align-self:start;margin:18px 0 0;
  }
  .pv-page.pv-esencial:not(.pv-embedded) .pv-essential-hero .pv-direct {
    justify-content:center;
  }
}
