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,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent
}

html {
    overflow-y: scroll;
    /* Forza la scrollbar per evitare salti di layout */
}

body {
    background: #fff;
    line-height: 1
}

ol,
ul {
    list-style: none
}

blockquote,
q {
    quotes: none
}

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

/* remember to define focus styles! */
:focus {
    outline: 0
}

/* remember to highlight inserts somehow! */
ins {
    text-decoration: none
}

del {
    text-decoration: line-through
}

/* tables still need 'cellspacing="0"' in the markup */
table {
    border-collapse: collapse;
    border-spacing: 0
}

a img {
    border: none
}

body,
input,
textarea {
    color: #000;
    font: 12px Arial, sans-serif;
    line-height: 18px
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: normal;
    clear: both
}

p {
    margin-bottom: 18px
}

ul {
    margin: 0 0 18px 2.5em
}

ol {
    margin: 0 0 18px 2.5em
}

ul {
    list-style: disc
}

ol {
    list-style-type: decimal
}

ol ol {
    list-style: upper-alpha
}

ol ol ol {
    list-style: lower-roman
}

ol ol ol ol {
    list-style: lower-alpha
}

ul ul,
ol ol,
ul ol,
ol ul {
    margin-bottom: 0
}

dl {
    margin: 0 1.5em
}

dt {
    font-weight: bold
}

dd {
    margin-bottom: 18px
}

strong {
    font-weight: bold
}

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

blockquote {
    margin: 0 3em
}

blockquote em,
blockquote i,
blockquote cite {
    font-style: normal
}

pre {
    font: 13px Monaco, monospace;
    line-height: 18px;
    margin-bottom: 18px
}

code {
    font: 13px Monaco, monospace
}

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

ins {
    text-decoration: none
}

sup,
sub {
    height: 0;
    line-height: 1;
    vertical-align: baseline;
    position: relative
}

sup {
    bottom: 1ex
}

sub {
    top: 0.5ex
}

blockquote.left {
    float: left;
    margin-left: 0;
    margin-right: 20px;
    text-align: right;
    width: 33%
}

blockquote.right {
    float: right;
    margin-left: 20px;
    margin-right: 0;
    text-align: left;
    width: 33%
}

.entry-content img {
    margin: 0 0 18px 0
}

.gallery img {
    margin: 0
}

* {
    margin: 0;
    padding: 0
}

body {
    background: #fff;
    color: #333;
    font: 100% Arial, sans-serif;
    line-height: 1.5em;
    margin: 0;
    padding: 0
}

a,
a:visited {
    text-decoration: none;
    color: #999
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #111;
    font-weight: bold;
    font-family: Arial, sans-serif;
    line-height: 1.2em;
    margin-bottom: 0.5em
}

h1 {
    font-size: 2em
}

h2 {
    font-size: 1.8em
}

h3 {
    font-size: 1.4em
}

h4 {
    font-size: 1.2em
}

h5 {
    font-size: 1em
}

h6 {
    font-size: 0.8em
}

hr {
    margin: 1.4em auto;
    display: block;
    clear: both;
    border-collapse: collapse;
    border: 0;
    border-bottom: 1px solid #aaa
}

blockquote {
    font-style: italic
}

sup,
sub {
    font-size: 0.6em
}

pre {
    background: #f9f9f9;
    padding: 1em;
    border: 1px solid #dadada
}

ins {
    background: #ff8;
    padding: 0 4px
}

.entry-content strong {
    color: #111
}

.entry-content table {
    border: 1px solid #ddd;
    width: 100%
}

.entry-content table th {
    padding: 5px 20px;
    text-align: left;
    font-weight: bold;
    color: #111
}

.entry-content table td {
    border-top: 1px solid #ddd;
    padding: 5px 20px
}

.al,
.left {
    position: relative;
    float: left !important;
    margin-right: 10px
}

.ar,
.right {
    position: relative;
    float: right !important;
    margin-left: 10px
}

.center {
    display: block;
    margin: 0 auto;
    text-align: center
}

.ma {
    margin: auto
}

.cb {
    display: block;
    position: relative;
    clear: both
}

.fine {
    font-size: 0.8em;
    line-height: 1.4em
}

img,
p img {
    float: none;
    margin: auto;
    border: 0
}

.more-link {
    display: block;
    position: relative;
    float: left;
    clear: both
}

.submit-button {
    background: #333;
    color: #fff;
    border: 0;
    width: auto;
    font-weight: bold;
    text-transform: uppercase
}

.submit-button:hover {
    background: #555
}

.entry-content dl,
.entry-content ul,
.entry-content ol {
    margin: 1em 2em
}

.entry-content dl dl,
.entry-content ul ul,
.entry-content ol ol {
    margin: 0 2em
}

.entry-content ul {
    list-style: disc
}

.entry-content ol {
    list-style-type: lower-roman
}

.skip-to-content {
    position: absolute;
    left: -999em
}

.rtt {
    display: block;
    font-size: 0.8em;
    text-align: center;
    position: relative;
    clear: both
}

#wrap,
#footer_wrap {
    background: #fff;
    width: 960px;
    padding: 0;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

#footer_wrap {
    border-width: 0 1px 1px;
    display: flex;
}

#header {
    position: relative;
    clear: both;
    overflow: visible
}

#header h1 {
    margin: 0
}

#logo {
    display: block;
    margin: 25px 0;
    position: relative
}

#blog-title {
    position: absolute;
    text-indent: -999em
}

#blog-description {
    clear: both;
    margin: 10px auto
}

#container_wrap {
    margin: 0 auto;
    position: relative;
    clear: both;
    padding: 20px 0;
}

#nav-above,
#nav-below {
    position: relative;
    overflow: hidden
}

.nav-previous,
.nav-next {
    width: 45%
}

.nav-previous {
    position: relative;
    float: left;
    text-align: left
}

.nav-next {
    position: relative;
    float: right;
    text-align: right
}

.page-template-page-fullwidth-php div#container,
.page-template-page-fullwidth-php div#content {
    margin: 0 auto
}

.page-template-page-fullwidth-php div#primary,
.page-template-page-fullwidth-php div#secondary {
    display: none
}

/* Menu */
.nav {
    font-weight: 600;
    width: 100%;
    margin: 20px auto;
    border-bottom: 1px solid #e0e0e0;
    overflow: visible;
    height: 44px;
    line-height: 44px;
    clear: both;
}

.nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 1000
}

.nav-primary ul {
    z-index: 1500
}

.nav li {
    display: block;
    position: relative;
    float: left;
    padding: 0;
    margin: 0
}

/* Default Links */
.nav li a,
.nav li a:visited {
    color: #555;
    padding: 0 18px;
    margin: 0;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    transition: color 0.3s ease;
    text-decoration: none;
}

.nav li:hover a,
.nav li:hover a:visited,
.nav li a:hover,
.nav li a:active,
.nav li a:focus,
.nav li.current-menu-item a,
.nav li.current-menu-item a:visited,
.nav li.current-menu-ancestor a,
.nav li.current-menu-ancestor a:visited {
    color: #000;
    border-bottom: 3px solid #000
}

/* Active Links */
/* Sub-menu */
.nav li ul,
.nav li:hover li ul {
    display: none;
    background: #222;
    width: 200px;
    padding: 0;
    margin: 0;
    position: absolute;
    top: 30px;
    left: 0;
    z-index: 1100
}

.nav li:hover ul,
.nav li li:hover ul {
    display: block
}

.nav li:hover li ul {
    top: 0;
    left: 200px;
    z-index: 1200
}

/* Sub-menu Links */
.nav li li {
    float: none;
    display: block
}

.nav li li a,
.nav li li a:visited,
.nav li:hover li a,
.nav li:hover li a:visited {
    display: block;
    font-weight: normal;
    color: #eee;
    border: 0
}

/* Sub-menu Active Links */
.nav li:hover li a:hover,
.nav li:hover li a:active {
    background: #eaeaea;
    color: #222
}

.nav li li.current-menu-item a,
.nav li li.current-menu-item a:visited,
.nav li li.current-menu-ancestor a,
.nav li li.current-menu-ancestor a:visited {
    background: #f9f9f9;
    color: #222
}

/* Top Nav Menu Styles */
.nav-sb_before {
    background: #111;
    padding-bottom: 0;
    margin: 0 auto;
    width: 100%;
    height: 30px;
    border-bottom: 0
}

.nav-sb_before ul {
    width: 960px;
    margin: 0 auto;
    z-index: 1600
}

.nav-sb_before ul#primary_nav {
    z-index: 1700
}

/* Top Nav Links */
.nav-sb_before li a,
.nav-sb_before li a:visited {
    color: #aaa;
    font-weight: normal;
    font-size: 0.7em;
    line-height: 30px;
    letter-spacing: 1px;
    padding: 0 8px;
    text-transform: uppercase
}

/* Top Nav Active Links */
.nav-sb_before li:hover a,
.nav-sb_before li:hover a:visited,
.nav-sb_before li a:hover,
.nav-sb_before li a:active,
.nav-sb_before li a:focus,
.nav-sb_before li.current-menu-item a,
.nav-sb_before li.current-menu-item a:visited,
.nav-sb_before li.current-menu-ancestor a,
.nav-sb_before li.current-menu-ancestor a:visited {
    background: transparent;
    color: #fff;
    border-bottom: 0
}

.nav-sb_before li.current-menu-item a,
.nav-sb_before li.current-menu-item a:visited,
.nav-sb_before li.current-menu-ancestor a,
.nav-sb_before li.current-menu-ancestor a:visited {
    font-weight: bold
}

/* Top Nav Sub-menu */
.nav-sb_before li ul {
    top: 30px
}

.nav-sb_before li:hover li ul {
    top: 0
}

/* Top Nav Sub-menu Links */
.nav-sb_before li li a,
.nav-sb_before li li a:visited,
.nav-sb_before li:hover li a,
.nav-sb_before li:hover li a:visited {
    background: #111;
    color: #eee;
    font-size: 0.8em;
    line-height: 1.4em;
    text-transform: none;
    padding: 5px 10px
}

/* Top Nav Sub-menu Active Links */
.nav-sb_before li:hover li a:hover,
.nav-sb_before li:hover li a:active,
.nav-sb_before li li.current-menu-item a,
.nav-sb_before li li.current-menu-item a:visited,
.nav-sb_before li li.current-menu-ancestor a,
.nav-sb_before li li.current-menu-ancestor a:visited {
    background: #333;
    color: #fff
}

/* Footer Nav Menu Styles */
.nav-footer {
    padding-bottom: 0;
    margin: 0 auto;
    width: auto;
    height: 30px;
    border-bottom: 0
}

.nav-footer ul {
    margin: 0 auto;
    width: auto
}

#footer_right .nav-footer {
    float: right
}

/* Footer Nav Links */
.nav-footer li a,
.nav-footer li a:visited {
    font-size: 0.8em;
    text-transform: none;
    font-weight: normal;
    padding: 0 8px
}

/* Footer Nav Active Links */
.nav-footer li:hover a,
.nav-footer li:hover a:visited,
.nav-footer li a:hover,
.nav-footer li a:active,
.nav-footer li a:focus,
.nav-footer li.current-menu-item a,
.nav-footer li.current-menu-item a:visited,
.nav-footer li.current-menu-ancestor a,
.nav-footer li.current-menu-ancestor a:visited {
    color: #111;
    border-bottom: 0
}

/* Footer Nav Sub-menu */
.nav-footer li ul {
    top: 30px
}

.nav-footer li:hover li ul {
    top: 0
}

/* Footer Nav Sub-menu Links */
.nav-footer li li a,
.nav-footer li li a:visited,
.nav-footer li:hover li a,
.nav-footer li:hover li a:visited {
    background: #111;
    color: #eee;
    line-height: 1.4em;
    text-transform: none;
    padding: 5px 10px
}

/* Footer Nav Sub-menu Active Links */
.nav-footer li:hover li a:hover,
.nav-footer li:hover li a:active,
.nav-footer li li.current-menu-item a,
.nav-footer li li.current-menu-item a:visited,
.nav-footer li li.current-menu-ancestor a,
.nav-footer li li.current-menu-ancestor a:visited {
    background: #333;
    color: #fff
}

/* Nav Extras */
.nav-primary li.search {
    padding-bottom: 3px;
    position: relative;
    float: right
}

.nav-primary li.menu-item-type-search .searchtext {
    width: 250px
}

.nav-primary li.menu-item-type-search .button {
    display: none
}

.nav li.menu-item-type-social {
    position: relative;
    float: right;
    height: 24px
}

.nav li.menu-item-type-social a,
li.menu-item-type-social a:visited {
    padding: 3px
}

.nav li.menu-item-type-social a img {
    margin: 3px auto
}

.nav li.menu-item-type-social a span {
    position: absolute;
    left: -999em
}

.nav li.menu-item-type-search {
    position: relative;
    float: right
}

.nav li.menu-item-type-search .searchtext {
    display: block;
    background: #f7f5f3 url(../../images/search.png) no-repeat 98% 50%;
    color: #555;
    font: 0.8em Arial, sans-serif;
    width: 270px;
    padding: 3px 5px;
    line-height: 20px;
    border: 1px solid #555
}

.nav li.menu-item-type-search .searchbutton {
    display: none
}

.aside .xoxo,
.aside .xoxo ul {
    list-style: none;
    margin: 0;
    padding: 0
}

#featured_aside {
    position: relative;
    overflow: hidden;
    float: none;
    width: 100%
}

.featured-item {
    padding: 5px 0;
    position: relative;
    clear: both;
    overflow: hidden;
    border-top: 1px solid #ccc
}

.featured-meta {
    font-size: 0.7em;
    line-height: 1.4em;
    text-transform: uppercase
}

div.post {
    padding-bottom: 30px;
    border-bottom: 1px solid #ccc;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden
}

.single div.post {
    border: 0;
    margin-bottom: 0
}

.page-title {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #222;
    margin-bottom: 40px;
}

.entry-title,
.single .page-title {
    line-height: 1.2em;
    display: block;
    margin-bottom: -4px
}

.entry-title a,
.entry-title a:visited {
    color: #000
}

.entry-meta {
    font-size: 0.7em;
    text-transform: uppercase;
    margin-bottom: 18px
}

.entry-photo {
    margin: 0 0 15px 15px;
    position: relative;
    float: right
}

.entry-content {
    position: relative
}

.entry-footer {
    position: relative;
    clear: both
}

.entry-tags {
    display: block;
    margin-bottom: 15px;
    position: relative;
    float: left
}

.entry-comments a,
.entry-comments a:visited {
    background: url(../../images/comments/comment_bubble.png) no-repeat 0 50%;
    color: #777;
    padding-left: 25px;
    line-height: 18px;
    padding-bottom: 3px;
    text-transform: uppercase;
    font: bold 1em "Arial Narrow", "Trebuchet MS", sans-serif;
    position: relative;
    float: right
}

#entry-author-info {
    position: relative;
    overflow: hidden;
    background: #f5f5f5;
    padding: 20px;
    margin-bottom: 20px
}

.single #entry-author-info {
    padding: 10px
}

#entry-author-info h2 {
    margin-bottom: 10px
}

.single #entry-author-info h2 {
    font-size: 1.2em
}

#author-avatar {
    position: relative;
    float: left;
    margin-right: 20px
}

.single #author-avatar {
    margin-right: 10px
}

div#footer,
#wp_footer {
    margin: 10px auto;
    clear: both
}

#footer_sidebar .aside {
    position: relative;
    float: left
}

#footer_left {
    float: none;
    width: 100%;
    text-align: center;
    padding: 20px 0;
}

#footer_right {
    text-align: right;
    width: 45%;
    position: relative;
    float: right
}

#credits,
#admin_links {
    overflow: hidden;
    padding: 15px 0;
    clear: both
}

#credits {
    position: relative;
    float: left
}

.copyright,
.footer_text {
    display: block;
    text-align: center;
}

#admin_links ul {
    list-style: none;
    margin: 0;
    padding: 0
}

#admin_links li {
    display: inline
}

#admin_links li.meta-sep {
    margin: 0 5px
}

body .gform_wrapper input[type=text],
body .gform_wrapper textarea {
    color: #333;
    font-size: 1em;
    border: 1px solid #aaa;
    padding: 5px
}

.gform_wrapper .top_label input.medium,
.gform_wrapper .top_label select.medium {
    width: 475px
}

.gform_wrapper .ginput_complex .ginput_left,
.gform_wrapper .ginput_complex .ginput_right {
    width: 245px
}

.gform_wrapper .ginput_complex label,
.gform_wrapper .gfield_time_hour label,
.gform_wrapper .gfield_time_minute label,
.gform_wrapper .gfield_date_month label,
.gform_wrapper .gfield_date_day label,
.gform_wrapper .gfield_date_year label,
.gform_wrapper .instruction {
    line-height: 1em;
    margin-bottom: 0
}

.gform_wrapper input.button {
    margin: 0
}

body .gform_wrapper .gform_footer {
    margin: 10px 0 0;
    padding: 0
}

body .gform_wrapper .large input.medium,
body .gform_wrapper .large select.medium {
    width: 92%
}

.layout-one-col div.aside {
    float: left;
    overflow: hidden
}

.layout-one-col div#primary,
.layout-one-col div#secondary,
.layout-one-col div#tertiary {
    display: none
}

.layout-one-col div#footer_wrap {
    clear: left
}

/* Full-width Page Template */
.page-template-page-fullwidth-php div#container,
.page-template-page-fullwidth-php div#content {
    float: none !important;
    margin: 0 auto !important
}

.page-template-page-fullwidth-php div.aside {
    float: left !important;
    overflow: hidden !important
}

.page-template-page-fullwidth-php div#primary,
.page-template-page-fullwidth-php div#secondary,
.page-template-page-fullwidth-php div#tertiary {
    display: none !important
}

.page-template-page-fullwidth-php div#footer_wrap {
    clear: left !important
}

* html
/* --- TEMP STYLES FROM OLD SITE --- */
/* --- temp_styles.css --- */
/* Esportazione degli stili inline dal vecchio sito WordPress */

/* WP Image Auto Sizes */
img:is([sizes=auto i], [sizes^="auto," i]) {
    contain-intrinsic-size: 3000px 1500px
}

/* WP Emoji Styles */
img

/* WP Block Library */
:root {
    --wp-block-synced-color: #7a00df;
    --wp-block-synced-color--rgb: 122, 0, 223;
    --wp-bound-block-color: var(--wp-block-synced-color);
    --wp-editor-canvas-background: #ddd;
    --wp-admin-theme-color: #007cba;
    --wp-admin-theme-color--rgb: 0, 124, 186;
    --wp-admin-theme-color-darker-10: #006ba1;
    --wp-admin-theme-color-darker-10--rgb: 0, 107, 160.5;
    --wp-admin-theme-color-darker-20: #005a87;
    --wp-admin-theme-color-darker-20--rgb: 0, 90, 135;
    --wp-admin-border-width-focus: 2px
}

@media (min-resolution:192dpi) {
    :root {
        --wp-admin-border-width-focus: 1.5px
    }
}

.wp-element-button {
    cursor: pointer
}

:root .has-very-light-gray-background-color {
    background-color: #eee
}

:root .has-very-dark-gray-background-color {
    background-color: #313131
}

:root .has-very-light-gray-color {
    color: #eee
}

:root .has-very-dark-gray-color {
    color: #313131
}

:root .has-vivid-green-cyan-to-vivid-cyan-blue-gradient-background {
    background: linear-gradient(135deg, #00d084, #0693e3)
}

:root .has-purple-crush-gradient-background {
    background: linear-gradient(135deg, #34e2e4, #4721fb 50%, #ab1dfe)
}

:root .has-hazy-dawn-gradient-background {
    background: linear-gradient(135deg, #faaca8, #dad0ec)
}

:root .has-subdued-olive-gradient-background {
    background: linear-gradient(135deg, #fafae1, #67a671)
}

:root .has-atomic-cream-gradient-background {
    background: linear-gradient(135deg, #fdd79a, #004a59)
}

:root .has-nightshade-gradient-background {
    background: linear-gradient(135deg, #330968, #31cdcf)
}

:root .has-midnight-gradient-background {
    background: linear-gradient(135deg, #020381, #2874fc)
}

:root {
    --wp--preset--font-size--normal: 16px;
    --wp--preset--font-size--huge: 42px
}

.has-regular-font-size {
    font-size: 1em
}

.has-larger-font-size {
    font-size: 2.625em
}

.has-normal-font-size {
    font-size: var(--wp--preset--font-size--normal)
}

.has-huge-font-size {
    font-size: var(--wp--preset--font-size--huge)
}

:root .has-text-align-center {
    text-align: center
}

:root .has-text-align-left {
    text-align: left
}

:root .has-text-align-right {
    text-align: right
}

.has-fit-text {
    white-space: nowrap !important
}

#end-resizable-editor-section {
    display: none
}



.items-justified-left {
    justify-content: flex-start
}

.items-justified-center {
    justify-content: center
}

.items-justified-right {
    justify-content: flex-end
}

.items-justified-space-between {
    justify-content: space-between
}

.screen-reader-text {
    word-wrap: normal !important;
    border: 0;
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px
}

.screen-reader-text:focus {
    background-color: #ddd;
    clip-path: none;
    color: #444;
    display: block;
    font-size: 1em;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000
}

html :where(.has-border-color) {
    border-style: solid
}

html :where([style*=border-color]) {
    border-style: solid
}

html :where([style*=border-top-color]) {
    border-top-style: solid
}

html :where([style*=border-right-color]) {
    border-right-style: solid
}

html :where([style*=border-bottom-color]) {
    border-bottom-style: solid
}

html :where([style*=border-left-color]) {
    border-left-style: solid
}

html :where([style*=border-width]) {
    border-style: solid
}

html :where([style*=border-top-width]) {
    border-top-style: solid
}

html :where([style*=border-right-width]) {
    border-right-width: solid
}

html :where([style*=border-bottom-width]) {
    border-bottom-width: solid
}

html :where([style*=border-left-width]) {
    border-left-width: solid
}

html :where(img[class*=wp-image-]) {
    height: auto;
    max-width: 100%
}

:where(figure) {
    margin: 0 0 1em
}

html :where(.is-position-sticky) {
    --wp-admin--admin-bar--position-offset: var(--wp-admin--admin-bar--height, 0px)
}

@media screen and (max-width:600px) {
    html :where(.is-position-sticky) {
        --wp-admin--admin-bar--position-offset: 0px
    }
}

/* Classic Theme Styles */

/* Photospace */

/* =========================================
   GRAV TEMPLATE CUSTOM STYLES
   ========================================= */

/* Artists Grid */
.artists-grid ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.artists-grid li {
    flex: 1 1 300px;
    padding: 15px;
    background: #fff;
    border: 1px solid #eaeaea;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.03);
    transition: transform 0.2s, box-shadow 0.2s;
}

.artists-grid li:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
}

.artists-grid li h3 a {
    color: #333;
    text-decoration: none;
}

.artists-grid li h3 a:hover {
    color: #d11a2a;
}

/* MixItUp Event Controls */
.mixitup-controls button {
    background: #f1f1f1;
    border: none;
    padding: 8px 15px;
    margin-right: 5px;
    cursor: pointer;
    border-radius: 3px;
    transition: background 0.3s, color 0.3s;
}

.mixitup-controls button:hover,
.mixitup-controls button.mixitup-control-active {
    background: #333;
    color: #fff;
}

/* Event Items */
.mix-container .mix {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eaeaea;
}

.mix-container .mix h3 a {
    color: #333;
    text-decoration: none;
}

.mix-container .mix h3 a:hover {
    color: #d11a2a;
}

.mix-container .read-more {
    display: inline-block;
    margin-top: 10px;
    font-weight: bold;
    color: #d11a2a;
}

/* Extracted from events.html.twig */
/* CSS Grid & Cards styling */
.events-header {
    text-align: center;
    margin-bottom: 40px;
}



/* Filtri a pillola */
.filter-controls {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
}

.filter-btn {
    background: transparent;
    border: 2px solid #e0e0e0;
    color: #666;
    padding: 10px 24px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

.filter-btn:hover {
    border-color: #007cba;
    color: #007cba;
    background: rgba(0, 124, 186, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 124, 186, 0.15);
}

.filter-btn.active {
    background: linear-gradient(135deg, #007cba 0%, #004a73 100%);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 6px 15px rgba(0, 90, 135, 0.3);
    transform: translateY(-2px);
}

/* Griglia Eventi */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

/* Event Card */
.event-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid #eaeaea;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
}

.event-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-bottom: 1px solid #eee;
    transition: transform 0.4s ease;
}

.event-card:hover .event-image {
    transform: scale(1.05);
}

.event-image-container {
    overflow: hidden;
    height: 220px;
}

.event-placeholder {
    width: 100%;
    height: 220px;
    background: #f8f8f8;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    font-style: italic;
    border-bottom: 1px solid #eee;
}

.event-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.event-date-badge {
    display: inline-block;
    background: #f4f4f4;
    color: #666;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    align-self: flex-start;
}

.event-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 15px 0;
    line-height: 1.4;
}

.event-title a {
    color: #222;
    text-decoration: none;
    transition: color 0.2s ease;
}

.event-title a:hover {
    color: #007cba;
}

.event-summary {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1;
}

.event-read-more {
    display: inline-block;
    margin-top: auto;
    color: #007cba;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    transition: color 0.2s ease;
}

.event-read-more:hover {
    color: #005a87;
}

/* Smooth Slide Up & Fade animation for JS filter */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Extracted from gallery.html.twig */


/* Contenitore Principale Galleria */
.gallery-container {
    max-width: 900px;
    margin: 0 auto 50px auto;
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* Immagine Principale */
.gallery-main-wrapper {
    position: relative;
    display: block;
    width: 100%;
}

.gallery-main {
    width: 100%;
    height: 500px;
    border-radius: 8px;
    overflow: hidden;
    background: #f0f0f0;
    position: relative;
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: opacity 0.3s ease;
}

.image-protector {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    background: transparent;
}

.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    color: #333;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
}

.gallery-arrow:hover {
    background: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: #007cba;
}

.thumb-arrow.left {
    left: -15px;
}

.thumb-arrow.right {
    right: -15px;
}

.main-arrow.left {
    left: 10px;
}

.main-arrow.right {
    right: 10px;
}

/* Strip delle miniature */
.gallery-thumbs-wrapper {
    position: relative;
    margin-bottom: 20px;
    padding: 0 20px;
}

.gallery-thumbs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 5px;
    scroll-behavior: smooth;
    /* Hide scrollbar since we have arrows */
    scrollbar-width: none;
}

.gallery-thumbs-wrapper.few-thumbs {
    padding: 0;
}

.gallery-thumbs-wrapper.few-thumbs .gallery-thumbs {
    justify-content: center;
}

.gallery-thumbs-wrapper.few-thumbs .gallery-thumb {
    flex: 1;
    width: auto;
    height: 80px;
    max-width: 180px;
}

.gallery-thumbs::-webkit-scrollbar {
    display: none;
}

.gallery-thumb {
    flex: 0 0 auto;
    width: 80px;
    height: 60px;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.gallery-thumb:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.gallery-thumb.active {
    opacity: 1;
    border-color: #007cba;
    box-shadow: 0 4px 10px rgba(0, 124, 186, 0.3);
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    max-width: 900px;
    margin: 0 auto;
}

/* Extracted from home.html.twig */
.home-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 30px;
    align-items: flex-start;
}

.home-text {
    flex: 1 1 45%;
}

.home-featured-event {
    flex: 1 1 45%;
    text-align: center;
    margin-bottom: 10px;
    margin-right: 10px;
}

.home-featured-event img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.home-featured-event img:hover {
    transform: scale(1.02);
}

@media (max-width: 768px) {
    .home-layout {
        flex-direction: column;
    }

    .home-text,
    .home-featured-event {
        flex: 1 1 100%;
    }
}

/* Extracted from default.md */
/* Sezione Contatti */
.contact-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 50px;
    justify-content: center;
}

.contact-card {
    flex: 1 1 280px;
    background: #f9f9f9;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    padding: 30px 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.contact-icon {
    color: #444;
    margin-bottom: 15px;
}

.contact-card h4 {
    margin: 0 0 15px 0;
    font-size: 1.2rem;
    color: #222;
}

.contact-card p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
}

.contact-card a {
    color: #007cba;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-card a:hover {
    color: #005a87;
    text-decoration: underline;
}

.friends-section {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.friends-section h3 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 25px;
    text-align: center;
}

.friends-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.friend-card {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 20px;
    background: #ffffff;
    border: 1px solid #eaeaea;
    border-radius: 12px;
    text-decoration: none !important;
    color: #444;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}

.friend-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    border-color: #007cba;
    color: #007cba;
}

.friend-card svg {
    width: 18px;
    height: 18px;
    margin-right: 10px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: 0.7;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

.aligncenter {
    clear: both;
    display: block;
    margin: 5px auto 5px auto;
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%;
    padding: 5px 3px 10px;
    text-align: center;
    width: 222px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: 100%;
}

.wp-caption p.wp-caption-text,
.wp-caption figcaption {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

/* Artist Works Grid */
.artist-works-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin: 40px 0;
}

.work-card {
    width: 180px;
    flex-grow: 0;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    height: 120px;
    display: flex;
    align-items: flex-end;
    text-decoration: none !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.work-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.work-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.work-card:hover .work-card-bg {
    transform: scale(1.05);
}

.work-card-bg.fallback-bg {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.work-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0) 70%);
    display: flex;
    align-items: flex-end;
    padding: 12px;
    box-sizing: border-box;
    z-index: 1;
}

.work-card-title {
    color: #fff;
    margin: 0;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Main Artists Grid Overrides */
#artists-grid .work-card {
    width: 210px;
}

/* Prevent the entire page from ghosting/shifting during View Transitions */
:root {
    view-transition-name: none;
}

.main-artist-card {
    height: 170px;
}

/* Custom View Transitions for smoother and slower filtering */
::view-transition-group(*) {
    animation-duration: 0.8s;
    animation-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1);
}

::view-transition-old(*),
::view-transition-new(*) {
    animation-duration: 0.8s;
    animation-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1);
}