/* BidsOnline public site - full-width modern look (header, home, live, auction network).
   Brand: red #b8252f (btn-primary in colors/color3.css), yellow #f8b51c (btn-warning in custom.css). */

:root {
    --pub-bg: #f5f5f5;
    --pub-red: #b8252f;
    --pub-red-dark: #8f1b23;
    --pub-yellow: #f8b51c;
    --pub-ink: #222222;
    --pub-muted: #5f5f5f;
    --pub-line: #ececec;
    --pub-radius: 20px;
    --pub-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    --pub-online: #2f6fd1;
    --pub-simulcast: #d12a2a;
    --pub-tender: #7a4fc9;
    --pub-onsite: #2f8a4c;
    --pub-closing: #b35f00;
}

/* Every page (the header loads this file): the header is sticky instead of fixed, and pages use the full screen width
   instead of the old 1120px boxed layout */
.body { padding-top: 0 !important; }
body.boxed { background-color: var(--pub-bg) !important; }
body.boxed .body { max-width: none; overflow: visible; }
.hero-area { top: 0 !important; margin-bottom: 0 !important; }
@media (min-width: 1200px) { .body .container { width: auto; max-width: 1600px; padding-left: 32px; padding-right: 32px; } }

body.pub-page { background: var(--pub-bg) !important; color: var(--pub-ink); }
body.pub-page .body { background: transparent; padding-top: 0 !important; }
.pub-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Header (modules/header.ascx) ---------- */
/* also .site-header-wrapper, so init.js sticky offsets (.tsticky) still read the header height */
.pub-header, .pub-header.site-header-wrapper { position: sticky; top: 0; left: auto; width: auto; z-index: 1000; background: #fff; box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06); }
.pub-header-inner { max-width: 1600px; margin: 0 auto; padding: 10px 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; }
.pub-logo img { height: 28px; width: auto; display: block; }
.pub-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; flex: 1 1 auto; margin: 0; padding: 0; list-style: none; }
.pub-nav > li > a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; color: var(--pub-ink); font-weight: 600; font-size: 14px; text-decoration: none; }
.pub-nav > li > a:hover, .pub-nav > li > a:focus { background: #f1f1f1; color: var(--pub-ink); }
.pub-nav > li.active > a { background: #f1f1f1; }
.pub-live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--pub-simulcast); box-shadow: 0 0 0 0 rgba(209, 42, 42, 0.5); animation: pub-pulse 2s infinite; }
@keyframes pub-pulse { 0% { box-shadow: 0 0 0 0 rgba(209, 42, 42, 0.5); } 70% { box-shadow: 0 0 0 8px rgba(209, 42, 42, 0); } 100% { box-shadow: 0 0 0 0 rgba(209, 42, 42, 0); } }
.pub-header-right { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-left: auto; }
@media (max-width: 1299px) {
    .pub-phone { display: none; }
    .pub-nav > li > a { padding: 9px 11px; }
}
@media (min-width: 992px) and (max-width: 1199px) {
    .pub-header-inner { padding: 10px 20px; gap: 10px 14px; }
    .pub-logo img { height: 23px; }
    .pub-nav { gap: 0; }
    .pub-nav > li > a { padding: 8px 9px; font-size: 13px; }
    .pub-header-right .pub-btn { padding: 9px 14px; font-size: 13px; }
}
.pub-phone { font-size: 14px; font-weight: 600; color: var(--pub-muted); text-decoration: none; }
.pub-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 20px; border-radius: 999px; font-weight: 700; font-size: 14px; line-height: 1.2; border: 0; text-decoration: none !important; cursor: pointer; }
.pub-btn-primary { background: var(--pub-red); color: #fff !important; }
.pub-btn-primary:hover, .pub-btn-primary:focus { background: var(--pub-red-dark); color: #fff !important; }
.pub-btn-warning { background: var(--pub-yellow); color: #222 !important; }
.pub-btn-warning:hover, .pub-btn-warning:focus { background: #e6a512; color: #222 !important; }
.pub-btn-light { background: #f1f1f1; color: #222 !important; }
.pub-btn-light:hover { background: #e6e6e6; }
.pub-bidder { flex-basis: 100%; text-align: right; font-size: 13px; color: var(--pub-muted); }
.pub-bidder:empty { display: none; }
.pub-menu-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 0; background: #f1f1f1; align-items: center; justify-content: center; }
@media (max-width: 991px) {
    .pub-header-inner { padding: 10px 16px; }
    .pub-logo { flex: 0 1 auto; margin-right: auto; }
    .pub-logo img { height: 23px; }
    .pub-menu-toggle { display: inline-flex; order: 3; }
    .pub-header-right { order: 2; }
    .pub-phone { display: none; }
    .pub-nav { order: 4; flex-basis: 100%; flex-direction: column; align-items: stretch; display: none; padding: 6px 0 10px; }
    .pub-header.open .pub-nav { display: flex; }
    .pub-nav > li > a { display: flex; padding: 12px 16px; }
}
@media (max-width: 480px) {
    .pub-header-inner { gap: 8px; }
    .pub-logo img { height: 18px; }
    .pub-header-right { gap: 6px; }
    .pub-header-right .pub-btn { padding: 8px 12px; font-size: 13px; }
}

/* ---------- Page layout ---------- */
.pub-main h1, .pub-main h2, .pub-main h3 { letter-spacing: normal; }
.pub-main { max-width: 1600px; margin: 0 auto; padding: 24px 32px 48px; display: flex; flex-direction: column; gap: 20px; }
.pub-card { background: #fff; border-radius: var(--pub-radius); box-shadow: var(--pub-shadow); padding: 24px 28px; }
.pub-title-row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 20px; }
.pub-h1 { margin: 0; font-size: 30px; line-height: 1.2; font-weight: 800; letter-spacing: normal; text-transform: none; color: var(--pub-ink); }
.pub-sub { margin: 4px 0 0; color: var(--pub-muted); font-size: 14px; }
.pub-meta { font-size: 14px; color: var(--pub-muted); }
@media (max-width: 767px) {
    .pub-main { padding: 14px 12px 32px; gap: 14px; }
    .pub-card { padding: 16px; border-radius: 16px; }
    .pub-h1 { font-size: 22px; }
}

/* ---------- Chips ---------- */
.pub-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.pub-chips-label { flex: none; white-space: nowrap; font-size: 13px; color: var(--pub-muted); margin-right: 4px; }
.pub-chip { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 999px; border: 1px solid #d9d9d9; background: #fff; color: var(--pub-ink); font-size: 14px; font-weight: 700; line-height: 1.2; cursor: pointer; font-family: inherit; }
.pub-chip:hover { border-color: #999; }
.pub-chip.active { background: #222; border-color: #222; color: #fff; }
.pub-chip .pub-chip-n { opacity: 0.7; font-weight: 600; }
.pub-chip-dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
@media (max-width: 767px) {
    .pub-chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
    .pub-chips::-webkit-scrollbar { display: none; }
    .pub-chip { flex: none; padding: 8px 14px; font-size: 13px; }
}

/* type badges / dots */
.pub-badge { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; color: #fff; line-height: 1.3; }
.pub-badge-cat { background: #f1f1f1; color: #333; font-weight: 700; }
.pub-t-online { background: var(--pub-online); }
.pub-t-simulcast { background: var(--pub-simulcast); }
.pub-t-tender { background: var(--pub-tender); }
.pub-t-onsite { background: var(--pub-onsite); }
.pub-t-closing { background: var(--pub-closing); }
.pub-badge-status { background: #fff3d6; color: #6b4a00; }
.pub-badge-finished { background: #eeeeee; color: #555; }

/* ---------- Search ---------- */
.pub-search { position: relative; margin-top: 16px; }
.pub-search input { box-sizing: border-box; width: 100%; height: 56px; border-radius: 999px; border: 1px solid #d9d9d9; padding: 0 24px 0 52px; font-size: 17px; background: #fff; box-shadow: none; }
.pub-search input:focus { outline: none; border-color: #999; box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.06); }
.pub-search-icon { position: absolute; left: 20px; top: 18px; color: #777; pointer-events: none; }
.pub-search-results { display: none; margin-top: 12px; border: 1px solid var(--pub-line); border-radius: 16px; padding: 14px 16px; }
.pub-search-results.open { display: block; }
.pub-search-head { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--pub-muted); margin-bottom: 10px; }
.pub-search-clear { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 16px; border: 0; border-radius: 999px; background: #222; color: #fff; font-family: inherit; font-size: 13px; font-weight: 700; line-height: 1.2; cursor: pointer; }
.pub-search-clear span { font-size: 20px; line-height: 0.8; }
.pub-search-clear:hover, .pub-search-clear:focus-visible { background: var(--pub-red); }
.pub-search-head { gap: 12px; }
.pub-search-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; max-height: 520px; overflow-y: auto; }
.pub-search-list a { display: flex; gap: 12px; padding: 10px; border-radius: 14px; background: #fafafa; color: var(--pub-ink); text-decoration: none; height: 100%; box-sizing: border-box; }
.pub-search-list a:hover { background: #f1f1f1; }
.pub-search-list img { flex: none; width: 104px; height: 78px; object-fit: cover; border-radius: 12px; background: #eee; }
.pub-search-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; font-size: 13px; }
.pub-search-title { font-size: 14px; font-weight: 700; line-height: 1.3; }
.pub-search-bid { font-weight: 700; }
.pub-search-meta { color: #666; font-size: 12px; }
.pub-search-empty, .pub-search-more { font-size: 14px; color: var(--pub-muted); padding: 6px 0; }
.pub-search-tip { position: fixed; z-index: 2000; max-width: 360px; padding: 10px 12px; border-radius: 12px; background: #222; color: #fff; font-size: 13px; line-height: 1.45; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2); display: none; pointer-events: none; }
.pub-search-tip.open { display: block; }
@media (max-width: 1399px) { .pub-search-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 1023px) { .pub-search-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) {
    .pub-search input { height: 48px; font-size: 16px; padding-left: 46px; }
    .pub-search-icon { top: 14px; left: 16px; }
    .pub-search-list { grid-template-columns: minmax(0, 1fr); max-height: 60vh; }
    .pub-search-list img { width: 84px; height: 64px; }
}

/* ---------- Live strip (home) ---------- */
.pub-live-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; background: #222; color: #fff !important; border-radius: 16px; padding: 14px 22px; text-decoration: none !important; }
.pub-live-strip:hover { background: #2c2c2c; }
.pub-live-strip strong { display: inline-flex; align-items: center; gap: 8px; }
.pub-live-strip .pub-live-go { margin-left: auto; font-weight: 700; color: var(--pub-yellow); }
.pub-live-strip .pub-live-text { font-size: 14px; }

/* ---------- Auction cards ---------- */
/* every row the same height (rows were sized to their tallest card, so rows differed) */
.pub-auctions { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 20px; }
@media (max-width: 1399px) { .pub-auctions { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 1023px) { .pub-auctions { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }
@media (max-width: 599px) { .pub-auctions { grid-template-columns: minmax(0, 1fr); } }
.pub-auction { background: #fff; border-radius: var(--pub-radius); box-shadow: var(--pub-shadow); overflow: hidden; display: flex; flex-direction: column; }
.pub-auction[hidden] { display: none; }
/* as the Premium home page: the first lot photo across the top, up to 3 smaller ones underneath */
.pub-auction-photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: minmax(0, 1fr) auto; gap: 8px; aspect-ratio: 10 / 9; background: #fff; padding: 10px 10px 0; box-sizing: border-box; }
.pub-auction-photos a:first-child { grid-column: 1 / -1; }
/* the smaller photos underneath are 4:3, the shape of most lot photos, so they aren't cropped; the top photo takes the rest (about 3:2) */
.pub-auction-photos a:not(:first-child) { aspect-ratio: 4 / 3; }
/* every photo shows whole, never cropped: a portrait (or other odd-shaped) photo sits in the middle of its box with the
   card's white either side */
/* photos keep their own shape: the whole photo shows (contain) on a light panel, never cropped */
/* each photo is sized to its own shape inside its cell, so the rounded corners are on the photo itself */
.pub-auction-photos a { position: relative; display: block; min-height: 0; min-width: 0; overflow: hidden; }
.pub-auction-photos img { position: absolute; inset: 0; margin: auto; width: auto; height: auto; max-width: 100%; max-height: 100%; border-radius: 12px; transition: transform 0.3s; }
.pub-auction-photos a:hover img { transform: scale(1.04); }
.pub-auction-photos.n1 { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); }
/* no lot photos: the house logo in one tile, the same size as the photo panel */
.pub-auction-photos a.pub-auction-logo { background: #f1f1f1; border-radius: 12px; }
.pub-auction-photos a.pub-auction-logo img { max-width: 60%; max-height: 60%; border-radius: 0; }
.pub-auction-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.pub-auction-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.pub-auction-house { font-size: 13px; color: var(--pub-muted); font-weight: 600; }
/* the auctioneer above the photos: logo tile, name and location, as the auction network's house panel */
.pub-auction-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px 4px; }
/* logos are mostly wide: the tile takes the logo's own shape (up to 160px wide), same height on every card */
.pub-auction-head .pub-net-logo { width: auto; height: 52px; min-width: 52px; max-width: 160px; padding: 6px 10px; border-radius: 12px; object-fit: contain; }
a.pub-auction-head { color: inherit; text-decoration: none !important; }
a.pub-auction-head:hover .pub-auction-house, a.pub-auction-head:focus-visible .pub-auction-house { color: var(--pub-red); }
.pub-auction-head-text { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.pub-auction-head .pub-auction-house { font-size: 16px; font-weight: 800; color: var(--pub-ink); line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pub-auction-head .pub-auction-where { font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pub-auction-title { margin: 0; font-size: 18px; line-height: 1.3; font-weight: 800; letter-spacing: normal; text-transform: none; }
.pub-auction-title a { color: var(--pub-ink); text-decoration: none; }
.pub-auction-title a:hover { color: var(--pub-red); }
.pub-auction-desc { font-size: 13px; color: #555; line-height: 1.5; max-height: 4.5em; overflow: hidden; }
.pub-auction-desc * { font-size: inherit !important; margin: 0 !important; }
.pub-auction-where { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--pub-muted); }
.pub-auction-counts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
/* count / status badges, as the Premium home page: auction cards, Live now and Closing soon lots */
.pub-pill { display: inline-flex; align-items: center; gap: 4px; padding: 5px 12px; border-radius: 999px; background: #f2f2f2; color: #3a3a3a; font-size: 13px; line-height: 1.3; white-space: nowrap; }
.pub-pill b { color: #222; font-weight: 800; }
.pub-pill-market { background: #e8f5ec; color: #166534; }
.pub-pill-market b { color: #166534; }
.pub-pill-near { background: #fff4d6; color: #7a5200; }
.pub-pill-near b { color: #7a5200; }
.pub-auction-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; }
.pub-countdown { font-size: 13px; }
.pub-countdown .pub-cd-label { color: var(--pub-muted); }
.pub-countdown .pub-cd-value { font-weight: 800; }
.pub-countdown.soon .pub-cd-value { color: var(--pub-simulcast); }
.pub-countdown .pub-cd-date { display: block; margin-top: 2px; font-size: 12px; color: var(--pub-muted); }
.pub-countdown .pub-cd-date:empty { display: none; }
.pub-auction-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.pub-auction-actions .pub-btn { padding: 9px 18px; font-size: 13px; }
.pub-empty { text-align: center; color: var(--pub-muted); padding: 40px 10px; }

/* ---------- Live page ---------- */
.pub-live-status { font-size: 13px; font-weight: 700; color: var(--pub-muted); }
.pub-live-status.ok { color: var(--pub-onsite); }
.pub-lanes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pub-lanes:empty { display: none; }
@media (max-width: 1199px) { .pub-lanes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 699px) { .pub-lanes { grid-template-columns: minmax(0, 1fr); } }
.pub-lane { background: #222; color: #fff; border-radius: var(--pub-radius); padding: 16px 18px; display: flex; gap: 14px; align-items: center; }
.pub-lane-photo { flex: none; width: 104px; height: 78px; border-radius: 12px; object-fit: cover; background: #444; }
.pub-lane-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; line-height: 1.35; }
.pub-lane-tag { font-size: 12px; color: #ff8a8a; font-weight: 800; text-transform: uppercase; letter-spacing: 0.3px; }
.pub-lane-when { font-size: 12px; color: #bbb; }
.pub-lane-house { font-weight: 800; font-size: 15px; }
.pub-lane-now { font-size: 13px; color: #ddd; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pub-lane-bid { font-size: 18px; font-weight: 800; color: #fff; }
.pub-lane.flash { animation: pub-flash 1.2s; }
.pub-live-layout { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; }
.pub-live-grid { flex: 999 1 640px; min-width: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1499px) { .pub-live-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 1099px) { .pub-live-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 479px) {
    .pub-live-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .pub-lot { border-radius: 16px; }
    .pub-lot-body { padding: 10px; }
    .pub-lot-bid { font-size: 15px; }
    .pub-lot-bidrow { flex-direction: column; gap: 2px; }
    .pub-lane { padding: 12px; gap: 10px; }
    .pub-lane-photo { width: 72px; height: 54px; }
}
.pub-lot { background: #fff; border-radius: var(--pub-radius); box-shadow: var(--pub-shadow); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow 0.3s; }
.pub-lot-photo { position: relative; display: block; aspect-ratio: 4 / 3; background: #eee; }
.pub-lot-photo img { width: 100%; height: 100%; object-fit: contain; display: block; background: #f1f1f1; }
.pub-lot-timer { position: absolute; left: 10px; top: 10px; padding: 5px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; color: #fff; background: rgba(0, 0, 0, 0.72); }
.pub-lot-timer.soon { background: var(--pub-simulcast); }
.pub-lot-timer.closed { background: #777; }
.pub-lot-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 5px; flex: 1; line-height: 1.35; }
.pub-lot-house { font-size: 12px; color: var(--pub-muted); }
.pub-lot-title { font-size: 14px; font-weight: 700; line-height: 1.3; color: var(--pub-ink); text-decoration: none; }
.pub-lot-title:hover { color: var(--pub-red); }
.pub-lot-bidrow { display: flex; justify-content: space-between; align-items: baseline; margin-top: auto; padding-top: 4px; }
.pub-lot-bid { font-size: 17px; font-weight: 800; }
.pub-lot-bids { font-size: 12px; color: var(--pub-muted); }
.pub-lot .pub-btn { margin-top: 6px; padding: 9px; font-size: 13px; }
.pub-lot.flash { animation: pub-flash 1.2s; }
.pub-lot.closed { opacity: 0.55; }
@keyframes pub-flash { 0% { box-shadow: 0 0 0 4px var(--pub-yellow), var(--pub-shadow); } 100% { box-shadow: 0 0 0 0 rgba(248, 181, 28, 0), var(--pub-shadow); } }
.pub-feed { flex: 1 1 300px; min-width: 0; background: #fff; border-radius: var(--pub-radius); box-shadow: var(--pub-shadow); overflow: hidden; position: sticky; top: 90px; }
.pub-feed-head { background: var(--pub-red); color: #fff; padding: 14px 18px; font-weight: 800; display: flex; justify-content: space-between; align-items: center; }
.pub-feed-list { list-style: none; margin: 0; padding: 4px 0; max-height: 70vh; overflow-y: auto; }
.pub-feed-list li { padding: 4px 10px; }
.pub-feed-list li.new > * { animation: pub-feed-in 1.5s; }
@keyframes pub-feed-in { from { background: #fff3d6; } to { background: #fafafa; } }
/* each bid: like a lot search result (photo, house and lot, title), smaller */
.pub-feed-list li > a, .pub-feed-row { display: flex; gap: 10px; padding: 8px; border-radius: 12px; background: #fafafa; color: var(--pub-ink); text-decoration: none; }
.pub-feed-list li > a:hover { background: #f1f1f1; }
.pub-feed-list img, .pub-feed-noimg { flex: none; width: 72px; height: 54px; object-fit: cover; border-radius: 10px; background: #eee; }
.pub-feed-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; font-size: 12px; }
.pub-feed-text .pub-search-meta { font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pub-feed-title { font-size: 13px; font-weight: 700; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pub-feed-line { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.pub-feed-bid { font-weight: 800; font-size: 13px; }
.pub-feed-ago { color: #888; font-size: 11px; }
.pub-feed-empty { padding: 16px 18px; color: var(--pub-muted); font-size: 13px; }
@media (max-width: 991px) { .pub-feed { position: static; flex-basis: 100%; } .pub-feed-list { max-height: 360px; } }

/* ---------- Auction network ---------- */
.pub-net-search { flex: 0 1 380px; }
.pub-net-search input { box-sizing: border-box; width: 100%; height: 46px; border-radius: 999px; border: 1px solid #d9d9d9; padding: 0 20px; font-size: 15px; }
.pub-net-layout { display: flex; flex-wrap: wrap; gap: 20px; align-items: stretch; }
.pub-net-map { flex: 999 1 640px; min-width: 0; height: 680px; border-radius: var(--pub-radius); overflow: hidden; box-shadow: var(--pub-shadow); background: #dfe8ec; z-index: 0; }
.pub-net-side { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.pub-net-crumbs { font-size: 13px; color: var(--pub-muted); }
.pub-net-crumbs a { cursor: pointer; }
.pub-net-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; max-height: 600px; overflow-y: auto; }
.pub-net-list button { width: 100%; text-align: left; display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: 14px; border: 0; background: transparent; font-family: inherit; color: var(--pub-ink); cursor: pointer; }
.pub-net-list button:hover, .pub-net-list button:focus { background: #f5f5f5; }
.pub-net-logo { flex: none; width: 56px; height: 56px; border-radius: 12px; background: #f4f4f4; object-fit: contain; padding: 4px; box-sizing: border-box; }
.pub-net-name { font-weight: 700; font-size: 14px; }
.pub-net-meta { font-size: 12px; color: var(--pub-muted); }
.pub-net-house-head { display: flex; gap: 14px; align-items: center; }
.pub-net-house-head .pub-net-logo { width: 76px; height: 76px; border-radius: 16px; }
.pub-net-house-head h2 { margin: 0; font-size: 20px; font-weight: 800; text-transform: none; }
.pub-net-details { list-style: none; margin: 14px 0; padding: 0; font-size: 14px; display: flex; flex-direction: column; gap: 6px; }
.pub-net-auctions { border-top: 1px solid var(--pub-line); padding-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.pub-net-auctions a { display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: 14px; background: #fafafa; color: var(--pub-ink); text-decoration: none; }
.pub-net-auctions a:hover { background: #f1f1f1; }
.pub-net-auctions img { flex: none; width: 64px; height: 48px; border-radius: 10px; object-fit: cover; background: #e8e8e8; }
.pub-net-pin { width: 38px; height: 38px; border-radius: 50%; background: #222; color: #fff; font-weight: 800; font-size: 13px; display: flex; align-items: center; justify-content: center; border: 3px solid #fff; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25); box-sizing: border-box; }
.pub-net-pin.live { background: var(--pub-red); }
.pub-net-pin.selected { background: var(--pub-yellow); color: #222; }
.marker-cluster-pub { background: transparent; }
.marker-cluster-pub div { width: 46px; height: 46px; border-radius: 50%; background: #222; color: #fff; font-weight: 800; font-size: 14px; display: flex; align-items: center; justify-content: center; border: 3px solid #fff; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25); box-sizing: border-box; }
@media (max-width: 767px) { .pub-net-map { height: 420px; } }

/* ---------- Content pages (about, software, login, registration) ---------- */
.pub-topbar { display: flex; flex-direction: column; gap: 6px; }
.pub-topbar .breadcrumb { margin: 0; padding: 0; background: transparent; font-size: 13px; }
.pub-section-title { margin: 0 0 6px; font-size: 22px; font-weight: 800; text-transform: none; color: var(--pub-ink); }
.pub-card h2, .pub-card h3 { text-transform: none; }
.pub-card-title { margin: 0 0 14px; padding-bottom: 12px; border-bottom: 1px solid var(--pub-line); font-size: 20px; font-weight: 800; text-transform: none; }
.pub-sub-title { margin: 22px 0 12px; padding-top: 18px; border-top: 1px solid var(--pub-line); font-size: 16px; font-weight: 700; text-transform: none; }
.pub-text { color: #555; font-size: 15px; line-height: 1.75; }
.pub-center { text-align: center; }
.pub-card img { max-width: 100%; height: auto; }

.pub-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.pub-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.pub-grid-5 { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.pub-grid-6 { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1199px) { .pub-grid-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .pub-grid-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 991px) { .pub-grid-3 { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 767px) { .pub-grid-2 { grid-template-columns: minmax(0, 1fr); } .pub-grid-6, .pub-grid-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* image banner with text over it */
.pub-hero { position: relative; border-radius: var(--pub-radius); overflow: hidden; background: #333 center / cover no-repeat; min-height: 280px; display: flex; align-items: center; justify-content: center; box-shadow: var(--pub-shadow); }
.pub-hero::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, 0.45); }
.pub-hero-inner { position: relative; text-align: center; padding: 48px 24px; color: #fff; }
/* hero without the dark overlay (bright illustrations): the text sits on its own dark panel */
.pub-hero-clear::before { display: none; }
.pub-hero-clear .pub-hero-inner { margin: 24px; padding: 24px 32px; border-radius: 14px; background: rgba(0, 0, 0, 0.55); }
.pub-hero-inner h1 { margin: 0 0 12px; color: #fff; font-size: 40px; font-weight: 800; letter-spacing: normal; text-transform: none; }
.pub-hero-inner p { margin: 0; font-size: 18px; color: rgba(255, 255, 255, 0.9); }
@media (max-width: 767px) { .pub-hero { min-height: 200px; } .pub-hero-inner h1 { font-size: 28px; } .pub-hero-inner p { font-size: 15px; } }

/* stat tiles */
.pub-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.pub-stat { background: #fff; border-radius: var(--pub-radius); box-shadow: var(--pub-shadow); padding: 22px 16px; text-align: center; }
.pub-stat b { display: block; font-size: 34px; font-weight: 800; color: var(--pub-red); line-height: 1.1; }
.pub-stat span { display: block; margin-top: 6px; font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: var(--pub-muted); }
@media (max-width: 599px) { .pub-stats { gap: 10px; } .pub-stat { padding: 14px 6px; border-radius: 16px; } .pub-stat b { font-size: 24px; } .pub-stat span { font-size: 10px; letter-spacing: 0.5px; } }

/* feature / icon tiles */
.pub-feature { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.pub-feature-icon { width: 72px; height: 72px; border-radius: 50%; background: #fff4dc; color: #c88a00; display: flex; align-items: center; justify-content: center; font-size: 30px; }
.pub-feature h3 { margin: 0; font-size: 17px; font-weight: 800; }
.pub-feature p { margin: 0; color: #666; line-height: 1.7; }
a.pub-tile { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 22px 12px; background: #fff; border-radius: var(--pub-radius); box-shadow: var(--pub-shadow); color: var(--pub-ink); text-decoration: none; text-align: center; font-weight: 700; transition: transform 0.15s, box-shadow 0.15s; }
a.pub-tile:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(0, 0, 0, 0.12); color: var(--pub-red); }
a.pub-tile i { font-size: 36px; color: var(--pub-red); }
a.pub-tile img.pub-tile-icon { width: 36px; height: 36px; object-fit: contain; }
.pub-tile-plain { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; font-weight: 700; }
.pub-tile-plain img { max-height: 90px; width: auto; }

/* call to action */
.pub-cta { background: #222; color: #fff; border-radius: var(--pub-radius); padding: 36px 24px; text-align: center; }
.pub-cta h2 { margin: 0 0 8px; color: #fff; font-size: 24px; font-weight: 700; text-transform: none; }
.pub-cta p { margin: 0 0 20px; color: rgba(255, 255, 255, 0.75); }

/* testimonials */
.pub-quote { display: flex; flex-direction: column; gap: 14px; }
.pub-quote blockquote { margin: 0; padding: 0; border: 0; font-size: 15px; line-height: 1.7; color: #444; }
.pub-quote blockquote p { font-size: inherit; margin: 0 0 10px; }
.pub-quote-by { margin-top: auto; font-size: 14px; color: var(--pub-muted); }
.pub-quote-by strong { display: block; color: var(--pub-ink); font-size: 16px; }

/* forms in cards */
.pub-card label { font-weight: 600; margin: 12px 0 4px; display: block; color: #333; }
.pub-card .form-control { border-radius: 10px; height: auto; min-height: 42px; padding: 9px 12px; box-shadow: none; border-color: #d9d9d9; }
.pub-card textarea.form-control { min-height: 100px; }
.pub-card .input-group { width: 100%; margin-bottom: 14px; }
.pub-card .input-group .form-control { border-radius: 0 10px 10px 0; }
.pub-card .input-group-addon { border-radius: 10px 0 0 10px; background: #f3f3f3; border-color: #d9d9d9; min-width: 44px; }
.pub-card input[type=submit].pub-btn, .pub-card button.pub-btn { width: auto; min-width: 140px; }
.pub-form-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 24px; }
@media (max-width: 991px) { .pub-form-cols { grid-template-columns: minmax(0, 1fr); } }
.pub-hint { font-size: 12px; color: var(--pub-muted); font-weight: 400; }

/* sign in */
.pub-login { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 20px; align-items: start; }
@media (max-width: 991px) { .pub-login { grid-template-columns: minmax(0, 1fr); } }
.pub-login .accordion-group { border: 0; box-shadow: none; margin: 18px 0 0; padding-top: 16px; border-top: 1px solid var(--pub-line); background: transparent; }
.pub-login .accordion-toggle { font-weight: 600; text-decoration: none; }
.pub-login .accordion-inner { padding: 14px 0 0; border: 0; }
.pub-terms { max-height: 560px; overflow-y: auto; padding-right: 8px; font-size: 14px; line-height: 1.6; }
.pub-terms table { width: 100%; margin: 0; }

/* register */
.pub-interests { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.pub-interest { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 6px; border-radius: 16px; background: #fafafa; text-align: center; font-size: 13px; font-weight: 700; }
.pub-interest i { font-size: 28px; color: var(--pub-red); }
@media (max-width: 1199px) { .pub-interests { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 479px) { .pub-interests { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pub-declare .checkbox-inline { padding-left: 0; display: flex; gap: 10px; align-items: flex-start; font-weight: 600; line-height: 1.5; }
.pub-declare .checkbox-inline input { position: static; margin: 4px 0 0; flex: none; }
.pub-submit-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 18px; }
@media (max-width: 991px) { .pub-sw-row { grid-template-columns: minmax(0, 1fr) !important; } }
.pub-quote blockquote, .pub-quote blockquote p { font-family: inherit; font-style: normal; }

/* contact */
.pub-contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 20px; align-items: start; }
.pub-contact-side, .pub-contact-main { display: flex; flex-direction: column; gap: 20px; }
/* one column: offices, enquiry form, building photo, map */
@media (max-width: 991px) {
    .pub-contact { display: flex; flex-direction: column; align-items: stretch; gap: 20px; }
    .pub-contact-side, .pub-contact-main { display: contents; }
    .pub-contact-form { order: 1; }
    .pub-contact-pic { order: 2; }
    .pub-contact-map { order: 3; }
}
.pub-contact-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; font-size: 15px; line-height: 1.6; color: #444; }
.pub-contact-list li { display: flex; gap: 12px; align-items: flex-start; }
.pub-contact-icon { flex: none; width: 34px; height: 34px; border-radius: 50%; background: #f1f1f1; color: #444; display: inline-flex; align-items: center; justify-content: center; }

.pub-net-sell { display: flex; gap: 18px; align-items: center; padding: 20px 24px; }
.pub-net-sell .pub-feature-icon { flex: none; width: 56px; height: 56px; font-size: 24px; }
@media (max-width: 599px) { .pub-net-sell { flex-direction: column; align-items: flex-start; } }

/* card badges: one per row; each badge text has its own colour on the page (set by default.aspx), click = search the lots */
.pub-auction-tags { display: flex; flex-direction: column; gap: 6px; }
.pub-tag { display: flex; width: 100%; box-sizing: border-box; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 12px; border-radius: 10px; border: 0; background: #eef1f4; color: #2c3e50; font-size: 13px; font-weight: 700; line-height: 1.3; font-family: inherit; text-align: left; cursor: pointer; text-decoration: none; }
.pub-tag:hover { filter: brightness(0.96); }
.pub-tag:focus-visible { outline: 2px solid #222; outline-offset: 2px; }
.pub-tag span { flex: none; font-weight: 600; opacity: 0.75; }
a.pub-tag-hot, a.pub-tag-hot:hover, a.pub-tag-hot:focus { background: #222; color: #fff; text-decoration: none; }
a.pub-tag-hot span { color: #f8b51c; opacity: 1; }

/* the parts above the badges have fixed heights, so the badges start at the same height on every card in a row:
   one row of type/category pills, one line for the house, two lines for the title (longer titles end in "...") */
.pub-auction-badges { flex-wrap: nowrap; overflow: hidden; }
.pub-auction-badges .pub-badge { flex: none; white-space: nowrap; }
/* auction cards: lighter type badges - tint with the type colour as the text */
.pub-auction-badges .pub-t-online { background: #e8f0fc; color: #1f56a8; }
.pub-auction-badges .pub-t-simulcast { background: #fdeaea; color: #b01f1f; }
.pub-auction-badges .pub-t-tender { background: #f0eafb; color: #5b36a3; }
.pub-auction-badges .pub-t-onsite { background: #e6f4ea; color: #22703b; }
.pub-auction-badges .pub-t-closing { background: #fdf0e1; color: #8a4900; }
.pub-auction-house { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pub-auction-title { line-height: 1.3; height: 2.6em; overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }

/* white logos (pubLogoCheck) sit on a dark tile */
.pub-net-logo.pub-logo-light,
.pub-auction-photos a.pub-auction-logo.pub-logo-light { background: #2b2b2b; }

/* Bidsonline product cards in the auction list (default.aspx): the same size as an auction card, the whole card is the link;
   hidden while a filter is on (they have no data-cat / data-type) */
.pub-promo { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 26px 24px 24px; color: #fff !important; text-decoration: none !important; min-height: 420px; transition: transform 0.2s, box-shadow 0.2s; }
.pub-promo:hover, .pub-promo:focus-visible { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22); }
.pub-promo > * { position: relative; }
.pub-promo-title { display: block; font-size: 30px; line-height: 1.12; font-weight: 800; letter-spacing: -0.01em; color: #fff; }
.pub-promo-text { display: block; font-size: 15px; line-height: 1.55; color: rgba(255, 255, 255, 0.92); }
.pub-promo-btn { align-self: flex-start; margin-top: auto; display: inline-flex; align-items: center; padding: 12px 24px; border-radius: 8px; font-weight: 700; font-size: 15px; color: #fff; }
/* EasyBids: photo with a dark wash, as easybids.com.au */
.pub-promo-eb { background: #222 center / cover no-repeat; }
.pub-promo-eb::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 20, 20, 0.86) 0%, rgba(20, 20, 20, 0.66) 55%, rgba(20, 20, 20, 0.5) 100%); border-radius: inherit; }
.pub-promo-eb .pub-promo-logo { width: 150px; height: auto; }
.pub-promo-eb .pub-promo-btn { background: #ff5c00; }
.pub-promo-eb:hover .pub-promo-btn { background: #e65300; }
/* Carsplus: navy gradient and orange accent, as carsplus.net.au */
.pub-promo-cp { background: linear-gradient(135deg, #0a1f3d 0%, #1a3a6b 100%); }
.pub-promo-cp-logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; color: #fff; }
.pub-cp-mark { display: inline-flex; align-items: center; padding: 5px 10px; border-radius: 8px; background: #1e3a8a; border: 1px solid rgba(255, 255, 255, 0.25); font-style: italic; font-size: 15px; font-weight: 800; }
.pub-cp-mark b { color: #ff6a3d; }
.pub-promo-cp .pub-promo-title em { font-style: normal; color: #ff6a3d; }
.pub-promo-cp .pub-promo-btn { background: #ff6a3d; }
.pub-promo-cp:hover .pub-promo-btn { background: #e8521f; }
.pub-promo-shot { display: block; flex: 1 1 120px; min-height: 120px; max-height: 220px; border-radius: 12px; overflow: hidden; background: rgba(255, 255, 255, 0.08); }
.pub-promo-shot img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
/* phone screenshots (portrait): show the whole screen, centred, rather than cropping it */
.pub-promo-shot-tall { flex-basis: 220px; min-height: 200px; max-height: 260px; padding: 10px; box-sizing: border-box; }
.pub-promo-shot-tall img { object-fit: contain; object-position: center; border-radius: 8px; }
@media (max-width: 1399px) { .pub-promo-title { font-size: 26px; } }
@media (max-width: 599px) { .pub-promo { min-height: 0; } .pub-promo-shot { max-height: 200px; } }

/* Charities page (clubs-charity-auctions.aspx) */
.pub-auction-ended { font-size: 13px; color: var(--pub-muted); }
.pub-charity-content:empty { display: none; }
.pub-charity-content img { max-width: 100%; height: auto; }
.pub-charity-logos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: center; }
.pub-charity-logos img { width: 100%; height: auto; border-radius: 12px; }
@media (max-width: 599px) { .pub-charity-logos { grid-template-columns: minmax(0, 1fr); } }

/* live page: house logo in a simulcast lane before a lot is selling */
.pub-lane-logo { object-fit: contain; background: #fff; padding: 8px; box-sizing: border-box; }
.pub-lane-logo.pub-logo-light { background: #444; }

/* logo with black and white parts on transparent (pubLogoCheck): mid grey, so both show */
.pub-net-logo.pub-logo-mixed, .pub-lane-logo.pub-logo-mixed,
.pub-auction-photos a.pub-auction-logo.pub-logo-mixed { background: #8a8a8a; }

/* auction card buttons: black and white - the first black, the one next to it white (Join live + View & bid / Catalogue) */
.pub-auction-actions .pub-btn { background: #222; color: #fff !important; border: 2px solid #222; }
.pub-auction-actions .pub-btn:hover, .pub-auction-actions .pub-btn:focus { background: #444; border-color: #444; color: #fff !important; }
.pub-auction-actions .pub-btn + .pub-btn { background: #fff; color: #222 !important; }
.pub-auction-actions .pub-btn + .pub-btn:hover, .pub-auction-actions .pub-btn + .pub-btn:focus { background: #f1f1f1; border-color: #222; color: #222 !important; }

/* Live now: "Being bid on now" beside the bid feed; on smaller screens only the lanes and the bid feed */
.pub-live-bidding { flex: 999 1 640px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.pub-live-bidding .pub-section-title { display: flex; align-items: center; gap: 8px; margin: 0; }
.pub-live-bidding .pub-live-grid { flex: none; }
@media (max-width: 991px) { .pub-live-bidding { display: none; } }
/* Closing soon: the lot grid uses the full width */
.pub-live-grid-full { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1499px) { .pub-live-grid-full { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 1199px) { .pub-live-grid-full { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 899px) { .pub-live-grid-full { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* "Bid" label on bid amounts, On the market / Near reserve badges (Live now, Closing soon) */
.pub-bid-label { font-size: 0.72em; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; opacity: 0.7; }
.pub-lot-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.pub-feed-text .pub-pill { align-self: flex-start; padding: 2px 9px; font-size: 11px; }
.pub-lane-text .pub-pill { align-self: flex-start; padding: 2px 9px; font-size: 11px; }

/* Closing soon: placeholder cards while the lots load */
.pub-lot-loading .pub-lot-photo, .pub-skel { background: linear-gradient(90deg, #eee 25%, #f6f6f6 50%, #eee 75%); background-size: 200% 100%; animation: pub-skel 1.2s linear infinite; }
.pub-skel { display: block; height: 12px; border-radius: 6px; margin: 4px 0; }
@keyframes pub-skel { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.pub-loading-dot { display: inline-block; width: 14px; height: 14px; border: 2px solid #ccc; border-top-color: var(--pub-red); border-radius: 50%; vertical-align: -2px; margin-right: 6px; animation: pub-spin 0.8s linear infinite; }
@keyframes pub-spin { to { transform: rotate(360deg); } }

/* ---------- Software page (online-auctions-software.aspx) ---------- */
.pub-sw-crumbs { margin: 0; padding: 0; background: transparent; font-size: 13px; }
.pub-sw-hero { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px; align-items: center; padding: 48px; border-radius: var(--pub-radius); background: linear-gradient(135deg, #1c1c1c 0%, #2b2b2b 55%, var(--pub-red-dark) 140%); color: #fff; box-shadow: var(--pub-shadow); }
.pub-sw-eyebrow { display: inline-block; padding: 6px 14px; border-radius: 999px; background: rgba(248, 181, 28, 0.15); color: var(--pub-yellow); font-size: 12px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; }
.pub-sw-hero h1 { margin: 16px 0 12px; color: #fff; font-size: 44px; line-height: 1.1; font-weight: 800; text-transform: none; }
.pub-sw-hero p { margin: 0; font-size: 17px; line-height: 1.7; color: rgba(255, 255, 255, 0.8); }
.pub-sw-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.pub-sw-btn-ghost { background: transparent; color: #fff !important; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.5); }
.pub-sw-btn-ghost:hover, .pub-sw-btn-ghost:focus { background: rgba(255, 255, 255, 0.1); }
.pub-sw-hero-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.pub-sw-hero-stats div { padding: 20px 18px; border-radius: 16px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.1); }
.pub-sw-hero-stats b { display: block; font-size: 30px; font-weight: 800; line-height: 1.1; color: var(--pub-yellow); }
.pub-sw-hero-stats span { display: block; margin-top: 6px; font-size: 13px; color: rgba(255, 255, 255, 0.75); }
.pub-sw-lead { max-width: 760px; margin: 0 auto 20px; }
.pub-sw-platform { display: flex; flex-direction: column; gap: 12px; }
.pub-sw-platforms { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr); gap: 20px; align-items: stretch; }
.pub-sw-platform-main { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 28px; align-items: start; border-top: 4px solid var(--pub-red); }
.pub-sw-platform-main .pub-sw-platform-body { display: flex; flex-direction: column; gap: 12px; }
.pub-sw-platform-main h3 { font-size: 30px; }
.pub-sw-platform-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.pub-sw-platform-img { width: 100%; aspect-ratio: 600 / 330; object-fit: cover; border-radius: 14px; background: #f3f3f3; }
.pub-sw-platform-img.pub-sw-platform-mockup { object-fit: contain; background: transparent; }
.pub-sw-platform h3 { margin: 4px 0 0; font-size: 24px; font-weight: 800; }
.pub-sw-platform .pub-text { margin: 0; }
.pub-sw-platform .pub-btn { align-self: flex-start; margin-top: auto; }
.pub-sw-tag { padding: 5px 12px; border-radius: 999px; background: #f3f3f3; font-size: 12px; font-weight: 700; color: var(--pub-muted); }
.pub-sw-list { margin: 0 0 8px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 9px; }
.pub-sw-list li { position: relative; padding-left: 26px; color: #444; font-size: 15px; line-height: 1.55; }
.pub-sw-list li::before { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--pub-red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.2l2.6 2.6L12 5.4' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.pub-sw-ways { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.pub-sw-way { display: flex; flex-direction: column; gap: 12px; }
.pub-sw-way img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 14px; background: #f3f3f3; }
.pub-sw-way h3 { margin: 4px 0 0; font-size: 19px; font-weight: 800; }
.pub-sw-more { margin-top: auto; font-weight: 700; color: var(--pub-red); }
.pub-sw-more:hover { color: var(--pub-red-dark); }
.pub-sw-features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 8px; }
.pub-sw-feature { padding: 20px; border-radius: 16px; background: #fafafa; border: 1px solid var(--pub-line); }
.pub-sw-feature i { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 12px; background: #fdecee; color: var(--pub-red); font-size: 20px; }
.pub-sw-feature h3 { margin: 14px 0 6px; font-size: 16px; font-weight: 800; }
.pub-sw-feature p { margin: 0; color: #666; font-size: 14px; line-height: 1.6; }
.pub-sw-support { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 32px; align-items: center; }
.pub-sw-release img { display: block; width: 100%; border-radius: 14px; }
.pub-sw-jira { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 26px 18px; border-radius: 14px; background: #fff; text-align: center; }
.pub-sw-jira i { font-size: 44px; color: #0052cc; }
.pub-sw-jira strong { font-size: 18px; font-weight: 800; line-height: 1.25; color: var(--pub-ink); }
.pub-sw-jira span { font-size: 13px; color: var(--pub-muted); }
.pub-sw-support .pub-text { margin: 6px 0 16px; }
.pub-sw-support-row { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 20px; align-items: stretch; }
.pub-sw-promos { display: flex; }
.pub-sw-promos .pub-promo { flex: 1; }
.pub-sw-promos .pub-promo[hidden] { display: none; }
@media (max-width: 1099px) { .pub-sw-support-row { grid-template-columns: minmax(0, 1fr); } }
.pub-sw-why { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; }
.pub-sw-why span { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 14px; }
.pub-sw-why i { width: 20px; text-align: center; color: var(--pub-red); }
@media (max-width: 1199px) { .pub-sw-features { grid-template-columns: repeat(3, minmax(0, 1fr)); } .pub-sw-hero h1 { font-size: 36px; } }
@media (max-width: 1399px) { .pub-sw-platform-main { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 1099px) { .pub-sw-platforms { grid-template-columns: minmax(0, 1fr); } }

@media (max-width: 991px) {
    .pub-sw-hero { grid-template-columns: minmax(0, 1fr); padding: 32px 24px; }
    .pub-sw-ways { grid-template-columns: minmax(0, 1fr); }
    .pub-sw-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pub-sw-support { grid-template-columns: minmax(0, 1fr); }
    .pub-sw-release { max-width: 240px; }
}
@media (max-width: 599px) {
    .pub-sw-hero { padding: 24px 18px; gap: 20px; }
    .pub-sw-hero h1 { font-size: 28px; }
    .pub-sw-hero p { font-size: 15px; }
    .pub-sw-hero-stats b { font-size: 22px; }
    .pub-sw-features, .pub-sw-why { grid-template-columns: minmax(0, 1fr); }
}

/* Software page colour highlights */
.pub-sw-page .pub-section-title.pub-center::after { content: ""; display: block; width: 48px; height: 4px; margin: 10px auto 0; border-radius: 2px; background: var(--pub-yellow); }
.pub-sw-eb { border-top: 4px solid #ff5c00; }
.pub-sw-eb .pub-sw-tag { background: #fff1e8; color: #c24600; }
.pub-sw-eb .pub-sw-list li::before { background-color: #ff5c00; }
.pub-sw-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.pub-sw-badges span { padding: 6px 12px; border-radius: 999px; background: #fff1e8; color: #c24600; font-size: 13px; font-weight: 700; line-height: 1.3; }
.pub-sw-cp { border-top: 4px solid #1a3a6b; }
.pub-sw-cp .pub-sw-tag { background: #e8eef8; color: #1a3a6b; }
.pub-sw-cp .pub-sw-list li::before { background-color: #1a3a6b; }
.pub-sw-way { border-top: 4px solid var(--pub-line); }
.pub-sw-way-online { border-top-color: var(--pub-online); }
.pub-sw-way-online .pub-sw-list li::before { background-color: var(--pub-online); }
.pub-sw-way-online .pub-sw-more { color: var(--pub-online); }
.pub-sw-way-simulcast { border-top-color: var(--pub-simulcast); }
.pub-sw-way-tender { border-top-color: var(--pub-tender); }
.pub-sw-way-tender .pub-sw-list li::before { background-color: var(--pub-tender); }
.pub-sw-way-tender .pub-sw-more { color: var(--pub-tender); }
.pub-sw-features-card { background: linear-gradient(180deg, #fff 0%, #fff9ee 100%); }
.pub-sw-feature { background: #fff; }
.pub-sw-feature:nth-child(4n+2) i { background: #e8f0fc; color: var(--pub-online); }
.pub-sw-feature:nth-child(4n+3) i { background: #fff4dc; color: #c88a00; }
.pub-sw-feature:nth-child(4n+4) i { background: #e6f4ea; color: var(--pub-onsite); }
.pub-sw-page .pub-sw-support { background: #fff8e6; border-left: 6px solid var(--pub-yellow); }
.pub-sw-page .pub-quote { border-left: 4px solid var(--pub-red); }
