479 lines
6.8 KiB
CSS
479 lines
6.8 KiB
CSS
:root {
|
|
color-scheme: light;
|
|
--bg: #f4f7f8;
|
|
--panel: #ffffff;
|
|
--ink: #172126;
|
|
--muted: #63727a;
|
|
--line: #dce5e8;
|
|
--teal: #0f766e;
|
|
--blue: #2563eb;
|
|
--coral: #d94f3d;
|
|
--green: #157347;
|
|
--amber: #9a6700;
|
|
--shadow: 0 14px 40px rgba(27, 42, 50, 0.11);
|
|
}
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
background: var(--bg);
|
|
color: var(--ink);
|
|
font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
|
|
line-height: 1.45;
|
|
}
|
|
|
|
body.lightbox-open {
|
|
overflow: hidden;
|
|
}
|
|
|
|
.topbar {
|
|
display: flex;
|
|
align-items: end;
|
|
justify-content: space-between;
|
|
gap: 24px;
|
|
padding: 30px clamp(18px, 4vw, 52px) 24px;
|
|
background: #ffffff;
|
|
border-bottom: 1px solid var(--line);
|
|
}
|
|
|
|
h1,
|
|
h2,
|
|
h3,
|
|
p {
|
|
margin: 0;
|
|
}
|
|
|
|
h1 {
|
|
font-size: clamp(30px, 4vw, 54px);
|
|
line-height: 1;
|
|
letter-spacing: 0;
|
|
}
|
|
|
|
h2 {
|
|
font-size: 22px;
|
|
line-height: 1.15;
|
|
}
|
|
|
|
h3 {
|
|
font-size: 23px;
|
|
line-height: 1.15;
|
|
}
|
|
|
|
.eyebrow {
|
|
margin-bottom: 8px;
|
|
color: var(--teal);
|
|
font-size: 13px;
|
|
font-weight: 760;
|
|
letter-spacing: 0;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.rate {
|
|
max-width: 330px;
|
|
color: var(--muted);
|
|
font-size: 14px;
|
|
text-align: right;
|
|
}
|
|
|
|
main {
|
|
width: min(1440px, 100%);
|
|
margin: 0 auto;
|
|
padding: 22px clamp(14px, 3vw, 42px) 56px;
|
|
}
|
|
|
|
.summary {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.85fr);
|
|
gap: 24px;
|
|
padding: 22px 0 20px;
|
|
border-bottom: 1px solid var(--line);
|
|
}
|
|
|
|
.summary p {
|
|
margin-top: 10px;
|
|
color: var(--muted);
|
|
font-size: 16px;
|
|
}
|
|
|
|
.summary ol {
|
|
margin: 0;
|
|
padding-left: 22px;
|
|
color: var(--muted);
|
|
}
|
|
|
|
.summary li + li {
|
|
margin-top: 8px;
|
|
}
|
|
|
|
.filters {
|
|
display: flex;
|
|
gap: 10px;
|
|
flex-wrap: wrap;
|
|
padding: 22px 0;
|
|
}
|
|
|
|
.filter {
|
|
min-height: 38px;
|
|
padding: 0 15px;
|
|
border: 1px solid var(--line);
|
|
border-radius: 8px;
|
|
background: #ffffff;
|
|
color: var(--ink);
|
|
font: inherit;
|
|
font-weight: 700;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.filter.active {
|
|
border-color: var(--teal);
|
|
background: var(--teal);
|
|
color: #ffffff;
|
|
}
|
|
|
|
.table-wrap {
|
|
overflow-x: auto;
|
|
margin-bottom: 24px;
|
|
border: 1px solid var(--line);
|
|
border-radius: 8px;
|
|
background: #ffffff;
|
|
}
|
|
|
|
table {
|
|
width: 100%;
|
|
min-width: 880px;
|
|
border-collapse: collapse;
|
|
font-size: 14px;
|
|
}
|
|
|
|
th,
|
|
td {
|
|
padding: 13px 14px;
|
|
border-bottom: 1px solid var(--line);
|
|
text-align: left;
|
|
vertical-align: top;
|
|
}
|
|
|
|
th {
|
|
color: var(--muted);
|
|
font-size: 12px;
|
|
font-weight: 800;
|
|
letter-spacing: 0;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
tbody tr:last-child td {
|
|
border-bottom: 0;
|
|
}
|
|
|
|
.price {
|
|
white-space: nowrap;
|
|
font-weight: 850;
|
|
}
|
|
|
|
.cards {
|
|
display: grid;
|
|
gap: 22px;
|
|
}
|
|
|
|
.hotel-card {
|
|
display: grid;
|
|
grid-template-columns: minmax(330px, 0.9fr) minmax(0, 1.25fr);
|
|
gap: 22px;
|
|
padding: 18px;
|
|
border: 1px solid var(--line);
|
|
border-radius: 8px;
|
|
background: var(--panel);
|
|
box-shadow: var(--shadow);
|
|
}
|
|
|
|
.gallery {
|
|
display: grid;
|
|
grid-template-columns: repeat(4, 1fr);
|
|
gap: 8px;
|
|
align-content: start;
|
|
}
|
|
|
|
.shot {
|
|
position: relative;
|
|
display: block;
|
|
overflow: hidden;
|
|
width: 100%;
|
|
aspect-ratio: 4 / 3;
|
|
padding: 0;
|
|
border: 0;
|
|
border-radius: 6px;
|
|
background: #e5ecef;
|
|
cursor: zoom-in;
|
|
}
|
|
|
|
.shot:first-child {
|
|
grid-column: span 2;
|
|
grid-row: span 2;
|
|
}
|
|
|
|
.shot img {
|
|
display: block;
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.tag {
|
|
position: absolute;
|
|
left: 7px;
|
|
bottom: 7px;
|
|
padding: 4px 7px;
|
|
border-radius: 6px;
|
|
background: rgba(14, 22, 26, 0.78);
|
|
color: #ffffff;
|
|
font-size: 11px;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.hotel-info {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 14px;
|
|
}
|
|
|
|
.hotel-head {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
gap: 18px;
|
|
}
|
|
|
|
.hotel-title {
|
|
min-width: 0;
|
|
}
|
|
|
|
.hotel-title p {
|
|
margin-top: 6px;
|
|
color: var(--muted);
|
|
font-weight: 650;
|
|
}
|
|
|
|
.hotel-price {
|
|
min-width: 150px;
|
|
text-align: right;
|
|
}
|
|
|
|
.hotel-price strong {
|
|
display: block;
|
|
color: var(--teal);
|
|
font-size: 27px;
|
|
line-height: 1;
|
|
}
|
|
|
|
.hotel-price span {
|
|
display: block;
|
|
margin-top: 5px;
|
|
color: var(--muted);
|
|
font-size: 12px;
|
|
}
|
|
|
|
.facts {
|
|
display: grid;
|
|
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
gap: 8px;
|
|
}
|
|
|
|
.fact {
|
|
min-height: 62px;
|
|
padding: 10px;
|
|
border: 1px solid var(--line);
|
|
border-radius: 7px;
|
|
background: #f8fbfc;
|
|
}
|
|
|
|
.fact span {
|
|
display: block;
|
|
color: var(--muted);
|
|
font-size: 11px;
|
|
font-weight: 780;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.fact strong {
|
|
display: block;
|
|
margin-top: 4px;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.verdict {
|
|
padding: 12px 14px;
|
|
border-left: 4px solid var(--coral);
|
|
background: #fff7f5;
|
|
border-radius: 7px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.columns {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 18px;
|
|
}
|
|
|
|
.columns h4,
|
|
.review h4,
|
|
.links h4 {
|
|
margin: 0 0 8px;
|
|
color: var(--muted);
|
|
font-size: 12px;
|
|
letter-spacing: 0;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
ul {
|
|
margin: 0;
|
|
padding-left: 18px;
|
|
}
|
|
|
|
li + li {
|
|
margin-top: 5px;
|
|
}
|
|
|
|
.pros li::marker {
|
|
color: var(--green);
|
|
}
|
|
|
|
.cons li::marker {
|
|
color: var(--coral);
|
|
}
|
|
|
|
.review {
|
|
color: #314047;
|
|
}
|
|
|
|
.links {
|
|
display: flex;
|
|
gap: 10px;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
}
|
|
|
|
.links h4 {
|
|
flex-basis: 100%;
|
|
}
|
|
|
|
.links a {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
min-height: 36px;
|
|
padding: 0 12px;
|
|
border: 1px solid var(--line);
|
|
border-radius: 7px;
|
|
color: var(--blue);
|
|
font-weight: 750;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.links a:hover {
|
|
border-color: var(--blue);
|
|
}
|
|
|
|
.badge {
|
|
display: inline-block;
|
|
padding: 3px 8px;
|
|
border-radius: 999px;
|
|
background: #eaf7f4;
|
|
color: var(--teal);
|
|
font-size: 12px;
|
|
font-weight: 850;
|
|
}
|
|
|
|
.badge.warn {
|
|
background: #fff4dc;
|
|
color: var(--amber);
|
|
}
|
|
|
|
.lightbox {
|
|
position: fixed;
|
|
inset: 0;
|
|
z-index: 20;
|
|
display: none;
|
|
place-items: center;
|
|
padding: 50px 20px;
|
|
background: rgba(8, 14, 18, 0.86);
|
|
}
|
|
|
|
.lightbox.open {
|
|
display: grid;
|
|
}
|
|
|
|
.lightbox img {
|
|
max-width: min(1120px, 96vw);
|
|
max-height: 78vh;
|
|
border-radius: 8px;
|
|
box-shadow: 0 18px 70px rgba(0, 0, 0, 0.35);
|
|
}
|
|
|
|
.lightbox a {
|
|
margin-top: 14px;
|
|
color: #ffffff;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.close {
|
|
position: fixed;
|
|
top: 18px;
|
|
right: 20px;
|
|
width: 44px;
|
|
height: 44px;
|
|
border: 0;
|
|
border-radius: 50%;
|
|
background: #ffffff;
|
|
color: var(--ink);
|
|
font-size: 28px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
@media (max-width: 1040px) {
|
|
.hotel-card {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.gallery {
|
|
grid-template-columns: repeat(5, 1fr);
|
|
}
|
|
}
|
|
|
|
@media (max-width: 760px) {
|
|
.topbar,
|
|
.summary,
|
|
.hotel-head,
|
|
.columns {
|
|
display: block;
|
|
}
|
|
|
|
.rate,
|
|
.hotel-price {
|
|
margin-top: 12px;
|
|
text-align: left;
|
|
}
|
|
|
|
.facts {
|
|
grid-template-columns: repeat(2, 1fr);
|
|
}
|
|
|
|
.gallery {
|
|
grid-template-columns: repeat(3, 1fr);
|
|
}
|
|
|
|
.hotel-card {
|
|
padding: 12px;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 500px) {
|
|
.facts {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.gallery {
|
|
grid-template-columns: repeat(2, 1fr);
|
|
}
|
|
}
|