/* ============================================================================
   general.css - the global layer (every page)
   ----------------------------------------------------------------------------
     1. font faces - self-hosted variable woff2 (latin + latin-ext)
     2. :root tokens - the design's palette; hex lives here only
     3. element base - the export's own <style> block
     4. site wrapper - the export's page shell and its radial glow
     5. shared components - .ac-btn
     6. header (export nav, identical on every screen)
     7. footer (export footer, identical on every screen)
     8+ starter chrome: breadcrumbs, Gravity Forms, search, archive
   Values are the design's own (design.css of each screen), unchanged.
   ============================================================================ */

/* ------------------------------------------------------------------ 1. Fonts */
/* Variable fonts: one file covers every weight the design uses
   (Cormorant 300-500, Cormorant italic 300-400, Jost 300-500). */

@font-face {
	font-family: 'Cormorant Garamond';
	font-style: normal;
	font-weight: 300 500;
	font-display: swap;
	src: url('../fonts/cormorant-garamond-var.woff2') format('woff2');
}

@font-face {
	font-family: 'Cormorant Garamond';
	font-style: italic;
	font-weight: 300 400;
	font-display: swap;
	src: url('../fonts/cormorant-garamond-italic-var.woff2') format('woff2');
}

@font-face {
	font-family: 'Jost';
	font-style: normal;
	font-weight: 300 500;
	font-display: swap;
	src: url('../fonts/jost-var.woff2') format('woff2');
}

/* ----------------------------------------------------------------- 2. Tokens */

:root {
	/* structure - the design's container: 1320px, 48px gutters */
	--ac-container: 1320px;
	--ac-container-wide: 1440px;
	--ac-container-narrow: 800px;
	--ac-gutter: 48px;
	--ac-header-height: 96px;

	/* palette - every colour the design uses */
	--ac-bg: #0C150F;
	--ac-surface: #101B13;
	--ac-text: #EEF2E8;
	--ac-text-muted: #C7D2BE;
	--ac-text-soft: #D6DED0;
	--ac-text-dim: #8FA084;
	--ac-accent: #B7CDA3;
	--ac-accent-hover: #D3E3C2;
	--ac-line: rgba(238, 242, 232, 0.12);
	--ac-line-soft: rgba(238, 242, 232, 0.08);

	/* starter names, mapped onto the palette (breadcrumbs, forms, archive) */
	--ac-main: var(--ac-text);
	--ac-bg-alt: var(--ac-surface);
	--ac-border: var(--ac-line);
	--ac-focus: var(--ac-accent);
	--ac-radius: 999px;

	--ac-font-body: 'Jost', system-ui, sans-serif;
	--ac-font-heading: 'Cormorant Garamond', Georgia, serif;
}

/* ----------------------------------------------------------- 3. Element base */
/* The export's <style> block, verbatim. Headings and paragraphs carry their
   typography on the harvested classes; nothing else is set on elements. */

body {
	margin: 0;
	background: var(--ac-bg);
}

a {
	color: var(--ac-text);
	text-decoration: none;
}

a:hover {
	color: var(--ac-accent);
}

:focus-visible {
	outline: 2px solid var(--ac-focus);
	outline-offset: 3px;
}

.mosaic {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	grid-auto-rows: 260px;
	gap: 12px;
}

.m-wide {
	grid-column: span 2;
}

.m-tall {
	grid-row: span 2;
}

.post-card:hover h3 {
	color: var(--ac-accent);
}

@media (max-width: 820px) {
	.mosaic {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		grid-auto-rows: 200px;
	}
}

@media (max-width: 480px) {
	.mosaic {
		grid-template-columns: minmax(0, 1fr);
	}
	.m-wide {
		grid-column: auto;
	}
	.m-tall {
		grid-row: auto;
	}
}

/* ---------------------------------------------------------- 4. Site wrapper */
/* The export wraps every screen in one div (font, colour, background) with an
   absolutely positioned radial glow behind the content. */

.ac-site {
	font-family: var(--ac-font-body);
	color: var(--ac-text);
	background: var(--ac-bg);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	position: relative;
	overflow: hidden;
	overflow: clip; /* clip, not hidden: hidden would break the sticky header */
}

.ac-site__glow {
	position: absolute;
	inset: 0;
	background: radial-gradient(ellipse 60% 900px at 72% 0, rgba(45,78,52,0.5), transparent 70%), radial-gradient(ellipse 50% 900px at 15% 1400px, rgba(60,28,58,0.28), transparent 70%);
	pointer-events: none;
}

.ac-site--home .ac-site__glow {
	background: radial-gradient(ellipse 60% 22% at 72% 4%, rgba(45,78,52,0.55), transparent 70%), radial-gradient(ellipse 50% 18% at 18% 30%, rgba(60,28,58,0.32), transparent 70%), radial-gradient(ellipse 55% 16% at 85% 62%, rgba(45,78,52,0.35), transparent 70%);
}

.ac-site__inner {
	position: relative;
}

/* The export has no reset: inside the page shell, elements keep the browser
   defaults the design was drawn with (content-box sizing, inline img/svg).
   :where() keeps this at zero specificity, so every harvested class that sets
   box-sizing or display still wins; base.css stays untouched. */
:where(.ac-site) :where(*, *::before, *::after) {
	box-sizing: content-box;
}

:where(.ac-site) img,
:where(.ac-site) svg {
	display: inline;
}

:where(.ac-form-wrap, .ac-search, .ac-archive, .ac-404, .ac-page__inner) :where(*, *::before, *::after) {
	box-sizing: border-box;
}

/* ----------------------------------------------------- 5. Shared components */
/* The design's pill button (header phone and the CTA buttons). */

.ac-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	background: var(--ac-accent);
	color: var(--ac-bg);
	border: 1px solid var(--ac-accent);
	text-decoration: none;
	border-radius: 999px;
	font-weight: 500;
	font-size: 0.9375rem;
	box-sizing: border-box;
	padding: 12px 22px;
	min-height: 44px;
}

.ac-btn:hover {
	color: var(--ac-bg);
}

/* Hover for every accent-filled pill (.ac-btn and the harvested CTA classes
   that share its look). The global a:hover turns link text accent-green, which
   made the label vanish on the accent background - here the label stays dark,
   the fill brightens, a light sheen sweeps across and the pill lifts.
   The .ac-site prefix gives enough specificity to beat the screen stylesheets. */
.ac-site :is(.ac-btn:not(.ac-btn--ghost), .hp-shared-a-3, .post-shared-a-3, .about-shared-a-2, .contact-el-a, .prod-shared-a-5, .prods-shared-a-4, .prods-el-a) {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s ease, background-color 0.35s ease, border-color 0.35s ease;
}

.ac-site :is(.ac-btn:not(.ac-btn--ghost), .hp-shared-a-3, .post-shared-a-3, .about-shared-a-2, .contact-el-a, .prod-shared-a-5, .prods-shared-a-4, .prods-el-a)::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: -1;
	border-radius: inherit;
	background: linear-gradient(115deg, transparent 25%, rgba(255, 255, 255, 0.6) 48%, transparent 70%);
	transform: translateX(-120%);
	transition: transform 0.7s ease;
	pointer-events: none;
}

.ac-site :is(.ac-btn:not(.ac-btn--ghost), .hp-shared-a-3, .post-shared-a-3, .about-shared-a-2, .contact-el-a, .prod-shared-a-5, .prods-shared-a-4, .prods-el-a) svg {
	transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.ac-site :is(.ac-btn:not(.ac-btn--ghost), .hp-shared-a-3, .post-shared-a-3, .about-shared-a-2, .contact-el-a, .prod-shared-a-5, .prods-shared-a-4, .prods-el-a):is(:hover, :focus-visible) {
	color: var(--ac-bg);
	background-color: var(--ac-accent-hover);
	border-color: var(--ac-accent-hover);
	transform: translateY(-2px);
	box-shadow: 0 14px 30px -12px rgba(183, 205, 163, 0.6), 0 0 0 4px rgba(183, 205, 163, 0.14);
}

.ac-site :is(.ac-btn:not(.ac-btn--ghost), .hp-shared-a-3, .post-shared-a-3, .about-shared-a-2, .contact-el-a, .prod-shared-a-5, .prods-shared-a-4, .prods-el-a):is(:hover, :focus-visible)::before {
	transform: translateX(120%);
}

.ac-site :is(.ac-btn:not(.ac-btn--ghost), .hp-shared-a-3, .post-shared-a-3, .about-shared-a-2, .contact-el-a, .prod-shared-a-5, .prods-shared-a-4, .prods-el-a):is(:hover, :focus-visible) svg {
	transform: translateX(3px) rotate(-8deg);
}

.ac-site :is(.ac-btn:not(.ac-btn--ghost), .hp-shared-a-3, .post-shared-a-3, .about-shared-a-2, .contact-el-a, .prod-shared-a-5, .prods-shared-a-4, .prods-el-a):active {
	transform: translateY(0);
	box-shadow: 0 6px 16px -10px rgba(183, 205, 163, 0.6);
}

@media (prefers-reduced-motion: reduce) {
	.ac-site :is(.ac-btn, .hp-shared-a-3, .post-shared-a-3, .about-shared-a-2, .contact-el-a, .prod-shared-a-5, .prods-shared-a-4, .prods-el-a),
	.ac-site :is(.ac-btn, .hp-shared-a-3, .post-shared-a-3, .about-shared-a-2, .contact-el-a, .prod-shared-a-5, .prods-shared-a-4, .prods-el-a) svg {
		transform: none !important;
	}

	.ac-site :is(.ac-btn, .hp-shared-a-3, .post-shared-a-3, .about-shared-a-2, .contact-el-a, .prod-shared-a-5, .prods-shared-a-4, .prods-el-a)::before {
		display: none;
	}
}

.ac-btn--ghost {
	background: transparent;
	color: var(--ac-text);
	border-color: var(--ac-line);
}

/* ----------------------------------------------------------------- 6. Header */
/* Export nav: brand, five links, phone pill. Below 992px: burger menu,
   full-width phone bar on top, sticky header (see the media query below). */

.ac-nav-toggle {
	display: none;
}

.ac-header__nav {
	max-width: 1320px;
	margin: 0 auto;
	padding-left: 48px;
	padding-right: 48px;
	box-sizing: border-box;
	padding-top: 26px;
	padding-bottom: 26px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px 32px;
}

.ac-header__brand {
	font-family: var(--ac-font-heading);
	font-weight: 400;
	font-size: 1.625rem;
	letter-spacing: 0.03em;
	text-decoration: none;
	display: flex;
	align-items: center;
	gap: 12px;
}

.ac-header__brand svg {
	display: inline;
}

.ac-nav__list {
	display: flex;
	flex-wrap: wrap;
	gap: 30px;
	font-size: 0.8125rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	list-style: none;
}

.ac-nav__list a {
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	color: var(--ac-text-muted);
	min-height: 44px;
}

.ac-nav__list a:hover,
.ac-nav__list .current-menu-item > a,
.ac-nav__list .current_page_item > a,
.ac-nav__list .current-menu-ancestor > a,
.ac-nav__list .current_page_parent > a {
	color: var(--ac-accent);
}

/* Dropdown (Proizvodi). Desktop: opens on hover / keyboard focus, or with the
   chevron (touch). Mobile: accordion opened by the chevron (main.js -> .is-open). */
.ac-nav__list .menu-item-has-children {
	position: relative;
	display: flex;
	align-items: center;
	gap: 6px;
}

.ac-nav__list .sub-menu {
	display: none;
	list-style: none;
	margin: 0;
}

.ac-drop {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	padding: 0;
	background: transparent;
	border: 0;
	border-radius: 999px;
	color: var(--ac-text-muted);
	cursor: pointer;
}

.ac-drop::before {
	content: '';
	display: block;
	width: 7px;
	height: 7px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	/* A rotated square's visible "V" sits low; nudge it up to the optical centre. */
	transform: translateY(-2px) rotate(45deg);
	transition: transform 0.25s ease;
}

.ac-drop:hover,
.ac-drop[aria-expanded='true'] {
	color: var(--ac-accent);
}

.ac-drop[aria-expanded='true']::before {
	transform: translateY(2px) rotate(-135deg);
}

.ac-nav__list .sub-menu a {
	text-transform: none;
	letter-spacing: 0.01em;
	font-size: 0.9375rem;
}

@media (min-width: 992px) {
	.ac-nav__list .sub-menu {
		position: absolute;
		top: 100%;
		left: -22px;
		z-index: 120;
		min-width: 270px;
		padding: 10px 0;
		background: rgba(12, 21, 15, 0.97);
		-webkit-backdrop-filter: blur(14px);
		backdrop-filter: blur(14px);
		border: 1px solid var(--ac-line);
		border-radius: 14px;
		box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
	}

	/* Hover bridge so the pointer can travel from the parent to the panel. */
	.ac-nav__list .sub-menu::before {
		content: '';
		position: absolute;
		left: 0;
		right: 0;
		top: -12px;
		height: 12px;
	}

	.ac-nav__list .menu-item-has-children:hover > .sub-menu,
	.ac-nav__list .menu-item-has-children:focus-within > .sub-menu,
	.ac-nav__list .menu-item-has-children.is-open > .sub-menu {
		display: block;
	}

	.ac-nav__list .menu-item-has-children:hover > .ac-drop::before,
	.ac-nav__list .menu-item-has-children:focus-within > .ac-drop::before {
		transform: translateY(2px) rotate(-135deg);
	}

	.ac-nav__list .sub-menu a {
		display: flex;
		min-height: 40px;
		padding: 0 22px;
		white-space: nowrap;
	}

	.ac-nav__list .sub-menu a:hover {
		background: rgba(183, 205, 163, 0.06);
	}
}

@media (max-width: 991px) {
	.ac-header {
		position: sticky;
		top: 0;
		z-index: 100;
		background: rgba(12, 21, 15, 0.88);
		-webkit-backdrop-filter: blur(14px);
		backdrop-filter: blur(14px);
		border-bottom: 1px solid var(--ac-line-soft);
	}

	.admin-bar .ac-header {
		top: 32px;
	}

	.ac-header__nav {
		position: relative;
		flex-wrap: wrap;
		padding: 0 20px;
		gap: 0 16px;
	}

	/* Phone: full-width bar across the top of the sticky header. */
	.ac-site .ac-header__phone {
		order: -1;
		flex: 0 0 auto;
		width: calc(100% + 40px);
		margin: 0 -20px;
		border-radius: 0;
		border-width: 0;
		justify-content: center;
		min-height: 44px;
		padding: 10px 20px;
		letter-spacing: 0.04em;
	}

	.ac-site .ac-header__phone:is(:hover, :focus-visible) {
		transform: none;
		box-shadow: none;
	}

	.ac-header__brand {
		padding: 12px 0;
		font-size: 1.375rem;
	}

	.ac-nav-toggle {
		display: inline-flex;
		flex-direction: column;
		justify-content: center;
		gap: 5px;
		box-sizing: border-box;
		width: 46px;
		height: 46px;
		padding: 0 13px;
		background: transparent;
		border: 1px solid var(--ac-line);
		border-radius: 999px;
		cursor: pointer;
		transition: border-color 0.3s ease, background-color 0.3s ease;
	}

	.ac-nav-toggle:hover {
		border-color: var(--ac-accent);
	}

	.ac-nav-toggle__bar {
		display: block;
		height: 1.5px;
		width: 100%;
		background: var(--ac-text);
		border-radius: 2px;
		transition: transform 0.3s ease, opacity 0.2s ease;
	}

	.ac-nav-toggle[aria-expanded='true'] {
		border-color: var(--ac-accent);
		background: rgba(183, 205, 163, 0.08);
	}

	.ac-nav-toggle[aria-expanded='true'] .ac-nav-toggle__bar:nth-child(1) {
		transform: translateY(6.5px) rotate(45deg);
	}

	.ac-nav-toggle[aria-expanded='true'] .ac-nav-toggle__bar:nth-child(2) {
		opacity: 0;
	}

	.ac-nav-toggle[aria-expanded='true'] .ac-nav-toggle__bar:nth-child(3) {
		transform: translateY(-6.5px) rotate(-45deg);
	}

	/* Menu: drops down under the header. */
	.ac-nav__list {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		flex-direction: column;
		flex-wrap: nowrap;
		gap: 0;
		margin: 0;
		padding: 0 20px;
		/* Solid: the page text must not show through the (now longer) menu. */
		background: var(--ac-bg);
		border-bottom: 1px solid var(--ac-line-soft);
		max-height: 0;
		overflow: hidden;
		visibility: hidden;
		transition: max-height 0.4s ease, visibility 0.4s ease, padding 0.4s ease;
	}

	.nav-open .ac-nav__list {
		max-height: calc(100vh - 140px);
		max-height: calc(100dvh - 140px);
		overflow-y: auto;
		visibility: visible;
		padding-bottom: 12px;
	}

	.ac-nav__list li + li a {
		border-top: 1px solid var(--ac-line-soft);
	}

	.ac-nav__list a {
		display: flex;
		min-height: 52px;
		font-size: 0.875rem;
	}

	/* Parent row: link + chevron side by side, submenu wraps below. */
	.ac-nav__list .menu-item-has-children {
		flex-wrap: wrap;
		gap: 0;
		width: 100%;
		min-width: 0;
		box-sizing: border-box;
		border-top: 1px solid var(--ac-line-soft);
	}

	.ac-nav__list .menu-item-has-children > a {
		flex: 1 1 0;
		min-width: 0;
		border-top: 0;
	}

	.ac-nav__list .menu-item-has-children + li > a {
		border-top: 1px solid var(--ac-line-soft);
	}

	.ac-drop {
		width: 52px;
		height: 52px;
	}


	.ac-nav__list .sub-menu {
		flex: 0 0 100%;
		padding: 0 0 8px 16px;
	}

	.ac-nav__list .menu-item-has-children.is-open > .sub-menu {
		display: block;
	}

	.ac-nav__list .sub-menu li + li a,
	.ac-nav__list .sub-menu a {
		border-top: 0;
		min-height: 44px;
		color: var(--ac-text-muted);
	}

	body.nav-open {
		overflow: hidden;
	}
}

@media (max-width: 782px) {
	.admin-bar .ac-header {
		top: 46px;
	}
}

@media (max-width: 600px) {
	.admin-bar .ac-header {
		top: 0;
	}
}

/* ----------------------------------------------------------------- 7. Footer */

.ac-footer {
	border-top: 1px solid rgba(238,242,232,0.1);
}

.ac-footer__grid {
	max-width: 1320px;
	margin: 0 auto;
	padding-left: 48px;
	padding-right: 48px;
	box-sizing: border-box;
	padding-top: 72px;
	padding-bottom: 40px;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
	gap: 40px;
}

.ac-footer__col {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.ac-footer__col--brand {
	gap: 14px;
}

.ac-footer__brand {
	font-family: var(--ac-font-heading);
	font-size: 1.625rem;
	display: flex;
	align-items: center;
	gap: 12px;
}

.ac-footer__text {
	margin: 0;
	font-weight: 300;
	color: var(--ac-text-muted);
	font-size: 0.875rem;
}

.ac-footer__text--address {
	line-height: 1.6;
}

.ac-footer__label {
	font-size: 0.75rem;
	text-transform: uppercase;
	color: var(--ac-accent);
	letter-spacing: 0.2em;
}

.ac-footer__phone {
	font-family: var(--ac-font-heading);
	line-height: 1;
	font-size: 2rem;
	text-decoration: none;
}

.ac-footer__links {
	display: flex;
	flex-direction: column;
	gap: 4px;
	font-size: 0.875rem;
	font-weight: 300;
	list-style: none;
}

.ac-footer__links a {
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	min-height: 32px;
}

.ac-footer__bottom {
	max-width: 1320px;
	margin: 0 auto;
	padding-left: 48px;
	padding-right: 48px;
	box-sizing: border-box;
	padding-top: 20px;
	padding-bottom: 40px;
	border-top: 1px solid rgba(238,242,232,0.08);
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 12px;
	font-size: 0.75rem;
	color: var(--ac-text-dim);
}

/* ------------------------------------------------------------ 8. Breadcrumbs */

.ac-breadcrumbs {
	margin-bottom: 16px;
	font-size: 0.875rem;
	color: var(--ac-text-muted);
}

.ac-breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	list-style: none;
}

.ac-breadcrumbs li + li::before {
	content: '/';
	margin-right: 6px;
	opacity: 0.5;
}

.ac-breadcrumbs [aria-current] {
	color: var(--ac-text);
}

/* ---------------------------------------------------- 9. Gravity Forms wrapper */
/* GF's visual theme is dequeued (inc/gravity-forms.php). The form takes the
   design's values here; the section's form card carries only the container. */

.ac-form-wrap .gform_required_legend {
	display: none;
}

.ac-form-wrap .gfield_label {
	display: block;
	margin-bottom: 6px;
	font-weight: 600;
}

.ac-form-wrap input:not([type='submit']):not([type='checkbox']):not([type='radio']),
.ac-form-wrap select,
.ac-form-wrap textarea {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid var(--ac-border);
	border-radius: var(--ac-radius);
	background: var(--ac-bg);
	-webkit-appearance: none;
	appearance: none;
}

.ac-form-wrap input[type='date'] {
	min-height: 46px;
	line-height: 1.2;
}

.ac-form-wrap .gform_button,
.ac-form-wrap input[type='submit'] {
	display: inline-block;
	padding: 14px 28px;
	border: 0;
	border-radius: var(--ac-radius);
	background: var(--ac-accent);
	color: var(--ac-bg);
	font-weight: 700;
	cursor: pointer;
	transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.ac-form-wrap .gform_button:is(:hover, :focus-visible),
.ac-form-wrap input[type='submit']:is(:hover, :focus-visible) {
	color: var(--ac-bg);
	background: var(--ac-accent-hover);
	transform: translateY(-2px);
	box-shadow: 0 14px 30px -12px rgba(183, 205, 163, 0.6);
}

.ac-form-wrap .gfield_error input,
.ac-form-wrap .gfield_error select,
.ac-form-wrap .gfield_error textarea {
	border-color: var(--ac-accent);
}

.ac-form-wrap .validation_message,
.ac-form-wrap .gform_validation_errors {
	font-size: 0.875rem;
	color: var(--ac-accent);
}

/* ------------------------------------------------------------ 10. Search form */

.ac-search {
	display: flex;
	gap: 8px;
	max-width: 480px;
	margin-block: 24px;
}

.ac-search__input {
	flex: 1;
	padding: 12px 14px;
	border: 1px solid var(--ac-border);
	border-radius: var(--ac-radius);
}

/* ------------------------------------------- 11. Archive, cards, default page */
/* Theme chrome that no design screen covers; lives here so archives and the
   default page template work before any screen is harvested. */

.ac-archive {
	padding-block: 40px 64px;
}

.ac-archive__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 32px;
	margin-top: 32px;
}

.ac-card__img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: var(--ac-radius);
}

.ac-card__body {
	padding-top: 16px;
}

.ac-card__title {
	font-size: 1.25rem;
	margin-bottom: 8px;
}

.ac-card__meta {
	margin-top: 8px;
	font-size: 0.875rem;
	color: var(--ac-text-muted);
}

.ac-page__inner,
.ac-404 {
	padding-block: 40px 64px;
}

.ac-page__title {
	margin-bottom: 24px;
}

/* ------------------------------------------------- 12. Card image focus */
/* object-position steps the design uses on post card photos (blog, home,
   related posts). Chosen per post in Post add-ons > Card image focus. */

.ac-focus-35 { object-position: 50% 35%; }
.ac-focus-40 { object-position: 50% 40%; }
.ac-focus-45 { object-position: 50% 45%; }
.ac-focus-50 { object-position: 50% 50%; }
.ac-focus-55 { object-position: 50% 55%; }
.ac-focus-60 { object-position: 50% 60%; }

/* Product name linking to its own page (cards, in-post product box). */
.ac-card-link {
	color: inherit;
	text-decoration: none;
}

.ac-card-link:hover {
	color: inherit;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}
