/* This stylesheet is deliberately loaded only for the Formazione page. */
.simona-vitali-formazione .primary-nav > li:first-child > a { color: var(--coral); position: relative; }
.simona-vitali-formazione .primary-nav > li:first-child > a::after { background: var(--coral); bottom: -10px; content: ''; height: 2px; left: 0; position: absolute; width: 100%; }
.formazione-page { overflow: hidden; padding-top: 4px; }
.formazione-page h1, .formazione-page h2, .formazione-page h3, .formazione-page p { margin-top: 0; }
.formazione-hero { min-height: 500px; position: relative; }
.formazione-hero::before, .formazione-hero::after { background: url('../images/ink-stains.png') center/contain no-repeat; content: ''; height: 180px; opacity: .7; pointer-events: none; position: absolute; width: 180px; z-index: 1; }
.formazione-hero::before { left: -58px; top: 85px; }
.formazione-hero::after { bottom: -70px; left: -35px; transform: rotate(175deg); }
.formazione-hero__copy { padding: 103px 0 52px; position: relative; z-index: 2; }
.formazione-hero__copy h1 { font-family: var(--serif); font-size: clamp(64px, 6.2vw, 106px); line-height: .91; margin-bottom: 22px; }
.formazione-hero__copy p { font-family: var(--script); font-size: clamp(29px, 2.4vw, 42px); line-height: 1.13; position: relative; }
.formazione-hero__copy p::after { background: var(--mustard); border-radius: 50%; bottom: -16px; content: ''; height: 6px; left: 0; position: absolute; transform: rotate(-1deg); width: 255px; }
.formazione-hero__image { background: #eee7db; box-shadow: 2px 4px 8px rgba(0,0,0,.16); margin: 0; padding: 17px; position: absolute; right: 3%; top: 24px; transform: rotate(-2deg); width: min(54%,720px); z-index: 2; }
.formazione-hero__image::before { background: rgba(214,195,161,.83); content: ''; height: 24px; left: 40%; position: absolute; top: -13px; transform: rotate(-2deg); width: 126px; z-index: 2; }
.formazione-hero__image img { display: block; height: 360px; object-fit: cover; object-position: center; width: 100%; }
.formazione-hero__image::after { background: url('../images/fountain-pen.png') center/contain no-repeat; bottom: -30px; content: ''; height: 154px; position: absolute; right: 7%; transform: rotate(-9deg); width: 390px; }
.formazione-intro { align-items: center; border-top: 1px solid rgba(22,21,20,.13); display: grid; gap: 80px; grid-template-columns: minmax(0, 1fr) 320px; padding-bottom: 68px; padding-top: 45px; }
.formazione-intro__copy { margin-left: 7%; max-width: 470px; }
.formazione-letter { color: var(--coral); font-family: var(--serif); font-size: 49px; font-weight: 600; line-height: 1; margin: 0; }
.formazione-intro h2, .formazione-area h2 { font-family: var(--serif); font-size: 38px; line-height: .95; margin-bottom: 22px; }
.formazione-intro__copy > div > p:last-child { font-size: 17px; line-height: 1.36; margin: 25px 0 0; max-width: 410px; }
.formazione-intro__script { font-family: var(--script); font-size: 30px; line-height: 1.05; margin-bottom: 0; position: relative; }
.formazione-intro__script::after { background: var(--coral); bottom: -10px; content: ''; height: 3px; left: 0; position: absolute; transform: rotate(-2deg); width: 105px; }
.formazione-polaroid { background: #eee7db; box-shadow: 2px 4px 6px rgba(0,0,0,.2); margin: 0 9% 0 0; padding: 14px 13px 12px; position: relative; transform: rotate(5deg); }
.formazione-polaroid::before { background: rgba(214,195,161,.8); content: ''; height: 18px; left: 35%; position: absolute; top: -11px; transform: rotate(-2deg); width: 95px; }
.formazione-polaroid img { display: block; height: 215px; object-fit: cover; object-position: center; width: 290px; }
.formazione-story { border-top: 1px solid rgba(22,21,20,.13); padding: 15px 8% 42px; }
.formazione-story__content { margin: 0 auto; max-width: 760px; }
.formazione-story h2 { font-family: var(--serif); font-size: 38px; line-height: 1; margin: 0 0 22px; }
.formazione-story h2::after { background: var(--coral); content: ''; display: block; height: 3px; margin: 8px 0 0 6px; transform: rotate(-2deg); width: 88px; }
.formazione-story p { font-size: 17px; line-height: 1.43; margin: 0 0 16px; }
.formazione-story a { color: inherit; text-decoration-color: var(--coral); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.formazione-story__external-link { background: rgba(207, 122, 112, .13); border-bottom: 2px solid var(--coral); color: #171615 !important; font-family: var(--sans); font-size: .86em; font-weight: 700; line-height: 1.15; padding: 2px 4px 3px; text-decoration: none !important; transition: background .2s ease, color .2s ease; white-space: nowrap; }
.formazione-story__external-link span[aria-hidden="true"] { color: var(--coral); font-size: 1.15em; margin-left: 2px; }
.formazione-story__external-link:hover, .formazione-story__external-link:focus-visible { background: var(--coral); color: #fff !important; outline: 2px solid #171615; outline-offset: 3px; }
.formazione-story__external-link:hover span[aria-hidden="true"], .formazione-story__external-link:focus-visible span[aria-hidden="true"] { color: #fff; }
.formazione-insights { border-bottom: 1px solid rgba(22,21,20,.13); padding-bottom: 30px; }
.formazione-insights__heading { align-items: end; display: flex; gap: 15px; margin: 0 8% 10px; }
.formazione-insights__heading h2 { font-family: var(--script); font-size: 30px; line-height: 1; margin: 0; }
.formazione-insights__heading span { font-family: var(--script); font-size: 36px; line-height: .6; transform: rotate(23deg); }
.formazione-insights__grid { display: grid; gap: 16px; grid-template-columns: repeat(3, 1fr); margin: 0 8%; }
.formazione-insight { border: 1px solid rgba(22,21,20,.13); min-height: 340px; padding: 10px 12px 18px; }
.formazione-insight__image { display: block; height: 132px; margin: -1px -1px 11px; overflow: hidden; }
.formazione-insight__image img { height: 100%; object-fit: cover; width: 100%; }
.formazione-insight__category { color: var(--coral); font-family: var(--sans); font-size: 10px; font-weight: 700; margin-bottom: 9px; text-transform: uppercase; }
.formazione-insight h3 { font-family: var(--serif); font-size: 23px; line-height: 1; margin-bottom: 8px; }
.formazione-insight h3 a { color: inherit; text-decoration: none; }
.formazione-insight__excerpt { font-size: 14px; line-height: 1.25; margin-bottom: 17px; }
.formazione-insight__link { color: inherit; font-family: var(--sans); font-size: 11px; font-weight: 700; text-decoration: none; text-transform: uppercase; }
.formazione-insight__link span { font-size: 18px; margin-left: 5px; vertical-align: -2px; }
.formazione-insights__empty { grid-column: 1 / -1; margin: 15px 0; }
.formazione-areas { padding: 0 8% 55px; }
.formazione-area { align-items: center; border-bottom: 1px solid rgba(22,21,20,.13); display: grid; gap: 17px; grid-template-columns: minmax(230px,1fr) 210px minmax(280px,1.6fr) 25px; min-height: 122px; }
.formazione-area h2 { margin: 0; }
.formazione-area h2 a { color: inherit; text-decoration: none; }
.formazione-area h2::after { background: var(--coral); content: ''; display: block; height: 3px; margin: 6px 0 0 7px; transform: rotate(-3deg); width: 55px; }
.formazione-area__image { display: block; height: 95px; }
.formazione-area__image img { height: 95px; object-fit: cover; width: 100%; }
.formazione-area > p:not(.formazione-letter) { font-size: 15px; line-height: 1.28; margin: 0; }
.formazione-area > a { color: inherit; font-size: 27px; text-decoration: none; }
.formazione-gallery { padding-bottom: 36px; }
.formazione-gallery::before { background: url('../images/fountain-pen.png') center/contain no-repeat; content: ''; display: block; height: 54px; margin: -27px auto 0; transform: rotate(2deg); width: 350px; }
.formazione-gallery__quote { align-items: center; display: grid; gap: 60px; grid-template-columns: 1fr 1.8fr; margin: 0 18% 23px; }
.formazione-gallery__quote p:first-child { font-family: var(--script); font-size: 24px; line-height: .92; text-align: right; }
.formazione-gallery__quote p:last-child { border-left: 1px solid #161514; font-size: 17px; line-height: 1.2; margin: 0; padding-left: 35px; }
.formazione-gallery__slider { margin: 0 auto; max-width: 1080px; }
.formazione-gallery .metaslider { margin: 0 auto; max-width: 100%; }
.formazione-gallery .flexslider { background: transparent; border: 0; box-shadow: none; margin: 0; }
.formazione-gallery .slides img { aspect-ratio: 1.8; object-fit: cover; }
.formazione-gallery .flex-control-nav { bottom: -27px; }
.formazione-gallery .flex-control-paging li a { background: #d4cdc0; box-shadow: none; }
.formazione-gallery .flex-control-paging li a.flex-active { background: var(--coral); }
.formazione-gallery .flex-direction-nav a { color: #161514; text-shadow: none; }

@media (max-width: 760px) {
	.formazione-hero { min-height: 605px; }
	.formazione-hero__copy { padding: 62px 24px 0; }
	.formazione-hero__copy h1 { font-size: 62px; }
	.formazione-hero__image { bottom: 22px; padding: 11px; right: 24px; top: auto; width: calc(100% - 48px); }
	.formazione-hero__image::before { height: 16px; left: 36%; top: -9px; width: 86px; }
	.formazione-hero__image img { height: 215px; }
	.formazione-hero__image::after { height: 118px; right: -21%; width: 260px; }
	.formazione-intro { display: block; padding: 40px 26px; }
	.formazione-intro__copy { margin-left: 0; }
	.formazione-intro h2, .formazione-area h2 { font-size: 30px; }
	.formazione-polaroid { margin: 37px auto 0; width: 250px; }
	.formazione-polaroid img { height: 178px; width: 224px; }
	.formazione-story { padding: 15px 26px 35px; }
	.formazione-story h2 { font-size: 32px; }
	.formazione-insights { padding: 0 26px 30px; }
	.formazione-insights__heading, .formazione-insights__grid { margin-left: 0; margin-right: 0; }
	.formazione-insights__grid { grid-template-columns: 1fr; }
	.formazione-insight { min-height: 0; }
	.formazione-insight__image { height: 180px; }
	.formazione-areas { padding: 0 26px 40px; }
	.formazione-area { align-items: start; gap: 12px; grid-template-columns: 1fr; padding: 18px 0; }
	.formazione-area__image { height: 160px; }
	.formazione-area__image img { height: 160px; }
	.formazione-gallery { padding: 0 26px 38px; }
	.formazione-gallery::before { height: 42px; width: 260px; }
	.formazione-gallery__quote { display: block; margin: 0 0 20px; }
	.formazione-gallery__quote p:first-child { text-align: left; }
	.formazione-gallery__quote p:last-child { margin-top: 22px; padding-left: 18px; }
}
