/*
Theme Name: FMCG Merchandise
Theme URI: https://example.com/fmcg-merchandise
Author: FMCG Merchandise
Description: Bilingual (Macedonian / English) business theme for FMCG Merchandise – merchandising, outsourced sales and point-of-sale services. Home page built from editable block sections, references slider, blog cards, contact and careers sections. Works with Polylang (languages) and Contact Form 7 (forms). After importing the demo content, run Appearance > FMCG Setup.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fmcg-merchandise
Tags: business, one-column, custom-logo, custom-menu, editor-style, featured-images, translation-ready, block-patterns, wide-blocks
*/

/* ==========================================================================
   1. Tokens
   ========================================================================== */
:root {
	--fmcg-orange: #e77817;
	--fmcg-orange-dark: #c9640c;
	--fmcg-navy: #183664;
	--fmcg-navy-dark: #10264a;
	--fmcg-text: #183664;
	--fmcg-muted: #5b6b85;
	--fmcg-light: #f4f5f7;
	--fmcg-footer: #e9e9e9;
	--fmcg-footer-bottom: #e2e2e2;
	--fmcg-white: #fff;
	--fmcg-container: 1200px;
	--fmcg-wide: 1440px;
	--fmcg-gutter: 24px;
	--fmcg-section: clamp(56px, 8vw, 110px);
	--fmcg-font: "Roboto", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
	--fmcg-radius-drop: 999px 0 999px 999px; /* square top-right corner */
	--fmcg-radius-badge: 999px 999px 0 999px; /* square bottom-right corner */
	--fmcg-header-h: 110px;
}

/* ==========================================================================
   2. Base
   ========================================================================== */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	font-family: var(--fmcg-font);
	font-size: 16px;
	line-height: 1.6;
	color: var(--fmcg-text);
	background: var(--fmcg-white);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

img, svg, video { max-width: 100%; height: auto; }

a { color: var(--fmcg-orange); text-decoration: none; transition: color .2s; }
a:hover, a:focus { color: var(--fmcg-orange-dark); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
	outline: 3px solid var(--fmcg-orange);
	outline-offset: 2px;
}

h1, h2, h3, h4, h5, h6 {
	margin: 0 0 .6em;
	font-weight: 700;
	line-height: 1.2;
	color: var(--fmcg-navy);
}
h1 { font-size: clamp(28px, 3.4vw, 42px); }
h2 { font-size: clamp(26px, 2.6vw, 36px); }
h3 { font-size: clamp(18px, 1.6vw, 22px); }
p { margin: 0 0 1.1em; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
.skip-link:focus {
	clip: auto; width: auto; height: auto; margin: 0;
	z-index: 1000; top: 10px; left: 10px;
	padding: 12px 18px; background: var(--fmcg-white); color: var(--fmcg-navy);
}

.fmcg-container {
	width: 100%;
	max-width: calc(var(--fmcg-container) + 2 * var(--fmcg-gutter));
	margin-inline: auto;
	padding-inline: var(--fmcg-gutter);
}

/* ==========================================================================
   3. Buttons
   ========================================================================== */
.fmcg-btn,
.wp-block-button__link,
.wpcf7-submit,
.fmcg-form button[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .5em;
	padding: 14px 34px;
	border: 0;
	border-radius: 26px 0 26px 26px;
	background: var(--fmcg-orange);
	color: var(--fmcg-white);
	font: 500 15px/1.2 var(--fmcg-font);
	text-transform: uppercase;
	letter-spacing: .03em;
	cursor: pointer;
	transition: background-color .2s, transform .2s;
}
.fmcg-btn:hover, .fmcg-btn:focus,
.wp-block-button__link:hover, .wp-block-button__link:focus,
.wpcf7-submit:hover, .fmcg-form button[type="submit"]:hover {
	background: var(--fmcg-orange-dark);
	color: var(--fmcg-white);
}
.wp-block-button.is-style-fmcg-navy .wp-block-button__link { background: var(--fmcg-navy); }
.wp-block-button.is-style-fmcg-navy .wp-block-button__link:hover { background: var(--fmcg-navy-dark); }
.wp-block-button.is-style-fmcg-white .wp-block-button__link { background: var(--fmcg-white); color: var(--fmcg-navy); }
.wp-block-button.is-style-outline .wp-block-button__link { background: transparent; color: var(--fmcg-orange); border: 2px solid currentColor; }

/* ==========================================================================
   4. Header
   ========================================================================== */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--fmcg-white);
	transition: background-color .3s, box-shadow .3s;
}
.admin-bar .site-header { top: 32px; }
.site-header.is-scrolled { box-shadow: 0 4px 24px rgba(24, 54, 100, .12); }

.fmcg-has-hero .site-header {
	position: fixed;
	left: 0; right: 0;
	background: transparent;
}
.fmcg-has-hero .site-header.is-scrolled { background: rgba(255, 255, 255, .97); }

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	max-width: calc(var(--fmcg-wide) + 2 * var(--fmcg-gutter));
	min-height: var(--fmcg-header-h);
	padding-block: 14px;
	transition: min-height .3s;
}
.is-scrolled .site-header__inner { min-height: 80px; }

.site-logo { display: inline-block; line-height: 0; }
.site-logo img { width: auto; max-height: 96px; transition: max-height .3s; }
.is-scrolled .site-logo--header img { max-height: 60px; }

.main-navigation { display: flex; align-items: center; gap: 28px; }
.main-navigation .menu {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 30px;
	margin: 0; padding: 0;
	list-style: none;
}
.main-navigation .menu > li { position: relative; }
.main-navigation .menu a {
	display: block;
	padding: 8px 0;
	color: var(--fmcg-navy);
	font-size: 14px;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: .02em;
}
.main-navigation .menu a:hover,
.main-navigation .menu .current-menu-item > a,
.main-navigation .menu .current-menu-ancestor > a,
.main-navigation .menu .current_page_item > a { color: var(--fmcg-orange); }

/* "menu-button" CSS class on a menu item = orange button */
.main-navigation .menu .menu-button > a {
	margin-left: 30px;
	padding: 13px 44px;
	border-radius: 26px 0 26px 26px;
	background: var(--fmcg-orange);
	color: var(--fmcg-white);
}
.main-navigation .menu .menu-button > a:hover,
.main-navigation .menu .menu-button.current-menu-item > a { background: var(--fmcg-orange-dark); color: var(--fmcg-white); }

/* Sub-menus */
.main-navigation .sub-menu {
	position: absolute;
	top: 100%; left: -16px;
	min-width: 220px;
	margin: 0; padding: 10px 0;
	list-style: none;
	background: var(--fmcg-white);
	box-shadow: 0 10px 30px rgba(24, 54, 100, .15);
	opacity: 0; visibility: hidden;
	transform: translateY(8px);
	transition: all .2s;
}
.main-navigation li:hover > .sub-menu,
.main-navigation li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.main-navigation .sub-menu a { padding: 8px 18px; text-transform: none; }

/* Language switcher */
.lang-switcher { display: flex; gap: 2px; margin: 0; padding: 0; list-style: none; }
.lang-switcher a {
	display: block;
	padding: 6px 8px;
	color: var(--fmcg-navy);
	font-size: 13px;
	font-weight: 700;
	border-radius: 4px;
}
.lang-switcher .is-current a { color: var(--fmcg-orange); }
.lang-switcher li + li::before { content: "|"; color: #b9c2d0; font-size: 12px; }
.lang-switcher li { display: flex; align-items: center; gap: 2px; }

/* Mobile toggle */
.nav-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 6px;
	width: 48px; height: 48px;
	padding: 12px;
	border: 0;
	border-radius: 24px 0 24px 24px;
	background: var(--fmcg-orange);
	cursor: pointer;
}
.nav-toggle__bar { display: block; height: 2px; background: var(--fmcg-white); transition: transform .25s, opacity .25s; }
.menu-open .nav-toggle__bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-open .nav-toggle__bar:nth-child(2) { opacity: 0; }
.menu-open .nav-toggle__bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 1100px) {
	.main-navigation .menu { gap: 6px 20px; }
	.main-navigation .menu .menu-button > a { margin-left: 0; padding-inline: 28px; }
}

@media (max-width: 960px) {
	:root { --fmcg-header-h: 84px; }
	.site-logo img { max-height: 64px; }
	.nav-toggle { display: flex; position: relative; z-index: 2; }
	.main-navigation {
		position: fixed;
		inset: 0;
		z-index: 1;
		flex-direction: column;
		justify-content: center;
		gap: 28px;
		padding: 100px 32px 40px;
		background: var(--fmcg-white);
		opacity: 0; visibility: hidden;
		transition: opacity .25s, visibility .25s;
		overflow-y: auto;
	}
	.menu-open .main-navigation { opacity: 1; visibility: visible; }
	.menu-open { overflow: hidden; }
	.main-navigation .menu { flex-direction: column; gap: 8px; text-align: center; }
	.main-navigation .menu a { font-size: 18px; }
	.main-navigation .menu .menu-button > a { margin-top: 10px; }
	.main-navigation .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding: 0; }
	.site-branding { position: relative; z-index: 2; }
}
@media (max-width: 782px) {
	.admin-bar .site-header { top: 46px; }
}
@media (max-width: 600px) {
	.admin-bar .site-header { top: 0; }
}

/* ==========================================================================
   5. Content layout (blocks)
   ========================================================================== */
.fmcg-content > * {
	max-width: calc(var(--fmcg-container) + 2 * var(--fmcg-gutter));
	margin-inline: auto;
	padding-inline: var(--fmcg-gutter);
}
.fmcg-content > .alignwide { max-width: calc(var(--fmcg-wide) + 2 * var(--fmcg-gutter)); }
.fmcg-content > .alignfull { max-width: none; padding-inline: 0; }
.fmcg-content > p:first-child,
.fmcg-content > .wp-block-heading:first-child { margin-top: var(--fmcg-section); }
.fmcg-content > :last-child:not(.alignfull):not(.fmcg-section) { margin-bottom: var(--fmcg-section); }
.fmcg-content--narrow > * { max-width: 820px; padding-inline: 0; }
.fmcg-content .wp-block-image img { height: auto; }
.fmcg-content figure { margin-block: 0 1.5em; }

/* Generic section */
.fmcg-section { padding-block: var(--fmcg-section); }
.fmcg-content > .fmcg-section,
.fmcg-content > .wp-block-group { margin-block: 0; }
.fmcg-section.alignfull > * { padding-inline: var(--fmcg-gutter); }
.fmcg-section .is-layout-constrained > *,
.fmcg-section.is-layout-constrained > * { max-width: var(--fmcg-container); margin-inline: auto; }

.wp-block-heading.is-style-fmcg-section-title,
.fmcg-section-title {
	margin-bottom: clamp(32px, 4vw, 60px);
	color: var(--fmcg-orange);
	font-size: clamp(26px, 2.6vw, 36px);
	text-align: center;
	text-transform: uppercase;
}

/* Columns base */
.fmcg-content .wp-block-columns { gap: clamp(24px, 4vw, 64px); margin-bottom: 0; }

/* Orange band & navy box group styles */
.is-style-fmcg-orange-band,
.fmcg-orange { background: var(--fmcg-orange); color: var(--fmcg-white); }
.is-style-fmcg-orange-band :is(h1, h2, h3, h4),
.fmcg-orange :is(h1, h2, h3, h4) { color: var(--fmcg-white); }
.is-style-fmcg-navy-box { background: var(--fmcg-navy); color: var(--fmcg-white); padding: clamp(28px, 4vw, 56px); }
.is-style-fmcg-navy-box :is(h1, h2, h3, h4) { color: var(--fmcg-white); }

/* ==========================================================================
   6. Hero (Cover block with class fmcg-hero)
   ========================================================================== */
.wp-block-cover.fmcg-hero {
	min-height: clamp(520px, 78vh, 760px) !important;
	padding: calc(var(--fmcg-header-h) + 40px) var(--fmcg-gutter) 80px;
}
.fmcg-hero .wp-block-cover__inner-container { max-width: 1100px; margin-inline: auto; text-align: center; color: var(--fmcg-navy); }
.fmcg-hero h1, .fmcg-hero .wp-block-heading {
	margin-bottom: 22px;
	color: var(--fmcg-navy);
	font-size: clamp(28px, 3.3vw, 44px);
	text-transform: uppercase;
	letter-spacing: .01em;
}
.fmcg-hero p { max-width: 900px; margin-inline: auto; font-size: clamp(16px, 1.3vw, 19px); color: var(--fmcg-navy); }
.fmcg-hero .wp-block-buttons { justify-content: center; margin-top: 28px; }

/* Inner page banner */
.page-banner {
	position: relative;
	padding: clamp(70px, 10vw, 130px) 0 clamp(50px, 7vw, 90px);
	background-color: var(--fmcg-light);
	background-size: cover;
	background-position: center;
	text-align: center;
}
.page-banner::before { content: ""; position: absolute; inset: 0; background: rgba(255, 255, 255, .78); }
.page-banner__inner { position: relative; }
.page-banner__title { margin: 0; color: var(--fmcg-navy); text-transform: uppercase; }
.page-banner__subtitle { max-width: 760px; margin: 14px auto 0; font-size: 18px; }
.page-banner__subtitle .post-meta { justify-content: center; margin: 0; }

/* ==========================================================================
   7. Services
   ========================================================================== */
.fmcg-services .fmcg-split { align-items: center; margin-bottom: clamp(40px, 6vw, 80px); }
.fmcg-services .fmcg-split:last-child { margin-bottom: 0; }
.fmcg-services .fmcg-split h3,
.fmcg-subtitle {
	color: var(--fmcg-orange);
	font-size: clamp(16px, 1.3vw, 19px);
	text-transform: uppercase;
	margin-bottom: 1.3em;
}
.fmcg-split .wp-block-image { margin: 0; }
.fmcg-split .wp-block-image img { width: 100%; }

/* List style: check marks */
ul.is-style-fmcg-check,
.is-style-fmcg-check { list-style: none; margin: 0; padding: 0; }
.is-style-fmcg-check > li {
	position: relative;
	min-height: 34px;
	margin-bottom: 1.2em;
	padding-left: 50px;
	text-align: justify;
	line-height: 1.5;
}
.is-style-fmcg-check > li::before {
	content: "";
	position: absolute;
	left: 0; top: 50%;
	width: 32px; height: 32px;
	transform: translateY(-50%);
	background: url("assets/images/check.png") center / contain no-repeat;
}

/* Image styles */
.wp-block-image.is-style-fmcg-pill img { border-radius: 0 999px 999px 999px; object-fit: cover; }
.wp-block-image.is-style-fmcg-drop img { border-radius: var(--fmcg-radius-badge); object-fit: cover; aspect-ratio: 1; }

/* ==========================================================================
   8. Partner (navy panel + numbered list + image)
   ========================================================================== */
.fmcg-partner .fmcg-partner__grid { gap: 0 !important; align-items: stretch !important; }
@media (min-width: 782px) {
	.fmcg-partner__grid > .fmcg-partner__panel { flex: 0 0 45% !important; }
	.fmcg-partner__grid > .fmcg-partner__media { flex: 1 1 55% !important; }
}
.fmcg-partner__panel {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: clamp(32px, 5vw, 90px) clamp(24px, 4vw, 80px);
	background: var(--fmcg-navy);
	color: var(--fmcg-white);
}
.fmcg-partner__media { position: relative; min-height: 360px; }
.fmcg-partner__media .wp-block-image { position: absolute; inset: 0; margin: 0; }
.fmcg-partner__media .wp-block-image img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; }

ol.is-style-fmcg-numbered,
.is-style-fmcg-numbered { list-style: none; margin: 0; padding: 0; counter-reset: fmcg; }
.is-style-fmcg-numbered > li {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 52px;
	margin-bottom: clamp(24px, 3vw, 44px);
	padding-left: 80px;
	color: var(--fmcg-white);
	font-size: clamp(16px, 1.4vw, 20px);
	font-weight: 700;
	line-height: 1.3;
	text-transform: uppercase;
	counter-increment: fmcg;
}
.is-style-fmcg-numbered > li:last-child { margin-bottom: 0; }
.is-style-fmcg-numbered > li::before {
	content: counter(fmcg);
	position: absolute;
	left: 0; top: 50%;
	display: grid;
	place-items: center;
	width: 52px; height: 52px;
	transform: translateY(-50%);
	border-radius: var(--fmcg-radius-badge);
	background: var(--fmcg-white);
	color: var(--fmcg-orange);
	font-size: 22px;
}
/* On white background the badge is navy */
.fmcg-section:not(.fmcg-partner) .is-style-fmcg-numbered > li { color: var(--fmcg-navy); }
.fmcg-section:not(.fmcg-partner) .is-style-fmcg-numbered > li::before { background: var(--fmcg-navy); color: var(--fmcg-white); }

/* ==========================================================================
   9. About (orange band with feature icons)
   ========================================================================== */
.fmcg-about { background: var(--fmcg-orange); color: var(--fmcg-white); }
.fmcg-about :is(h2, h3) { color: var(--fmcg-white); text-transform: uppercase; }
.fmcg-about > .wp-block-columns { align-items: center; }
.fmcg-about p { text-align: justify; }
.fmcg-features {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(24px, 4vw, 48px) clamp(16px, 3vw, 40px);
	max-width: 520px;
	margin-inline: auto;
}
.fmcg-features > * { margin: 0 !important; max-width: none !important; }
.fmcg-feature { text-align: center; }
.fmcg-feature .wp-block-image { margin: 0 auto 16px; }
.fmcg-feature .wp-block-image img { width: 160px; max-width: 100%; }
.fmcg-feature p {
	margin: 0;
	text-align: center !important;
	font-size: clamp(14px, 1.2vw, 17px);
	font-weight: 700;
	text-transform: uppercase;
}

/* ==========================================================================
   10. References (testimonials slider)
   ========================================================================== */
.fmcg-testimonials {
	position: relative;
	display: flex;
	align-items: center;
	gap: 16px;
	max-width: 1200px;
	margin: 0 auto;
}
.fmcg-slider__viewport {
	flex: 1;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}
.fmcg-slider__viewport::-webkit-scrollbar { display: none; }
.fmcg-slider__track { display: flex; column-gap: 40px; }
.testimonial {
	flex: 0 0 calc(50% - 20px);
	display: flex;
	align-items: flex-start;
	gap: 28px;
	margin: 0;
	padding: 10px 20px;
	scroll-snap-align: start;
}
.testimonial__avatar { flex: 0 0 auto; width: 160px; line-height: 0; }
.testimonial__avatar img { width: 160px; height: 160px; object-fit: cover; border-radius: var(--fmcg-radius-badge); background: var(--fmcg-navy); }
.testimonial__quote { margin: 0 0 14px; padding: 0; border: 0; font-size: 17px; line-height: 1.45; color: var(--fmcg-navy); }
.testimonial__quote p { margin: 0 0 .6em; }
.testimonial__quote p:first-child::before { content: "\201C"; }
.testimonial__quote p:last-child::after { content: "\201D"; }
.testimonial__author cite { display: block; font-style: italic; font-weight: 500; }
.testimonial__role { display: block; font-size: 14px; color: var(--fmcg-muted); }
.fmcg-slider__btn {
	flex: 0 0 auto;
	display: grid;
	place-items: center;
	width: 48px; height: 48px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--fmcg-navy);
	cursor: pointer;
	transition: color .2s, opacity .2s;
}
.fmcg-slider__btn--next svg { transform: scaleX(-1); }
.fmcg-slider__btn:hover { color: var(--fmcg-orange); }
.fmcg-slider__btn:disabled { opacity: .3; cursor: default; }
.fmcg-testimonials.is-static .fmcg-slider__btn { visibility: hidden; }

@media (max-width: 900px) {
	.testimonial { flex-basis: 100%; }
}
@media (max-width: 560px) {
	.testimonial { flex-direction: column; align-items: center; text-align: center; padding: 0; }
	.testimonial__avatar, .testimonial__avatar img { width: 120px; height: 120px; }
	.fmcg-slider__btn { width: 36px; }
}

/* ==========================================================================
   11. Blog cards
   ========================================================================== */
.post-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(32px, 4vw, 56px) clamp(24px, 3vw, 52px);
	max-width: 1100px;
	margin: 0 auto;
}
.post-card { display: flex; flex-direction: column; }
.post-card__media { display: block; margin-bottom: 22px; overflow: hidden; line-height: 0; }
.post-card__media img { width: 100%; aspect-ratio: 660 / 460; object-fit: cover; transition: transform .5s; }
.post-card:hover .post-card__media img { transform: scale(1.04); }
.post-card__title { margin-bottom: 12px; font-size: 18px; text-transform: uppercase; }
.post-card__title a { color: var(--fmcg-navy); }
.post-card__title a:hover { color: var(--fmcg-orange); }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 14px; font-size: 13px; color: var(--fmcg-muted); }
.post-meta__sep { font-size: 10px; }
.post-card__excerpt { margin-bottom: 16px; font-size: 15px; line-height: 1.55; }
.read-more {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: auto;
	color: var(--fmcg-navy);
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
}
.read-more__arrow { color: var(--fmcg-orange); transition: transform .2s; }
.read-more:hover { color: var(--fmcg-orange); }
.read-more:hover .read-more__arrow { transform: translateX(4px); }

@media (max-width: 960px) { .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .post-grid { grid-template-columns: 1fr; } }

.fmcg-archive { padding-block: var(--fmcg-section); }
.nav-links { display: flex; justify-content: center; gap: 8px; margin-top: 56px; }
.nav-links .page-numbers {
	display: grid; place-items: center;
	min-width: 42px; height: 42px; padding: 0 10px;
	border-radius: 21px 0 21px 21px;
	background: var(--fmcg-light); color: var(--fmcg-navy); font-weight: 700;
}
.nav-links .page-numbers.current, .nav-links a.page-numbers:hover { background: var(--fmcg-orange); color: var(--fmcg-white); }

/* Single post */
.fmcg-single { padding-block: clamp(40px, 6vw, 80px); max-width: 920px; }
.fmcg-single__thumb { margin: 0 0 40px; line-height: 0; }
.fmcg-single__thumb img { width: 100%; max-height: 520px; object-fit: cover; }
.fmcg-single .fmcg-content > * { max-width: none; }
.fmcg-single__footer { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; }
.fmcg-single__footer a { padding: 6px 14px; border-radius: 16px 0 16px 16px; background: var(--fmcg-light); color: var(--fmcg-navy); font-size: 13px; }
.post-navigation { margin-top: 56px; padding-top: 32px; border-top: 1px solid #e3e6ec; }
.post-navigation .nav-links { justify-content: space-between; margin: 0; gap: 24px; }
.post-navigation .nav-links > div { max-width: 48%; }
.post-navigation .nav-next { text-align: right; margin-left: auto; }
.post-navigation .nav-label { display: block; font-size: 12px; text-transform: uppercase; color: var(--fmcg-muted); }
.post-navigation .nav-title { color: var(--fmcg-navy); font-weight: 700; }
.entry-content h2 { margin-top: 1.4em; font-size: clamp(22px, 2vw, 28px); }
.entry-content h3 { margin-top: 1.3em; }
.entry-content ul:not([class*="is-style"]), .entry-content ol:not([class*="is-style"]) { padding-left: 1.3em; }
.entry-content li { margin-bottom: .4em; }
.entry-content blockquote:not(.testimonial__quote) {
	margin: 2em 0;
	padding: 4px 0 4px 24px;
	border-left: 4px solid var(--fmcg-orange);
	font-size: 19px;
	font-style: italic;
}

/* ==========================================================================
   12. Careers band
   ========================================================================== */
.fmcg-careers { background: var(--fmcg-orange); color: var(--fmcg-white); }
.fmcg-careers h2 { color: var(--fmcg-white); text-transform: uppercase; }
.fmcg-careers > .wp-block-columns { align-items: center; }
.fmcg-careers p { font-size: clamp(16px, 1.3vw, 19px); }
.fmcg-careers .wp-block-buttons { margin-top: 30px; }
.fmcg-careers .wp-block-image { margin: 0; }

/* ==========================================================================
   13. Contact box + forms
   ========================================================================== */
.fmcg-contact__box {
	padding: clamp(32px, 4vw, 60px) clamp(24px, 3vw, 46px);
	background: var(--fmcg-navy);
	color: var(--fmcg-white);
}
.fmcg-contact__box > .wp-block-columns { gap: clamp(32px, 6vw, 96px); }
.fmcg-contact__box h2 { color: var(--fmcg-white); text-transform: uppercase; margin-top: 30px; }
.fmcg-contact__box p { font-weight: 300; text-align: justify; }
.fmcg-contact__box a { color: var(--fmcg-white); }
.fmcg-phone {
	display: flex;
	align-items: center;
	gap: 20px;
	margin-top: 40px;
	font-size: clamp(22px, 2.2vw, 30px);
	font-weight: 700 !important;
	text-align: left !important;
}
.fmcg-phone::before { content: ""; flex: 0 0 44px; height: 44px; background: var(--fmcg-orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25 11.4 11.4 0 0 0 3.6.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.57a1 1 0 0 1-.25 1z'/%3E%3C/svg%3E") center / 22px no-repeat; }
.fmcg-contact-details { margin-top: 8px; font-size: 15px; }

/* Shared form look: Contact Form 7 and the built-in form */
.fmcg-form__grid,
.wpcf7-form .fmcg-form-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 6px 16px;
}
.fmcg-form__field--full,
.wpcf7-form .fmcg-form-grid .full { grid-column: 1 / -1; }
.fmcg-form p, .wpcf7-form p { margin: 0 0 10px; }
.fmcg-form label,
.wpcf7-form label { display: block; font-size: 15px; font-weight: 700; color: inherit; }
.fmcg-form input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
.fmcg-form select,
.fmcg-form textarea,
.wpcf7-form input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
.wpcf7-form select,
.wpcf7-form textarea {
	display: block;
	width: 100%;
	margin-top: 6px;
	padding: 11px 12px;
	border: 1px solid #d3d9e3;
	border-radius: 0;
	background: var(--fmcg-white);
	color: var(--fmcg-navy);
	font: 400 15px/1.4 var(--fmcg-font);
}
.fmcg-form textarea, .wpcf7-form textarea { min-height: 110px; height: 110px; resize: vertical; }
.wpcf7-form input[type="file"] { padding: 8px; }
.fmcg-form__submit, .wpcf7-form .fmcg-submit { display: flex; justify-content: flex-end; align-items: center; gap: 12px; margin-top: 8px; }
.fmcg-form .fmcg-form__submit button,
.wpcf7-form .wpcf7-submit { min-width: 200px; border-radius: 0; letter-spacing: .12em; font-weight: 700; }
.wpcf7-spinner { margin: 0; }
.wpcf7-not-valid-tip { font-size: 13px; color: #ffb4a8; }
.wpcf7 form .wpcf7-response-output { margin: 16px 0 0; padding: 10px 14px; border-radius: 0; }
.fmcg-hp { position: absolute !important; left: -9999px !important; }
.fmcg-form__notice { padding: 12px 16px; font-weight: 500; }
.fmcg-form__notice--ok { background: #e7f6ea; color: #1d5b2b; }
.fmcg-form__notice--error { background: #fde8e4; color: #8a1f0f; }
/* Forms on white background */
.fmcg-section:not(.fmcg-contact) .fmcg-form label,
.fmcg-section:not(.fmcg-contact) .wpcf7-form label { color: var(--fmcg-navy); }

@media (max-width: 600px) {
	.fmcg-form__grid, .wpcf7-form .fmcg-form-grid { grid-template-columns: 1fr; }
	.fmcg-form .fmcg-form__submit button, .wpcf7-form .wpcf7-submit { width: 100%; }
}

/* ==========================================================================
   14. Footer
   ========================================================================== */
.site-footer { background: var(--fmcg-footer); color: var(--fmcg-navy); }
.site-footer__top-inner,
.site-footer__bottom-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 20px 40px;
	max-width: calc(var(--fmcg-wide) + 2 * var(--fmcg-gutter));
}
.site-footer__top { padding-block: 34px; border-bottom: 1px solid #d6d6d6; }
.site-logo--footer img { max-height: 78px; }
.footer-menu { display: flex; flex-wrap: wrap; gap: 8px 34px; margin: 0; padding: 0; list-style: none; }
.footer-menu a { color: #1f2a3c; font-size: 13px; text-transform: uppercase; }
.footer-menu a:hover { color: var(--fmcg-orange); }
.site-footer__bottom { padding-block: 18px; }
.site-footer__copyright { margin: 0; font-size: 13px; color: #1f2a3c; }
.social-links { display: flex; gap: 12px; margin: 0; padding: 0; list-style: none; }
.social-links a {
	display: grid;
	place-items: center;
	width: 40px; height: 40px;
	border-radius: var(--fmcg-radius-drop);
	background: var(--fmcg-orange);
	color: var(--fmcg-white);
	transition: background-color .2s, transform .2s;
}
.social-links a:hover { background: var(--fmcg-navy); color: var(--fmcg-white); transform: translateY(-2px); }

@media (max-width: 760px) {
	.site-footer__top-inner, .site-footer__bottom-inner { flex-direction: column; text-align: center; }
	.footer-menu { justify-content: center; gap: 8px 20px; }
}

/* ==========================================================================
   15. Responsive section tweaks
   ========================================================================== */
@media (max-width: 781px) {
	.fmcg-split--reverse { flex-direction: column-reverse; }
	.fmcg-partner__media { min-height: 420px; }
	.fmcg-about .fmcg-features { margin-bottom: 24px; }
	.fmcg-careers .wp-block-image { max-width: 420px; margin-inline: auto; }
	.fmcg-contact__box h2 { margin-top: 0; }
}

/* Misc WP classes */
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { display: block; margin-inline: auto; }
.wp-caption-text, figcaption { font-size: 13px; color: var(--fmcg-muted); }
.sticky .post-card__title::before { content: "★ "; color: var(--fmcg-orange); }
.bypostauthor { display: block; }
.search-form { display: flex; gap: 8px; max-width: 520px; margin: 0 auto 40px; }
.search-form label { flex: 1; }
.search-form .search-field { width: 100%; padding: 12px 14px; border: 1px solid #d3d9e3; font: inherit; }
.search-form .search-submit { padding: 12px 22px; border: 0; background: var(--fmcg-orange); color: #fff; font: inherit; cursor: pointer; }
.fmcg-404 { text-align: center; }
.fmcg-comments { padding-bottom: var(--fmcg-section); }
.fmcg-empty { text-align: center; color: var(--fmcg-muted); }

/* ==========================================================================
   16. Inner-page sections
   ========================================================================== */
.fmcg-light { background: var(--fmcg-light); }
.fmcg-cta { background: var(--fmcg-orange); color: var(--fmcg-white); text-align: center; }
.fmcg-cta h2 { color: var(--fmcg-white); text-transform: uppercase; }
.fmcg-cta p { max-width: 720px; margin-inline: auto; font-size: clamp(16px, 1.3vw, 19px); }
.fmcg-cta .wp-block-buttons { justify-content: center; margin-top: 26px; }
.fmcg-lead { max-width: 860px; margin: 0 auto 40px !important; font-size: clamp(16px, 1.3vw, 19px); text-align: center; }
.fmcg-mission .is-style-fmcg-check { max-width: 860px; margin-inline: auto; }
.fmcg-list-2col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; max-width: 860px !important; margin-inline: auto !important; }
.fmcg-steps { max-width: 860px !important; margin-inline: auto !important; }
.fmcg-steps > li { text-transform: none; font-weight: 400; font-size: 17px; }
.fmcg-steps > li strong { text-transform: uppercase; }
.fmcg-jobs .wp-block-columns { align-items: flex-start; }
.fmcg-apply .wpcf7, .fmcg-apply .fmcg-form { max-width: 860px; margin-inline: auto; }
@media (max-width: 600px) { .fmcg-list-2col { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
	.is-style-fmcg-check > li,
	.fmcg-about p,
	.fmcg-contact__box p { text-align: left; }
}
