/**
 * Lamino Business — front end and editor styles.
 * Colours, fonts and spacing come from theme.json presets (var(--wp--preset--…)).
 */

:root {
	--lamino-accent: var(--wp--preset--color--accent, #d7141d);
	--lamino-accent-dark: var(--wp--preset--color--accent-dark, #b10f17);
	--lamino-accent-soft: var(--wp--preset--color--accent-soft, #fdeced);
	--lamino-navy: var(--wp--preset--color--navy, #0b2a5e);
	--lamino-ink: var(--wp--preset--color--ink, #1c2433);
	--lamino-body: var(--wp--preset--color--body, #4a5468);
	--lamino-light: var(--wp--preset--color--light, #f4f6fa);
	--lamino-border: var(--wp--preset--color--border, #e1e6ef);
	--lamino-field: #c9d0dd;
	--lamino-shadow: 0 4px 14px rgba(11, 42, 94, .07);
	--lamino-shadow-hover: 0 14px 30px rgba(11, 42, 94, .14);
	--lamino-icon-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
	--lamino-icon-back: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 12H5M11 6l-6 6 6 6'/%3E%3C/svg%3E");
	--lamino-icon-whatsapp: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12a9 9 0 0 1-13.4 7.8L3 21l1.3-4.4A9 9 0 1 1 21 12z'/%3E%3Cpath d='M9 9.5c0 3 2.5 5.5 5.5 5.5l1-1.5-2-1-1 .8a4 4 0 0 1-2-2l.8-1-1-2z'/%3E%3C/svg%3E");
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

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

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

:focus-visible {
	outline: 2px solid var(--lamino-accent);
	outline-offset: 2px;
}

/* Top-level regions and full-width sections sit flush against each other. */
.wp-site-blocks > *,
.wp-block-post-content.lamino-sections > * {
	margin-block-start: 0;
	margin-block-end: 0;
}

/* Core pads every coloured group (1.25em 2.375em); full-width sections use the site gutter instead. */
.wp-block-group.alignfull.has-background {
	padding-left: var(--wp--style--root--padding-left, 24px);
	padding-right: var(--wp--style--root--padding-right, 24px);
}

.wp-block-group.alignfull.lamino-hero,
.wp-block-group.alignfull.lamino-split {
	padding: 0;
}

.lamino-measure {
	max-width: 620px;
}

.lamino-relaxed {
	line-height: 1.8;
}

.lamino-grow {
	flex: 1 1 auto;
}

/* ---------- Icons ---------- */

.lamino-icon {
	--lamino-icon-size: 56px;
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: var(--lamino-icon-size);
	height: var(--lamino-icon-size);
	border-radius: 50%;
	line-height: 0;
}

.lamino-icon svg {
	display: block;
}

.lamino-icon.is-variant-white {
	background: #fff;
	color: var(--lamino-navy);
}

.lamino-icon.is-variant-outline {
	background: #fff;
	border: 2px solid var(--lamino-accent);
	color: var(--lamino-accent);
}

.lamino-icon.is-variant-soft {
	background: var(--lamino-accent-soft);
	color: var(--lamino-accent);
}

.lamino-icon.is-variant-navy {
	background: var(--lamino-navy);
	color: #fff;
}

.lamino-icon.is-variant-plain {
	width: auto;
	height: auto;
	border-radius: 0;
	color: inherit;
}

/* ---------- Text styles ---------- */

.is-style-eyebrow {
	font-size: var(--wp--preset--font-size--small);
	font-weight: 600;
	letter-spacing: 4px;
	line-height: 1.4;
	text-transform: uppercase;
}

.wp-block-separator.is-style-accent-bar {
	width: 72px;
	max-width: 72px;
	height: 4px;
	margin-left: 0 !important;
	margin-right: auto !important;
	border: 0;
	border-radius: 2px;
	background: var(--lamino-accent);
	opacity: 1;
}

.lamino-section-head {
	text-align: center;
}

.lamino-section-head .is-style-eyebrow,
.lamino-section-head h2,
.lamino-section-head p {
	margin-left: auto !important;
	margin-right: auto !important;
}

.lamino-section-head p:not(.is-style-eyebrow) {
	max-width: 640px;
}

.lamino-section :is(h1, h2, h3, p),
.lamino-article-head :is(h1, h2, p) {
	margin-bottom: 0;
}

mark.has-inline-color {
	background: transparent;
}

/* Lists */
.wp-block-list.is-style-ticks {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.wp-block-list.is-style-ticks li {
	position: relative;
	padding-left: 30px;
}

.wp-block-list.is-style-ticks li::before {
	content: "";
	position: absolute;
	top: 4px;
	left: 0;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: var(--lamino-accent-soft);
}

.wp-block-list.is-style-ticks li::after {
	content: "";
	position: absolute;
	top: 8px;
	left: 6px;
	width: 5px;
	height: 8px;
	border: solid var(--lamino-accent);
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}

.wp-block-list.is-style-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 8px 0 0;
	padding: 0;
	list-style: none;
}

.wp-block-list.is-style-pills li {
	padding: 10px 18px;
	border-radius: 999px;
	background: var(--lamino-light);
	color: var(--lamino-navy);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 600;
	line-height: 1.4;
}

/* ---------- Buttons ---------- */

.wp-block-button__link,
.lamino-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 50px;
	transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

.wp-block-button.is-style-outline-light .wp-block-button__link {
	padding: 12px 26px;
	border: 2px solid rgba(255, 255, 255, .55);
	background: transparent;
	color: #fff;
}

.wp-block-button.is-style-outline-light .wp-block-button__link:hover,
.wp-block-button.is-style-outline-light .wp-block-button__link:focus {
	border-color: #fff;
	background: rgba(255, 255, 255, .1);
	color: #fff;
}

.lamino-cta .wp-block-button.is-style-outline-light .wp-block-button__link {
	border-color: #fff;
}

.wp-block-button.is-style-outline-navy .wp-block-button__link {
	min-height: 46px;
	padding: 10px 22px;
	border: 2px solid var(--lamino-navy);
	background: transparent;
	color: var(--lamino-navy);
	font-size: var(--wp--preset--font-size--base);
}

.wp-block-button.is-style-outline-navy .wp-block-button__link:hover,
.wp-block-button.is-style-outline-navy .wp-block-button__link:focus {
	background: var(--lamino-navy);
	color: #fff;
}

.wp-block-button.is-style-white .wp-block-button__link {
	background: #fff;
	color: var(--lamino-navy);
	font-weight: 700;
}

.wp-block-button.is-style-white .wp-block-button__link:hover,
.wp-block-button.is-style-white .wp-block-button__link:focus {
	background: var(--lamino-light);
	color: var(--lamino-navy);
}

.wp-block-button.is-style-text-arrow .wp-block-button__link {
	min-height: 44px;
	padding: 0;
	border-radius: 0;
	background: none;
	color: var(--lamino-navy);
	font-size: var(--wp--preset--font-size--base);
	gap: 8px;
}

.wp-block-button.is-style-text-arrow .wp-block-button__link::after {
	content: "";
	width: 16px;
	height: 16px;
	background: currentColor;
	-webkit-mask: var(--lamino-icon-arrow) center / contain no-repeat;
	mask: var(--lamino-icon-arrow) center / contain no-repeat;
	transition: transform .2s ease;
}

.wp-block-button.is-style-text-arrow .wp-block-button__link:hover {
	background: none;
	color: var(--lamino-accent);
}

.wp-block-button.is-style-text-arrow .wp-block-button__link:hover::after {
	transform: translateX(3px);
}

.wp-block-button.is-square .wp-block-button__link {
	min-height: 48px;
	padding: 13px 22px;
	border-radius: 10px;
	font-size: var(--wp--preset--font-size--base);
}

.wp-block-button.is-small .wp-block-button__link {
	min-height: 44px;
	padding: 10px 18px;
	font-size: var(--wp--preset--font-size--small);
	gap: 8px;
}

.wp-block-button.has-arrow .wp-block-button__link::after,
.lamino-btn--arrow::after,
.lamino-read-more.is-button::after {
	content: "";
	flex: none;
	width: 18px;
	height: 18px;
	background: currentColor;
	-webkit-mask: var(--lamino-icon-arrow) center / contain no-repeat;
	mask: var(--lamino-icon-arrow) center / contain no-repeat;
}

.wp-block-button.has-whatsapp-icon .wp-block-button__link::before {
	content: "";
	flex: none;
	width: 20px;
	height: 20px;
	background: currentColor;
	-webkit-mask: var(--lamino-icon-whatsapp) center / contain no-repeat;
	mask: var(--lamino-icon-whatsapp) center / contain no-repeat;
}

.wp-block-button.has-back-icon .wp-block-button__link::before {
	content: "";
	flex: none;
	width: 16px;
	height: 16px;
	background: currentColor;
	-webkit-mask: var(--lamino-icon-back) center / contain no-repeat;
	mask: var(--lamino-icon-back) center / contain no-repeat;
}

/* Buttons rendered by PHP (contact form). */
.lamino-btn {
	padding: 14px 30px;
	border: 0;
	border-radius: 999px;
	background: var(--lamino-accent);
	color: #fff;
	font-family: inherit;
	font-size: var(--wp--preset--font-size--medium);
	font-weight: 600;
	line-height: 1.4;
	text-decoration: none;
	cursor: pointer;
}

.lamino-btn:hover,
.lamino-btn:focus {
	background: var(--lamino-accent-dark);
	color: #fff;
}

.lamino-btn--outline {
	padding: 12px 24px;
	border: 2px solid var(--lamino-navy);
	background: transparent;
	color: var(--lamino-navy);
}

.lamino-btn--outline:hover,
.lamino-btn--outline:focus {
	background: var(--lamino-navy);
	color: #fff;
}

/* ---------- Cards ---------- */

.wp-block-group.is-style-card,
.wp-block-group.is-style-card-hover {
	position: relative;
	overflow: hidden;
	padding: 32px;
	border-radius: 16px;
	background-color: #fff;
	box-shadow: var(--lamino-shadow);
}

.wp-block-group.is-style-card-hover {
	transition: transform .2s ease, box-shadow .2s ease;
}

.wp-block-group.is-style-card-hover:hover,
.wp-block-group.is-style-card-hover:focus-within {
	transform: translateY(-4px);
	box-shadow: var(--lamino-shadow-hover);
}

.lamino-service-card,
.lamino-post-card {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.wp-block-group.lamino-service-card,
.wp-block-group.lamino-post-card {
	padding: 0;
	border-radius: 14px;
}

.lamino-card-media,
.lamino-card-media.wp-block-image,
.lamino-card-media.wp-block-post-featured-image {
	margin: 0;
}

.lamino-card-media img {
	display: block;
	width: 100%;
	height: 170px;
	object-fit: cover;
}

.wp-block-post-featured-image.lamino-card-media img {
	height: 100%;
}

.lamino-card-body {
	flex: 1 1 auto;
	padding: 0 26px 26px;
}

.lamino-post-card .lamino-card-body {
	padding: 24px;
}

.lamino-card-body > .wp-block-buttons {
	margin-top: auto;
}

/* Card text starts right at the photo edge so the badge sits half over the photo. */
.lamino-service-card > .lamino-card-body {
	margin-top: 0 !important;
}

.lamino-card-badge {
	position: relative;
	z-index: 1;
	margin-top: calc(var(--lamino-icon-size, 56px) / -2) !important;
}

@media (max-width: 781px) {
	.lamino-card-badge {
		align-self: center;
	}
}

/* Images */
.lamino-photo img,
.lamino-photo-tall img,
.lamino-portrait img {
	display: block;
	width: 100%;
	object-fit: cover;
	border-radius: 18px;
}

.lamino-photo img {
	height: 300px;
}

.lamino-photo-tall img {
	height: 420px;
	object-position: center top;
}

.lamino-portrait img {
	height: 460px;
	object-position: center 35%;
	border-bottom: 6px solid var(--lamino-accent);
}

.wp-block-image.is-style-accent-corner {
	position: relative;
	z-index: 0;
	margin: 0;
}

.wp-block-image.is-style-accent-corner::before {
	content: "";
	position: absolute;
	left: -16px;
	bottom: -16px;
	z-index: -1;
	width: 120px;
	height: 120px;
	border-radius: 18px;
	background: var(--lamino-accent);
}

.wp-block-image.is-style-accent-corner img {
	border-radius: 18px;
}

.lamino-fill,
.lamino-fill.wp-block-image {
	margin: 0;
}

/* ---------- Header ---------- */

.lamino-header {
	border-bottom: 1px solid #e6e9f0;
}

.lamino-header__bar {
	align-items: center;
}

.lamino-header .wp-block-site-logo img,
.lamino-header__logo img {
	width: auto;
	height: 60px;
}

.lamino-nav .wp-block-navigation-item__content {
	padding: 10px 0;
	border-bottom: 2px solid transparent;
}

.lamino-nav .wp-block-navigation-item__content:hover {
	color: var(--lamino-accent);
}

.lamino-nav .current-menu-item > .wp-block-navigation-item__content,
.lamino-nav .current-menu-ancestor > .wp-block-navigation-item__content {
	border-bottom-color: var(--lamino-accent);
	color: var(--lamino-accent);
}

/* Mobile overlay menu */
.lamino-nav .wp-block-navigation__responsive-container.is-menu-open {
	padding: 24px;
	background: #fff;
	color: var(--lamino-navy);
}

.lamino-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
	padding-top: 56px;
}

.lamino-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item {
	font-size: var(--wp--preset--font-size--x-large);
	font-weight: 600;
}

.lamino-nav .wp-block-navigation__responsive-container-open {
	padding: 8px;
	border-radius: 10px;
	color: var(--lamino-navy);
}

@media (max-width: 599px) {
	.lamino-header .wp-block-site-logo img,
	.lamino-header__logo img {
		height: 46px;
	}

	.lamino-header__cta {
		order: 2;
		margin-left: auto;
	}

	.lamino-nav {
		order: 3;
	}

	.lamino-header .lamino-header__cta .wp-block-button .wp-block-button__link {
		overflow: hidden;
		white-space: nowrap;
		width: 46px;
		min-height: 46px;
		padding: 0;
		font-size: 0;
		gap: 0;
	}
}

/* ---------- Hero ---------- */

.lamino-hero__cols {
	gap: 0 !important;
}

.lamino-hero__text {
	display: flex;
	justify-content: flex-end;
}

.lamino-hero__inner {
	width: 100%;
	max-width: 620px;
	margin-left: auto;
	padding: 72px 40px 64px 24px;
}

.lamino-hero__title {
	letter-spacing: -0.5px;
	line-height: 1.08;
}

.lamino-hero__points p {
	font-weight: 500;
}

.lamino-point {
	align-items: center;
}

.lamino-hero__media {
	position: relative;
	min-height: 420px;
	overflow: hidden;
}

.lamino-hero__media .lamino-fill {
	position: absolute;
	inset: 0;
}

/* Editor: the image block wraps the <img> in a resizable box. */
.lamino-hero__media .lamino-fill > div,
.lamino-hero__media .lamino-fill .components-resizable-box__container {
	width: 100% !important;
	height: 100% !important;
}

.lamino-hero__media .lamino-fill img {
	width: 100% !important; /* the editor sets an inline height:auto */
	height: 100% !important;
	object-fit: cover;
	object-position: center top;
}

/* ---------- About + Why split ---------- */

.lamino-split__cols {
	gap: 0 !important;
	align-items: stretch !important;
}

.lamino-split__cols > .wp-block-column,
.lamino-hero__cols > .wp-block-column {
	flex: 1 1 0;
	min-width: 0;
}

.lamino-split__media {
	display: flex;
}

.lamino-split__cover {
	flex: 1 1 auto;
	padding: 64px 48px;
}

/* Left-aligned text block. */
.lamino-split__cover .wp-block-cover__inner-container {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 18px;
	width: 100%;
	max-width: 560px;
	margin-left: 0 !important;
	margin-right: auto !important;
	text-align: left;
	padding-left: 0 !important;
	padding-right: 0 !important;
}

.lamino-split__cover .wp-block-cover__inner-container > * {
	width: auto;
	max-width: 100% !important;
	margin: 0 !important;
}

.lamino-split__cover h2 {
	font-size: clamp(28px, 3vw, 38px);
}

.lamino-split__cover .wp-block-buttons .wp-block-button__link {
	font-size: var(--wp--preset--font-size--base);
}

.lamino-split__panel {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-self: stretch !important;
	padding: 64px 48px;
}

.lamino-split__panel > * {
	max-width: 640px;
}

.lamino-split__panel > p,
.lamino-split__panel > h2 {
	margin-top: 0;
	margin-bottom: 10px;
}

.lamino-split__panel h2 {
	font-size: clamp(28px, 3vw, 38px);
}

.lamino-reason {
	text-align: center;
}

.lamino-reason h3 {
	line-height: 1.35;
}

/* ---------- Steps ---------- */

.lamino-step {
	height: 100%;
	padding: 28px;
	border: 1px solid var(--lamino-border);
	border-radius: 14px;
}

.lamino-step.is-filled {
	border-color: transparent;
	background: #fff;
}

.lamino-step__num {
	font-size: 40px;
	font-weight: 800;
	line-height: 1;
}

.lamino-step h3 {
	font-size: 19px;
}

/* ---------- CTA band ---------- */

.lamino-cta__row {
	align-items: center;
}

.lamino-cta__text {
	flex: 1 1 480px;
}

.lamino-cta__lede {
	color: #ffe9ea;
}

/* ---------- Page banner ---------- */

.wp-block-cover.lamino-banner {
	min-height: 0;
	padding-left: var(--wp--style--root--padding-left, 24px);
	padding-right: var(--wp--style--root--padding-right, 24px);
}

.wp-block-cover.lamino-banner .wp-block-cover__inner-container {
	width: 100%;
}

.lamino-banner h1 {
	margin: 0;
	line-height: 1.1;
}

.lamino-banner p {
	margin: 0;
}

.lamino-breadcrumbs {
	margin: 0;
	line-height: 1.5;
}

.lamino-breadcrumbs a {
	color: inherit;
	text-decoration: none;
}

.lamino-breadcrumbs a:hover {
	color: #fff;
	text-decoration: underline;
}

/* ---------- About page ---------- */

.wp-block-group.lamino-mv-card {
	padding: 40px;
}

.lamino-value-card {
	height: 100%;
	padding: 32px 24px;
	border: 1px solid rgba(255, 255, 255, .16);
	border-radius: 16px;
	text-align: center;
}

/* ---------- Services page ---------- */

.lamino-index {
	font-weight: 700;
	letter-spacing: 3px;
}

@media (min-width: 782px) {
	.lamino-service-row.is-flipped {
		flex-direction: row-reverse;
	}
}

/* ---------- Contact ---------- */

.lamino-contact-row {
	align-items: center;
}

.lamino-contact-row p strong {
	color: var(--lamino-navy);
}

.lamino-contact-row a,
.lamino-contact-card a {
	color: inherit;
	overflow-wrap: anywhere;
}

.lamino-contact-row a:hover,
.lamino-contact-card a:hover {
	color: var(--lamino-accent);
}

.wp-block-group.lamino-contact-card {
	height: 100%;
	padding: 28px;
}

.wp-block-group.lamino-form-card {
	padding: 40px;
	border-radius: 18px;
}

.lamino-form-panel {
	padding: 36px;
	border-radius: 16px;
}

.lamino-contact-aside {
	display: flex;
	flex-direction: column;
}

.lamino-map-card {
	flex: 1 1 auto;
	min-height: 300px;
	padding: 24px;
	border: 2px dashed #b6c0d3;
	border-radius: 18px;
	background: #e3e8f1;
	color: var(--lamino-body);
	text-align: center;
}

.lamino-map-card .wp-block-buttons {
	justify-content: center;
}

.lamino-chat-card {
	padding: 32px;
	border-radius: 18px;
}

.lamino-chat-card .wp-block-button__link {
	min-height: 48px;
	padding: 13px 24px;
	font-size: var(--wp--preset--font-size--base);
}

/* Contact form */
.lamino-form {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 18px;
}

.lamino-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
}

.lamino-field.is-full {
	grid-column: 1 / -1;
}

.lamino-field label {
	color: var(--lamino-navy);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 600;
}

.lamino-field input,
.lamino-field select,
.lamino-field textarea {
	width: 100%;
	min-height: 48px;
	padding: 0 14px;
	border: 1px solid var(--lamino-field);
	border-radius: 10px;
	background: #fff;
	color: var(--lamino-ink);
	font-family: inherit;
	font-size: var(--wp--preset--font-size--base);
}

.lamino-field textarea {
	padding: 12px 14px;
	resize: vertical;
}

.lamino-field input:focus,
.lamino-field select:focus,
.lamino-field textarea:focus {
	border-color: var(--lamino-navy);
	outline: 2px solid rgba(11, 42, 94, .15);
	outline-offset: 0;
}

.lamino-field .lamino-btn {
	justify-self: start;
	align-self: flex-start;
}

.lamino-form__hp {
	position: absolute !important;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.lamino-form-error {
	margin: 0 0 18px;
	padding: 12px 16px;
	border-radius: 10px;
	background: var(--lamino-accent-soft);
	color: var(--lamino-accent-dark);
	font-size: var(--wp--preset--font-size--base);
}

.lamino-form-success {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 28px;
	border: 1px solid #b8dfc6;
	border-radius: 14px;
	background: #eef7f1;
}

.lamino-form-success h3 {
	margin: 0;
	color: #1e6b3a;
	font-size: var(--wp--preset--font-size--x-large);
	font-weight: 700;
}

.lamino-form-success p {
	margin: 0;
	color: #2e3b33;
	font-size: var(--wp--preset--font-size--base);
}

.lamino-form-success__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.lamino-form-success__actions .lamino-btn {
	min-height: 46px;
	padding: 10px 22px;
	font-size: var(--wp--preset--font-size--base);
}

/* ---------- Articles ---------- */

body.paged .lamino-featured-wrap {
	display: none;
}

.lamino-meta {
	align-items: center;
	font-size: var(--wp--preset--font-size--x-small);
	line-height: 1.4;
}

.lamino-meta > * {
	margin: 0;
}

.lamino-meta .wp-block-post-terms a {
	color: var(--lamino-accent);
	font-weight: 600;
}

.lamino-meta .wp-block-post-time-to-read::before {
	content: "· ";
}

.lamino-meta.is-on-dark .wp-block-post-terms a {
	color: #ff8a8f;
}

.lamino-badge {
	padding: 6px 12px;
	border-radius: 999px;
	background: var(--lamino-accent);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 1px;
}

.lamino-post-card .wp-block-post-title {
	margin: 0;
	line-height: 1.35;
}

.lamino-post-card .wp-block-post-title a {
	color: var(--lamino-navy);
}

.lamino-post-card .wp-block-post-title a:hover {
	color: var(--lamino-accent);
}

.lamino-post-card .wp-block-post-excerpt {
	margin: 0;
	line-height: 1.6;
}

.lamino-post-card .wp-block-post-excerpt__excerpt {
	margin: 0;
}

.lamino-post-card {
	border: 1px solid var(--lamino-border);
	box-shadow: none !important;
}

.lamino-post-card:hover {
	box-shadow: var(--lamino-shadow-hover) !important;
}

.has-light-background-color .lamino-post-card {
	border-color: transparent;
}

.lamino-post-grid .wp-block-post {
	display: flex;
	flex-direction: column;
}

.wp-block-read-more.lamino-read-more {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	margin-top: auto;
	color: var(--lamino-navy);
	font-size: var(--wp--preset--font-size--base);
	font-weight: 600;
	text-decoration: none;
}

.wp-block-read-more.lamino-read-more:not(.is-button)::after {
	content: "";
	width: 16px;
	height: 16px;
	background: currentColor;
	-webkit-mask: var(--lamino-icon-arrow) center / contain no-repeat;
	mask: var(--lamino-icon-arrow) center / contain no-repeat;
}

.wp-block-read-more.lamino-read-more:hover {
	color: var(--lamino-accent);
}

.wp-block-read-more.lamino-read-more.is-button {
	align-self: flex-start;
	min-height: 48px;
	padding: 13px 26px;
	border-radius: 999px;
	background: var(--lamino-accent);
	color: #fff;
}

.wp-block-read-more.lamino-read-more.is-button:hover {
	background: var(--lamino-accent-dark);
	color: #fff;
}

/* Featured article */
.lamino-featured .wp-block-post-template {
	margin: 0;
}

.lamino-featured__card {
	overflow: hidden;
	margin: 0;
	border-radius: 18px;
	background: var(--lamino-light);
	gap: 0 !important;
	transition: transform .2s ease, box-shadow .2s ease;
}

.lamino-featured__card:hover {
	transform: translateY(-4px);
	box-shadow: var(--lamino-shadow-hover);
}

.lamino-featured__media {
	position: relative;
	min-height: 320px;
	max-height: 420px;
}

.lamino-featured__media .wp-block-post-featured-image {
	position: absolute;
	inset: 0;
	margin: 0;
}

.lamino-featured__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.lamino-featured__body {
	padding: 44px;
}

.lamino-featured__body .wp-block-post-title {
	margin: 0;
	line-height: 1.25;
}

.lamino-featured__body .wp-block-post-title a {
	color: var(--lamino-navy);
}

.lamino-featured__body .wp-block-post-excerpt,
.lamino-featured__body .wp-block-post-excerpt__excerpt {
	margin: 0;
	line-height: 1.7;
}

/* Filter pills */
.lamino-grid-head {
	align-items: center;
}

.lamino-filter {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.lamino-pill {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 10px 16px;
	border: 1px solid var(--lamino-field);
	border-radius: 999px;
	background: #fff;
	color: var(--lamino-navy);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
}

.lamino-pill:hover {
	border-color: var(--lamino-navy);
	color: var(--lamino-navy);
}

.lamino-pill.is-active {
	border-color: var(--lamino-navy);
	background: var(--lamino-navy);
	color: #fff;
}

/* Pagination */
.lamino-pagination {
	margin-top: 40px;
	gap: 8px;
}

.lamino-pagination .page-numbers,
.lamino-pagination .wp-block-query-pagination-previous,
.lamino-pagination .wp-block-query-pagination-next {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	padding: 0 14px;
	border: 1px solid var(--lamino-field);
	border-radius: 999px;
	color: var(--lamino-navy);
}

.lamino-pagination .page-numbers.current {
	border-color: var(--lamino-navy);
	background: var(--lamino-navy);
	color: #fff;
}

/* Single article */
.lamino-article-head .wp-block-post-title {
	margin: 0;
	line-height: 1.2;
}

.lamino-byline p,
.lamino-byline .wp-block-post-author-name {
	margin: 0;
}

.lamino-article__image {
	position: relative;
	margin-top: -64px !important;
	overflow: hidden;
	border-radius: 16px;
	box-shadow: 0 10px 30px rgba(11, 42, 94, .15);
}

.lamino-article__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.lamino-prose {
	padding-top: 44px;
	color: #2e3747;
	font-size: 17px;
	line-height: 1.85;
}

.lamino-prose > * + * {
	margin-block-start: 18px;
}

.lamino-prose h2 {
	margin-top: 32px;
	font-size: 23px;
	font-weight: 700;
	line-height: 1.3;
}

.lamino-prose a {
	color: var(--lamino-accent);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.lamino-article__cta {
	margin-top: 48px !important;
}

.lamino-aside-cta {
	align-items: center;
	padding: 32px;
	border-radius: 16px;
}

.lamino-aside-cta__text {
	flex: 1 1 320px;
}

.lamino-aside-cta h2,
.lamino-aside-cta p {
	margin: 0;
}

/* Search */
.lamino-search .wp-block-search__inside-wrapper {
	gap: 8px;
}

.lamino-search .wp-block-search__input {
	min-height: 48px;
	padding: 0 16px;
	border: 1px solid var(--lamino-field);
	border-radius: 10px;
	font-family: inherit;
}

.lamino-search .wp-block-search__button {
	margin: 0;
	padding: 0 22px;
	border-radius: 10px;
}

.lamino-banner .lamino-search {
	width: 100%;
	max-width: 560px;
}

/* ---------- Footer ---------- */

.lamino-footer__about {
	flex: 1 1 280px;
	max-width: 340px;
}

.lamino-footer__about p {
	margin: 0;
	line-height: 1.7;
}

.lamino-footer__col {
	flex: 0 1 220px;
}

.lamino-footer__col h3 {
	margin: 0 0 6px;
}

.lamino-footer .wp-block-site-logo,
.lamino-footer__logo {
	padding: 8px 12px;
	border-radius: 10px;
	background: #fff;
}

.lamino-footer .wp-block-site-logo img {
	width: auto;
	height: 48px;
}

.lamino-footer__links {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
	color: inherit;
}

.lamino-footer__links a {
	color: inherit;
}

.lamino-footer__links a:hover,
.lamino-footer__links a:focus {
	color: #fff;
}

.lamino-footer__bottom {
	padding-top: 22px;
	border-top: 1px solid rgba(255, 255, 255, .14);
}

.lamino-footer__bottom p {
	margin: 0;
}

/* ---------- Small screens ---------- */

@media (max-width: 781px) {
	.lamino-hero__inner {
		max-width: none;
		padding: 56px 24px;
	}

	.lamino-hero__media {
		min-height: 300px;
	}

	.lamino-split__cover,
	.lamino-split__panel {
		padding: 56px 24px;
	}

	.lamino-featured__body,
	.wp-block-group.lamino-form-card,
	.wp-block-group.lamino-mv-card {
		padding: 28px 24px;
	}

	.lamino-form-panel {
		padding: 24px;
	}

	.lamino-photo-tall img,
	.lamino-portrait img {
		height: 360px;
	}

	.lamino-photo img {
		height: 240px;
	}

	.wp-block-image.is-style-accent-corner {
		margin-left: 16px;
	}
}

/* =====================================================================
   Motion — transitions, entrance and scroll reveals.
   Everything below is disabled for visitors who prefer reduced motion.
   ===================================================================== */

:root {
	--lamino-ease: cubic-bezier(.22, 1, .36, 1);
	--lamino-ease-soft: cubic-bezier(.4, 0, .2, 1);
}

html {
	scroll-behavior: smooth;
}

::selection {
	background: var(--lamino-accent);
	color: #fff;
}

/* ---------- Sticky header ---------- */

.wp-site-blocks > header.wp-block-template-part {
	position: sticky;
	top: 0;
	z-index: 100;
}

.admin-bar .wp-site-blocks > header.wp-block-template-part {
	top: var(--wp-admin--admin-bar--height, 32px);
}

@media (max-width: 600px) {
	.admin-bar .wp-site-blocks > header.wp-block-template-part {
		top: 0;
	}
}

.lamino-header {
	transition: box-shadow .4s var(--lamino-ease-soft), padding .4s var(--lamino-ease), background-color .4s ease;
}

.lamino-header .wp-block-site-logo img {
	transition: height .4s var(--lamino-ease);
}

header.is-scrolled .lamino-header {
	padding-top: 8px !important;
	padding-bottom: 8px !important;
	background-color: rgba(255, 255, 255, .94) !important;
	box-shadow: 0 10px 30px -12px rgba(11, 42, 94, .22);
	-webkit-backdrop-filter: saturate(160%) blur(10px);
	backdrop-filter: saturate(160%) blur(10px);
}

header.is-scrolled .lamino-header .wp-block-site-logo img {
	height: 50px;
}

/* Nav underline draws in from the left. */
.lamino-nav .wp-block-navigation-item__content {
	position: relative;
	border-bottom-color: transparent !important;
	transition: color .25s ease;
}

.lamino-nav .wp-block-navigation-item__content::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 4px;
	height: 2px;
	border-radius: 2px;
	background: var(--lamino-accent);
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform .45s var(--lamino-ease);
}

.lamino-nav .wp-block-navigation-item__content:hover::after,
.lamino-nav .current-menu-item > .wp-block-navigation-item__content::after,
.lamino-nav .current-menu-ancestor > .wp-block-navigation-item__content::after {
	transform: scaleX(1);
}

/* ---------- Buttons ---------- */

.wp-block-button__link,
.lamino-btn,
.wp-block-read-more.lamino-read-more.is-button {
	transition: transform .35s var(--lamino-ease), box-shadow .35s var(--lamino-ease), background-color .25s ease, color .25s ease, border-color .25s ease;
}

.wp-block-button:not(.is-style-text-arrow) .wp-block-button__link:hover,
.lamino-btn:hover,
.wp-block-read-more.lamino-read-more.is-button:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 24px -10px rgba(215, 20, 29, .55);
}

.wp-block-button.is-style-white .wp-block-button__link:hover,
.wp-block-button.is-style-outline-light .wp-block-button__link:hover,
.wp-block-button.is-style-outline-navy .wp-block-button__link:hover,
.lamino-btn--outline:hover {
	box-shadow: 0 12px 24px -12px rgba(7, 28, 64, .45);
}

.wp-block-button__link:active,
.lamino-btn:active {
	transform: translateY(0);
	transition-duration: .1s;
}

.wp-block-button.has-arrow .wp-block-button__link::after,
.lamino-btn--arrow::after,
.lamino-read-more::after {
	transition: transform .35s var(--lamino-ease);
}

.wp-block-button.has-arrow .wp-block-button__link:hover::after,
.lamino-btn--arrow:hover::after,
.lamino-read-more:hover::after {
	transform: translateX(4px);
}

.wp-block-button.has-back-icon .wp-block-button__link::before {
	transition: transform .35s var(--lamino-ease);
}

.wp-block-button.has-back-icon .wp-block-button__link:hover::before {
	transform: translateX(-4px);
}

/* ---------- Cards ---------- */

.wp-block-group.is-style-card-hover,
.lamino-step,
.lamino-value-card,
.wp-block-group.lamino-contact-card,
.wp-block-group.lamino-mv-card,
.lamino-featured__card {
	transition: transform .5s var(--lamino-ease), box-shadow .5s var(--lamino-ease), border-color .3s ease, background-color .3s ease;
}

.wp-block-group.is-style-card-hover:hover,
.wp-block-group.lamino-contact-card:hover,
.wp-block-group.lamino-mv-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 24px 48px -20px rgba(11, 42, 94, .28);
}

/* Photos inside cards zoom slowly. */
.lamino-card-media,
.lamino-featured__media,
.lamino-photo,
.lamino-photo-tall,
.lamino-portrait {
	overflow: hidden;
}

.lamino-photo,
.lamino-portrait {
	border-radius: 18px;
}

.lamino-card-media img,
.lamino-featured__media img,
.lamino-photo img,
.lamino-portrait img {
	transition: transform 1.1s var(--lamino-ease);
}

.is-style-card-hover:hover .lamino-card-media img,
.lamino-featured__card:hover .lamino-featured__media img,
.lamino-service-row:hover .lamino-photo img,
.lamino-portrait:hover img {
	transform: scale(1.06);
}

/* Icon badges fill on hover. */
.lamino-icon {
	transition: background-color .35s ease, color .35s ease, border-color .35s ease, transform .5s var(--lamino-ease);
}

.is-style-card-hover:hover .lamino-icon.is-variant-outline,
.lamino-contact-card:hover .lamino-icon.is-variant-soft,
.lamino-mv-card:hover .lamino-icon.is-variant-soft,
.lamino-contact-row:hover .lamino-icon.is-variant-soft {
	border-color: var(--lamino-accent);
	background: var(--lamino-accent);
	color: #fff;
	transform: rotate(-6deg) scale(1.06);
}

.lamino-reason:hover .lamino-icon,
.lamino-value-card:hover .lamino-icon,
.lamino-point:hover .lamino-icon {
	background: var(--lamino-accent);
	color: #fff;
	transform: translateY(-3px);
}

.lamino-value-card:hover {
	transform: translateY(-6px);
	border-color: rgba(255, 255, 255, .38);
	background-color: rgba(255, 255, 255, .04);
}

/* Steps: border warms up, number slides. */
.lamino-step:hover {
	transform: translateY(-6px);
	border-color: rgba(215, 20, 29, .35);
	box-shadow: 0 24px 48px -24px rgba(11, 42, 94, .25);
}

.lamino-step__num {
	transition: transform .5s var(--lamino-ease), letter-spacing .5s var(--lamino-ease);
}

.lamino-step:hover .lamino-step__num {
	transform: translateX(4px);
}

/* Small details. */
.lamino-pill,
.lamino-footer__links a,
.lamino-breadcrumbs a,
.lamino-contact-row a,
.lamino-field input,
.lamino-field select,
.lamino-field textarea {
	transition: color .25s ease, background-color .25s ease, border-color .25s ease, transform .35s var(--lamino-ease), box-shadow .25s ease;
}

.lamino-pill:hover {
	transform: translateY(-2px);
}

.lamino-footer__links a {
	display: inline-block;
}

.lamino-footer__links a:hover {
	transform: translateX(4px);
}

.lamino-field input:focus,
.lamino-field select:focus,
.lamino-field textarea:focus {
	box-shadow: 0 0 0 4px rgba(11, 42, 94, .08);
}

.wp-block-image.is-style-accent-corner::before {
	transition: transform .8s var(--lamino-ease);
}

.wp-block-image.is-style-accent-corner:hover::before {
	transform: translate(-6px, 6px);
}

/* ---------- Entrance: hero and banners ---------- */

@keyframes lamino-rise {
	from {
		opacity: 0;
		transform: translate3d(0, 28px, 0);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

@keyframes lamino-fade {
	from { opacity: 0; }
	to { opacity: 1; }
}

@keyframes lamino-settle {
	from { transform: scale(1.12); }
	to { transform: scale(1); }
}

@keyframes lamino-bar {
	from { transform: scaleX(0); }
	to { transform: scaleX(1); }
}

.lamino-hero__inner > * {
	animation: lamino-rise 1s var(--lamino-ease) both;
}

.lamino-hero__inner > *:nth-child(1) { animation-delay: .1s; }
.lamino-hero__inner > *:nth-child(2) { animation-delay: .25s; }
.lamino-hero__inner > *:nth-child(3) { animation-delay: .35s; }
.lamino-hero__inner > *:nth-child(4) { animation-delay: .45s; }
.lamino-hero__inner > *:nth-child(5) { animation-delay: .6s; }

.lamino-hero__inner .wp-block-separator.is-style-accent-bar,
.lamino-banner .wp-block-separator.is-style-accent-bar {
	transform-origin: left center;
	animation: lamino-bar 1s var(--lamino-ease) .45s both;
}

.lamino-hero__media {
	animation: lamino-fade 1.2s ease both;
}

.lamino-hero__media .lamino-fill img {
	animation: lamino-settle 2.4s var(--lamino-ease) both;
}

.wp-block-cover.lamino-banner .wp-block-cover__image-background {
	animation: lamino-settle 2.6s var(--lamino-ease) both;
}

.wp-block-cover.lamino-banner {
	overflow: hidden;
}

.lamino-article-head > * {
	animation: lamino-rise .9s var(--lamino-ease) both;
}

.lamino-article-head > *:nth-child(2) { animation-delay: .1s; }
.lamino-article-head > *:nth-child(3) { animation-delay: .2s; }
.lamino-article-head > *:nth-child(4) { animation-delay: .3s; }

.lamino-article__image {
	animation: lamino-rise 1.1s var(--lamino-ease) .35s both;
}

/* ---------- Scroll reveal (elements tagged by motion.js) ---------- */

.lamino-motion [data-lamino-reveal] {
	opacity: 0;
	transform: translate3d(0, 32px, 0);
	transition: opacity .9s var(--lamino-ease), transform 1s var(--lamino-ease);
	transition-delay: var(--lamino-delay, 0ms);
}

.lamino-motion [data-lamino-reveal].is-revealed {
	opacity: 1;
	transform: none;
}

/* Once revealed, hover transforms take over with their normal timing. */
.lamino-motion [data-lamino-reveal].is-revealed:hover {
	transition-delay: 0ms;
}

/* The editor never hides content. */
.editor-styles-wrapper [data-lamino-reveal] {
	opacity: 1 !important;
	transform: none !important;
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: .01ms !important;
		animation-delay: 0ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
		transition-delay: 0ms !important;
	}

	[data-lamino-reveal] {
		opacity: 1 !important;
		transform: none !important;
	}
}
