

.google-sans {
  font-family: "Google Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: normal;
  font-style: normal;
  font-variation-settings:
    "GRAD" 0;
}

body {
  font-family: "Google Sans", sans-serif !important;
  font-optical-sizing: auto !important;
  font-variation-settings:
    "GRAD" 0;
}

/*!
 * b5st since v1.0 | Unicence
 */
.site-header-image {
  display: block;
  margin: auto; }

.alignleft {
  float: left; }

.alignright {
  float: right; }

.aligncenter {
  clear: both;
  display: block; }

.wp-block-cover-text p {
  padding: 1.5em 16px; }

@media screen and (min-width: 768px) {
  .wp-block-cover-text p {
    padding: 1.5em 0; } }

ul.wp-block-latest-posts.alignwide,
ul.wp-block-latest-posts.alignfull,
ul.wp-block-latest-posts.is-grid.alignwide,
ul.wp-block-latest-posts.is-grid.alignwide {
  padding: 0 16px; }

ol.wp-block-latest-comments {
  padding-left: 0; }

header h2 a {
  color: rgba(0, 0, 0, 0.9);
  text-decoration: none; }
  header h2 a:hover {
    text-decoration: underline; }

.has-drop-cap:not(:focus):first-letter {
  float: left;
  font-size: 8.4em;
  line-height: .68;
  font-weight: 100;
  margin: .05em .1em 0 0;
  text-transform: uppercase;
  font-style: normal; }

.long-read {
  font-size: clamp(1em, calc(0.625em + 1vw), 1.25em);
  line-height: inherit; }

.more-link {
  display: block;
  margin-bottom: 1rem; }

.wp-block-code {
  padding: 0.5em 1em;
  margin: 0 0 1.5rem; }

.entry-content ul:not(.blocks-gallery-grid),
.entry-content ol {
  margin: 0 auto 1.5em auto;
  max-width: 720px;
  list-style-position: outside; }

.entry-content li {
  margin-left: 2.5em; }

.entry-content ul ul,
.entry-content ol ol,
.entry-content ul ol,
.entry-content ol ul {
  margin: 0 auto; }

.entry-content ul ul li,
.entry-content ol ol li,
.entry-content ul ol li,
.entry-content ol ul li {
  margin-left: 0; }

.wp-block-quote {
  margin-left: 16px;
  margin-right: 16px;
  padding: 0; }

.wp-block-quote > * {
  margin-left: 1rem; }

.wp-block-quote.is-large,
.wp-block-quote.is-style-large {
  margin: 36px auto;
  padding: 0; }

.wp-block-quote.is-large cite,
.wp-block-quote.is-large footer,
.wp-block-quote.is-style-large cite,
.wp-block-quote.is-style-large footer {
  font-size: 13px;
  font-size: 0.8125rem; }

@media screen and (min-width: 768px) {
  .wp-block-quote {
    margin: 48px auto; } }

.wp-block-pullquote > p:first-child {
  margin-top: 0; }

.wp-block-pullquote.alignright {
  margin-left: 2rem; }

.wp-block-pullquote.alignleft {
  margin-right: 2rem; }

.wrap-md {
  width: 100%;
  max-width: 720px;
  margin-right: auto;
  margin-left: auto;
  padding-right: .75rem;
  padding-left: .75rem; }

.wrap-lg {
  width: 100%;
  max-width: 960px;
  margin-right: auto;
  margin-left: auto;
  padding-right: .75rem;
  padding-left: .75rem; }

.entry-content > .alignwide,
.wp-block-image.alignwide,
.wp-block-gallery.alignwide {
  width: 100vw;
  max-width: 1100px;
  margin: 1.5em 0 1.5em 50%;
  transform: translateX(-50%); }

.entry-content > .alignwide > img {
  width: 1320px; }

.entry-content > .alignfull,
.wp-block-image.alignfull,
.wp-block-gallery.alignfull {
  width: 100vw;
  max-width: 100vw;
  margin: 1.5em 0 1.5em 50%;
  transform: translateX(-50%); }

.entry-content > .alignfull > img {
  width: 100vw; }

.wp-block-columns {
  padding-right: 1rem;
  padding-left: 1rem; }

.wp-block-separator {
  margin: 3em auto;
  padding: 0; }

.wp-block-group > .wp-block-group__inner-container > * {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto; }

.wp-block-group > .wp-block-group__inner-container > .alignwide {
  width: 100vw;
  max-width: 1100px;
  margin: 1.5em 0 1.5em 50%;
  transform: translateX(-50%); }

.wp-block-group > .wp-block-group__inner-container > .alignfull {
  width: 100vw;
  max-width: 100vw;
  margin: 1.5em 0 1.5em 50%;
  transform: translateX(-50%); }

.wp-block-group.has-background > .wp-block-group__inner-container > :first-child {
  margin-top: 0; }

.wp-block-group.has-background > .wp-block-group__inner-container > .alignfull {
  width: calc( 100% + 60px);
  max-width: calc( 100% + 60px);
  position: relative;
  left: -30px; }

img,
.size-auto,
.size-full,
.size-large,
.size-medium,
.size-thumbnail {
  max-width: 100%;
  height: auto; }

.attachment-post-thumbnail {
  margin-bottom: 1.5em; }

.wp-block-image img {
  display: block; }

.wp-block-image.alignleft,
.wp-block-image.alignright {
  width: 100%; }

.wp-block-image.alignfull img {
  width: 100vw; }

.wp-block-image .alignleft img,
.wp-block-image .alignright img,
.wp-block-image .alignleft figcaption,
.wp-block-image .alignright figcaption {
  max-width: 100%;
  width: 100%; }

.wp-block-image .alignfull,
.wp-block-gallery.alignfull {
  width: 100vw; }

.wp-block-image .alignright,
.wp-block-image .alignleft,
.wp-block-gallery.alignright,
.wp-block-gallery.alignleft {
  max-width: calc((720px / 2) - 16px); }

.wp-block-image .alignright,
.wp-block-gallery.alignright {
  margin-left: 2rem; }

.wp-block-image .alignleft,
.wp-block-gallery.alignleft {
  margin-right: 2rem; }

.wp-block-embed.type-video > .wp-block-embed__wrapper {
  position: relative;
  width: 100%;
  height: 0;
  padding-top: 56.25%; }

.wp-block-embed.type-video > .wp-block-embed__wrapper > iframe {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0; }

.wp-block-video video {
  max-width: 720px; }

.wp-block-table {
  overflow-x: auto;
  margin: 1.5rem0; }

.wp-block-table table {
  border-collapse: collapse; }

.wp-block-table td, .wp-block-table th {
  padding: .5em; }

#comments,
#reply-title {
  margin-top: 1.5rem;
  margin-bottom: 1rem; }

.comment-list,
.comment-list ul {
  padding-left: 0; }

.comment-list li {
  padding: 1rem; }

.comment-meta {
  margin-bottom: 1rem; }

.comment-list,
.comment-list .children {
  list-style-type: none; }

.comment {
  border: 1px solid #dee2e6;
  border-radius: .25rem;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075); }

  /**
  RISTO+
  */
:root {
 --bs-primary:#8a5c32;
 --bs-link-color-rgb:138, 92, 50;
 --bs-link-hover-color-rgb: 108, 72, 38;
}
.btn {
  --bs-btn-hover-bg: #ee3333;
  --bs-btn-hover-border-color: #ee3333;
}
.btn-primary {
  --bs-btn-bg: #ef8c18;
  --bs-btn-border-color: #ef8c18;
  --bs-btn-hover-bg: #c67415;
  --bs-btn-hover-border-color: #c67415;
}
.active > .page-link, .page-link.active {
  --bs-pagination-active-bg:#ef8c18;
  --bs-pagination-active-border-color:#ef8c18;
}
.page-link {
  --bs-pagination-color:#8a5c32;
}
.form-control:focus {
  border-color: #ef8c18;
  box-shadow: 0 0 0 .25rem rgba(138, 92, 50,.25);
}
.navbar-brand{
  --bs-navbar-brand-margin-end:0;
  max-width: 10rem;
}
.middle-brand {
  transform: translateX(-30px);
}
@media (max-width: 991.98px) {
  .middle-brand,
  .last-brand {
    display: none;
  }
}
.risto-toggler {
	 --bs-border-width:0;
	cursor: pointer;
	text-decoration: none;
	position: relative;
	display: block !important;
	z-index: 1050;
  height: 40px;
  width: 60px;
  text-align: left;
}
.navbar-toggler:focus {
  text-decoration: none;
  outline: 0;
  box-shadow: none;
}
.risto-toggler span {
		position: relative;
		zoom: 1;
		height: 2px;
		width: 1em;
		background: transparent;
		transition: all .2s ease-out;}
		.risto-toggler span::before {
			content: '';
			width: 2em;
			height: 2px;
			background: black;
			position: absolute;
			left: 0;
			transition: 0.2s;
			transform: rotateZ(45deg);
			top:0;
		  }
		.risto-toggler span::after {
			content: '';
			width: 2em;
			height: 2px;
			background: black;
			position: absolute;
			left: 0;
			transition: 0.2s;
			transform: rotateZ(-45deg);
			bottom:0;
		}
		.risto-toggler.collapsed span {
			background: black;}
			.risto-toggler.collapsed span::before {
				top:-0.6em;
				transform: rotateZ(0deg);
			}
			.risto-toggler.collapsed span::after {
				bottom:-0.6em;
				transform: rotateZ(0deg);
			}
		
		.risto-toggler.collapsed :hover span::before {
					top:-0.4em;
				}
				.risto-toggler.collapsed :hover span::after{
					bottom:-0.4em;
				}

/* @media (min-width: 992px) {
  .navbar-nav .dropdown-menu[data-bs-popper] {
    display: flex;
    justify-content: center;
    flex-direction: column;
    top: 0;
    left: var(--bs-offcanvas-width);
    margin-top: var(--bs-dropdown-spacer);
    position: fixed !important;
    width: calc(100vw - var(--bs-offcanvas-width));
    height: 100vh;
  }
} */

ul.dropdown-menu {
	border:0;
	margin-bottom:2rem;
}
ul.dropdown-menu li {
	border-bottom: 1px solid #DADADA;
}
.wp-latest3__card {
  border-radius: 18px;
}

.wp-latest3__ratio img{
  object-fit: cover;
  display: block;
}

.wp-latest3__shade{
  position:absolute;
  inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.65) 100%);
  pointer-events:none;
}

/* Titoli grandi come nello screenshot */
.wp-latest3__title--big{
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
  text-shadow: 0 2px 12px rgba(0,0,0,.35);
}

.wp-latest3__title--small{
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  line-height: 1.1;
  text-shadow: 0 2px 12px rgba(0,0,0,.35);
}

/* Per dare “peso” visivo simile (altezza coerente) */
@media (min-width: 992px){
  .wp-latest3__card--small .wp-latest3__ratio,
  .wp-latest3__card--big .wp-latest3__ratio{
    --bs-aspect-ratio: 75%; /* 4:3 = 3/4 = 0.75 */
  }
}
