/*
Theme Name: CargoPress Child - Manosim
Theme URI: https://www.manosim.ro/
Description: Child theme of CargoPress for Manosim: legible self-hosted fonts (Atkinson Hyperlegible Next + Barlow Semi Condensed, full Romanian diacritics), WCAG AA colors, compact mobile header. Keeps every parent setting.
Author: Manosim
Template: cargopress-pt
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cargopress-child-manosim
*/

/* ==========================================================================
   0. Fonts (self-hosted, SIL OFL 1.1, latin + latin-ext merged per weight:
      a ă â î ș ț and the cedilla forms ş ţ are all present)
   ========================================================================== */
@font-face {
	font-family: "Atkinson Hyperlegible Next";
	src: url("fonts/atkinson-hyperlegible-next-400.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Atkinson Hyperlegible Next";
	src: url("fonts/atkinson-hyperlegible-next-400-italic.woff2") format("woff2");
	font-weight: 400;
	font-style: italic;
	font-display: swap;
}
@font-face {
	font-family: "Atkinson Hyperlegible Next";
	src: url("fonts/atkinson-hyperlegible-next-700.woff2") format("woff2");
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Barlow Semi Condensed";
	src: url("fonts/barlow-semi-condensed-600.woff2") format("woff2");
	font-weight: 600;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Barlow Semi Condensed";
	src: url("fonts/barlow-semi-condensed-700.woff2") format("woff2");
	font-weight: 700 900;
	font-style: normal;
	font-display: swap;
}

/* ==========================================================================
   1. Tokens
   Contrast ratios are against the background they are used on (WCAG 2.x).
   ========================================================================== */
:root {
	--mn-navy: #1f425d;        /* brand navy (logo/nav);   white on it 10.52:1 */
	--mn-navy-deep: #162f42;   /* footer bottom;           white on it 13.82:1 */
	--mn-navy-ink: #0f2436;    /* cookie bar;              white on it 15.84:1 */
	--mn-red: #d71920;         /* buttons, accents;        white on it  5.19:1 */
	--mn-red-dark: #b8141b;    /* red text, hover;         on white     6.66:1 */
	--mn-ink: #26343f;         /* body text and headings;  on white    12.76:1 */
	--mn-muted: #4a5864;       /* secondary text;          on white     7.31:1, on surface 6.69:1 */
	--mn-on-navy: #c8d6e2;     /* text on navy;            on navy      7.10:1, on navy-deep 9.33:1 */
	--mn-surface: #f3f5f7;     /* light band background */
	--mn-tint: #e8eef3;        /* icon discs */
	--mn-line: #dbe2e8;        /* hairlines (decorative) */
	--mn-field: #7a8895;       /* form field borders;      on white     3.63:1 (UI >= 3:1) */
	--mn-focus: #ffbf47;       /* focus ring;              on navy      6.41:1, paired with a dark halo on white */

	--mn-font-body: "Atkinson Hyperlegible Next", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	--mn-font-head: "Barlow Semi Condensed", "Arial Narrow", "Roboto Condensed", Arial, sans-serif;

	--mn-radius: 10px;
	--mn-radius-sm: 6px;
	--mn-shadow: 0 1px 2px rgba(15, 36, 54, .06), 0 8px 24px -12px rgba(15, 36, 54, .25);
}

/* ==========================================================================
   2. Base typography
   ========================================================================== */
html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}

body,
.widget_pw_icon_box .icon-box__subtitle {
	font-family: var(--mn-font-body);
	font-size: 16px;
	line-height: 1.6;
	color: var(--mn-ink);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	font-kerning: normal;
}

@media (min-width: 768px) {
	body { font-size: 17px; }
}

.tooltip, .popover, .main-title__secondary, .header .icon-box__title, .brochure-box__text,
.widget_search, .widget_nav_menu ul .sub-menu > li > a, .footer .widget_nav_menu ul > li > a,
input, select, textarea, button {
	font-family: var(--mn-font-body);
}

h1, h2, h3, h4, h5, h6,
.navbar-toggle__text, .number-counter__number, .cargopress-table, .widget_calendar caption,
.widget_search .search-submit, .widget_nav_menu ul > li > a, .sidebar .widget_nav_menu ul > li > a,
.comment-content .comment-author, .skype-button__title {
	font-family: var(--mn-font-head);
}

h1, h2, h3, h4, h5, h6 {
	color: var(--mn-ink);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: 0;
	text-wrap: balance;
}
h1, h2, h3, h4, h5, h6,
.hentry__title, .hentry__title a, .page-box__title a {
	color: var(--mn-ink);
}

/* Scale: minor third from 17px */
h1 { font-size: 2.35rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.65rem; }
h4 { font-size: 1.35rem; font-weight: 600; }
h5 { font-size: 1.2rem;  font-weight: 600; }
h6 { font-size: 1.05rem; font-weight: 600; }

p, li, dd, dt { text-wrap: pretty; }

/* Readable measure for running text inside pages and posts */
.hentry__content p,
.hentry__content li,
.entry-content p,
.entry-content li {
	max-width: 70ch;
}

/* Parent sets 16px/1.7 on .hentry and 14px on widget/page-builder paragraphs */
.hentry {
	font-size: inherit;
	line-height: 1.6;
}
/* Parent forces 14px on widget/page-builder paragraphs */
.widget_black-studio-tinymce p,
.widget_text p,
.wpb_wrapper p,
.page-box__content {
	font-size: inherit;
}

strong, b { font-weight: 700; }

/* Links: parent cyan #4ab9cf was 2.3:1 on white */
a,
.latest-news--more-news::after,
.widget_pw_icon_box .icon-box:hover .fa {
	color: var(--mn-navy);
}
a:hover, a:focus {
	color: var(--mn-red-dark);
}
.hentry__content a:not(.btn),
.entry-content a:not(.btn),
.textwidget p a:not(.btn):not(.icon-container) {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: .18em;
}

/* Visible keyboard focus everywhere */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.btn:focus-visible,
[tabindex]:focus-visible {
	outline: 3px solid var(--mn-focus);
	outline-offset: 2px;
	box-shadow: 0 0 0 2px var(--mn-navy-ink);
}

::selection { background: var(--mn-navy); color: #fff; }

/* ==========================================================================
   3. Buttons
   ========================================================================== */
.btn {
	font-family: var(--mn-font-head);
	font-weight: 700;
	font-size: 17px;
	letter-spacing: .02em;
	height: auto;
	min-height: 48px;
	line-height: 1.2;
	padding: 13px 26px;
	border-radius: var(--mn-radius-sm);
	text-shadow: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	white-space: normal;
}
.btn-primary, .btn-info,
.widget_search .search-submit,
.pagination .current {
	background-color: var(--mn-red);
	border-color: var(--mn-red);
	color: #fff;
	text-shadow: none;
}
.btn-info:hover, .btn-info:focus, .btn-info:active, .btn-info.active,
.btn-primary:hover, .btn-primary:focus, .btn-primary:active, .btn-primary.active,
.widget_search .search-submit:hover, .widget_search .search-submit:focus {
	background-color: var(--mn-red-dark);
	border-color: var(--mn-red-dark);
	color: #fff;
}
input.btn, input[type="submit"].btn {
	display: inline-block;
	line-height: 22px;
}

/* ==========================================================================
   4. Top bar + header
   ========================================================================== */
.top,
.top-navigation .sub-menu > li > a {
	background-color: var(--mn-surface);
	border-bottom-color: var(--mn-line);
}
.top,
.top-navigation > li > a,
.top-navigation .sub-menu > li > a {
	color: var(--mn-muted);
	font-size: 14px;
}
.top-navigation > li > a:hover,
.top-navigation > li > a:focus {
	color: var(--mn-red-dark);
}

.header,
.header .icon-box__title {
	color: var(--mn-muted);
}
.header .icon-box__title {
	font-size: 14px;
}
.header .icon-box__subtitle {
	color: var(--mn-ink);
	font-size: 16px;
	font-weight: 700;
	white-space: nowrap;
}
.header .icon-box .fa,
.number-counter__icon {
	color: var(--mn-red);
}

/* Main navigation (desktop) */
.main-navigation > li > a {
	font-family: var(--mn-font-head);
	font-weight: 600;
	font-size: 18px;
	letter-spacing: .01em;
}
.main-navigation .sub-menu > li > a {
	font-family: var(--mn-font-body);
	font-size: 16px;
	font-weight: 400;
}
@media (min-width: 992px) {
	.main-navigation .sub-menu > li > a,
	.main-navigation .sub-menu .menu-item-has-children::after {
		color: var(--mn-ink);
	}
	.main-navigation .sub-menu > li > a:hover,
	.main-navigation .sub-menu > li > a:focus {
		color: var(--mn-red-dark);
		background-color: var(--mn-surface);
	}
	.main-navigation .sub-menu {
		box-shadow: var(--mn-shadow);
	}
	.header__navigation-widgets .social-icons__link {
		border-radius: var(--mn-radius-sm);
	}
}

.navbar-toggle {
	background-color: var(--mn-navy);
	border-radius: var(--mn-radius-sm);
	min-height: 48px;
	padding: 12px 16px;
}
.navbar-toggle:hover, .navbar-toggle:focus {
	background-color: var(--mn-navy-deep);
}
.navbar-toggle__text {
	font-size: 16px;
	letter-spacing: .04em;
}

/* ---- Compact mobile / tablet header (below the desktop breakpoint) ---- */
@media (max-width: 991px) {
	/* The tagline + the 3 top links repeat the main menu; the bar is hidden to give the screen to content. */
	.top { display: none; }

	.header__logo {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
		margin: 0;
		padding: 8px 0;
		border-bottom: 1px solid var(--mn-line);
	}
	.header__logo > a { display: block; line-height: 0; }
	.header__logo img {
		width: auto;
		height: 56px;
		max-width: 60vw;
		margin: 0;
		object-fit: contain;
	}
	.navbar-toggle {
		position: static;
		float: none;
		margin: 0;
		flex: 0 0 auto;
	}

	.header__widgets {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		justify-content: space-between;
		gap: 0 18px;
		padding: 6px 0 12px;
	}
	.header__widgets > .widget {
		margin: 0;
		padding: 0;
		border: 0;
		min-width: 0;
	}
	.header__widgets > .widget_text,
	.header__widgets > .widget:last-child:not(.widget-icon-box) {
		flex: 1 0 100%;
		margin-top: 6px;
	}
	.header .icon-box,
	.header .widget-icon-box:first-of-type .icon-box {
		display: flex;
		align-items: center;
		gap: 6px;
		min-height: 44px;
		margin: 0;
		padding: 0;
		border: 0;
		width: auto;
	}
	/* Labels ("Program", ...) stay for screen readers; the icons carry the meaning on screen. */
	.header .icon-box__title {
		position: absolute !important;
		width: 1px; height: 1px;
		margin: -1px; padding: 0;
		overflow: hidden;
		clip: rect(0 0 0 0);
		white-space: nowrap;
		border: 0;
	}
	.header .icon-box .fa { font-size: 16px; margin: 0; }
	.header .icon-box__subtitle { font-size: 15px; }
	.header__widgets .btn { width: 100%; }

	.header__navigation-widgets { display: none; }

	/* Opened mobile menu */
	.main-navigation > li > a {
		display: flex;
		align-items: center;
		min-height: 48px;
		padding-top: 10px;
		padding-bottom: 10px;
		font-size: 19px;
		color: var(--mn-ink);
	}
	.main-navigation > li:hover > a,
	.main-navigation > li:focus > a,
	.main-navigation .sub-menu > li > a:hover {
		color: var(--mn-red-dark);
	}
	.main-navigation .sub-menu > li > a {
		display: flex;
		align-items: center;
		min-height: 44px;
		color: var(--mn-muted);
		font-size: 17px;
	}
}

/* ==========================================================================
   5. Home slider (jumbotron)
   ========================================================================== */
.jumbotron-content__title h1 {
	font-family: var(--mn-font-head);
	font-weight: 700;
	letter-spacing: 0;
	line-height: 1.05;
	text-shadow: 0 2px 16px rgba(15, 36, 54, .45);
}
.jumbotron-content__description p {
	font-size: 18px;
	line-height: 1.5;
	text-shadow: 0 1px 10px rgba(15, 36, 54, .6);
}
@media (min-width: 992px) {
	.jumbotron-content__title h1 { font-size: 56px; }
	.jumbotron .item::after {
		/* A soft left-side shade keeps the white caption readable over bright photos. */
		content: "";
		position: absolute;
		inset: 0;
		background: linear-gradient(90deg, rgba(15, 36, 54, .62) 0%, rgba(15, 36, 54, .25) 45%, rgba(15, 36, 54, 0) 70%);
		pointer-events: none;
		z-index: 1;
	}
	.jumbotron-content { z-index: 2; }
}
@media (max-width: 991px) {
	.jumbotron-content { padding: 20px 0 24px; }
	.jumbotron-content__title h1 { font-size: 30px; margin-bottom: 8px; }
	.jumbotron-content__description p { font-size: 17px; margin: 0; }
}
.jumbotron__control {
	border-radius: var(--mn-radius-sm);
	min-width: 44px;
	min-height: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

/* ==========================================================================
   6. Page title band ("road" band: navy with a lane-marking edge)
   ========================================================================== */
.main-title {
	position: relative;
	background: var(--mn-navy-deep); /* one step deeper than the nav bar so the two read apart */
	background-image: none;
	padding: 48px 0 52px;
	margin-bottom: 0;
}
.main-title::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 14px;
	height: 4px;
	background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .85) 0 44px, transparent 44px 76px);
}
.main-title h1, .main-title h2,
.main-title .main-title__primary {
	color: #fff;
	font-size: 38px;
	font-weight: 700;
	line-height: 1.05;
	letter-spacing: 0;
	text-transform: none;
}
.main-title h3,
.main-title .main-title__secondary {
	color: var(--mn-on-navy);
	font-size: 18px;
	margin: 10px 0 0;
}
@media (min-width: 768px) {
	.main-title { padding: 64px 0 70px; }
	.main-title h1, .main-title h2, .main-title .main-title__primary { font-size: 52px; }
	.main-title h3, .main-title .main-title__secondary { font-size: 20px; }
}

/* Breadcrumbs */
.breadcrumbs {
	background-color: #fff;
	border-bottom: 1px solid var(--mn-line);
	font-size: 15px;
	color: var(--mn-muted);
	margin-bottom: 40px;
}
.breadcrumbs a { color: var(--mn-ink); }
.breadcrumbs a:hover, .breadcrumbs a:focus { color: var(--mn-red-dark); }
.breadcrumbs a::before, .breadcrumbs a::after { background-color: var(--mn-line); }
.main-title + .breadcrumbs { margin-top: 0; }
.breadcrumbs a {
	font-size: 15px;
	padding-top: 11px;
	padding-bottom: 11px;
}
.breadcrumbs a::before,
.breadcrumbs a::after { height: 33px; }
.breadcrumbs span > span { padding: 11px 0; }
@media (max-width: 479px) {
	.breadcrumbs a { padding-right: 22px; margin-right: 18px; }
}
@media (max-width: 767px) {
	.breadcrumbs { margin-bottom: 28px; }
}

/* ==========================================================================
   7. Section titles, featured pages, service cards (home)
   ========================================================================== */
.widget-title {
	color: var(--mn-ink);
}
.widget-title--big .widget-title {
	font-size: 34px;
	font-weight: 700;
	color: var(--mn-navy);
	letter-spacing: 0;
}
@media (min-width: 992px) {
	.widget-title--big .widget-title { font-size: 44px; }
}
.widget-title__line {
	border-bottom: 0;
	height: 3px;
	margin-top: -1px;
	background: repeating-linear-gradient(90deg, var(--mn-line) 0 28px, transparent 28px 46px);
}

/* Featured pages (three blocks under the slider, /servicii/) */
.page-box__picture {
	display: block;
	border-radius: var(--mn-radius);
	overflow: hidden;
	background: var(--mn-surface);
}
.page-box__picture img { display: block; width: 100%; height: auto; }
.page-box__title {
	font-size: 25px;
	line-height: 1.15;
	margin-top: 20px;
	margin-bottom: 12px;
}
.page-box__title.text-uppercase { letter-spacing: .005em; }
.page-box__title a { color: var(--mn-ink); display: inline-block; padding: 8px 0; }
.page-box__title a:hover, .page-box__title a:focus { color: var(--mn-red-dark); }
.page-box__content {
	font-size: 16px;
	line-height: 1.6;
	color: var(--mn-muted);
}
.read-more,
.page-box .read-more,
.widget_black-studio-tinymce .read-more,
.widget_text .read-more,
.wpb_wrapper .read-more {
	font-family: var(--mn-font-head);
	font-weight: 700;
	font-size: 17px;
	letter-spacing: .02em;
	color: var(--mn-red-dark);
	text-transform: none;
	display: inline-flex;
	align-items: center;
	min-height: 44px;
}
.read-more:hover, .read-more:focus { color: var(--mn-navy); text-decoration: underline; text-underline-offset: .2em; }

/* Service cards ("Serviciile noastre") */
.widget_pw_icon_box .icon-box {
	display: grid;
	grid-template-columns: 1fr auto;
	grid-template-areas: "title icon" "sub icon";
	align-items: center;
	column-gap: 16px;
	row-gap: 4px;
	min-height: 118px;
	padding: 20px 20px 20px 22px;
	background: #fff;
	border: 1px solid var(--mn-line);
	border-left: 4px solid var(--mn-navy);
	border-radius: var(--mn-radius);
	line-height: 1.35;
	box-shadow: none;
	transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.widget_pw_icon_box .icon-box:hover,
.widget_pw_icon_box .icon-box:focus-visible {
	border-color: var(--mn-line);
	border-left-color: var(--mn-red);
	border-bottom: 1px solid var(--mn-line);
	box-shadow: var(--mn-shadow);
	text-decoration: none;
}
.widget_pw_icon_box .icon-box__title {
	grid-area: title;
	align-self: end;
	margin: 0;
	font-family: var(--mn-font-head);
	font-weight: 700;
	font-size: 19px;
	line-height: 1.15;
	letter-spacing: .01em;
	color: var(--mn-ink);
}
.widget_pw_icon_box .icon-box__subtitle {
	grid-area: sub;
	align-self: start;
	font-size: 16px;
	line-height: 1.45;
	color: var(--mn-muted);
}
.widget_pw_icon_box .icon-box .fa {
	grid-area: icon;
	float: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	padding: 0;
	font-size: 26px;
	border-radius: 50%;
	background: var(--mn-tint);
	color: var(--mn-navy);
	transition: background-color .15s ease, color .15s ease;
}
.widget_pw_icon_box .icon-box:hover .fa,
.widget_pw_icon_box .icon-box:focus-visible .fa {
	background: var(--mn-red);
	color: #fff;
}
.widget_pw_icon_box { margin-bottom: 20px; }
@media (max-width: 767px) {
	.widget_pw_icon_box { margin-bottom: 12px; }
}

/* Call to action strip ("Nu ati gasit ce cautati ?") */
.call-to-action__text {
	font-family: var(--mn-font-head);
	font-weight: 600;
	font-size: 24px;
	color: var(--mn-ink);
	line-height: 1.2;
}

/* Latest news */
.latest-news--block,
.latest-news--inline,
.latest-news--more-news {
	border-radius: var(--mn-radius);
	overflow: hidden;
}
.latest-news__title {
	font-size: 19px;
	line-height: 1.2;
	font-weight: 700;
	text-transform: none;
	color: var(--mn-ink);
}
.latest-news__author { color: var(--mn-muted); font-size: 15px; }
.latest-news--more-news {
	font-family: var(--mn-font-head);
	font-weight: 700;
	font-size: 17px;
	text-transform: none;
	color: var(--mn-navy);
	min-height: 48px;
}
.latest-news__date { border-radius: 4px 4px 0 0; }
.latest-news__date,
.sticky .btn--post,
.main-navigation > .current-menu-item > a::after,
.main-navigation > li:hover > a::after,
.main-navigation > li:focus > a::after {
	background-color: var(--mn-red);
}
.latest-news__date::after { border-top-color: var(--mn-red-dark); }

/* Partners */
.logo-panel img {
	border-radius: var(--mn-radius-sm);
	border-bottom-color: var(--mn-line);
}
.logo-panel img:hover { border-bottom-color: var(--mn-navy); }

/* ==========================================================================
   8. Content pages
   ========================================================================== */
.hentry__content,
.panel-layout .textwidget {
	color: var(--mn-ink);
}
.hentry__content img,
.textwidget img.size-full,
.textwidget img.alignnone {
	border-radius: var(--mn-radius-sm);
}
.featured-widget {
	border-radius: var(--mn-radius);
	box-shadow: none;
	border: 1px solid var(--mn-line);
	background: #fff;
}
.featured-widget h3,
.widget-title {
	font-size: 28px;
}
.featured-widget p { color: var(--mn-ink); }

/* Opening hours widget */
.time-table h3 { font-size: 28px; color: var(--mn-ink); }
.time-table .week-day,
.time-table .week-day dt,
.time-table .week-day dd {
	color: var(--mn-muted);
	font-size: 16px;
}
.time-table .week-day.today,
.time-table .week-day.today dt,
.time-table .week-day.today dd {
	color: var(--mn-navy);
	font-weight: 700;
}

/* Photo gallery thumbnails (/flota-auto/) */
.gallery {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
	gap: 6px;
	margin: 0 0 24px;
}
.gallery::before, .gallery::after { display: none; }
.gallery .gallery-item {
	float: none;
	width: auto !important;
	max-width: none;
	margin: 0 !important;
	padding: 0;
}
.gallery .gallery-icon a {
	display: block;
	line-height: 0;
	border-radius: 4px;
	overflow: hidden;
}
.gallery .gallery-item img,
.gallery img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border: 0 !important;
	border-radius: 4px;
}
.gallery br { display: none; }
@media (min-width: 992px) {
	.gallery { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; }
}

/* Sidebar menus */
.sidebar .widget_nav_menu ul > li > a { color: var(--mn-ink); font-size: 17px; }
.sidebar .widget_nav_menu ul > li.current-menu-item a { background-color: var(--mn-navy); color: #fff; }

/* ==========================================================================
   9. Forms (Contact Form 7 and others)
   ========================================================================== */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="number"],
input[type="search"],
input[type="password"],
input[type="date"],
select,
textarea,
.wpcf7-form-control:not(.wpcf7-submit):not([type="checkbox"]):not([type="radio"]) {
	font-family: var(--mn-font-body);
	font-size: 17px; /* >= 16px stops iOS zoom on focus */
	line-height: 1.4;
	color: var(--mn-ink);
	background-color: #fff;
	border: 1px solid var(--mn-field);
	border-radius: var(--mn-radius-sm);
	min-height: 50px;
	padding: 12px 14px;
	box-shadow: none;
	transition: border-color .15s ease, box-shadow .15s ease;
}
textarea,
textarea.wpcf7-form-control { min-height: 160px; }
.wpcf7-select, .wpcf7-text, .wpcf7-number, .wpcf7-date, .wpcf7-textarea {
	margin-bottom: 0;
	width: 100%;
}
.wpcf7-textarea { height: 200px; }
input::placeholder,
textarea::placeholder {
	color: var(--mn-muted); /* 7.31:1 */
	opacity: 1;
}
input:focus,
select:focus,
textarea:focus,
.wpcf7-form-control:focus {
	border-color: var(--mn-navy);
	box-shadow: 0 0 0 3px rgba(31, 66, 93, .22);
	outline: none;
}
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
	outline: 3px solid var(--mn-focus);
	outline-offset: 1px;
}
.wpcf7-form .row > [class*="col-"] { margin-bottom: 16px; }
.wpcf7-form-control-wrap { display: block; }
.wpcf7-submit,
input.wpcf7-submit.btn {
	min-height: 52px;
	padding: 14px 32px;
	margin-top: 8px;
	font-size: 17px;
}
.wpcf7-not-valid-tip { color: var(--mn-red-dark); font-size: 15px; }
.wpcf7-not-valid { border-color: var(--mn-red-dark) !important; }
div.wpcf7-response-output {
	border-radius: var(--mn-radius-sm);
	padding: 12px 16px;
	margin: 16px 0 0;
	font-size: 16px;
}
div.wpcf7-validation-errors,
div.wpcf7-acceptance-missing { border-color: #b36b00; color: var(--mn-ink); background: #fff8e6; }
div.wpcf7-mail-sent-ok { border-color: #2e7d32; color: var(--mn-ink); background: #edf7ee; }
div.wpcf7-mail-sent-ng,
div.wpcf7-spam-blocked { border-color: var(--mn-red-dark); color: var(--mn-ink); background: #fdeeee; }
input[type="checkbox"], input[type="radio"] {
	width: 20px;
	height: 20px;
	accent-color: var(--mn-navy);
	vertical-align: -4px;
}

/* ==========================================================================
   10. Footer (+ company info block)
   ========================================================================== */
.footer-top,
.footer::before, .footer::after,
.footer-top::before, .footer-top::after {
	background-color: var(--mn-navy);
}
.footer-top,
.footer-top .textwidget,
.footer .widget_nav_menu ul > li > a {
	color: var(--mn-on-navy);
	font-size: 16px;
	line-height: 1.6;
}
.footer-top__headings,
.footer-top h1, .footer-top h2, .footer-top h3, .footer-top h4, .footer-top h5, .footer-top h6 {
	color: #fff;
	font-family: var(--mn-font-head);
	font-weight: 700;
	font-size: 22px;
	letter-spacing: 0;
}
.footer-top a:not(.icon-container):not(.btn) {
	color: #fff;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: .18em;
}
.footer-top a:not(.icon-container):not(.btn):hover,
.footer-top a:not(.icon-container):not(.btn):focus {
	color: var(--mn-on-navy);
}
.footer-top strong, .footer-top b { color: #fff; }
.footer-top address { font-style: normal; }
.footer-top a[href^="tel:"],
.footer-top a[href^="mailto:"] {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
}
/* Footer logo sits on navy: a white plate keeps the black "MANOSIM" lettering visible. */
.footer-top .textwidget img.wp-image-75247,
.footer-top .textwidget img[src*="Manosim_1"] {
	background: #fff;
	padding: 10px 14px;
	border-radius: var(--mn-radius-sm);
	box-sizing: content-box;
}
.footer .icon-container--square,
.footer .icon-container--circle {
	color: var(--mn-navy);
	background-color: #fff;
	border-radius: var(--mn-radius-sm);
	min-width: 44px;
	min-height: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.footer-bottom {
	background-color: var(--mn-navy-deep);
	color: var(--mn-on-navy); /* 9.33:1; parent #577186 was 2.71:1 */
	font-size: 15px;
}
.footer-bottom a { color: #fff; }
.footer-bottom a:hover, .footer-bottom a:focus { color: var(--mn-on-navy); }

/* Company data block added in the footer (any of these hooks) */
.manosim-company-info,
.footer-company,
.footer .company-info {
	color: var(--mn-on-navy);
	font-size: 15px;
	line-height: 1.6;
}
.manosim-company-info strong,
.footer-company strong,
.footer .company-info strong { color: #fff; }

/* ==========================================================================
   11. Sticky mobile call button (.manosim-call-btn)
   ========================================================================== */
.manosim-call-btn {
	position: fixed;
	right: 16px;
	bottom: 16px;
	z-index: 9990;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 52px;
	min-width: 52px;
	padding: 12px 20px;
	border-radius: 999px;
	background: var(--mn-red);
	color: #fff;
	font-family: var(--mn-font-head);
	font-weight: 700;
	font-size: 18px;
	line-height: 1;
	letter-spacing: .02em;
	text-decoration: none;
	box-shadow: 0 6px 20px -6px rgba(15, 36, 54, .55), 0 0 0 3px #fff;
}
.manosim-call-btn:hover,
.manosim-call-btn:focus {
	background: var(--mn-red-dark);
	color: #fff;
	text-decoration: none;
}
.manosim-call-btn .fa,
.manosim-call-btn svg { font-size: 20px; width: 20px; height: 20px; fill: currentColor; }
@media (min-width: 992px) {
	.manosim-call-btn { display: none; }
}
@media (max-width: 991px) {
	/* Room at the end of the page so the button never hides the footer text */
	.footer-bottom { padding-bottom: 84px; }
}

/* ==========================================================================
   12. Cookie notice (#cookie-notice): a floating card in the site style
   (owner 2026-09-25). The plugin prints an inline background and full-width
   bottom-bar CSS; both are overridden here. Close (X) is hidden: it only
   duplicated the accept button (same cookie).
   ========================================================================== */
#cookie-notice,
#cookie-notice.cn-position-bottom {
	left: 24px;
	right: auto;
	bottom: 24px;
	width: auto;
	min-width: 0;
	max-width: 440px;
	background-color: #fff !important;
	color: var(--mn-ink);
	font-family: var(--mn-font-body);
	border-top: 4px solid var(--mn-navy);
	border-radius: 8px;
	box-shadow: 0 12px 32px rgba(15, 36, 54, .28), 0 2px 6px rgba(15, 36, 54, .12);
	z-index: 9995;
	text-align: left;
}
#cookie-notice .cookie-notice-container {
	color: var(--mn-ink) !important;
	font-size: 15px;
	line-height: 1.55;
	padding: 18px 20px 16px;
	text-align: left;
}
#cookie-notice .cn-text-container {
	display: block;
	margin: 0 0 14px;
}
#cookie-notice .cn-buttons-container {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 18px;
}
#cookie-notice .cn-button,
#cookie-notice .cn-button.bootstrap,
#cookie-notice .cn-button.wp-default {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	min-width: 44px;
	padding: 10px 22px;
	margin: 0;
	font-family: var(--mn-font-head);
	font-weight: 700;
	font-size: 17px;
	letter-spacing: .02em;
	color: #fff;
	background: var(--mn-red);
	background-image: none;
	border: 0;
	border-radius: var(--mn-radius-sm);
	text-shadow: none;
	box-shadow: none;
}
#cookie-notice .cn-button:hover,
#cookie-notice .cn-button:focus {
	background: var(--mn-red-dark);
	color: #fff;
}
#cookie-notice .cn-button:focus-visible { outline: 3px solid var(--mn-focus); outline-offset: 2px; }
/* The policy link is a quiet text link, not a second big button. */
#cookie-notice .cn-more-info,
#cookie-notice .cn-more-info.bootstrap {
	background: transparent;
	color: var(--mn-navy);
	padding: 10px 2px;
	font-family: var(--mn-font-body);
	font-weight: 600;
	font-size: 15px;
	letter-spacing: 0;
	text-decoration: underline;
	text-underline-offset: 3px;
}
#cookie-notice .cn-more-info:hover,
#cookie-notice .cn-more-info:focus {
	background: transparent;
	color: var(--mn-navy-ink);
}
#cookie-notice .cn-close-icon { display: none; }

@media (max-width: 767px) {
	#cookie-notice,
	#cookie-notice.cn-position-bottom {
		left: 12px;
		right: 12px;
		bottom: 12px;
		max-width: none;
	}
	#cookie-notice .cookie-notice-container {
		font-size: 14.5px;
		padding: 16px 16px 12px;
	}
	#cookie-notice .cn-text-container { margin-bottom: 10px; }
	#cookie-notice .cn-buttons-container { flex-wrap: nowrap; gap: 14px; }
	#cookie-notice .cn-button,
	#cookie-notice .cn-button.bootstrap { padding: 10px 18px; white-space: nowrap; }
	#cookie-notice .cn-more-info,
	#cookie-notice .cn-more-info.bootstrap { padding: 10px 0; font-size: 14px; white-space: normal; text-align: left; }
}

/* ==========================================================================
   13. Lightbox caption font (replaces Yanone Kaffeesatz from Google)
   ========================================================================== */
body #slb_viewer_wrap .slb_theme_slb_default .slb_data_title,
body #slb_viewer_wrap .slb_theme_slb_default .slb_group_status {
	font-family: var(--mn-font-head);
	font-weight: 600;
	font-size: 20px;
}

/* ==========================================================================
   14. Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		/* "none", not a tiny duration: a 0.01ms duration turns the initial "transition-property: all"
		   into real transitions, and SiteOrigin measures its stretched rows mid-transition. */
		transition: none !important;
		scroll-behavior: auto !important;
	}
}

/* ==========================================================================
   SEO heading levels (seo agent). Elements that stopped being headings keep
   the exact look they had as headings. Rollback: delete this block together
   with part-jumbotron.php, part-main-title.php and inc/.
   ========================================================================== */
/* Slides 2..n: caption is a <p> (only slide 1 is the page h1). */
.jumbotron-content__title .manosim-slide-title {
	font-family: var(--mn-font-head);
	font-weight: 700;
	letter-spacing: 0;
	line-height: 1.05;
	text-wrap: balance;
	text-shadow: 0 2px 16px rgba(15, 36, 54, .45);
	font-size: 44px;
	margin-top: 0;
	margin-bottom: 15px;
}
@media (min-width: 992px) {
	.jumbotron-content__title .manosim-slide-title { font-size: 56px; }
}
@media (max-width: 991px) {
	.jumbotron-content__title .manosim-slide-title { font-size: 30px; margin-bottom: 8px; }
}
/* Page subtitle: <p> instead of <h3>. */
.main-title p.main-title__secondary {
	line-height: 1.15;
	text-wrap: balance;
}
/* Featured page card title: <h2> instead of <h5> (h5 weight kept). */
h2.page-box__title { font-weight: 600; }

/* Phones: the contact page lists four phone numbers, an e-mail and a map link one per line; at text height
   (~21px) a thumb easily dials the neighbouring number. Give each a ~44px tap area (Apple/Google guideline). */
@media (max-width: 767px) {
	.page-id-120 .hentry__content a[href^="tel:"],
	.page-id-120 .hentry__content a[href^="mailto:"],
	.page-id-120 .hentry__content a.manosim-map-link,
	.mo-route__back a {
		display: inline-block;
		padding: 11px 0;
		line-height: 22px;
	}
}

/* ==========================================================================
   15. Heading outline (functions.php): header box titles are <p>, footer
   column titles <h2>; same look as the former <h3>/<h6>.
   ========================================================================== */
p.icon-box__title { line-height: 1.15; }
