/* FMCG site style: one look across the site (style guide approved 2026-11-17, fmcgis/docs/FMCG-style-guide.html).
   Colours: navy #151360 headings + main buttons · blue #067AC0 links/hover · green #82BC00 small accents only
            tint #F3F9F9 panels · line #E5E5E5 box borders · text #333 / #666.
   Buttons: navy pill (main action) or navy outline pill. Boxes: square 1px grey box, soft shadow on hover.
   NOT changed: header, menu, "Our Clients" band, footer, map, and the navy Product & Services icon tiles. */

/* ---------- Homepage boxes (page content, .fh-*) ---------- */
body .fh-card { border-radius: 0; border-color: #E5E5E5; transition: border-color .2s, box-shadow .2s; }
body a.fh-card:hover { transform: none; border-color: #D6DCE2; box-shadow: 0 6px 18px rgba(21, 19, 96, .10); }
body a.fh-card strong { transition: color .2s; }
body a.fh-card:hover strong { color: #067AC0; }
body .fh-card--accent { border-left: 3px solid #82BC00; }
body .fh-card-media { border-bottom-color: #EEF0F2; }
body .fh-card-body b { color: #666; font-size: 11px; font-weight: 600; letter-spacing: .04em; }
body .fh-card-body strong { font-family: 'Montserrat', sans-serif; font-weight: 700; color: #151360; }
/* closing "Not sure which test…" panel: tinted panel, not another card */
body .fh-cta .fh-card { background: #F3F9F9; border: 0; border-radius: 0; }
body .fh-cta .fh-card:hover { box-shadow: none; }
body .fh-arrow { border-color: #E5E5E5; }
body .fh-arrow:hover:not(:disabled) { border-color: #151360; background: #fff; }

/* ---------- Buttons ---------- */
body .fh-btn,
body .nf-form-cont .submit-wrap input[type="button"],
body .nf-form-cont .submit-wrap input[type="submit"] {
	display: inline-block;
	padding: 12px 26px;
	border: 2px solid #151360;
	border-radius: 30px;
	background: #151360;
	color: #fff !important;
	font-family: 'Montserrat', sans-serif;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: .02em;
	text-transform: uppercase;
	text-decoration: none !important;
	cursor: pointer;
	box-shadow: none;
	transition: background .2s, border-color .2s;
}
body .fh-btn:hover,
body .nf-form-cont .submit-wrap input[type="button"]:hover,
body .nf-form-cont .submit-wrap input[type="submit"]:hover { background: #067AC0; border-color: #067AC0; color: #fff !important; }

/* ---------- News list (blog / archives) ---------- */
body .post .titlebar h2.storytitle,
body .post .titlebar h2.storytitle a {
	font-family: 'Montserrat', sans-serif;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.35;
	text-transform: none;
	letter-spacing: 0;
	color: #151360;
	text-decoration: none;
}
body .post .titlebar h2.storytitle a:hover { color: #067AC0; }
body .post .post-meta .eb-post-author,
body .post .post-meta .eb-post-category,
body .post .post-meta .eb-post-date i { display: none; }
body .post .post-meta .eb-post-date { font-size: 13px; color: #666; padding: 0; margin: 0; }
body .post .postdetail a.button {
	display: inline;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none !important;
	box-shadow: none;
	color: #067AC0 !important;
	font-family: 'Open Sans', sans-serif;
	font-size: 15px;
	font-weight: 600;
	text-transform: none;
	letter-spacing: 0;
}
body .post .postdetail a.button::after { content: " \2192"; }
body .post .postdetail a.button:hover { text-decoration: underline; }

/* ---------- News list (templates/news.php) ---------- */
.fpl-news { padding: 6px 0 50px; }
.fpl-news h1 { margin: 0 0 26px; }
.fpl-news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 30px; }
.fpl-news-card { display: block; color: inherit !important; text-decoration: none !important; }
.fpl-news-img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #F3F9F9; margin-bottom: 16px; border: 1px solid #EEF0F2; }
.fpl-news-img img { display: block; width: 100% !important; height: 100% !important; max-width: none !important; object-fit: cover; transition: opacity .2s; }
.fpl-news-card:hover .fpl-news-img img { opacity: .88; }
.fpl-news-ph { display: flex !important; align-items: center; justify-content: center; width: 100%; height: 100%; }
.fpl-news-ph img { width: auto !important; height: 46% !important; object-fit: contain; opacity: .9; }
.fpl-news-date { display: block; font: 700 11px 'Montserrat', sans-serif; letter-spacing: .06em; text-transform: uppercase; color: #666; }
.fpl-news-title { display: block; margin: 4px 0 6px; font: 700 18px/1.35 'Montserrat', sans-serif; color: #151360; transition: color .2s; }
.fpl-news-card:hover .fpl-news-title { color: #067AC0; }
.fpl-news-ex { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-size: 15px; line-height: 1.6; color: #555; }
.fpl-news-pages { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 44px 0 0; }
.fpl-news-pages .page-numbers { padding: 8px 13px; border: 1px solid #E5E5E5; font: 700 14px 'Montserrat', sans-serif; color: #151360; text-decoration: none; }
.fpl-news-pages a.page-numbers:hover { color: #067AC0; border-color: #ccc; }
.fpl-news-pages .page-numbers.current { background: #151360; border-color: #151360; color: #fff; }
@media (max-width: 900px) { .fpl-news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 20px; } }
@media (max-width: 560px) { .fpl-news-grid { grid-template-columns: 1fr; } }

/* ---------- Contact form (Ninja Forms) ---------- */
body .nf-form-title h3 {
	font-family: 'Montserrat', sans-serif;
	font-size: 22px;
	font-weight: 700;
	text-transform: none;
	color: #151360;
}
body .nf-form-cont .nf-field-label label { font-size: 14px; font-weight: 600; color: #151360; }
body .nf-form-cont .nf-field-element input[type="text"],
body .nf-form-cont .nf-field-element input[type="email"],
body .nf-form-cont .nf-field-element input[type="tel"],
body .nf-form-cont .nf-field-element input[type="number"],
body .nf-form-cont .nf-field-element select,
body .nf-form-cont .nf-field-element textarea {
	background: #fff !important;
	border: 1px solid #ccc !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	padding: 10px 12px;
	font-family: 'Open Sans', sans-serif;
	font-size: 15px;
	color: #333;
}
body .nf-form-cont .nf-field-element input[type="text"],
body .nf-form-cont .nf-field-element input[type="email"],
body .nf-form-cont .nf-field-element input[type="tel"],
body .nf-form-cont .nf-field-element input[type="number"],
body .nf-form-cont .nf-field-element select { height: 46px; }
body .nf-form-cont .nf-field-element input:focus,
body .nf-form-cont .nf-field-element select:focus,
body .nf-form-cont .nf-field-element textarea:focus { outline: 2px solid #067AC0 !important; outline-offset: -1px; border-color: #067AC0 !important; }
