/* UK bare metal servers page (/bare-metal-servers-uk/), generated by generate_bare_metal_pages.js.
   bm-* classes: hero price line, benefit cards, pick cards, filter bar and the 70-row server table
   (stacked into cards below 900px), option tables inside details. Loaded after platform-hosting.css. */
.bm-section { position: relative; z-index: 1; padding: 5rem 3rem; }
.bm-section.ph-alt { background: var(--bg-secondary); }
.bm-inner { max-width: 1240px; margin: 0 auto; }
.bm-wide .ph-prose-inner { max-width: 980px; }
.bm-hero-price { margin: 0 0 2rem; color: var(--text-secondary); font-size: 1rem; line-height: 1.6; }
.bm-hero-price strong { font-family: 'Space Mono', monospace; color: var(--accent-gold); font-size: 1.9rem; font-weight: 700; margin: 0 0.4rem; white-space: nowrap; }

.bm-benefits { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 1.25rem; align-items: stretch; margin-top: 2.5rem; }
.bm-benefit { background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: 14px; padding: 1.6rem; }
.bm-benefit-icon { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; border-radius: 12px; background: var(--accent-gold-dim); color: var(--accent-gold); margin-bottom: 1rem; }
.bm-benefit h3 { font-size: 1.1rem; font-weight: 700; margin: 0 0 0.5rem; color: var(--text-primary); }
.bm-benefit p { color: var(--text-secondary); line-height: 1.7; font-size: 0.95rem; margin: 0; }

.bm-picks { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(270px, 100%), 1fr)); gap: 1.25rem; align-items: stretch; margin-top: 2.5rem; }
.bm-pick { display: flex; flex-direction: column; gap: 0.6rem; background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: 14px; padding: 1.5rem; }
.bm-pick-tag { font-family: 'Space Mono', monospace; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent-gold); }
.bm-pick h3 { font-size: 1.05rem; font-weight: 700; margin: 0; color: var(--text-primary); overflow-wrap: break-word; }
.bm-pick p { margin: 0; color: var(--text-secondary); font-size: 0.9rem; line-height: 1.6; }
.bm-pick .bm-pick-spec { color: var(--text-primary); font-size: 0.85rem; }
.bm-pick .bm-pick-price { margin-top: auto; padding-top: 0.6rem; font-size: 0.82rem; color: var(--text-muted); }
.bm-pick-price strong { display: block; font-family: 'Space Mono', monospace; color: var(--accent-gold); font-size: 1.25rem; }
.bm-pick .btn { text-align: center; justify-content: center; }

.bm-filters { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(160px, 100%), 1fr)); gap: 0.9rem; align-items: end; margin-top: 2.5rem; padding: 1.25rem; background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: 14px; }
.bm-filter { display: flex; flex-direction: column; gap: 0.35rem; min-width: 0; }
.bm-filter label { font-family: 'Space Mono', monospace; font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); }
.bm-filter select { width: 100%; min-height: 44px; padding: 0.55rem 0.7rem; border-radius: 8px; border: 1px solid var(--border-subtle); background: var(--bg-tertiary); color: var(--text-primary); font-family: inherit; font-size: 0.92rem; }
.bm-filter select:focus-visible, .bm-details summary:focus-visible { outline: 2px solid var(--accent-gold); outline-offset: 2px; }
.bm-filter-reset .btn { width: 100%; min-height: 44px; justify-content: center; }
.bm-count { margin: 1.25rem 0 0.75rem; color: var(--text-secondary); font-size: 0.92rem; }
.bm-empty { margin: 1.5rem 0; padding: 1.5rem; text-align: center; color: var(--text-secondary); border: 1px dashed var(--border-subtle); border-radius: 12px; }
.bm-empty[hidden] { display: none; }

.bm-table-wrap { border: 1px solid var(--border-subtle); border-radius: 14px; background: var(--bg-card); overflow: hidden; }
.bm-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.bm-table th, .bm-table td { padding: 0.95rem 1rem; text-align: left; vertical-align: middle; border-bottom: 1px solid var(--border-subtle); color: var(--text-secondary); line-height: 1.45; }
.bm-table thead th { background: var(--bg-tertiary); color: var(--text-primary); font-weight: 600; font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.05em; }
.bm-table tbody tr:last-child th, .bm-table tbody tr:last-child td { border-bottom: none; }
.bm-table tbody tr[hidden] { display: none; }
.bm-table tbody th { font-weight: 400; }
.bm-name { display: block; color: var(--text-primary); font-weight: 700; font-size: 0.98rem; }
.bm-sub { display: block; color: var(--text-muted); font-size: 0.8rem; margin-top: 0.15rem; }
.bm-table .mono { font-family: 'Space Mono', monospace; color: var(--text-primary); white-space: nowrap; }
.bm-price strong { display: block; font-family: 'Space Mono', monospace; color: var(--accent-gold); font-size: 1.05rem; white-space: nowrap; }
.bm-price .bm-sub { margin: 0; white-space: nowrap; }
.bm-action { text-align: right; }
.bm-action .btn { white-space: nowrap; padding: 0.65rem 1rem; font-size: 0.88rem; }

.bm-details { margin: 0 0 0.75rem; border: 1px solid var(--border-subtle); border-radius: 12px; background: var(--bg-card); }
.bm-details summary { cursor: pointer; padding: 0.95rem 1.1rem; min-height: 44px; color: var(--text-primary); font-weight: 600; font-size: 0.95rem; line-height: 1.5; }
.bm-details[open] summary { border-bottom: 1px solid var(--border-subtle); }
.bm-details .ph-table-wrap { margin: 0; border: none; border-radius: 0 0 12px 12px; background: transparent; }
.bm-page .ph-prose .ph-table { min-width: 0; }
.bm-page .ph-prose .ph-table td:last-child { text-align: right; }
.bm-page #addons .ph-table { min-width: 620px; }
.bm-page #addons .ph-table td:last-child, .bm-page #raid + .ph-table-wrap td:last-child { text-align: left; }
.bm-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; align-items: start; }
.bm-two .ph-table-wrap { margin: 0.5rem 0 1.25rem; }

@media (max-width: 1100px) {
    .bm-platform { display: none; }
    .bm-table th, .bm-table td { padding: 0.85rem 0.7rem; }
}
@media (max-width: 900px) {
    .bm-section { padding: 4rem 1.5rem; }
    .bm-table-wrap { border: none; background: none; border-radius: 0; overflow: visible; }
    .bm-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
    .bm-table, .bm-table tbody { display: block; }
    .bm-table tbody tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem 1rem; padding: 1.2rem; margin-bottom: 1rem; background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: 14px; }
    .bm-table tbody tr[hidden] { display: none; }
    .bm-table tbody th, .bm-table tbody td { display: block; padding: 0; border: none; }
    .bm-table tbody th, .bm-table td.bm-price, .bm-table td.bm-action, .bm-table td[data-label="Storage"] { grid-column: 1 / -1; }
    .bm-table td[data-label]::before { content: attr(data-label); display: block; font-family: 'Space Mono', monospace; font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 0.2rem; }
    .bm-table td.bm-price::before { display: none; }
    .bm-platform { display: block; }
    .bm-action { text-align: left; }
    .bm-action .btn { display: flex; width: 100%; min-height: 44px; justify-content: center; align-items: center; }
    .bm-two { grid-template-columns: minmax(0, 1fr); gap: 0; }
}
@media (max-width: 480px) {
    .bm-section { padding: 3rem 1rem; }
    .bm-hero-price strong { display: block; margin: 0.2rem 0; }
}
@media (max-width: 1024px) {
    .bm-benefit, .bm-pick, .bm-details, .bm-table tbody tr { transition: none !important; }
}

/* v2: satellite pages */
.bm-page .ph-prose .ph-table.bm-left td:last-child { text-align: left; }
.bm-page .ph-prose .ph-table.bm-left { min-width: 560px; }
.bm-page .ph-prose .ph-table.bm-addons { min-width: 620px; }
