/* Blog index, blog articles and the certificates page.
   Loaded after site.css, premium.css and products.css. */

/* ---------- Blog index: press items, text first ---------- */
.bl-list { padding-block: clamp(40px, 6vw, 80px); background: #fff; }
.bl-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(22px, 3vw, 40px); }
.bl-card { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(24px, 2.8vw, 38px); border-radius: 26px; background: var(--bg-soft); }
.bl-card.is-featured { grid-column: 1 / -1; }
.bl-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 0 0 14px; font-size: .84rem; font-weight: 600; color: var(--grey); }
.bl-tag { padding: 5px 12px; border-radius: 999px; background: #fff; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--orange-text); }
.bl-card h3 { margin: 0 0 12px; font-size: clamp(1.25rem, 2vw, 1.65rem); font-weight: 700; line-height: 1.18; letter-spacing: -.03em; color: var(--ink); text-wrap: balance; }
.bl-card.is-featured h3 { font-size: clamp(1.6rem, 2.8vw, 2.3rem); line-height: 1.1; letter-spacing: -.04em; }
.bl-card h3 a { color: inherit; }
.bl-card h3 a:hover { color: var(--navy); }
.bl-excerpt { margin: 0 0 16px; max-width: 60ch; font-size: 1.02rem; line-height: 1.6; color: var(--grey); }
.bl-more { background: var(--bg-soft); }
.bl-more .bl-card { background: #fff; }
.bl-more .bl-tag { background: var(--bg-soft); }
.bl-more .bl-grid { margin-top: clamp(24px, 3vw, 40px); }

/* ---------- Article ---------- */
.bl-head { padding-block: clamp(28px, 4vw, 52px) clamp(24px, 3vw, 36px); background: var(--bg-soft); }
.bl-head h1 { max-width: 24ch; font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 700; line-height: 1.03; letter-spacing: -.05em; color: var(--ink); text-wrap: balance; }
.bl-lead { max-width: 60ch; margin: clamp(14px, 2vw, 20px) 0 0; font-size: clamp(1.05rem, 1.5vw, 1.25rem); line-height: 1.55; color: var(--grey); }
.bl-hero-photo { margin: 0; background: var(--bg-soft); }
.bl-hero-photo img { display: block; width: 100%; height: auto; max-height: 62vh; object-fit: cover; }
.bl-prose { max-width: 720px; padding-block: clamp(36px, 5vw, 64px); }
.bl-prose h2 { margin: clamp(28px, 3.4vw, 44px) 0 12px; font-size: clamp(1.35rem, 2.2vw, 1.85rem); font-weight: 700; line-height: 1.15; letter-spacing: -.035em; color: var(--ink); }
.bl-prose h2:first-child { margin-top: 0; }
.bl-prose p { margin: 0 0 14px; font-size: clamp(1.02rem, 1.3vw, 1.12rem); line-height: 1.7; color: var(--grey); }
.bl-cta { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 24px; margin-top: clamp(28px, 3.4vw, 44px); padding-top: clamp(24px, 3vw, 36px); border-top: 1px solid var(--line); }

/* ---------- Certificates ---------- */
.ct-list { padding-block: clamp(40px, 6vw, 80px); background: #fff; }
.ct-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 30px); margin: 0; padding: 0; list-style: none; }
.ct-card { display: flex; align-items: center; gap: 20px; padding: clamp(26px, 3vw, 40px); border-radius: 26px; background: var(--bg-soft); }
.ct-glyph { flex: none; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: #fff; }
.ct-glyph .glyph { width: 30px; height: 30px; color: var(--navy); }
.ct-name { margin: 0; display: flex; align-items: baseline; gap: 10px; font-size: clamp(1.15rem, 1.9vw, 1.55rem); font-weight: 700; letter-spacing: -.03em; color: var(--ink); }
.ct-slash { font-weight: 700; color: var(--orange-text); }

@media (prefers-reduced-motion: reduce) {
  .bl-card { transition: none; }
}

@media (max-width: 900px) {
  .bl-grid { grid-template-columns: 1fr; }
  .ct-grid { grid-template-columns: 1fr; }
}

/* ---------- VIP design rooms page ---------- */
.vr-hero { position: relative; isolation: isolate; display: flex; align-items: flex-end; min-height: clamp(520px, 74vh, 760px); padding-block: 0 clamp(44px, 6vw, 84px); overflow: hidden; background: #0c1024; color: #fff; }
.vr-hero-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center 55%; }
.vr-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8, 12, 30, .88) 0%, rgba(8, 12, 30, .55) 50%, rgba(8, 12, 30, .15) 90%), linear-gradient(180deg, rgba(8, 12, 30, .45) 0%, rgba(8, 12, 30, 0) 40%, rgba(8, 12, 30, .55) 100%); }
.vr-hero-copy { max-width: 1200px; }
.vr-crumbs { justify-content: flex-start; margin-bottom: 0; }
.vr-crumbs, .vr-crumbs a { color: rgba(255, 255, 255, .78); }
.vr-crumbs a:hover { color: #fff; }
.vr-hero h1 { margin-top: clamp(16px, 2.4vw, 26px); font-size: clamp(2.8rem, 6.4vw, 5.5rem); font-weight: 700; line-height: 1; letter-spacing: -.05em; color: #fff; }
.vr-hero h1 em { font-style: normal; color: #FF7A45; }
.vr-lead { max-width: 44ch; margin: clamp(14px, 2vw, 22px) 0 0; font-size: clamp(1.08rem, 1.6vw, 1.3rem); line-height: 1.5; color: rgba(255, 255, 255, .92); }
.vr-actions .pc-pill { padding: 15px 30px; font-size: 1.02rem; }
.vr-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 26px; margin-top: clamp(22px, 3vw, 32px); }
.vr-call { display: inline-flex; align-items: center; gap: 5px; font-size: 1.05rem; font-weight: 600; color: #fff; }
.vr-call:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.vr-call > span { color: #FF7A45; font-size: 1.25em; line-height: 1; }

.vr-range { padding-top: clamp(32px, 4vw, 52px); background: var(--bg-soft); }
/* the same thin separating rule used on the homepage and the About page */
.vr-rule { height: 1px; margin: 0 0 clamp(30px, 4vw, 52px); background: linear-gradient(90deg, var(--navy) 0%, #6aa8e0 48%, #F4A27A 100%); opacity: .55; }
/* five rooms: the second row sits centred under the first */
.vr-range .pc-grid { display: flex; flex-wrap: wrap; justify-content: center; margin-top: 0; }
.vr-range .pc-grid > .pc { flex: 0 0 calc((100% - 20px) / 2); }
.vr-range .pc { background: #fff; }

.vr-compare { background: #fff; }
.vr-table-wrap { margin-top: 0; overflow-x: auto; border-radius: 22px; border: 1px solid var(--line); }
.vr-table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 1rem; color: var(--ink); }
.vr-table th, .vr-table td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.vr-table thead th { background: var(--navy); color: #fff; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; border-bottom: 0; }
.vr-table tbody tr:last-child td { border-bottom: 0; }
.vr-table tbody tr:nth-child(even) td { background: var(--bg-soft); }
.vr-model a { font-weight: 700; color: var(--navy); }
.vr-model a:hover { color: var(--orange-text); }
.vr-go a { font-weight: 700; font-size: .9rem; color: var(--orange-text); white-space: nowrap; }
.vr-go a:hover { color: var(--navy); }
.vr-note { max-width: 70ch; margin: 16px 0 0; font-size: .92rem; line-height: 1.6; color: var(--grey); }

@media (max-width: 1000px) {
  .vr-range .pc-grid > .pc { flex-basis: calc((100% - 20px) / 2); }
}
@media (max-width: 720px) {
  .vr-range .pc-grid > .pc { flex-basis: 100%; }
  .vr-hero::before { background: linear-gradient(180deg, rgba(8, 12, 30, .45) 0%, rgba(8, 12, 30, .72) 45%, rgba(8, 12, 30, .92) 100%); }
  .vr-table { min-width: 0; }
  .vr-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .vr-table tbody tr { display: block; border-bottom: 1px solid var(--line); }
  .vr-table tbody tr:nth-child(even) td { background: transparent; }
  .vr-table td { display: flex; justify-content: space-between; gap: 16px; border-bottom: 0; padding: 10px 16px; }
  .vr-table td::before { content: attr(data-l); flex: none; font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--grey); }
}

/* a long article title stays on one line in the breadcrumb */
.bl-head .crumbs { min-width: 0; justify-content: flex-start; }
.bl-head .crumbs [aria-current] { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
