/* ==========================================================================
   Home page sections added on top of the portal design (theme.css .portal-*):
   stocks, fuel, the IPO centre, broker comparisons and the holiday list.
   Same language: square corners, 1px lines, a 4px brand bar on top.
   ========================================================================== */
.portal-home {
  --hh-up: var(--success, #0e8641);
  --hh-dn: var(--danger, #d11f42);
  --hh-line: var(--line, #dde3e8);
}
.portal-home .hh-card {
  min-width: 0;
  padding: 1.2rem 1.25rem;
  border: 1px solid var(--hh-line);
  border-top: 4px solid var(--brand);
  background: #fff;
  color: var(--ink);
}
.portal-home .hh-card-h { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .25rem .75rem; margin-bottom: .85rem }
.portal-home .hh-card-h h3 { margin: 0; font-size: 1.05rem; font-weight: 800; letter-spacing: -.01em; color: var(--ink) }
.portal-home .hh-card-h small { font-size: .72rem; font-weight: 600; color: var(--muted) }
.portal-home .hh-none { margin: 0; padding: .9rem 0; font-size: .88rem; color: var(--muted) }
.portal-home .hh-note { margin: .8rem 0 0; font-size: .72rem; line-height: 1.5; color: var(--muted) }
.portal-home .hh-go {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-top: .9rem;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--brand-700, var(--brand));
  text-decoration: none;
}
.portal-home a.hh-go:hover { color: var(--ink) }
.portal-home .up { color: var(--hh-up) }
.portal-home .dn { color: var(--hh-dn) }
.portal-home .hh-chg { display: inline-block; padding: .18rem .45rem; font-size: .74rem; font-weight: 800; white-space: nowrap }
/* Deeper shades on the pale tints: the plain status colours measure ~4.1:1 here, under AA. */
.portal-home .hh-chg.up { color: #0a6b33; background: color-mix(in srgb, var(--hh-up) 10%, #fff) }
.portal-home .hh-chg.dn { color: #b3123a; background: color-mix(in srgb, var(--hh-dn) 9%, #fff) }
.portal-home .hh-chg.flat { color: var(--muted); background: var(--card-alt, #f3f5f7) }

/* ---- stocks ------------------------------------------------------------- */
.portal-home .hh-live {
  display: inline-flex; align-items: center; gap: .5rem; flex: 0 0 auto;
  padding: .4rem .8rem; border: 1px solid var(--hh-line); background: #fff;
  font-size: .76rem; font-weight: 700; color: var(--muted);
}
.portal-home .hh-live i { width: 8px; height: 8px; border-radius: 50%; background: #98a2b3 }
.portal-home .hh-live.is-open { color: var(--ink) }
.portal-home .hh-live.is-open i { background: var(--hh-up); box-shadow: 0 0 0 3px color-mix(in srgb, var(--hh-up) 22%, transparent) }
.portal-home .hh-stock-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem }
.portal-home .hh-movers.is-up { border-top-color: var(--hh-up) }
.portal-home .hh-movers.is-dn { border-top-color: var(--hh-dn) }
.portal-home .hh-mlist { margin: 0; padding: 0; list-style: none }
.portal-home .hh-mlist li {
  display: grid; grid-template-columns: 30px minmax(0, 1fr) auto auto; align-items: center; gap: .65rem;
  padding: .6rem 0; border-top: 1px solid var(--hh-line);
}
.portal-home .hh-mlist li:first-child { border-top: 0; padding-top: 0 }
.portal-home .hh-logo {
  display: grid; place-items: center; width: 30px; height: 30px;
  background: var(--brand-050, #eef6f1); color: var(--brand-700, var(--brand));
  font-size: .64rem; font-weight: 900; letter-spacing: .02em;
}
.portal-home .hh-logo.has-img { padding: 2px; border: 1px solid var(--hh-line); background: #fff }
.portal-home .hh-logo img { width: 100%; height: 100%; object-fit: contain }
.portal-home .hh-co { min-width: 0 }
.portal-home .hh-co a, .portal-home .hh-co b {
  display: block; overflow: hidden; font-size: .86rem; font-weight: 800; color: var(--ink);
  text-decoration: none; text-overflow: ellipsis; white-space: nowrap;
}
.portal-home .hh-co a:hover { color: var(--brand) }
.portal-home .hh-co small { display: block; font-size: .68rem; font-weight: 600; color: var(--muted) }
.portal-home .hh-px { font-size: .84rem; font-weight: 700; white-space: nowrap }
.portal-home .hh-mlist .hh-chg { min-width: 72px; text-align: center }
.portal-home .hh-breadth { display: flex; height: 10px; overflow: hidden; background: var(--card-alt, #eef1f4) }
.portal-home .hh-breadth i { display: block; height: 100% }
.portal-home .hh-breadth i.up { background: var(--hh-up) }
.portal-home .hh-breadth i.dn { background: var(--hh-dn) }
.portal-home .hh-breadth i.flat { background: #c3cad4 }
.portal-home .hh-breadth-l { display: flex; justify-content: space-between; gap: .5rem; margin: .5rem 0 .9rem; font-size: .78rem; font-weight: 700; color: var(--muted) }
.portal-home .hh-extreme {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .1rem .75rem; align-items: center;
  padding: .65rem 0; border-top: 1px solid var(--hh-line);
}
.portal-home .hh-extreme > span { grid-column: 1 / -1; font-size: .64rem; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; color: var(--muted) }
.portal-home .hh-extreme a, .portal-home .hh-extreme b { overflow: hidden; font-size: .9rem; font-weight: 800; color: var(--ink); text-decoration: none; text-overflow: ellipsis; white-space: nowrap }
.portal-home .hh-extreme a:hover { color: var(--brand) }
.portal-home .hh-extreme em { font-style: normal; font-size: .95rem; font-weight: 900 }
.portal-home .hh-active { padding: .65rem 0 0; border-top: 1px solid var(--hh-line) }
.portal-home .hh-active > span { display: block; margin-bottom: .35rem; font-size: .64rem; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; color: var(--muted) }
.portal-home .hh-active ol { margin: 0; padding: 0; list-style: none }
.portal-home .hh-active li { display: flex; justify-content: space-between; gap: .75rem; padding: .25rem 0; font-size: .84rem }
.portal-home .hh-active a, .portal-home .hh-active b { overflow: hidden; font-weight: 800; color: var(--ink); text-decoration: none; text-overflow: ellipsis; white-space: nowrap }
.portal-home .hh-active a:hover { color: var(--brand) }
.portal-home .hh-active small { flex: 0 0 auto; font-size: .74rem; font-weight: 600; color: var(--muted) }
.portal-home .hh-more-row { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; margin-top: 1.25rem }
.portal-home .hh-more-btn { padding: .7rem 1.4rem; font-size: .82rem; letter-spacing: .04em; text-transform: uppercase }
.portal-home .hh-chips { display: flex; flex-wrap: wrap; gap: .5rem }
.portal-home .hh-chips a {
  padding: .45rem .8rem; border: 1px solid var(--hh-line); background: #fff;
  font-size: .78rem; font-weight: 700; color: var(--ink); text-decoration: none;
}
.portal-home .hh-chips a:hover { border-color: var(--brand); color: var(--brand) }

/* ---- metals (partials/home_metals, a full section of its own) ------------ */
.portal-home .portal-rates > .section { padding: 0; background: none }
.portal-home .portal-rates > .section > .container { max-width: none; padding: 0 }

/* ---- fuel board ------------------------------------------------------------
   One panel: petrol and diesel (all-India) on a brand-tinted left side, the six
   metro cities as cards on the right, the cheapest and costliest petrol tagged. */
.portal-home .hf {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.6fr);
  border: 1px solid var(--hh-line); border-top: 4px solid var(--brand); background: #fff;
}
.portal-home .hf-main {
  display: flex; flex-direction: column; gap: .85rem; padding: 1.4rem;
  border-right: 1px solid var(--hh-line); background: color-mix(in srgb, var(--brand) 6%, #fff);
}
.portal-home a.hf-fuel {
  display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; align-items: center; gap: 1rem;
  padding: 1.1rem 1.15rem; border: 1px solid var(--hh-line); background: #fff; color: var(--ink); text-decoration: none;
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.portal-home a.hf-fuel:hover { transform: translateY(-2px); border-color: var(--brand); box-shadow: 0 10px 22px -12px color-mix(in srgb, var(--ink) 35%, transparent) }
.portal-home .hf-ic { display: grid; place-items: center; width: 52px; height: 52px; background: var(--brand); color: var(--on-brand, #fff) }
.portal-home .hf-fuel.is-diesel .hf-ic { background: var(--ink); color: #fff }
.portal-home .hf-ic svg { width: 26px; height: 26px }
.portal-home .hf-body { min-width: 0 }
.portal-home .hf-k { display: block; font-size: .72rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; color: var(--ink) }
.portal-home .hf-k small { font-size: .72rem; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--muted) }
.portal-home .hf-v { display: block; margin: .1rem 0 .3rem; font-size: 2.15rem; font-weight: 900; letter-spacing: -.03em; line-height: 1.05; color: var(--ink) }
.portal-home .hf-chg { display: inline-block; padding: .16rem .45rem; font-size: .72rem; font-weight: 800 }
.portal-home .hf-chg.up { color: #0a6b33; background: color-mix(in srgb, var(--hh-up) 11%, #fff) }
.portal-home .hf-chg.dn { color: #b3123a; background: color-mix(in srgb, var(--hh-dn) 9%, #fff) }
.portal-home .hf-chg.flat { color: var(--muted); background: var(--card-alt, #f1f3f5) }
.portal-home .hf-go { font-size: 1.35rem; font-weight: 900; color: var(--brand) }
.portal-home .hf-note { margin: auto 0 0; font-size: .78rem; line-height: 1.55; color: var(--muted) }
.portal-home .hf-metros { padding: 1.4rem }
.portal-home .hf-metros-h { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: .9rem }
.portal-home .hf-metros-h h3 { margin: 0; font-size: 1.05rem; font-weight: 800; color: var(--ink) }
.portal-home .hf-metros-h small { font-size: .74rem; font-weight: 600; color: var(--muted) }
.portal-home .hf-cities { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem }
.portal-home .hf-city { padding: .85rem .95rem .5rem; border: 1px solid var(--hh-line); background: var(--card, #fff); transition: border-color .15s ease }
.portal-home .hf-city:hover { border-color: var(--ink) }
.portal-home .hf-city.is-low { border-color: color-mix(in srgb, var(--hh-up) 45%, #fff); background: color-mix(in srgb, var(--hh-up) 4%, #fff) }
.portal-home .hf-city.is-high { border-color: color-mix(in srgb, var(--hh-dn) 40%, #fff); background: color-mix(in srgb, var(--hh-dn) 3%, #fff) }
.portal-home .hf-city-h { display: flex; flex-direction: column; align-items: flex-start; gap: .2rem; margin-bottom: .5rem }
.portal-home .hf-city-h b { font-size: .95rem; font-weight: 800; color: var(--ink) }
.portal-home .hf-city-h small { font-size: .7rem; font-weight: 600; color: var(--muted) }
.portal-home .hf-tag { padding: .1rem .4rem; font-size: .6rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase }
.portal-home .hf-tag.low { color: #0a6b33; background: color-mix(in srgb, var(--hh-up) 13%, #fff) }
.portal-home .hf-tag.high { color: #b3123a; background: color-mix(in srgb, var(--hh-dn) 10%, #fff) }
.portal-home .hf-city a { display: flex; justify-content: space-between; gap: .5rem; padding: .4rem 0; border-top: 1px dashed var(--hh-line); font-size: .84rem; color: var(--text); text-decoration: none }
.portal-home .hf-city a span { font-weight: 600; color: var(--muted) }
.portal-home .hf-city a b { font-weight: 800; color: var(--ink) }
.portal-home .hf-city a:hover b { color: var(--brand) }

/* ---- hero ----------------------------------------------------------------
   The headline, buttons and trust points; eight quick tiles under them; and
   "Today's snapshot" — the day's figures — on the right. */
.portal-home .hx {
  position: relative; overflow: hidden; padding: 3.4rem 0 3.6rem; border-bottom: 1px solid var(--hh-line);
  background:
    radial-gradient(720px 380px at 88% 0%, color-mix(in srgb, var(--brand) 13%, transparent), transparent 70%),
    radial-gradient(560px 320px at 0% 100%, color-mix(in srgb, var(--brand) 7%, transparent), transparent 70%),
    var(--bg, #fffefa);
}
.portal-home .hx::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(color-mix(in srgb, var(--ink) 5%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--ink) 5%, transparent) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, .6), transparent 80%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, .6), transparent 80%);
}
.portal-home .hx .container { position: relative }
.portal-home .hx-grid {
  display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  grid-template-areas: "copy board" "tiles board"; align-items: start; gap: 1.8rem 3.2rem;
}
.portal-home .hx-copy { grid-area: copy }
.portal-home .hx-tiles { grid-area: tiles }
.portal-home .hx-board { grid-area: board }
.portal-home .hx-kicker {
  display: inline-flex; flex-wrap: wrap; align-items: center; gap: .3rem .55rem; margin-bottom: 1.1rem;
  padding: .4rem .85rem; border: 1px solid var(--hh-line); background: #fff;
  font-size: .76rem; font-weight: 700; color: var(--ink);
}
.portal-home .hx-kicker em { padding-left: .55rem; border-left: 1px solid var(--hh-line); font-style: normal; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; font-size: .66rem; color: var(--brand-700, var(--brand)) }
.portal-home .hx-dot { width: 8px; height: 8px; border-radius: 50%; background: #98a2b3 }
.portal-home .hx-dot.is-open { background: var(--hh-up); box-shadow: 0 0 0 4px color-mix(in srgb, var(--hh-up) 20%, transparent) }
.portal-home .hx h1 {
  margin: 0 0 1rem; font-size: clamp(2.3rem, 1.3rem + 3vw, 3.75rem); font-weight: 900;
  letter-spacing: -.04em; line-height: 1.02; color: var(--ink);
}
.portal-home .hx h1 .highlight {
  color: var(--brand-700, var(--brand));
  background: linear-gradient(transparent 64%, color-mix(in srgb, var(--brand) 18%, transparent) 64%);
}
.portal-home .hx-sub { max-width: 580px; margin: 0 0 1.5rem; font-size: 1.08rem; line-height: 1.65; color: var(--text) }
.portal-home .hx-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem 1.5rem; margin-bottom: 1.3rem }
.portal-home .hx-cta { padding: .95rem 1.6rem; font-size: .84rem; letter-spacing: .05em; text-transform: uppercase; box-shadow: 0 12px 24px -14px color-mix(in srgb, var(--brand) 90%, transparent) }
.portal-home a.hx-cta2 { font-size: .84rem; font-weight: 900; letter-spacing: .05em; text-transform: uppercase; color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--brand); padding-bottom: .15rem }
.portal-home a.hx-cta2:hover { color: var(--brand-700, var(--brand)) }
.portal-home .hx-trust { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin: 0; padding: 0; list-style: none }
.portal-home .hx-trust li { display: inline-flex; align-items: center; gap: .45rem; font-size: .84rem; font-weight: 600; color: var(--text) }
.portal-home .hx-trust li::before {
  content: '✓'; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%;
  background: color-mix(in srgb, var(--brand) 14%, #fff); color: var(--brand-700, var(--brand)); font-size: .66rem; font-weight: 900;
}
.portal-home .hx-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .65rem }
.portal-home .hx-tiles a {
  display: flex; flex-direction: column; gap: .55rem; padding: .85rem .9rem; border: 1px solid var(--hh-line); background: #fff;
  font-size: .82rem; font-weight: 800; color: var(--ink); text-decoration: none;
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.portal-home .hx-tiles a:hover { transform: translateY(-2px); border-color: var(--brand); box-shadow: 0 10px 20px -14px color-mix(in srgb, var(--ink) 40%, transparent) }
.portal-home .hx-tile-ic { display: grid; place-items: center; width: 34px; height: 34px; background: color-mix(in srgb, var(--brand) 11%, #fff); color: var(--brand-700, var(--brand)) }
.portal-home .hx-tile-ic svg { width: 19px; height: 19px }
.portal-home .hx-board { border: 1px solid var(--hh-line); background: #fff; box-shadow: 0 24px 50px -30px color-mix(in srgb, var(--ink) 45%, transparent) }
.portal-home .hx-board-h { display: flex; justify-content: space-between; align-items: center; gap: .75rem; padding: .95rem 1.15rem; background: var(--dark-panel, #14282b); color: #fff }
/* Same prefix as components.css's ".portal-home h2" size rule, which it has to beat. */
html body.site-shell.site-shell.site-shell.site-shell .portal-home .hx-board-h h2 { margin: 0; font-family: inherit; font-size: .8rem; font-weight: 900; letter-spacing: .1em; line-height: 1.3; text-transform: uppercase; color: #fff }
.portal-home .hx-board-h span { font-size: .74rem; font-weight: 600; color: #cfdad3 }
.portal-home .hx-rows { margin: 0; padding: .3rem 1.15rem; list-style: none }
.portal-home .hx-rows li + li { border-top: 1px solid var(--hh-line) }
.portal-home .hx-rows a { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; align-items: center; gap: .8rem; padding: .7rem 0; color: var(--ink); text-decoration: none }
.portal-home .hx-rows a:hover .hx-name b { color: var(--brand-700, var(--brand)) }
.portal-home .hx-ic { display: grid; place-items: center; width: 38px; height: 38px; font-size: .78rem; font-weight: 900 }
.portal-home .hx-ic.is-up { background: color-mix(in srgb, var(--hh-up) 12%, #fff); color: #0a6b33 }
.portal-home .hx-ic.is-dn { background: color-mix(in srgb, var(--hh-dn) 10%, #fff); color: #b3123a }
.portal-home .hx-ic.is-gold { background: linear-gradient(135deg, #f7dc7a, #d4a72c); color: #3b2a00 }
.portal-home .hx-ic.is-silver { background: linear-gradient(135deg, #eef1f4, #b9c1ca); color: #1f2933 }
.portal-home .hx-ic.is-plat { background: linear-gradient(135deg, #e6ecf3, #9fb0c4); color: #17202b }
.portal-home .hx-ic.is-fuel { background: var(--ink); color: #fff }
.portal-home .hx-name { min-width: 0 }
.portal-home .hx-name b { display: block; overflow: hidden; font-size: .92rem; font-weight: 800; text-overflow: ellipsis; white-space: nowrap }
.portal-home .hx-name small { display: block; font-size: .72rem; font-weight: 600; color: var(--muted) }
.portal-home .hx-val { display: flex; flex-direction: column; align-items: flex-end; gap: .2rem; text-align: right }
.portal-home .hx-val b { font-size: .98rem; font-weight: 900; white-space: nowrap }
.portal-home .hx-chg { padding: .1rem .4rem; font-size: .7rem; font-weight: 800; white-space: nowrap }
.portal-home .hx-chg.up { color: #0a6b33; background: color-mix(in srgb, var(--hh-up) 11%, #fff) }
.portal-home .hx-chg.dn { color: #b3123a; background: color-mix(in srgb, var(--hh-dn) 9%, #fff) }
.portal-home .hx-chg.flat { color: var(--muted); background: var(--card-alt, #f1f3f5) }
.portal-home .hx-empty { margin: 0; padding: 1.2rem 1.15rem; font-size: .9rem; color: var(--muted) }
.portal-home .hx-board-f { display: flex; justify-content: space-between; align-items: center; gap: .75rem; padding: .8rem 1.15rem; border-top: 1px solid var(--hh-line); background: var(--card-alt, #f6f8f9) }
.portal-home .hx-board-f span { font-size: .72rem; color: var(--muted) }
.portal-home .hx-board-f a { font-size: .74rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; color: var(--brand-700, var(--brand)); text-decoration: none; white-space: nowrap }

/* ---- IPO centre ---------------------------------------------------------- */
.portal-home .hh-ipo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem }
.portal-home .hh-ipo-card { display: flex; flex-direction: column }
.portal-home .hh-ipo-card .hh-go { margin-top: auto; padding-top: .9rem }
.portal-home .hh-rows { margin: 0; padding: 0; list-style: none }
.portal-home .hh-rows li { display: flex; justify-content: space-between; align-items: center; gap: .9rem; padding: .6rem 0; border-top: 1px solid var(--hh-line) }
.portal-home .hh-rows li:first-child { border-top: 0; padding-top: 0 }
.portal-home .hh-rows li > a, .portal-home .hh-rows li > b { min-width: 0; font-size: .88rem; font-weight: 800; color: var(--ink); text-decoration: none }
.portal-home .hh-rows li > a:hover { color: var(--brand) }
.portal-home .hh-v { display: flex; flex: 0 0 auto; flex-direction: column; align-items: flex-end; gap: .1rem; text-align: right }
.portal-home .hh-v b { font-size: .9rem; font-weight: 900; color: var(--ink) }
.portal-home .hh-v b.up { color: var(--hh-up) }
.portal-home .hh-v b.dn { color: var(--hh-dn) }
.portal-home .hh-v small, .portal-home .hh-v small a { font-size: .7rem; font-weight: 600; color: var(--muted) }
.portal-home .hh-v small a { color: var(--brand-700, var(--brand)); text-decoration: underline }
.portal-home .hh-pdfs { flex-direction: row; gap: .4rem }
.portal-home .hh-pdfs a { padding: .25rem .5rem; border: 1px solid var(--hh-line); font-size: .72rem; font-weight: 800; color: var(--brand-700, var(--brand)); text-decoration: none }
.portal-home .hh-pdfs a:hover { border-color: var(--brand) }

/* ---- broker comparisons -------------------------------------------------- */
.portal-home .hh-cmp-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem }
.portal-home a.hh-cmp-card { display: flex; flex-direction: column; gap: .45rem; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease }
.portal-home a.hh-cmp-card:hover { transform: translateY(-3px); border-color: var(--ink); box-shadow: 0 8px 20px color-mix(in srgb, var(--ink) 12%, transparent) }
.portal-home .hh-vs { display: flex; align-items: center; gap: .6rem; margin-bottom: .2rem }
.portal-home .hh-vs i { font-style: normal; font-size: .7rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; color: var(--muted) }
.portal-home .hh-blogo {
  display: grid; place-items: center; width: 52px; height: 44px; padding: 4px;
  border: 1px solid var(--hh-line); background: var(--card, #fff);
  font-size: .8rem; font-weight: 900; color: var(--brand-700, var(--brand));
}
.portal-home .hh-blogo img { max-width: 100%; max-height: 100%; object-fit: contain }
.portal-home .hh-cmp-card b { font-size: 1rem; font-weight: 800; color: var(--ink) }
.portal-home .hh-cmp-card small { font-size: .76rem; color: var(--muted) }
.portal-home .hh-cmp-card .hh-go { margin-top: auto; padding-top: .4rem }

/* ---- holidays ------------------------------------------------------------ */
.portal-home .hh-holidays { margin: .9rem 0 0; padding: 0; list-style: none }
.portal-home .hh-holidays li { display: flex; align-items: center; gap: .8rem; padding: .55rem 0; border-top: 1px solid var(--hh-line) }
.portal-home .hh-holidays li:first-child { border-top: 0 }
.portal-home .hh-hday { display: grid; flex: 0 0 48px; place-items: center; padding: .3rem 0; background: var(--brand); color: var(--on-brand, #fff); line-height: 1.05 }
.portal-home .hh-hday b { font-size: 1.15rem; font-weight: 900 }
.portal-home .hh-hday small { font-size: .62rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase }
.portal-home .hh-holidays strong { display: block; font-size: .9rem; font-weight: 800; color: var(--ink) }
.portal-home .hh-holidays li > span:last-child small { display: block; font-size: .74rem; color: var(--muted) }

/* ---- responsive ---------------------------------------------------------- */
@media (max-width: 1199.98px) {
  .portal-home .hh-stock-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) }
  .portal-home .hh-snap { grid-column: 1 / -1 }
  .portal-home .hh-cmp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) }
  /* Fuel: petrol and diesel side by side above the city cards. */
  .portal-home .hf { grid-template-columns: minmax(0, 1fr) }
  .portal-home .hf-main { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-right: 0; border-bottom: 1px solid var(--hh-line) }
  .portal-home .hf-note { grid-column: 1 / -1 }
  .portal-home .hx-grid { gap: 1.6rem 2rem }
}
@media (max-width: 991.98px) {
  /* Hero: words, then the snapshot, then the tiles. */
  .portal-home .hx { padding: 2.4rem 0 2.6rem }
  .portal-home .hx-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "board" "tiles" }
}
@media (max-width: 767.98px) {
  .portal-home .hh-stock-grid,
  .portal-home .hh-ipo-grid,
  .portal-home .hh-cmp-grid { grid-template-columns: minmax(0, 1fr) }
  .portal-home .hh-more-btn { width: 100%; text-align: center }
  .portal-home .hf-main { grid-template-columns: minmax(0, 1fr); padding: 1rem }
  .portal-home .hf-metros { padding: 1rem }
  .portal-home .hf-cities { grid-template-columns: repeat(2, minmax(0, 1fr)) }
  .portal-home .hf-v { font-size: 1.9rem }
  .portal-home .hx-sub { font-size: 1rem }
  .portal-home .hx-cta { width: 100%; text-align: center }
  .portal-home .hx-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)) }
  .portal-home .hx-tiles a { flex-direction: row; align-items: center }
}
@media (max-width: 419.98px) {
  .portal-home .hh-mlist li { grid-template-columns: 30px minmax(0, 1fr) auto; }
  .portal-home .hh-mlist .hh-px { display: none }
  .portal-home .hf-cities { gap: .5rem }
  .portal-home .hf-city { padding: .7rem .7rem .4rem }
}
