/* =====================================================================
   GNMK inner pages — the homepage header + footer (.gnh-head / .gnh-foot
   from home.css) on the older .gnmk-home pages. Loaded with home.css on
   every canvas page except the front page. 2026-10-14.
   ===================================================================== */

/* The wrapper only carries the .gnh scope for the selectors in home.css;
   it must not box the sticky header, or the header stops sticking. */
.gnh.gnh-chrome { display: contents; }
.gnh-chrome .gnh-head { font-family: var(--gn-ff-body); color: var(--gn-ink); }
.gnh-chrome .gnh-foot { font-family: var(--gn-ff-body); }

/* Hero without a photo box: one calm column */
.gnmk-home .gnmk-hero__inner.gnmk-hero__inner--solo { grid-template-columns: minmax(0, 1fr); }
.gnmk-home .gnmk-hero__inner--solo .gnmk-hero__copy { max-width: 820px; }

/* Price calculator block (pricing page) */
.gnmk-home .gnmk-calc-cta { padding: 72px 0; border-bottom: 1px solid var(--line); background: var(--cream-2); }
.gnmk-home .gnmk-calc-cta__btn { text-align: center; margin: 28px 0 0; }
@media (max-width: 600px) {
	.gnmk-home .gnmk-calc-cta { padding: 52px 0; }
	.gnmk-home .gnmk-calc-cta__btn .gnmk-btn { width: 100%; justify-content: center; }
}

/* Price links that replaced unconfirmed "from ₹…" figures */
.gnmk-home .gnmk-shapex__from a,
.gnmk-home .gnmk-tier__price a { color: var(--brass-2); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.gnmk-home .gnmk-tier__price a { font-size: 1rem; font-family: var(--ff-body, inherit); }

/* Phones: grids that pushed the page sideways */
@media (max-width: 700px) {
	.gnmk-home .gnmk-shapesx__grid { grid-template-columns: minmax(0, 1fr) !important; } /* inline 1fr 1fr on the area pages */
	.gnmk-home .gnmk-hardware__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.gnmk-home .gnmk-hardware figure { min-width: 0; }
	.gnmk-home .gnmk-hardware figure img { max-width: 100%; height: auto; }
	.gnmk-home { overflow-wrap: anywhere; }
}

/* Stats strip: some stats were removed (unconfirmed), so share the row evenly */
@media (min-width: 1000px) {
	.gnmk-home .gnmk-trust .gnmk-trust__inner { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
}

/* Article tables on phones: keep words whole in the first column */
@media (max-width: 700px) {
	.gnmk-home .gnmk-article td:first-child,
	.gnmk-home .gnmk-article th:first-child { min-width: 7.5em; overflow-wrap: normal; word-break: normal; hyphens: manual; }
}
