/* Shared visual entrance for the portal and purchaser editor. */
.howoaide-portal .hwa-site-entry,.howoaide-core .hwa-site-entry{
  position:relative;isolation:isolate;display:flex;align-items:center;box-sizing:border-box;
  width:100%;min-height:240px;margin:24px 0;padding:36px 42px;overflow:hidden;
  border:1px solid #e3dcd2;border-radius:18px;background:#f7f3eb;color:#28241f;
  text-align:left;text-decoration:none;font-family:inherit;cursor:pointer;
  box-shadow:0 5px 18px #3428170a;transition:box-shadow .3s ease,border-color .3s ease,transform .3s ease;
}
.hwa-site-entry::before{content:"";position:absolute;inset:0;z-index:-2;background:url('./site-entry-preview.webp') center right/cover no-repeat;transition:transform .65s cubic-bezier(.2,.65,.3,1)}
.hwa-site-entry::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#f7f3ebf5 0%,#f7f3ebdd 32%,#f7f3eb55 52%,transparent 68%)}
.hwa-site-entry__copy{display:block;max-width:62%}
.hwa-site-entry__eyebrow{display:block;margin-bottom:15px;color:#b64419;font-size:12px;font-weight:700;letter-spacing:.2em}
.hwa-site-entry__title{display:block;font-family:"Yu Mincho","Hiragino Mincho ProN",serif;font-size:clamp(25px,3vw,40px);font-weight:600;line-height:1.5;letter-spacing:.035em;text-wrap:balance}
.hwa-site-entry__arrow{display:inline-block;margin-left:16px;color:#b64419;font-family:Arial,sans-serif;font-weight:400;transition:transform .3s ease}
.hwa-site-entry__description{display:block;max-width:32em;margin-top:16px;font-size:13px;font-weight:400;line-height:1.9;color:#645c52}
.howoaide-portal .hwa-site-entry:focus-visible,.howoaide-core .hwa-site-entry:focus-visible{outline:3px solid #b64419;outline-offset:5px}
.howoaide-core .hwa-start-guide:has(>.hwa-site-entry){padding:0;background:transparent;border-radius:0}
.howoaide-core .hwa-site-entry:disabled{cursor:wait;opacity:.65}
@media(hover:hover) and (pointer:fine){
  .howoaide-portal .hwa-site-entry:hover,.howoaide-core .hwa-site-entry:not(:disabled):hover{color:#28241f;background:#f7f3eb;border-color:#c9ac90;box-shadow:0 14px 30px #34281716;transform:translateY(-2px);text-decoration:none}
  .hwa-site-entry:not(:disabled):hover::before{transform:scale(1.035)}
  .hwa-site-entry:not(:disabled):hover .hwa-site-entry__arrow{transform:translateX(7px)}
}
@media(max-width:640px){
  .howoaide-portal .hwa-site-entry,.howoaide-core .hwa-site-entry{align-items:flex-start;min-height:330px;padding:26px 23px;margin:20px 0;border-radius:15px}
  .hwa-site-entry::before{background-size:auto 230px;background-position:right bottom}
  .hwa-site-entry::after{background:linear-gradient(180deg,#f7f3eb 0%,#f7f3ebfa 30%,#f7f3eb55 54%,transparent 72%)}
  .hwa-site-entry__copy{max-width:100%}.hwa-site-entry__title{font-size:27px}.hwa-site-entry__eyebrow{margin-bottom:9px;font-size:11px}.hwa-site-entry__description{margin-top:10px;font-size:12px;max-width:28em}.hwa-site-entry__arrow{margin-left:8px}
}
@media(prefers-reduced-motion:reduce){.howoaide-portal .hwa-site-entry,.howoaide-core .hwa-site-entry,.hwa-site-entry::before,.hwa-site-entry__arrow{transition:none!important;transform:none!important}}

/* Keep the title readable when theme button hover/focus colors change. */
.howoaide-core .hwa-site-entry .hwa-site-entry__title,.howoaide-portal .hwa-site-entry .hwa-site-entry__title{color:#28241f}
/* Keep the illustrated entrance independent from generic customer buttons. */
.hwa-customer-shell .howoaide-core .hwa-start-link.hwa-site-entry{background:#f7f3eb;color:#28241f;border-color:#e3dcd2}
.hwa-customer-shell .howoaide-core .hwa-start-link.hwa-site-entry:not(:disabled):hover{background:#f7f3eb;color:#28241f;border-color:#c9ac90}
