/* Shared loan detail banners: approved gold design. */
.loan-hero-container { margin-bottom: 38px; }
.loan-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
    min-height: 330px;
    border-radius: 14px;
    background: #E6C451;
    color: #303532;
    font-family: "Noto Sans Thai", Tahoma, sans-serif;
}
.loan-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 80% 30%, #F9EAB3 0, transparent 55%);
    pointer-events: none;
}
.loan-hero__copy { position: relative; z-index: 2; min-width: 0; padding: 28px 0 25px 36px; }
.loan-hero .loan-hero__eyebrow { margin: 0 0 12px; font-size: 13px; line-height: 1.6; font-weight: 700; color: #303532; }
.loan-hero #loan-hero-title { margin: 0 0 15px; font-size: 38px; line-height: 1.35; letter-spacing: 0; font-weight: 700; color: #303532; text-transform: none; }
.loan-hero .loan-hero__description { margin: 0 0 18px; font-size: 15px; line-height: 1.8; color: #303532; }
.loan-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.loan-hero__actions a { display: inline-block; max-width: 100%; padding: 12px 18px; border: 1px solid; border-radius: 7px; font-size: 14px; line-height: 1.6; font-weight: 700; text-align: center; text-decoration: none; transition: background .18s; }
.loan-hero__actions .loan-hero__primary {
    background: #303B35;
    border-color: #303B35;
    color: #fff;
    box-shadow: 0 3px 8px rgba(30, 48, 38, .10);
    animation: loan-cta-nudge 4s cubic-bezier(.22, .61, .36, 1) infinite;
}
/* A short, soft double nudge followed by a long quiet interval. */
@keyframes loan-cta-nudge {
    0%, 76%, 86%, 96%, 100% { transform: translateY(0); box-shadow: 0 3px 8px rgba(30, 48, 38, .10); }
    81% { transform: translateY(-3px); box-shadow: 0 7px 16px rgba(30, 48, 38, .19); }
    90% { transform: translateY(-1.5px); box-shadow: 0 5px 12px rgba(30, 48, 38, .14); }
}
.loan-hero__actions .loan-hero__primary:hover,
.loan-hero__actions .loan-hero__primary:focus,
.loan-hero__actions .loan-hero__primary:active { animation: none; transform: none; }
.loan-hero__actions .loan-hero__primary:hover { background: #1E3026; }
.loan-hero__actions .loan-hero__secondary { background: transparent; border-color: #80702D; color: #303532; }
.loan-hero__actions .loan-hero__secondary:hover { background: #F4DEA0; }
.loan-hero__actions a:focus-visible { outline: 3px solid #345B53; outline-offset: 4px; }
.loan-hero .loan-hero__note { margin: 15px 0 0; font-size: 11px; line-height: 1.6; color: #685C2B; }
.loan-hero__art { position: relative; min-width: 0; z-index: 1; }
.loan-hero__art img { position: absolute; inset: 0; margin: auto; width: 115%; max-width: none; height: 100%; max-height: 335px; object-fit: contain; transform: translateX(-8%); }
@media (max-width: 991px) {
    .loan-hero { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); }
    .loan-hero__copy { padding-left: 26px; }
    .loan-hero #loan-hero-title { font-size: 32px; }
    .loan-hero .loan-hero__description { font-size: 14px; }
    .loan-hero__actions a { font-size: 13px; padding: 11px 14px; }
}
@media (max-width: 600px) {
    .loan-hero-container { margin-bottom: 28px; }
    .loan-hero { display: block; min-height: 0; border-radius: 11px; }
    .loan-hero__copy { padding: 25px 22px; }
    .loan-hero #loan-hero-title { font-size: 29px; }
    .loan-hero .loan-hero__eyebrow { font-size: 11px; }
    .loan-hero .loan-hero__description { font-size: 13px; }
    .loan-hero__art { display: none; }
    .loan-hero__actions { gap: 9px; }
    .loan-hero__actions a { font-size: 12px; padding: 11px 13px; }
    .loan-hero .loan-hero__note { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
    .loan-hero__actions a { transition: none; }
    .loan-hero__actions .loan-hero__primary { animation: none; transform: none; }
}
