@media (min-width: 600.02px) and (max-width: 991.98px) {
  #es-agent-page.es-mobile-cta-first .es-hero-content {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: min(630px, calc(100% - 40px));
    min-height: 0;
    padding-block: 24px 40px;
    gap: 0;
  }
}

@media (min-width: 600.02px) and (max-width: 991.98px) {
  #es-agent-page.es-mobile-cta-first .es-hero-copy {
    display: flex;
    flex-direction: column;
    order: 1;
    max-width: none;
    padding: 24px 0 0;
  }
}

@media (min-width: 600.02px) and (max-width: 991.98px) {
  #es-agent-page.es-mobile-cta-first .es-hero-copy > .es-smallcaps {
    order: 0;
    font-size: 10px;
    line-height: 1.6;
    letter-spacing: .1em;
  }
}

@media (min-width: 600.02px) and (max-width: 991.98px) {
  #es-agent-page.es-mobile-cta-first .es-hero h1 {
    order: 1;
    margin: 14px 0 20px;
    font-size: 52px;
    line-height: 1.08;
  }
}

@media (min-width: 600.02px) and (max-width: 991.98px) {
  #es-agent-page.es-mobile-cta-first .es-hero-actions {
    order: -2;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    width: 100%;
    margin-top: 0;
  }
}

@media (min-width: 600.02px) and (max-width: 991.98px) {
  #es-agent-page.es-mobile-cta-first .es-hero-actions .es-button {
    justify-content: center;
    gap: 12px;
    width: 100%;
    min-height: 54px;
    padding: 14px 16px;
    border: 1px solid #0872b0;
    border-radius: 12px;
    background: #0872b0;
    color: #fff;
    font-size: 14px;
    font-weight: 750;
    line-height: 1.5;
    white-space: normal;
    text-align: center;
    box-shadow: 0 5px 14px rgb(8 114 176 / 14%);
    transition: background-color .18s, border-color .18s;
    touch-action: manipulation;
  }
}

@media (min-width: 600.02px) and (max-width: 991.98px) {
  #es-agent-page.es-mobile-cta-first .es-hero-actions .es-button:hover {
    border-color: #075d90;
    background: #075d90;
  }
}

@media (min-width: 600.02px) and (max-width: 991.98px) {
  #es-agent-page.es-mobile-cta-first .es-hero-actions .es-textlink {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 46px;
    padding: 10px 16px;
    border: 1px solid #cbd8df;
    border-radius: 12px;
    background: transparent;
    color: #234b63;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    transition: background-color .18s;
    touch-action: manipulation;
  }
}

@media (min-width: 600.02px) and (max-width: 991.98px) {
  #es-agent-page.es-mobile-cta-first .es-hero-actions .es-textlink:hover {
    background: #e9eff1;
  }
}

@media (min-width: 600.02px) and (max-width: 991.98px) {
  #es-agent-page.es-mobile-cta-first .es-hero-micro {
    order: -1;
    margin-top: 12px;
    margin-bottom: 24px;
    color: #536b78;
    font-size: 11px;
    line-height: 1.7;
    text-align: center;
    text-wrap: balance;
  }
}

@media (min-width: 600.02px) and (max-width: 991.98px) {
  #es-agent-page.es-mobile-cta-first .es-hero-copy > .es-lead {
    order: 4;
    font-size: 15px;
    line-height: 1.75;
  }
}

@media (min-width: 600.02px) and (max-width: 991.98px) {
  #es-agent-page.es-mobile-cta-first .es-hero-agent-card {
    order: 0;
    width: 100%;
    margin-top: 0;
    grid-template-columns: 46% 54%;
    border-radius: 20px;
  }
}

@media (min-width: 600.02px) and (max-width: 991.98px) {
  #es-agent-page.es-mobile-cta-first .es-hero-agent-photo {
    min-height: 225px;
  }
}

@media (min-width: 600.02px) and (max-width: 991.98px) {
  #es-agent-page.es-mobile-cta-first .es-hero-agent-info {
    padding: 20px 18px 18px;
  }
}

@media (min-width: 600.02px) and (max-width: 991.98px) {
  #es-agent-page.es-mobile-cta-first .es-hero-agent-info h2 {
    margin: 7px 0 9px;
    font-size: 27px;
  }
}

@media (min-width: 600.02px) and (max-width: 991.98px) {
  #es-agent-page.es-mobile-cta-first .es-hero-agent-info .es-smallcaps {
    font-size: 9px;
  }
}

@media (min-width: 600.02px) and (max-width: 991.98px) {
  #es-agent-page.es-mobile-cta-first .es-hero-agent-info p {
    font-size: 12px;
  }
}

@media (min-width: 600.02px) and (max-width: 991.98px) {
  #es-agent-page.es-mobile-cta-first .es-hero-agent-info .es-agent-designation {
    font-size: 11px;
  }
}

@media (min-width: 600.02px) and (max-width: 991.98px) {
  #es-agent-page.es-mobile-cta-first .es-hero-agent-info .es-agent-lic {
    margin-top: 10px;
    padding-top: 10px;
    font-size: 10px;
  }
}

@media (min-width: 600.02px) and (max-width: 991.98px) {
  #es-agent-page.es-mobile-cta-first .es-hero-agent-footer {
    padding: 11px 15px;
  }
}

@media (min-width: 600.02px) and (max-width: 991.98px) {
  #es-agent-page.es-mobile-cta-first .es-hero-agent-footer strong, #es-agent-page.es-mobile-cta-first .es-hero-agent-footer span {
    font-size: 10px;
  }
}

@media (min-width: 600.02px) and (max-width: 991.98px) {
  #es-agent-page.es-mobile-cta-first .es-hero-actions a:focus-visible {
    outline: 3px solid #0872b0;
    outline-offset: 4px;
  }
}

@media (min-width: 600.02px) and (max-width: 991.98px) and (prefers-reduced-motion: reduce) {
  #es-agent-page.es-mobile-cta-first .es-hero-actions a {
    transition: none;
  }
}

