/*
Theme Name: NeoBee
Theme URI: https://neobee.com/
Author: NeoBee
Description: Block theme for neobee.com: AI agents and business processes. Brand fonts Quicksand (Latin) and Rubik (Cyrillic), dark turquoise #004A54 and lemon yellow #FFF800. The Home, Business, Tech, Contact Us and Jobs pages are built in as templates and patterns.
Version: 1.0.0
Requires at least: 6.6
Tested up to: 7.1
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: neobee
*/

/* ==========================================================================
   Tokens
   Colors, fonts and sizes come from theme.json; these are helpers only.
   ========================================================================== */

:root {
	--neobee-lemon: var(--wp--preset--color--lemon, #FFF800);
	--neobee-ink: var(--wp--preset--color--ink, #00262B);
	--neobee-deep: var(--wp--preset--color--deep-teal, #004A54);
	--neobee-teal: var(--wp--preset--color--teal, #005A54);
	--neobee-sea: var(--wp--preset--color--sea, #008E82);
	--neobee-mist: var(--wp--preset--color--mist, #EEF5F4);
	--neobee-slate: var(--wp--preset--color--slate, #234246);
	--neobee-fog: var(--wp--preset--color--fog, #D3E6E3);
	--neobee-line: #BFD6D3;
	--neobee-pad: clamp(20px, 4vw, 40px);
	--neobee-marker: var(--neobee-deep);

	/* Brand hexagon outlines, used as CSS masks so they take any color. */
	--neobee-hex-sm: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 20'%3E%3Cpath d='M9 1.5 16.2 5.6v8.8L9 18.5l-7.2-4.1V5.6z' fill='none' stroke='%23000' stroke-width='2.2'/%3E%3C/svg%3E");
	--neobee-hex-md: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 23'%3E%3Cpath d='M10 1.5 18.2 6.25v10.5L10 21.5l-8.2-4.75V6.25z' fill='none' stroke='%23000' stroke-width='2.4'/%3E%3C/svg%3E");
	--neobee-hex-step: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 55'%3E%3Cpath d='M24 2 45.5 14.4v26.2L24 53 2.5 40.6V14.4z' fill='none' stroke='%23004A54' stroke-width='3'/%3E%3C/svg%3E");
	--neobee-arc: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 300' preserveAspectRatio='none'%3E%3Cpath d='M0 250C240 120 520 46 780 44c120-1 185 56 210 176' fill='none' stroke='%23FFF800' stroke-width='2' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E");
}

body {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

:where(a, button, input, textarea, select, summary):focus-visible {
	outline: 3px solid var(--neobee-sea);
	outline-offset: 3px;
}

h1, h2, h3 {
	text-wrap: balance;
}

p {
	text-wrap: pretty;
}

/* ==========================================================================
   Sections and dark context
   ========================================================================== */

.neobee-section {
	padding-top: clamp(64px, 8vw, 100px);
	padding-bottom: clamp(64px, 8vw, 100px);
	padding-left: var(--wp--style--root--padding-left, var(--neobee-pad));
	padding-right: var(--wp--style--root--padding-right, var(--neobee-pad));
}

.neobee-section.is-compact {
	padding-top: clamp(44px, 5vw, 60px);
	padding-bottom: clamp(44px, 5vw, 60px);
}

.neobee-section > .wp-block-heading + * {
	margin-block-start: 40px;
}

.neobee-section.is-compact > .wp-block-heading + * {
	margin-block-start: 24px;
}

:where(.neobee-section:not(.is-dark)) p {
	color: var(--neobee-slate);
}

.is-dark {
	--neobee-marker: var(--neobee-lemon);
	--neobee-line: rgba(255, 255, 255, 0.18);
}

.is-dark :is(h1, h2, h3, h4, h5, h6) {
	color: #FFFFFF;
}

:where(.is-dark) p {
	color: var(--neobee-fog);
}

.is-dark a:where(:not(.wp-element-button)) {
	color: #FFFFFF;
}

.neobee-measure {
	max-width: 46em;
}

.neobee-lead {
	font-size: var(--wp--preset--font-size--large);
	line-height: 1.55;
	max-width: 34em;
}

.neobee-small {
	font-size: 16px;
}

.neobee-textlink a {
	display: inline-block;
	padding: 10px 0;
	color: var(--neobee-lemon) !important;
	font-weight: 700;
	text-underline-offset: 5px;
}

.wp-block-heading.neobee-statement {
	font-size: clamp(32px, 3.8vw, 50px);
	line-height: 1.1;
}

.wp-block-heading.is-small {
	font-size: 23px;
	line-height: 1.25;
}

.wp-block-heading.is-medium {
	font-size: clamp(26px, 2.6vw, 34px);
	line-height: 1.15;
}

/* ==========================================================================
   Header and footer
   ========================================================================== */

.neobee-header {
	padding-top: 22px;
	padding-bottom: 22px;
	padding-left: var(--wp--style--root--padding-left, var(--neobee-pad));
	padding-right: var(--wp--style--root--padding-right, var(--neobee-pad));
}

.wp-block-group.neobee-header__bar {
	gap: 16px 32px;
	align-items: center;
}

.wp-block-group.neobee-header__actions {
	gap: 4px 28px;
	align-items: center;
}

a.neobee-logo {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	min-height: 44px;
	color: var(--neobee-lemon);
	text-decoration: none;
}

.neobee-logo svg {
	display: block;
	fill: currentColor;
}

.wp-block-navigation.neobee-nav {
	gap: 4px 28px;
}

.neobee-nav .wp-block-navigation-item__content {
	padding: 10px 0;
	text-decoration: none;
}

.neobee-nav .current-menu-item > .wp-block-navigation-item__content,
.neobee-nav .wp-block-navigation-item__content[aria-current="page"] {
	box-shadow: inset 0 -2px 0 var(--neobee-lemon);
}

.wp-block-buttons.neobee-header__cta {
	margin: 0;
}

.wp-block-button.neobee-btn-small .wp-block-button__link {
	padding: 12px 20px;
	font-size: 16px;
}

/* Light header (Jobs) */
.neobee-header.is-light {
	background: #FFFFFF;
	border-bottom: 1px solid #DCEBE9;
}

.neobee-header.is-light a.neobee-logo {
	color: var(--neobee-deep);
}

.neobee-header.is-light .neobee-nav .current-menu-item > .wp-block-navigation-item__content,
.neobee-header.is-light .neobee-nav .wp-block-navigation-item__content[aria-current="page"] {
	box-shadow: inset 0 -2px 0 var(--neobee-deep);
}

.neobee-header.is-light .wp-block-button__link {
	background: var(--neobee-deep);
	color: #FFFFFF;
}

.neobee-footer {
	padding-top: 56px;
	padding-bottom: 40px;
	padding-left: var(--wp--style--root--padding-left, var(--neobee-pad));
	padding-right: var(--wp--style--root--padding-right, var(--neobee-pad));
}

.wp-block-group.neobee-footer__top {
	gap: 32px;
	align-items: flex-start;
}

.wp-block-group.neobee-footer__brand > * {
	margin: 0;
}

.wp-block-group.neobee-footer__brand > * + * {
	margin-top: 12px;
}

.wp-block-group.neobee-footer__bottom {
	margin-top: 32px;
	padding-top: 24px;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	font-size: 14px;
	gap: 12px;
}

.neobee-footer__bottom p,
.neobee-footer__bottom a {
	margin: 0;
	color: #9FC0BC !important;
}

/* ==========================================================================
   Heroes
   ========================================================================== */

.neobee-top {
	position: relative;
}

.neobee-hero {
	position: relative;
	padding-top: clamp(40px, 6vw, 72px);
	padding-bottom: clamp(64px, 8vw, 112px);
	padding-left: var(--wp--style--root--padding-left, var(--neobee-pad));
	padding-right: var(--wp--style--root--padding-right, var(--neobee-pad));
}

.neobee-hero--inner {
	padding-top: clamp(36px, 5vw, 64px);
	padding-bottom: clamp(48px, 6vw, 72px);
}

.neobee-hero--compact {
	padding-top: clamp(24px, 4vw, 48px);
	padding-bottom: clamp(40px, 5vw, 64px);
}

.neobee-hero .wp-block-column h1 {
	max-width: 13.5em;
}

.neobee-hero--inner h1 {
	max-width: 680px;
	font-size: clamp(40px, 4.8vw, 62px);
}

.neobee-hero--inner .neobee-lead {
	max-width: 640px;
}

.neobee-kicker {
	margin: 0;
	font-size: 18px;
	font-weight: 600;
	color: var(--neobee-lemon) !important;
}

.neobee-hero .wp-block-columns {
	gap: 56px;
}

/* Thin yellow arc from the brand template, top right of inner heroes. */
.neobee-arc {
	overflow: hidden;
}

.neobee-arc::after {
	content: "";
	position: absolute;
	right: 0;
	top: 110px;
	width: 42%;
	height: 240px;
	background: var(--neobee-arc) center / 100% 100% no-repeat;
	pointer-events: none;
}

.neobee-arc > * {
	position: relative;
	z-index: 1;
}

/* Example process card in the home hero. */
.neobee-process {
	margin: 0;
	padding: 32px;
	background: rgba(0, 38, 43, 0.72);
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 8px;
	color: #FFFFFF;
}

.neobee-process figcaption {
	margin: 0 0 24px;
	font-size: 14px;
	color: #B9D3D0;
}

.neobee-process ol {
	margin: 0;
	padding: 0;
	list-style: none;
}

.neobee-process li {
	position: relative;
	display: flex;
	gap: 18px;
	align-items: flex-start;
}

.neobee-process li + li {
	margin-top: 26px;
}

.neobee-process li + li::before {
	content: "";
	position: absolute;
	left: 21px;
	top: -26px;
	width: 2px;
	height: 26px;
	background: rgba(255, 255, 255, 0.4);
}

.neobee-process__node {
	position: relative;
	flex: 0 0 44px;
	height: 50px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
	font-weight: 700;
	color: var(--neobee-ink);
}

.neobee-process__node svg {
	position: absolute;
	inset: 0;
}

.neobee-process__node b {
	position: relative;
}

.neobee-process__text {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding-top: 4px;
}

.neobee-process__text strong {
	font-size: 18px;
	color: #FFFFFF;
}

.neobee-process .is-agent strong {
	color: var(--neobee-lemon);
}

.neobee-process__text span {
	font-size: 15px;
	line-height: 1.5;
	color: #B9D3D0;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.wp-block-button.is-style-neobee-outline-light .wp-block-button__link {
	background: transparent;
	color: #FFFFFF;
	box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.7);
}

.wp-block-button.is-style-neobee-dark .wp-block-button__link {
	background: var(--neobee-deep);
	color: #FFFFFF;
}

.wp-block-buttons.neobee-pills {
	gap: 8px;
	margin-top: 16px;
}

.wp-block-button.is-style-neobee-pill .wp-block-button__link {
	padding: 11px 16px;
	background: transparent;
	color: #FFFFFF;
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 22px;
	font-size: 15px;
	font-weight: 600;
}

/* ==========================================================================
   Lists
   ========================================================================== */

.wp-block-list.is-style-neobee-hex {
	display: grid;
	gap: 10px;
	padding-left: 0;
	list-style: none;
}

.wp-block-list.is-style-neobee-hex > li {
	position: relative;
	margin: 0;
	padding-left: 32px;
}

.wp-block-list.is-style-neobee-hex > li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.3em;
	width: 18px;
	height: 20px;
	background-color: var(--neobee-marker);
	-webkit-mask: var(--neobee-hex-sm) center / contain no-repeat;
	mask: var(--neobee-hex-sm) center / contain no-repeat;
}

.is-dark .wp-block-list.is-style-neobee-hex > li {
	color: #FFFFFF;
}

.neobee-proof {
	max-width: 40em;
	font-size: 18px;
}

.wp-block-list.is-style-neobee-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	padding: 0;
	list-style: none;
}

.wp-block-list.is-style-neobee-chips > li {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	margin: 0;
	padding: 0 18px;
	box-sizing: border-box;
	background: #FFFFFF;
	border: 1.5px solid var(--neobee-deep);
	border-radius: 22px;
	font-weight: 600;
	color: var(--neobee-deep);
}

/* ==========================================================================
   Items with the hexagon node rule (hex + connector line from the logo)
   ========================================================================== */

.wp-block-group.neobee-grid {
	gap: 40px 32px;
}

.wp-block-group.neobee-grid.is-dense {
	gap: 24px 40px;
}

.wp-block-group.neobee-item {
	position: relative;
	padding-top: 37px;
}

.wp-block-group.neobee-item > * {
	margin: 0;
}

.wp-block-group.neobee-item > * + * {
	margin-top: 12px;
}

.neobee-item::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 23px;
	background: linear-gradient(var(--neobee-marker), var(--neobee-marker)) 20px 50% / calc(100% - 20px) 2px no-repeat;
}

.neobee-item::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 20px;
	height: 23px;
	background-color: var(--neobee-marker);
	-webkit-mask: var(--neobee-hex-md) center / contain no-repeat;
	mask: var(--neobee-hex-md) center / contain no-repeat;
}

.wp-block-group.neobee-item.is-plain {
	padding-top: 14px;
}

.neobee-item.is-plain::before {
	height: 2px;
	background: var(--neobee-marker);
}

.neobee-item.is-plain::after {
	display: none;
}

.neobee-item h3 {
	font-size: 21px;
}

.neobee-item.is-plain h3,
.neobee-grid.is-dense .neobee-item h3 {
	font-size: 18px;
}

.neobee-item p {
	font-size: 16px;
}

.neobee-grid.is-dense .neobee-item p {
	font-size: 15px;
	line-height: 1.5;
}

/* ==========================================================================
   Numbered steps: a chain of hexagons ending in the logo's circle
   ========================================================================== */

.wp-block-columns.neobee-steps {
	column-gap: 0;
	row-gap: 40px;
}

.neobee-steps .wp-block-column > * {
	margin: 0;
}

.neobee-steps .wp-block-column > * + * {
	margin-top: 18px;
}

.neobee-steps .wp-block-column > :not(.neobee-step-num) {
	padding-right: 28px;
}

.neobee-step-num {
	display: grid;
	grid-template-columns: 48px 1fr;
	align-items: center;
	justify-items: center;
	height: 55px;
	font-size: 19px;
	font-weight: 700;
	color: var(--neobee-deep) !important;
	background: var(--neobee-hex-step) 0 50% / 48px 55px no-repeat;
}

.neobee-step-num::after {
	content: "";
	justify-self: stretch;
	height: 2px;
	background: currentColor;
}

.neobee-steps > .wp-block-column:last-child .neobee-step-num::after {
	justify-self: start;
	width: 82px;
	height: 18px;
	background:
		linear-gradient(currentColor, currentColor) 0 50% / 64px 2px no-repeat,
		radial-gradient(circle at 73px 50%, transparent 0 6px, currentColor 6.5px 8.5px, transparent 9px);
}

/* ==========================================================================
   Rows, definition lists, layers, panels
   ========================================================================== */

.wp-block-group.neobee-rows {
	border-bottom: 1px solid var(--neobee-line);
}

.wp-block-group.neobee-rows > * + * {
	margin-top: 0;
}

.wp-block-group.neobee-row {
	gap: 8px 48px;
	align-items: flex-start;
	padding: 28px 0;
	border-top: 1px solid var(--neobee-line);
}

.neobee-row > h3 {
	flex: 0 1 260px;
	margin: 0;
	font-size: 24px;
}

.neobee-row > p {
	flex: 1 1 420px;
	min-width: 0;
	max-width: 46em;
	margin: 0;
}

.wp-block-group.neobee-deflist {
	border-top: 1px solid var(--neobee-line);
}

.wp-block-group.neobee-deflist > * + * {
	margin-top: 0;
}

.wp-block-group.neobee-defrow {
	gap: 4px 32px;
	align-items: baseline;
	padding: 13px 0;
	border-bottom: 1px solid var(--neobee-line);
}

.neobee-defrow > p {
	margin: 0;
}

.neobee-term {
	flex: 0 0 260px;
	font-size: 17px;
	font-weight: 700;
	color: var(--neobee-deep);
}

.neobee-desc {
	flex: 1 1 520px;
	min-width: 0;
	font-size: 15px;
	line-height: 1.5;
}

.is-dark .neobee-term {
	color: var(--neobee-lemon);
}

.wp-block-group.neobee-layers {
	display: grid;
	gap: 4px;
}

.wp-block-group.neobee-layers > * {
	margin: 0;
}

.wp-block-group.neobee-layer {
	gap: 4px 32px;
	align-items: baseline;
	padding: 16px 24px;
	border-radius: 3px;
}

.neobee-layer > p {
	margin: 0;
}

.neobee-layer__name {
	flex: 0 0 300px;
	font-size: 17px;
	font-weight: 700;
	color: var(--neobee-ink);
}

.neobee-layer__num {
	display: inline-block;
	width: 32px;
}

.neobee-layer__desc {
	flex: 1 1 520px;
	min-width: 0;
	font-size: 15px;
	line-height: 1.5;
	color: var(--neobee-ink);
}

.neobee-layers > .neobee-layer:nth-child(1) { background: #EEF5F4; }
.neobee-layers > .neobee-layer:nth-child(2) { background: #DCEBE9; }
.neobee-layers > .neobee-layer:nth-child(3) { background: #BCD8D4; }
.neobee-layers > .neobee-layer:nth-child(4) { background: #005A54; }
.neobee-layers > .neobee-layer:nth-child(5) { background: #004A54; }
.neobee-layers > .neobee-layer:nth-child(6) { background: #00262B; }

.neobee-layers > .neobee-layer:nth-child(n+4) .neobee-layer__name {
	color: #FFFFFF;
}

.neobee-layers > .neobee-layer:nth-child(n+4) .neobee-layer__desc {
	color: var(--neobee-fog);
}

.wp-block-group.neobee-howto {
	gap: 16px 48px;
	align-items: flex-start;
	padding: 32px;
	border-radius: 4px;
}

.neobee-howto > h3 {
	flex: 0 1 220px;
	margin: 0;
	font-size: 22px;
}

.neobee-howto__body {
	flex: 1 1 520px;
	min-width: 0;
}

.wp-block-group.neobee-howto__body > * + * {
	margin-top: 14px;
}

.wp-block-group.neobee-panel {
	padding: 32px;
	border: 2px solid var(--neobee-lemon);
	border-radius: 4px;
}

.wp-block-group.neobee-panel > * + * {
	margin-top: 20px;
}

.wp-block-group.neobee-facts {
	gap: 16px 40px;
}

.wp-block-group.neobee-fact > * {
	margin: 0;
}

.neobee-fact__num {
	font-size: 34px;
	line-height: 1.1;
	font-weight: 700;
	color: var(--neobee-lemon) !important;
}

.neobee-fact__label {
	font-size: 15px;
}

.neobee-placeholder {
	display: flex;
	align-items: center;
	box-sizing: border-box;
	max-width: 720px;
	min-height: 96px;
	padding: 24px;
	border: 1.5px dashed #6F9894;
	border-radius: 6px;
	background: rgba(255, 255, 255, 0.88);
	font-size: 15px;
}

/* ==========================================================================
   Tables
   ========================================================================== */

.wp-block-table.is-style-neobee-spec {
	margin: 0;
	overflow-x: auto;
	border: 1px solid var(--neobee-line);
	border-radius: 4px;
}

.wp-block-table.is-style-neobee-spec table {
	width: 100%;
	min-width: 860px;
	border-collapse: collapse;
	font-size: 15px;
	line-height: 1.5;
}

.wp-block-table.is-style-neobee-spec thead {
	border: 0;
}

.wp-block-table.is-style-neobee-spec th,
.wp-block-table.is-style-neobee-spec td {
	padding: 13px 18px;
	border: 0;
	border-top: 1px solid #D5E5E3;
	text-align: left;
	vertical-align: top;
	color: var(--neobee-slate);
}

.wp-block-table.is-style-neobee-spec thead th {
	border-top: 0;
	background: var(--neobee-deep);
	color: #FFFFFF;
	font-weight: 700;
}

.wp-block-table.is-style-neobee-spec td:first-child {
	width: 20%;
	font-weight: 700;
	color: var(--neobee-deep);
}

.wp-block-table.is-style-neobee-spec td:nth-child(2) {
	width: 46%;
}

/* ==========================================================================
   Backgrounds from the brand template
   ========================================================================== */

/* Map of Belgrade as a quiet texture. */
.neobee-map {
	position: relative;
	overflow: hidden;
	isolation: isolate;
}

.neobee-map::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: url(assets/images/belgrade-map.webp) right -8% center / min(70%, 1150px) auto no-repeat;
	opacity: 0.4;
	pointer-events: none;
}

/* Closing call to action with the light-painting line. */
.neobee-cta {
	padding: 0;
}

.neobee-cta .wp-block-columns {
	gap: 0;
	margin: 0;
}

.neobee-cta__media {
	min-height: 340px;
	background: url(assets/images/neobee-squiggle.jpg) 18% 58% / cover no-repeat;
	-webkit-mask-image: linear-gradient(90deg, #000 65%, transparent 100%);
	mask-image: linear-gradient(90deg, #000 65%, transparent 100%);
}

.neobee-cta--business .neobee-cta__media {
	background-position: 30% 62%;
}

.neobee-cta--tech .neobee-cta__media {
	min-height: 300px;
	background-position: 60% 70%;
}

.neobee-cta__content {
	padding: clamp(48px, 6vw, 88px) clamp(20px, 5vw, 80px);
}

.wp-block-column.neobee-cta__content > * {
	margin: 0;
}

.wp-block-column.neobee-cta__content > * + * {
	margin-top: 20px;
}

/* Photo halves (Contact, Jobs). */
.neobee-split .wp-block-columns,
.wp-block-columns.neobee-split__cols {
	gap: 0;
	margin: 0;
}

.neobee-photo {
	position: relative;
	min-height: 420px;
	overflow: hidden;
	background: #F3F6F6;
}

.neobee-photo > .wp-block-image {
	position: absolute;
	inset: 0;
	margin: 0;
}

.neobee-photo > .wp-block-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.neobee-photo.is-tulips img {
	object-position: 35% 50%;
}

.neobee-photo.is-belgrade {
	min-height: 520px;
}

.neobee-photo.is-belgrade img {
	object-position: 50% 70%;
}

.neobee-split__content {
	padding: clamp(48px, 6vw, 80px) var(--neobee-pad);
}

.neobee-split__content.is-start {
	padding-left: max(var(--neobee-pad), calc((100vw - 1120px) / 2));
}

.wp-block-column.neobee-split__content > * {
	margin: 0;
}

.wp-block-column.neobee-split__content > * + * {
	margin-top: 22px;
}

.neobee-split__content h1 {
	font-size: clamp(38px, 4.4vw, 58px);
	max-width: 12em;
}

/* ==========================================================================
   Contact form placeholder (replace with your form plugin)
   ========================================================================== */

.neobee-form {
	display: grid;
	gap: 18px;
	max-width: 640px;
	padding-top: 10px;
}

.neobee-form__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
	gap: 18px 20px;
}

.neobee-form__field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0;
}

.neobee-form label {
	font-size: 15px;
	font-weight: 600;
	color: var(--neobee-ink);
}

.neobee-form input[type="text"],
.neobee-form input[type="email"],
.neobee-form input[type="tel"],
.neobee-form textarea {
	min-height: 48px;
	padding: 0 14px;
	box-sizing: border-box;
	font: inherit;
	font-size: 16px;
	color: var(--neobee-ink);
	background: #FFFFFF;
	border: 1.5px solid #6F9894;
	border-radius: 4px;
}

.neobee-form textarea {
	min-height: 120px;
	padding: 12px 14px;
	resize: vertical;
}

.neobee-form__check {
	margin: 0;
}

.neobee-form__check label {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	min-height: 44px;
	font-size: 16px;
	font-weight: 500;
	color: var(--neobee-slate);
	cursor: pointer;
}

.neobee-form__check input {
	flex: 0 0 auto;
	width: 20px;
	height: 20px;
	margin: 3px 0 0;
	accent-color: var(--neobee-deep);
}

.neobee-form__privacy {
	margin: 0;
	font-size: 14px;
	color: var(--neobee-slate);
}

.neobee-form button {
	justify-self: start;
	min-height: 48px;
	padding: 0 34px;
	font: inherit;
	font-size: 17px;
	font-weight: 700;
	color: #FFFFFF;
	background: var(--neobee-deep);
	border: 0;
	border-radius: 4px;
	cursor: pointer;
}

/* ==========================================================================
   Blog and generic pages
   ========================================================================== */

.neobee-posts .wp-block-post {
	padding: 28px 0;
	border-top: 1px solid var(--neobee-line);
}

.neobee-posts .wp-block-post-title {
	font-size: clamp(24px, 2.4vw, 30px);
}

.neobee-posts .wp-block-post-date {
	font-size: 15px;
	color: var(--neobee-slate);
}

/* ==========================================================================
   Page frame: header over the hero, no gaps between full-width bands
   ========================================================================== */

.wp-site-blocks {
	position: relative;
}

.wp-site-blocks > * {
	margin-block-start: 0;
	margin-block-end: 0;
}

.wp-block-group.neobee-main > * {
	margin-block-start: 0;
}

.neobee-site-header.is-overlay {
	background: var(--neobee-ink);
}

.neobee-site-header.is-solid {
	background: radial-gradient(140% 260% at 90% 120%, #005A54 0%, #004A54 45%, #00262B 100%);
}

@media (min-width: 782px) {
	.neobee-site-header.is-overlay {
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
		z-index: 20;
		background: transparent;
	}

	.neobee-hero.has-overlay-header {
		padding-top: calc(90px + clamp(40px, 6vw, 72px));
	}

	.neobee-hero--inner.has-overlay-header {
		padding-top: calc(90px + clamp(36px, 5vw, 64px));
	}

	.neobee-hero--compact.has-overlay-header {
		padding-top: calc(90px + clamp(24px, 4vw, 48px));
	}
}

/* Heading + intro pairs */
.wp-block-group.neobee-intro > * {
	margin: 0;
}

.wp-block-group.neobee-intro > * + * {
	margin-top: 12px;
}

.neobee-intro p {
	max-width: 52em;
}

.neobee-section > .neobee-intro + * {
	margin-block-start: 40px;
}

.neobee-section.is-compact > .neobee-intro + * {
	margin-block-start: 28px;
}

/* Denser text on the Tech page */
.neobee-section.is-compact .wp-block-column p,
.neobee-section.is-compact .wp-block-column li {
	font-size: 15px;
	line-height: 1.55;
}

/* Photo split sections carry their own padding */
.neobee-split {
	padding: 0;
}

/* ==========================================================================
   Small screens
   ========================================================================== */

@media (max-width: 781px) {
	.neobee-photo {
		min-height: 260px;
	}

	.neobee-photo.is-belgrade {
		min-height: 300px;
	}

	.neobee-cta__media {
		min-height: 220px;
	}

	.neobee-arc::after {
		top: 24px;
		width: 70%;
		opacity: 0.5;
	}

	.neobee-hero .wp-block-columns {
		gap: 40px;
	}
}

@media (max-width: 600px) {
	.wp-block-group.neobee-header__bar {
		gap: 12px 16px;
	}

	.wp-block-group.neobee-header__actions {
		gap: 4px 16px;
	}

	.wp-block-button.neobee-btn-small .wp-block-button__link {
		padding: 10px 16px;
		font-size: 15px;
	}
}
