/* ==========================================================================
   Chiara Del Nero - design system (mobile first)
   Layout lives in Enfold's builder and Theme Options; this file sets the world:
   full fields of colour, parallel lines, very large type.
   Minio is reserved for calling and writing: it appears nowhere else.
   ========================================================================== */

@font-face {
	font-family: "Archivo";
	src: url("../fonts/archivo-var.woff2") format("woff2");
	font-weight: 400 800;
	font-stretch: 62% 125%;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Archivo";
	src: url("../fonts/archivo-italic.woff2") format("woff2");
	font-weight: 400 700;
	font-style: italic;
	font-display: swap;
}

:root {
	--olt: #1a27a8;
	--bia: #f4f5f7;
	--ink: #10123a;
	--tin: #d5d9fb; /* secondary text on oltremare only, never a ground */
	--min: #ff5a1f;
	--err: #a8123a;
	--sans: "Archivo", "Helvetica Neue", Helvetica, sans-serif;
	--gutter: clamp(1.25rem, 5.5vw, 4rem);
	--space: clamp(4.5rem, 12vw, 9rem);
	--max: 1320px;
	--read: 41rem;
	--head: 80px;
	--stick: 0px;
	--bar: 4rem;
	--ease: cubic-bezier(.23, 1, .32, 1);
}

/* --------------------------------------------------------------- Base */
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head) + 1.5rem); scrollbar-color: var(--olt) var(--bia); }
html body#top,
#top .all_colors {
	font-family: var(--sans);
	color: var(--ink);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	caret-color: var(--olt);
}
#top #main, #top .main_color, #top .container_wrap { border: 0; }
#top #main { background: var(--bia); }
/* The header's position is decided here: Enfold's sticky option must not add its own offset, whatever is saved in Theme Options */
html.html_header_top.html_header_sticky #top #wrap_all #main { padding-top: 0; }
@media (max-width: 989px) {
	html.html_header_top.html_header_sticky #top #wrap_all #header { position: relative; top: auto; }
}
::selection { background: var(--olt); color: var(--bia); }
#top :focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }

#top h1, #top h2, #top h3, #top h4, #top h5, #top h6,
#top .av-special-heading-tag {
	font-family: var(--sans);
	font-stretch: 125%;
	font-weight: 800;
	letter-spacing: -.03em;
	color: inherit;
	text-transform: none;
}
#top h1 em, #top h2 em, #top h3 em, #top .av-special-heading-tag em { font-style: normal; color: inherit; font-weight: inherit; }
#top img { border-radius: 0; }

/* Sections share the same rhythm; every section controls its own padding */
/* Enfold keeps containers at 85% on phones and clips #wrap_all, which disables sticky */
html { overflow-x: hidden; }
html body#top#top { overflow: visible; }
#top #wrap_all { display: flow-root; overflow: clip; }
#top #wrap_all .avia-section > .container {
	width: 100%;
	max-width: var(--max);
	padding: 0 var(--gutter);
	box-sizing: border-box;
}
#top .avia-section .content,
#top .avia-section .template-page { padding: 0; margin: 0; border: 0; }
#top .avia-section .entry-content-wrapper > br { display: none; }
#top .avia-section { border: 0; }
#top .av_textblock_section { margin: 0; }
#top .special-heading-border { display: none; }
#top .av-special-heading { margin: 0; padding: 0; width: auto; }

/* ---- Type utilities ---- */
#top .cdn-h2 .av-special-heading-tag {
	font-size: clamp(1.875rem, 9.6vw, 5rem);
	line-height: 1;
	margin: 0 0 clamp(1.5rem, 4vw, 3rem);
	padding: 0;
	text-wrap: balance;
}
#top .flex_column .cdn-h2 .av-special-heading-tag { font-size: clamp(1.5rem, 8vw, 3.25rem); }
#top .cdn-title .av-special-heading-tag {
	font-size: clamp(2rem, 10.4vw, 6.25rem);
	line-height: .98;
	margin: 0;
	padding: 0;
	text-wrap: balance;
}
#top .cdn-lede p {
	font-size: clamp(1.25rem, 4.8vw, 1.75rem);
	line-height: 1.3;
	font-weight: 500;
	margin: 0;
	max-width: 36rem;
	color: inherit;
	text-wrap: pretty;
}
#top .cdn-body, #top .cdn-body p {
	font-size: 1.1875rem;
	line-height: 1.55;
	color: inherit;
}
#top .cdn-body p { margin: 0 0 1em; text-wrap: pretty; }
#top .cdn-source p { font-size: 1.0625rem; line-height: 1.45; margin: 0 0 1.5rem; color: inherit; }

/* Long reads */
#top .cdn-read { padding: var(--space) 0 calc(var(--space) * .8); }
#top .cdn-read-tint { background: var(--bia); }
#top .cdn-read .cdn-prose, #top .cdn-read .cdn-toggles, #top .cdn-read .cdn-bigquote, #top .cdn-read .cdn-source, #top .cdn-read .cdn-note { max-width: var(--read); }
#top .cdn-prose,
#top .cdn-prose p,
#top .cdn-prose li {
	font-size: 1.1875rem;
	line-height: 1.6;
	color: var(--ink);
	font-weight: 400;
}
#top .cdn-prose p { margin: 0 0 1.15em; text-wrap: pretty; }
#top .cdn-prose strong, #top .cdn-prose b, #top .cdn-note strong, #top .cdn-toggles strong { font-weight: 700; color: inherit; }
#top .cdn-prose h1, #top .cdn-prose h2 {
	font-size: clamp(1.75rem, 6.6vw, 2.75rem);
	line-height: 1.05;
	margin: 2em 0 .6em;
	text-wrap: balance;
}
#top .cdn-prose h3, #top .cdn-prose h4 {
	font-size: clamp(1.3rem, 4.6vw, 1.6rem);
	line-height: 1.15;
	letter-spacing: -.02em;
	margin: 1.8em 0 .5em;
}
#top .cdn-prose > :first-child { margin-top: 0; }
#top .cdn-prose ul, #top .cdn-prose ol { margin: 0 0 1.4em; padding: 0; list-style: none; counter-reset: li; }
#top .cdn-prose li { position: relative; padding-left: 1.6em; margin: 0 0 .65em; }
#top .cdn-prose ul > li::before { content: ""; position: absolute; left: 0; top: .78em; width: .85em; height: 2px; background: var(--olt); }
#top .cdn-prose ol > li { counter-increment: li; }
#top .cdn-prose ol > li::before { content: counter(li); position: absolute; left: 0; font-weight: 800; font-stretch: 125%; color: var(--olt); }
#top .cdn-prose a, #top .cdn-textlink {
	color: var(--olt);
	font-weight: 600;
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: .18em;
}
#top .cdn-prose blockquote {
	margin: 1.6em 0;
	padding: 0;
	border: 0;
	font-size: 1.15em;
	font-weight: 500;
	line-height: 1.4;
	color: var(--ink);
}
#top .cdn-prose blockquote p { margin: 0; font-size: inherit; line-height: inherit; font-weight: inherit; }
#top .cdn-prose-after { margin-top: 3rem; }
#top .cdn-note, #top .cdn-note p { font-size: 1.0625rem; line-height: 1.45; }
#top .cdn-note { background: var(--ink); padding: 1.1rem 1.25rem; margin: 2.25rem 0 0; }
#top .cdn-note, #top .cdn-note p { color: var(--bia); }
#top .cdn-note p { margin: 0; }
#top .cdn-note a { color: var(--bia); font-weight: 700; text-decoration: underline; }
#top p.cdn-note { margin: 0 0 2.5rem; }
#top .cdn-prose p.cdn-updated { margin-top: 3rem; font-size: 1rem; }

#top .cdn-bigquote { margin: clamp(3rem, 9vw, 6rem) 0 0; }
#top .cdn-bigquote blockquote { margin: 0; padding: 0; border: 0; }
#top .cdn-bigquote blockquote p {
	font-stretch: 112%;
	font-weight: 700;
	font-size: clamp(1.6rem, 6vw, 2.75rem);
	line-height: 1.12;
	letter-spacing: -.025em;
	color: var(--olt);
	margin: 0 0 .7em;
	text-wrap: pretty;
}
#top .cdn-bigquote cite, #top .cdn-toggles cite { font-style: normal; font-size: 1rem; font-weight: 600; color: var(--ink); }
#top .cdn-quotewrap { padding: 0 0 var(--space); }
#top #wrap_all .cdn-quotewrap > .container { max-width: calc(var(--read) + var(--gutter) * 2); }
#top .cdn-prose p.cdn-quote {
	font-stretch: 125%;
	font-size: clamp(2.5rem, 11vw, 4.5rem);
	line-height: .96;
	font-weight: 800;
	letter-spacing: -.035em;
	margin: 0 0 1.75rem;
	color: var(--olt);
}

/* Short lists of words: set as words, never as pills */
#top .cdn-chips { list-style: none; margin: .5rem 0 2rem; padding: 0; }
#top .cdn-chips li {
	margin: 0;
	padding: .3rem 0;
	font-size: 1.25rem;
	line-height: 1.2;
	font-weight: 600;
	color: inherit;
}

/* --------------------------------------------------------------- Buttons */
#top .cdn-btns {
	clear: both;
	display: flex;
	flex-wrap: wrap;
	gap: .625rem;
	margin: 2rem 0 0;
	padding: 0;
	text-align: left;
}
#top .cdn-btns .avia-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 3.5rem;
	margin: 0;
	padding: .9rem 1.5rem;
	border-radius: 0;
	font-family: var(--sans);
	font-size: 1.0625rem;
	font-stretch: 112%;
	font-weight: 700;
	letter-spacing: -.01em;
	line-height: 1.2;
	border: 2px solid currentColor;
	background: transparent;
	color: inherit;
	opacity: 1;
	transition: transform 160ms var(--ease), background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}
#top .cdn-btns .avia-button:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) {
	#top .cdn-btns .avia-button:hover { background: var(--ink); border-color: var(--ink); color: var(--bia); }
	#top .footer_color .cdn-btns .avia-button:hover { background: var(--bia); border-color: var(--bia); color: var(--olt); }
}

/* Links that move inside the site: no box, a thick underline */
#top .cdn-about .cdn-btns, #top .cdn-values .cdn-btns, #top .cdn-journal .cdn-btns { gap: .25rem 2rem; margin-top: 1.5rem; }
#top .cdn-about .avia-button, #top .cdn-values .avia-button, #top .cdn-journal .avia-button {
	min-height: 2.75rem;
	padding: 0;
	border: 0;
	background: none;
	color: var(--olt);
	justify-content: flex-start;
}
#top .cdn-about .avia_iconbox_title, #top .cdn-values .avia_iconbox_title, #top .cdn-journal .avia_iconbox_title {
	border-bottom: 3px solid currentColor;
	padding-bottom: .1em;
}
@media (hover: hover) and (pointer: fine) {
	#top .cdn-about .cdn-btns .avia-button:hover, #top .cdn-values .cdn-btns .avia-button:hover, #top .cdn-journal .cdn-btns .avia-button:hover { background: none; color: var(--ink); }
}

/* Calling and writing are the only things in minio */
#top .cdn-hero .avia-button:first-child,
#top .cdn-footer .cdn-btns .avia-button {
	background: var(--min);
	border-color: var(--min);
	color: var(--ink);
}
@media (hover: hover) and (pointer: fine) {
	#top .cdn-hero .cdn-btns .avia-button:first-child:hover,
	#top .cdn-footer .cdn-btns .avia-button:hover { background: var(--bia); border-color: var(--bia); color: var(--ink); }
}

/* --------------------------------------------------------------- Header */
#top #header { box-shadow: none; }
#top #header_main { border: 0; }
.header_color .header_bg, #top #header .header_bg { background: var(--olt); opacity: 1; filter: none; }
#top .logo { float: left; }
#top #header .logo a {
	display: flex;
	align-items: center;
	height: 100%;
	font-size: 1.125rem;
	font-stretch: 125%;
	line-height: 1.1;
	font-weight: 800;
	letter-spacing: -.025em;
	color: var(--bia);
	white-space: nowrap;
}
#top #header .logo .subtext { display: none; }
#top .av-main-nav > li > a {
	font-family: var(--sans);
	font-size: 1rem;
	font-weight: 600;
	letter-spacing: 0;
	color: var(--bia);
	padding: 0 .85em;
}
#top .av-main-nav > li.current-menu-item > a .avia-menu-text,
#top .av-main-nav > li.current-page-ancestor > a .avia-menu-text { box-shadow: 0 3px 0 currentColor; padding-bottom: .15em; }
@media (hover: hover) and (pointer: fine) {
	#top .av-main-nav > li > a:hover { color: var(--tin); }
}
#top .avia-menu-fx { display: none; }
#top .av-menu-button-colored > a .avia-menu-text {
	background: var(--min);
	border: 0;
	border-radius: 0;
	color: var(--ink);
	padding: .7em 1.1em;
	font-weight: 700;
}
#top #header .av-main-nav .av-menu-button-colored > a .avia-menu-text { background: var(--min); border-color: var(--min); color: var(--ink); }
#top .av-main-nav > li.av-menu-button-colored.current-menu-item > a .avia-menu-text { box-shadow: none; padding-bottom: .7em; }
#top #header .sub-menu { border: 0; border-radius: 0; background: var(--ink); box-shadow: none; }
#top #header .sub-menu li { background: none; border: 0; }
#top #header .sub-menu a { font-family: var(--sans); font-size: 1rem; font-weight: 500; background: none; color: var(--bia); border: 0; padding: .75em 1.2em; }
#top #header .sub-menu a:hover { background: var(--olt); color: var(--bia); }

/* Hamburger and full screen menu */
.av-hamburger-inner, .av-hamburger-inner::before, .av-hamburger-inner::after { background-color: var(--bia); }
#top .av-burger-menu-main strong { display: none; }
#top .av-burger-overlay-bg, .av-burger-overlay-bg { background: var(--olt); opacity: 1; }
html.av-burger-overlay-active #top #header .header_bg { background: transparent; }
#top .av-burger-overlay-inner, #top .av-burger-overlay-scroll { background: transparent; }
#top #av-burger-menu-ul { padding: 5.5rem 0 3rem; text-align: left; }
#top #av-burger-menu-ul > li { padding: 0 var(--gutter); box-sizing: border-box; }
#top #av-burger-menu-ul li a {
	display: block;
	font-family: var(--sans);
	font-size: clamp(2.15rem, 10vw, 3.5rem);
	font-stretch: 125%;
	line-height: 1.08;
	font-weight: 800;
	letter-spacing: -.03em;
	color: var(--bia);
	padding: .2em 0;
	text-align: left;
	border: 0;
	background: none;
}
#top #av-burger-menu-ul li a .avia-menu-text { color: inherit; }
#top #header #av-burger-menu-ul .sub-menu,
#top #av-burger-menu-ul .sub-menu,
#top .av-burger-overlay .sub-menu { background: none; border: 0; box-shadow: none; padding: .15rem 0 .75rem; overflow: visible; }
#top #av-burger-menu-ul .sub-menu li { background: none; border: 0; }
#top #av-burger-menu-ul .sub-menu li a,
#top #header #av-burger-menu-ul .sub-menu li a {
	font-size: 1.125rem;
	font-stretch: 100%;
	line-height: 1.3;
	font-weight: 500;
	letter-spacing: 0;
	color: var(--tin);
	background: none;
	padding: .55em 0;
}
#top #av-burger-menu-ul .av-submenu-indicator { display: inline-block; font-size: 1.1rem; color: var(--tin); margin-left: .4em; vertical-align: middle; }
html.html_av-overlay-full #top #av-burger-menu-ul li.av-menu-button-colored > a,
html.html_av-overlay-full #top #av-burger-menu-ul li.av-menu-button-colored > a .avia-menu-text,
#top #av-burger-menu-ul .av-menu-button > a { background: none; border: 0; padding: .2em 0; color: var(--min); width: auto; }

.av-post-reading-progress { z-index: 600; }

/* --------------------------------------------------------------- The field of lines */
canvas.cdn-field {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 0;
	pointer-events: none;
	opacity: 0;
	transition: opacity 500ms ease;
}
canvas.cdn-field.is-on { opacity: 1; }
/* without JavaScript the lines are there all the same */
html:not(.cdn-js) #top [class*="cdn-amp-"]::before {
	content: "";
	position: absolute;
	inset: 0 0 auto 0;
	height: 9rem;
	background: currentColor;
	-webkit-mask: url("../img/field.svg") top center / cover no-repeat;
	mask: url("../img/field.svg") top center / cover no-repeat;
}

/* --------------------------------------------------------------- Hero */
#top .cdn-hero {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: calc(100svh - var(--head));
	padding: 0 0 calc(var(--bar) + 1.5rem + env(safe-area-inset-bottom));
	background: var(--olt);
	color: var(--bia);
	overflow: clip;
	isolation: isolate;
}
#top .cdn-hero > .container { position: relative; z-index: 1; }
/* The phrase does what it says: hurried and narrow, then slower and wider.
   Sizes are fitted to these exact words: if the phrase changes, they must be measured again. */
#top .cdn-display p {
	--u: min(1vw, .476svh);
	font-weight: 800;
	line-height: .88;
	color: inherit;
	margin: 0 0 1.25rem;
	white-space: nowrap;
}
#top .cdn-ln, #top .cdn-s { display: block; }
#top .cdn-s1 { font-stretch: 62%; font-size: calc(var(--u) * 35.2); letter-spacing: -.02em; }
#top .cdn-s2 { font-stretch: 62%; font-size: calc(var(--u) * 30.9); letter-spacing: -.02em; }
#top .cdn-s3 { font-stretch: 100%; font-size: calc(var(--u) * 20.1); letter-spacing: -.03em; }
#top .cdn-s4 { font-stretch: 125%; font-size: calc(var(--u) * 12.5); letter-spacing: -.03em; }
#top .cdn-hero__h1 .av-special-heading-tag {
	font-size: 1.375rem;
	font-stretch: 112%;
	font-weight: 700;
	letter-spacing: -.02em;
	line-height: 1.15;
	margin: 0;
	padding: 0;
	color: inherit;
	text-wrap: balance;
}
#top .cdn-hero__meta p { font-size: .9375rem; line-height: 1.35; color: var(--tin); margin: .4rem 0 0; text-wrap: balance; }
#top .cdn-hero .cdn-btns { display: none; }

/* --------------------------------------------------------------- Page hero */
#top .cdn-pagehero {
	position: relative;
	padding: clamp(10.5rem, 25svh, 15rem) 0 clamp(2.5rem, 7vw, 4.5rem);
	background: var(--olt);
	color: var(--bia);
	overflow: clip;
	isolation: isolate;
}
#top .cdn-pagehero > .container { position: relative; z-index: 1; }
#top .cdn-pagehero .cdn-lede { padding-top: 1.25rem; }
#top .cdn-pagehero .avia-button { color: var(--bia); }
#top .cdn-amp-0 { padding-top: 7rem; }

/* The same pattern belongs to the same subject, here and in the list of services */
[class*="cdn-pat-"] { --pat: none; }
.cdn-pat-cognitiva { --pat: url("../img/pat-cognitiva.svg"); }
.cdn-pat-sportiva { --pat: url("../img/pat-sportiva.svg"); }
.cdn-pat-aria { --pat: url("../img/pat-aria.svg"); }
.cdn-pat-mindfulness { --pat: url("../img/pat-mindfulness.svg"); }
.cdn-pat-studio { --pat: url("../img/pat-studio.svg"); }
#top .cdn-pagehero[class*="cdn-pat-"]::before,
#top .cdn-service::before {
	content: "";
	position: absolute;
	z-index: 0;
	background: currentColor;
	-webkit-mask: var(--pat) center / cover no-repeat;
	mask: var(--pat) center / cover no-repeat;
	pointer-events: none;
}
#top .cdn-pagehero[class*="cdn-pat-"]::before { top: 0; left: 0; right: 0; height: clamp(9rem, 22svh, 13.5rem); }

/* --------------------------------------------------------------- Statement */
#top .cdn-noise { padding: clamp(3rem, 8vw, 6rem) 0 var(--space); background: var(--olt); color: var(--bia); }
#top .cdn-statement p {
	font-stretch: 112%;
	font-size: clamp(1.875rem, 7.6vw, 4rem);
	line-height: 1.1;
	font-weight: 600;
	letter-spacing: -.03em;
	color: inherit;
	margin: 0;
	max-width: 22em;
}
#top .cdn-statement em { font-style: normal; font-weight: 800; font-stretch: 125%; }
.cdn-ww { display: inline-block; white-space: nowrap; }
.cdn-l { display: inline-block; will-change: transform; }
#top .cdn-noise__sub { margin-top: clamp(2.25rem, 6vw, 4rem); }
#top .cdn-noise__sub p { font-size: 1.125rem; line-height: 1.5; color: inherit; margin: 0; max-width: 38rem; text-wrap: pretty; }

/* --------------------------------------------------------------- Services: fields that stack while scrolling */
#top .cdn-services { padding: var(--space) 0 0; background: var(--bia); color: var(--ink); }
#top #wrap_all .cdn-services > .container { max-width: none; padding: 0; }
#top .cdn-services .cdn-h2,
#top .cdn-services .cdn-lede { display: block; padding-left: var(--gutter); padding-right: var(--gutter); max-width: calc(var(--max) - var(--gutter) * 2); margin-left: auto; margin-right: auto; box-sizing: content-box; }
#top .cdn-services .cdn-lede { margin-bottom: clamp(2.5rem, 7vw, 4.5rem); }
#top .cdn-services .cdn-lede p { max-width: 36rem; }
#top .cdn-services section:has(> .cdn-service) { position: sticky; top: var(--stick); margin: 0; }
#top .cdn-service {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	min-height: 78svh;
	padding: 1.75rem var(--gutter) 1.75rem;
	box-sizing: border-box;
	overflow: hidden;
	color: var(--bia);
	background: var(--ink);
}
#top .cdn-service.cdn-pat-sportiva { background: var(--olt); color: var(--bia); }
#top .cdn-service.cdn-pat-aria { background: var(--bia); color: var(--ink); }
#top .cdn-service.cdn-pat-mindfulness { background: var(--ink); color: var(--bia); }
#top .cdn-service.cdn-pat-studio { background: var(--olt); color: var(--bia); }
#top .cdn-service::before { inset: auto 0 0 0; height: 52%; transition: transform 400ms var(--ease); }
#top .cdn-service h3 {
	position: relative;
	z-index: 1;
	margin: 0;
	font-size: clamp(2rem, 11.2vw, 6rem);
	line-height: .96;
	letter-spacing: -.035em;
	color: inherit;
	text-wrap: balance;
	transition: transform 160ms var(--ease);
}
#top .cdn-service h3 a { color: inherit; text-decoration: none; }
#top .cdn-service h3 a::after { content: ""; position: absolute; inset: -100vh -100vw; }
#top .cdn-service p {
	position: relative;
	z-index: 0;
	margin: .75rem 0 0;
	font-size: 1.125rem;
	line-height: 1.4;
	font-weight: 500;
	color: inherit;
	max-width: 34rem;
	text-wrap: pretty;
}
#top .cdn-service:active h3 { transform: scale(.985); transform-origin: left bottom; }
#top .cdn-service:has(a:focus-visible) { outline: 3px solid currentColor; outline-offset: -8px; }
@media (hover: hover) and (pointer: fine) {
	#top .cdn-service:hover::before { transform: scale(1.04); }
}

/* --------------------------------------------------------------- About */
#top .cdn-about { padding: var(--space) 0; background: var(--bia); color: var(--ink); position: relative; z-index: 1; }
#top .cdn-values { padding: var(--space) 0; }
#top .cdn-portrait, #top .cdn-photo { width: 100%; margin: 0; }
#top .cdn-portrait .avia-image-container-inner,
#top .cdn-portrait .avia_image,
#top .cdn-photo .avia-image-container-inner { width: 100%; }
#top .cdn-portrait img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; display: block; }
#top .cdn-photo img { width: 100%; height: auto; display: block; }
#top .cdn-about .flex_column.first, #top .cdn-values .flex_column.first { margin-bottom: 2.5rem; }
#top .cdn-widephoto { padding: 0; background: var(--bia); }
#top .cdn-widephoto .avia-image-container { max-width: var(--read); margin: 0; text-align: left; }
#top .cdn-widephoto--portrait .avia-image-container { max-width: 30rem; }
#top .cdn-widephoto { padding-top: clamp(2.5rem, 7vw, 4.5rem); }
#top .cdn-widephoto + .cdn-read { padding-top: clamp(2.5rem, 7vw, 4.5rem); }

/* --------------------------------------------------------------- Steps: a real sequence, so real numbers */
#top .cdn-steps { padding: var(--space) 0; background: var(--olt); color: var(--bia); position: relative; z-index: 1; }
#top .cdn-step { padding: 0 0 2.5rem; }
#top section:last-of-type > .cdn-step { padding-bottom: 0; }
#top .cdn-step__num {
	font-stretch: 125%;
	font-size: clamp(5rem, 24vw, 8rem);
	line-height: .9;
	font-weight: 800;
	letter-spacing: -.04em;
	color: inherit;
	font-variant-numeric: lining-nums;
}
#top .cdn-step h3 { margin: .35rem 0 .5rem; font-size: clamp(1.625rem, 6.4vw, 2.25rem); line-height: 1.05; }
#top .cdn-step p { margin: 0; font-size: 1.125rem; line-height: 1.5; color: inherit; max-width: 30rem; text-wrap: pretty; }

#top .cdn-areas { padding: var(--space) 0; background: var(--bia); color: var(--ink); }
#top .cdn-area { margin: 0 0 2.25rem; }
#top .cdn-area h3 { margin: 0; font-size: clamp(1.45rem, 5.4vw, 2rem); line-height: 1.05; }
#top .cdn-area p { margin: .6rem 0 0; font-size: 1.0625rem; line-height: 1.45; color: inherit; }
#top .cdn-areas .cdn-prose { margin-top: 3rem; max-width: var(--read); }

/* --------------------------------------------------------------- Myths */
#top .cdn-myths { padding: var(--space) 0; background: var(--ink); color: var(--bia); position: relative; z-index: 1; }
#top .cdn-myths__intro p { font-size: 1.1875rem; line-height: 1.5; color: inherit; margin: 0 0 2.5rem; max-width: 34rem; text-wrap: pretty; }
#top .cdn-myths__lead p { font-size: 1.1875rem; font-weight: 700; line-height: 1.3; color: inherit; margin: 0 0 .75rem; }
#top .cdn-myth { padding: .7rem 0; }
#top .cdn-myth p {
	font-stretch: 125%;
	font-weight: 800;
	font-size: clamp(1.875rem, 8.4vw, 5rem);
	line-height: 1.02;
	letter-spacing: -.035em;
	color: inherit;
	margin: 0;
}
#top .cdn-myth s {
	text-decoration: none;
	background: linear-gradient(currentColor, currentColor) no-repeat 0 56% / 0 .065em;
	transition: background-size 620ms cubic-bezier(.77, 0, .175, 1);
	-webkit-box-decoration-break: clone;
	box-decoration-break: clone;
}
html:not(.cdn-js) #top .cdn-myth s, #top .cdn-myth.is-in s { background-size: 100% .065em; }
#top .cdn-myths__close { margin-top: clamp(2.5rem, 7vw, 4.5rem); }
#top .cdn-myths__close p { font-size: clamp(1.25rem, 4.8vw, 1.75rem); line-height: 1.3; font-weight: 500; color: inherit; margin: 0; max-width: 38rem; text-wrap: pretty; }

/* --------------------------------------------------------------- Journal */
#top .cdn-journal { padding: var(--space) 0; background: var(--bia); color: var(--ink); position: relative; z-index: 1; }
#top .cdn-postslider { margin: 0; overflow: visible; }
#top .cdn-postslider .avia-content-slider-inner { height: auto !important; overflow: visible; }
#top .cdn-postslider .slide-entry-wrap {
	position: static !important;
	display: grid;
	gap: 1rem;
	width: auto !important;
	margin: 0;
	padding: 0;
	opacity: 1 !important;
	visibility: visible !important;
}
#top .cdn-postslider .slide-entry {
	position: relative;
	display: grid;
	grid-template-columns: 6.5rem 1fr;
	gap: 1rem;
	align-items: center;
	float: none;
	width: auto;
	margin: 0;
	padding: 0;
	opacity: 1;
}
#top .cdn-postslider .slide-entry > .entry-footer, #top .cdn-postslider .slide-entry > .hidden { display: none; }
#top .cdn-postslider .slide-image { grid-column: 1; grid-row: 1; display: block; overflow: hidden; aspect-ratio: 1; margin: 0; }
#top .cdn-postslider .slide-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
#top .cdn-postslider .slide-image::after, #top .cdn-postslider .image-overlay { display: none; }
#top .cdn-postslider .slide-content { grid-column: 2; grid-row: 1; padding: 0; }
#top .cdn-postslider .slide-entry-title {
	font-family: var(--sans);
	font-size: 1.3125rem;
	font-stretch: 112%;
	line-height: 1.12;
	letter-spacing: -.02em;
	font-weight: 700;
	margin: 0;
	text-transform: none;
}
#top .cdn-postslider .slide-entry-title a { color: inherit; }
#top .cdn-postslider .slide-entry-title a::after { content: ""; position: absolute; inset: 0; }
#top .cdn-postslider .slide-meta, #top .cdn-postslider .slide-entry-excerpt { display: none; }
html.html_elegant-blog #top .slide-content .blog-categories,
html #top .cdn-postslider .blog-categories,
html #top.archive .slide-content .blog-categories { display: none; }

/* --------------------------------------------------------------- Timeline */
#top .cdn-timeline { padding: var(--space) 0; background: var(--bia); }
#top #wrap_all .cdn-timeline > .container { max-width: 880px; }
#top .cdn-tl { margin: 0; }
#top .cdn-tl .avia-timeline { margin: 0; padding: 0; list-style: none; }
#top .cdn-tl .av-milestone { position: relative; display: block; margin: 0; padding: 0 0 2.5rem 1.75rem; list-style: none; opacity: 1; animation: none; }
#top .cdn-tl .av-milestone::before { content: ""; position: absolute; left: 4px; top: .4rem; bottom: -.4rem; width: 2px; background: var(--olt); }
#top .cdn-tl .av-milestone:last-child::before { display: none; }
#top .cdn-tl .av-milestone::after { content: ""; position: absolute; left: 0; top: .35rem; width: 10px; height: 10px; background: var(--olt); }
#top .cdn-tl .av-milestone-icon-wrap, #top .cdn-tl .av-milestone-indicator { display: none; }
#top .cdn-tl .av-milestone-date { float: none; width: auto; margin: 0 0 .35rem; padding: 0; font-size: 1.0625rem; font-weight: 700; line-height: 1.3; text-transform: none; letter-spacing: 0; text-align: left; color: var(--olt); }
#top .cdn-tl .av-milestone-date strong { font-weight: 700; }
#top .cdn-tl .av-milestone-content-wrap { float: none; width: auto; margin: 0; padding: 0; opacity: 1; }
#top .cdn-tl .av-milestone-contentbox { padding: 0; background: none; border: 0; box-shadow: none; }
#top .cdn-tl .av-milestone-title { font-size: clamp(1.45rem, 5.4vw, 2rem); line-height: 1.05; margin: 0 0 .5rem; text-transform: none; }
#top .cdn-tl .av-milestone-content, #top .cdn-tl .av-milestone-content p { font-size: 1.0625rem; line-height: 1.5; color: var(--ink); margin: 0; }
#top .cdn-tl .cdn-pdf { display: inline-block; font-size: 1.0625rem; margin: .6rem 1rem 0 0; }

/* --------------------------------------------------------------- Publications */
#top .cdn-pubs { padding: var(--space) 0; background: var(--bia); color: var(--ink); }
#top .cdn-publist { list-style: none; margin: 0; padding: 0; }
#top .cdn-publist li { margin: 0; padding: 0 0 1.75rem; }
#top .cdn-publist small { display: block; margin-top: .3rem; font-size: 1rem; line-height: 1.4; color: inherit; }
#top .cdn-pdf { font-size: clamp(1.3rem, 4.8vw, 1.6rem); font-stretch: 112%; font-weight: 700; line-height: 1.15; letter-spacing: -.02em; color: var(--ink); }
#top a.cdn-pdf { color: var(--olt); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .16em; }
#top a.cdn-pdf::after { content: "PDF"; margin-left: .5em; font-size: .7em; font-weight: 600; letter-spacing: 0; }

/* --------------------------------------------------------------- Toggles */
#top .cdn-toggles { margin: 1.25rem 0 0; }
#top .cdn-toggles .single_toggle { margin: 0; border: 0; color: var(--ink); background: none; }
#top .cdn-toggles .toggler {
	position: relative;
	margin: 0;
	padding: 1.1rem 2.75rem 1.1rem 0;
	border: 0;
	background: none;
	font-size: clamp(1.25rem, 4.8vw, 1.625rem);
	font-stretch: 112%;
	line-height: 1.12;
	font-weight: 700;
	letter-spacing: -.02em;
	color: var(--ink);
	cursor: pointer;
}
#top .cdn-toggles .toggler:hover, #top .cdn-toggles .toggler.activeTitle { color: var(--olt); background: none; }
#top .cdn-toggles .toggle_icon { position: absolute; right: .25rem; top: 50%; left: auto; width: 1.25rem; height: 1.25rem; margin-top: -.625rem; border: 0; background: none; }
#top .cdn-toggles .toggle_icon .vert_icon,
#top .cdn-toggles .toggle_icon .hor_icon { border: 0; position: absolute; left: 0; right: 0; top: 50%; height: 3px; width: 100%; margin: -1.5px 0 0; background: currentColor; display: block; transition: transform 220ms var(--ease); }
#top .cdn-toggles .toggle_icon .vert_icon { transform: rotate(90deg); }
#top .cdn-toggles .activeTitle .toggle_icon .vert_icon { transform: rotate(0deg); }
#top .cdn-toggles .toggle_wrap { background: none; }
#top .cdn-toggles .toggle_content { padding: 0 0 1.5rem; border: 0; background: none; font-size: 1.125rem; line-height: 1.55; color: var(--ink); }
#top .cdn-toggles .toggle_content p { margin: 0 0 1em; text-wrap: pretty; }
#top .cdn-toggles .toggle_content ul { margin: 0 0 1em 1.1em; }
#top .cdn-toggles .toggle_content blockquote { margin: 0 0 1.5rem; padding: 0; border: 0; }
#top .cdn-toggles .toggle_content blockquote p { margin: 0 0 .5em; font-weight: 500; color: var(--ink); }
#top .cdn-toggles .taglist { display: none; }

/* --------------------------------------------------------------- Contact */
#top .cdn-contact { padding: var(--space) 0; background: var(--bia); }
#top .cdn-contact .flex_column.first { margin-bottom: 3.5rem; }
#top .cdn-bigtel {
	display: block;
	font-stretch: 125%;
	font-size: clamp(2.25rem, 11.8vw, 4rem);
	line-height: 1;
	letter-spacing: -.04em;
	font-weight: 800;
	color: var(--ink);
	text-decoration: underline;
	text-decoration-color: var(--min);
	text-decoration-thickness: .09em;
	text-underline-offset: .12em;
	white-space: nowrap;
}
#top .cdn-address { font-size: 1.375rem; line-height: 1.25; font-weight: 600; color: var(--ink); margin: 1.25rem 0 0; }
#top .cdn-contact .cdn-btns { margin-top: 1.25rem; color: var(--ink); }
#top .cdn-places { list-style: none; margin: 1rem 0 0; padding: 0; }
#top .cdn-places li { margin: 0 0 1.25rem; padding: 0; font-size: 1.0625rem; line-height: 1.35; color: var(--ink); }
#top .cdn-places strong { display: block; font-size: 1.375rem; font-stretch: 112%; font-weight: 700; letter-spacing: -.02em; }
#top .cdn-places a { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--olt); font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .18em; }
#top .cdn-places a::before { content: ""; display: block; }
#top .cdn-places li > a { display: flex; width: fit-content; }
#top .cdn-contact .cdn-photo { margin-top: 2rem; }
#top .cdn-anchor { display: block; position: relative; top: -1.25rem; height: 0; }
#top .cdn-form { margin: 1.5rem 0 0; }
#top .cdn-form form, #top .cdn-form .av-form-labels-style { padding: 0; }
#top .cdn-form .form_element { margin: 0 0 1rem; padding: 0; float: none; width: 100%; }
#top .cdn-form label { display: block; margin: 0 0 .35rem; font-size: 1rem; font-weight: 600; color: var(--ink); text-transform: none; letter-spacing: 0; position: static; }
#top .cdn-form .textare_label.hidden { display: block; visibility: visible; position: static; height: auto; width: auto; }
#top .cdn-form input[type="text"],
#top .cdn-form input[type="email"],
#top .cdn-form input[type="tel"],
#top .cdn-form textarea {
	width: 100%;
	min-height: 3.5rem;
	margin: 0;
	padding: .85rem 1rem;
	box-sizing: border-box;
	background: #fff;
	border: 2px solid var(--ink);
	border-radius: 0;
	font-family: var(--sans);
	font-size: 1.0625rem;
	line-height: 1.4;
	color: var(--ink);
	box-shadow: none;
	transition: border-color 160ms ease, box-shadow 160ms ease;
}
#top .cdn-form textarea { min-height: 10rem; resize: vertical; }
#top .cdn-form input:focus, #top .cdn-form textarea:focus { border-color: var(--olt); box-shadow: 0 0 0 2px var(--olt); outline: 0; }
#top .cdn-form .error input, #top .cdn-form .error textarea { border-color: var(--err); }
#top .cdn-form .error label { color: var(--err); }
#top .cdn-form input.button, #top .cdn-form input[type="submit"] {
	width: 100%;
	min-height: 3.75rem;
	padding: .9rem 1.5rem;
	background: var(--min);
	border: 0;
	border-radius: 0;
	font-family: var(--sans);
	font-size: 1.125rem;
	font-stretch: 112%;
	font-weight: 700;
	color: var(--ink);
	cursor: pointer;
	transition: transform 160ms var(--ease);
}
#top .cdn-form input[type="submit"]:active { transform: scale(.98); }
#top .cdn-form .av_form_privacy_check { display: grid; grid-template-columns: 1.4rem 1fr; gap: .7rem; align-items: start; }
#top .cdn-form .av-checkbox-wrap, #top .cdn-form .form_element_checkbox { display: flex; gap: .6rem; align-items: flex-start; }
#top .cdn-form input[type="checkbox"] { width: 1.4rem; height: 1.4rem; flex: none; margin: .1rem 0 0; accent-color: var(--olt); }
#top .cdn-form .checkbox-label, #top .cdn-form .input_checkbox_label { margin: 0; font-size: 1rem; line-height: 1.4; font-weight: 400; color: var(--ink); }
#top .cdn-form a { color: var(--olt); font-weight: 600; text-decoration: underline; }
#top .ajaxresponse, #top .avia-form-success { font-size: 1.375rem; font-weight: 700; line-height: 1.25; color: var(--bia); background: var(--olt); border: 0; padding: 1.25rem 1.4rem; margin-top: 1rem; }

/* --------------------------------------------------------------- Footer: straight lines, then only the number */
#top .cdn-footer {
	position: relative;
	padding: 9.5rem 0 calc(var(--bar) + 2rem + env(safe-area-inset-bottom));
	background: var(--olt);
	color: var(--bia);
	overflow: clip;
	z-index: 1;
}
#top .cdn-footer::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 8rem;
	background: repeating-linear-gradient(to bottom, var(--bia) 0, var(--bia) 1.5px, transparent 1.5px, transparent 8.5px);
}
#top .cdn-footer > .container { position: relative; z-index: 1; }
#top .cdn-tel {
	display: block;
	font-stretch: 125%;
	font-size: min(29vw, 17.5svh);
	line-height: .86;
	font-weight: 800;
	letter-spacing: -.04em;
	font-variant-numeric: lining-nums;
	color: var(--min);
	text-decoration: none;
	white-space: nowrap;
	margin-left: -.035em;
	transition: transform 160ms var(--ease);
}
#top .cdn-tel:active { transform: scale(.985); transform-origin: left center; }
#top .cdn-tel span { display: block; }
#top .cdn-footer__where p { font-size: clamp(1.375rem, 5.4vw, 2rem); font-stretch: 112%; font-weight: 700; line-height: 1.15; letter-spacing: -.02em; color: inherit; margin: 1.75rem 0 0; }
#top .cdn-footer .cdn-btns { margin: 1.5rem 0 clamp(3.5rem, 10vw, 6rem); }
#top .cdn-footer .flex_column { margin-bottom: 1.5rem; }
#top .cdn-footer__col ul { list-style: none; margin: 0; padding: 0; }
#top .cdn-footer__col li { margin: 0; padding: 0; font-size: 1.125rem; line-height: 1.4; }
#top .cdn-footer__col a { display: inline-flex; align-items: center; min-height: 2.75rem; color: inherit; text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 2px; text-underline-offset: .2em; transition: text-decoration-color 160ms ease; }
@media (hover: hover) and (pointer: fine) {
	#top .cdn-footer__col a:hover { text-decoration-color: currentColor; color: inherit; }
}
#top .cdn-footer__legal { clear: both; padding-top: 1rem; }
#top .cdn-footer__legal p { font-size: .9375rem; line-height: 1.45; color: var(--tin); margin: 0; max-width: 42rem; }
#top .cdn-footer__legal mark { background: var(--bia); color: var(--ink); padding: 0 .35em; }
#top #footer, #top #socket { display: none; }
#top .footer_color ::selection { background: var(--bia); color: var(--olt); }

/* --------------------------------------------------------------- Mobile action bar */
.cdn-actionbar {
	position: fixed;
	z-index: 500;
	left: 0;
	right: 0;
	bottom: 0;
	display: grid;
	grid-template-columns: 1.75fr 1fr;
	padding-bottom: env(safe-area-inset-bottom);
	background: var(--ink);
	transition: transform 240ms var(--ease);
}
.cdn-actionbar.is-off { transform: translateY(100%); }
#top .cdn-actionbar a {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: .6em;
	min-height: var(--bar);
	font-size: 1.0625rem;
	font-weight: 700;
	line-height: 1.1;
	text-decoration: none;
	color: var(--bia);
	transition: filter 120ms ease;
}
#top .cdn-actionbar .cdn-actionbar__call { background: var(--min); color: var(--ink); font-stretch: 112%; }
#top .cdn-actionbar .cdn-actionbar__call span { font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
#top .cdn-actionbar a:active { filter: brightness(.9); }
html.av-burger-overlay-active .cdn-actionbar { z-index: 100000; transform: none; }
#top #av-burger-menu-ul { padding-bottom: calc(var(--bar) + 2rem); }

/* --------------------------------------------------------------- Blog grid */
#top .cdn-masonry { background: var(--bia); padding: clamp(2rem, 6vw, 4rem) var(--gutter) var(--space); box-sizing: border-box; max-width: var(--max); margin: 0 auto; }
#top .cdn-masonry .av-masonry { background: transparent; padding: 0; }
#top .cdn-masonry .av-masonry-container { background: transparent; }
#top .av-masonry-sort, #top .av-masonry-sort.main_color {
	background: transparent;
	border: 0;
	padding: 0;
	margin: 0 0 1.25rem;
	text-align: left;
}
#top .av-sort-by-term { display: flex; flex-wrap: wrap; gap: .5rem; padding: .25rem 0; }
#top .av-sort-by-term .text-sep, #top .av-sort-by-term .avia-term-count { display: none; }
#top .av-sort-by-term a {
	display: block;
	padding: .7em 1em;
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.2;
	white-space: nowrap;
	color: var(--ink);
	border: 2px solid var(--ink);
	background: transparent;
	transition: background-color 160ms ease, color 160ms ease;
}
#top .av-sort-by-term a.active_sort { background: var(--ink); color: var(--bia); }
#top .av-sort-by-term a span { background: none; padding: 0; }
#top .av-sort-by-term .avia_hide_sort { display: none; }
#top .cdn-masonry .av-masonry-entry, #top .cdn-masonry .av-inner-masonry, #top .cdn-masonry figure { background: none; }
#top .cdn-masonry .avia-arrow { display: none; }
#top .cdn-masonry .av-inner-masonry-sizer { padding-bottom: 118%; }
#top .cdn-masonry .av-masonry-outerimage-container { position: absolute; top: 0; left: 0; right: 0; bottom: auto; height: 50%; }
#top .cdn-masonry .av-masonry-image-container { height: 100%; background-size: cover; background-position: center; }
#top .cdn-masonry .av-inner-masonry-content { position: absolute; left: 0; right: 0; bottom: 0; top: 50%; width: auto; height: auto; padding: .75rem .1rem 0; overflow: hidden; opacity: 1; transform: none; background: none; }
#top .cdn-masonry .av-inner-masonry-content-pos { position: static; display: block; height: auto; transform: none; }
#top .cdn-masonry .av-inner-masonry-content-pos-content { position: static; display: block; transform: none; vertical-align: top; }
#top .cdn-masonry .av-masonry-entry-title {
	font-family: var(--sans);
	font-size: clamp(1.1875rem, 4.6vw, 1.25rem);
	font-stretch: 112%;
	line-height: 1.12;
	letter-spacing: -.02em;
	font-weight: 700;
	color: var(--ink);
	text-transform: none;
	margin: 0;
}
#top .cdn-masonry .av-masonry-date, #top .cdn-masonry .av-masonry-text-sep, #top .cdn-masonry .av-masonry-author { display: block; margin-top: .3rem; font-size: .9375rem; color: var(--ink); background: none; }
#top .cdn-masonry .av-masonry-text-sep, #top .cdn-masonry .av-masonry-author { display: none; }

/* --------------------------------------------------------------- Article */
#top.single-post #main .container_wrap_first, #top.single-post .container_wrap_first { background: var(--bia); border: 0; }
#top.single-post .container_wrap_first > .container {
	width: 100%;
	max-width: calc(var(--read) + var(--gutter) * 2);
	padding: clamp(2.5rem, 8vw, 5rem) var(--gutter) var(--space);
	box-sizing: border-box;
}
#top.single-post .content { width: 100%; float: none; padding: 0; margin: 0; border: 0; }
html.html_elegant-blog #top.single-post .post-entry .blog-categories { display: none; }
#top.single-post .blog-meta, #top.single-post .av-vertical-delimiter, #top.single-post .post-format-icon { display: none; }
#top.single-post .entry-content-wrapper { padding: 0; margin: 0; }
#top.single-post .post-entry { padding: 0; margin: 0; border: 0; width: 100%; }
#top.single-post .entry-content-header { text-align: left; margin: 0; padding: 0; }
#top.single-post .av-heading-wrapper { display: flex; flex-direction: column-reverse; align-items: flex-start; padding: 0; margin: 0; text-align: left; }
html.html_elegant-blog #top.single-post .post-entry .blog-categories,
#top.single-post .blog-categories {
	display: block;
	position: static;
	order: 2;
	margin: 1rem 0 0;
	font-family: var(--sans);
	font-size: 1.0625rem;
	font-weight: 600;
	letter-spacing: 0;
	text-transform: none;
	line-height: 1.3;
	text-align: left;
}
html.html_elegant-blog #top.single-post .post-entry .blog-categories a,
#top.single-post .blog-categories a { color: var(--olt); font-family: var(--sans); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .18em; }
#top.single-post .av-heading-wrapper { flex-direction: column; height: auto; }
html.html_elegant-blog #top.single-post .post-entry h1.post-title,
#top.single-post h1.post-title {
	font-family: var(--sans);
	font-stretch: 112%;
	font-size: clamp(2.25rem, 9.2vw, 4.25rem);
	line-height: 1;
	letter-spacing: -.035em;
	font-weight: 800;
	color: var(--ink);
	text-transform: none;
	text-align: left;
	margin: 0;
	padding: 0;
	text-wrap: balance;
}
#top.single-post .big-preview { margin: 2rem calc(var(--gutter) * -1) 1.5rem; padding: 0; }
#top.single-post .big-preview a { display: block; pointer-events: none; }
#top.single-post .big-preview img { width: 100%; height: auto; aspect-ratio: 3 / 1; object-fit: cover; display: block; }
#top.single-post .big-preview a::after, #top.single-post .image-overlay { display: none; }
#top.single-post .entry-content,
#top.single-post .entry-content p,
#top.single-post .entry-content li {
	font-family: var(--sans);
	font-size: 1.1875rem;
	line-height: 1.6;
	font-weight: 400;
	color: var(--ink);
}
#top.single-post .entry-content p { margin: 0 0 1.15em; text-wrap: pretty; text-align: left; }
#top.single-post .entry-content p.cdn-byline { font-size: 1rem; font-weight: 600; margin-bottom: 2rem; }
#top.single-post .entry-content strong, #top.single-post .entry-content b { font-weight: 700; color: inherit; }
#top.single-post .entry-content a { color: var(--olt); font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .18em; }
#top.single-post .entry-content h2, #top.single-post .entry-content h3, #top.single-post .entry-content h4 {
	font-family: var(--sans);
	font-size: clamp(1.625rem, 6vw, 2.25rem);
	line-height: 1.05;
	font-stretch: 112%;
	font-weight: 800;
	margin: 1.8em 0 .5em;
	color: var(--ink);
	text-transform: none;
}
#top.single-post .entry-content h3, #top.single-post .entry-content h4 { font-size: clamp(1.3rem, 4.6vw, 1.5rem); font-weight: 700; }
#top .cdn-prose h1 strong, #top .cdn-prose h2 strong, #top .cdn-prose h3 strong,
#top.single-post .entry-content h2 strong, #top.single-post .entry-content h3 strong { font-weight: inherit; }
#top.single-post .entry-content ul, #top.single-post .entry-content ol { margin: 0 0 1.3em 1.1em; }
#top.single-post .entry-content li { margin: 0 0 .5em; }
#top.single-post .entry-content blockquote { margin: 1.5em 0; padding: 0; border: 0; font-size: 1.15em; font-weight: 500; line-height: 1.4; color: var(--ink); }
#top.single-post .entry-content blockquote p { font-size: inherit; line-height: inherit; font-weight: inherit; }
#top.single-post .entry-content img { max-width: 100%; height: auto; }
#top.single-post .entry-content figure { margin: 1.5em 0; }
#top.single-post .wp-block-gallery, #top.single-post .entry-content .gallery { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
#top.single-post .av-social-sharing-box, #top.single-post .post_delimiter, #top.single-post .hidden-post-nav, #top.single-post .avia-post-nav { display: none; }
#top .cdn-more { margin: 3.5rem 0 0; padding: 0; }
#top.single-post .entry-content .cdn-more h2 { font-size: 1.5rem; margin: 0 0 .75rem; }
#top.single-post .entry-content .cdn-more ul { list-style: none; margin: 0; padding: 0; }
#top.single-post .entry-content .cdn-more li { margin: 0; }
#top.single-post .entry-content .cdn-more a { display: block; padding: .85rem 0; color: var(--ink); text-decoration: none; font-size: clamp(1.1875rem, 4.6vw, 1.375rem); font-stretch: 112%; font-weight: 700; line-height: 1.12; letter-spacing: -.02em; }
@media (hover: hover) and (pointer: fine) {
	#top.single-post .entry-content .cdn-more a:hover { color: var(--olt); }
}

/* --------------------------------------------------------------- Archives and 404 */
#top.archive .container_wrap_first, #top.error404 .container_wrap_first, #top.search .container_wrap_first { background: var(--bia); border: 0; }
#top.archive .container_wrap_first > .container,
#top.error404 .container_wrap_first > .container,
#top.search .container_wrap_first > .container { width: 100%; max-width: var(--max); padding: clamp(2.5rem, 8vw, 4.5rem) var(--gutter) var(--space); box-sizing: border-box; }
#top.archive .content, #top.error404 .content, #top.search .content { width: 100%; float: none; padding: 0; border: 0; }
#top.archive .sidebar, #top.search .sidebar { display: none; }
#top .title_container { background: var(--olt); border: 0; padding: 0; }
#top .title_container .breadcrumb { display: none; }
#top.archive .slide-image, #top.search .slide-image { overflow: hidden; }
#top.archive .slide-entry-title, #top.search .slide-entry-title { font-family: var(--sans); font-size: clamp(1.25rem, 4.8vw, 1.4375rem); font-stretch: 112%; line-height: 1.12; letter-spacing: -.02em; font-weight: 700; text-transform: none; }
#top.archive .slide-entry-title a { color: var(--ink); }
#top.archive .slide-entry-excerpt, #top.archive .read-more-link, #top.archive .slide-meta { display: none; }
#top.archive .archive-title { display: none; }
#top .cdn-archivehead {
	position: relative;
	padding: 10.5rem 0 2.5rem;
	background: var(--olt);
	color: var(--bia);
	overflow: clip;
}
#top .cdn-archivehead > div { position: relative; z-index: 1; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); box-sizing: border-box; }
#top .cdn-archivehead h1 { font-size: clamp(2.5rem, 10.4vw, 6.25rem); line-height: .98; margin: 0 0 1rem; text-wrap: balance; color: inherit; }
#top .cdn-archivehead p { font-size: 1.0625rem; font-weight: 600; margin: 0; }
#top .cdn-archivehead p a { color: inherit; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .18em; }
#scroll-top-link { display: none; }

/* Bianco next to bianco: the section change is a band of the world's own lines */
#top .avia-section.alternate_color:not(.cdn-services):not(.cdn-steps) { position: relative; color: var(--ink); background: var(--bia); }
#top .avia-section.alternate_color:not(.cdn-services):not(.cdn-steps)::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3.25rem;
	background: repeating-linear-gradient(to bottom, var(--olt) 0, var(--olt) 1.5px, transparent 1.5px, transparent 8.5px);
}

/* --------------------------------------------------------------- Phone list for fifty articles */
@media (max-width: 767px) {
	#top .cdn-masonry .av-masonry-entry { padding: 0 !important; }
	#top .cdn-masonry .av-inner-masonry-sizer { padding-bottom: 33%; }
	#top .cdn-masonry .av-masonry-outerimage-container { top: 0; bottom: 0; right: auto; width: 33%; height: 100%; }
	#top .cdn-masonry .av-inner-masonry-content { top: 0; bottom: 0; left: 37%; right: 0; padding: .05rem 0 0; }
	#top .cdn-masonry .av-masonry-container { margin: 0; left: 0; width: 100%; }
	#top .cdn-masonry .av-masonry-entry-title {
		font-size: 1.0625rem;
		display: -webkit-box;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 4;
		overflow: hidden;
	}
	#top .cdn-masonry .av-masonry-date { font-size: .875rem; }
}

/* --------------------------------------------------------------- Tablet and up */
@media (min-width: 768px) {
	#top .cdn-display p { --v: min(1vw, 14.4px, 1.6svh); margin-bottom: 1.5rem; }
	#top .cdn-s { display: inline; font-size: inherit; font-stretch: inherit; letter-spacing: inherit; }
	#top .cdn-ln1 { font-stretch: 62%; font-size: calc(var(--v) * 14.8); letter-spacing: -.02em; }
	#top .cdn-ln2 { font-stretch: 125%; font-size: calc(var(--v) * 6.35); letter-spacing: -.03em; }
	#top .cdn-hero__h1 .av-special-heading-tag { font-size: 1.75rem; }

	#top .cdn-service {
		display: grid;
		grid-template-columns: 1fr 1fr;
		grid-template-rows: auto 1fr;
		align-content: start;
		column-gap: clamp(2rem, 5vw, 5rem);
		min-height: calc(74svh - var(--head));
		padding: 2.5rem max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
	}
	#top .cdn-service::before { inset: 0 0 0 50%; height: auto; }
	#top .cdn-service h3 { grid-column: 1; grid-row: 1; font-size: clamp(2.5rem, 5.2vw, 5.25rem); }
	#top .cdn-service p { grid-column: 1; grid-row: 2; align-self: start; margin: 1rem 0 0; font-size: 1.25rem; }

	#top .cdn-about .flex_column.first, #top .cdn-values .flex_column.first { margin-bottom: 0; }
	#top .cdn-about .entry-content-wrapper, #top .cdn-values .entry-content-wrapper { display: flex; align-items: center; gap: 0; }

	#top .cdn-steps .entry-content-wrapper { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: clamp(1.5rem, 3.5vw, 3.5rem); }
	#top .cdn-steps .entry-content-wrapper > *:not(section:has(> .cdn-step)) { grid-column: 1 / -1; }
	#top .cdn-step { padding-bottom: 0; }

	#top .cdn-postslider .slide-entry-wrap { grid-template-columns: repeat(3, 1fr); gap: clamp(1.25rem, 2.5vw, 2rem); }
	#top .cdn-postslider .slide-entry { grid-template-columns: 1fr; align-items: start; gap: .85rem; }
	#top .cdn-postslider .slide-image { grid-column: 1; grid-row: 1; aspect-ratio: 3 / 2; }
	#top .cdn-postslider .slide-content { grid-column: 1; grid-row: 2; }
	#top .cdn-postslider .slide-entry-title { font-size: 1.5rem; }

	#top .cdn-contact .flex_column.first { margin-bottom: 0; }
	#top .cdn-bigtel { font-size: clamp(1.75rem, 3.4vw, 3.25rem); }
	#top .flex_column .cdn-h2 .av-special-heading-tag { font-size: clamp(1.875rem, 3.5vw, 3.25rem); }
	#top .cdn-form .form_element_half { float: left; width: calc(50% - .5rem); clear: none; }
	#top .cdn-form .form_element_half + .form_element_half { margin-left: 1rem; }
	#top .cdn-form input[type="submit"] { width: auto; min-width: 16rem; }

	#top .cdn-tel { font-size: min(10.6vw, 26svh); }
	#top .cdn-tel span { margin-right: .08em; }
	#top .cdn-tel span { display: inline; }
	#top .cdn-footer { padding-top: 10rem; }
	#top .cdn-footer::before { height: 9rem; background: repeating-linear-gradient(to bottom, var(--bia) 0, var(--bia) 1.5px, transparent 1.5px, transparent 9.5px); }
}

@media (min-width: 990px) {
	:root { --head: 72px; --stick: 72px; }
	#top #header { position: sticky; top: 0; z-index: 400; }
	.cdn-actionbar { display: none; }
	#top .cdn-hero .cdn-btns { display: flex; margin-top: 1.5rem; }
	#top .cdn-hero .cdn-btns .avia-button { min-width: 13rem; color: var(--bia); }
	#top .cdn-hero .cdn-btns .avia-button:first-child { color: var(--ink); }
	#top .cdn-hero { padding-bottom: clamp(2rem, 5svh, 3.5rem); }
	#top .cdn-footer { padding-bottom: 3.5rem; }
	#top.single-post .big-preview { margin-left: 0; margin-right: 0; }
}

@media (max-width: 379px) {
	#top #header .logo a { font-size: .9375rem; }
	#top .cdn-actionbar a { font-size: .9375rem; gap: .4em; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition-duration: 1ms !important; }
}
