/* Public booking site. Shares the tokens of site.css (ink, lobby blue, marigold, Lexend). */
body.pub { background: #fff; }
.pub-header { background: var(--ehm-ink); padding: 12px 0; padding-top: calc(12px + env(safe-area-inset-top)); position: sticky; top: 0; z-index: 1030; }
.pub-brand { display: inline-flex; align-items: center; color: #fff; text-decoration: none; font-weight: 600; font-size: 1.1rem; letter-spacing: -.01em; }
.pub-brand:hover { color: #fff; }
.pub-navlink { color: #d5dcee; text-decoration: none; padding: 6px 8px; font-size: .95rem; }
.pub-navlink:hover { color: #fff; }

.pub-hero { background: var(--ehm-ink); color: #fff; padding: 40px 0 76px; }
.pub-hero h1 { font-size: clamp(1.7rem, 4.6vw, 3rem); line-height: 1.12; letter-spacing: -.03em; max-width: 15em; margin: 0 0 10px; }
.pub-hero p { color: #b9c3dc; max-width: 38em; margin: 0; font-size: 1.05rem; }
.pub-search { background: #fff; border-radius: 18px; padding: 16px; box-shadow: 0 18px 44px rgba(22, 35, 63, .18); margin-top: -52px; position: relative; }
.pub-search label { font-size: .8rem; color: var(--ehm-muted); font-weight: 500; margin-bottom: 4px; display: block; }
.pub-search .btn { min-height: 46px; }
.pub-section { padding: 40px 0; }
.pub-section h2 { font-size: 1.45rem; letter-spacing: -.02em; margin-bottom: 4px; }
.pub-section .lead-sm { color: var(--ehm-muted); margin-bottom: 20px; }
.pub-alt { background: var(--ehm-paper); }

.pub-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 20px; }
.pub-card { border: 1px solid var(--ehm-line); border-radius: 16px; overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.pub-card-img { display: block; aspect-ratio: 16 / 10; background: #e9eefb; overflow: hidden; }
.pub-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pub-noimg { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #1a2b55, #2447a8); }
.pub-noimg .ehm-keytag { width: 44px; height: 50px; border-radius: 10px; margin: 0; }
.pub-noimg .ehm-keytag::before { top: 8px; width: 10px; height: 10px; margin-left: -5px; background: #1f3476; }
.pub-card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.pub-card-type { font-size: .8rem; color: var(--ehm-muted); }
.pub-card h3 { font-size: 1.12rem; margin: 2px 0 6px; letter-spacing: -.01em; }
.pub-card h3 a { color: var(--ehm-ink); text-decoration: none; }
.pub-card h3 a:hover { color: var(--ehm-primary); }
.pub-card p { font-size: .9rem; color: #48526c; margin: 0 0 12px; }
.pub-card-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pub-price { font-size: 1.2rem; font-weight: 600; color: var(--ehm-ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.pub-price span { font-size: .78rem; font-weight: 400; color: var(--ehm-muted); }

.pub-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pub-chip { border: 1px solid var(--ehm-line); border-radius: 999px; padding: 8px 14px; text-decoration: none; color: var(--ehm-ink); background: #fff; font-size: .92rem; }
.pub-chip:hover { border-color: var(--ehm-primary); color: var(--ehm-primary); }
.pub-chip span { color: var(--ehm-muted); font-size: .8rem; }

.pub-crumbs { font-size: .85rem; color: var(--ehm-muted); padding: 14px 0 0; }
.pub-crumbs a { color: var(--ehm-muted); }
.pub-hotel-head h1 { font-size: clamp(1.5rem, 4vw, 2.2rem); letter-spacing: -.02em; margin: 6px 0 4px; }
.pub-cover { border-radius: 18px; overflow: hidden; aspect-ratio: 21 / 9; background: #e9eefb; margin: 16px 0; }
.pub-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pub-room { border: 1px solid var(--ehm-line); border-radius: 16px; overflow: hidden; display: grid; grid-template-columns: 1fr; margin-bottom: 14px; background: #fff; }
.pub-room-img { background: #e9eefb; aspect-ratio: 16 / 10; }
.pub-room-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pub-room-body { padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; }
.pub-room h3 { font-size: 1.15rem; margin: 0; }
.pub-room-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: 6px; flex-wrap: wrap; }
.pub-left { font-size: .82rem; font-weight: 500; }
.pub-left.low { color: #c8372d; }
.pub-left.ok { color: #1e8e5a; }
@media (min-width: 768px) { .pub-room { grid-template-columns: 240px 1fr; } .pub-room-img { aspect-ratio: auto; min-height: 170px; } }
.pub-side { border: 1px solid var(--ehm-line); border-radius: 16px; padding: 16px; background: #fff; position: sticky; top: 76px; }
.pub-summary td { padding: 4px 0; font-variant-numeric: tabular-nums; }
.pub-summary .tot td { border-top: 2px solid var(--ehm-ink); font-weight: 600; font-size: 1.15rem; padding-top: 8px; }
.pub-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.pub-footer { background: var(--ehm-ink); color: #b9c3dc; padding: 36px 0 calc(20px + env(safe-area-inset-bottom)); font-size: .92rem; margin-top: 20px; }
.pub-footer a { color: #d5dcee; text-decoration: none; line-height: 1.9; }
.pub-footer a:hover { color: #fff; text-decoration: underline; }
.pub-foot-title { color: #fff; font-weight: 600; margin-bottom: 6px; }
.pub-copy { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 24px; padding-top: 16px; font-size: .82rem; }

.pub-room.noimg { grid-template-columns: 1fr !important; }
.pub-header .btn, .pub-brand, .pub-navlink { white-space: nowrap; }
@media (max-width: 575.98px) {
  .pub-brand { font-size: .98rem; }
  .pub-brand .ehm-keytag { width: 24px; height: 28px; margin-right: 8px; }
  .pub-brand .ehm-keytag::before { top: 4px; width: 6px; height: 6px; margin-left: -3px; }
  .pub-hero { padding: 26px 0 68px; }
  .pub-section { padding: 28px 0; }
}

/* "for hotels" page */
.pub-feature { border: 1px solid var(--ehm-line); border-radius: 16px; padding: 18px; height: 100%; background: #fff; }
.pub-feature i { font-size: 1.5rem; color: var(--ehm-primary); }
.pub-feature h3 { font-size: 1.05rem; margin: 10px 0 6px; }
.pub-feature p { margin: 0; color: #48526c; font-size: .93rem; }
