/* Product pages (first used by m365-business-premium.php).
   Loaded after css/home.css and reuses its tokens and hm- components. Scoped under .prod. */

/* resources/css/styles.css sets ".home li { font-size: 11px }" under 992px; restore sizes */
.prod li { font-size: 14px; }

/* ---------- Hero ---------- */
.prod .prod-hero { background: var(--hm-alt); margin-top: -20px; padding-top: 24px; }
.prod .prod-crumb { list-style: none; padding: 0; margin: 0 0 20px; display: flex; flex-wrap: wrap; gap: 4px; }
.prod .prod-crumb li { font-size: 13px; color: var(--hm-muted); }
.prod .prod-crumb li + li::before { content: "\203A"; margin: 0 6px 0 2px; color: #9a9a9a; }
.prod .prod-crumb a { color: var(--hm-muted); }
.prod .prod-crumb a:hover { color: var(--hm-primary); }

.prod .prod-hero-grid { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: start; }
/* single column now that the price card is removed */

.prod .prod-title { display: flex; align-items: center; gap: 18px; margin-bottom: 14px; }
.prod .prod-box { flex: 0 0 auto; width: 96px; height: auto; }
@media (min-width: 768px) { .prod .prod-box { width: 124px; } }
.prod .prod-pill {
  display: inline-block; background: var(--hm-primary); color: #fff;
  font-size: 12px; font-weight: 700; border-radius: var(--hm-radius-btn); padding: 3px 8px;
}
.prod h1 { font-size: 28px; line-height: 1.15; margin: 8px 0 6px; }
@media (min-width: 992px) { .prod h1 { font-size: 40px; } }
.prod .prod-platforms { font-size: 14px; color: var(--hm-muted); display: flex; align-items: center; gap: 8px; }
.prod .prod-platforms img { width: 22px; height: auto; }
.prod .prod-lead { font-size: 17px; color: var(--hm-muted); max-width: 760px; margin: 0 0 16px; }
.prod .prod-keys { list-style: none; padding: 0; margin: 0 0 20px; display: grid; grid-template-columns: 1fr; gap: 8px 24px; }
@media (min-width: 768px) { .prod .prod-keys { grid-template-columns: 1fr 1fr; } }
.prod .prod-keys li { font-size: 14.5px; display: flex; gap: 9px; align-items: flex-start; }
.prod .prod-keys .fas { color: var(--hm-primary); margin-top: 3px; }

/* ---------- Tabs section ---------- */
.prod .prod-tabs { justify-content: flex-start; }
.prod .prod-h2 { font-size: 24px; margin: 8px 0 18px; text-align: center; }
.prod .tab-pane > .prod-h2 ~ .prod-h2 { margin-top: 44px; }
.prod .prod-intro { text-align: center; color: var(--hm-muted); font-size: 16px; margin: 0 0 22px; }

/* Apps grid */
.prod .prod-apps { list-style: none; padding: 0; margin: 0 auto; max-width: 1100px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (min-width: 600px)  { .prod .prod-apps { grid-template-columns: repeat(5, 1fr); } }
@media (min-width: 1200px) { .prod .prod-apps { grid-template-columns: repeat(7, 1fr); } }
.prod .prod-apps li {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  background: #f7f7f7; border-radius: var(--hm-radius); padding: 16px 8px;
  font-size: 13.5px; font-weight: 600; text-align: center;
}
.prod .prod-apps img { width: 48px; height: 48px; object-fit: contain; }

/* Features */
.prod .prod-features { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 768px)  { .prod .prod-features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .prod .prod-features { grid-template-columns: repeat(3, 1fr); } }
.prod .prod-feature { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--hm-border); border-radius: var(--hm-radius); padding: 18px; }
.prod .prod-feature img { flex: 0 0 auto; width: 44px; height: 44px; object-fit: contain; }
.prod .prod-feature h3 { font-size: 16px; margin: 0 0 4px; }
.prod .prod-feature p { font-size: 14px; color: var(--hm-muted); margin: 0; }

/* Benefits */
.prod .prod-benefits { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 600px)  { .prod .prod-benefits { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .prod .prod-benefits { grid-template-columns: repeat(4, 1fr); } }
.prod .prod-benefit img { width: 100%; height: auto; border-radius: var(--hm-radius); margin-bottom: 12px; display: block; }
.prod .prod-benefit h3 { font-size: 17px; }
.prod .prod-benefit p { font-size: 14px; color: var(--hm-muted); margin: 0; }

/* Compare: plan cards + table */
.prod .prod-plans { display: grid; grid-template-columns: 1fr; gap: 12px; margin-bottom: 22px; }
@media (min-width: 768px) { .prod .prod-plans { grid-template-columns: repeat(3, 1fr); } }
.prod .prod-plan {
  display: flex; align-items: center; gap: 14px;
  background: #fff; border: 1px solid var(--hm-border); border-radius: var(--hm-radius); padding: 12px 16px;
  color: var(--hm-text); text-decoration: none; transition: box-shadow .2s ease;
}
.prod a.prod-plan:hover { box-shadow: 0 1.6px 3.6px rgba(0, 0, 0, .13), 0 8px 20px rgba(0, 0, 0, .08); color: var(--hm-text); text-decoration: none; }
.prod a.prod-plan:hover strong { color: var(--hm-primary); text-decoration: underline; }
.prod .prod-plan img { width: 52px; height: auto; flex: 0 0 auto; }
.prod .prod-plan strong { display: block; font-size: 16px; }
.prod .prod-plan span { display: block; font-size: 13px; color: var(--hm-muted); }
.prod .prod-plan em { display: block; font-style: normal; font-size: 12px; font-weight: 700; color: var(--hm-primary); margin-top: 4px; }
.prod .prod-plan-cur { border: 2px solid var(--hm-primary); }

.prod .prod-table-wrap { overflow-x: auto; border: 1px solid var(--hm-border); border-radius: var(--hm-radius); }
.prod .prod-compare, .prod .prod-req { width: 100%; border-collapse: collapse; background: #fff; font-size: 14px; }
.prod .prod-compare { min-width: 640px; }
.prod .prod-compare thead th {
  position: sticky; top: 0; z-index: 1;
  background: #fff; border-bottom: 2px solid var(--hm-border);
  padding: 12px; font-size: 14.5px; text-align: center; vertical-align: bottom;
}
.prod .prod-compare tbody th { text-align: left; font-weight: 400; padding: 10px 12px; border-bottom: 1px solid var(--hm-border); width: 46%; }
.prod .prod-compare td { text-align: center; padding: 10px 12px; border-bottom: 1px solid var(--hm-border); color: var(--hm-text); font-size: 13.5px; }
.prod .prod-compare .fa-check { color: var(--hm-primary); font-size: 15px; }
.prod .prod-compare .prod-group th { background: var(--hm-alt); font-weight: 700; font-size: 13px; letter-spacing: .3px; text-transform: uppercase; color: #3a3a3a; padding: 9px 12px; }
.prod .prod-compare .prod-col-cur { background: rgba(2, 112, 198, .06); }
.prod .prod-compare thead .prod-col-cur { color: var(--hm-primary); border-bottom-color: var(--hm-primary); }
/* Sticky header + current group label while scrolling the page (768px and wider).
   Sticky needs every ancestor to have visible overflow, so the shared ".tab-pane { overflow: auto }"
   and this table's horizontal-scroll wrapper are relaxed here. Phones keep horizontal scrolling. */
@media (min-width: 768px) {
  .prod #bp-compare { overflow: visible; }
  .prod #bp-compare .prod-table-wrap, .prod .prod-table-sticky { overflow: visible; }
  .prod .prod-compare thead th { position: sticky; top: 0; z-index: 3; box-shadow: 0 1px 0 var(--hm-border); }
  .prod .prod-compare thead .prod-col-cur { background: #eef5fc; }   /* opaque, so rows don't show through */
  .prod .prod-compare .prod-group th { position: sticky; top: var(--prod-thead-h, 46px); z-index: 2; box-shadow: 0 1px 0 var(--hm-border); }
}
.prod .prod-compare tbody tr:not(.prod-group):hover th,
.prod .prod-compare tbody tr:not(.prod-group):hover td { background: #fafafa; }

/* Requirements */
.prod .prod-req th { width: 24%; text-align: left; vertical-align: top; padding: 14px 16px; background: #fafafa; border-bottom: 1px solid var(--hm-border); font-weight: 600; }
.prod .prod-req td { padding: 14px 16px; border-bottom: 1px solid var(--hm-border); }
.prod .prod-req tr:last-child th, .prod .prod-req tr:last-child td { border-bottom: 0; }
.prod .prod-req p { margin: 0 0 6px; }
.prod .prod-req p:last-child { margin-bottom: 0; }

/* Original pricing panels (kept as on the previous page): just spacing around them */
.prod .prod-top-pricing { padding-top: 28px; padding-bottom: 0; }
.prod .prod-top-pricing + .prod-tabs-sec { padding-top: 32px; }
.prod .prod-orig-pricing .pricing.panel { margin-bottom: 0; }

/* ==========================================================================
   Extra template components (first used by m365-copilot.php)
   ========================================================================== */
/* Square product icon instead of a box shot */
.prod .prod-box.prod-box-icon { width: 84px; }
@media (min-width: 768px) { .prod .prod-box.prod-box-icon { width: 104px; } }

/* Image cards: image, title, text (3 across) */
.prod .prod-cards { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 768px) { .prod .prod-cards { grid-template-columns: repeat(3, 1fr); } }
.prod .prod-card { background: #fff; border: 1px solid var(--hm-border); border-radius: var(--hm-radius); overflow: hidden; }
.prod .prod-card img { display: block; width: 100%; height: auto; }
.prod .prod-card h3 { font-size: 16px; margin: 14px 16px 4px; }
.prod .prod-card p { font-size: 14px; color: var(--hm-muted); margin: 0 16px 16px; }
.prod .tab-pane > .prod-cards + .prod-h2 { margin-top: 40px; }

/* Image and text rows, alternating sides */
.prod .prod-splits { display: flex; flex-direction: column; gap: 16px; }
.prod .prod-split { display: grid; grid-template-columns: 1fr; gap: 20px; align-items: center; background: #f7f7f7; border-radius: var(--hm-radius); padding: 20px; }
@media (min-width: 992px) {
  .prod .prod-split { grid-template-columns: 1fr 1fr; gap: 40px; padding: 28px 32px; }
  .prod .prod-split:nth-child(even) > img { order: 2; }
}
.prod .prod-split img { width: 100%; height: auto; border-radius: var(--hm-radius); }
.prod .prod-split h3 { font-size: 20px; margin: 0 0 8px; }
.prod .prod-split p { font-size: 15px; color: var(--hm-muted); margin: 0; }
.prod .prod-split p + h3 { margin-top: 20px; }   /* several heading/text pairs beside one image */

/* Stats row */
.prod .prod-stats { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 768px) { .prod .prod-stats { grid-template-columns: repeat(3, 1fr); } }
.prod .prod-stat { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--hm-border); border-radius: var(--hm-radius); padding: 18px; }
.prod .prod-stat img { width: 56px; height: 56px; flex: 0 0 auto; }
.prod .prod-stat strong { font-size: 16px; line-height: 1.35; }

/* Offer cards: icon, title, list, Get a quote */
.prod .prod-offers { display: grid; grid-template-columns: 1fr; gap: 20px; align-items: stretch; }
@media (min-width: 768px)  { .prod .prod-offers { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .prod .prod-offers { grid-template-columns: repeat(3, 1fr); } }
.prod .prod-offer { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--hm-border); border-radius: var(--hm-radius); padding: 22px; }
.prod .prod-offer > img { width: 44px; height: 44px; margin-bottom: 12px; }
.prod .prod-offer h3 { font-size: 17px; margin: 0 0 6px; }
.prod .prod-offer-sub { font-size: 13.5px; color: var(--hm-muted); margin: 0 0 10px; }
.prod .prod-offer ul { list-style: none; padding: 0; margin: 4px 0 14px; }
.prod .prod-offer li { position: relative; padding-left: 22px; margin-bottom: 6px; font-size: 13.5px; }
.prod .prod-offer li::before { content: "\2713"; position: absolute; left: 0; top: 0; color: var(--hm-primary); font-weight: 700; }
.prod .prod-offer-note { font-size: 12.5px; color: var(--hm-muted); margin: 0 0 12px; }
.prod .prod-offer > a.hm-btn { margin-top: auto; align-self: flex-start; }
.prod .prod-offer > a.hm-btn .fa-envelope { margin-right: 6px; }

/* Documentation: download row and embedded PDF */
.prod .prod-doc { display: flex; align-items: center; gap: 14px; background: #f7f7f7; border-radius: var(--hm-radius); padding: 16px 18px; margin-bottom: 16px; }
.prod .prod-doc > .fa-file-pdf { font-size: 32px; color: #c43e1c; }
.prod .prod-doc strong { display: block; margin-bottom: 2px; }
.prod .prod-pdf object { display: block; width: 100%; height: 80vh; min-height: 600px; border: 1px solid var(--hm-border); border-radius: var(--hm-radius); }

/* ==========================================================================
   Category page components (first used by m365-business.php)
   ========================================================================== */
/* Hero with an image on the right */
.prod .prod-hero-split { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: center; }
@media (min-width: 992px) { .prod .prod-hero-split { grid-template-columns: 1.1fr 1fr; gap: 48px; } }
.prod .prod-hero-split h1 { margin-top: 10px; }
.prod .prod-hero-img { width: 100%; height: auto; border-radius: var(--hm-radius); }

/* Videos inside image/text rows */
.prod .prod-split > video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--hm-radius); background: #000; }

/* Four-plan compare table */
.prod .prod-compare-4 tbody th { width: 40%; }
.prod .prod-compare .prod-cell-note { display: block; font-size: 12px; color: var(--hm-muted); margin-top: 2px; }
.prod .prod-compare tfoot th, .prod .prod-compare tfoot td { padding: 14px 12px; text-align: center; background: #fafafa; border-top: 2px solid var(--hm-border); }
.prod .prod-footnotes { margin: 18px 0 0; padding-left: 20px; color: var(--hm-muted); }
.prod .prod-footnotes li { font-size: 12.5px; margin-bottom: 4px; }

/* ==========================================================================
   List cards and small tables (first used by security.php)
   ========================================================================== */
.prod .prod-listcards { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 768px)  { .prod .prod-listcards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .prod .prod-listcards { grid-template-columns: repeat(3, 1fr); } .prod .prod-listcards-4 { grid-template-columns: repeat(4, 1fr); } }
.prod .prod-listcard { background: #fff; border: 1px solid var(--hm-border); border-radius: var(--hm-radius); padding: 20px; }
.prod .prod-listcard > .fas { font-size: 24px; color: var(--hm-primary); margin-bottom: 10px; display: block; }
.prod .prod-listcard h3 { font-size: 16px; margin: 0 0 10px; }
.prod .prod-listcard ul { list-style: none; padding: 0; margin: 0; }
.prod .prod-listcard li { position: relative; padding-left: 22px; margin-bottom: 7px; font-size: 13.5px; }
.prod .prod-listcard li:last-child { margin-bottom: 0; }
.prod .prod-listcard li::before { content: "\2713"; position: absolute; left: 0; top: 0; color: var(--hm-primary); font-weight: 700; }
.prod .prod-h3 { font-size: 17px; margin: 32px 0 12px; }
.prod .prod-uptime { width: 100%; border-collapse: collapse; background: #fff; font-size: 14px; text-align: center; }
.prod .prod-uptime th { background: #fafafa; font-weight: 600; padding: 10px 8px; border-bottom: 1px solid var(--hm-border); white-space: nowrap; }
.prod .prod-uptime td { padding: 12px 8px; font-weight: 600; color: var(--hm-primary); }

/* ==========================================================================
   Rebuilt tab content (converter) : FAQ list, icon fix
   ========================================================================== */
/* Hero box shots and icons saved as JPG on white: blend the white into the grey hero background */
.prod .prod-box { mix-blend-mode: multiply; }

/* FAQs as <details> (no JavaScript needed) */
.prod .prod-faq { max-width: 960px; margin: 0 auto; border-top: 1px solid var(--hm-border); }
.prod .prod-faq-item { border-bottom: 1px solid var(--hm-border); }
.prod .prod-faq-item summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 16px 40px 16px 4px; font-size: 16px; font-weight: 600; color: var(--hm-text);
}
.prod .prod-faq-item summary::-webkit-details-marker { display: none; }
.prod .prod-faq-item summary::after {
  content: "+"; position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  font-size: 22px; font-weight: 400; color: var(--hm-primary);
}
.prod .prod-faq-item[open] summary::after { content: "\2212"; }
.prod .prod-faq-item summary:hover { color: var(--hm-primary); }
.prod .prod-faq-a { padding: 0 40px 18px 4px; font-size: 15px; color: var(--hm-muted); }

/* Short app list (e.g. 4 services on Business Basic) */
.prod .prod-apps.prod-apps-4 { max-width: 720px; }
@media (min-width: 600px) { .prod .prod-apps.prod-apps-4 { grid-template-columns: repeat(4, 1fr); } }

/* Offer type label (Standalone / Add-on) and white-background icons in app grids */
.prod .prod-offer-type { align-self: flex-start; font-size: 11.5px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; color: var(--hm-primary); background: var(--hm-tint); border-radius: 10px; padding: 2px 8px; margin-bottom: 10px; }
.prod .prod-apps img { mix-blend-mode: multiply; }

/* Extra quote links under the top pricing panel */
.prod .prod-quote-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; margin-top: 14px; font-size: 14px; }
.prod .prod-quote-links > span { color: var(--hm-muted); font-weight: 600; }

/* Four image cards in a row (e.g. Identify / Protect / Detect and respond / Recover) */
@media (min-width: 1200px) { .prod .prod-cards.prod-cards-4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 768px) and (max-width: 1199px) { .prod .prod-cards.prod-cards-4 { grid-template-columns: repeat(2, 1fr); } }

/* Full-width figure image, and specification tables with sub-headings and lists */
.prod .prod-figure { display: block; width: 100%; max-width: 1100px; height: auto; margin: 0 auto 20px; border-radius: var(--hm-radius); }
.prod .prod-specs td h4 { font-size: 13.5px; font-weight: 700; margin: 10px 0 4px; }
.prod .prod-specs td h4:first-child { margin-top: 0; }
.prod .prod-specs td ul { margin: 0; padding-left: 18px; }
.prod .prod-specs td li { font-size: 14px; margin-bottom: 3px; }
.prod .prod-card > h3:first-child { margin-top: 16px; }

/* ===== Azure products catalogue (azure-products.php): filter sidebar, search, card grid, pages ===== */
.prod .azc-layout { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 992px) { .prod .azc-layout { grid-template-columns: 260px 1fr; gap: 32px; align-items: start; } }
.prod .azc-side { background: #fff; border: 1px solid var(--hm-border); border-radius: var(--hm-radius); padding: 18px; }
@media (min-width: 992px) { .prod .azc-side { position: sticky; top: 16px; } }
.prod .azc-label { display: block; font-size: 13px; font-weight: 600; margin: 0 0 6px; }
.prod .azc-search { width: 100%; height: 40px; padding: 0 12px; font-size: 15px; border: 1px solid var(--hm-border); border-radius: var(--hm-radius-btn); }
.prod .azc-search:focus { outline: 2px solid var(--hm-primary); outline-offset: 0; border-color: var(--hm-primary); }
.prod .azc-side-title { font-size: 15px; font-weight: 700; margin: 18px 0 8px; }
.prod .azc-cats { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
@media (min-width: 992px) { .prod .azc-cats { display: block; max-height: 60vh; overflow-y: auto; } }
.prod .azc-cats li { margin: 0 0 2px; }
.prod .azc-cat { display: flex; justify-content: space-between; align-items: center; gap: 8px; width: 100%; padding: 7px 10px; font-size: 14px; text-align: left; color: var(--hm-text); background: transparent; border: 1px solid var(--hm-border); border-radius: var(--hm-radius-btn); cursor: pointer; }
@media (min-width: 992px) { .prod .azc-cat { border-color: transparent; } }
.prod .azc-cat:hover { background: #f1f8ff; }
.prod .azc-cat.is-active { background: var(--hm-primary); border-color: var(--hm-primary); color: #fff; }
.prod .azc-cat-n { font-size: 11px; font-weight: 700; padding: 1px 7px; border-radius: 10px; background: #f1f8ff; color: var(--hm-primary); }
.prod .azc-cat.is-active .azc-cat-n { background: rgba(255, 255, 255, .25); color: #fff; }
.prod .azc-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 16px; }
.prod .azc-count { margin: 0; font-size: 14px; color: var(--hm-muted); }
.prod .azc-sort label { font-size: 14px; font-weight: 600; margin: 0 8px 0 0; }
.prod .azc-sort select { height: 36px; padding: 0 8px; font-size: 14px; border: 1px solid var(--hm-border); border-radius: var(--hm-radius-btn); background: #fff; }
.prod .azc-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 600px) { .prod .azc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .prod .azc-grid { grid-template-columns: repeat(3, 1fr); } }
.prod .azc-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--hm-border); border-radius: var(--hm-radius); padding: 20px; color: var(--hm-text); text-decoration: none; transition: border-color .2s, box-shadow .2s; }
.prod .azc-card:hover, .prod .azc-card:focus { border-color: var(--hm-primary); box-shadow: 0 4px 14px rgba(0, 0, 0, .08); text-decoration: none; color: var(--hm-text); }
.prod .azc-card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; margin-bottom: 14px; }
.prod .azc-card-top img { width: 48px; height: 48px; object-fit: contain; flex: 0 0 auto; }
.prod .azc-badge { font-size: 11px; font-weight: 700; text-transform: uppercase; text-align: right; color: var(--hm-primary); background: #f1f8ff; padding: 3px 9px; border-radius: 12px; max-width: 65%; }
.prod .azc-title { display: block; font-size: 17px; font-weight: 700; margin: 0 0 6px; }
.prod .azc-desc { display: block; flex: 1 0 auto; font-size: 14px; line-height: 1.5; color: var(--hm-muted); margin-bottom: 14px; }
.prod .azc-go { font-size: 14px; font-weight: 600; color: var(--hm-primary); }
.prod .azc-go::after { content: " \203A"; }
.prod .azc-card:hover .azc-go { text-decoration: underline; }
.prod .azc-empty { grid-column: 1 / -1; font-size: 15px; color: var(--hm-muted); }
.prod .azc-pages ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 24px 0 0; padding: 0; }
.prod .azc-pages button { min-width: 38px; height: 38px; padding: 0 10px; font-size: 14px; color: var(--hm-text); background: #fff; border: 1px solid var(--hm-border); border-radius: var(--hm-radius-btn); cursor: pointer; }
.prod .azc-pages button:hover { border-color: var(--hm-primary); color: var(--hm-primary); }
.prod .azc-pages button.is-active { background: var(--hm-primary); border-color: var(--hm-primary); color: #fff; }

/* ===== Surface category page (surface.php): device cards with equal image areas, link at the bottom ===== */
.prod .sf-wordmark { display: block; height: 28px; width: auto; margin: 14px 0 4px; }
.prod .sf-card { display: flex; flex-direction: column; }
.prod .sf-card img { aspect-ratio: 4 / 3; object-fit: contain; background: #f7f7f7; mix-blend-mode: multiply; }
.prod .sf-card p { flex: 1 0 auto; }
.prod .sf-card .hm-more { margin: 0 16px 18px; }

/* ===== Microsoft 365 Education page (m365-education.php): plan cards with app icon groups ===== */
.prod .edu-plan h3 { font-size: 20px; margin: 0 0 6px; }
.prod .edu-group { margin-top: 14px; }
.prod .edu-group h4 { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; color: var(--hm-muted); margin: 0 0 8px; }
.prod .edu-icons { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.prod .edu-icons li { display: inline-flex; align-items: center; gap: 6px; margin: 0; padding: 4px 9px 4px 5px; font-size: 12.5px; background: #f7f7f7; border-radius: 14px; }
.prod .edu-icons li::before { content: none; }
.prod .edu-icons img { width: 18px; height: 18px; object-fit: contain; }
.prod .edu-plan-actions { margin-top: auto; padding-top: 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; }
.prod .edu-split img { border-radius: var(--hm-radius); }
@media (min-width: 768px) { .prod .prod-stats.edu-stats { grid-template-columns: repeat(2, 1fr); } }
.prod .edu-quote-row td { text-align: center; }

/* ===== Not-for-profit page (non-profit.php): clickable product cards ===== */
.prod .np-cards { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 600px)  { .prod .np-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px)  { .prod .np-cards { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1200px) { .prod .np-cards.np-cards-4 { grid-template-columns: repeat(4, 1fr); } }
.prod .np-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--hm-border); border-radius: var(--hm-radius); overflow: hidden; color: var(--hm-text); text-decoration: none; transition: border-color .2s, box-shadow .2s; }
.prod .np-card:hover, .prod .np-card:focus { border-color: var(--hm-primary); box-shadow: 0 4px 14px rgba(0, 0, 0, .08); color: var(--hm-text); text-decoration: none; }
.prod .np-img { display: flex; align-items: center; justify-content: center; height: 180px; padding: 16px; background: #f7f7f7; }
.prod .np-img img { max-width: 100%; max-height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.prod .np-img.np-icon img { width: 72px; height: 72px; }
.prod .np-body { display: flex; flex-direction: column; flex: 1 0 auto; padding: 18px 20px 20px; }
.prod .np-title { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.prod .np-desc { font-size: 14px; color: var(--hm-muted); margin-bottom: 12px; }
.prod .np-points { display: block; margin-bottom: 14px; }
.prod .np-points span { display: block; position: relative; padding-left: 20px; margin-bottom: 5px; font-size: 13.5px; }
.prod .np-points span::before { content: "\2713"; position: absolute; left: 0; color: var(--hm-primary); font-weight: 700; }
.prod .np-go { margin-top: auto; font-size: 14px; font-weight: 600; color: var(--hm-primary); }
.prod .np-go::after { content: " \203A"; }
.prod .np-card:hover .np-go { text-decoration: underline; }

/* ===== Government pages (federal.php): hero video, split sections, why-us tiles, brand cards ===== */
.prod .gov-hero-video { display: block; aspect-ratio: 16 / 9; object-fit: cover; background: #1b2855; }
.prod .gov-split { background: transparent; padding: 0; }
.prod .gov-split img { width: 100%; height: auto; border-radius: var(--hm-radius); }
.prod .gov-h2 { font-size: 26px; line-height: 1.25; margin: 0 0 12px; }
.prod .gov-split p { font-size: 16px; line-height: 1.6; }
.prod .gov-why { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 600px)  { .prod .gov-why { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .prod .gov-why { grid-template-columns: repeat(4, 1fr); } }
.prod .gov-why-item { background: #fff; border: 1px solid var(--hm-border); border-radius: var(--hm-radius); padding: 22px; text-align: center; }
.prod .gov-why-item i { font-size: 34px; color: var(--hm-primary); margin-bottom: 10px; }
.prod .gov-why-item h3 { font-size: 17px; margin: 0 0 6px; }
.prod .gov-why-item p { font-size: 14px; color: var(--hm-muted); margin: 0; }
.prod .gov-brands { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 600px) { .prod .gov-brands { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .prod .gov-brands { grid-template-columns: repeat(3, 1fr); } }
.prod .gov-brand { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--hm-border); border-radius: var(--hm-radius); padding: 22px; color: var(--hm-text); text-decoration: none; transition: border-color .2s, box-shadow .2s; }
.prod .gov-brand:hover, .prod .gov-brand:focus { border-color: var(--hm-primary); box-shadow: 0 4px 14px rgba(0, 0, 0, .08); color: var(--hm-text); text-decoration: none; }
.prod .gov-brand-logo { display: flex; align-items: center; justify-content: center; height: 110px; margin-bottom: 14px; }
.prod .gov-brand-logo img { max-width: 70%; max-height: 100%; object-fit: contain; }
.prod .gov-brand-name { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.prod .gov-brand-desc { flex: 1 0 auto; font-size: 14px; color: var(--hm-muted); margin-bottom: 14px; }
.prod .gov-brand-go { font-size: 14px; font-weight: 600; color: var(--hm-primary); }
.prod .gov-brand-go::after { content: " \203A"; }
.prod .gov-brand:hover .gov-brand-go { text-decoration: underline; }

/* ===== Azure landing page (azure.php): solution groups, innovation pillars, news cards ===== */
.prod .az-split img { border-radius: var(--hm-radius); }
.prod .az-sol-h { font-size: 18px; margin: 28px 0 12px; }
.prod .az-sol { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 600px)  { .prod .az-sol { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .prod .az-sol { grid-template-columns: repeat(4, 1fr); } }
.prod .az-sol-item { background: #fff; border: 1px solid var(--hm-border); border-radius: var(--hm-radius); padding: 18px; }
.prod .az-sol-item h4 { font-size: 15px; font-weight: 700; color: var(--hm-primary); margin: 0 0 6px; }
.prod .az-sol-item p { font-size: 14px; color: var(--hm-muted); margin: 0; }
.prod .az-pillars { position: relative; }
.prod .az-pillars-img { display: block; width: 100%; height: auto; border-radius: var(--hm-radius); }
.prod .az-pillar-row { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 16px; }
@media (min-width: 768px) { .prod .az-pillar-row { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 992px) { .prod .az-pillar-row { position: absolute; left: 24px; right: 24px; bottom: 24px; margin: 0; } }
.prod .az-pillar { background: rgba(255, 255, 255, .94); border-radius: var(--hm-radius); padding: 18px 20px; box-shadow: 0 2px 10px rgba(0, 0, 0, .08); }
.prod .az-pillar span { font-size: 13px; font-weight: 600; color: var(--hm-primary); }
.prod .az-pillar h3 { font-size: 17px; margin: 4px 0 6px; }
.prod .az-pillar p { font-size: 14px; color: var(--hm-muted); margin: 0; }
.prod .az-news { display: flex; flex-direction: column; }
.prod .az-news p { flex: 1 0 auto; }
.prod .az-news .hm-more { margin: 0 16px 18px; }
.prod .edu-groups { display: grid; grid-template-columns: 1fr; gap: 6px 28px; background: #fff; border: 1px solid var(--hm-border); border-radius: var(--hm-radius); padding: 6px 22px 22px; margin-bottom: 36px; }
@media (min-width: 992px) { .prod .edu-groups { grid-template-columns: repeat(2, 1fr); } }
.prod .prod-compare th a { color: inherit; }

/* ===== Enterprise Mobility + Security pages (ems-e3.php, ems-e5.php) ===== */
.prod .ems-features { margin-bottom: 36px; }
@media (min-width: 1200px) { .prod .prod-features.ems-features { grid-template-columns: repeat(2, 1fr); } }
.prod .ems-in { display: inline-block; margin-top: 8px; font-size: 12px; font-weight: 700; color: var(--hm-primary); background: #f1f8ff; padding: 2px 9px; border-radius: 10px; }
.prod .ems-not-in { background: #fafafa; }
.prod .ems-not-in .ems-in { color: var(--hm-muted); background: #eee; }
.prod .ems-split img { border-radius: var(--hm-radius); }
.prod .ems-split .hm-more { margin-right: 18px; }

/* Video rows alternate sides like image rows (first used by microsoft-defender-for-endpoint.php) */
@media (min-width: 992px) { .prod .prod-split:nth-child(even) > video { order: 2; } }

/* End-of-life notice on discontinued product pages */
.prod .prod-eol { margin: 14px 0 6px; padding: 12px 16px; font-size: 15px; background: #fff4ce; border-left: 4px solid #c19c00; border-radius: var(--hm-radius-btn); }

/* ===== Surface product pages (includes/surface-page.php): consistent image sizes ===== */
/* Card images: every image in a row gets the same 16:9 frame; the whole picture is shown (no cropping). */
.prod .sfp-cards .prod-card img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; background: #f7f7f7; }
/* Small icon cards (e.g. 90x90 feature icons) */
.prod .sfp-icons .prod-card img { width: 56px; height: 56px; aspect-ratio: auto; object-fit: contain; background: none; margin: 18px 16px 0; }
/* Text-only cards: a brand-blue top edge instead of an empty image area */
.prod .sfp-text-cards .prod-card { border-top: 3px solid var(--hm-primary); }
/* Image beside text: keep tall or huge images in proportion */
.prod .sfp-split img { width: 100%; height: auto; max-height: 440px; object-fit: contain; border-radius: var(--hm-radius); }
/* Full-width figure: never stretch a small image beyond its own size, cap very tall banners */
.prod .sfp-figure { width: auto; max-width: 100%; height: auto; max-height: 520px; object-fit: contain; margin-left: auto; margin-right: auto; }

/* Surface pages: full-image preview on hover (includes/sfp-zoom.js) */
.prod .sfp-zoomable { cursor: zoom-in; }
.sfp-zoom { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center; padding: 3vh 3vw; background: rgba(0, 0, 0, .55); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .15s ease, visibility .15s; }
.sfp-zoom.is-open { opacity: 1; visibility: visible; }
.sfp-zoom img { max-width: 94vw; max-height: 94vh; width: auto; height: auto; object-fit: contain; background: #fff; border-radius: 8px; box-shadow: 0 10px 40px rgba(0, 0, 0, .35); }
/* Government pages: three-column tile variant (local.php services) */
@media (min-width: 1200px) { .prod .gov-why.gov-why-3 { grid-template-columns: repeat(3, 1fr); } }

/* ===== Information pages (products.php, eol.php, blog.php, what-is-microsoft-365.php, licensing-management.php, 3rd-party-solutions.php) ===== */
/* Link-list cards (products.php site map) */
.prod .info-cols { display: grid; grid-template-columns: 1fr; gap: 20px; align-items: start; }
@media (min-width: 768px)  { .prod .info-cols { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .prod .info-cols { grid-template-columns: repeat(3, 1fr); } .prod .info-cols.info-cols-4 { grid-template-columns: repeat(4, 1fr); } }
.prod .info-col { background: #fff; border: 1px solid var(--hm-border); border-radius: var(--hm-radius); padding: 20px 22px; }
.prod .info-col h3 { font-size: 17px; margin: 0 0 10px; }
.prod .info-col ul + h3 { margin-top: 22px; }
.prod .info-col h3 a { color: var(--hm-text); }
.prod .info-col h3 a:hover, .prod .info-col h3 a:focus { color: var(--hm-primary); }
.prod .info-links, .prod .info-links ul { list-style: none; padding: 0; margin: 0; }
.prod .info-links li { font-size: 14px; margin: 0 0 7px; }
.prod .info-links ul { margin: 7px 0 4px 2px; padding-left: 12px; border-left: 2px solid var(--hm-border); }
.prod .info-links strong { font-weight: 600; }

/* Plain data tables (eol.php): left-aligned cells inside .prod-compare */
.prod .info-table thead th, .prod .info-table td { text-align: left; vertical-align: top; }

/* Two- and four-up offer cards (licensing-management.php, what-is-microsoft-365.php) */
@media (min-width: 1200px) { .prod .prod-offers.info-offers-2 { grid-template-columns: repeat(2, 1fr); } .prod .prod-offers.info-offers-4 { grid-template-columns: repeat(4, 1fr); } }
.prod .info-offer-ic { font-size: 30px; color: var(--hm-primary); margin-bottom: 12px; }
.prod .info-perks li strong { display: block; font-size: 14px; }
.prod .info-perks li span { color: var(--hm-muted); }
.prod .info-note { background: var(--hm-tint); border-radius: var(--hm-radius-btn); padding: 10px 12px; font-size: 13.5px; margin: 0 0 16px; }
.prod .info-note .fas { color: var(--hm-primary); margin-right: 6px; }
.prod .info-callout { display: flex; gap: 14px; align-items: flex-start; max-width: 900px; margin: 28px auto 0; background: #fff; border: 1px solid var(--hm-border); border-left: 4px solid var(--hm-primary); border-radius: var(--hm-radius); padding: 16px 20px; }
.prod .info-callout > .fas { font-size: 22px; color: var(--hm-primary); margin-top: 2px; }
.prod .info-callout p { margin: 0; font-size: 15px; }

/* Small app and service icons inside cards (what-is-microsoft-365.php) */
.prod .info-label { font-size: 13px; font-weight: 600; margin: 4px 0 6px; }
.prod .info-icons { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 12px; }
.prod .info-icons img { height: 24px; width: auto; }
.prod .info-icons-lg img { height: 32px; }

/* Blog post cards (blog.php): photos fill the image area */
.prod .info-post .np-img { padding: 0; }
.prod .info-post .np-img img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: normal; }
.prod .info-date { font-size: 12.5px; color: var(--hm-muted); margin-bottom: 6px; }

/* ---------- Transfer to us (transfer-to-us.php) ---------- */
.prod .tf-hero { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: start; }
@media (min-width: 992px) { .prod .tf-hero { grid-template-columns: 1.4fr 1fr; } }
.prod .tf-trust { margin-bottom: 16px; }
.prod .tf-badges { display: flex; flex-wrap: wrap; gap: 10px; }
.prod .tf-badge { display: inline-block; background: #fff; border: 1px solid var(--hm-border); border-radius: var(--hm-radius-btn); padding: 7px 12px; font-size: 13px; color: var(--hm-muted); }
.prod .tf-badge strong { display: block; color: var(--hm-text); font-size: 12.5px; }
.prod .tf-card { background: #fff; border: 1px solid var(--hm-border); border-radius: var(--hm-radius); padding: 22px; }
.prod .tf-card h2, .prod .tf-card h3 { font-size: 19px; margin: 0 0 12px; }
.prod .tf-check label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.prod .tf-input { display: block; width: 100%; border: 1px solid #c8c8c8; border-radius: var(--hm-radius-btn); padding: 9px 12px; font-size: 15px; color: var(--hm-text); }
.prod .tf-input:focus { border-color: var(--hm-primary); outline: 0; box-shadow: 0 0 0 2px rgba(2, 112, 198, .2); }
.prod .tf-result { min-height: 20px; margin: 8px 0 12px; font-size: 13.5px; color: var(--hm-muted); }
.prod .tf-result-ok { color: #107c10; }
.prod .tf-result-err { color: #a4262c; }
.prod .tf-btn-block { display: block; width: 100%; text-align: center; }
.prod .hm-btn.tf-btn-lg, .prod a.hm-btn.tf-btn-lg:link, .prod a.hm-btn.tf-btn-lg:visited { padding: 12px 20px; font-size: 16px; }
.prod .hm-btn .fas { font-size: .9em; }
.prod .hm-btn .tf-ico-r { margin-left: 8px; transition: transform .15s ease; }
.prod .hm-btn .tf-ico-l { margin-right: 8px; }
.prod .hm-btn:hover .tf-ico-r, .prod .hm-btn:focus .tf-ico-r { transform: translateX(3px); }
.prod .hm-btn:focus-visible { outline: 2px solid var(--hm-primary); outline-offset: 2px; }
.prod .tf-check .hm-btn { box-shadow: 0 2px 6px rgba(2, 112, 198, .25); }
.prod .tf-small { font-size: 13px; color: var(--hm-muted); margin: 8px 0 0; }
.prod .tf-paths { list-style: none; padding: 0; margin: 0 0 20px; display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 768px) { .prod .tf-paths { grid-template-columns: repeat(3, 1fr); } }
.prod .tf-paths a { display: block; height: 100%; background: #fff; border: 2px solid var(--hm-border); border-radius: var(--hm-radius); padding: 16px 18px; color: var(--hm-text); text-decoration: none; }
.prod .tf-paths a:hover, .prod .tf-paths a:focus { border-color: #9cc7ea; }
.prod .tf-paths .active a { border-color: var(--hm-primary); background: var(--hm-tint); }
.prod .tf-paths h3 { font-size: 16px; margin: 0 0 6px; }
.prod .tf-sub { display: block; font-size: 13.5px; color: var(--hm-muted); margin-bottom: 10px; }
.prod .tf-tag { display: inline-block; font-size: 12px; font-weight: 700; border-radius: 999px; padding: 3px 10px; }
.prod .tf-tag-ok { background: #dff6dd; color: #0b5a08; }
.prod .tf-tag-renew { background: #fff4ce; color: #7a5c00; }
.prod .tf-tag-project { background: #fde7e9; color: #8a1f25; }
.prod .tf-grid { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: start; }
@media (min-width: 992px) { .prod .tf-grid { grid-template-columns: 1.5fr 1fr; } }
.prod .tf-grid > div > .tf-card + .tf-card { margin-top: 14px; }
.prod .tf-flow { list-style: none; counter-reset: tf; padding: 0; margin: 0; }
.prod .tf-flow li { counter-increment: tf; position: relative; padding: 0 0 18px 44px; }
.prod .tf-flow li::before { content: counter(tf); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--hm-primary); color: #fff; font-size: 13px; font-weight: 700; line-height: 28px; text-align: center; }
.prod .tf-flow li:not(:last-child)::after { content: ""; position: absolute; left: 13px; top: 32px; bottom: 4px; width: 2px; background: var(--hm-border); }
.prod .tf-flow strong { display: block; font-size: 15px; margin-bottom: 2px; }
.prod .tf-flow span { display: block; font-size: 14px; color: var(--hm-muted); }
.prod .tf-note { margin: 6px 0 0; padding: 12px 14px; font-size: 14px; background: var(--hm-tint); border-left: 4px solid var(--hm-primary); border-radius: var(--hm-radius-btn); }
.prod .tf-text { color: var(--hm-muted); font-size: 15px; }
.prod .tf-fields { display: grid; grid-template-columns: 1fr; gap: 10px; margin: 12px 0 14px; }
.prod .tf-fields label { font-size: 13px; font-weight: 600; margin: 0; }
.prod .tf-fields .tf-input { margin-top: 4px; font-weight: 400; }
@media (min-width: 480px) { .prod .tf-fields { grid-template-columns: 2fr 1fr 1.4fr; } }
.prod .tf-faq .prod-faq { border-top: 0; }
.prod .tf-faq .prod-faq-item summary { font-size: 15px; }

/* ---------- Microsoft Financing (microsoft-financing.php); also uses the .tf- card, tag and button styles above ---------- */
.prod .fin-glance h2 { font-size: 19px; }
.prod .fin-glance dl { margin: 0; }
.prod .fin-glance dt { font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--hm-primary); margin-top: 14px; }
.prod .fin-glance dt:first-child { margin-top: 0; }
.prod .fin-glance dd { font-size: 14.5px; color: var(--hm-text); margin: 2px 0 0; }
.prod .fin-tiles { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 600px) { .prod .fin-tiles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .prod .fin-tiles { grid-template-columns: repeat(5, 1fr); } }
.prod .fin-tile { background: #fff; border: 1px solid var(--hm-border); border-radius: var(--hm-radius); padding: 20px; text-align: center; }
.prod .fin-tile .fas, .prod .fin-benefits .fas { font-size: 26px; color: var(--hm-primary); margin-bottom: 12px; }
.prod .fin-tile h3 { font-size: 16px; margin: 0 0 6px; }
.prod .fin-tile p, .prod .fin-benefits p { font-size: 14px; color: var(--hm-muted); margin: 0; }
.prod .fin-benefits { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 768px) { .prod .fin-benefits { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .prod .fin-benefits { grid-template-columns: repeat(4, 1fr); } }
.prod .fin-benefits h3 { font-size: 17px; margin: 0 0 6px; }
@media (min-width: 1200px) { .prod .fin-benefits-5 { grid-template-columns: repeat(5, 1fr); } }
.prod .fin-intro { font-size: 15.5px; color: var(--hm-muted); margin: 0 0 16px; max-width: 640px; }
.prod .fin-two { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 992px) { .prod .fin-two { grid-template-columns: 1fr 1fr; } }
.prod .fin-two h2 { font-size: 22px; margin: 12px 0 12px; }
.prod .fin-list { list-style: none; padding: 0; margin: 0; }
.prod .fin-list li { position: relative; padding: 0 0 10px 26px; font-size: 15px; }
.prod .fin-list li::before { content: "\2713"; position: absolute; left: 0; top: 0; color: var(--hm-primary); font-weight: 700; }
.prod .fin-steps { list-style: none; counter-reset: fin; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 768px) { .prod .fin-steps { grid-template-columns: repeat(3, 1fr); } }
.prod .fin-steps li { counter-increment: fin; background: #fff; border: 1px solid var(--hm-border); border-top: 4px solid var(--hm-primary); border-radius: var(--hm-radius); padding: 18px 18px 18px 64px; position: relative; }
.prod .fin-steps li::before { content: counter(fin); position: absolute; left: 18px; top: 18px; width: 32px; height: 32px; border-radius: 50%; background: var(--hm-tint); color: var(--hm-primary); font-weight: 700; line-height: 32px; text-align: center; }
.prod .fin-steps strong { display: block; font-size: 16px; margin-bottom: 4px; }
.prod .fin-steps span { display: block; font-size: 14px; color: var(--hm-muted); }
.prod .fin-cta { background: linear-gradient(135deg, #0b3a62 0%, var(--hm-primary) 100%); color: #fff; text-align: center; }
.prod .fin-cta h2 { color: #fff; font-size: 28px; margin: 0 0 8px; }
.prod .fin-cta p { color: #e3eefa; font-size: 17px; margin: 0 auto 22px; max-width: 680px; }
.prod .fin-cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.prod .fin-cta a.hm-btn.fin-btn-light:link, .prod .fin-cta a.hm-btn.fin-btn-light:visited { background: #fff; border-color: #fff; color: var(--hm-primary); padding: 12px 22px; font-size: 16px; }
.prod .fin-cta a.hm-btn.fin-btn-light:hover, .prod .fin-cta a.hm-btn.fin-btn-light:focus { background: var(--hm-tint); border-color: var(--hm-tint); color: var(--hm-primary-dark); }
.prod .fin-cta a.hm-btn.fin-btn-ghost:link, .prod .fin-cta a.hm-btn.fin-btn-ghost:visited { background: transparent; border-color: #fff; color: #fff; padding: 12px 22px; font-size: 16px; }
.prod .fin-cta a.hm-btn.fin-btn-ghost:hover, .prod .fin-cta a.hm-btn.fin-btn-ghost:focus { background: rgba(255, 255, 255, .12); color: #fff; }
.prod .fin-ask { max-width: 680px; margin: 28px auto 0; padding: 18px 22px; text-align: left; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .25); border-radius: var(--hm-radius); }
.prod .fin-ask h3 { color: #fff; font-size: 16px; margin: 0 0 8px; }
.prod .fin-ask ul { margin: 0; padding-left: 20px; color: #e3eefa; font-size: 14.5px; }
.prod .fin-ask li { margin-bottom: 4px; }
.prod .fin-cta .fin-legal { font-size: 12.5px; color: #bcd3ea; margin: 22px auto 0; }

/* ---------- Blog posts (includes/blog-post.php) ---------- */
.prod h1.blog-title { max-width: 900px; }
.prod .blog-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; color: var(--hm-muted); margin: 0 0 12px; }
.prod .blog-meta .far { color: var(--hm-primary); margin-right: 4px; }
.prod .blog-body { max-width: 820px; margin: 0 auto; font-size: 16.5px; line-height: 1.7; color: var(--hm-text); }
.prod .blog-body > .prod-eol { margin: 0 0 22px; }
.prod .blog-hero-img { margin: 0 0 28px; }
.prod .blog-body img { display: block; max-width: 100%; height: auto; margin: 20px auto; border-radius: var(--hm-radius); }
.prod .blog-hero-img img { margin: 0; width: 100%; }
.prod .blog-body h2 { font-size: 26px; line-height: 1.25; margin: 38px 0 12px; }
.prod .blog-body h3 { font-size: 20px; line-height: 1.3; margin: 30px 0 10px; }
.prod .blog-body h4 { font-size: 17px; margin: 24px 0 8px; }
.prod .blog-body p { margin: 0 0 16px; }
.prod .blog-body ul, .prod .blog-body ol { margin: 0 0 18px; padding-left: 24px; }
.prod .blog-body li { font-size: 16.5px; line-height: 1.65; margin-bottom: 6px; }
.prod .blog-body a { color: var(--hm-primary); text-decoration: underline; }
.prod .blog-body hr { border: 0; border-top: 1px solid var(--hm-border); margin: 30px 0; }
.prod .blog-body blockquote { margin: 20px 0; padding: 12px 18px; border-left: 4px solid var(--hm-primary); background: var(--hm-tint); font-size: 16.5px; }
.prod .blog-table { overflow-x: auto; margin: 0 0 20px; }
.prod .blog-table table { width: 100%; border-collapse: collapse; font-size: 15px; }
.prod .blog-table th, .prod .blog-table td { border: 1px solid var(--hm-border); padding: 10px 12px; text-align: left; vertical-align: top; }
.prod .blog-table th { background: var(--hm-alt); }
.prod .blog-video { position: relative; padding-top: 56.25%; margin: 20px 0; border-radius: var(--hm-radius); overflow: hidden; background: #000; }
.prod .blog-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.prod .blog-body .prod-faq { margin: 10px 0 20px; }
.prod .blog-back { margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--hm-border); }
.prod .blog-related { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 768px) { .prod .blog-related { grid-template-columns: repeat(3, 1fr); } }
.prod .blog-related a { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: #fff; border: 1px solid var(--hm-border); border-radius: var(--hm-radius); padding: 16px 18px; font-size: 16px; font-weight: 600; color: var(--hm-text); text-decoration: none; }
.prod .blog-related a:hover, .prod .blog-related a:focus { border-color: var(--hm-primary); color: var(--hm-primary); }
.prod .blog-related .fas { color: var(--hm-primary); transition: transform .15s ease; }
.prod .blog-related a:hover .fas { transform: translateX(3px); }
.prod .blog-form { max-width: 820px; margin: 0 auto; }
