/*
Theme Name: Foto
Theme URI: https://davide.baraldi.net/
Description: Tema WordPress responsive per fotografi, street photography, reportage e storytelling visivo, con gallerie immersive e layout editoriali.
Version: 1.2.62
Requires at least: 7.0
Requires PHP: 8.2
Author: Davide Baraldi
Author URI: https://davide.baraldi.net/
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: foto
Tags: photography, portfolio, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

Original-source copyright and GPL notices are preserved in readme.txt.
*/

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

/* 760px */

/* 500px */

/* 240px */

/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
font,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td {
	border: 0;
	font-family: inherit;
	font-size: 100%;
	font-style: inherit;
	font-weight: inherit;
	margin: 0;
	outline: 0;
	padding: 0;
	vertical-align: baseline;
}

html {
	font-family: sans-serif;
	font-size: 62.5%;	/*! 10px */
	-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: bold;
}

dfn {
	font-style: italic;
}

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;
}

img {
	border: 0;
}

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

figure {
	margin: 1em 40px;
}

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'] {
	cursor: pointer;
	-webkit-appearance: button;
}

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'] {
	box-sizing: content-box;
	-webkit-appearance: textfield;
}

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: bold;
}

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

td,
th {
	padding: 0;
}

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
body,
button,
input,
select,
textarea {
	color: #777;
	font-family: Arimo, Arial, sans-serif;
	font-size: 16px;
	font-size: 1.6rem;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
	color: #333;
	font-family: 'Roboto Condensed', Arial, sans-serif;
	font-weight: 700;
	line-height: 1.3;
	text-transform: uppercase;
}

h1 {
	font-size: 36px;
	font-size: 3.6rem;
	line-height: 1.333;
	margin-bottom: 0.6667em;
}

h2 {
	font-size: 30px;
	font-size: 3rem;
	line-height: 1.6;
	margin-bottom: 0.8em;
}

h3 {
	font-size: 24px;
	font-size: 2.4rem;
	line-height: 1;
	margin-bottom: 1em;
}

h4 {
	font-size: 20px;
	font-size: 2rem;
	line-height: 1.2;
	margin-bottom: 1.2em;
}

h5,
h6 {
	font-size: 16px;
	font-size: 1.6rem;
	line-height: 1.5;
	margin-bottom: 1.5em;
}

.site-title {
	font-size: 2.5714em;
	margin-bottom: 0;
}

.site-title a,
.site-title a:hover {
	color: #000;
	opacity: 1;
	text-decoration: none;
}

.site-description {
	font-size: 16px;
	font-size: 1.6rem;
	font-weight: 400;
	margin: 0 0 1.5em;
}

.comments-title,
.comment-reply-title {
	font-size: 24px;
	font-size: 2.4rem;
	margin: 3em 0 1.5em;
}

.widget-title {
	font-size: 18px;
	font-size: 1.8rem;
	line-height: 1.3333;
}

.page-title,
.entry-title {
	font-size: 32px;
	font-size: 3.2rem;
	margin-bottom: 1.125em;
}

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

.page-title a:hover,
.entry-title a:hover {
	color: #888;
}

p {
	margin: 0 0 1.5em;
}

p:last-child {
	margin-bottom: 0;
}

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

blockquote {
	color: #aaa;
	font-size: 24px;
	font-size: 2.4rem;
	line-height: 1.5;
	margin: 1.5em 0;
}

blockquote p {
	margin-bottom: 0;
}

blockquote cite {
	display: block;
	font-size: 14px;
	font-size: 1.4rem;
	font-style: normal;
	margin-top: 0.857em;
	text-transform: uppercase;
}

blockquote:first-child {
	margin-top: 0;
}

blockquote:last-child {
	margin-bottom: 0;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: 'Courier 10 Pitch', Courier, monospace;
	font-size: 15px;
	font-size: 1.5rem;
	line-height: 1.5;
	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: 15px;
	font-size: 1.5rem;
	line-height: 1.5;
}

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: #fff;	/* Fallback for when there is no custom background color defined. */
}

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

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

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

ul,
ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 40px;
}

dt {
	font-weight: bold;
}

dd {
	margin: 0 1.5em 1.5em;
}

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

table {
	border-top: 1px solid #eee;
	margin: 0 0 1.5em;
	width: 100%;
}

th {
	background: #eee;
	font-weight: bold;
}

th,
td {
	border-bottom: 1px solid #eee;
	padding: 10px 20px;
}

@media screen and (max-width:767px) {
	th,
	td {
		padding: 5px 10px;
	}

}

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
button,
input[type='button'],
input[type='reset'],
input[type='submit'],
#infinite-handle span {
	background: #333;
	border: 0;
	color: #fff;
	display: inline-block;
	font-family: 'Roboto Condensed', Arial, sans-serif;
	font-size: 16px;
	font-size: 1.6rem;
	letter-spacing: 0.5px;
	line-height: 2.5;
	padding: 0 1em;
	text-transform: uppercase;
	transition: all 250ms ease;
	-moz-transition: all 250ms ease;
	-o-transition: all 250ms ease;
	-webkit-transition: all 250ms ease;
}

button:hover,
button:active,
button:focus,
input[type='button']:hover,
input[type='button']:active,
input[type='button']:focus,
input[type='reset']:hover,
input[type='reset']:active,
input[type='reset']:focus,
input[type='submit']:hover,
input[type='submit']:active,
input[type='submit']:focus,
#infinite-handle span:hover,
#infinite-handle span:active,
#infinite-handle span:focus {
	background: #555;
}

input[type='text'],
input[type='email'],
input[type='url'],
input[type='password'],
input[type='search'],
textarea {
	border: 1px solid rgba(0, 0, 0, 0.06);
	box-shadow: 4px 7px 4px 0 rgba(0, 0, 0, 0.01) inset;
	color: #666;
}

input[type='text']:focus,
input[type='email']:focus,
input[type='url']:focus,
input[type='password']:focus,
input[type='search']:focus,
textarea:focus {
	color: #111;
}

input[type='text'],
input[type='email'],
input[type='url'],
input[type='password'],
input[type='search'] {
	padding: 8px 10px 6px;
}

label {
	display: block;
}

.search-form label,
.post-password-form label {
	display: inline;
}

textarea {
	padding: 6px;
	width: 100%;
}

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/

/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
a {
	color: #000;
	text-decoration: none;
}

a:hover,
a:focus,
a:active {
	color: #333;
}

a:focus {
	outline: thin dotted;
}

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

a img {
	border: 0;
}

/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/
.main-navigation {
	clear: both;
	display: block;
	margin-bottom: 3em;
	width: 100%;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation ul ul {
	display: none;
}

.main-navigation ul ul a {
	padding-left: 1em;
}

.main-navigation ul ul ul a {
	padding-left: 2em;
}

.main-navigation ul ul.toggled {
	border-bottom: 0;
	display: block;
	position: relative;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

.main-navigation li {
	border-top: 1px solid rgba(0, 0, 0, 0.06);
	position: relative;
}

.main-navigation li.menu-item-has-children > a {
	padding-right: 49px;
}

.main-navigation a {
	color: #999;
	display: block;
	line-height: 1.5;
	padding: 0.75em 0;
	text-decoration: none;
}

.main-navigation a:hover {
	color: #333;
}

.main-navigation .current_page_item > a,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_ancestor > a {
	color: #333;
	font-weight: 700;
}

/* Small menu. */
.menu-toggle {
	background: none;
	border-bottom: 1px solid rgba(0, 0, 0, 0.06);
	color: #aaa;
	font-family: Arimo, Arial, sans-serif;
	padding: 0;
	width: 100%;
}

.menu-toggle:after {
	content: '';
	display: none;
}

.menu-toggle:hover,
.main-navigation.toggled .menu-toggle,
.menu-toggle:focus {
	background: none;
	color: #000;
}

.main-navigation.toggled .menu-toggle {
	border-bottom: none;
}

.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

.menu-toggle ul,
.main-navigation.toggled ul ul {
	display: none;
}

.menu-toggle ul.toggled,
.main-navigation.toggled ul ul.toggled {
	display: block;
}

.main-navigation .sub-menu li a:before,
.main-navigation .children li a:before {
	color: #aaa;
	content: '\2013\00a0';
}

/* Dropdown Toggle */
.dropdown-toggle {
	background: #fff;
	border: 0;
	color: #999;
	height: 48px;
	padding: 0;
	position: absolute;
	right: 0;
	top: 0;
	width: 48px;
	z-index: 1;
}

.dropdown-toggle:active,
.dropdown-toggle:focus,
.dropdown-toggle:hover {
	background: #fff;
	color: #999;
}

.dropdown-toggle:before {
	content: '\f431';
	font-family: Genericons;
	font-size: 24px;
	height: 48px;
	line-height: 48px;
	width: 48px;
}

.dropdown-toggle.toggled:before {
	content: '\f432';
}

/* Social Links Menu */
.social-links {
	margin-bottom: 4.5em;
}

.social-links ul a:before {
	display: inline-block;
	font-family: Genericons;
	vertical-align: top;
	-webkit-font-smoothing: antialiased;
}

.social-links ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.social-links ul li {
	float: left;
	list-style: none;
	margin: 0;
}

.social-links ul a {
	display: inline-block;
	margin: 1px 1px 0 0;
	text-decoration: none;
}

.social-links ul a:before {
	background: #eee;
	color: #888;
	content: '\f415';
	font-size: 20px;
	font-size: 2rem;
	line-height: 1em;
	padding: 0.5em 0.5em;
	text-align: center;
	transition: all ease 0.25s;
	-moz-transition: all ease 0.25s;
	-o-transition: all ease 0.25s;
	-webkit-transition: all ease 0.25s;
}

.social-links ul a:hover:before {
	background: #888;
	color: #eee;
}

.social-links ul a[href*='facebook.com']::before {
	content: '\f204';
}

.social-links ul a[href*='twitter.com']::before {
	content: '\f202';
}

.social-links ul a[href*='dribbble.com']::before {
	content: '\f201';
}

.social-links ul a[href*='plus.google.com']::before {
	content: '\f218';
}

.social-links ul a[href*='pinterest.com']::before {
	content: '\f209';
}

.social-links ul a[href*='flickr.com']::before {
	content: '\f211';
}

.social-links ul a[href*='github.com']::before {
	content: '\f200';
}

.social-links ul a[href*='tumblr.com']::before {
	content: '\f214';
}

.social-links ul a[href*='youtube.com']::before {
	content: '\f213';
}

.social-links ul a[href*='vimeo.com']::before {
	content: '\f212';
}

.social-links ul a[href*='instagram.com']::before {
	content: '\f215';
}

.social-links ul a[href*='foursquare.com']::before {
	content: '\f226';
}

.social-links ul a[href*='linkedin.com']::before {
	content: '\f207';
}

.social-links ul a[href*='skype.com']::before {
	content: '\f220';
}

.social-links ul a[href*='codepen.io']::before {
	content: '\f216';
}

.social-links ul a[href*='path.com']::before {
	content: '\f219';
}

.social-links ul a[href*='digg.com']::before {
	content: '\f221';
}

.social-links ul a[href*='dropbox.com']::before {
	content: '\f225';
}

.social-links ul a[href*='mailto:']::before {
	content: '\f410';
}

.social-links ul a[href*='reddit.com']::before {
	content: '\f222';
}

.social-links ul a[href*='/feed/']::before {
	content: '\f413';
}

.social-links ul a[href*='spotify.com']::before {
	content: '\f515';
}

.social-links ul a[href*='stumbleupon.com']::before {
	content: '\f223';
}

.social-links ul a[href*='twitch.tv']::before {
	content: '\f516';
}

.social-links ul a[href*='wordpress.com']::before,
.social-links ul a[href*='wordpress.org']::before {
	content: '\f205';
}

@media screen and (min-width:48em) {
	.menu-toggle {
		display: none;
	}

	.main-navigation ul {
		display: block;
	}

	.main-navigation ul ul {
		display: none;
	}

	.social-links {
		margin-bottom: 3em;
	}

}

/* Posts & Comments navigation */
.comment-navigation,
.posts-navigation,
.post-navigation {
	margin-bottom: 1.5em;
	max-width: 640px;
	overflow: hidden;
	padding: 0.75em 0;
}

.comment-navigation a:hover,
.posts-navigation a:hover,
.post-navigation a:hover {
	border-bottom: 1px solid #000;
}

.posts-navigation,
.post-navigation {
	border-bottom: 1px solid #eee;
	border-top: 1px solid #eee;
	margin: 0 0 3em;
}

.comment-navigation .nav-previous a:before,
.posts-navigation .nav-previous a:before,
.post-navigation .nav-previous a:before {
	content: '\2190';
	margin-right: 2px;
}

.comment-navigation .nav-next a:after,
.posts-navigation .nav-next a:after,
.post-navigation .nav-next a:after {
	content: '\2192';
	margin-left: 2px;
}

/* Page links */
.single .page-links,
.page .page-links {
	clear: both;
	margin: 3em 0 1.5em;
}

.page-links .page-links-title {
	padding-right: 10px;
}

.page-links .page-links-title,
.page-links span,
.page-links a {
	display: inline-block;
	min-width: 30px;
	text-align: center;
}

.page-links span {
	border-right: 1px solid rgba(0, 0, 0, 0.05);
}

.page-links .page-links-title {
	padding-right: 10px;
}

/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/

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

.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: #777;
	display: block;
	font-size: 8.75px;
	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. */
}

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

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

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

/*--------------------------------------------------------------
# Clearings
--------------------------------------------------------------*/
.clear:before,
.clear:after,
.social-links:before,
.social-links:after,
.hentry:before,
.hentry: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,
.footer-widget-area:before,
.footer-widget-area:after,
.site-footer:before,
.site-footer:after {
	content: '';
	display: table;
}

.clear:after,
.hentry:after,
.social-links:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.footer-widget-area:after,
.site-footer:after {
	clear: both;
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widget {
	margin: 0 0 3em 0;
	overflow: hidden;	/* Make sure select elements fit in widgets. */
	word-wrap: break-word;
}

.widget select {
	max-width: 100%;
}

.widget:not(.widget_text) ul,
.widget:not(.widget_text) ol {
	list-style: none;
	margin: 0;
	padding: 0;
}

.widget:not(.widget_text) li > ul,
.widget:not(.widget_text) li > ol {
	margin-left: 1em;
}

.widget:not(.widget_text) li > ul a:before,
.widget:not(.widget_text) li > ol a:before {
	color: #aaa;
	content: '\2013\00a0';
}

.widget:not(.widget_text) ul > li,
.widget:not(.widget_text) ol > li {
	padding: 0.75em 0 0;
}

.widget a {
	color: #999;
}

.widget a:hover {
	color: #333;
}

/* Search widget. */
.widget_search .search-submit {
	display: none;
}

/* Calendar widget */
.widget_calendar caption {
	text-align: center;
}

.widget_calendar th,
.widget_calendar td {
	border-bottom: 1px solid rgba(0, 0, 0, 0.06);
	padding: 0.75em 0;
	text-align: center;
}

.widget_calendar td {
	color: rgba(0, 0, 0, 0.3);
}

.widget_calendar td a {
	font-weight: 700;
}

.widget_calendar #prev {
	text-align: left;
}

.widget_calendar #next {
	text-align: right;
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
.site-header::-webkit-scrollbar {
	display: none;
}

.site-logo {
	margin-bottom: 3em;
}

.site-branding {
	background: transparent;
	margin-bottom: 1.5em;
	padding: 0;
	text-align: left;
}

.hide-site-title .site-branding {
	left: -9999px;
	position: absolute;
	top: -9999px;
}

#primary {
	opacity: 0;
}

.footer-widget-area {
	border-top: 1px solid #eee;
	margin: 6em 0 0;
	padding: 4.5em 0 0;
}

.site-footer {
	clear: both;
	font-size: 14px;
	font-size: 1.4rem;
	margin: 1.5em 0;
}

.site-footer a:hover {
	border-bottom: 1px solid #333;
}

.footer-name {
	float: none;
	margin: 0 0 0 2px;
}

.sep.noshow {
	display: inline-block;
}

/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
.sticky {
	display: block;
}

.hentry {
	margin: 0 0 6em;
	max-width: 880px;
}

.hentry.page {
	max-width: 640px;
}

.search .hentry.page {
	max-width: 880px;
}

.single .hentry,
.hentry.portfolio-entry {
	float: none;
	margin: 0 0 3em;
}

.featured-image {
	margin-bottom: 3em;
}

.entry-meta {
	color: #aaa;
	display: inline-block;
	font-size: 0.857em;
	margin-top: 1.7143em;
}

.entry-meta span {
	display: block;
	margin-bottom: 0.4375em;
	margin-right: 1em;
}

.entry-meta a:hover {
	border-bottom: 1px solid #000;
}

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

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

.entry-content a,
.entry-summary a,
.page-content a {
	border-bottom: 1px solid #000;
}

.entry-content a:hover,
.entry-summary a:hover,
.page-content a:hover {
	border-bottom: 1px solid #777;
	color: #777;
}

/* Archives */
.taxonomy-description {
	margin-bottom: 3em;
	max-width: 880px;
}

/* 404 Page / No search results */
section.error404 {
	max-width: 880px;
}

.error404 .widget {
	float: left;
	margin: 3em 0;
	width: 45%;
}

.error404 .widget a {
	border-bottom: none;
}

.error404 .widget a:hover {
	color: #333;
}

/*--------------------------------------------------------------
## Portfolio
--------------------------------------------------------------*/
.portfolio-wrapper {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.portfolio-wrapper .portfolio-entry {
	opacity: 0;
	width: 98%;
}

.portfolio-thumbnail {
	line-height: 0;
	position: relative;
	text-align: center;
	z-index: 1;
}

.no-thumbnail .portfolio-thumbnail {
	background: #eee;
}

.project-title {
	color: #fff;
	font-size: 24px;
	font-size: 2.4rem;
	left: 50%;
	margin-bottom: 0;
	opacity: 0;
	position: absolute;
	top: 50%;
	transform: translate(-50%, -50%);
	transition: all 250ms ease;
	-moz-transition: all 250ms ease;
	-ms-transform: translate(-50%, 50%);
	-o-transition: all 250ms ease;
	-webkit-transform: translate(-50%, -50%);
	-webkit-transition: all 250ms ease;
}

.no-thumbnail .project-title {
	color: #888;
	opacity: 1;
}

.portfolio-thumbnail:hover .project-title {
	opacity: 1;
}

.portfolio-thumbnail a {
	background: #000;
	display: block;
	height: 100%;
	position: relative;
	z-index: 0;
}

.no-thumbnail .portfolio-thumbnail a {
	background: none;
	min-height: 200px;
	width: 100%;
}

.portfolio-thumbnail a,
.portfolio-thumbnail img {
	display: inline-block;
	margin: 0 auto;
	transition: all 250ms ease;
	width: 100%;
	-moz-transition: all 250ms ease;
	-o-transition: all 250ms ease;
	-webkit-transition: all 250ms ease;
}

.no-thumbnail .portfolio-thumbnail a:hover {
	background: #ccc;
}

.portfolio-thumbnail a:after {
	bottom: 0;
	content: '';
	left: 0;
	position: absolute;
	right: 0;
	top: 0;
	transition: all 250ms ease;
	-moz-transition: all 250ms ease;
	-o-transition: all 250ms ease;
	-webkit-transition: all 250ms ease;
}

.portfolio-thumbnail a:hover:after {
	box-shadow: inset 0 0 0 10px #000;
}

.portfolio-thumbnail a:hover img {
	opacity: 0.65;
}

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

/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/
.comments-area {
	margin: 0 0 4.5em;
	max-width: 640px;
}

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

.comment-list {
	margin-left: 0;
}

.children {
	margin-top: 1.5em;
}

.comment,
.pingback {
	margin-bottom: 1.5em;
}

.comment-body {
	border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.pingback .comment-body {
	padding-bottom: 1.5em;
}

.comment-meta {
	margin-bottom: 1.5em;
	padding-left: 50px;
}

.comment-author {
	position: relative;
}

.comment .avatar {
	float: none;
	height: auto;
	left: -50px;
	margin: 0;
	max-width: 40px;
	position: absolute;
	top: 3px;
}

.comment-metadata a {
	color: #aaa;
	font-size: 14px;
	font-size: 1.4rem;
}

.comment-metadata a:hover {
	color: #333;
}

.comment-content {
	margin: 0 0 1.5em;
}

.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

.comment-reply-link {
	background: #eee;
	display: inline-block;
	font-family: 'Roboto Condensed', Arial, sans-serif;
	font-size: 12px;
	font-size: 1.2rem;
	padding: 0.25em 0.5em;
	text-transform: uppercase;
}

.comment-reply-link:hover {
	background: #e1e1e1;
}

.form-allowed-tags {
	color: #aaa;
}

.no-comments {
	font-style: italic;
	margin-top: 1.75em;
	text-align: center;
}

/*--------------------------------------------------------------
# Infinite scroll
--------------------------------------------------------------*/

/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-navigation,
.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;
}

#infinite-handle,
.infinite-loader {
	margin: 3em 0;
}

#infinite-footer .container {
	margin-right: 40px;
}

/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/
.site-logo-link img,
.entry-content img,
.page-content img,
.entry-summary img,
.comment-content img,
.widget img {
	vertical-align: middle;
}

.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

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



/*--------------------------------------------------------------
## Captions
--------------------------------------------------------------*/
figure {
	margin: 0;
}

.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

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

.wp-caption-text {
	color: #aaa;
	font-size: 14px;
	font-size: 1.4rem;
	font-style: italic;
	line-height: 1.7143;
	margin: 0.875em 0;
	text-align: left;
}

.wp-caption-text a:hover {
	border-bottom-color: #aaa;
	color: #aaa;
}

/*--------------------------------------------------------------
## 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:767px) {
	#page {
		padding: 5% 5% 0 5%;
	}

}

@media screen and (min-width:480px) {

	/* Footer Widget Areas */
	.footer-widget-area {
		max-width: 640px;
	}

	.footer-widget-area .widget-area {
		float: left;
		margin: 0;
	}

	.footer-widget-area .widget-area:nth-child(1):nth-last-child(1) {
		width: 100%;
	}

	.footer-widget-area .widget-area:nth-child(1):nth-last-child(2),
	.footer-widget-area .widget-area:nth-child(2):nth-last-child(1) {
		margin-right: 6%;
		width: 47%;
	}

	.footer-widget-area .widget-area:nth-child(1):nth-last-child(2):last-of-type,
	.footer-widget-area .widget-area:nth-child(2):nth-last-child(1):last-of-type {
		margin-right: 0;
	}

}

@media screen and (min-width:768px) {
	.site-logo,
	.site-branding,
	.site-description,
	.main-navigation,
	.social-links {
		width: 220px;
	}

	.site-description {
		margin-bottom: 3em;
	}

	.site-header {
		bottom: 0;
		left: 40px;
		max-height: 100%;
		overflow: auto;
		overflow-x: hidden;
		padding-right: 40px;
		position: fixed;
		top: 72px;
		width: 260px;
	}

	.site-content {
		margin-left: 320px;
		margin-right: 40px;
	}

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

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

}

@media screen and (min-width:1025px) {
	.site-header {
		left: 60px;
		width: 270px;
	}

	.site-content {
		margin-left: 360px;
		width: calc(100% - 400px);
	}

	.portfolio-wrapper .portfolio-entry {
		opacity: 0;
		width: 46%;
	}

	.entry-meta {
		float: right;
		margin: 0 0 1.7143em;
		width: 22.72%;
	}

	.entry-meta span {
		margin-top: 0;
	}

	.entry-content,
	.entry-summary {
		float: left;
		width: 72.72%;
	}

}

@media screen and (min-width:1260px) {
	.portfolio-wrapper {
		width: 100%;
	}

	.portfolio-wrapper .portfolio-entry {
		opacity: 0;
		width: 30%;
	}

	img.size-big,
	.wp-caption.caption-big {
		display: inline-block;
		float: none;
		margin-bottom: 1.5em;
		margin-right: -235px;
		max-width: 880px;
	}

	.page .wp-caption.alignright,
	.page img.alignright,
	.page blockquote.alignright {
		margin-right: -120px;
	}

}

@media screen and (min-width:1440px) {
	.portfolio-wrapper .portfolio-entry {
		opacity: 0;
		width: 22%;
	}

}

/* Foto 1.0 — photographic archive */
.archive .site-main,
.blog .site-main,
.home.blog .site-main {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 32px;
}
.archive .page-header { grid-column: 1 / -1; margin-bottom: 8px; }
.archive .site-main article,
.blog .site-main article,
.home.blog .site-main article { margin: 0; }
.archive .site-main article .entry-title,
.blog .site-main article .entry-title,
.home.blog .site-main article .entry-title { font-size: 18px; line-height: 1.2; margin-top: 12px; }
.archive .site-main article img,
.blog .site-main article img,
.home.blog .site-main article img { width: 100%; height: auto; display: block; }
@media screen and (max-width: 900px) {
	.archive .site-main, .blog .site-main, .home.blog .site-main { grid-template-columns: 1fr; gap: 24px; }
}

/* Foto 1.0.3 — quando il titolo della pagina/articolo è disattivato,
   il contenuto parte dall'alto senza riservare lo spazio del titolo. */
@media screen and (min-width: 748px) {
	body.page.foto-hide-page-title .site-main,
	body.single-post.foto-hide-post-title .site-main {
		margin-top: 0 !important;
	}
}


/* Foto 1.0.4 — gallery/archive options */
.archive .site-main.foto-archive-grid,
.blog .site-main.foto-archive-grid,
.home.blog .site-main.foto-archive-grid {
	display: grid;
}
.archive .site-main.foto-columns-2, .blog .site-main.foto-columns-2, .home.blog .site-main.foto-columns-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.archive .site-main.foto-columns-3, .blog .site-main.foto-columns-3, .home.blog .site-main.foto-columns-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.archive .site-main.foto-columns-4, .blog .site-main.foto-columns-4, .home.blog .site-main.foto-columns-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* Archive metadata stays aligned with the gallery title, never floated to the right. */
.archive .foto-card .entry-header { margin-bottom: 0; }
.archive .foto-card .entry-meta,
.blog .foto-card .entry-meta,
.home.blog .foto-card .entry-meta {
	float: none;
	display: block;
	width: 100%;
	margin: 0.45em 0 0;
	text-align: left;
}
.archive .foto-card .entry-meta span,
.blog .foto-card .entry-meta span,
.home.blog .foto-card .entry-meta span { margin: 0; }

@media screen and (max-width: 900px) {
	.archive .site-main.foto-archive-grid, .blog .site-main.foto-archive-grid, .home.blog .site-main.foto-archive-grid { grid-template-columns: 1fr; }
}


/* Foto 1.0.8 — archive metadata in two real columns. */
.archive .foto-card .entry-meta,
.blog .foto-card .entry-meta,
.home.blog .foto-card .entry-meta {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: baseline;
	column-gap: 16px;
	float: none;
	width: 100%;
}
.archive .foto-card .entry-meta .cat-links,
.blog .foto-card .entry-meta .cat-links,
.home.blog .foto-card .entry-meta .cat-links { grid-column: 1; text-align: left; }
.archive .foto-card .entry-meta .posted-on,
.blog .foto-card .entry-meta .posted-on,
.home.blog .foto-card .entry-meta .posted-on { grid-column: 2; text-align: right; }

/* Foto 1.0.10 — width applies to article/page CONTENT, never to the slideshow/gallery. */
@media screen and (min-width: 768px) {
	body.single-post .hentry,
	body.page .hentry.page {
		max-width: none;
		width: 100%;
	}

	/* Keep the structural content area full width so slides/galleries are untouched. */
	body.single-post .entry-content,
	body.page .page-content {
		box-sizing: border-box;
		float: none;
		width: 100%;
		max-width: none;
		margin-left: 0;
		margin-right: 0;
	}

	/* Title and normal article/page blocks use the chosen width and are centered
	   only in the area to the right of the sidebar. */
	body.single-post .entry-header,
	body.page .entry-header,
	body.single-post .entry-content > :not(.wp-block-db-street-photography-galleries):not([class*="wp-block-db-street-photography"]):not([class*="dbspg-"]),
	body.page .page-content > :not(.wp-block-db-street-photography-galleries):not([class*="wp-block-db-street-photography"]):not([class*="dbspg-"]) {
		box-sizing: border-box;
		float: none;
		width: min(100%, var(--foto-content-width, 900px));
		max-width: var(--foto-content-width, 900px);
		margin-left: auto;
		margin-right: auto;
	}

	/* Slideshow/gallery and featured image preserve their original theme/plugin dimensions. */
	body.single-post .featured-image,
	body.single-post .entry-content > .wp-block-db-street-photography-galleries,
	body.single-post .entry-content > [class*="wp-block-db-street-photography"],
	body.single-post .entry-content > [class*="dbspg-"],
	body.page .page-content > .wp-block-db-street-photography-galleries,
	body.page .page-content > [class*="wp-block-db-street-photography"],
	body.page .page-content > [class*="dbspg-"] {
		max-width: none;
		margin-left: initial;
		margin-right: initial;
	}
}

/* Foto 1.2.1 — spacing, mobile branding and archive alignment */
.archive .site-main.foto-archive-grid,
.blog .site-main.foto-archive-grid,
.home.blog .site-main.foto-archive-grid {
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	column-gap: 28px;
	row-gap: 26px;
}
.archive .foto-card,
.blog .foto-card,
.home.blog .foto-card { min-width: 0; width: 100%; }
.archive .foto-card-image,
.blog .foto-card-image,
.home.blog .foto-card-image { width: 100%; margin-left: auto; margin-right: auto; }
.archive .page-header,
.blog .page-header { margin: 0 0 4px; padding: 0; }
.archive .page-title,
.blog .page-title { margin: 0; }
.archive .foto-card .entry-title,
.blog .foto-card .entry-title,
.home.blog .foto-card .entry-title { margin: 7px 0 0; }
.archive .foto-card .entry-meta,
.blog .foto-card .entry-meta,
.home.blog .foto-card .entry-meta { margin-top: 5px; }

@media screen and (max-width: 767px) {
	#page { padding-top: 3%; }
	.site-header { text-align: center; }
	.site-branding, .site-logo, .site-description { margin-left: auto; margin-right: auto; }
	.site-title { margin-top: 0; margin-bottom: 8px; text-align: center; }
	.site-description { margin: 0 auto 14px; text-align: center; }
	.main-navigation { margin-top: 0; }
	.site-content { margin-top: 24px; }

	.archive .page-header,
	.blog .page-header { margin-bottom: 14px; }
	.archive .page-title,
	.blog .page-title { margin: 0; }
	.archive .foto-category-prefix { display: none; }
	.archive .site-main.foto-archive-grid,
	.blog .site-main.foto-archive-grid,
	.home.blog .site-main.foto-archive-grid { row-gap: 20px; }
	.archive .foto-card .entry-title,
	.blog .foto-card .entry-title,
	.home.blog .foto-card .entry-title { margin-top: 6px; margin-bottom: 0; }
	.archive .foto-card .entry-meta,
	.blog .foto-card .entry-meta,
	.home.blog .foto-card .entry-meta { margin-top: 4px; }
}

/* Foto 1.2.3 — single article spacing and DBSPG sidebar cleanup */
@media screen and (min-width: 768px) {
	body.single-post .entry-header {
		padding-top: 26px;
		margin-top: 0;
		margin-bottom: 22px;
	}
	body.single-post .entry-header .entry-title {
		margin-top: 0;
		margin-bottom: 0;
	}
	body.single-post .entry-content > :not(.wp-block-db-street-photography-galleries):not([class*="wp-block-db-street-photography"]):not([class*="dbspg-"]):first-child {
		margin-top: 0;
	}
}

@media screen and (max-width: 767px) {
	body.single-post .entry-header {
		padding-top: 18px;
		margin-bottom: 16px;
	}
}

/* Foto 1.2.3 — compact mobile header spacing */
@media screen and (max-width: 767px) {
	/* Keep branding compact: title -> description -> menu -> content. */
	#page { padding-top: 12px; }
	.site-header { margin-bottom: 0; padding-bottom: 0; }
	.site-branding { margin-bottom: 8px; }
	.site-title { margin-top: 0; margin-bottom: 0; }
	.site-description { margin-top: 0; margin-bottom: 8px; }
	.main-navigation { margin-top: 0; margin-bottom: 0; }
	.menu-toggle { margin: 0; padding-top: 7px; padding-bottom: 7px; }
	.site-content { margin-top: 12px; }
}


/* Foto 1.2.4 — tighter mobile branding + 30px after DB Street Photography Galleries */
@media screen and (max-width: 767px) {
	/* Remove the residual vertical gap below title/logo. */
	.site-logo,
	.site-branding {
		margin-top: 0 !important;
		margin-bottom: 0 !important;
		padding-top: 0 !important;
		padding-bottom: 0 !important;
	}
	.site-title {
		margin: 0 !important;
		padding: 0 !important;
	}
	.site-description {
		margin-top: 4px !important;
		margin-bottom: 4px !important;
		padding-top: 0 !important;
		padding-bottom: 0 !important;
	}
}

/* Exact separation requested below the DB Street Photography Galleries block. */
.wp-block-db-street-photography-galleries,
[class*="wp-block-db-street-photography"],
[class*="dbspg-"] {
	margin-bottom: 30px;
}


/* Foto 1.2.5 — page/article content width, frontend typography and category pagination. */
@media screen and (min-width: 768px) {
	body.page .page-content > :not(.wp-block-db-street-photography-galleries):not([class*="wp-block-db-street-photography"]):not([class*="dbspg-"]) {
		width: min(100%, var(--foto-content-width, 900px)) !important;
		max-width: var(--foto-content-width, 900px) !important;
		margin-left: auto !important;
		margin-right: auto !important;
	}
}
.foto-progressive-nav,
.navigation.pagination,
.navigation.posts-navigation { grid-column: 1 / -1; width: 100%; }
.foto-load-more-wrap { text-align: center; padding: 18px 0 6px; }
.foto-load-more { appearance:none; border:1px solid currentColor; background:transparent; padding:10px 18px; cursor:pointer; font:inherit; }
.foto-load-more.is-loading { opacity:.55; pointer-events:none; }
.foto-infinite-sentinel { height:1px; }
.navigation.pagination .nav-links { display:flex; gap:10px; align-items:center; flex-wrap:wrap; }

/* Foto 1.2.8 — full archive description, footer/social and menu shortcode. */
.archive .page-header,
.archive .taxonomy-description,
.blog .page-header,
.blog .taxonomy-description {
	width: 100%;
	max-width: none;
	box-sizing: border-box;
}
.archive .taxonomy-description,
.blog .taxonomy-description { margin-bottom: 18px; }
.archive .taxonomy-description > :last-child,
.blog .taxonomy-description > :last-child { margin-bottom: 0; }
.foto-menu-shortcode { display: block; margin-top: 12px; }
.foto-menu-shortcode a { display: inline-block; }
.foto-social-widget.social-links { margin-bottom: 0; }
.site-info { width: 100%; }
@media screen and (max-width: 767px) {
	.archive .taxonomy-description,
	.blog .taxonomy-description { margin-bottom: 14px; }
}


/* Foto 1.2.9 — menu colors, gallery sidebar alignment and social widget area. */
.main-navigation a { color: inherit; }
.foto-social-menu-widget-area { width: 100%; }

/* Keep the DB Street Photography caption/navigation compact and aligned to the
   lower edge of the gallery on wide layouts without changing gallery sizing. */
@media screen and (min-width: 768px) {
    .dbspg-menu-stage-wrap,
    [class*="dbspg-menu-stage"] {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }
    [class*="dbspg-menu"] p,
    [class*="dbspg-menu"] nav,
    [class*="dbspg-menu"] .navigation {
        margin-top: 4px !important;
        margin-bottom: 0 !important;
    }
}


/* Foto 1.2.10 — restore DB Street Photography gallery controls.
   Keep title and SHOW THUMBNAILS / PREV / NEXT visible and compact. */
@media screen and (min-width: 768px) {
    .dbspg-menu-stage-wrap a,
    .dbspg-menu-stage-wrap button,
    .dbspg-menu-stage-wrap span,
    [class*="dbspg-menu"] a,
    [class*="dbspg-menu"] button {
        visibility: visible;
    }
    .dbspg-menu-stage-wrap,
    [class*="dbspg-menu-stage"] {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }
}


/* Foto 1.2.11 — hamburger menu, block areas in menu, gallery controls bottom alignment. */
.foto-menu-extras { margin-top: 10px; }
.foto-menu-widget { margin: 0; }
.foto-menu-widget .wp-block-social-links { margin: 8px 0 0; padding: 0; }
.foto-menu-widget .wp-block-shortcode { margin: 0; }
.foto-menu-widget-title { margin-bottom: 6px; font-weight: 700; }

@media screen and (min-width: 768px) {
	/* The gallery plugin injects its caption/navigation in the fixed left rail.
	   Push that block to the bottom so its last line matches the bottom of the photo. */
	.site-header { display: flex; flex-direction: column; }
	.site-header > .dbspg-menu-stage-wrap,
	.site-header > [class*="dbspg-menu-stage"],
	.site-header > [class*="dbspg-menu"] { margin-top: auto !important; }
	.site-header > .dbspg-menu-stage-wrap,
	.site-header > [class*="dbspg-menu-stage"] { padding-bottom: 0 !important; margin-bottom: 0 !important; }
}

@media screen and (max-width: 767px) {
	.site-header { position: relative; }
	.main-navigation { margin-top: 0; margin-bottom: 18px; }
	.menu-toggle {
		position: absolute;
		top: 6px;
		right: 0;
		width: 44px;
		height: 44px;
		border: 0;
		font-size: 0;
		z-index: 5;
	}
	.menu-toggle:before,
	.menu-toggle:after {
		content: '';
		position: absolute;
		left: 9px;
		width: 26px;
		height: 2px;
		background: currentColor;
		transition: transform .2s ease, top .2s ease;
	}
	.menu-toggle:before { top: 14px; box-shadow: 0 7px 0 currentColor; }
	.menu-toggle:after { top: 28px; margin: 0; }
	.main-navigation.toggled .menu-toggle:before { top: 21px; transform: rotate(45deg); box-shadow: none; }
	.main-navigation.toggled .menu-toggle:after { top: 21px; transform: rotate(-45deg); }
	.main-navigation .foto-menu-extras { display: none; border-top: 1px solid rgba(0,0,0,.06); padding-top: 12px; }
	.main-navigation.toggled .foto-menu-extras { display: block; }
	.foto-menu-extras-languages, .foto-menu-extras-social { margin-bottom: 12px; }
	.foto-menu-extras-social .wp-block-social-links { justify-content: flex-start; }
}


/* Foto 1.2.12 — responsive logo + richer tablet/mobile off-canvas menu. */
.custom-logo-link img { width: min(100%, 220px); height: auto; display: block; }
@media screen and (min-width: 1025px) {
  .custom-logo-link img { width: var(--foto-logo-desktop, 220px); max-width: 100%; }
}
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .custom-logo-link img { width: var(--foto-logo-tablet, 190px); max-width: 100%; }
}
@media screen and (max-width: 767px) {
  .site-header { text-align: left; }
  .custom-logo-link { display:block; width: calc(100% - 58px); margin:0; }
  .custom-logo-link img { width: var(--foto-logo-mobile, 165px); max-width: 100%; margin:0; }
  .site-description { text-align:left; margin-left:0 !important; margin-right:58px !important; }
  .main-navigation { position: static; }
  .menu-toggle { top: 8px; right: 0; background: transparent; color:#111; }
  .main-navigation > .menu-menu-principale-container,
  .main-navigation > .menu-primary-menu-container,
  .main-navigation > div[class*="menu-"]:has(> #primary-menu),
  .main-navigation > #primary-menu,
  .main-navigation > .foto-menu-extras { display:none; }
  .main-navigation.toggled:before { content:''; position:fixed; inset:0; background:rgba(0,0,0,.28); z-index:9997; }
  .main-navigation.toggled > .menu-menu-principale-container,
  .main-navigation.toggled > .menu-primary-menu-container,
  .main-navigation.toggled > div[class*="menu-"]:has(> #primary-menu),
  .main-navigation.toggled > #primary-menu,
  .main-navigation.toggled > .foto-menu-extras { display:block; position:fixed; left:7%; right:7%; background:#fff; z-index:9998; padding-left:22px; padding-right:22px; box-sizing:border-box; }
  .main-navigation.toggled > .menu-menu-principale-container,
  .main-navigation.toggled > .menu-primary-menu-container,
  .main-navigation.toggled > div[class*="menu-"]:has(> #primary-menu),
  .main-navigation.toggled > #primary-menu { top:72px; padding-top:82px; padding-bottom:0; border:0; }
  .main-navigation.toggled > .foto-menu-extras { top:72px; padding-top:18px; padding-bottom:18px; border-top:0; display:flex; gap:16px; align-items:center; min-height:62px; }
  .main-navigation.toggled .menu-toggle { position:fixed; top:88px; right:calc(7% + 18px); z-index:10000; border:1px solid #222; background:#fff; }
  #primary-menu { margin:0; }
  #primary-menu li { border-top:1px solid #ddd; text-align:left; }
  #primary-menu li:last-child { border-bottom:1px solid #ddd; }
  #primary-menu a { display:block; padding:12px 0; font-size:16px; line-height:1.2; }
  .foto-menu-extras-languages, .foto-menu-extras-social { margin:0; }
  .foto-menu-extras-social .wp-block-social-links { margin:0; }
}
@media screen and (min-width:768px) and (max-width:1024px) {
  .custom-logo-link img { width: var(--foto-logo-tablet,190px); }
}


/* Foto 1.2.14 — full-screen mobile/tablet navigation. */
.foto-mobile-drawer-logo { display: none; }

@media screen and (max-width: 1024px) {
  html.foto-menu-open, body.foto-menu-open { overflow: hidden; }
  .site-header { position: relative; }
  .main-navigation { position: static; margin: 0; }

  .menu-toggle {
    display: block !important; position: absolute; top: 4px; right: 0; z-index: 10002;
    width: 44px; height: 44px; margin: 0; padding: 0; border: 0 !important;
    background: transparent !important; color: #111; font-size: 0; cursor: pointer;
  }
  .menu-toggle:before, .menu-toggle:after {
    content: ''; position: absolute; left: 9px; width: 26px; height: 2px;
    background: currentColor; transition: transform .2s ease, top .2s ease; box-shadow: none;
  }
  .menu-toggle:before { top: 13px; box-shadow: 0 8px 0 currentColor; }
  .menu-toggle:after { top: 29px; }

  .main-navigation > .foto-mobile-drawer-logo,
  .main-navigation > .menu-menu-principale-container,
  .main-navigation > .menu-primary-menu-container,
  .main-navigation > div[class*="menu-"]:has(> #primary-menu),
  .main-navigation > #primary-menu,
  .main-navigation > .foto-menu-extras { display: none; }

  .main-navigation.toggled {
    position: fixed !important; inset: 0 !important; z-index: 9999 !important;
    width: 100vw !important; height: 100dvh !important; max-width: none !important;
    margin: 0 !important; padding: 28px 26px 38px !important; box-sizing: border-box;
    background: #fff !important; overflow-y: auto; display: flex !important;
    flex-direction: column; text-align: left;
  }
  .main-navigation.toggled .menu-toggle {
    position: fixed !important; top: 24px !important; right: 24px !important;
    border: 0 !important; background: transparent !important;
  }
  .main-navigation.toggled .menu-toggle:before { top: 21px; transform: rotate(45deg); box-shadow: none; }
  .main-navigation.toggled .menu-toggle:after { top: 21px; transform: rotate(-45deg); }

  .main-navigation.toggled > .foto-mobile-drawer-logo {
    display: block !important; order: 1; width: calc(100% - 64px); margin: 0 0 26px !important;
  }
  .main-navigation.toggled .foto-mobile-drawer-logo .custom-logo-link { display: block; width: auto; margin: 0; }
  .main-navigation.toggled .foto-mobile-drawer-logo .custom-logo-link img {
    width: var(--foto-logo-mobile, 165px) !important; max-width: 100%; height: auto; margin: 0;
  }

  .main-navigation.toggled > .foto-menu-extras {
    display: flex !important; order: 2; position: static !important; width: 100%;
    padding: 0 0 24px !important; margin: 0 0 8px !important; box-sizing: border-box;
    border: 0 !important; border-bottom: 1px solid #ddd !important; background: transparent !important;
    align-items: center; justify-content: flex-start; gap: 22px; min-height: 0;
  }
  .main-navigation.toggled .foto-menu-extras-languages,
  .main-navigation.toggled .foto-menu-extras-social { margin: 0 !important; padding: 0 !important; width: auto; }
  .main-navigation.toggled .foto-menu-extras .widget { margin: 0 !important; padding: 0 !important; }
  .main-navigation.toggled .foto-menu-extras-social .wp-block-social-links {
    display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin: 0 !important; padding: 0 !important;
  }
  .main-navigation.toggled .foto-menu-extras-social .wp-social-link { margin: 0 !important; }

  .main-navigation.toggled > .menu-menu-principale-container,
  .main-navigation.toggled > .menu-primary-menu-container,
  .main-navigation.toggled > div[class*="menu-"]:has(> #primary-menu) {
    display: block !important; order: 3; position: static !important; width: 100%;
    padding: 0 !important; margin: 0 !important; background: transparent !important;
  }
  .main-navigation.toggled > #primary-menu { display: block !important; order: 3; position: static !important; }
  .main-navigation.toggled #primary-menu { display: block !important; width: 100%; margin: 0; padding: 0; }
  .main-navigation.toggled #primary-menu > li {
    float: none; width: 100%; margin: 0; padding: 0; border: 0; border-bottom: 1px solid #ddd; text-align: left;
  }
  .main-navigation.toggled #primary-menu > li > a {
    display: block; width: 100%; padding: 16px 0; box-sizing: border-box;
    font-size: 18px; line-height: 1.2; font-weight: 500;
  }
  .main-navigation.toggled #primary-menu .sub-menu {
    position: static; float: none; display: block; width: 100%; margin: 0; padding: 0 0 10px 18px;
    box-shadow: none; background: transparent;
  }
  .main-navigation.toggled #primary-menu .sub-menu a { padding: 10px 0; }
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
  .main-navigation.toggled { padding: 42px 52px 48px !important; }
  .main-navigation.toggled .menu-toggle { top: 38px !important; right: 48px !important; }
  .main-navigation.toggled .foto-mobile-drawer-logo .custom-logo-link img { width: var(--foto-logo-tablet, 190px) !important; }
  .main-navigation.toggled #primary-menu > li > a { font-size: 21px; padding: 18px 0; }
}

/* Foto 1.2.15 — social icons, gallery spacing and 2026 full-screen mobile menu. */
/* The old 30px separation requested in 1.2.4 is no longer wanted. */
.wp-block-db-street-photography-galleries,
[class*="wp-block-db-street-photography"],
[class*="dbspg-"] { margin-bottom: 0; }

/* WordPress Social Icons: neutralize the theme's generic widget <li> rules. */
.foto-menu-social .wp-block-social-links,
.foto-menu-extras-social .wp-block-social-links {
  display:flex !important; flex-wrap:wrap; align-items:center; gap:10px !important;
  margin:0 !important; padding:0 !important; list-style:none !important;
}
.foto-menu-social .wp-block-social-links > .wp-social-link,
.foto-menu-extras-social .wp-block-social-links > .wp-social-link {
  width:34px !important; height:34px !important; min-width:34px !important;
  aspect-ratio:1/1 !important; padding:0 !important; margin:0 !important;
  border-radius:50% !important; display:flex !important; align-items:center !important;
  justify-content:center !important; line-height:1 !important; overflow:hidden;
}
.foto-menu-social .wp-social-link a,
.foto-menu-extras-social .wp-social-link a {
  width:100% !important; height:100% !important; padding:7px !important; margin:0 !important;
  display:flex !important; align-items:center !important; justify-content:center !important;
  box-sizing:border-box !important;
}
.foto-menu-social .wp-social-link svg,
.foto-menu-extras-social .wp-social-link svg {
  width:20px !important; height:20px !important; max-width:20px !important; max-height:20px !important;
  display:block !important; flex:none !important;
}

@media screen and (max-width:1024px) {
  .main-navigation.toggled {
    padding:clamp(24px,5vw,52px) clamp(24px,6vw,64px) 42px !important;
    background:#f7f7f4 !important;
  }
  .main-navigation.toggled .menu-toggle {
    top:clamp(20px,4vw,42px) !important; right:clamp(20px,5vw,52px) !important;
    width:48px !important; height:48px !important;
  }
  .main-navigation.toggled > .foto-mobile-drawer-logo {
    margin:0 72px 44px 0 !important; width:auto !important; min-height:48px;
    display:flex !important; align-items:center;
  }
  .main-navigation.toggled .foto-mobile-drawer-logo .custom-logo-link img {
    width:min(var(--foto-logo-mobile,165px), 48vw) !important;
  }
  .main-navigation.toggled > .foto-menu-extras {
    order:2; display:flex !important; flex-direction:column; align-items:flex-start !important;
    gap:18px !important; padding:0 0 28px !important; margin:0 0 4px !important;
    border-bottom:1px solid #bdbdb8 !important;
  }
  .main-navigation.toggled .foto-menu-extras-languages,
  .main-navigation.toggled .foto-menu-extras-social { width:100% !important; }
  .main-navigation.toggled .foto-menu-extras-social .wp-block-social-links { gap:12px !important; }
  .main-navigation.toggled .foto-menu-extras-social .wp-social-link {
    width:36px !important; height:36px !important; min-width:36px !important;
  }
  .main-navigation.toggled > .menu-menu-principale-container,
  .main-navigation.toggled > .menu-primary-menu-container,
  .main-navigation.toggled > div[class*="menu-"]:has(> #primary-menu),
  .main-navigation.toggled > #primary-menu { order:3; }
  .main-navigation.toggled #primary-menu > li { border-bottom:1px solid #bdbdb8 !important; }
  .main-navigation.toggled #primary-menu > li > a {
    padding:18px 0 !important; font-size:clamp(25px,7vw,38px) !important;
    line-height:1.02 !important; letter-spacing:-.035em; font-weight:600 !important;

  }

  .main-navigation.toggled #primary-menu .sub-menu {
    padding:0 0 18px 0 !important; margin:0 !important; display:grid !important;
    grid-template-columns:repeat(2,minmax(0,1fr)); gap:4px 24px;
  }
  .main-navigation.toggled #primary-menu .sub-menu li { padding:0 !important; border:0 !important; }
  .main-navigation.toggled #primary-menu .sub-menu a {
    padding:7px 0 !important; font-size:17px !important; line-height:1.25 !important; color:#333 !important;
  }
}
@media screen and (min-width:768px) and (max-width:1024px) {
  .main-navigation.toggled .foto-mobile-drawer-logo .custom-logo-link img {
    width:min(var(--foto-logo-tablet,190px), 38vw) !important;
  }
  .main-navigation.toggled #primary-menu > li > a { font-size:36px !important; }
}

/* Foto 1.2.16 — mobile menu refinements requested 2026-09-22. */
@media screen and (max-width:1024px) {
  .main-navigation.toggled {
    background:#fff !important;
  }
  .main-navigation.toggled > .foto-mobile-drawer-logo {
    order:1 !important;
    margin:14px 72px 24px 0 !important;
    min-height:54px !important;
    align-items:center !important;
  }
  .main-navigation.toggled .foto-mobile-drawer-logo .custom-logo-link img {
    width:min(220px,58vw) !important;
    max-width:none !important;
  }
  /* Languages stay below the brand; socials are moved below the navigation. */
  .main-navigation.toggled > .foto-menu-extras {
    display:contents !important;
  }
  .main-navigation.toggled .foto-menu-extras-languages {
    order:2 !important;
    width:100% !important;
    margin:0 0 22px !important;
    padding:0 0 20px !important;
    border-bottom:1px solid #dededb !important;
  }
  .main-navigation.toggled > .menu-menu-principale-container,
  .main-navigation.toggled > .menu-primary-menu-container,
  .main-navigation.toggled > div[class*="menu-"]:has(> #primary-menu),
  .main-navigation.toggled > #primary-menu {
    order:3 !important;
  }
  .main-navigation.toggled .foto-menu-extras-social {
    order:4 !important;
    width:100% !important;
    margin:24px 0 0 !important;
    padding:22px 0 8px !important;
    border-top:1px solid #dededb !important;
  }
  .main-navigation.toggled .foto-menu-extras-social .wp-block-social-links {
    justify-content:flex-start !important;
    gap:14px !important;
  }
  .main-navigation.toggled .foto-menu-extras-social .wp-social-link {
    width:38px !important; height:38px !important; min-width:38px !important;
    aspect-ratio:1/1 !important;
  }
}
@media screen and (min-width:768px) and (max-width:1024px) {
  .main-navigation.toggled .foto-mobile-drawer-logo .custom-logo-link img {
    width:min(260px,42vw) !important;
  }
}


/* Foto 1.2.17 — mobile drawer: true white canvas, brand below close control. */
@media screen and (max-width:1024px) {
  /* Kill the legacy 1.2.12 dimming layer that was still painting the drawer grey. */
  .main-navigation.toggled:before { content:none !important; display:none !important; background:none !important; }
  .main-navigation.toggled {
    background:#fff !important;
    padding:24px 26px 38px !important;
  }
  /* First row is reserved for the close button; logo starts clearly below it. */
  .main-navigation.toggled .menu-toggle {
    top:18px !important; right:22px !important;
  }
  .main-navigation.toggled > .foto-mobile-drawer-logo {
    order:1 !important;
    display:block !important;
    width:100% !important;
    min-height:0 !important;
    margin:62px 0 30px !important;
    padding:0 !important;
  }
  .main-navigation.toggled .foto-mobile-drawer-logo .custom-logo-link {
    display:block !important; width:100% !important; margin:0 !important;
  }
  .main-navigation.toggled .foto-mobile-drawer-logo .custom-logo-link img {
    width:min(300px,82vw) !important;
    max-width:100% !important;
    height:auto !important;
    margin:0 !important;
  }
  .main-navigation.toggled .foto-menu-extras-languages {
    margin:0 0 20px !important;
    padding:0 0 20px !important;
  }
}
@media screen and (min-width:768px) and (max-width:1024px) {
  .main-navigation.toggled { padding:34px 52px 48px !important; }
  .main-navigation.toggled .menu-toggle { top:28px !important; right:48px !important; }
  .main-navigation.toggled > .foto-mobile-drawer-logo { margin-top:76px !important; }
  .main-navigation.toggled .foto-mobile-drawer-logo .custom-logo-link img {
    width:min(360px,58vw) !important;
  }
}


/* Foto 1.2.18 — claim responsive + functional counted +/- submenus. */
.foto-drawer-claim { display:none; }
@media screen and (min-width:1025px) {
  body.foto-hide-claim-desktop .site-header > .site-description { display:none !important; }
}
@media screen and (min-width:768px) and (max-width:1024px) {
  body.foto-hide-claim-tablet .site-header > .site-description,
  body.foto-hide-claim-tablet .foto-drawer-claim-tablet { display:none !important; }
  body:not(.foto-hide-claim-tablet) .main-navigation.toggled .foto-drawer-claim-tablet { display:block !important; }
}
@media screen and (max-width:767px) {
  body.foto-hide-claim-mobile .site-header > .site-description,
  body.foto-hide-claim-mobile .foto-drawer-claim-mobile { display:none !important; }
  body:not(.foto-hide-claim-mobile) .main-navigation.toggled .foto-drawer-claim-mobile { display:block !important; }
}
@media screen and (max-width:1024px) {
  .main-navigation.toggled .foto-mobile-drawer-logo { margin-bottom:22px !important; }
  .main-navigation.toggled .foto-drawer-claim {
    margin:10px 0 0 !important; padding:0 !important; max-width:520px;
    font-size:14px; line-height:1.45; color:#666; font-weight:400;
  }
  /* Languages belong below the complete brand block (logo + optional claim). */
  .main-navigation.toggled .foto-menu-extras-languages { order:2 !important; }

  .main-navigation.toggled #primary-menu > li.menu-item-has-children { position:relative; }
  .main-navigation.toggled #primary-menu > li.menu-item-has-children > a { padding-right:92px !important; }
  .main-navigation.toggled .dropdown-toggle {
    display:flex !important; align-items:center; justify-content:flex-end; gap:7px;
    position:absolute !important; right:0 !important; top:0 !important;
    width:86px !important; height:54px !important; padding:0 !important;
    border:0 !important; background:transparent !important; color:#111 !important;
    font-family:inherit !important;
  }
  .main-navigation.toggled .dropdown-toggle:before { content:none !important; display:none !important; }
  .main-navigation.toggled .foto-toggle-symbol { font-size:28px; line-height:1; font-weight:300; }
  .main-navigation.toggled .foto-submenu-count { font-size:12px; line-height:1; font-weight:500; color:#666; }
  /* Closed means really closed; old theme rules must not force it open. */
  .main-navigation.toggled #primary-menu .sub-menu,
  .main-navigation.toggled #primary-menu .children { display:none !important; }
  .main-navigation.toggled #primary-menu .sub-menu.toggled,
  .main-navigation.toggled #primary-menu .children.toggled { display:grid !important; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 24px; padding:0 0 16px !important; }
  .main-navigation.toggled #primary-menu .sub-menu li,
  .main-navigation.toggled #primary-menu .children li { border:0 !important; }
  .main-navigation.toggled #primary-menu .sub-menu a,
  .main-navigation.toggled #primary-menu .children a { padding:7px 0 !important; font-size:14px !important; }
}
@media screen and (max-width:520px) {
  .main-navigation.toggled #primary-menu .sub-menu.toggled,
  .main-navigation.toggled #primary-menu .children.toggled { grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 14px; }
}


/* Foto 1.2.19 — separate desktop/mobile menus + refined responsive claim. */
.foto-mobile-languages,.foto-mobile-menu,.foto-mobile-social { display:none; }
@media screen and (min-width:1025px) {
  .foto-desktop-menu { display:block; }
  .site-header > .site-description { margin-top:var(--foto-claim-gap-desktop,14px) !important; color:var(--foto-claim-color-desktop,#666) !important; font-size:var(--foto-claim-size-desktop,14px) !important; line-height:var(--foto-claim-lh-desktop,1.45) !important; }
  #desktop-primary-menu .dropdown-toggle { display:none !important; }
}
@media screen and (max-width:1024px) {
  .foto-desktop-menu { display:none !important; }
  .main-navigation.toggled > .foto-mobile-languages { display:block !important; order:1 !important; width:100%; margin:0 0 24px !important; padding:0 !important; border:0 !important; }
  .main-navigation.toggled > .foto-mobile-drawer-logo { order:2 !important; margin:0 0 24px !important; }
  .main-navigation.toggled > .foto-mobile-menu { display:block !important; order:3 !important; width:100%; }
  .main-navigation.toggled > .foto-mobile-social { display:block !important; order:4 !important; width:100%; margin:24px 0 0 !important; padding:0 !important; border:0 !important; border-top:0 !important; }
  .main-navigation.toggled > .foto-mobile-social:before,.main-navigation.toggled > .foto-mobile-social:after { display:none !important; content:none !important; }
  .main-navigation.toggled .foto-mobile-social .widget,.main-navigation.toggled .foto-mobile-social .wp-block-social-links { border:0 !important; border-top:0 !important; margin:0 !important; padding:0 !important; }
  .main-navigation.toggled .foto-mobile-languages .widget { margin:0 !important; padding:0 !important; }
  .main-navigation.toggled .foto-drawer-claim { margin-top:var(--foto-claim-gap-mobile,14px) !important; }
  .main-navigation.toggled #primary-menu > li.menu-item-has-children > a { padding-right:54px !important; }
  .main-navigation.toggled .foto-submenu-count { font-size:.58em !important; font-weight:500 !important; color:#666 !important; vertical-align:middle; white-space:nowrap; }
  .main-navigation.toggled .dropdown-toggle { width:48px !important; justify-content:flex-end !important; }
  .main-navigation.toggled .foto-toggle-symbol { font-size:28px !important; }
}
@media screen and (min-width:768px) and (max-width:1024px) {
  .main-navigation.toggled .foto-drawer-claim { margin-top:var(--foto-claim-gap-tablet,14px) !important; color:var(--foto-claim-color-tablet,#666) !important; font-size:var(--foto-claim-size-tablet,14px) !important; line-height:var(--foto-claim-lh-tablet,1.45) !important; }
}
@media screen and (max-width:767px) {
  .main-navigation.toggled .foto-drawer-claim { margin-top:var(--foto-claim-gap-mobile,14px) !important; color:var(--foto-claim-color-mobile,#666) !important; font-size:var(--foto-claim-size-mobile,14px) !important; line-height:var(--foto-claim-lh-mobile,1.45) !important; }
}


/* Foto 1.2.21 — nessuna dissolvenza di ingresso */
#primary,
.site-title a,
.portfolio-wrapper .portfolio-entry { opacity: 1 !important; }

/* Foto 1.2.22 — accordion mobile/tablet: il sottomenu resta nel flusso e spinge in basso le voci successive. */
@media screen and (max-width:1024px) {
  .main-navigation.toggled .foto-mobile-menu #primary-menu > li.menu-item-has-children {
    position:relative !important;
    height:auto !important;
    min-height:0 !important;
    overflow:visible !important;
  }
  .main-navigation.toggled .foto-mobile-menu #primary-menu > li > .sub-menu,
  .main-navigation.toggled .foto-mobile-menu #primary-menu > li > .children {
    position:static !important;
    inset:auto !important;
    top:auto !important; right:auto !important; bottom:auto !important; left:auto !important;
    float:none !important;
    width:100% !important;
    height:auto !important;
    transform:none !important;
    clear:both !important;
    z-index:auto !important;
  }
  .main-navigation.toggled .foto-mobile-menu #primary-menu > li > .sub-menu:not(.toggled),
  .main-navigation.toggled .foto-mobile-menu #primary-menu > li > .children:not(.toggled) {
    display:none !important;
  }
  .main-navigation.toggled .foto-mobile-menu #primary-menu > li > .sub-menu.toggled,
  .main-navigation.toggled .foto-mobile-menu #primary-menu > li > .children.toggled {
    display:grid !important;
    position:static !important;
  }
}


/* Foto 1.2.23 — menu accordion: apertura solo verso il basso, senza riallineamenti verticali. */
@media screen and (max-width:1024px) {
  .main-navigation.toggled > .foto-mobile-menu { flex:0 0 auto !important; align-self:stretch !important; }
  .main-navigation.toggled .foto-mobile-menu #primary-menu { display:block !important; }
}


/* Foto 1.2.25 — natural-height gallery + full article-end layout.
   IMPORTANT: do not use wildcard selectors for DBSPG stage descendants: the gallery
   uses descendant elements for its custom pointer/cursor and those must keep their
   own dimensions. */
/* The DBSPG block must never become a second vertical scroll container.
   Its height follows the images; the document/body owns vertical scrolling. */
body.single-post .entry-content > .wp-block-db-street-photography-galleries,
body.single-post .entry-content > [class*="wp-block-db-street-photography"],
body.single-post .wp-block-db-street-photography-galleries,
body.single-post .dbspg-menu-gallery-shell,
body.single-post .dbspg-menu-stage-wrap {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow-y: visible !important;
  overscroll-behavior-y: auto !important;
}
body.single-post .wp-block-db-street-photography-galleries,
body.single-post [class*="wp-block-db-street-photography"] {
  overflow: visible !important;
}

/* Navigation and comments follow the same readable column as article text,
   rather than the old 640px theme default. */
body.single-post .site-main > .post-navigation,
body.single-post .site-main > .comments-area {
  box-sizing: border-box;
  width: min(100%, var(--foto-content-width, 900px));
  max-width: var(--foto-content-width, 900px);
  margin-left: auto;
  margin-right: auto;
}
body.single-post .comments-area textarea,
body.single-post .comments-area input[type="text"],
body.single-post .comments-area input[type="email"],
body.single-post .comments-area input[type="url"] {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
}

/* Site credits use the available content width and remain visually centred. */
.site-footer {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  clear: both;
}
.site-footer .site-info {
  box-sizing: border-box;
  width: 100%;
  text-align: center;
}

/* Keep short archive pages tall enough to place the credits at the viewport bottom. */
body.archive #page,
body.blog #page,
body.search #page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
body.archive #content,
body.blog #content,
body.search #content {
  display: flex;
  flex: 1 0 auto;
  flex-direction: column;
}
body.archive #primary,
body.blog #primary,
body.search #primary {
  flex: 1 0 auto;
}

.foto-breadcrumbs {
  margin: 0 0 1.2em;
  font-size: 13px;
  line-height: 1.5;
}
.foto-breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35em;
  list-style: none;
  margin: 0;
  padding: 0;
}
.foto-breadcrumbs li + li::before {
  content: "/";
  margin-right: 0.35em;
  color: #888;
}
.foto-breadcrumbs a {
  color: inherit;
  text-decoration: none;
}
.foto-breadcrumbs a:hover {
  text-decoration: underline;
}


/* Foto 1.2.26 — optional top breathing room only when a single post has no DBSPG block. */
body.single-post.foto-no-dbspg-gallery .site-main {
  padding-top: var(--foto-no-gallery-top-desktop, 60px);
}
@media screen and (max-width: 1024px) {
  body.single-post.foto-no-dbspg-gallery .site-main {
    padding-top: var(--foto-no-gallery-top-tablet, 40px);
  }
}
@media screen and (max-width: 767px) {
  body.single-post.foto-no-dbspg-gallery .site-main {
    padding-top: var(--foto-no-gallery-top-mobile, 28px);
  }
}


/* Foto 1.2.28 — restore breathing room below the DB Street Photography Galleries block.
   Scope only the outer Gutenberg block so internal DBSPG layout/cursor elements are untouched. */
body.single-post .entry-content > .wp-block-db-street-photography-galleries,
body.single-post .entry-content > [class*="wp-block-db-street-photography"] {
  margin-bottom: 30px !important;
}


/* Foto 1.2.31 — Lighthouse contrast corrections without changing layout. */
.site-description{color:#595959}.entry-meta,.entry-meta a,.posted-on,.posted-on a{color:#666}.site-info,.site-info a{color:#595959}


/* Foto 1.2.32 — DBSPG spacing logic.
   DB block: zero space above, configurable space below.
   No DB block: existing configurable top spacing remains active. */
body.single-post .entry-content > .wp-block-db-street-photography-galleries,
body.single-post .entry-content > [class*="wp-block-db-street-photography"],
body.page .page-content > .wp-block-db-street-photography-galleries,
body.page .page-content > [class*="wp-block-db-street-photography"] {
  margin-top: 0 !important;
  padding-top: 0 !important;
  margin-bottom: var(--foto-dbspg-bottom-desktop, 30px) !important;
}
@media screen and (max-width:1024px) {
  body.single-post .entry-content > .wp-block-db-street-photography-galleries,
  body.single-post .entry-content > [class*="wp-block-db-street-photography"],
  body.page .page-content > .wp-block-db-street-photography-galleries,
  body.page .page-content > [class*="wp-block-db-street-photography"] {
    margin-bottom: var(--foto-dbspg-bottom-tablet, 30px) !important;
  }
}
@media screen and (max-width:767px) {
  body.single-post .entry-content > .wp-block-db-street-photography-galleries,
  body.single-post .entry-content > [class*="wp-block-db-street-photography"],
  body.page .page-content > .wp-block-db-street-photography-galleries,
  body.page .page-content > [class*="wp-block-db-street-photography"] {
    margin-bottom: var(--foto-dbspg-bottom-mobile, 30px) !important;
  }
}


/* Foto 1.2.34 — DBSPG starts flush at the top of the content area.
   Bottom spacing remains controlled by the Customizer variables. */
body.single-post.foto-has-dbspg-gallery .site-main,
body.single-post.foto-has-dbspg-gallery article,
body.single-post.foto-has-dbspg-gallery .entry-content {
  padding-top: 0 !important;
  margin-top: 0 !important;
}
body.single-post.foto-has-dbspg-gallery .entry-content > .wp-block-db-street-photography-galleries:first-child,
body.single-post.foto-has-dbspg-gallery .entry-content > [class*="wp-block-db-street-photography"]:first-child,
body.single-post.foto-has-dbspg-gallery .wp-block-db-street-photography-galleries:first-child,
body.single-post.foto-has-dbspg-gallery .dbspg-menu-gallery-shell:first-child,
body.single-post.foto-has-dbspg-gallery .dbspg-menu-stage-wrap:first-child {
  margin-top: 0 !important;
  padding-top: 0 !important;
}


/* Foto 1.2.35 — definitive responsive spacing for posts AND pages. */
body.single-post.foto-no-dbspg-gallery .site-main { padding-top:var(--foto-post-no-gallery-top-desktop,60px) !important; }
body.page.foto-no-dbspg-gallery .site-main { padding-top:var(--foto-page-no-gallery-top-desktop,60px) !important; }
body.single-post.foto-has-dbspg-gallery .site-main,
body.page.foto-has-dbspg-gallery .site-main,
body.single-post.foto-has-dbspg-gallery article,
body.page.foto-has-dbspg-gallery article,
body.single-post.foto-has-dbspg-gallery .entry-content,
body.page.foto-has-dbspg-gallery .page-content { padding-top:0 !important; margin-top:0 !important; }
@media screen and (max-width:1024px){
 body.single-post.foto-no-dbspg-gallery .site-main{padding-top:var(--foto-post-no-gallery-top-tablet,40px)!important}
 body.page.foto-no-dbspg-gallery .site-main{padding-top:var(--foto-page-no-gallery-top-tablet,40px)!important}
}
@media screen and (max-width:767px){
 body.single-post.foto-no-dbspg-gallery .site-main{padding-top:var(--foto-post-no-gallery-top-mobile,28px)!important}
 body.page.foto-no-dbspg-gallery .site-main{padding-top:var(--foto-page-no-gallery-top-mobile,28px)!important}
}
/* Site title has its own responsive scale and does not depend on a custom logo. */
@media screen and (min-width:1025px){.site-title{font-size:var(--foto-title-size-desktop,36px)!important;line-height:var(--foto-title-lh-desktop,1)!important}}
@media screen and (min-width:768px) and (max-width:1024px){.site-title{font-size:var(--foto-title-size-tablet,32px)!important;line-height:var(--foto-title-lh-tablet,1)!important}}
@media screen and (max-width:767px){.site-title{font-size:var(--foto-title-size-mobile,28px)!important;line-height:var(--foto-title-lh-mobile,1)!important}}
body:not(.wp-custom-logo) .site-branding{width:auto;max-width:100%;height:auto;margin-top:0}
body:not(.wp-custom-logo) .site-title{width:auto;max-width:100%;white-space:normal;overflow-wrap:anywhere}

/* Foto 1.2.37 — Customizer fixes: responsive identity, menu colors and singular spacing. */
/* The responsive site-title controls also drive the text fallback used inside the mobile drawer. */
.foto-mobile-drawer-logo > strong { display:block; white-space:nowrap; overflow:hidden; text-overflow:clip; }
@media screen and (min-width:1025px){
  .foto-mobile-drawer-logo > strong{font-size:var(--foto-title-size-desktop,36px)!important;line-height:var(--foto-title-lh-desktop,1)!important}
}
@media screen and (min-width:768px) and (max-width:1024px){
  .foto-mobile-drawer-logo > strong{font-size:var(--foto-title-size-tablet,32px)!important;line-height:var(--foto-title-lh-tablet,1)!important}
  .foto-drawer-claim-tablet{font-size:var(--foto-claim-size-tablet,14px)!important;line-height:var(--foto-claim-lh-tablet,1.45)!important;color:var(--foto-claim-color-tablet,#666)!important;margin-top:var(--foto-claim-gap-tablet,14px)!important}
}
@media screen and (max-width:767px){
  .foto-mobile-drawer-logo > strong{font-size:var(--foto-title-size-mobile,28px)!important;line-height:var(--foto-title-lh-mobile,1)!important}
  .foto-drawer-claim-mobile{font-size:var(--foto-claim-size-mobile,14px)!important;line-height:var(--foto-claim-lh-mobile,1.45)!important;color:var(--foto-claim-color-mobile,#666)!important;margin-top:var(--foto-claim-gap-mobile,14px)!important}
  body.single-post .site-content,body.page .site-content{margin-top:0!important}
}
/* Never allow the textual site title to wrap; it scales from the responsive Customizer value. */
body:not(.wp-custom-logo) .site-title,body:not(.wp-custom-logo) .site-title a{white-space:nowrap!important;overflow:visible!important;overflow-wrap:normal!important;word-break:normal!important}
/* Remove legacy structural gaps. The only top spacing on singular content is now the explicit Customizer site-main padding. */
body.single-post .site-content,body.page .site-content,
body.single-post article,body.page article,
body.single-post .entry-content,body.page .page-content{margin-top:0!important}
body.single-post.foto-has-dbspg-gallery .site-content,body.page.foto-has-dbspg-gallery .site-content{margin-top:0!important;padding-top:0!important}


/* Foto 1.2.38 — identity sizing, manual gallery top spacing and balanced mobile DBSPG. */
/* Apply title sizing to the actual link as well, avoiding inherited legacy em sizing. */
@media screen and (min-width:1025px){
  body:not(.wp-custom-logo) .site-title,body:not(.wp-custom-logo) .site-title a{font-size:var(--foto-title-size-desktop,36px)!important;line-height:var(--foto-title-lh-desktop,1)!important}
}
@media screen and (min-width:768px) and (max-width:1024px){
  body:not(.wp-custom-logo) .site-title,body:not(.wp-custom-logo) .site-title a,.foto-mobile-drawer-logo>strong{font-size:var(--foto-title-size-tablet,32px)!important;line-height:var(--foto-title-lh-tablet,1)!important}
}
@media screen and (max-width:767px){
  body:not(.wp-custom-logo) .site-title,body:not(.wp-custom-logo) .site-title a,.foto-mobile-drawer-logo>strong{font-size:var(--foto-title-size-mobile,28px)!important;line-height:var(--foto-title-lh-mobile,1)!important}
  body:not(.wp-custom-logo) .site-title a{display:block;max-width:100%;white-space:nowrap!important;letter-spacing:-.02em}
}

/* When DBSPG exists, its top position is controlled explicitly instead of hard-coded to zero. */
body.single-post.foto-has-dbspg-gallery .site-main{padding-top:var(--foto-post-gallery-top-desktop,0px)!important}
body.page.foto-has-dbspg-gallery .site-main{padding-top:var(--foto-page-gallery-top-desktop,0px)!important}
@media screen and (max-width:1024px){
 body.single-post.foto-has-dbspg-gallery .site-main{padding-top:var(--foto-post-gallery-top-tablet,0px)!important}
 body.page.foto-has-dbspg-gallery .site-main{padding-top:var(--foto-page-gallery-top-tablet,0px)!important}
}
@media screen and (max-width:767px){
 body.single-post.foto-has-dbspg-gallery .site-main{padding-top:var(--foto-post-gallery-top-mobile,0px)!important}
 body.page.foto-has-dbspg-gallery .site-main{padding-top:var(--foto-page-gallery-top-mobile,0px)!important}
 /* Keep the large DBSPG stage optically centered with identical left/right gutters. */
 body.foto-has-dbspg-gallery .wp-block-db-street-photography-galleries,
 body.foto-has-dbspg-gallery .entry-content>[class*="wp-block-db-street-photography"],
 body.foto-has-dbspg-gallery .page-content>[class*="wp-block-db-street-photography"],
 body.foto-has-dbspg-gallery .dbspg-menu-gallery-shell,
 body.foto-has-dbspg-gallery .dbspg-menu-stage-wrap{
   box-sizing:border-box!important;max-width:calc(100% - 32px)!important;width:calc(100% - 32px)!important;margin-left:auto!important;margin-right:auto!important;
 }
}

/* Social block: every icon uses the same square/circle box and baseline. */
@media screen and (max-width:1024px){
 .main-navigation.toggled .foto-mobile-social .wp-block-social-links{display:flex!important;align-items:center!important;gap:12px!important}
 .main-navigation.toggled .foto-mobile-social .wp-social-link{width:36px!important;height:36px!important;min-width:36px!important;min-height:36px!important;margin:0!important;padding:0!important;display:flex!important;align-items:center!important;justify-content:center!important;border-radius:50%!important}
 .main-navigation.toggled .foto-mobile-social .wp-social-link a{width:36px!important;height:36px!important;padding:8px!important;display:flex!important;align-items:center!important;justify-content:center!important;box-sizing:border-box!important}
 .main-navigation.toggled .foto-mobile-social .wp-social-link svg{width:20px!important;height:20px!important;display:block!important;margin:0!important}
}


/* Foto 1.2.39 — definitive responsive identity + DBSPG class-based spacing. */
.site-title,.site-title a,.foto-mobile-drawer-logo>strong{white-space:nowrap!important;word-break:normal!important;overflow-wrap:normal!important}
@media screen and (max-width:767px){
  .site-header .site-branding{margin-left:0!important;margin-right:auto!important;text-align:left!important;width:100%!important}
  .site-header .site-title,.site-header .site-title a{text-align:left!important;margin-left:0!important;margin-right:auto!important}
}
/* Drawer text identity is the SAME identity: same color and responsive sizing as header title. */
.foto-mobile-drawer-logo>strong{color:inherit!important;font-weight:inherit}
.main-navigation.toggled .foto-mobile-drawer-logo>strong{color:var(--foto-site-title-color,currentColor)!important}

/* DBSPG detection is based on the plugin's explicit anchor class. These rules intentionally
   come last: older theme rules cannot force the gallery back to zero. */
body.single-post.foto-has-dbspg-gallery .site-main{padding-top:var(--foto-post-gallery-top-desktop,0px)!important}
body.page.foto-has-dbspg-gallery .site-main{padding-top:var(--foto-page-gallery-top-desktop,0px)!important}
body.single-post.foto-has-dbspg-gallery article,body.page.foto-has-dbspg-gallery article,
body.single-post.foto-has-dbspg-gallery .entry-content,body.page.foto-has-dbspg-gallery .page-content{padding-top:0!important;margin-top:0!important}
@media screen and (max-width:1024px){
 body.single-post.foto-has-dbspg-gallery .site-main{padding-top:var(--foto-post-gallery-top-tablet,0px)!important}
 body.page.foto-has-dbspg-gallery .site-main{padding-top:var(--foto-page-gallery-top-tablet,0px)!important}
}
@media screen and (max-width:767px){
 body.single-post.foto-has-dbspg-gallery .site-main{padding-top:var(--foto-post-gallery-top-mobile,0px)!important}
 body.page.foto-has-dbspg-gallery .site-main{padding-top:var(--foto-page-gallery-top-mobile,0px)!important}
 .dbspg-spacing-anchor{box-sizing:border-box!important;width:calc(100% - 32px)!important;max-width:calc(100% - 32px)!important;margin-left:auto!important;margin-right:auto!important}
}

/* Foto 1.2.40 — DBSPG mobile geometry belongs to the plugin.
   The theme keeps only outer spacing through the anchor and must not shrink
   the internal 100vw viewer/stage on narrow screens. */
@media screen and (max-width:767px){
 body.foto-has-dbspg-gallery .dbspg-spacing-anchor{
   box-sizing:border-box!important;
   width:100%!important;
   max-width:none!important;
   margin-left:0!important;
   margin-right:0!important;
 }
 body.foto-has-dbspg-gallery .dbspg-menu-gallery,
 body.foto-has-dbspg-gallery .dbspg-menu-shell,
 body.foto-has-dbspg-gallery .dbspg-menu-stage-wrap{
   width:100vw!important;
   max-width:100vw!important;
 }
 body.foto-has-dbspg-gallery .dbspg-menu-stage-wrap{
   margin-left:0!important;
   margin-right:0!important;
 }
 body.single-post .entry-content > .dbspg-spacing-anchor,
 body.page .page-content > .dbspg-spacing-anchor{
   margin-top:0!important;
   padding-top:0!important;
   margin-bottom:var(--foto-dbspg-bottom-mobile,30px)!important;
 }
}

/* Foto 1.2.41 — earlier DBSPG tablet handoff, homepage breathing room,
   and drawer fallback identity matching the public site title. */
@media screen and (max-width:1100px){
 body.foto-has-dbspg-gallery .dbspg-menu-gallery,
 body.foto-has-dbspg-gallery .dbspg-menu-shell,
 body.foto-has-dbspg-gallery .dbspg-menu-stage-wrap{
   width:100vw!important;
   max-width:100vw!important;
 }
 body.foto-has-dbspg-gallery .dbspg-menu-gallery{
   margin-left:calc(50% - 50vw)!important;
   margin-right:calc(50% - 50vw)!important;
 }
 body.foto-has-dbspg-gallery .dbspg-menu-stage-wrap{
   margin-left:0!important;
   margin-right:0!important;
 }
}
@media screen and (max-width:767px){
 body.home.foto-has-dbspg-gallery .site-content,
 body.home.foto-has-dbspg-gallery .page-content{
   margin-top:18px!important;
 }
 body.home.foto-has-dbspg-gallery .page-content > .dbspg-spacing-anchor:first-child,
 body.home.foto-has-dbspg-gallery .entry-content > .dbspg-spacing-anchor:first-child{
   margin-top:18px!important;
 }
 .main-navigation.toggled .foto-mobile-drawer-logo>strong{
   display:block!important;
   color:#000!important;
   font-family:inherit!important;
   font-size:clamp(42px,10vw,58px)!important;
   line-height:.92!important;
   font-weight:800!important;
   letter-spacing:0!important;
   text-transform:uppercase!important;
   opacity:1!important;
 }
}

/* Foto 1.2.42 — keep compact DBSPG clear of the mobile menu and remove
   sidebar text/controls that crowd the photo on narrow containers. */
@media screen and (max-width:1100px){
 body.foto-has-dbspg-gallery .dbspg-menu-gallery.is-dbspg-compact .dbspg-menu-sidebar,
 body.foto-has-dbspg-gallery .dbspg-menu-gallery .dbspg-menu-sidebar{
   display:none!important;
 }
 body.foto-has-dbspg-gallery .dbspg-menu-gallery:not(.is-thumbs-open).is-dbspg-compact .dbspg-menu-stage-wrap,
 body.foto-has-dbspg-gallery .dbspg-menu-gallery:not(.is-thumbs-open) .dbspg-menu-stage-wrap{
   padding-top:var(--foto-dbspg-compact-viewer-gap,0px)!important;
 }
 body.foto-has-dbspg-gallery .dbspg-menu-gallery.is-thumbs-open.is-dbspg-compact .dbspg-menu-stage-wrap,
 body.foto-has-dbspg-gallery .dbspg-menu-gallery.is-thumbs-open .dbspg-menu-stage-wrap{
   padding-top:var(--foto-dbspg-compact-thumbs-gap,0px)!important;
 }
}

/* Foto 1.2.44 — responsive top identity bar and adjustable gallery gaps. */
@media screen and (max-width:1100px){
 body{
   --foto-dbspg-compact-viewer-gap:var(--foto-header-gallery-viewer-gap-tablet,0px);
   --foto-dbspg-compact-thumbs-gap:var(--foto-header-gallery-thumbs-gap-tablet,0px);
 }
 .site-header{
   min-height:var(--foto-header-height-tablet,92px)!important;
   display:flex!important;
   align-items:center!important;
   justify-content:flex-start!important;
   position:relative!important;
   padding-top:0!important;
   padding-bottom:0!important;
   margin-bottom:0!important;
   box-sizing:border-box!important;
 }
 .site-header .site-branding{
   min-height:var(--foto-header-height-tablet,92px)!important;
   width:calc(100% - 72px)!important;
   max-width:calc(100% - 72px)!important;
   display:flex!important;
   align-items:center!important;
   margin:0!important;
   padding:0!important;
   box-sizing:border-box!important;
 }
 .site-header .site-title{
   display:block!important;
   width:100%!important;
   max-width:100%!important;
   margin:0!important;
   padding:0!important;
   line-height:1!important;
   overflow:hidden!important;
 }
 .site-header .site-title a{
   display:block!important;
   max-width:100%!important;
   color:#000!important;
   font-size:clamp(30px,5.2vw,var(--foto-title-size-tablet,40px))!important;
   line-height:.92!important;
   font-weight:800!important;
   white-space:nowrap!important;
   overflow:hidden!important;
   text-overflow:clip!important;
   letter-spacing:0!important;
 }
 .site-header .menu-toggle{
   top:calc((var(--foto-header-height-tablet,92px) - 44px) / 2)!important;
   right:0!important;
 }
 body.foto-has-dbspg-gallery .site-content,
 body.foto-has-dbspg-gallery .page-content,
 body.foto-has-dbspg-gallery .entry-content{
   margin-top:var(--foto-header-gallery-gap-tablet,28px)!important;
 }
 body.foto-has-dbspg-gallery .page-content > .dbspg-spacing-anchor:first-child,
 body.foto-has-dbspg-gallery .entry-content > .dbspg-spacing-anchor:first-child{
   margin-top:0!important;
 }
}
@media screen and (max-width:767px){
 body{
   --foto-dbspg-compact-viewer-gap:var(--foto-header-gallery-viewer-gap-mobile,0px);
   --foto-dbspg-compact-thumbs-gap:var(--foto-header-gallery-thumbs-gap-mobile,0px);
 }
 .site-header{
   min-height:var(--foto-header-height-mobile,62px)!important;
 }
 .site-header .site-branding{
   min-height:var(--foto-header-height-mobile,62px)!important;
   width:calc(100% - 58px)!important;
   max-width:calc(100% - 58px)!important;
 }
 .site-header .site-title a{
   font-size:clamp(26px,7.8vw,var(--foto-title-size-mobile,34px))!important;
 }
 .site-header .menu-toggle{
   top:calc((var(--foto-header-height-mobile,62px) - 44px) / 2)!important;
 }
 body.foto-has-dbspg-gallery .site-content,
 body.foto-has-dbspg-gallery .page-content,
 body.foto-has-dbspg-gallery .entry-content{
   margin-top:var(--foto-header-gallery-gap-mobile,14px)!important;
 }
 body.home.foto-has-dbspg-gallery .site-content,
 body.home.foto-has-dbspg-gallery .page-content{
   margin-top:var(--foto-header-gallery-gap-mobile,14px)!important;
 }
 body.home.foto-has-dbspg-gallery .page-content > .dbspg-spacing-anchor:first-child,
 body.home.foto-has-dbspg-gallery .entry-content > .dbspg-spacing-anchor:first-child{
   margin-top:0!important;
 }
}

/* Foto 1.2.46 — earlier tablet/mobile menu handoff and independent drawer identity sizing. */
@media screen and (max-width:1100px){
 body{
   --foto-dbspg-compact-viewer-gap:var(--foto-header-gallery-viewer-gap-tablet,0px);
   --foto-dbspg-compact-thumbs-gap:var(--foto-header-gallery-thumbs-gap-tablet,0px);
 }
 .foto-desktop-menu{
   display:none!important;
 }
 .site-header .custom-logo-link{
   display:flex!important;
   align-items:center!important;
   width:min(var(--foto-logo-tablet,190px),calc(100% - 72px))!important;
   max-width:calc(100% - 72px)!important;
   margin:0!important;
   padding:0!important;
   box-sizing:border-box!important;
 }
 .site-header .custom-logo-link img{
   display:block!important;
   width:100%!important;
   max-width:100%!important;
   height:auto!important;
   object-fit:contain!important;
   margin:0!important;
 }
 .site-header .site-title a{
   font-size:var(--foto-title-size-tablet,40px)!important;
   line-height:var(--foto-title-lh-tablet,1)!important;
 }
 .menu-toggle{
   display:block!important;
 }
 .main-navigation.toggled{
   position:fixed!important;
   inset:0!important;
   width:100vw!important;
   height:100dvh!important;
   max-width:none!important;
   margin:0!important;
   padding:34px 52px 48px!important;
   box-sizing:border-box!important;
   background:#fff!important;
   overflow-y:auto!important;
   display:flex!important;
   flex-direction:column!important;
   text-align:left!important;
   z-index:9999!important;
 }
 .main-navigation.toggled .menu-toggle{
   position:fixed!important;
   top:28px!important;
   right:48px!important;
 }
 .main-navigation.toggled > .foto-mobile-drawer-logo{
   display:block!important;
   order:2!important;
   width:calc(100% - 88px)!important;
   max-width:100%!important;
   margin:42px 0 24px!important;
   overflow:visible!important;
   visibility:visible!important;
   opacity:1!important;
 }
 .main-navigation.toggled .foto-mobile-drawer-logo .custom-logo-link{
   display:block!important;
   position:static!important;
   width:min(var(--foto-drawer-logo-tablet,220px),100%)!important;
   max-width:100%!important;
   margin:0!important;
   visibility:visible!important;
   opacity:1!important;
 }
 .main-navigation.toggled .foto-mobile-drawer-logo .custom-logo-link img{
   display:block!important;
   width:100%!important;
   max-width:100%!important;
   height:auto!important;
   object-fit:contain!important;
   margin:0!important;
   visibility:visible!important;
   opacity:1!important;
  }
 .main-navigation.toggled .foto-drawer-claim-mobile{
   display:none!important;
 }
 body:not(.foto-hide-claim-tablet) .main-navigation.toggled .foto-drawer-claim-tablet{
   display:block!important;
   color:var(--foto-claim-color-tablet,#666)!important;
   font-size:var(--foto-claim-size-tablet,14px)!important;
   line-height:var(--foto-claim-lh-tablet,1.45)!important;
   margin-top:var(--foto-claim-gap-tablet,14px)!important;
 }
 .main-navigation.toggled .foto-mobile-drawer-logo>strong{
   display:block!important;
   width:100%!important;
   max-width:100%!important;
   color:#000!important;
   font-family:inherit!important;
   font-size:var(--foto-drawer-title-tablet,52px)!important;
   line-height:.94!important;
   font-weight:800!important;
   letter-spacing:0!important;
   text-transform:uppercase!important;
   white-space:nowrap!important;
   overflow:hidden!important;
   text-overflow:clip!important;
   opacity:1!important;
 }
}
@media screen and (max-width:600px){
 body{
   --foto-dbspg-compact-viewer-gap:var(--foto-header-gallery-viewer-gap-mobile,0px);
   --foto-dbspg-compact-thumbs-gap:var(--foto-header-gallery-thumbs-gap-mobile,0px);
 }
 .site-header .custom-logo-link{
   width:min(var(--foto-logo-mobile,165px),calc(100% - 58px))!important;
   max-width:calc(100% - 58px)!important;
 }
 .site-header .site-title a{
   font-size:var(--foto-title-size-mobile,34px)!important;
   line-height:var(--foto-title-lh-mobile,1)!important;
 }
 .main-navigation.toggled{
   padding:28px 26px 38px!important;
 }
 .main-navigation.toggled .menu-toggle{
   top:24px!important;
   right:24px!important;
 }
 .main-navigation.toggled > .foto-mobile-drawer-logo{
   width:calc(100% - 56px)!important;
   margin:42px 0 22px!important;
 }
 .main-navigation.toggled .foto-mobile-drawer-logo .custom-logo-link{
   width:min(var(--foto-drawer-logo-mobile,180px),100%)!important;
 }
 .main-navigation.toggled .foto-mobile-drawer-logo>strong{
   font-size:var(--foto-drawer-title-mobile,38px)!important;
   line-height:.94!important;
 }
 .main-navigation.toggled .foto-drawer-claim-tablet{
   display:none!important;
 }
 body:not(.foto-hide-claim-mobile) .main-navigation.toggled .foto-drawer-claim-mobile{
   display:block!important;
   color:var(--foto-claim-color-mobile,#666)!important;
   font-size:var(--foto-claim-size-mobile,14px)!important;
   line-height:var(--foto-claim-lh-mobile,1.45)!important;
   margin-top:var(--foto-claim-gap-mobile,14px)!important;
 }
}

/* Foto 1.2.49 — restore drawer contents after the 1.2.48 button reset. */
@media screen and (max-width:1100px){
 .site-header .main-navigation.toggled{
   display:flex!important;
   flex-direction:column!important;
   align-items:stretch!important;
   inset:0!important;
   width:100vw!important;
   max-width:none!important;
   overflow-y:auto!important;
   background:#fff!important;
   opacity:1!important;
   visibility:visible!important;
   z-index:10000!important;
 }
 .site-header .main-navigation.toggled > .foto-mobile-languages{
   display:block!important;
   order:1!important;
   width:100%!important;
   margin:0 0 24px!important;
   padding:0!important;
   opacity:1!important;
   visibility:visible!important;
 }
 .site-header .main-navigation.toggled > .foto-mobile-drawer-logo{
   display:block!important;
   order:2!important;
   width:calc(100% - 88px)!important;
   max-width:100%!important;
   margin:42px 0 24px!important;
   padding:0!important;
   opacity:1!important;
   visibility:visible!important;
   overflow:visible!important;
 }
 .site-header .main-navigation.toggled > .foto-mobile-menu{
   display:block!important;
   order:3!important;
   width:100%!important;
   margin:0!important;
   padding:0!important;
   opacity:1!important;
   visibility:visible!important;
 }
 .site-header .main-navigation.toggled > .foto-mobile-social{
   display:block!important;
   order:4!important;
   width:100%!important;
   margin:24px 0 0!important;
   padding:0!important;
   opacity:1!important;
   visibility:visible!important;
 }
 .site-header .main-navigation.toggled .foto-mobile-menu #primary-menu,
 .site-header .main-navigation.toggled .foto-mobile-menu .menu{
   display:block!important;
   width:100%!important;
   margin:0!important;
   padding:0!important;
   list-style:none!important;
 }
 .site-header .main-navigation.toggled .foto-mobile-menu #primary-menu > li,
 .site-header .main-navigation.toggled .foto-mobile-menu .menu > li{
   display:block!important;
   position:relative!important;
   margin:0!important;
   padding:0!important;
   border-top:0!important;
   border-bottom:1px solid #cfcfc9!important;
 }
 .site-header .main-navigation.toggled .foto-mobile-menu #primary-menu > li > a,
 .site-header .main-navigation.toggled .foto-mobile-menu .menu > li > a{
   display:block!important;
   padding:16px 54px 16px 0!important;
   color:#000!important;
   font-size:34px!important;
   line-height:1.04!important;
   font-weight:800!important;
   text-decoration:none!important;
   white-space:normal!important;
 }
 .site-header .main-navigation.toggled .foto-mobile-drawer-logo .custom-logo-link{
   display:block!important;
   position:static!important;
   width:min(var(--foto-drawer-logo-tablet,220px),100%)!important;
   max-width:100%!important;
   margin:0!important;
   padding:0!important;
   opacity:1!important;
   visibility:visible!important;
 }
 .site-header .main-navigation.toggled .foto-mobile-drawer-logo .custom-logo-link img{
   display:block!important;
   width:100%!important;
   max-width:100%!important;
   height:auto!important;
   object-fit:contain!important;
   opacity:1!important;
   visibility:visible!important;
 }
 .site-header .main-navigation.toggled .foto-mobile-drawer-logo > strong{
   display:block!important;
   width:100%!important;
   max-width:100%!important;
   color:#000!important;
   font-size:var(--foto-drawer-title-tablet,52px)!important;
   line-height:.94!important;
   font-weight:800!important;
   text-transform:uppercase!important;
   white-space:nowrap!important;
   overflow:hidden!important;
   opacity:1!important;
   visibility:visible!important;
 }
}

@media screen and (max-width:600px){
 .site-header .main-navigation.toggled > .foto-mobile-drawer-logo{
   width:calc(100% - 56px)!important;
   margin:42px 0 22px!important;
 }
 .site-header .main-navigation.toggled .foto-mobile-drawer-logo .custom-logo-link{
   width:min(var(--foto-drawer-logo-mobile,180px),100%)!important;
 }
 .site-header .main-navigation.toggled .foto-mobile-drawer-logo > strong{
   font-size:var(--foto-drawer-title-mobile,38px)!important;
 }
 .site-header .main-navigation.toggled .foto-mobile-menu #primary-menu > li > a,
 .site-header .main-navigation.toggled .foto-mobile-menu .menu > li > a{
   font-size:28px!important;
   line-height:1.05!important;
   padding:14px 48px 14px 0!important;
 }
}

/* Foto 1.2.47 — tablet is a top-bar layout, not the old fixed sidebar desktop layout. */
@media screen and (min-width:601px) and (max-width:1100px){
 #page{
   padding:0!important;
 }
 .site-header{
   position:relative!important;
   left:auto!important;
   right:auto!important;
   top:auto!important;
   bottom:auto!important;
   width:100%!important;
   max-width:none!important;
   max-height:none!important;
   overflow:visible!important;
   padding:0!important;
   margin:0!important;
 }
 .site-logo,
 .site-branding,
 .site-description,
 .main-navigation,
 .social-links{
   width:auto!important;
   max-width:none!important;
 }
 .site-header .site-branding{
   flex:1 1 auto!important;
   min-width:0!important;
   width:auto!important;
   max-width:calc(100% - 72px)!important;
 }
 .site-header .site-title,
 .site-header .site-title a{
   width:auto!important;
   max-width:none!important;
   overflow:visible!important;
   text-overflow:clip!important;
 }
 body:not(.wp-custom-logo) .site-header .site-title,
 body:not(.wp-custom-logo) .site-header .site-title a{
   font-size:var(--foto-title-size-tablet,40px)!important;
   line-height:var(--foto-title-lh-tablet,1)!important;
 }
 .site-header .custom-logo-link{
   flex:0 1 auto!important;
   width:var(--foto-logo-tablet,190px)!important;
   max-width:calc(100% - 72px)!important;
 }
 .site-header .custom-logo-link img{
   width:100%!important;
   max-width:100%!important;
 }
 .site-content{
   margin-left:0!important;
   margin-right:0!important;
   width:100%!important;
   max-width:none!important;
 }
 .entry-content,
 .entry-summary{
   float:none!important;
   width:100%!important;
 }
}

/* Foto 1.2.48 — hard reset for the responsive menu button and tablet identity sizing. */
@media screen and (max-width:1100px){
 .site-header .main-navigation{
   position:static!important;
   margin:0!important;
   padding:0!important;
   width:auto!important;
   max-width:none!important;
   height:0!important;
   min-height:0!important;
   border:0!important;
 }
 .site-header .main-navigation.toggled{
   position:fixed!important;
   height:100dvh!important;
   min-height:100dvh!important;
   padding:34px 52px 48px!important;
 }
 .site-header .menu-toggle,
 .site-header .main-navigation .menu-toggle{
   display:block!important;
   position:absolute!important;
   top:calc((var(--foto-header-height-tablet,92px) - 44px) / 2)!important;
   right:24px!important;
   width:44px!important;
   min-width:44px!important;
   max-width:44px!important;
   height:44px!important;
   min-height:44px!important;
   max-height:44px!important;
   padding:0!important;
   margin:0!important;
   border:0!important;
   background:transparent!important;
   color:#111!important;
   font-size:0!important;
   line-height:0!important;
   text-indent:-9999px!important;
   overflow:hidden!important;
   box-sizing:border-box!important;
   z-index:10002!important;
 }
 .site-header .menu-toggle:before,
 .site-header .menu-toggle:after,
 .site-header .main-navigation .menu-toggle:before,
 .site-header .main-navigation .menu-toggle:after{
   content:''!important;
   display:block!important;
   position:absolute!important;
   left:9px!important;
   width:26px!important;
   height:2px!important;
   min-height:0!important;
   padding:0!important;
   margin:0!important;
   border:0!important;
   background:currentColor!important;
   color:inherit!important;
   transform:none!important;
   text-indent:0!important;
 }
 .site-header .menu-toggle:before,
 .site-header .main-navigation .menu-toggle:before{
   top:13px!important;
   box-shadow:0 8px 0 currentColor!important;
 }
 .site-header .menu-toggle:after,
 .site-header .main-navigation .menu-toggle:after{
   top:29px!important;
   box-shadow:none!important;
 }
 .site-header .main-navigation.toggled .menu-toggle{
   position:fixed!important;
   top:28px!important;
   right:48px!important;
 }
 .site-header .main-navigation.toggled .menu-toggle:before{
   top:21px!important;
   transform:rotate(45deg)!important;
   box-shadow:none!important;
 }
 .site-header .main-navigation.toggled .menu-toggle:after{
   top:21px!important;
   transform:rotate(-45deg)!important;
 }
 .site-header .custom-logo-link{
   width:var(--foto-logo-tablet,190px)!important;
   max-width:calc(100% - 82px)!important;
 }
 .site-header .custom-logo-link img{
   width:100%!important;
   max-width:100%!important;
   height:auto!important;
 }
 body:not(.wp-custom-logo) .site-header .site-title a{
   font-size:min(var(--foto-title-size-tablet,40px),calc((100vw - 82px) / 9.5))!important;
   line-height:var(--foto-title-lh-tablet,1)!important;
 }
 body.foto-has-dbspg-gallery .site-content,
 body.foto-has-dbspg-gallery .page-content,
 body.foto-has-dbspg-gallery .entry-content{
   margin-top:var(--foto-header-gallery-gap-tablet,28px)!important;
 }
}

@media screen and (max-width:600px){
 .site-header .main-navigation.toggled{
   padding:28px 26px 38px!important;
 }
 .site-header .menu-toggle,
 .site-header .main-navigation .menu-toggle{
   top:calc((var(--foto-header-height-mobile,62px) - 44px) / 2)!important;
   right:14px!important;
 }
 .site-header .main-navigation.toggled .menu-toggle{
   top:24px!important;
   right:24px!important;
 }
 .site-header .custom-logo-link{
   width:var(--foto-logo-mobile,165px)!important;
   max-width:calc(100% - 64px)!important;
 }
 body:not(.wp-custom-logo) .site-header .site-title a{
   font-size:min(var(--foto-title-size-mobile,34px),calc((100vw - 64px) / 9.5))!important;
   line-height:var(--foto-title-lh-mobile,1)!important;
 }
 body.foto-has-dbspg-gallery .site-content,
 body.foto-has-dbspg-gallery .page-content,
 body.foto-has-dbspg-gallery .entry-content{
   margin-top:var(--foto-header-gallery-gap-mobile,14px)!important;
 }
}

/* Foto 1.2.50 — preserve readable gutters when the desktop sidebar collapses. */
@media screen and (max-width:1100px){
  .site-content,
  .page-content{
    box-sizing:border-box;
    padding-left:clamp(16px,2.5vw,28px)!important;
    padding-right:clamp(16px,2.5vw,28px)!important;
    min-width:0;
  }
  .site-main,
  .entry-content,
  .entry-summary,
  .page-content > *{
    box-sizing:border-box;
    min-width:0;
    max-width:100%;
  }
  .site-main img,
  .entry-content img,
  .page-content img{
    max-width:100%;
  }
}

/* Foto 1.2.51 — keep the compact-gallery header reachable while scrolling. */
@media screen and (max-width:1100px){
 body.foto-has-dbspg-gallery .site-header{
   position:sticky!important;
   top:0!important;
   z-index:999!important;
   background:#fff!important;
 }
}

/* Foto 1.2.52 — let the compact gallery use the full viewport width. */
@media screen and (max-width:1100px){
 body.foto-has-dbspg-gallery .dbspg-menu-gallery{
   width:100vw!important;
   max-width:100vw!important;
   margin-left:calc(50% - 50vw)!important;
   margin-right:calc(50% - 50vw)!important;
 }
}

/* Mid-size desktop: keep the site navigation, remove only gallery-side copy/actions. */
@media screen and (min-width:1101px) and (max-width:1500px){
 body.foto-has-dbspg-gallery .dbspg-menu-sidebar-inner{
   visibility:hidden!important;
   pointer-events:none!important;
 }
}

/* Foto 1.2.53 — full-width mobile gallery header with safe horizontal insets. */
@media screen and (max-width:1100px){
 body.foto-has-dbspg-gallery .site-header{
   box-sizing:border-box!important;
   width:100vw!important;
   max-width:100vw!important;
   margin-left:calc(50% - 50vw)!important;
   padding-left:clamp(18px,4vw,32px)!important;
   padding-right:clamp(18px,4vw,32px)!important;
   background:#fff!important;
 }
 body.foto-has-dbspg-gallery .site-header .menu-toggle{
   right:clamp(18px,4vw,32px)!important;
 }
}

/* Tablet gallery photos and thumbnail walls retain balanced side gutters. */
@media screen and (min-width:768px) and (max-width:1100px){
 body.foto-has-dbspg-gallery .dbspg-menu-stage-wrap{
   padding-left:clamp(28px,4vw,56px)!important;
   padding-right:clamp(28px,4vw,56px)!important;
 }
}

/* Foto 1.2.57 — use one shared mobile gutter for identity and reading column. */
@media screen and (max-width:767px){
 body{
   --foto-mobile-gutter:clamp(24px,5vw,34px);
 }
 #page{
   padding:0!important;
 }
 .site-header{
   box-sizing:border-box!important;
   width:100%!important;
   max-width:none!important;
   padding-left:var(--foto-mobile-gutter)!important;
   padding-right:var(--foto-mobile-gutter)!important;
 }
 .site-header .menu-toggle,
 .site-header .main-navigation .menu-toggle{
   right:calc(var(--foto-mobile-gutter) - 9px)!important;
 }
 .site-content{
   box-sizing:border-box!important;
   width:100%!important;
   max-width:none!important;
   margin-left:0!important;
   margin-right:0!important;
   padding-left:var(--foto-mobile-gutter)!important;
   padding-right:var(--foto-mobile-gutter)!important;
 }
 .page-content{
   padding-left:0!important;
   padding-right:0!important;
 }
}

/* Foto 1.2.58 — native Details blocks follow the theme's H3 typography. */
.entry-content .wp-block-details,
.page-content .wp-block-details{
  margin:1.5em 0;
  border-top:1px solid #d8d8d8;
  border-bottom:1px solid #d8d8d8;
}
.entry-content .wp-block-details + .wp-block-details,
.page-content .wp-block-details + .wp-block-details{
  border-top:0;
  margin-top:-1.5em;
}
.entry-content .wp-block-details > summary,
.page-content .wp-block-details > summary{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding:20px 0;
  color:#333;
  font-family:inherit;
  font-weight:700;
  line-height:1.2;
  text-transform:none;
  cursor:pointer;
  list-style:none;
}
.entry-content .wp-block-details > summary::-webkit-details-marker,
.page-content .wp-block-details > summary::-webkit-details-marker{
  display:none;
}
.entry-content .wp-block-details > summary::marker,
.page-content .wp-block-details > summary::marker{
  content:"";
}
.entry-content .wp-block-details > summary::after,
.page-content .wp-block-details > summary::after{
  content:"+";
  display:grid;
  flex:0 0 30px;
  width:30px;
  height:30px;
  place-items:center;
  border:1px solid currentColor;
  border-radius:50%;
  font-family:inherit;
  font-size:20px;
  font-weight:400;
  line-height:1;
}
.entry-content .wp-block-details[open] > summary::after,
.page-content .wp-block-details[open] > summary::after{
  content:"−";
}
.entry-content .wp-block-details > :not(summary),
.page-content .wp-block-details > :not(summary){
  margin-top:0;
  margin-bottom:20px;
}
.entry-content .wp-block-details > :last-child,
.page-content .wp-block-details > :last-child{
  margin-bottom:20px;
}

/* Foto 1.2.61 — coherent Gutenberg typography and vertical rhythm. */
.entry-content .wp-block-post-title,
.page-content .wp-block-post-title{
  font-family:'Roboto Condensed',Arial,sans-serif;
}
.entry-content .wp-block-post-title a,
.entry-summary .wp-block-post-title a,
.page-content .wp-block-post-title a{
  border-bottom:0!important;
  color:inherit;
  text-decoration:none!important;
}
.entry-content .wp-block-post-template > li > .wp-block-post-title,
.page-content .wp-block-post-template > li > .wp-block-post-title{
  margin-top:0;
  margin-bottom:0;
}
:where(.entry-content,.page-content) > :where(
  .wp-block-embed,
  .wp-block-video,
  .wp-block-audio,
  .wp-block-image,
  .wp-block-gallery,
  .wp-block-query,
  .wp-block-group,
  .wp-block-columns
){
  margin-bottom:32px;
}
