/*
Theme Name: GoodSuperhard
Theme URI: http://www.goodsuperhard.com/
Author: GoodSuperhard
Author URI: http://www.goodsuperhard.com/
Description: English corporate site theme for Henan Goodsuperhard Materials Co., Ltd. — PCD/PCBN superhard composites. Layout replicated from the bundled design system; company content and branding applied. No analytics or third-party tracking.
Version: 1.0.0
Requires at least: 5.9
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: goodsuperhard
Tags: one-column, custom-menu
*/

/* ----------------------------------------------------------------------
   Fallback views (blog posts, archives, search, 404) — palette and
   typography follow the bundled design system in css/default.css.
   ---------------------------------------------------------------------- */
.default-page-content {
	color: #6B6B6B;
	font-size: 16px;
	line-height: 1.75;
	max-width: 860px;
	padding: 1.5em 0 3em;
}
.default-page-content a {
	color: #DA2128;
	text-decoration: underline;
}
.default-page-content h2,
.default-page-content h3,
.default-page-content h4 {
	color: #151515;
	margin: 1.4em 0 0.5em;
}
.default-page-content img {
	max-width: 100%;
	height: auto;
}
.default-page-content blockquote {
	border-left: 3px solid #DA2128;
	margin: 1.5em 0;
	padding-left: 1.25em;
}
.default-page-content table {
	border-collapse: collapse;
	width: 100%;
}
.default-page-content table td,
.default-page-content table th {
	border: 1px solid #e3e3e3;
	padding: 0.6em 0.9em;
}
.gs-post-list {
	display: grid;
	gap: 1.5em;
	max-width: 860px;
	padding: 1em 0 2.5em;
}
.gs-post-card {
	background: #fff;
	border: 1px solid #ececec;
	padding: 1.6em 1.8em;
}
.gs-post-card__title {
	margin: 0 0 0.35em;
	font-size: 1.35em;
}
.gs-post-card__title a {
	color: #151515;
	text-decoration: none;
}
.gs-post-card__title a:hover {
	color: #DA2128;
}
.gs-post-card__meta {
	color: #9a9a9a;
	font-size: 0.85em;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}
.gs-post-card__excerpt {
	color: #6B6B6B;
	margin-top: 0.6em;
}
.gs-post-card__excerpt p {
	margin: 0;
}
.gs-pagination {
	padding: 0 0 3em;
}
.gs-pagination .page-numbers {
	color: #151515;
	display: inline-block;
	padding: 0.35em 0.75em;
	text-decoration: none;
}
.gs-pagination .page-numbers.current {
	background: #DA2128;
	color: #fff;
}
.gs-post-nav {
	display: flex;
	gap: 1.5em;
	justify-content: space-between;
	margin: 0 auto;
	max-width: 860px;
	padding: 0 1.2em 3em;
}
.gs-post-nav__item {
	flex: 1 1 0;
	min-width: 0;
}
.gs-post-nav__item--next {
	text-align: right;
}
.gs-post-nav__label {
	color: #9a9a9a;
	display: block;
	font-size: 0.78em;
	letter-spacing: 0.05em;
	margin-bottom: 0.35em;
	text-transform: uppercase;
}
.gs-post-nav__item a {
	color: #151515;
	font-weight: 700;
	text-decoration: none;
	word-break: break-word;
}
.gs-post-nav__item a:hover {
	color: #DA2128;
}
.gs-empty {
	color: #6B6B6B;
	padding: 1em 0 3em;
}

/* Keep the fixed site header clear of the WordPress admin bar. */
body.admin-bar .header {
	top: 32px;
}
@media (max-width: 782px) {
	body.admin-bar .header {
		top: 46px;
	}
}

/* ----------------------------------------------------------------------
   Footer: dark two-column layout — company contact block on the left
   (white logo, address lines, bare social glyphs) and the site nav to
   the right of centre (Contact / About Us / Products + series
   sub-links); centred copyright strip with the ICP number at the
   bottom. Stacks under 768px. Social URLs come from the Customizer.
   ---------------------------------------------------------------------- */
.footer {
	background-color: #3a3a3b;
	color: #fff;
}
.footer a {
	color: #fff;
	text-decoration: none;
}
.footer-main__inner {
	display: -ms-grid;
	display: grid;
	grid-template-columns: minmax(0, 620px) minmax(0, 1fr);
	gap: 2.4em;
	margin: 0 auto;
	max-width: 1680px;
	padding: 3.2em 3em 2.8em;
}
.footer-logo {
	display: inline-block;
}
.footer-logo img {
	height: 104px;
	width: auto;
}
.footer-info {
	max-width: 620px;
}
.footer-info p {
	color: #f2f2f2;
	font-size: 17px;
	line-height: 1.55;
	margin: 0 0 0.85em;
}
.footer-info__company {
	margin-top: 1.5em;
}
.footer-info__add {
	margin-bottom: 0;
}
.footer-info a:hover,
.footer-nav a:hover,
.footer-copyright a:hover {
	color: #DA2128;
}
/* Social glyphs: bare white icons, no circles (Customizer-driven). */
.footer-social {
	background: none;
	border: none;
	margin-top: 1.7em;
	padding: 0;
}
.footer-social__links {
	display: flex;
	flex-wrap: wrap;
	gap: 1.3em;
	padding: 0;
}
.footer-social__link {
	background: none;
	border-radius: 0;
	color: #fff;
	display: inline-flex;
	height: auto;
	padding: 0;
	transition: color 0.2s ease;
	width: auto;
}
.footer-social__link svg {
	height: 27px;
	width: 27px;
}
.footer-social__link:hover {
	background: none;
	color: #DA2128;
}
/* Nav column: offset to sit right of centre, per the mockup. */
.footer-nav {
	margin-left: 38%;
	padding-top: 0.3em;
}
.footer-nav__group {
	margin-bottom: 1.5em;
}
.footer-nav__link {
	font-size: 32px;
	font-weight: 400;
	line-height: 1.25;
}
.footer-nav__sub {
	list-style: none;
	margin: 0.9em 0 0;
	padding: 0;
}
.footer-nav__sub li {
	margin: 0 0 0.7em 1.1em;
}
.footer-nav__sub a {
	color: #f2f2f2;
	font-size: 17px;
	font-weight: 300;
}
/* Copyright strip */
.footer-copyright {
	border-top: 1px solid #5c5c5c;
	color: #e9e9e9;
	font-size: 14px;
	padding: 1.15em 1.5em;
	text-align: center;
}
.footer-copyright__icp {
	color: #e9e9e9;
	margin-left: 1.2em;
}
@media (max-width: 768px) {
	.footer-main__inner {
		grid-template-columns: 1fr;
		gap: 2em;
		padding: 2.4em 1.2em 2.2em;
	}
	.footer-logo img {
		height: 86px;
	}
	.footer-info p {
		font-size: 15px;
	}
	.footer-nav {
		margin-left: 0;
	}
	.footer-nav__group {
		margin-bottom: 1.2em;
	}
	.footer-nav__link {
		font-size: 26px;
	}
	.footer-nav__sub a {
		font-size: 15px;
	}
	.footer-copyright {
		font-size: 12px;
		padding: 1em;
	}
	.footer-copyright__icp {
		display: block;
		margin: 0.4em 0 0;
	}
}

/* ----------------------------------------------------------------------
   Floating announcement bar (quicklink) is replaced by the /news/ page
   — keep it out of every page.
   ---------------------------------------------------------------------- */
.quicklink {
	display: none !important;
}

/* ----------------------------------------------------------------------
   Cookie notice removed entirely — the header must always sit flush
   with the viewport top (cookies.js offsets it by the notice height).
   ---------------------------------------------------------------------- */
.cookie-msg {
	display: none !important;
}
.header {
	margin-top: 0 !important;
}

/* ----------------------------------------------------------------------
   Site header: the template's dynamic skin is kept — over the hero
   (.header--at-top, applied by main.js at load while scrollTop == 0)
   the bar is transparent with white nav; as soon as the page scrolls
   in either direction it turns white (scroll-up toggles .header--bg,
   scroll-down only toggles .header-up, so the white skin is repeated
   for .header-up below). The red brand logo stays red in every state.
   The bar is taller than the template's 76px for the square artwork
   (110px desktop / 84px mobile), the logo sits tight to the left edge
   and the four nav items are pushed to the right, per the client
   mockup.
   ---------------------------------------------------------------------- */
.header.header-up {
	background-color: #fff !important; /* scroll-down never gets .header--bg — white skin here */
	top: 0 !important; /* and pin it: the template tucks the bar at -76px */
}
.header,
.header .header__wrapper {
	height: 110px;
}
.header .header__wrapper {
	padding: 0.25em 1.125em;
}
.header .header__left {
	-ms-flex: 1 1 auto;
	flex: 1 1 auto;
	min-width: 0;
}
.logo.logo__header img {
	width: auto; /* beat the template's .logo img { width: 120px } cap */
	height: 98px;
}
.header .header__main-menu {
	margin-left: auto;
	padding-left: 0;
}
.header .header__main-menu .main-menu__menu-item {
	font-size: 16px;
	margin: 0.4em 1em;
}
.header .main-menu .menu-item__label {
	color: #58595b;
}
.header .menu-toggle__label {
	color: #151515;
}
.header .menu-toggle__bar {
	background-color: #151515;
}
/* Transparent-at-top state: white nav, CN link and toggle on the hero. */
.header.header--at-top .main-menu .menu-item__label,
.header.header--at-top .menu-toggle__label,
.header.header--at-top .header__cn-link {
	color: #fff;
}
.header.header--at-top .menu-toggle__bar {
	background-color: #fff;
}
/* Mobile foldout open: the panel is brand red (#D51317) — keep the
   toggle and CN link readable and mirror the template's white-logo
   treatment via a CSS filter (the red PNG can't be recolored else). */
html.foldout-open .header .menu-toggle__label {
	color: #fff;
}
html.foldout-open .header .menu-toggle__bar {
	background-color: #fff;
}
html.foldout-open .header__cn-link {
	color: #fff;
}
html.foldout-open .logo.logo__header img {
	filter: brightness(0) invert(1);
}
@media (min-width: 896px) {
	.header .header__main-menu .main-menu__menu-item {
		font-size: 19px;
		margin: 0.4em 1.2em;
	}
	/* Last item flush with the wrapper edge so the CN link's right edge
	   (also at the wrapper padding) lines up with "Contact". */
	.header .header__main-menu .main-menu__menu-item:last-child {
		margin-right: 0;
	}
}

/* CN link: switch to the Chinese site, pinned to the top-right corner
   above the nav row (.header__wrapper is the positioned ancestor). */
.header__cn-link {
	color: #58595b; /* explicit: .header inherits white from the template */
	font-size: 15px;
	letter-spacing: 0.5px;
	position: absolute;
	right: 1.125em;
	text-decoration: none;
	top: 10px;
	z-index: 2;
}
.header__cn-link:hover,
.header.header--at-top .header__cn-link:hover {
	color: #DA2128;
}

@media (max-width: 768px) {
	.header,
	.header .header__wrapper {
		height: 84px;
	}
	.logo.logo__header img {
		height: 64px;
	}
	.header__cn-link {
		font-size: 13px;
		right: 1em;
		top: 8px;
	}
}

/* ----------------------------------------------------------------------
   Page hero banner (.page-hero): short bg image under the fixed header
   — keeps the transparent-at-top header readable (full-viewport heroes
   retired). Shared by the About and Contact pages; height mirrors the
   footer content block. About page continues below with breadcrumb +
   secondary nav + switched content panels (single page — panels are
   toggled by about-tabs.js through location.hash; only under the
   JS-added .about-layout--js class are the inactive panels hidden, so
   no-JS visitors simply read every section in order).
   ---------------------------------------------------------------------- */
.page-hero {
	background-position: center;
	background-size: cover;
	height: 440px; /* roughly the footer content block's height */
}
.page-hero__inner {
	-ms-flex-align: end;
	align-items: flex-end;
	box-sizing: border-box;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	height: 100%;
	margin: 0 auto;
	max-width: 1200px;
	padding: 0 2em 2.2em;
	width: 100%;
}
.page-hero__title {
	color: #fff;
	font-size: 40px;
	margin: 0;
}
.about-page {
	padding-bottom: 3em;
	padding-top: 2.6em;
}
.page-breadcrumb {
	color: #8a8a8a;
	font-size: 14px;
	margin: 0 auto 2.2em;
	max-width: 1200px;
}
.page-breadcrumb a {
	color: #8a8a8a;
	text-decoration: none;
}
.page-breadcrumb a:hover {
	color: #DA2128;
}
.page-breadcrumb__sep {
	margin: 0 0.6em;
}
.page-breadcrumb__current {
	color: #151515;
}
.about-layout {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-align: start;
	align-items: flex-start;
	gap: 3em;
	margin: 0 auto;
	max-width: 1200px;
}
.about-menu {
	-ms-flex: 0 0 220px;
	flex: 0 0 220px;
	border-right: 1px solid #e5e5e5;
	padding-right: 1.5em;
}
.about-menu__list {
	list-style: none;
	margin: 0;
	padding: 0;
}
.about-menu__item {
	margin: 0 0 0.4em;
}
.about-menu__link {
	color: #58595b;
	display: block;
	font-size: 17px;
	padding: 0.55em 0.9em;
	text-decoration: none;
	transition: color 0.15s ease, background-color 0.15s ease;
}
.about-menu__link:hover {
	color: #DA2128;
}
.about-menu__link.is-active {
	background: #DA2128;
	color: #fff;
}
.about-content {
	-ms-flex: 1 1 auto;
	flex: 1 1 auto;
	min-width: 0;
}
/* JS only: inactive panels hidden; without JS all render in order. */
.about-layout--js .about-panel {
	display: none;
}
.about-layout--js .about-panel.is-active {
	display: block;
}
.about-panel__title {
	color: #151515;
	font-size: 30px;
	margin: 0 0 1em;
}
.about-panel p {
	color: #333;
	font-size: 17px;
	line-height: 1.9;
	margin: 0 0 1.1em;
}
@media (max-width: 768px) {
	.page-hero {
		height: 280px;
	}
	.page-hero__inner {
		padding: 0 1.2em 1.4em;
	}
	.page-hero__title {
		font-size: 26px;
	}
	.about-page {
		padding-top: 2em;
	}
	.about-layout {
		-ms-flex-direction: column;
		flex-direction: column;
		gap: 1.6em;
	}
	.about-menu {
		-ms-flex: 0 0 auto;
		flex: 0 0 auto;
		border-right: 0;
		padding-right: 0;
		width: 100%;
	}
	.about-menu__list {
		display: flex;
		flex-wrap: wrap;
		gap: 0.4em 0.5em;
	}
	.about-menu__item {
		margin: 0;
	}
	.about-menu__link {
		background: #f2f2f2;
		border-radius: 3px;
		font-size: 15px;
		padding: 0.5em 0.9em;
	}
	.about-panel__title {
		font-size: 24px;
	}
	.about-panel p {
		font-size: 15px;
	}
}

/* ----------------------------------------------------------------------
   Contact page: breadcrumb, then the body comes from the WP page
   editor (.default-page-content styles apply).
   ---------------------------------------------------------------------- */
.contact-page {
	padding-bottom: 3em;
	padding-top: 2.6em;
}
/* Same 1200px centred box as the breadcrumb above, so their left
   edges line up; the editor content keeps its own 860px measure. */
.page-content-box {
	margin: 0 auto;
	max-width: 1200px;
}
.page-content-box .default-page-content {
	padding-top: 0;
}
@media (max-width: 768px) {
	.contact-page {
		padding-top: 2em;
	}
}

/* ----------------------------------------------------------------------
   Products page grid + product detail (2026-09-28 redesign): four
   product posts in a 2×2 grid (image left, text right); detail pages
   are single posts of the Products category — gallery left, intro and
   catalog download right, spec table (editor content) below.
   ---------------------------------------------------------------------- */
.product-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.6em;
	margin: 0 auto;
	max-width: 1200px;
}
.product-card {
	background: #fff;
	border: 1px solid #ececec;
	display: flex;
	overflow: hidden;
}
.product-card__img {
	-ms-flex: 0 0 45%;
	flex: 0 0 45%;
}
.product-card__img img,
.product-card__img .attachment-large {
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
}
.product-card__body {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 1.6em 1.7em;
}
.product-card__title {
	font-size: 21px;
	margin: 0 0 0.6em;
}
.product-card__title a {
	color: #151515;
	text-decoration: none;
}
.product-card__title a:hover {
	color: #DA2128;
}
.product-card__excerpt {
	color: #6b6b6b;
	font-size: 14.5px;
	line-height: 1.7;
	margin: 0 0 1.1em;
}
.product-card__more {
	color: #DA2128;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-decoration: none;
}
.product-card__more:hover {
	text-decoration: underline;
}
/* Detail page */
.product-detail {
	display: grid;
	grid-template-columns: minmax(0, 55%) minmax(0, 1fr);
	gap: 2.4em;
	margin: 0 auto;
	max-width: 1200px;
}
.product-gallery__main {
	border: 1px solid #ececec;
	position: relative;
}
.product-gallery__main img {
	display: block;
	height: auto;
	margin: 0 auto;
	max-height: 480px;
	max-width: 100%;
	object-fit: contain;
}
.product-gallery__arrow {
	align-items: center;
	background: rgba(255, 255, 255, 0.85);
	border: 1px solid #e3e3e3;
	color: #151515;
	cursor: pointer;
	display: flex;
	font-size: 26px;
	height: 40px;
	justify-content: center;
	line-height: 1;
	padding: 0;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 40px;
}
.product-gallery__arrow:hover {
	color: #DA2128;
}
.product-gallery__arrow--prev {
	left: 10px;
}
.product-gallery__arrow--next {
	right: 10px;
}
.product-gallery__thumbs {
	display: flex;
	gap: 0.6em;
	margin-top: 0.8em;
	overflow-x: auto;
}
.product-gallery__thumb {
	border: 2px solid transparent;
	cursor: pointer;
	height: 64px;
	object-fit: cover;
	width: 84px;
}
.product-gallery__thumb.is-active {
	border-color: #DA2128;
}
.product-summary {
	padding-top: 0.4em;
}
.product-summary__heading {
	color: #151515;
	font-size: 24px;
	margin: 0 0 0.8em;
}
.product-summary__text {
	color: #4a4a4a;
	font-size: 16px;
	line-height: 1.85;
	margin: 0 0 1.6em;
}
.product-summary__catalog {
	background: #DA2128;
	color: #fff;
	display: inline-block;
	font-size: 15px;
	padding: 0.7em 1.5em;
	text-decoration: none;
}
.product-summary__catalog:hover {
	background: #b81b20;
	color: #fff;
}
.product-specs {
	margin: 2.6em auto 0;
	max-width: 1200px;
	padding-top: 0;
}
.product-specs table {
	width: 100%;
}
@media (max-width: 768px) {
	.product-grid {
		grid-template-columns: 1fr;
	}
	.product-detail {
		grid-template-columns: 1fr;
		gap: 1.6em;
	}
	.product-card__body {
		padding: 1.2em 1.1em;
	}
}

/* ----------------------------------------------------------------------
   Homepage products block: mirrors the other homepage sections —
   full-viewport height, dark overlay over the photo (bg_product.jpg is
   a bright image, the bundled bg-home-*.jpg come pre-darkened), title
   left-aligned at the same 16em indent as the other block titles
   (.text-excerpt, >=1024px), and the four product cards below it.
   ---------------------------------------------------------------------- */
.home-products-section {
	background-position: center;
	background-size: cover;
	-js-display: flex;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-direction: column;
	flex-direction: column;
	-ms-flex-pack: end;
	justify-content: flex-end; /* content sits at the bottom like the other sections */
	min-height: 100vh;
	padding: 76px 0 2.5em;
	position: relative;
}
.home-products-section::before {
	background: rgba(0, 0, 0, 0.45);
	bottom: 0;
	content: "";
	left: 0;
	position: absolute;
	right: 0;
	top: 0;
}
.home-products-section__inner {
	padding: 0 2em;
	position: relative;
}
.home-products-section__title {
	color: #fff;
	font-size: 34px;
	margin: 0 0 1.6em;
	text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}
@media (min-width: 1024px) {
	.home-products-section__inner {
		padding: 0 16em; /* symmetric margins, same indent as the title */
	}
}
.home-product-grid {
	display: grid;
	gap: 1.4em;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin: 0;
}
/* The products block keeps the template's left-aligned title above the
   grid (same alignment as the other homepage sections). */
.home-product-card {
	background: #fff;
	border: 1px solid #ececec;
	display: block;
	text-decoration: none;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.home-product-card:hover {
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
	transform: translateY(-3px);
}
.home-product-card img {
	display: block;
	height: 200px;
	object-fit: cover;
	width: 100%;
}
.home-product-card h3 {
	color: #151515;
	font-size: 16.5px;
	margin: 0;
	padding: 0.9em 1em 1em;
	text-align: center;
}
.home-product-card:hover h3 {
	color: #DA2128;
}
@media (max-width: 1279px) {
	.home-product-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* ----------------------------------------------------------------------
   Homepage news block: white band with the News Center title, the
   latest post's image on the left and the four latest news items
   (date + title, corner triangle accent) on the right, per the client
   mockup. Each item links to its news detail.
   ---------------------------------------------------------------------- */
.home-news-section {
	background: #fff;
	padding: 4em 0 4.5em;
}
.home-news-section__inner {
	padding: 0 2em;
}
.home-news-section__title {
	color: #151515;
	font-size: 34px;
	margin: 0 0 1.6em;
}
.home-news-layout {
	display: grid;
	grid-template-columns: minmax(0, 55%) minmax(0, 1fr);
	gap: 2.4em;
	align-items: stretch;
}
.home-news-featured {
	display: block;
	overflow: hidden;
}
.home-news-featured img {
	display: block;
	height: 100%;
	max-height: 480px;
	object-fit: cover;
	width: 100%;
}
.home-news-list {
	list-style: none;
	margin: 0;
	padding: 0;
}
.home-news-item {
	border-bottom: 1px solid #e5e5e5;
	position: relative;
}
.home-news-item:last-child {
	border-bottom: 0;
}
.home-news-item::after {
	border-left: 20px solid transparent;
	border-top: 20px solid #DA2128;
	content: "";
	position: absolute;
	right: 0;
	top: 0;
}
.home-news-item a {
	color: inherit;
	display: block;
	padding: 1.3em 1.6em 1.3em 0.4em;
	text-decoration: none;
}
.home-news-item__date {
	color: #9a9a9a;
	display: block;
	font-size: 14px;
	font-style: italic;
	margin-bottom: 0.45em;
}
.home-news-item__title {
	color: #151515;
	display: block;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.5;
}
.home-news-item a:hover .home-news-item__title {
	color: #DA2128;
}
@media (max-width: 1279px) {
	.home-news-layout {
		grid-template-columns: 1fr;
		gap: 1.6em;
	}
}
@media (min-width: 1024px) {
	.home-news-section__inner {
		padding: 0 16em; /* symmetric margins, same indent as other titles */
	}
}
@media (max-width: 768px) {
	.home-news-section {
		padding: 2.6em 0 3em;
	}
	.home-news-section__title {
		font-size: 26px;
	}
	.home-news-featured img {
		max-height: 260px;
	}
}
@media (max-width: 600px) {
	.home-product-grid {
		grid-template-columns: 1fr;
	}
	.home-product-card img {
		height: 220px;
	}
	.home-products-section {
		padding: 2.6em 0 3em;
	}
	.home-products-section__title {
		font-size: 26px;
	}
}

/* ----------------------------------------------------------------------
   Applications page: case posts listed as image+text cards, grouped by
   the four child categories of Product Applications. Posts without a
   featured image fall back to default-img.jpg.
   ---------------------------------------------------------------------- */
.gs-app-grid {
	display: grid;
	gap: 1.5em;
	grid-template-columns: repeat(3, 1fr);
	margin-top: 1.4em;
}
.gs-app-card {
	background: #fff;
	border: 1px solid #ececec;
	display: flex;
	flex-direction: column;
}
.gs-app-card__img img {
	display: block;
	height: 200px;
	object-fit: cover;
	width: 100%;
}
.gs-app-card__body {
	display: flex;
	flex-direction: column;
	gap: 0.4em;
	padding: 1.1em 1.2em 1.3em;
}
.gs-app-card__date {
	color: #9a9a9a;
	font-size: 0.8em;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}
.gs-app-card__title {
	font-size: 1.05em;
	margin: 0;
}
.gs-app-card__title a {
	color: #151515;
	text-decoration: none;
}
.gs-app-card__title a:hover {
	color: #DA2128;
}
.gs-app-card__excerpt {
	color: #6B6B6B;
	font-size: 0.92em;
	margin: 0;
}
@media (max-width: 991px) {
	.gs-app-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media (max-width: 600px) {
	.gs-app-grid {
		grid-template-columns: 1fr;
	}
}

/* ----------------------------------------------------------------------
   Single post hero banner: compact (content-section--inter) with the
   products background image; white title over the photo.
   ---------------------------------------------------------------------- */
.gs-post-hero .text-excerpt h1 {
	color: #fff;
	text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}
.gs-post-hero .text-excerpt small {
	color: rgba(255, 255, 255, 0.85);
}

/* default.css only gives .content-layout--side-padding rules from 769px
   up — below that, page text sat flush against the viewport edge. */
@media (max-width: 768px) {
	.content-layout--side-padding {
		padding-left: 1.2em;
		padding-right: 1.2em;
	}
}

