/* impt.bd hotel detail pages */
.hd-top { padding: calc(var(--header-h) + 28px) 0 0; }
.hd-top h1 { font: 400 clamp(38px, 5.2vw, 80px)/1 var(--f-display); letter-spacing: -.025em; margin: 14px 0 0; overflow-wrap: anywhere; text-wrap: balance; }
.hd-meta { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; margin-top: 22px; }
.hd-meta .hc-stars { font-size: 17px; } .hd-unrated { font: 500 12px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; padding: 8px 12px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); color: var(--ink-2); }
.hd-meta .hc-s { font-size: 15px; }
.hd-addr { margin: 14px 0 0; font-size: 17px; color: var(--ink-2); }
.hd-gal { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 8px; aspect-ratio: 21 / 9; min-height: 300px; border-radius: var(--r-lg); overflow: hidden; margin-top: 26px; background: var(--paper-2); }
.hd-gal img { width: 100%; height: 100%; object-fit: cover; min-height: 0; } .hd-gal img:first-child { grid-row: span 2; }
.hd-gal[data-n="4"] { grid-template-columns: 2fr 1fr 1fr; } .hd-gal[data-n="4"] img:nth-child(2) { grid-column: span 2; }
.hd-gal[data-n="3"] { grid-template-columns: 2fr 1fr; } .hd-gal[data-n="2"] { grid-template-columns: 1fr 1fr; grid-template-rows: minmax(0, 1fr); } .hd-gal[data-n="2"] img:first-child { grid-row: auto; }
@media (max-width: 700px) { .hd-gal, .hd-gal[data-n="4"], .hd-gal[data-n="3"] { grid-template-columns: 1fr 1fr; grid-template-rows: 1.6fr 1fr; aspect-ratio: 1; } .hd-gal img:first-child { grid-row: auto; grid-column: 1 / -1; } .hd-gal img:nth-child(n+4) { display: none; } .hd-gal[data-n="4"] img:nth-child(2) { grid-column: auto; } .hd-gal[data-n="2"] { grid-template-columns: 1fr; grid-template-rows: 1fr 1fr; } }
.hd-all { margin-top: 14px; padding: 12px 20px; border-radius: 999px; border: 0; box-shadow: inset 0 0 0 1.5px var(--ink); background: transparent; font-weight: 800; font-size: 15px; } .hd-all:hover { background: var(--paper-2); }
dialog.hd-dlg { border: 0; border-radius: var(--r-lg); padding: 0; width: min(1120px, 96vw); max-height: 92vh; background: var(--paper); color: var(--ink); overflow: auto; } dialog.hd-dlg::backdrop { background: rgba(4,37,28,.78); }
.hd-dlg-top { position: sticky; top: 0; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 18px; background: var(--paper); box-shadow: 0 1px 0 var(--line); } .hd-dlg-top strong { font: 400 22px/1.15 var(--f-display); }
.hd-x { flex: none; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--ink); color: var(--paper); font-size: 18px; } .hd-x:hover { background: var(--green); }
.hd-dlg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 10px; padding: 14px 18px 22px; } .hd-dlg-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; }
.hd-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(28px, 5vw, 84px); align-items: start; padding-top: clamp(32px, 4vw, 56px); }
.hd-body { font-size: 18px; line-height: 1.72; max-width: 780px; }
.hd-body h2 { font: 400 clamp(28px, 3vw, 40px)/1.08 var(--f-display); letter-spacing: -.02em; margin: 1.5em 0 .45em; border-top: 1px solid var(--line); padding-top: .6em; overflow-wrap: anywhere; } .hd-body > h2:first-child { margin-top: 0; border-top: 0; padding-top: 0; }
.hd-body p { margin: 0 0 16px; } .hd-fac { columns: 2 230px; column-gap: 28px; margin: 0; padding-left: 20px; font-size: 16.5px; } .hd-fac li { margin-bottom: 6px; break-inside: avoid; } .hd-small { font-size: 15.5px; color: var(--ink-2); }
.hd-aside .aside-book { position: static; overflow: visible; }
.hd-aside .ab-top { border-radius: var(--r-lg) var(--r-lg) 0 0; }
.hd-aside .ab-note { margin: 0; padding: 0 18px 18px; font-size: 14px; line-height: 1.45; color: var(--muted); }
.aside-book .ab-top strong { overflow-wrap: anywhere; }
@media (max-width: 1000px) { .hd-grid { grid-template-columns: minmax(0, 1fr); } .hd-aside { order: -1; } .hd-aside .side-stick { position: static; } .hd-aside .side-box { display: none; } .hd-aside .book { grid-template-columns: 1fr 1fr; } .hd-aside .book > .bk-date { grid-column: auto !important; } }
