/*
Theme Name: Yattaran Desktop
Theme URI:
Author: FreebiesCafe
Author URI: https://freebiescafe.com
Description: Kubchild con lo scaffale a sinistra, senza barra laterale. A modern remake of the famous Kubrick theme. Customizable header gradient, lightweight CSS3 build and modern standards compliant. Fun to remember the old days. Enjoy!
Version: 9.9.9
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: responsive-kubchild
Tags: blog, two-columns, custom-menu, sticky-post, translation-ready, right-sidebar, custom-background, editor-style, threaded-comments, rtl-language-support

This theme, like WordPress, is licensed under the GPL.
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Typography
# Elements
# Forms
# Navigation/Links
# Accessibility
# Alignments
# Clearings
# Widgets
# Content
	## Posts and pages
	## Asides
	## Comments
	## Countdown
# Infinite scroll
# Media
	## Captions
	## Galleries
# Media Queries
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
html {
	font-family: sans-serif;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust:     100%;
}

body {
	margin: 0;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary {
	display: block;
}

audio,
canvas,
progress,
video {
	display: inline-block;
	vertical-align: baseline;
}

audio:not([controls]) {
	display: none;
	height: 0;
}

[hidden],
template {
	display: none;
}

a {
	background-color: transparent;
}

a:active,
a:hover {
	outline: 0;
}

abbr[title] {
	border-bottom: 1px dotted;
}

b,
strong {
	font-weight: 900;
}

dfn {
	font-style: italic;
}

h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

mark {
	background: #ff0;
	color: #000;
}

small {
	font-size: 80%;
}

sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sup {
	top: -0.5em;
}

sub {
	bottom: -0.25em;
}


svg:not(:root) {
	overflow: hidden;
}

figure {
	margin: 0;
}

hr {
	box-sizing: content-box;
	height: 0;
}

pre {
	overflow: auto;
}

code,
kbd,
pre,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

button,
input,
optgroup,
select,
textarea {
	color: inherit;
	font: inherit;
	margin: 0;
}

button {
	overflow: visible;
}

button,
select {
	text-transform: none;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
	-webkit-appearance: button;
	cursor: pointer;
}

button[disabled],
html input[disabled] {
	cursor: default;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
	border: 0;
	padding: 0;
}

input {
	line-height: normal;
}

input[type="checkbox"],
input[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

input[type="search"] {
	-webkit-appearance: textfield;
	box-sizing: content-box;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

fieldset {
	border: 1px solid #c0c0c0;
	margin: 0 2px;
	padding: 0.35em 0.625em 0.75em;
}

legend {
	border: 0;
	padding: 0;
}

textarea {
	overflow: auto;
}

optgroup {
	font-weight: 900;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

td,
th {
	padding: 0;
}

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
html	{
	font-size: 16px;
}

body,
button,
input,
select,
textarea {
	color: #313131;
	
	line-height: 1.5;
	font-family: 'Lucida Grande', Verdana, Arial, sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
    color: #313131;
    padding: 0;
	font-family: 'Trebuchet MS', 'Lucida Grande', Verdana, Arial, sans-serif;
}

h1 {
    font-size: 1.8rem;
    line-height: 3.2rem;
}

h2 {
    margin: 0 0 30px;
    font-size: 2.4rem;
    line-height: 1.2rem;

}

h3 {
    margin: 0 0 30px 0;
    font-size: 1.8rem;
    line-height: 2rem;
}

h4 {
    margin: 0 0 30px;
    font-size: 1.4rem;
    line-height: 1.8rem;
}

h5 {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.6rem;
}

h6 {
    margin: 10px 0;
    font-size: 1rem;
    line-height: 1.5rem;
}

p {
	margin-bottom: 0.5em;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0;
}

q {
	quotes: "“" "”" "‘" "’";
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", Courier, monospace;
	font-size: 0.9375rem;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
	font-size: 0.9375rem;
    color: #022160;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
html {
	box-sizing: border-box;
}

*,
*:before,
*:after { /* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
	box-sizing: inherit;
}

body {
	background: #e8e6e8;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
	content: "";
}

blockquote	{max-width:100%;position:relative;-moz-border-radius:10px;-khtml-border-radius:10px;-webkit-border-radius:10px;border-radius:32px;font-size:14px;margin:.25em .2em;padding:.25em 20px;line-height:1.8;color:#fff;background:#2f9fff}

blockquote p	{
	margin-top: 1px;
}


blockquote,
q {
	quotes: "" "";
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 2rem;
	padding: 0 0 0 1rem;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: 900;
}

dd {
	margin: 0 1.5em 1.5em;
}

img {
	height: auto; /* Make sure images are scaled correctly. */
	max-width: 100%; /* Adhere to container width. */
	
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

table th,
table td {
	padding: 10px;
	border: 1px solid #ccc;
	border-collapse: collapse;
}

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 0;
	border-radius: 7px;
	background: #1e73be;
	color: #fff;
	font-size: 1rem;
	line-height: 0.5;
	padding: 0.4em 1.2em;
	text-transform: lowercase;
	float: right;
	margin-bottom: 16px;
	margin-right: 4px;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {}

button:focus,
input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
button:active,
input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
}

select {
	border: 1px solid #ccc;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"] {
	padding: 3px;
}

textarea {
	padding-left: 3px;
	width: 100%;
}

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
a,
a:visited,
a:focus,
a:active {
	color: #1e73be;
	text-decoration: none;
}

a:hover {
	color: #cc3000;
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

h1 a,
h2 a,
h3 a {
	text-decoration: none;
}

/*--------------------------------------------------------------
## Navigation/Links
--------------------------------------------------------------*/
.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
	margin: 0 0 1.5em;
	overflow: hidden;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	float: left;
	width: 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	float: right;
	text-align: right;
	width: 50%;
}

/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar. */
}

/* Do not show the outline on the skip link target. */
#content[tabindex="-1"]:focus {
	outline: 0;
}

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}

.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/*--------------------------------------------------------------
# Clearings
--------------------------------------------------------------*/
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
	content: "";
	display: table;
	table-layout: fixed;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
	clear: both;
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widget-area	{
	width: 162px;
	float: left;
	font-size: 0.78rem;
	text-align: justify;
	line-height: 2;
	margin: 0 0 0 10px;
	padding:  17px 0;
}

.widget-area ul {
	list-style-type: none;
	margin: 0 0 0 0;
}

.widget-area li {
	list-style-type: none;
	margin: 0 0 0 -13px;
}

.widget-area ul li:before {
	content: "ぅ \0020";
}

.widget {
	margin: 0 0 0 0;
	padding: 0;
}

.widget a {
	text-decoration: none;
}

.widget:first-child {
	margin: 0;
}


/* Make sure select elements fit in widgets. */
.widget select,
.widget input {
	max-width: 92%;
}

.widget-title {
	font-size: 0.8rem;
	margin: 20px 0 4px 0;
	text-transform: none;
	
}

#wp-calendar	{
	font-size: 0.7rem;
}

#wp-calendar th,
#wp-calendar td	{
	padding: 3px;
	text-align: center;
	border: 0;
}


.search-submit	{
	margin-top: 10px;
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
#page	{
	background: #fff;
	border-radius: 10px;
	box-shadow: 0 0 20px rgba(0, 0, 0, .5);
	width: 90%;
	max-width: 760px;
	margin: 30px auto;
	padding: 10px 10px 0;
}


.site-header	{
	background: linear-gradient(to bottom, #006be6 0%, #ffffff 100%);
	border-radius: 8px 8px 10px 10px;
	color: #fff;
	text-align: center;
	display: flex;
	flex-flow: row wrap;
	justify-content: space-between;
	align-content: center;
	align-items: center;
	width: 100%;
	min-height: 190px;
}

.site-header a	{
	color: #fff;
}

.site-branding	{
	height: auto;
	flex: 0 1 auto;
}

.site-title	{
	margin: 0 0 20px !important;
	font-size: 3.2rem;
	line-height: 1.4;
	font-weight: bold;
	font-family: 'Trebuchet MS', 'Lucida Grande', Verdana, Arial, sans-serif;
}

.site-description	{
	margin: 0;
	font-size: 1rem;
}


.content-area	{
	float: left;
	padding-left: 20px;
	padding-right: 30px;
	width: calc(100% - 190px);
	padding-top: 40px;
	font-size: 0.9rem;
	text-align: justify;
	line-height: 2;
}

.site-footer	{
	text-align: center;
	width: calc(100% + 20px);
	margin-left: -10px;
	font-size: 0.8rem;
	display: block;
	border: 0;
	background: linear-gradient(to bottom, #fff 30%, #666ccc 100%);
	color: #333;
	margin-top: 90px;
	padding: 10px;
	border-radius: 0 0 10px 10px;
}

.site-footer a	{
	text-decoration: none;
}

.site-footer a:hover	{
	color: #333;
}

.site-footer #primary-menu	{
	list-style-type: none;
}

.site-footer #primary-menu li	{
	display: inline-block;
	padding: 0 0 0 0;
}

/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
.entry-header	{
	position: relative;
		margin-bottom: 0;
}

.read {
	display: inline-block;
	margin-bottom: 10px;
	font-size: 0.850rem;
	text-decoration: none;
}

.entry-title {
	font-size: 1.2rem;
	letter-spacing: 0;
	margin-bottom: -8px;

	}

.entry-title a {
	color: #333;
}

.entry-meta,
.entry-meta a	{
	color: #777;
	font-size: 0.650rem;
	margin-top: 10px;
	}

.entry-footer	{
	font-size: 0.78rem;
	text-align: center;
	margin-top: 30px;
}

.attachment-post-thumbnail {
	margin-bottom: 2rem;
}

.sticky {
	display: block;
	background: #f9f9f9;
	padding: 30px;
}

.hentry {
	margin: 0 0 60px;
}

.posted-on	{
	font-size: 0rem;
	color: #777;
}

.posted-on a	{
	text-decoration: none;
	color: #777;
}

.entry-footer a,
.author.vcard a {
	text-decoration: none;
}

.byline,
.updated:not(.published) {
	display: none;
}

.single .byline,
.group-blog .byline {
	display: inline;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 0 0 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

span.page-numbers.current 	{
	background: #333;
	color: #fff;
}

.nav-links {
	font-size: 0.8rem;
	margin-bottom: 0px;
}

.nav-links a {
	display: inline-block;
	padding: 0 4px;
	margin-right: 10px;
	text-decoration: none;
	color: #777;
}

.nav-links span {
	display: inline-block;
	padding: 4px;
	margin-right: 10px;
}

.edit-link	{
	margin: 0 10px;
	font-weight: normal;
	text-transform: none;
}

/*--------------------------------------------------------------
## Asides
--------------------------------------------------------------*/
.blog .format-aside .entry-title,
.archive .format-aside .entry-title {
	display: none;
}

/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/
.comment-content a {
	word-wrap: break-word;
}

.comments-title,
.comment-reply-title	{
	font-size: 1.2rem;
}

.bypostauthor {
	display: block;
}

.comments-area	{
	font-size: 0.813rem;
	margin-top: 90px;
}

.comments-area ul,
.comments-area ol	{
	list-style-type: none;
}

.comment-list article	{
	margin-bottom: 30px;
}

/*--------------------------------------------------------------
# Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-navigation, /* Older / Newer Posts Navigation (always hidden) */
.infinite-scroll.neverending .site-footer { /* Theme Footer (when set to scrolling) */
	display: none;
}

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	padding: 0;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

/*--------------------------------------------------------------
## Captions
--------------------------------------------------------------*/
.wp-caption {
	max-width: 100%;
	border: 1px solid #ddd;
	background-color: #f2f2f2;
text-align: center;
padding: 10px;
-moz-border-radius: 10px;
-khtml-border-radius: 10px;
-webkit-border-radius: 10px;
border-radius: 10px;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0;
	font-style: normal;
	font-size: 0.780rem;
}
/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/
.gallery {
	margin-bottom: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	vertical-align: top;
	width: 100%;
}

.gallery-columns-2 .gallery-item {
	max-width: 50%;
}

.gallery-columns-3 .gallery-item {
	max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
	max-width: 25%;
}

.gallery-columns-5 .gallery-item {
	max-width: 20%;
}

.gallery-columns-6 .gallery-item {
	max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
	max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
	max-width: 11.11%;
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Media Queries
--------------------------------------------------------------*/
@media screen and (max-width: 960px) {
	.site-content	{
		padding: 30px;
	}
	.site-title	{
		font-size: 2rem;
	}
	.site-description	{
		font-size: 0.7rem;
	}
    .content-area {
		width: 100%;
		float: none;
	}
	.widget-area {
		width: 100%;
		float: none;
	}
	.widget	{
		padding: 10px;
	}
	.search-submit {
		position: absolute;
		margin: 1px 4px;
	}
	
}


/* Le azioni diventano etichette: maiuscolo, corpo un po' ridotto, lettere spaziate */
.more-link,
.yt-condividi {
	text-transform: uppercase;
	letter-spacing: 0.06em;
	font-size: 0.85em;

}

/* "Continua a leggere": resta azzurro, in grassetto */
.more-link {
	font-weight: bold;
	display: block;
	text-align: center;
	}

/* "Condividi" nella pagina del singolo articolo: rosso e grassetto */
.single .yt-condividi{
	color: #b3261e;
	font-weight: bold;
}
.single .yt-condividi:hover {
	color: #8a1c16;
}


/* Il paragrafo che contiene "Continua a leggere" si stringe verso "Condividi" */
.entry-content p:has(> .more-link) {
	margin-bottom: 0.3em;
}

/* "Condividi" centrato, poco spazio sopra e sotto */
.yt-condividi-box {
	text-align: center;
	margin-bottom: 0.8em;
}

/* I metadati si attaccano alle etichette */
.entry-footer {
}

/* Più aria prima del post successivo */
article.post {
	margin-bottom: 4.5em;
}


/* I titoli non si giustificano */
.entry-header,
.entry-title {
	text-align: left;
}

/* Niente giustificazione nella navigazione tra i post */
.navigation,
.post-navigation,
.nav-links {
	text-align: left;
}


/* Navigazione tra i post: linea sopra ed etichette */
.post-navigation {
	border-top: 1px solid #e5e5e5;
	margin-top: 2.5em;
	padding-top: 1.5em;
}
.post-navigation .nav-previous a::before,
.post-navigation .nav-next a::before {
	display: block;
	font-size: 0.75em;
	font-weight: bold;
	letter-spacing: 0.06em;
	margin-bottom: 0.4em;
}
.post-navigation .nav-previous a::before {
	content: "POST PRECEDENTE";
}
.post-navigation .nav-next a::before {
	content: "POST SUCCESSIVO";
}

.entry-content {
	-webkit-hyphens: auto;
	hyphens: auto;
}

/* Link leggibili dentro i blocchi di citazione (fondo blu) */
.entry-content blockquote a,
blockquote a {
	color: #ffff00;
}
.entry-content blockquote a:hover,
blockquote a:hover {
	color: #ffffff;
}


/*==============================================================
  YATTARAN DESKTOP — tutto quello che segue è nuovo.
  Sopra è Kubchild com'era.
==============================================================*/

/* Il colore di fondo dello scaffale: si cambia qui (per esempio #fbf3c9 per il giallo chiaro) */
:root {
	--fondo-scaffale: #ffffff;
	/* Lo scaffale cresce con lo schermo: mai meno di 420 pixel, mai più di 540 */
	--larghezza-scaffale: clamp(420px, 32vw, 540px);
}

/* --- Le due metà --- */
.scaffale {
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	width: var(--larghezza-scaffale);
	background: var(--fondo-scaffale);
	overflow-y: auto;
	padding: 40px 16px;
	display: flex;
	flex-direction: column;
	align-items: center;
	z-index: 10;
}
.admin-bar .scaffale {
	top: 32px;
}
.destra {
	margin-left: var(--larghezza-scaffale);
	padding: 0 20px;
}
#page {
	max-width: 760px;
}

/* Senza barra laterale la colonna dei post prende tutta la larghezza */
.content-area {
	width: 100%;
	float: none;
	padding-left: 25px;
	padding-right: 25px;
}

/* --- I banner --- */
.scaffale-banner {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 24px 20px;
	width: 100%;
	max-width: 508px;
	margin: auto 0;
}
.scaffale-banner[hidden] {
	display: none;
}
.banner {
	display: block;
	/* Sempre due colonne, larghi quanto lo scaffale permette,
	   ma non più di quanto serve perché tre file stiano nell'altezza dello schermo */
	width: min(calc((100% - 20px) / 2), max(130px, calc((100vh - 200px) * .2422)));
	aspect-ratio: 162 / 223;
	overflow: hidden;
	transition: opacity .15s;
}
.banner:hover {
	opacity: .88;
}
.banner img {
	display: block;
	width: 100%;
	height: 100%;
}
/* Banner senza immagine: scritto, nello stile dei banner veri */
.banner-scritto,
.banner-scritto:visited,
.banner-scritto:hover {
	background: #21416a;
	color: #ecc239;
	font-family: Georgia, 'Times New Roman', serif;
	text-align: right;
	padding: 20px 14px;
	line-height: 1.05;
}
.banner-scritto b {
	display: block;
	font-style: italic;
	font-weight: normal;
	font-size: 1.7rem;
}
.banner-scritto small {
	display: block;
	font-size: .9rem;
	margin-top: 8px;
}
.scaffale-avviso {
	font-size: .8rem;
	color: #b3261e;
}

/* --- La ricerca in fondo allo scaffale --- */
.scaffale-cerca {
	display: flex;
	gap: 8px;
	margin: 36px 0 0;
	width: 100%;
	max-width: 300px;
}
.scaffale-cerca input[type="search"] {
	flex: 1;
	box-sizing: border-box;
	border: 1px solid #bbb;
	border-radius: 0;
	padding: 5px 8px;
	font-size: .85rem;
	background: #fff;
}
.scaffale-cerca button {
	float: none;
	margin: 0;
	border-radius: 0;
	background: #313131;
	line-height: 1.2;
	padding: 5px 14px;
	font-size: .85rem;
}

/* --- Sotto la ricerca: menù delle categorie, blogroll e altri widget --- */
.scaffale-widget {
	width: 100%;
	max-width: 344px;
	margin: 28px 0 0;
	font-size: .85rem;
	line-height: 1.6;
}
.scaffale-widget .widget {
	margin: 0 0 22px;
}
.scaffale-widget .widget-title {
	font-size: .75rem;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: #666;
	margin: 0 0 6px;
	padding-top: 10px;
	border-top: 1px solid rgba(0, 0, 0, .12);
}
.scaffale-widget ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.scaffale-widget li {
	margin: 0 0 2px;
}
.scaffale-widget select {
	width: 100%;
	max-width: 100%;
	font-size: .85rem;
	padding: 4px;
}
/* la ricerca c'è già sopra: quella del vecchio widget non serve */
.scaffale-widget .widget_search {
	display: none;
}
/* su schermi stretti i widget stanno sotto Kubrick (li sposta scaffale.js) */
.scaffale-widget.in-fondo {
	max-width: none;
	margin: 40px 0 0;
	padding: 0 25px;
}
.scaffale-widget.in-fondo select {
	max-width: 360px;
}
/* mentre una vetrina è aperta, i widget si nascondono */
.vetrina:not([hidden]) ~ .scaffale-widget {
	display: none;
}

/* --- Le vetrine nello scaffale --- */
.vetrina {
	width: 100%;
	max-width: 508px;
	padding: 0 10px;
	align-self: flex-start;
}
.vetrina[hidden] {
	display: none;
}
.vetrina-testa {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	margin: 0 0 16px;
}
.vetrina-pagina-intera,
.vetrina-pagina-intera:visited {
	font-size: .8rem;
	color: #777;
}
.vetrina-indietro,
.vetrina-indietro:visited {
	display: block;
	font-size: .9rem;
	color: #313131;
	margin: 0;
}
.vetrina-titolo {
	font-size: 1.3rem;
	line-height: 1.3;
	margin: 0 0 4px;
}
.vetrina-sotto {
	font-size: .875rem;
	color: #666;
	margin: 0 0 14px;
}

/* Le voci: valgono sia nello scaffale sia quando la pagina-vetrina si apre a destra */
.vetrina-voci h4,
.vetrina-pagina h4 {
	font-size: .8rem;
	line-height: 1.4;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: #666;
	margin: 22px 0 8px;
	padding-top: 10px;
	border-top: 1px solid rgba(0, 0, 0, .12);
}
.vetrina-voci p,
.vetrina-pagina p {
	overflow: hidden;
	margin: 0 0 14px;
	text-align: left;
}
.vetrina-voci p {
	font-size: .875rem; /* 14 pixel, come il testo dei post */
	line-height: 1.5;
}
.vetrina-voci img,
.vetrina-pagina img {
	float: left;
	width: 72px !important;
	height: 72px !important;
	object-fit: cover;
	margin: 3px 12px 4px 0;
}
.vetrina-pagina img {
	width: 100px !important;
	height: 100px !important;
	margin-right: 18px;
}
.vetrina-voci strong,
.vetrina-pagina strong {
	font-family: 'Trebuchet MS', 'Lucida Grande', Verdana, Arial, sans-serif;
}
/* Didascalie [caption] dentro le vetrine: si tiene solo l'immagine */
.vetrina-voci .wp-caption,
.vetrina-pagina .wp-caption {
	float: left;
	width: auto !important;
	border: 0;
	background: none;
	padding: 0;
	margin: 0;
}
.vetrina-voci .wp-caption-text,
.vetrina-pagina .wp-caption-text {
	display: none;
}

/* --- Immagini dei post a tutta colonna ---
   Solo quelle dichiarate da 440 pixel in su: copertine e immagini piccole
   allineate di lato restano come sono. */
.entry-content .wp-caption:has(img[width="440"], img[width="450"], img[width="500"], img[width="560"]) {
	width: auto !important;
}
.entry-content img[width="440"],
.entry-content img[width="450"],
.entry-content img[width="500"],
.entry-content img[width="560"] {
	width: 100%;
	height: auto;
}

/* --- Schermi stretti: lo scaffale va sopra, i banner in fila --- */
@media screen and (max-width: 1219px) {
	.scaffale {
		position: static;
		width: auto;
		padding: 30px 16px 10px;
	}
	.destra {
		margin-left: 0;
		padding: 0 16px;
	}
	#page {
		margin-left: auto;
		margin-right: auto;
	}
	.scaffale-banner {
		display: grid;
		grid-template-columns: repeat(6, 1fr);
		gap: 10px;
		max-width: 760px;
		width: 100%;
	}
	.banner,
	.banner img {
		width: 100%;
		height: auto;
		aspect-ratio: 162 / 223;
	}
	.banner-scritto {
		padding: 10px 8px;
	}
	.banner-scritto b {
		font-size: 1rem;
	}
	.banner-scritto small {
		font-size: .65rem;
	}
	.vetrina {
		max-width: 760px;
		align-self: center;
	}
	.scaffale-cerca {
		margin-top: 20px;
	}
}
