.tn-agoda-wrap { margin-block: clamp(1rem, 2.8vw, 2rem); }
.tn-agoda {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: clamp(1rem, 2.6vw, 2rem);
    padding: clamp(1rem, 2.1vw, 1.5rem);
    border: 1px solid #c9daf9;
    border-radius: 1rem;
    background: #eff6ff;
    color: #101e49;
}
.tn-agoda--illustrated { grid-template-columns: minmax(0, 1fr) minmax(8rem, auto) minmax(10rem, 25%); }
.tn-agoda--property { background: #fff; }
.tn-agoda--property.tn-agoda--illustrated { grid-template-columns: minmax(10rem, 28%) minmax(0, 1fr) auto; }
.tn-agoda--deal { background: linear-gradient(110deg, #fffbf3, #ecf6ff); }
.tn-agoda--deal.tn-agoda--illustrated { grid-template-columns: minmax(0, 1fr) minmax(12rem, 41%); }
.tn-agoda__body { min-width: 0; }
.tn-agoda__body h2 { margin: 0 0 .4rem; color: inherit; font-size: clamp(1.3rem, 2.5vw, 1.85rem); line-height: 1.13; }
.tn-agoda__body p { margin: 0 0 .65rem; color: #34466b; }
.tn-agoda__body .tn-agoda__scope-detail { margin-top: .45rem; font-size: .875rem; }
.tn-agoda__photo { width: 100%; height: 100%; min-height: 8rem; max-height: 13rem; object-fit: cover; border-radius: .7rem; }
.tn-agoda__partner { border-inline-start: 1px solid #c9daf9; padding-inline-start: clamp(.8rem, 2.1vw, 1.4rem); }
.tn-agoda__brand { display: inline-block; width: 150px; max-width: 100%; height: auto; }
.tn-agoda__partner .tn-agoda__brand, .tn-agoda--property .tn-agoda__brand { margin-bottom: .55rem; }
.tn-agoda small { display: block; color: #465771; font-size: .78rem; line-height: 1.25; }
.tn-agoda__finder { display: flex; gap: .65rem; align-items: end; flex-wrap: wrap; }
.tn-agoda__destination-input { flex: 1 1 12rem; min-width: 0; }
.tn-agoda__destination-input label { display: block; font-size: .78rem; font-weight: 700; margin-bottom: .25rem; }
.tn-agoda__destination-input input { min-height: 2.75rem; padding: .55rem .75rem; border: 1px solid #a0b4d5; border-radius: .5rem; background: #fff; color: #101e49; }
.tn-agoda__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    min-height: 2.75rem;
    padding: .55rem .9rem;
    border-radius: .55rem;
    background: #0848f5;
    color: #fff;
    font-size: .88rem;
    font-weight: 750;
    text-decoration: none;
    line-height: 1.3;
    text-align: center;
}
.tn-agoda__button:is(:hover, :focus-visible) { background: #063ac6; color: #fff; }
.tn-agoda__button[aria-disabled=true] { background: #536783; cursor: default; }
.tn-agoda__quick-links, .tn-agoda__deal-action, .tn-agoda__deal-heading { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem .9rem; }
.tn-agoda__quick-links { margin-top: .65rem; font-size: .82rem; }
.tn-agoda__quick-links a { font-weight: 650; }
.tn-agoda__deal-heading { margin-bottom: .45rem; justify-content: space-between; }
.tn-agoda__deal-action { margin-top: .8rem; }
.tn-agoda :focus-visible { outline: 2px solid #1643bf; outline-offset: 3px; }
@media (max-width: 960px) {
    .tn-agoda--destination.tn-agoda--illustrated, .tn-agoda--property.tn-agoda--illustrated { grid-template-columns: minmax(0, 1fr) auto; }
    .tn-agoda--destination .tn-agoda__photo, .tn-agoda--property .tn-agoda__photo { display: none; }
}
@media (max-width: 600px) {
    .tn-agoda, .tn-agoda--illustrated, .tn-agoda--destination.tn-agoda--illustrated,
    .tn-agoda--property.tn-agoda--illustrated, .tn-agoda--deal.tn-agoda--illustrated { grid-template-columns: minmax(0, 1fr); }
    .tn-agoda__partner { border-inline-start: 0; padding-inline-start: 0; }
    .tn-agoda__destination-input { flex-basis: 100%; }
    .tn-agoda--deal .tn-agoda__photo { max-height: 9rem; }
}
