/*!
Theme Name: Imperia Calcio
Theme URI: https://presscommtech.com/
Author: PressComm Tech s.r.l.
Author URI: https://presscommtech.com/
Description: Description
Version: 1.0.0
Tested up to: 8.2.4
Requires PHP: 8.2.4
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

:root{
	--BIANCO: #FEFEFE;
	--GIALLO: #FBE200;
	--IMPERIA-CALCIO: #1E4388;
	--bianco-25: rgba(254, 254, 254, 0.25);
}

/* ==========================================================================
   INTER (Variable Font - Gestisce tutti i pesi da 100 a 900)
   ========================================================================== */

/* Variante Normal */
@font-face {
    font-family: 'Inter';
    src: url('font/Inter/Inter.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

/* Variante Italic */
@font-face {
    font-family: 'Inter';
    src: url('font/Inter/Inter-Italic.ttf') format('truetype');
    font-weight: 100 900;
    font-style: italic;
    font-display: swap;
}


/* ==========================================================================
   CIRCULAR STD - FONTS REGULAR (Statici .otf)
   ========================================================================== */

/* Light -> Peso 300 */
@font-face {
    font-family: 'Circular Std';
    src: url('font/Circular Std/circularStd/circular-light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

/* Medium -> Peso 500 (Usato spesso come Regular/400 se manca il Book) */
@font-face {
    font-family: 'Circular Std';
    src: url('font/Circular Std/circularStd/circular-medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

/* Bold -> Peso 700 */
@font-face {
    font-family: 'Circular Std';
    src: url('font/Circular Std/circularStd/circular-bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Black -> Peso 900 */
@font-face {
    font-family: 'Circular Std';
    src: url('font/Circular Std/circularStd/circular-black.otf') format('opentype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}


/* ==========================================================================
   CIRCULAR STD - FONTS ITALIC (Statici .otf)
   ========================================================================== */

/* Book Italic -> Peso 400 */
@font-face {
    font-family: 'Circular Std';
    src: url('font/Circular Std/circularStd-Italic/circular-book-italic.otf') format('opentype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

/* Medium Italic -> Peso 500 */
@font-face {
    font-family: 'Circular Std';
    src: url('font/Circular Std/circularStd-Italic/circular-medium-italic.otf') format('opentype');
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}

/* Bold Italic -> Peso 700 */
@font-face {
    font-family: 'Circular Std';
    src: url('font/Circular Std/circularStd-Italic/circular-bold-italic.otf') format('opentype');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

/* Black Italic -> Peso 900 */
@font-face {
    font-family: 'Circular Std';
    src: url('font/Circular Std/circularStd-Italic/circular-black-italic.otf') format('opentype');
    font-weight: 900;
    font-style: italic;
    font-display: swap;
}

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
	background-color: transparent;
	outline: none !important;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
	font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
	display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	color: #404040;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-size: 1rem;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}

p {
	margin-bottom: 1.5em;
}

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

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

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

code,
kbd,
tt,
var {
	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

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

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

big {
	font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
	background: #fff;
}

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: 1.5em;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

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

img {
	height: auto;
	max-width: 100%;
}

figure {
	margin: 1em 0;
}

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

/* Links
--------------------------------------------- */
a {
	color: #4169e1;
}

a:visited {
	color: inherit;
}

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

a:focus {
	outline: thin dotted;
}

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

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, 0.8);
	line-height: 1;
	padding: 0.6em 1em 0.4em;
}

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

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

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Navigation
--------------------------------------------- */
.main-navigation {
	display: block;
	width: 100%;
}

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

.main-navigation ul ul {
	box-shadow: 0 3px 30px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 100%;
	left: -999em;
	z-index: 99999;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

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

.main-navigation ul ul a {
	width: 200px;
}

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

.main-navigation li {
	position: relative;
}

.main-navigation a {
	display: block;
	text-decoration: none;
}

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

@media screen and (min-width: 37.5em) {

	.menu-toggle {
		display: none;
	}

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

.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
	margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}

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

.post,
.page {
	margin: 0;
}

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

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

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

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

.bypostauthor {
	display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
	margin: 0 0 1.5em;
}

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

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

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/* Captions
--------------------------------------------- */
.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 .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

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

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

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

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.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;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

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

/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

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

/*--------------------------------------------------------------
# Custom Premium CPT Layouts & Aesthetics (Video & Gallery)
--------------------------------------------------------------*/

/* Cohesive Loop & Archive Cards */
a.post-thumbnail,
.post-thumbnail-wrapper {
	display: block;
	overflow: hidden;
	/* border-radius: 8px; */
	margin-bottom: 1.5em;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
	transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s ease;
	position: relative;
}

a.post-thumbnail:hover,
.post-thumbnail-wrapper:hover {
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

a.post-thumbnail img,
.post-thumbnail-wrapper img {
	transition: transform 0.5s ease;
	display: block;
	width: 100%;
	height: auto;
}

a.post-thumbnail:hover img,
.post-thumbnail-wrapper:hover img {
	transform: scale(1.05);
}

/* Glassmorphic Play & Gallery Badges */
.video-play-overlay,
.gallery-images-overlay {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.2);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	border: 1px solid rgba(255, 255, 255, 0.3);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
	transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
	pointer-events: none;
}

.video-play-overlay svg.play-icon {
	margin-left: 4px;
	/* visually center play triangle */
	transition: transform 0.3s ease;
}

/* Hover Accent Effects */
.post-thumbnail-wrapper:hover .video-play-overlay {
	background: #ff0055;
	/* vibrant neon crimson */
	border-color: #ff0055;
	transform: translate(-50%, -50%) scale(1.15);
	box-shadow: 0 0 25px rgba(255, 0, 85, 0.6);
}

.post-thumbnail-wrapper:hover .video-play-overlay svg.play-icon {
	transform: scale(1.1);
}

.post-thumbnail-wrapper:hover .gallery-images-overlay {
	background: #4169e1;
	/* royal blue theme accent */
	border-color: #4169e1;
	transform: translate(-50%, -50%) scale(1.15);
	box-shadow: 0 0 25px rgba(65, 105, 225, 0.6);
}

/* Fallback Cards for CPTs without Thumbnails */
.post-thumbnail-wrapper a.no-thumb {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	min-height: 220px;
	background: linear-gradient(135deg, #1f1c2c, #928dab);
	border-radius: 8px;
	color: #fff;
	text-decoration: none;
	position: relative;
}

.post-thumbnail-wrapper a.no-thumb.no-thumb-gallery {
	background: linear-gradient(135deg, #191970, #4169e1);
}

.video-play-overlay.no-thumb-play,
.gallery-images-overlay.no-thumb-gallery {
	position: static;
	transform: none;
	background: rgba(255, 255, 255, 0.15);
}

/* Responsive 16:9 Video Player */
.video-embed-wrapper {
	position: relative;
	padding-bottom: 56.25%;
	/* 16:9 */
	height: 0;
	overflow: hidden;
	max-width: 100%;
	background: #000;
	border-radius: 8px;
	margin-bottom: 1.5em;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.video-embed-wrapper iframe,
.video-embed-wrapper object,
.video-embed-wrapper embed,
.video-embed-wrapper video {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

/* Modern Gutenberg Gallery Aesthetics */
.wp-block-gallery,
.gallery {
	margin-bottom: 2em;
}

.wp-block-gallery .wp-block-image img,
.gallery-item img {
	border-radius: 6px;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
	transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.wp-block-gallery .wp-block-image:hover img,
.gallery-item:hover img {
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* Video Preview Hover Container */
.video-preview-container {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	transition: opacity 0.3s ease;
	pointer-events: none;
	overflow: hidden;
	z-index: 1;
}

.video-preview-iframe {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 100%;
	height: 100%;
	transform: translate(-50%, -50%) scale(2.7);
	/* Center and zoom to hide black bars/controls */
	pointer-events: none;
}

/* Play state transitions */
.post-thumbnail-wrapper.is-playing .video-preview-container {
	opacity: 1;
}

.post-thumbnail-wrapper.is-playing .video-play-overlay {
	opacity: 0;
}

.post-thumbnail-wrapper img {
	position: relative;
	z-index: 0;
}

article.video {
	width: 320px;
	height: 480px;
	position: relative;
	overflow: hidden;
	border-radius: 30px;
}

article.video .video-post-thumbnail {
	margin: 0;
	position: absolute;
	top: 0;
	left: 0;
	z-index: -1;
}

article.video .video-post-thumbnail a {
	margin: 0;
}

article.video .video-post-thumbnail .post-thumbnail {
	height: 480px;
}

.video-preview-container {
	height: 480px;
}

article.video .cardContainer::after {
	content: "";
	width: 100%;
	height: 100%;
	background: linear-gradient(0deg, rgba(0, 0, 0, 0.20) 0%, rgba(0, 0, 0, 0.20) 100%), linear-gradient(0deg, rgba(0, 0, 0, 0.20) 0%, rgba(0, 0, 0, 0.20) 100%), linear-gradient(180deg, rgba(17, 17, 17, 0.00) 50%, rgba(17, 17, 17, 0.80) 100%);
	position: absolute;
	top: 0;
	left: 0;
	z-index: 3;
	border-bottom: 2px solid var(--bianco-25, rgba(254, 254, 254, 0.25));
}

article.video .cardContainer {
	z-index: 2;
	position: relative;
	padding: 30px;
	width: 100%;
	height: 100%;
	display: flex;
    align-items: stretch;
    flex-direction: column;
    justify-content: space-between;
	border-radius: 30px;
}

article.video .entry-header{
	color: var(--BIANCO);
	font-family: "Circular Std";
	font-size: var(--XS, 14px);
	font-style: normal;
	font-weight: 900;
	line-height: 110%; /* 15.4px */
	text-transform: uppercase;
	display: flex;
    flex-direction: row;
    gap: 10px;
	z-index: 5;
}

article.video .entry-header::before{
	content: "";
	width: 15px;
	height: 15px;
	aspect-ratio: 1/1;
	border-radius: 15px;

	background-color: var(--GIALLO);
}

article.video footer{
	z-index: 5;
	display: flex;
    flex-direction: column;
    gap: 30px;
}

article.video footer .posted-on a{
	color: var(--BIANCO);
	/* Carattere piccolo */
	font-family: 'Inter';
	font-size: 14px;
	font-style: normal;
	font-weight: 400;
	line-height: 120%;
	text-decoration: none;
	text-transform: uppercase;
}

article.video footer h2::before{
	content: "";
	background: url(img/icons/videoIcon.svg);
	width: 30px;
	height: 30px;
	display: flex;
}

article.video footer h2 {
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 15px;
}

article.video footer h2 a{
	overflow: hidden;
	color: var(--BIANCO);
	leading-trim: both;
	text-edge: cap;
	text-overflow: ellipsis;
	/* P BOLD */
	font-family: "Circular Std";
	font-size: 18px;
	font-style: normal;
	font-weight: 900;
	line-height: 120%; 
	text-decoration: none;

	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	align-self: stretch;
}

/** Footer */
.footer-sponsor .widget{
	margin: 0;
}

.site-footer{
	width: 100%;
	background: var(--IMPERIA-CALCIO);
	color: var(--BIANCO);
	position: relative;
}

.site-footer .footer-widgets{
	padding-top: 30px;
	padding-bottom: 30px;
	display: flex;
	flex-direction: column;
	gap: 38px;
}

.site-footer:before{
	width: 100%;
	height: 240px;
	position: absolute;
	top: 0;
	left: 0;
}

.site-footer .footer-bottom-legals{
	max-width: 990px;
	margin-left: auto;
	margin-right: auto;
	text-align: center;

	font-family: "Inter", sans-serif;
	font-size: 14px;
	font-style: normal;
	font-weight: 400;
	line-height: 120%;
}

.site-footer .footer-bottom-legals a{
	text-decoration: none;
	color: var(--BIANCO);
}

.site-footer .footer-column-1{
	display: flex;
	flex-direction: row;
	gap: 15px;
	justify-content: center;
    align-items: center;
}

.site-footer .footer-column-1 .wp-block-image, .site-footer .footer-column-1 .widget{
	margin: 0;
}

.site-footer .footer-column-1 img{
	aspect-ratio: 1;
	width: 30px;
}

.site-footer .footer-column-2 .widget, .site-footer .footer-column-2 .wp-block-columns{
	margin: 0;
}

.site-footer .footer-column-2 .wp-block-columns{
	gap: 30px;
	justify-content: center;
	padding-left: 15px;
	padding-right: 15px;
}

.site-footer .footer-column-2 .wp-block-columns .wp-block-column{
	flex-direction: column;
    display: flex;
    gap: 9px;
}

.site-footer .footer-column-2 .wp-block-columns .wp-block-column, .site-footer .footer-column-2 .wp-block-columns .wp-block-column .wp-block-paragraph{
	width: fit-content;
	flex-grow: 0;
	flex-basis: auto;
}

.site-footer .footer-column-2 .wp-block-columns .wp-block-column .wp-block-paragraph{
	margin: 0;
	line-height: 110%;
}

.site-footer .footer-column-2 .wp-block-columns .wp-block-column .wp-block-paragraph strong{
	color: rgba(255, 255, 255, 1);
}

.site-footer .footer-column-2 .wp-block-columns .wp-block-column .wp-block-paragraph a{
	color: var(--BIANCO);
	text-decoration: none;
	text-transform: uppercase;
	font-family: "Circular Std", sans-serif;
	font-size: var(--S, 16px);
	font-style: normal;
	font-weight: 900;
	color: rgba(255, 255, 255, .75);
}

.site-footer .footer-logo{
	display: flex;
    justify-content: center;
	background: linear-gradient(180deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
	padding-top: 120px;
}

.site-footer .footer-logo img{
	display: block;
}

/* Header */
.site-header{
	background: linear-gradient(180deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%), var(--IMPERIA-CALCIO);
}

.site-header .header-sponsor{
	border-bottom: 1px solid var(--GIALLO);
}

.site-header .header-sponsor figure, .site-header .header-sponsor .widget{
	margin: 0;
}

.site-header .header-sponsor .wp-block-columns{
	margin-bottom: 0;
	gap: 30px;
	justify-content: center;
}

.site-header .header-sponsor .wp-block-columns .loghi-small {
	display: flex;
	gap: 30px
}

.site-header .header-sponsor .wp-block-columns .wp-block-column{
	display: flex;
	flex-grow: 0;
    flex-basis: auto;
	padding-top: 5px;
	padding-bottom: 5px;
	
}

.site-header .site-branding img{
	height: 60px;
	display: block;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%); 
}

.site-header .menuContainer{
	display: flex;
	flex-direction: row;
	align-items: center;
    justify-content: space-between;
	padding-left: 30px;
	padding-right: 30px;
	position: relative;
}

.site-header .menuContainer .main-navigation{
	width: fit-content;
}

.site-header .menuContainer .main-navigation .menu-item a{
	padding: 30px 15px;
	color: var(--BIANCO);
	text-align: center;
	
	font-family: "Circular Std";
	font-size: var(--S, 16px);
	font-style: normal;
	font-weight: 900;
	text-transform: uppercase;
	border-bottom: 2px solid transparent;

	transition: all ease-in-out .3s;
}

.site-header .menuContainer .main-navigation .menu-item a:hover{
	border-bottom: 2px solid var(--GIALLO);
}

.site-header .menuContainer .menu-item.store a, .site-header .menuContainer .menu-item.tickets a{
	display: flex;
	flex-direction: row;
	gap: 10px;
}

.site-header .menuContainer .menu-item.store a::before{
	content: "";
	width: 24px;
	height: 24px;
	aspect-ratio: 1;
	background: url('img/icons/cart.svg');
	display: block;
	background-repeat: no-repeat;
	background-position: center;
}

.site-header .menuContainer .menu-item.tickets a::before{
	content: "";
	width: 24px;
	height: 24px;
	aspect-ratio: 1;
	background: url('img/icons/ticket.svg');
	display: block;
	background-repeat: no-repeat;
	background-position: center;
}

#site-navigation{
	display: flex;
	flex-direction: row;
    align-items: center;
	gap: 30px;
}

/* Homepage template */
.home-page-template .entry-content, .home-page-template article{
	margin: 0;
}

.home-page-template .hero, .news-page-template .hero{
	width: 100%;
	overflow-x: hidden;
	height: calc(100vh - 117px);
}

.news-page-template .hero{
	padding-top: 30px;
    padding-bottom: 30px;
    /* padding-left: 60px; */
    /* padding-right: 60px; */
	height: auto;
}

.home-page-template .hero article{	
	height: calc(100vh - 117px);
	width: 100vw;
	position: relative;
	overflow: hidden;
	background: black;
}

.news-page-template .hero article{
	height: calc(100vh - 117px);
	position: relative;
	overflow: hidden;
	background: black;
	width: 1029px;
	height: 579px;
	border-radius: 30px;
}

.home-page-template .hero .hero-list, .news-page-template .hero .hero-list{
	display: flex;
	flex-direction: row;
	/* width: max-content; */
}

.news-page-template .hero .hero-list{
	gap: 15px;
}


.home-page-template .card-video-autoplay .post-video-container {
    position: relative;
    height: calc(100vh - 117px);
    overflow: hidden;
}

.home-page-template .card-video-autoplay .post-video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    /* height: 100%; */
	height: calc(100vh - 117px);
    pointer-events: none; /* Impedisce all'utente di cliccare sul video stoppandolo per sbaglio */
    transform: scale(1.4);
}

.home-page-template .hero article .post-thumbnail{
	position: absolute;
    z-index: 0;
    width: 100%;
    display: flex;
    justify-content: center;
}

.home-page-template .hero article .contentHero, .news-page-template .hero article .contentHero{
	width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    padding: 60px;
	background: linear-gradient(0deg, #1E4388, transparent);
	/* z-index: 1; */
    position: relative;
}

.badgeNewsEvidenza{
	border-radius: 60px;
	background: var(--IMPERIA-CALCIO, #1E4388);
	padding: 10px 15px;

	color: var(--BIANCO, #FEFEFE);
	font-family: "Circular Std";
	font-size: var(--XS, 14px);
	font-style: normal;
	font-weight: 900;
	line-height: 110%; /* 15.4px */
	text-transform: uppercase;

	display: flex;
    align-items: center;
    justify-content: center;
}

.news-page-template .hero article .contentHero{
	position: absolute;
	top: 0;
	left: 0;
	padding: 30px 90px 30px 30px;
	flex-direction: column;
	justify-content: space-between;
	align-items: flex-start;
	flex: 1 0 0;
	align-self: stretch;
	transition: all ease-in-out .3s;
	background: none;
	z-index: 2;
}

.news-page-template .hero article .contentHero::after{
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	background: linear-gradient(0deg,rgba(0, 0, 0, 0.20) 0%,rgba(0, 0, 0, 0.20) 100%), linear-gradient(180deg,rgba(17, 17, 17, 0.00) 50%, rgba(17, 17, 17, 0.80) 100%);
	opacity: .7;
	z-index: 1;
	width: 100%;
    height: 100%;
	transition: opacity .3s ease-in-out;
}

.news-page-template .hero article{
	border-bottom: 2px solid transparent;
	transition: border .3s ease-in-out;
}

.news-page-template .hero article:hover{
	border-bottom: 2px solid var(--GIALLO);
}

.news-page-template .hero article:hover .contentHero::after{
	opacity: 1;
}

.news-page-template .hero article .contentHero h2{
	margin: 0;
}

.news-page-template .hero article .contentHero .txtHero{
	display: flex;
	flex-direction: column;
	gap: 30px;
	z-index: 3;
}

.news-page-template .hero article .contentHero .txtHero .categoryBadge{
	color: var(--BIANCO, #FEFEFE);
	font-family: "Circular Std";
	font-size: var(--XS, 14px);
	font-style: normal;
	font-weight: 900;
	line-height: initial;
	text-transform: uppercase;
	display: flex;
	flex-direction: row;
	gap: 10px;
}

.news-page-template .hero article .contentHero .txtHero .categoryBadge::before{
	content: "";
	width: 15px;
	height: 15px;
	background: var(--GIALLO);
	border-radius: 15px;
}

.news-page-template .hero article .contentHero .txtHero .dataHero{
	color: var(--BIANCO, #FEFEFE);

	/* Dettaglio */
	font-family: "Circular Std";
	font-size: var(--S, 16px);
	font-style: normal;
	font-weight: 900;
	line-height: 110%; /* 17.6px */
	text-transform: uppercase;

	opacity: .5;
}


.home-page-template .hero a{
	text-decoration: none;
}

.home-page-template .hero article .contentHero h2{
	text-decoration: none;
	font-family: "Circular Std";
	font-size: var(--4XL, 84px);
	font-style: normal;
	font-weight: 900;
	line-height: 110%; 
	text-transform: uppercase;
	color: var(--BIANCO);
	margin: 0;

	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	overflow: hidden;
}

.news-page-template .hero article .contentHero h2{
	overflow: hidden;
	color: var(--BIANCO, #FEFEFE);
	leading-trim: both;
	text-edge: cap;
	text-overflow: ellipsis;

	/* H3 */
	font-family: "Circular Std";
	font-size: var(--XL, 36px);
	font-style: normal;
	font-weight: 900;
	line-height: normal;
	text-transform: uppercase;
}

.home-page-template .card-video-autoplay .contentHero{
	position: ABSOLUTE !important;
    TOP: 0;
}

.pageSection{
	padding-top: 60px;
	padding-bottom: 60px;
	position: relative;
}

.pageSection.geometric{
	background: url('img/bck_geometrico.jpg') no-repeat;
	background-size: 100%;
	background-position-y: center;
}

.pageSection.drago::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(img/drago.png);
    background-size: cover;
    background-position-y: center;
    opacity: .5;
}

.pageSection::after{
	content: "";
	width: 100%;
	height: 100%;
	background: linear-gradient(rgba(0,0,0,0) 0%, rgba(0,0,0,100) 100%);
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
}

.pageSection.drago::after{
	background: linear-gradient(180deg, rgba(30, 67, 136, 0.00) 0%, #1E4388 100%);
}

.pageSection .wp-block-group__inner-container{
	display: flex;
	flex-direction: column;
	gap: 30px;
	z-index: 2;
	position: relative;
}

.pageSection h2, .type-partite h2, .squadra-template .postContainer h2{
	margin: 0;
	color: var(--BIANCO);
	text-transform: uppercase;
	font-family: "Circular Std";
	font-size: var(--L, 24px);
	font-style: normal;
	font-weight: 900;
	line-height: 110%;
	text-transform: uppercase;

	display: flex;
	flex-direction: row;
	gap: 15px;
	align-items: center;
}

.pageSection h2::before, .type-partite h2::before,  .squadra-template .postContainer h2::before{
	content: "";
	background: var(--GIALLO);
	width: 45px;
	height: 2px;
}

/* Blocco Squadra */
.itemRow{
	gap: 5px;
	justify-content: center;
}

.itemSquadra{
	display: flex;
	height: 655px;
	aspect-ratio: 2/3;
	border-radius: 30px;
	position: relative;
	padding: 30px;
	transition: all ease-in-out .3s;
}

.itemSquadra::after{
	content: "";
	background: linear-gradient(0deg, rgba(0, 0, 0, 0.50) 0%, rgba(0, 0, 0, 0.50) 100%), linear-gradient(180deg, rgba(17, 17, 17, 0.00) 50%, rgba(17, 17, 17, 0.80) 100%);
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	opacity: .5;
	transition: all ease-in-out .3s;
	border-bottom: 2px solid transparent;
	border-radius: 30px;
}

.itemSquadra:hover::after{
	opacity: 1;
	border-bottom: 2px solid var(--GIALLO, #FBE200);
}

.itemSquadra h3{
	color: var(--BIANCO);

	overflow: hidden;
	leading-trim: both;
	text-edge: cap;
	text-overflow: ellipsis;
	/* H3 */
	font-family: "Circular Std";
	font-size: var(--XL, 36px);
	font-style: normal;
	font-weight: 900;
	line-height: normal;
	text-transform: uppercase;

	margin: 0;

	display: flex;
    flex-direction: column;
	gap: 30px;

	line-height: 1em;
}

.itemSquadra h3::before{
	content: "";
	background: url('img/logo_squadra.png') no-repeat;
	width: 47px;
	height: 60px;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	aspect-ratio: 47/60;
	background-size: contain;
}

.itemSquadra .wp-block-cover__inner-container{
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
}

.itemSquadra .wp-block-list{
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 15px;
	transition: all ease-in-out .3s;
	max-height: 0;
	overflow: hidden;
}

.itemSquadra .wp-block-list li a{
	color: var(--BIANCO, #FEFEFE);
	leading-trim: both;
	text-edge: cap;
	/* H4 */
	font-family: "Circular Std";
	font-size: var(--L, 24px);
	font-style: normal;
	font-weight: 900;
	text-transform: uppercase;
	text-decoration: none;
	opacity: 0.75;
	line-height: 1em;
	transition: all ease-in-out .3s;
	display: flex;
	flex-direction: row;
	gap: 10px;
}

.itemSquadra:hover .wp-block-list{
	max-height: 110px;
}

.itemSquadra .wp-block-list li a:hover{
	opacity: 1;
}

.itemSquadra .wp-block-list li a::before{
	content: "";
	width: 17px;
	height: 17px;
	background: url('img/icons/arrow_li.svg');
	background-size: auto;
	background-repeat: no-repeat;
	background-position: center;
	max-width: 0;
	opacity: 0;
	transition: all ease-in-out .3s;
}

.itemSquadra .wp-block-list li a:hover::before{
	max-width: 17px;
	opacity: 1;
}

/* Blocco Sponsor */

/* Contenitore principale esterno che fa da "finestra" */
.sponsorSlider {
    width: 100%;
    overflow: hidden; /* Nasconde gli sponsor che escono dallo schermo */
    position: relative;
    padding: 20px 0;
}

/* Contenitore interno che si muove */
.sponsorContainer .wp-block-group__inner-container {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important; /* Impedisce tassativamente agli sponsor di andare a capo */
    gap: 60px;
    padding-left: 60px;
    padding-right: 60px;
    align-items: center;
    width: max-content; /* Forza il contenitore a essere lungo quanto la somma degli sponsor */
    
    /* Configurazione Animazione: 
       20s = durata (regola questo valore per farlo andare più lento o veloce)
       alternate = quando finisce lo scorrimento, torna indietro invece di saltare di colpo
       infinite = si ripete per sempre
    */
    animation: 10s linear 0s infinite normal none running scorrimentoSponsor;
}

/* Forza gli elementi figure a non restringersi */
.sponsorContainer .wp-block-image {
    margin: 0 !important;
    flex-shrink: 0 !important; 
    display: flex;
    align-items: center;
    justify-content: center;
	width: fit-content;
}

/* Uniforma le dimensioni dei loghi */
.sponsorContainer .wp-block-image img {
    /*max-height: 80px; /* Abbassato leggermente per rendere i loghi più eleganti in riga */
    width: auto !important;
    object-fit: contain;
	max-height: 120px;
    max-width: 240px;
}


/* ==========================================================================
   LOGICA DI SCORRIMENTO (KEYFRAMES)
   ========================================================================== */
@keyframes scorrimentoSponsor {
    0% {
        /* Parte allineato a sinistra */
        transform: translateX(0);
    }
    100% {
        /* Si sposta verso sinistra di una percentuale tale da mostrare la fine della riga. */
        transform: translateX(calc(-33.333% + 20px));
    }
}

/* Opzionale: Ferma l'animazione se l'utente passa il mouse sopra uno sponsor */
.sponsorSlider:hover .wp-block-group__inner-container {
    animation-play-state: paused;
}

/* Elementi Generici */

.callToActionImg h3{
	overflow: hidden;
	color: var(--BIANCO);
	text-align: center;
	leading-trim: both;
	text-edge: cap;
	text-overflow: ellipsis;

	/* H2 */
	font-family: "Circular Std";
	font-size: var(--2XL, 56px);
	font-style: normal;
	font-weight: 900;
	line-height: 110%; /* 61.6px */
	text-transform: uppercase;

	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	align-self: stretch;
	margin: 0;
}

.callToActionImg .callToActionImgContainer .wp-block-group__inner-container{
	max-width: 520px;
	margin-left: auto;
	margin-right: auto;
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.button a{
	background-color: transparent;
	border-radius: 60px;
	border-bottom: 2px solid var(--bianco-50, rgba(254, 254, 254, 0.50));
	/* border-left: 2px solid transparent;
	border-right: 2px solid transparent; */
	border-top: 2px solid transparent;

	color: var(--BIANCO);
	text-align: center;
	leading-trim: both;
	text-edge: cap;
	/* Bottone */
	font-family: "Circular Std";
	font-size: var(--M, 18px);
	font-style: normal;
	font-weight: 900;
	text-transform: uppercase;
	position: relative;
	display: flex;
	flex-direction: row;
	gap: 10px;
	transition: all ease-in-out .2s;
	height: 45px;
	padding: 0 20px;
	align-items: center;
}

.button a:hover{
	border: 2px solid var(--GIALLO);
}

.button.shop a::before{
	content: "";
	width: 24px;
	height: 24px;
	aspect-ratio: 1;
	background-color: red;
	background: url('img/icons/cart.svg');
	background-size: cover;
}

.card-recents{
	width: 260px;
	height: 420px;
	padding: 30px;
	border-radius: 30px;
	overflow: hidden;
	background-repeat: no-repeat;
	background-size: cover;
	position: relative;
	border-bottom: 2px solid var(--bianco-25, rgba(254, 254, 254, 0.25));
	transition: all ease-in-out .3s;
	overflow: hidden;
}

.card-recents:hover{
	border-radius: 30px;
	border-bottom: 2px solid var(--GIALLO, #FBE200);
	transition: all ease-in-out .3s;
}

article.card-recents .cardContainer::after {
    content: "";
    width: 100%;
    height: 100%;
	background: linear-gradient(0deg, rgba(0, 0, 0, 0.50) 0%, rgba(0, 0, 0, 0.50) 100%), linear-gradient(180deg, rgba(17, 17, 17, 0.00) 50%, rgba(17, 17, 17, 0.80) 100%);
    position: absolute;
    top: 0;
    left: 0;
	z-index: 0;
	transition: all ease-in-out .3s;
	opacity: .7;
}

article.card-recents:hover .cardContainer::after{
	opacity: 1;
}

article.card-recents .cardContainer{
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

article.card-recents .cardContainer{
	color: var(--BIANCO);
}

.card-recents-link{
	text-decoration: none;
}

article.card-recents .cardContainer header, article.card-recents .cardContainer footer{
	z-index: 1;
	position: relative;
}

article.card-recents h3{
	margin:0;

	overflow: hidden;
	color: var(--BIANCO, #FEFEFE);
	leading-trim: both;
	text-edge: cap;
	text-overflow: ellipsis;
	/* P BOLD */
	font-family: "Circular Std";
	font-size: var(--M, 18px);
	font-style: normal;
	font-weight: 900;
	line-height: 120%;

	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	align-self: stretch;
}

article.card-recents .cardContainer footer{
	gap: 30px;
	display: flex;
    flex-direction: column;

	color: var(--BIANCO, #FEFEFE);
	/* Carattere piccolo */
	font-family: Inter;
	font-size: var(--XS, 14px);
	font-style: normal;
	font-weight: 400;
	line-height: 120%;
	padding-top: 30px;
}

article.card-recents .entry-header {
    color: var(--BIANCO);
    font-family: "Circular Std";
    font-size: var(--XS, 14px);
    font-style: normal;
    font-weight: 900;
    /* line-height: 110%; */
    text-transform: uppercase;
    display: flex;
    flex-direction: row;
    gap: 10px;
    z-index: 5;
}

article.card-recents .entry-header .dot {
    content: "";
    width: 15px;
    height: 15px;
    aspect-ratio: 1 / 1;
    border-radius: 15px;
    background-color: var(--GIALLO);
}

article.card-recents .video-post-thumbnail {
    margin: 0;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    height: 420px;
    /* width: max-content; */
	width: auto;
}

article.card-recents  .video-preview-container{
	height: 420px;
	width: 260px;
	transform: scale(1.1);
}

/* Promo Card */
article.card-promo .cardContainer h3, article.card-promo .cardContainer span{
	z-index: 1;
	line-height: 1;
}

article.card-promo .cardContainer h3{
	text-align: center;
	font-family: "Circular Std";
	font-size: 22px;
	font-style: normal;
	font-weight: 900;
	line-height: 110%; /* 26.4px */
	text-transform: uppercase;
}

article.card-promo .cardContainer{
	justify-content: center;
	align-items: center;
	gap: 30px;
}

 article.card-promo .cardContainer span{
	border-radius: 60px;
	padding-left: 20px;
	padding-right: 20px;
	border-bottom: 2px solid var(--bianco-50, rgba(254, 254, 254, 0.50));
	border-top: 2px solid transparent;
	text-transform: uppercase;

	min-height: 45px;
	display: flex;
	justify-content: flex-start;
    flex-wrap: nowrap;
    flex-direction: row;
    align-items: center;
	gap: 10px;

	font-family: "Circular Std";
	font-size: var(--M, 18px);
	font-style: normal;
	font-weight: 900;
	line-height: 100%;

	transition: all ease-in-out .3s;
 }

 article.card-promo .cardContainer span.store::before{
	content: "";
	width: 24px;
	height: 24px;
	background: url(img/icons/cart.svg) no-repeat;
	background-position: center;
	background-size: cover;
 }

  article.card-promo .cardContainer span:hover{
	border: 2px solid var(--GIALLO);
  }

  article.card-promo .cardContainer::after{
	transition: all ease-in-out .3s;
	opacity: .8;
	background: linear-gradient(0deg, rgba(30, 67, 136, 0.50) 0%, #1E4388 100%), linear-gradient(0deg, rgba(1, 1, 1, 0.10) 0%, rgba(1, 1, 1, 0.10) 100%);
  }

  article.card-leggi-tutti{
	background: url('img/slide_std_bck.png');
	background-size: cover;
	background-repeat: no-repeat;
  }

  article.card-leggi-tutti .cardContainer::after{
	display: none;
  }

  article.card-leggi-tutti .cardContainer{
	justify-content: center;
	align-items: center;
	gap: 30px;
  }

  article.card-leggi-tutti .cardContainer h3{
	text-align: center;
	color: var(--BIANCO, #FEFEFE);
	text-align: center;
	leading-trim: both;
	text-edge: cap;
	text-overflow: ellipsis;

	font-family: "Circular Std";
	font-size: var(--L, 22px);
	font-style: normal;
	font-weight: 900;
	line-height: 110%; /* 26.4px */
	text-transform: uppercase;
  }

  article.card-leggi-tutti .cardContainer span{
	font-family: "Circular Std";
	font-size: var(--M, 18px);
	font-style: normal;
	font-weight: 900;
	line-height: 110%; /* 19.8px */
	text-transform: uppercase;

	padding-left: 20px;
	padding-right: 20px;

	height: 45px;

	border-radius: 60px;
	border-top: 2px solid transparent;
	border-bottom: 2px solid var(--bianco-50, rgba(254, 254, 254, 0.50));

	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: row;

	transition: all ease-in-out .3s;
  }

  article.card-leggi-tutti .cardContainer span:hover{
	border: 2px solid var(--GIALLO);
  }

  .sliderNewsHeader .wp-block-group__inner-container{
	width: 100%;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
  }

  /* ── Slider News ──────────────────────────────────────────────────────────── */
.griglia-ultimi-articoli {
    display: flex;
    flex-direction: row;
    gap: 5px;
    padding-left: 0;  
	padding-right: 0;
    scroll-padding-left: 60px;
    scroll-padding-right: 60px;

    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.griglia-ultimi-articoli::-webkit-scrollbar {
    display: none;
}

.slider-spacer {
    display: block;
    min-width: 60px;
    flex-shrink: 0;
    pointer-events: none;
    scroll-snap-align: none;
}



.griglia-ultimi-articoli .card-recents-link {
    scroll-snap-align: start;
    flex-shrink: 0;
}

/* ── Controlli Slider ─────────────────────────────────────────────────────── */
#pulsantiSliderNews {
    background: transparent;
    width: auto;
    height: auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0;

    border-radius: 60px;

	margin-right: 60px;
}

.slider-news-btn {
    background: transparent;
    border: none;
    color: var(--BIANCO);
    cursor: pointer;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border ease-in-out .2s;
    padding: 0;
    flex-shrink: 0;
	
	border-radius: 50px;
    width: 45px;
    height: 45px;
	border-top: 2px solid transparent;
    border-bottom: 2px solid var(--bianco-50, rgba(254, 254, 254, 0.50));
}

.slider-news-btn:hover{
	border: solid 2px var(--bianco-50, rgba(254, 254, 254, 0.50));
}

.slider-news-btn svg {
	width: 17px;
    stroke: var(--BIANCO);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.slider-news-tutte {
    background: transparent;
    cursor: pointer;
    padding: 0 17px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    white-space: nowrap;
    color: var(--BIANCO, #FEFEFE);
    text-align: center;
    margin-left: 15px;
    font-family: "Circular Std";
    font-size: var(--M, 18px);
    font-style: normal;
    font-weight: 900;
    line-height: 110%;
    text-transform: uppercase;
    height: 45px;
    border-radius: 30px;

    /* Bordo su tutti i lati, ma top/left/right trasparenti */
    border-top:    2px solid transparent;
    /* border-left:   2px solid transparent;
    border-right:  2px solid transparent; */
    border-bottom: 2px solid var(--GIALLO);

    transition:
        border-top-color    0.2s ease-in-out,
        border-left-color   0.2s ease-in-out,
        border-right-color  0.2s ease-in-out;
}

.slider-news-tutte:hover {
    border-top-color:   var(--GIALLO);
    border-left: 2px solid var(--GIALLO);
    border-right: 2px solid var(--GIALLO);
    color: var(--BIANCO);
	padding: 0 15px;
}

.slider-news-tutte:visited{
	color: var(--BIANCO);
}

.slider-news-prev{
	margin-right: 5px;
}

/* Partite e Risultati ------------------------------------------------------ */
.list-partite{
	display: flex;
	flex-direction: row;
	gap: 5px;
	width: max-content;
}

.card-partite{
	width: 320px;
	height: 480px;
	border-radius: 30px;
}

.card-partite.risultato{
	border-top: 1px solid var(--bianco-25, rgba(254, 254, 254, 0.25));
	border-bottom: 2px solid var(--bianco-25, rgba(254, 254, 254, 0.25));
	background: var(--sfumaturablu-20, linear-gradient(180deg, rgba(30, 67, 136, 0.10) 0%, rgba(30, 67, 136, 0.20) 100%));

	display: flex;
	/* padding: 30px 15px 15px 15px; */
	flex-direction: column;
	justify-content: space-between;
	align-items: flex-start;
	align-self: stretch;

	margin-top: 50px;
}

.card-partite.prossimo{
	display: flex;
	width: 320px;
	height: 530px;
	flex-direction: column;
	align-items: center;

	border-bottom: 2px solid var(--bianco-25, rgba(254, 254, 254, 0.25));
	background: url('img/bck_drago.png') lightgray 50%/cover no-repeat;

	border-radius: 30px 30px 30px 30px;
	border-top: 1px solid var(--bianco-25, rgba(254, 254, 254, 0.25));
	background: linear-gradient(0deg,rgba(30, 67, 136, 0.20) 0%, rgba(30, 67, 136, 0.20) 100%), linear-gradient(180deg, rgba(30, 67, 136, 0.00) 0%,#1E4388 100%);
	position: relative;
}

.card-partite.prossimo:before{
	content: "PROSSIMA PARTITA";
	color: var(--BIANCO, #FEFEFE);
	text-align: center;

	padding-top: 22px;
	padding-bottom: 17px;
	border-bottom: 1px solid var(--bianco-25, rgba(254, 254, 254, 0.25));


	/* Dettaglio */
	font-family: "Circular Std";
	font-size: var(--S, 16px);
	font-style: normal;
	font-weight: 900;
	line-height: 1;
	text-transform: uppercase;

	width: 100%;
}

.card-partite.prossimo:after{
	content: "";
    background: url(img/bck_drago.png);
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    position: absolute;
    background-size: cover;
    z-index: -1;
    opacity: .25;
    background-repeat: no-repeat;
}

.card-partite.partita{
	border-radius: 30px;
	border-top: 1px solid var(--bianco-25, rgba(254, 254, 254, 0.25));
	border-bottom: 2px solid var(--bianco-25, rgba(254, 254, 254, 0.25));
	background: linear-gradient(180deg, #1E4388 0%, rgba(30, 67, 136, 0.00) 100%);
	
	display: flex;
	/* padding: 30px 15px 15px 15px; */
	flex-direction: column;
	justify-content: space-between;
	align-items: flex-start;
	align-self: stretch;

	margin-top: 50px;
}

.card-partite.trasferta .details-partita .squadre{
	flex-direction: column-reverse;
}

.card-partite.trasferta .details-partita .details-risultati{
	flex-direction: row-reverse;
}

.card-partite.risultato.trasferta .details-risultati .punteggio-squadra:first-of-type{
	border-right: none;
	border-left: 2px solid var(--bianco-50, rgba(254, 254, 254, 0.50));
}

.card-partite-content{
	padding: 30px 15px 15px 15px;
	width: 100%;
    height: 100%;
	display: flex;
    flex-direction: column;
	justify-content: space-between;
}

.card-partite-content h4{
	color: var(--BIANCO, #FEFEFE);
	text-align: center;

	/* Dettaglio */
	font-family: "Circular Std";
	font-size: var(--S, 16px);
	font-style: normal;
	font-weight: 900;
	line-height: 1;
	text-transform: uppercase;

	margin: 0;
	width: 100%;

	opacity: .5;
}

.card-partite-content .partita-header{
	display: flex;
	flex-direction: column;
	gap: 30px;
}

.card-partite.prossimo .card-partite-content h4{
	opacity: 1;
}

.card-partite.prossimo .card-partite-content{
	padding-top: 24px;
}

.card-partite .card-partite-content h3{
	color: var(--BIANCO, #FEFEFE);
	text-align: center;
	leading-trim: both;
	text-edge: cap;

	font-family: "Circular Std";
	font-size: var(--XL, 36px);
	font-style: normal;
	font-weight: 900;
	text-transform: uppercase;
	line-height: 1em;

	margin: 0;

	opacity: .5;
}

.card-partite.prossimo .card-partite-content h3{
	font-size: var(--3XL, 72px);
	opacity: 1;
	line-height: .8em;
}

.card-partite.partita .card-partite-content h3{
	font-size: var(--3XL, 72px);	
	line-height: .8em;
}

.card-partite.risultato .details-risultati{
	display: flex;
    flex-direction: row;
    color: var(--BIANCO);
	width: fit-content;
	margin-left: auto;
	margin-right: auto;
}

.card-partite.risultato .details-risultati .punteggio-squadra{
	display: flex;
	flex-direction: column;
	gap: 15px;
	align-items: center;
	width: 150px;
}

.card-partite.risultato .details-risultati .punteggio-squadra .punti{
	color: var(--BIANCO, #FEFEFE);
	text-align: center;
	leading-trim: both;
	text-edge: cap;


	font-family: "Circular Std";
	font-size: var(--3XL, 72px);
	font-style: normal;
	font-weight: 900;
	line-height: 110%; /* 79.2px */
	text-transform: uppercase;
}

.card-partite.risultato .details-risultati .punteggio-squadra:first-of-type{
	border-right: 2px solid var(--bianco-50, rgba(254, 254, 254, 0.50));
}

.card-partite.risultato .details-risultati .punteggio-squadra .squadra{
	color: var(--BIANCO, #FEFEFE);
	text-align: center;

	font-family: "Circular Std";
	font-size: var(--S, 16px);
	font-style: normal;
	font-weight: 900;
	line-height: 110%; /* 17.6px */
	text-transform: uppercase;

	max-width: 70px;
    align-items: center;
	display: flex;
    justify-content: center;
}

.card-partite.risultato a{
	text-decoration: none;
}

.card-partite.risultato .call-to-action-partita.risultato{
	color: var(--BIANCO, #FEFEFE);
	text-align: center;
	leading-trim: both;
	text-edge: cap;

	/* Bottone */
	font-family: "Circular Std";
	font-size: var(--M, 18px);
	font-style: normal;
	font-weight: 900;
	line-height: 1em;
	text-transform: uppercase;

	width: 100%;

	border-radius: 60px;
	border-bottom: 2px solid var(--bianco-50, rgba(254, 254, 254, 0.50));
	border-top: 2px solid transparent;

	display: flex;
	height: 45px;
	padding: 0 19px;
	justify-content: center;
	align-items: center;
	gap: 10px;
	align-self: stretch;
	
	transition:
        border-top-color    0.2s ease-in-out,
        border-left-color   0.2s ease-in-out,
        border-right-color  0.2s ease-in-out;
}

.card-partite.risultato .call-to-action-partita.risultato:hover {
    border-top-color:   var(--GIALLO);
	border-bottom-color: var(--GIALLO);
    border-left: 2px solid var(--GIALLO);
    border-right: 2px solid var(--GIALLO);
    color: var(--BIANCO);
	padding: 0 15px;
}

.card-partite .details-future{
	gap: 30px;
	display: flex;
	flex-direction: column;
}

.card-partite .details-future .squadre{
	display: flex;
	flex-direction: column;
	color: var(--BIANCO);
	text-transform: uppercase;
	align-items: center;
	gap: 15px;

	font-family: "Circular Std";
	font-size: var(--L, 24px);
	font-style: normal;
	font-weight: 900;
	line-height: 1em;
	text-transform: uppercase;

	margin-top: 30px;
	margin-bottom: 30px;
}
.card-partite .details-future .squadre .avversario{
	opacity: .5;
}

.card-partite .details-future .location{
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 5px;

	color: var(--BIANCO, #FEFEFE);
	text-align: center;

	font-family: "Circular Std";
	font-size: var(--S, 16px);
	font-style: normal;
	font-weight: 900;
	line-height: 1em; /* 17.6px */
	text-transform: uppercase;
}

.card-partite .details-future .location .stadioMatch, .card-partite .details-future .location .orarioMatch{
	opacity: .5;
}

.card-partite a{
	text-decoration: none;
}

.card-partite .call-to-action-partita.prossimo, .card-partite .call-to-action-partita.partita{
	color: var(--BIANCO, #FEFEFE);
	text-align: center;
	leading-trim: both;
	text-edge: cap;

	/* Bottone */
	font-family: "Circular Std";
	font-size: var(--M, 18px);
	font-style: normal;
	font-weight: 900;
	line-height: 1em;
	text-transform: uppercase;

	width: 100%;

	border-radius: 60px;
	border-bottom: 2px solid var(--GIALLO);
	border-top: 2px solid transparent;

	display: flex;
	height: 45px;
	padding: 0 19px;
	justify-content: center;
	align-items: center;
	gap: 10px;
	align-self: stretch;
	
	transition:
        border-top-color    0.2s ease-in-out,
        border-left-color   0.2s ease-in-out,
        border-right-color  0.2s ease-in-out;

	gap: 10px;	
}

.card-partite .call-to-action-partita.prossimo:hover, .card-partite .call-to-action-partita.partita:hover{
    border-top-color:   var(--GIALLO);
	border-bottom-color: var(--GIALLO);
    border-left: 2px solid var(--GIALLO);
    border-right: 2px solid var(--GIALLO);
    color: var(--BIANCO);
	padding: 0 15px;
}

.card-partite .call-to-action-partita.prossimo::before, .card-partite .call-to-action-partita.partita:before{
	width: 24px;
	height: 24px;
	content: "";
	background: url('img/icons/ticket.svg');
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
}

.discoverMore{
	display: flex;
	width: 320px;
	height: 480px;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	flex-shrink: 0;
	aspect-ratio: 2/3;
	border-radius: 30px;
	background: url('img/bck_geometrico.jpg');
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	margin-top: 50px;
}

.discoverMore .discoverContent{
	display: flex;
	flex-direction: column;
	gap: 30px;
    align-items: center;
}

.discoverMore .discoverContent span{
	color: var(--BIANCO, #FEFEFE);
	text-align: center;
	leading-trim: both;
	text-edge: cap;
	text-overflow: ellipsis;


	/* H4 */
	font-family: "Circular Std";
	font-size: var(--L, 24px);
	font-style: normal;
	font-weight: 900;
	line-height: 110%; /* 26.4px */
	text-transform: uppercase;
}

.discoverMore .discoverContent a{
	font-family: "Circular Std";
    font-size: var(--M, 18px);
    font-style: normal;
    font-weight: 900;
    line-height: 110%;
    text-transform: uppercase;
    padding-left: 19px;
    padding-right: 19px;
    height: 45px;
    border-radius: 60px;
    border-top: 2px solid transparent;
    border-bottom: 2px solid var(--bianco-50, rgba(254, 254, 254, 0.50));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    transition: all ease-in-out .3s;
	color: var(--BIANCO);
	text-decoration: none;

	transition:
        border-top-color    0.2s ease-in-out,
        border-left-color   0.2s ease-in-out,
        border-right-color  0.2s ease-in-out;

	border-top: 2px solid transparent;
}

.discoverMore .discoverContent a:hover{
	border-top-color:   var(--GIALLO);
	border-bottom-color: var(--GIALLO);
    border-left: 2px solid var(--GIALLO);
    border-right: 2px solid var(--GIALLO);
    color: var(--BIANCO);
	padding: 0 15px;
}

/* Partite e Risultati ------------------------------------------------------ */
.list-partite{
	display: flex;
	flex-direction: row;
	gap: 5px;
	width: 100%;

	overflow-x: auto;
	/* scroll-snap-type: x mandatory; */
	scroll-behavior: smooth;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	-ms-overflow-style: none;
}

.list-partite::-webkit-scrollbar{
	display: none;
}

.card-partite{
	width: 320px;
	height: 480px;
	border-radius: 30px;
	flex-shrink: 0;
	scroll-snap-align: center;
}

/* Spacer iniziale/finale: garantisce che anche la prima/ultima card
   possano essere centrate nello slider */
.list-partite .slider-edge-spacer{
	flex-shrink: 0;
	width: 50vw; /* verrà corretto via JS in base alla larghezza reale della card prossimo */
	scroll-snap-align: none;
	pointer-events: none;
}


.partite-slider-wrapper{
	position: relative;
	width: 100%;
}

.slider-partite-btn{
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 5;

	border: none;
	color: var(--BIANCO);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;

	border-top: 2px solid transparent;
	border-bottom: 2px solid var(--bianco-50, rgba(254, 254, 254, 0.50));

	background: none;

	height: 45px;

	font-family: "Circular Std";
	font-size: var(--S, 16px);
	font-style: normal;
	font-weight: 900;
	line-height: 1em;
	text-transform: uppercase;

	display: flex;
    gap: 10px;

}

.slider-partite-prev::before{
	content: "";
	width: 19px;
	height: 14px;
	background: url('img/icons/arrow_l_w.svg');
}

.slider-partite-next:after{
	content: "";
	width: 19px;
	height: 14px;
	background: url('img/icons/arrow_r_w.svg');
}

.slider-partite-btn svg{
	width: 17px;
	stroke: var(--BIANCO);
	fill: none;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.slider-partite-prev{
	left: 60px;
	padding: 10px 15px;
	padding-left: 17px;
	border-radius: 50px 0 0 50px;
	border-bottom: 2px solid var(--bianco-50, rgba(254, 254, 254, 0.50));
	border-top: 2px solid transparent;
	
	transition:
        border-top-color    0.2s ease-in-out,
        border-left-color   0.2s ease-in-out,
        border-right-color  0.2s ease-in-out;

}

.slider-partite-prev:hover{
	border-radius: 50px 0 0 50px;
	border-top-color: var(--bianco-50, rgba(254, 254, 254, 0.50));
	border-bottom-color: var(--bianco-50, rgba(254, 254, 254, 0.50));
	border-left: 2px solid var(--bianco-50, rgba(254, 254, 254, 0.50));
	padding-left: 15px;
}

.slider-partite-next{
	right: 60px;
	border-radius: 0 50px 50px 0;
	border-bottom: 2px solid var(--bianco-50, rgba(254, 254, 254, 0.50));
	padding: 10px 17px 10px 0;
	border-bottom: 2px solid var(--bianco-50, rgba(254, 254, 254, 0.50));
	border-top: 2px solid transparent;
	
	transition:
        border-top-color    0.2s ease-in-out,
        border-left-color   0.2s ease-in-out,
        border-right-color  0.2s ease-in-out;

}

.slider-partite-next:hover{
	border-radius: 0 50px 50px 0;
	border-top-color: var(--bianco-50, rgba(254, 254, 254, 0.50));
	border-bottom-color: var(--bianco-50, rgba(254, 254, 254, 0.50));
	border-right: 2px solid var(--bianco-50, rgba(254, 254, 254, 0.50));
	padding-right: 15px;
}

.slider-partite-btn.is-hidden{
	opacity: 0;
	pointer-events: none;
}

.filtri-partite{
	width: fit-content;
	margin-left: auto;
	margin-right: auto;
	display: flex;
	flex-direction: row;
	gap: 5px;
}

.controlContainer{
	position: relative;
	padding-left: 60px;
	padding-right: 60px;
}

.filtro-partite-btn{
	cursor: pointer;
	background: none;
	color: var(--BIANCO);

	font-family: "Circular Std";
	font-size: var(--S, 16px);
	font-style: normal;
	font-weight: 900;
	line-height: 1em;
	text-transform: uppercase;

	height: 45px;
	border-radius: 50px;

	border-left: none;
    border-right: none;
    border-top: transparent;
	border-bottom: 2px solid var(--bianco-50, rgba(254, 254, 254, 0.50));
	border-top: 2px solid transparent;

	transition:
        border-top-color    0.2s ease-in-out,
        border-left-color   0.2s ease-in-out,
        border-right-color  0.2s ease-in-out;
	
	padding-left: 18px;	
	padding-right: 18px;

	width: max-content;
}

.filtro-partite-btn:hover:not(.active){
	border-bottom: 2px solid var(--bianco-50, rgba(254, 254, 254, 0.50));

	border-top-color: var(--bianco-50, rgba(254, 254, 254, 0.50));
	border-bottom-color: var(--bianco-50, rgba(254, 254, 254, 0.50));
	border-right: 2px solid var(--bianco-50, rgba(254, 254, 254, 0.50));
	border-left: 2px solid var(--bianco-50, rgba(254, 254, 254, 0.50));
	
	padding-left: 16px;	
	padding-right: 16px;
}

.filtro-partite-btn.active{
	background: var(--BIANCO);
	color: #000;
}

.filtro-partite-btn.active:hover{
	border-bottom: 2px solid var(--BIANCO);
	border-top: 2px solid var(--BIANCO);
}

.archive-partite-wrapper{
	background: #000;
}

.archive-partite-header{
	padding: 60px;
	display: flex;
	flex-direction: column;
	gap: 30px;
	justify-content: center;
	color: var(--BIANCO, #FEFEFE);
	align-items: center;
	border-radius: 0 0 90px 90px;
	height: 382px;
	background-position: 100% 30%;
	position: relative;
	overflow: hidden;
}

.archive-partite-header h1{
	font-family: "Circular Std";
	font-size: var(--4XL, 84px);
	font-style: normal;
	font-weight: 900;
	line-height: 1em;
	text-transform: uppercase;
	z-index: 1;
	margin: 0;
}

.archive-partite-header h2{
	margin: 0;
	font-family: "Circular Std";
	font-size: var(--L, 24px);
	font-style: normal;
	font-weight: 900;
	line-height: 1em;
	text-transform: uppercase;
	z-index: 1;
}

.archive-partite-header h3{
	margin: 0;
	overflow: hidden;
	color: var(--BIANCO, #FEFEFE);
	text-align: center;
	leading-trim: both;
	text-edge: cap;
	text-overflow: ellipsis;

	/* H4 */
	font-family: "Circular Std";
	font-size: var(--L, 24px);
	font-style: normal;
	font-weight: 900;
	line-height: 110%; /* 26.4px */
	text-transform: uppercase;
	z-index: 1;
}

.archive-partite-header:after{
	content: "";
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 0;
	background: linear-gradient(0deg, rgba(30, 67, 136, 0.20) 0%, rgba(30, 67, 136, 0.20) 100%), linear-gradient(180deg, rgba(30, 67, 136, 0.00) 0%, #1E4388 100%);
	opacity: 1;
	margin: 0;
}

.blocco-mese{
	padding-top: 60px;
	padding-bottom: 60px;
	display: flex;
	flex-direction: column;
	gap: 30px;
}

.archive-partite-grid{
	padding-left: 60px;
	padding-right: 60px;
	display: flex;
    flex-direction: column;
    gap: 15px;
}

.archive-partite-grid .partita-card{
	padding: 30px;
	background: url('img/bck_geometrico_h.jpg') lightgray 50%/cover no-repeat;
	background-size: cover;
	border-radius: 30px;
	background-position: bottom;
	position: relative;
	border-top: 1px solid #444;
	border-bottom: 2px solid #444;
	overflow: hidden;
}

.archive-partite-grid .partita-card::before{
	content: "";
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 2;
	background: rgba(0,0,0);
	opacity: .7;
	transition: all ease-in-out .3s;
}

.archive-partite-grid .partita-card::after{
	content: "";
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
	background: linear-gradient(0deg,#1E4388 0%, rgba(30, 67, 136, 0.00) 100%);
	opacity: .7;
	transition: all ease-in-out .3s;
}

.archive-partite-grid .partita-card:hover::before{
	opacity: 0;
}

.archive-partite-grid .partita-card:hover{
	border-bottom: 2px solid var(--GIALLO, #FBE200);
}

.partita-card-inner{
	z-index: 3;
	position: relative;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
}

h3.mese-gruppo{
	margin: 0;
    color: var(--BIANCO);
    text-transform: uppercase;
    font-family: "Circular Std";
    font-size: var(--L, 24px);
    font-style: normal;
    font-weight: 900;
    line-height: 110%;
    text-transform: uppercase;
    display: flex;
    flex-direction: row;
    gap: 15px;
    align-items: center;
}

h3.mese-gruppo::before {
    content: "";
    background: var(--GIALLO);
    width: 45px;
    height: 2px;
}

.partita-card-inner .partita-card-details {
	display: flex;
	flex-direction: column;
	gap: 30px;
	align-items: flex-start;
	justify-content: center;
	max-width: 300px;
    width: 100%;
}

.partita-card-inner .partita-card-details .partita-card-header{
	display: flex;
	flex-direction: column;
	gap: 5px;

	color: var(--BIANCO, #FEFEFE);
	font-family: "Circular Std";
	font-style: normal;
	font-weight: 900;
	text-transform: uppercase;
}

.partita-card-inner .partita-card-details .partita-card-header .serie{
	font-size: var(--S, 16px);
	line-height: 1em;
}

.partita-card-inner .partita-card-details .partita-card-header .partita-giorno{
	font-size: var(--XL, 36px);
	line-height: 1em;
}

.partita-card-inner .partita-card-details .partita-card-location{
	display: flex;
	flex-direction: column;
	gap: 5px;

	color: var(--BIANCO, #FEFEFE);

	font-family: "Circular Std";
	font-size: var(--S, 16px);
	font-style: normal;
	font-weight: 900;
	line-height: 1em;
	text-transform: uppercase;
}

.partita-card-inner .partita-card-details .partita-card-location .partita-citta{
	opacity: 1;
}

.partita-card-inner .partita-card-details .partita-card-location .partita-stadio, .partita-card-inner .partita-card-details .partita-card-location .partita-ora{
	opacity: .5;
}

.partita-card-inner .partita-card-squadre{
	display: flex;
	flex-direction: row;
    align-items: center;
	max-width: 840px;
    width: 100%;
	justify-content: space-between;
	position: relative;
}

.partita-card-inner.trasferta .partita-card-squadre{
	flex-direction: row-reverse;
}

.partita-card-inner .partita-card-squadre .squadra-nome, .partita-card-inner .partita-card-squadre .risultato-vs{
	color: var(--BIANCO, #FEFEFE);
	text-align: center;
	leading-trim: both;
	text-edge: cap;


	/* H4 */
	font-family: "Circular Std";
	font-size: var(--L, 24px);
	font-style: normal;
	font-weight: 900;
	line-height: 1em;
	text-transform: uppercase;
}

.partita-card-inner .partita-card-squadre .squadra{
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 15px;
	max-width: 200px;
    width: 100%;
}

.partita-futura .partita-card-inner .partita-card-squadre .squadra img{
	height: 75px;
	width: auto;
}

.partita-card-inner .partita-card-azioni{
	display: flex;
    flex-direction: column;
    justify-content: center;
}

.partita-card-inner .btn-biglietti::before{
	width: 24px;
    height: 24px;
    content: "";
    background: url(img/icons/ticket.svg);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.partita-card-inner .btn-biglietti{
	color: var(--BIANCO, #FEFEFE);
    text-align: center;
    leading-trim: both;
    text-edge: cap;
    font-family: "Circular Std";
    font-size: var(--M, 18px);
    font-style: normal;
    font-weight: 900;
    line-height: 1em;
    text-transform: uppercase;
    width: 100%;
    border-radius: 60px;
    border-bottom: 2px solid var(--GIALLO);
    border-top: 2px solid transparent;
    display: flex;
    height: 45px;
    padding: 0 19px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    align-self: stretch;
    transition: border-top-color 0.2s ease-in-out, border-left-color 0.2s ease-in-out, border-right-color 0.2s ease-in-out;
    gap: 10px;
	text-decoration: none;
}

.partita-card-inner .btn-biglietti:hover{
	border-top-color: var(--GIALLO);
    border-bottom-color: var(--GIALLO);
    border-left: 2px solid var(--GIALLO);
    border-right: 2px solid var(--GIALLO);
    color: var(--BIANCO);
    padding: 0 17px;
}

.partita-giocata .squadra img{
	height: 100px;
	width: auto;
}

.partita-giocata .risultato{
	display: flex;
	flex-direction: row;
}

.partita-giocata .risultato .risultato-punti{
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 15px;
	max-width: 120px;
	width: 100%;
}

.partita-giocata .risultato .risultato-punti:first-child{
	border-right: 2px solid var(--bianco-50, rgba(254, 254, 254, 0.50));
}

.partita-giocata .risultato .risultato-punti .punti{
	color: var(--BIANCO, #FEFEFE);
	text-align: center;
	leading-trim: both;
	text-edge: cap;


	/* H1 */
	font-family: "Circular Std";
	font-size: var(--3XL, 72px);
	font-style: normal;
	font-weight: 900;
	line-height: 110%; /* 79.2px */
	text-transform: uppercase;
}

.partita-giocata .risultato .risultato-punti .squadra-nome{
	font-size: 16px;
	line-height: 1em;
}

.btn-dettagli-link{	
    color: var(--BIANCO, #FEFEFE) !important;
    text-align: center;
    leading-trim: both;
    text-edge: cap;
    font-family: "Circular Std";
    font-size: var(--M, 18px);
    font-style: normal;
    font-weight: 900;
    line-height: 1em;
    text-transform: uppercase;
    width: 100%;
    border-radius: 60px;
    border-bottom: 2px solid var(--bianco-50, rgba(254, 254, 254, 0.50));
    border-top: 2px solid transparent;
    display: flex;
    height: 45px;
    padding: 0 19px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    align-self: stretch;
    transition: border-top-color 0.2s ease-in-out, border-left-color 0.2s ease-in-out, border-right-color 0.2s ease-in-out;
	text-decoration: none;
}

.btn-dettagli-link:hover{
	border-top-color: var(--GIALLO);
	border-bottom-color: var(--GIALLO);
	border-left: 2px solid var(--GIALLO);
	border-right: 2px solid var(--GIALLO);
	color: var(--BIANCO);
	padding: 0 17px;
}

.nessuna-partita{
	color: var(--BIANCO, #FEFEFE);
	font-family: "Circular Std";
	margin: 0;
	text-align: center;
    padding: 60px;
}

.archive-partite-filtri{
	display: flex;
    justify-content: center;
	margin-top: 60px;
	gap: 5px;
}

.archive-partite-filtri .filtro-btn{
	cursor: pointer;
    background: none;
    color: var(--BIANCO);
    font-family: "Circular Std";
    font-size: var(--S, 16px);
    font-style: normal;
    font-weight: 900;
    line-height: 1em;
    text-transform: uppercase;
    height: 45px;
    border-radius: 50px;
    border-left: none;
    border-right: none;
    border-top: transparent;
    border-bottom: 2px solid var(--bianco-50, rgba(254, 254, 254, 0.50));
    border-top: 2px solid transparent;
    transition: border-top-color 0.2s ease-in-out, border-left-color 0.2s ease-in-out, border-right-color 0.2s ease-in-out;
    padding-left: 18px;
    padding-right: 18px;
	text-decoration: none;
	display: flex;
	align-items: center;
	justify-content: center;
}

.archive-partite-filtri .filtro-btn:hover:not(.active){
	border-bottom: 2px solid var(--bianco-50, rgba(254, 254, 254, 0.50));
    border-top-color: var(--bianco-50, rgba(254, 254, 254, 0.50));
    border-bottom-color: var(--bianco-50, rgba(254, 254, 254, 0.50));
    border-right: 2px solid var(--bianco-50, rgba(254, 254, 254, 0.50));
    border-left: 2px solid var(--bianco-50, rgba(254, 254, 254, 0.50));
    padding-left: 16px;
    padding-right: 16px;
}

.archive-partite-filtri .filtro-btn.active{
	background: var(--BIANCO);
	color: #000;
}

.page-template-template-risultati .archive-partite-filtri{
	display: flex;
	justify-content: center;
	flex-direction: column;
}

.archive-partite-filtri .archive-partite-gruppo-filtri{
	display: flex;
    justify-content: space-between;
    padding-left: 60px;
    padding-right: 60px;
}

.archive-partite-filtri .archive-partite-gruppo-bottoni{
	padding-top: 30px;
	padding-left: 60px;
	padding-right: 60px;
}

.archive-partite-filtri .archive-partite-gruppo-filtri .filtro-categoria{
	display: flex;
	flex-direction: row;
	gap: 5px;
}

.archive-partite-filtri .archive-partite-gruppo-filtri .filtro-categoria a{
	cursor: pointer;
    background: none;
    color: var(--BIANCO);
    font-family: "Circular Std";
    font-size: var(--S, 16px);
    font-style: normal;
    font-weight: 900;
    line-height: 1em;
    text-transform: uppercase;
    height: 45px;
    border-radius: 50px;
    border-left: none;
    border-right: none;
    border-top: transparent;
    border-bottom: 2px solid var(--bianco-50, rgba(254, 254, 254, 0.50));
    border-top: 2px solid transparent;
    transition: border-top-color 0.2s ease-in-out, border-left-color 0.2s ease-in-out, border-right-color 0.2s ease-in-out;
    padding-left: 18px;
    padding-right: 18px;
	text-decoration: none;
	display: flex;
	align-items: center;
	justify-content: center;
}

.archive-partite-filtri .archive-partite-gruppo-filtri .filtro-categoria a.attivo{
	background: var(--BIANCO);
	color: #000;
}

.archive-partite-filtri .archive-partite-gruppo-filtri .filtro-categoria a:hover:not(.attivo){
	border-bottom: 2px solid var(--bianco-50, rgba(254, 254, 254, 0.50));
    border-top-color: var(--bianco-50, rgba(254, 254, 254, 0.50));
    border-bottom-color: var(--bianco-50, rgba(254, 254, 254, 0.50));
    border-right: 2px solid var(--bianco-50, rgba(254, 254, 254, 0.50));
    border-left: 2px solid var(--bianco-50, rgba(254, 254, 254, 0.50));
    padding-left: 16px;
    padding-right: 16px;
}

.filtro-stagione-select{
	background-color: #000;
	color: var(--BIANCO);
	font-family: "Circular Std";
	font-size: var(--S, 16px);
	font-style: normal;
	font-weight: 900;
	line-height: 1em;
	text-transform: uppercase;
	border-left: none;
	border-right: none;
	border-top: 2px solid transparent;
	border-bottom: 2px solid var(--bianco-50, rgba(254, 254, 254, 0.50));
	border-radius: 50px;
	height: 45px;
	padding: 10px 15px;
}

/* Single risultato */ 
.type-partite{
	background: var(--NERO, #000000);
}

.type-partite header{
	color: var(--BIANCO, #FEFEFE);
	border-radius: 0 0 90px 90px;
	padding: 90px 30px;	
	overflow: hidden;
	position: relative;
}

.type-partite header::after{
	content: "";
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 0;
	background: linear-gradient(180deg, rgba(30, 67, 136, 0.00) 0%, #1E4388 100%);
	opacity: .8;
	margin: 0;
	z-index: 0;
}

.type-partite header .header-content{
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 30px;
	align-self: stretch;
	position: relative;
	z-index: 1;
}

.type-partite header .header-content .partita-header-top{
	display: flex;
	flex-direction: column;
}

.type-partite header .header-content .partita-header-top .serie{
	font-family: "Circular Std";
	font-size: var(--S, 16px);
	font-style: normal;
	font-weight: 900;
	line-height: 110%;
	text-transform: uppercase;
	text-align: center;
}

.type-partite header .header-content .partita-header-top .partita-giorno{
	font-family: "Circular Std";
	font-size: var(--XL, 36px);
	font-style: normal;
	font-weight: 900;
	line-height: normal;
	text-transform: uppercase;
}

.partita-header-content{
	display: flex;
	flex-direction: row;
}

.type-partite header .header-content.trasferta .partita-header-content{
	flex-direction: row-reverse;
}

.partita-header-content .risultato-punti{
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.type-partite header .header-content.trasferta  .risultato{
	flex-direction: row-reverse;
}

.partita-header-content .risultato-punti .punti{
	color: var(--BIANCO, #FEFEFE);
	text-align: center;
	leading-trim: both;
	text-edge: cap;
	/* H1 */
	font-family: "Circular Std";
	font-size: var(--3XL, 72px);
	font-style: normal;
	font-weight: 900;
	line-height: 110%; /* 79.2px */
	text-transform: uppercase;
}

.partita-header-content .risultato-punti .squadra-nome{
	color: var(--BIANCO, #FEFEFE);
	text-align: center;
	/* Dettaglio */
	font-family: "Circular Std";
	font-size: var(--S, 16px);
	font-style: normal;
	font-weight: 900;
	line-height: 110%; /* 17.6px */
	text-transform: uppercase;
}

.partita-header-content .risultato{
	display: flex;
	flex-direction: row;
}

.partita-header-content .risultato .risultato-punti{
	max-width: 120px;
	width: 100%;
}

.partita-header-content .risultato .risultato-punti:first-child{
	border-right: 2px solid var(--bianco-50, rgba(254, 254, 254, 0.50));
}	

.type-partite header .header-content.trasferta .risultato .risultato-punti:first-child{
	border-right: none;
	border-left: 2px solid var(--bianco-50, rgba(254, 254, 254, 0.50));
}

.partita-header-content .squadra img{
	height: 100px;
	width: auto;
}

.partita-header-content .squadra{
	width: 170px;
	display: flex;
	flex-direction: column;
	align-items: center;	
    justify-content: center;
}

.partita-header-bottom{
	display: flex;
	flex-direction: column;
	gap: 5px;
	align-items: center;
	justify-content: center;

	color: var(--BIANCO, #FEFEFE);
	/* Dettaglio */
	font-family: "Circular Std";
	font-size: var(--S, 16px);
	font-style: normal;
	font-weight: 900;
	line-height: 110%; /* 17.6px */
	text-transform: uppercase;

}

.partita-header-bottom .partita-stadio, .partita-header-bottom .partita-ora{
	opacity: .5;
}

.goals{
	padding: 30px;
	display: flex;
	flex-direction: row;
	align-items: center;
    justify-content: center;
	gap: 2px;
}


.goals .goal-title{
	display: flex;
    height: 60px;
    padding: 10px 15px;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 60px 5px 5px 60px;
    background: var(--IMPERIA-CALCIO, #1E4388);
    color: var(--BIANCO, #FEFEFE);
    text-align: center;
    leading-trim: both;
    text-edge: cap;
    font-family: "Circular Std";
    font-size: var(--M, 18px);
    font-style: normal;
    font-weight: 900;
    line-height: 120%;
}


.goals .goal-title::before{
	content: "";
	width: 30px;
	height: 30px;
	background: url('img/icons/goal.svg');
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
}

.goals .goal {
    display: flex;
    height: 60px;
    padding: 10px 30px 10px 15px;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 15px;
    border-radius: 5px;
    background: var(--ANTRACITE, #333);
	color: var(--BIANCO, #FEFEFE);
}

.goals .goal .goal-team{
	height: 30px;
	width: 30px;
	display: flex;
	justify-content: center;
	align-items: center;
}

.goals .goal .goal-team img{
	height: 100%;
	width: auto;
}

.goals .goal .goal-time{
	color: var(--BIANCO, #FEFEFE);
	text-align: center;
	leading-trim: both;
	text-edge: cap;

	/* P */
	font-family: Inter;
	font-size: var(--M, 18px);
	font-style: normal;
	font-weight: 400;
	line-height: 120%; /* 21.6px */
}

.goals .goal .goal-player{
	color: var(--BIANCO, #FEFEFE);
	text-align: center;
	leading-trim: both;
	text-edge: cap;
	/* P BOLD */
	font-family: "Circular Std";
	font-size: var(--M, 18px);
	font-style: normal;
	font-weight: 900;
	line-height: 120%; 
}

.goals .goal:last-child{
	padding: 10px 30px 10px 15px;
	border-radius: 5px 60px 60px 5px;
}

.section-container-partita{
	padding-bottom: 60px;
	display: flex;
	flex-direction: column;
	gap: 30px;
}

.containerFormazioni{
	display: flex;
	flex-direction: row;
	gap: 10px;
	position: relative;
	padding-left: 60px;
	padding-right: 60px;
}

.containerFormazioni .formazione{
	border-radius: 30px;
	background: var(--ANTRACITE, #333);
	width: 50%;
	padding: 30px 30px 15px 30px;
	color: var(--BIANCO, #FEFEFE);
}

.type-partite .entry-content{
	margin: 0;
}

.headerFormaazione{
	display: flex;
    justify-content: space-between;
	margin-bottom: 15px;
}

.formazioneSquadra{
	font-family: "Circular Std";
	font-size: var(--L, 24px);
	font-style: normal;
	font-weight: 900;
	line-height: 110%; /* 26.4px */
	text-transform: uppercase;

	display: flex;
    flex-direction: row;
    gap: 15px;
    align-items: center;
}

.formazioneSquadra img{
	height: 45px;
	width: auto;
}

.schemaSquadra{
	display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: flex-end;

	font-family: "Circular Std";
	font-size: var(--S, 16px);
	font-style: normal;
	font-weight: 900;
	line-height: 110%;
}

.schemaSquadra span{
	font-family: Inter;
	font-size: var(--M, 18px);
	font-style: normal;
	font-weight: 400;
	line-height: 120%; 
}

.formazioneDivider{
	border-radius: 15px;
	background: var(--GRIGIO, #444);
	display: flex;
	padding: 10px 15px;
	align-items: center;
	gap: 10px;
	flex: 1 0 0;
	margin-top: 15px;

	font-family: "Circular Std";
	font-size: var(--S, 16px);
	font-style: normal;
	font-weight: 900;
	line-height: 110%; /* 17.6px */
	text-transform: uppercase;

	opacity: .75;
}

.giocatoreFormazione{
	padding: 15px;
	border-bottom: 1px solid var(--GRIGIO, #444);
	display: flex;
    justify-content: space-between;
	border-radius: 15px;
}

.giocatoreFormazione .dettaglio{
	display: flex;
	flex-direction: row;
	gap: 10px;

	font-family: "Circular Std";
	font-size: var(--M, 18px);
	font-style: normal;
	font-weight: 900;

	align-items: center;
	line-height: 1em;
}

.giocatoreFormazione .dettaglio span{
	font-family: Inter;
	font-size: var(--M, 18px);
	font-style: normal;
	font-weight: 400;
	line-height: 1em;
}

.giocatoreFormazione .ruolo{
	font-family: Inter;
	font-size: var(--M, 18px);
	font-style: normal;
	font-weight: 400;
	line-height: 1em;
}

.type-partite .cardContainer header{
	padding: 0;
	border-radius: 0;
}

.type-partite .cardContainer header::after{
	display: none;
}

.section-container-partita .headerSlider{
	display: flex;
	flex-direction: row;
	align-items: center;
    justify-content: space-between;
}

article.type-partite .video-post-thumbnail{
	z-index: 0;
}

.news-page-template{
	background: var(--IMPERIA-CALCIO);
}

.news-page-template header.entry-header{
	padding: 60px;
}

.news-page-template header.entry-header h1{
	color: var(--BIANCO);
	font-family: "Circular Std";
	font-size: var(--4XL, 84px);
	font-style: normal;
	font-weight: 900;
	line-height: 110%; /* 92.4px */
	text-transform: uppercase;
	margin: 0;
}

.news-page-template .catContainer{
	padding-left: 60px;
	padding-right: 60px;
	color: var(--BIANCO);
}

.news-page-template .videoSection, .news-page-template .allNewsSection{
	background: var(--NERO, #000);
}

.news-page-template .pageSection::after{
	display: none;
}

.news-page-template .catContainer{
	display: flex;
	gap: 5px;
}

.catContainer a{
	text-decoration: none;
	color: inherit;
	color: var(--BIANCO);
}

.news-page-template .catContainer .buttonCategory, .archive.category header.page-header .catContainer .buttonCategory{
	border-radius: 50px;
	border-bottom: 2px solid var(--bianco-50, rgba(254, 254, 254, 0.50));	
	border-top: 2px solid transparent;
	display: flex;
	height: 45px;
	padding: 10px 15px;
	justify-content: center;
	align-items: center;
	gap: 10px;	

	/* Dettaglio */
	font-family: "Circular Std";
	font-size: var(--S, 16px);
	font-style: normal;
	font-weight: 900;
	/* line-height: 110%; */
	text-transform: uppercase;

	transition: border-top-color 0.2s ease-in-out, border-left-color 0.2s ease-in-out, border-right-color 0.2s ease-in-out;
    padding-left: 18px;
    padding-right: 18px;
}

.news-page-template .catContainer .buttonCategory:hover, .archive.category header.page-header .catContainer .buttonCategory:hover{
    border-bottom: 2px solid var(--bianco-50, rgba(254, 254, 254, 0.50));
    border-top-color: var(--bianco-50, rgba(254, 254, 254, 0.50));
    border-bottom-color: var(--bianco-50, rgba(254, 254, 254, 0.50));
    border-right: 2px solid var(--bianco-50, rgba(254, 254, 254, 0.50));
    border-left: 2px solid var(--bianco-50, rgba(254, 254, 254, 0.50));
    padding-left: 16px;
    padding-right: 16px;
}

.archive.category header.page-header .catContainer .buttonCategory.active{
	color: #000;
	background: #fff;
}



.news-page-template .hero {
    /* padding: 30px; */
    overflow: hidden;
}

.news-page-template .heroSliderWrapper {
    position: relative;
}

.news-page-template .hero-list {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding: 0 60px;
    scrollbar-width: none;
}

.news-page-template .hero-list::-webkit-scrollbar {
    display: none;
}

.news-page-template .heroArrow:disabled {
    display: none;
}

.news-page-template .nextSide{
	position: absolute;
    right: 0;
    height: 100%;
    top: 0;
    display: flex;
    z-index: 10;
	align-items: center;
	padding: 10px 30px;
	background: linear-gradient(90deg, rgba(30, 67, 136, 0.00) 0%, #1E4387 100%);
}

.news-page-template .prevSide{
	position: absolute;
    left: 0;
    height: 100%;
    top: 0;
    /* display: flex; */
	display: none;
    z-index: 10;
	align-items: center;
	padding: 10px 30px;
	background: linear-gradient(90deg, #1E4387 0%, rgba(30, 67, 136, 0.00) 100%);
}


.news-page-template .heroArrow{
	width: 60px;
	height: 60px;
	border-radius: 50px;
	cursor: pointer;
}

.news-page-template .post-video-container iframe{
	width: 100%;
    height: 577px;
	/* transform: scale(1.4); */
}    

.latestNewsSection{
	padding-top: 0;
}

.latestNewsSection .griglia-ultimi-articoli, .videoSection .griglia-ultimi-articoli{
	padding-top: 30px;
    /* padding-left: 60px;
    padding-right: 60px; */
}

.news-page-template article.card-recents .video-post-thumbnail{
	z-index: 0;
}

.news-page-template article.card-recents header.entry-header{
	padding: 0;
}

.news-page-template .allNewsSection .postGrid, .category.archive .allNewsSection .postGrid{
	padding: 30px 60px;
	display: flex;
	flex-direction: row;
	column-gap: 5px;
	row-gap: 60px;
	margin-left: auto;
	margin-right: auto;
	align-items: stretch;
	flex-wrap: wrap;
	/* justify-content: space-between; */
}

.news-page-template .allNewsSection .postGrid .genericPost, .category.archive .allNewsSection .postGrid .genericPost{
	width: 437px;
	display: flex;
	flex-direction: column;
	gap: 15px;
	height: 100%;
}

.news-page-template .allNewsSection .postGrid .genericPost .postImg, .category.archive .allNewsSection .postGrid .genericPost .postImg{
	width: 100%;
	aspect-ratio: 16/9;
}

.news-page-template .allNewsSection .genericPost .category, .category.archive .allNewsSection .genericPost .category{
	color: var(--BIANCO, #FEFEFE);
	font-family: "Circular Std";
	font-size: var(--XS, 14px);
	font-style: normal;
	font-weight: 900;
	line-height: initial;
	text-transform: uppercase;
	display: flex;
	flex-direction: row;
	gap: 10px;
}

.news-page-template .allNewsSection .genericPost .category::before, .category.archive .allNewsSection .genericPost .category::before{
	content: "";
	width: 15px;
	height: 15px;
	aspect-ratio: 1/1;
	background: var(--GIALLO);
	border-radius: 10px;
}

.news-page-template .allNewsSection .genericPost .postImg, .category.archive .allNewsSection .genericPost .postImg{
	border-radius: 5px 5px 30px 30px;
	border-bottom: 2px solid #404040;
	transition: all ease-in-out .3s;
	position: relative;
	overflow: hidden;
}

.news-page-template .allNewsSection .genericPost:hover .postImg, .category.archive .allNewsSection .genericPost:hover .postImg{
	border-bottom-color: var(--GIALLO);
}

.news-page-template .allNewsSection .genericPost .postImg:after, .category.archive .allNewsSection .genericPost .postImg:after{
	content: "";
	position: absolute;
	width: 100%;
	height: 100%;
	background: linear-gradient(0deg, rgba(0, 0, 0, 0.20) 0%, rgba(0, 0, 0, 0.20) 100%), linear-gradient(180deg, rgba(17, 17, 17, 0.00) 50%, rgba(17, 17, 17, 0.80) 100%);
	left: 0;
	top: 0;
}

.news-page-template .allNewsSection .genericPost h3, .category.archive .allNewsSection .genericPost h3{
	overflow: hidden;
	color: var(--BIANCO, #FEFEFE);
	leading-trim: both;
	text-edge: cap;
	text-overflow: ellipsis;

	margin: 0;

	/* P BOLD */
	font-family: "Circular Std";
	font-size: var(--M, 18px);
	font-style: normal;
	font-weight: 900;
	line-height: 120%;

	display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

.news-page-template .allNewsSection .genericPost span, .category.archive .allNewsSection .genericPost span{
	color: var(--BIANCO, #FEFEFE);
	font-family: "Inter", sans-serif;
	font-size: var(--XS, 14px);
	font-style: normal;
	font-weight: 400;
	line-height: 120%;

	opacity: 0.5;
	margin-top: 15px;
}

.news-page-template .allNewsSection .genericPost .genericPostContent, .category.archive .allNewsSection .genericPost .genericPostContent{
	display: flex;
	flex-direction: column;
	height: 95px;
    justify-content: space-between;
} 

.news-page-template .allNewsSection .genericPost .postImg iframe, .category.archive .allNewsSection .genericPost .postImg iframe{
	position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
	transform: scale(1.4);
}

.news-page-template .allNewsSection .loadMoreWrapper, .category.archive .allNewsSection .loadMoreWrapper{
	display: flex;
	flex-direction: column;
    align-items: center;
	padding-bottom: 30px;
}

.loadMoreWrapper button{
	color: var(--BIANCO);
	background: var(--NERO);

	font-family: "Circular Std";
	font-size: var(--M, 18px);
	font-style: normal;
	font-weight: 900;
	text-transform: uppercase;

	border-radius: 30px;
	border-bottom: 2px solid var(--GIALLO, #FBE200);
	border-top: 2px solid transparent;
	border-left: transparent;
	border-right: transparent;
	height: 45px;
	cursor: pointer;

	transition: all ease-in-out .3s;
}

.loadMoreWrapper button:hover{
	border-bottom: 2px solid var(--GIALLO, #FBE200);
	border-top: 2px solid var(--GIALLO, #FBE200);
	border-left: 2px solid var(--GIALLO, #FBE200);
	border-right: 2px solid var(--GIALLO, #FBE200);
}

.latestNewsSection .sliderHeader, .videoSection .sliderHeader{
	display: flex;
    justify-content: space-between;
}

.latestNewsSection .sliderHeader .slider-news-tutte, .videoSection .sliderHeader .slider-news-tutte{
	display: none;
}

.latestNewsSection .sliderHeader .pulsantiSliderNews, .videoSection .sliderHeader .pulsantiSliderNews{
	display: flex;
    gap: 5px;
    margin-right: 60px;
}

.archive.category header.page-header{
	background: var(--IMPERIA-CALCIO);
	padding: 60px;
}

.archive.category header.page-header h1{
	color: var(--BIANCO, #FEFEFE);
	leading-trim: both;
	text-edge: cap;

	/* H1 */
	font-family: "Circular Std";
	font-size: var(--4XL, 84px);
	font-style: normal;
	font-weight: 900;
	line-height: 110%; /* 92.4px */
	text-transform: uppercase;
	margin-top: 30px;
	margin-bottom: 60px;
}

.archive.category header.page-header .catContainer{
	display: flex;
	flex-direction: row;
	gap: 5px;
}

.backToNews{
	text-decoration: none;
	color: var(--BIANCO, #FEFEFE) !important;
	font-family: "Circular Std";
	font-size: var(--S, 16px);
	font-style: normal;
	font-weight: 900;
	line-height: 100%;
	text-transform: uppercase;
	/* padding: 10px 15px; */
	padding-right: 15px;
	padding-left: 17px;
	padding-top: 10px;
	padding-bottom: 10px;

	border-radius: 50px 0 0 50px;
	border-bottom: 2px solid var(--bianco-50, rgba(254, 254, 254, 0.50));
	border-top: 2px solid transparent;

	display: flex;
	width: fit-content;
	gap: 10px;

	transition: border-top-color 0.2s ease-in-out, border-left-color 0.2s ease-in-out, border-right-color 0.2s ease-in-out;
}

.backToNews:hover{
	color: var(--BIANCO, #FEFEFE);
	padding-left: 15px;
	border-top: 2px solid var(--bianco-50, rgba(254, 254, 254, 0.50));
	border-left: 2px solid var(--bianco-50, rgba(254, 254, 254, 0.50));
}

.backToNews::before{
	content: "";
	width: 17px;
	height: 12px;
	background: url('img/icons/arrow_l_w.svg');

	background-size: cover;
	background-repeat: no-repeat;
}

.homeCat{
	background: #000;
}

/*SINGLE*/

.single-post header.entry-header, 
.single-video header.entry-header, 
.single-gallery header.entry-header{
	background: var(--IMPERIA-CALCIO, #1E4388);
	padding: 60px;
	display: flex;
	flex-direction: row;
	gap: 120px;
}

.single-post header.entry-header .headerContent h1, 
.single-video header.entry-header .headerContent h1,
.single-gallery header.entry-header .headerContent h1{
	color: var(--BIANCO);
	font-family: "Circular Std";
	font-size: var(--4XL, 72px);
	font-style: normal;
	font-weight: 900;
	text-transform: uppercase;
	margin: 0;
	line-height: 1em;
}

.single-post header.entry-header .headerContent, 
.single-video header.entry-header .headerContent,
.single-gallery header.entry-header .headerContent{
	display: flex;
	flex-direction: column;
	gap: 30px;
	min-width: calc(100% - 270px);
}

.single-post header.entry-header .headerContent .category, 
.single-video header.entry-header .headerContent .category,
.single-gallery header.entry-header .headerContent .category{
	color: var(--BIANCO, #FEFEFE);
	font-family: "Circular Std";
	font-size: var(--XS, 14px);
	font-style: normal;
	font-weight: 900;
	line-height: 15px;
	text-transform: uppercase;
	display: flex;
	flex-direction: row;
	gap: 10px;
	align-items: center;
}

.single-post header.entry-header .headerContent .category::before, 
.single-video header.entry-header .headerContent .category::before,
.single-gallery header.entry-header .headerContent .category::before{
	content: "";
	aspect-ratio: 1;
	width: 15px;
	height: 15px;
	background-color: var(--GIALLO);
	border-radius: 15px;
}

.single-post header.entry-header .headerContent .entry-meta, 
.single-video header.entry-header .headerContent .entry-meta,
.single-gallery header.entry-header .headerContent .entry-meta{
	color: var(--BIANCO, #FEFEFE);

	/* Dettaglio */
	font-family: "Circular Std";
	font-size: var(--S, 16px);
	font-style: normal;
	font-weight: 900;
	line-height: 110%; /* 17.6px */
	text-transform: uppercase;

	text-decoration: none;

	display: flex;
	flex-direction: row;
	gap: 15px;
	align-items: center;
}

.single-post header.entry-header .headerContent .entry-meta::before, 
.single-video header.entry-header .headerContent .entry-meta::before, 
.single-gallery header.entry-header .headerContent .entry-meta::before{
	content: "";
	height: 1px;
	width: 45px;
	background: var(--BIANCO);
}

.shareButton{
	display: flex;
	flex-direction:row;
	height: 45px;
	padding: 10px 15px;
	justify-content: center;
	align-items: center;
	gap: 10px;
	padding-left: 17px;

	border-radius: 50px;
	border-bottom: 2px solid var(--bianco-50, rgba(254, 254, 254, 0.50));
	border-top: 2px solid transparent;
	cursor: pointer;
	transition: border-top-color 0.2s ease-in-out, border-left-color 0.2s ease-in-out, border-right-color 0.2s ease-in-out;
}

.shareButton:hover{
	border-bottom-color: var(--GIALLO);
	padding-left: 15px;
	border-top: 2px solid var(--GIALLO);
	border-left: 2px solid var(--GIALLO);
	border-right: 2px solid var(--GIALLO);
}

.shareButton::after{
	content: "";
	width: 24px;
	height: 24px;
	background: url('img/icons/share-icon.svg');
}

.shareButton span{
	color: var(--BIANCO, #FEFEFE);

	/* Dettaglio */
	font-family: "Circular Std";
	font-size: var(--S, 16px);
	font-style: normal;
	font-weight: 900;
	line-height: 110%; /* 17.6px */
	text-transform: uppercase;
}

.imgCoverContainer{
	width: 100%;
    aspect-ratio: 16 / 9;
	overflow: hidden;
	position: relative;
    border-bottom-left-radius: 90px;
    border-bottom-right-radius: 90px;
	text-align: center;
}

.imgCoverContainer .imgCoverBck{
	width: 100%;
    aspect-ratio: 16 / 9;
    background-position: center !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
	filter:blur(20px);
	transform: scale(1.4);
	overflow: hidden;
	position: absolute;
	top: 0;
	left: 0;
	z-index: -1;
}

.imgCoverContainer img{
	height: 100%;
	width: auto;
	display: inline-block;
}

.single-post .entry-content{
	padding-top: 60px;
	padding-bottom: 60px;
	margin: 0;
}

.single-post .entry-content .excerpt, .single-video .entry-content .excerpt{
	margin-left: 60px;
	margin-right: 60px;
	padding-bottom: 30px;
	border-bottom: 1px solid var(--GRIGIO, #444);
}

.single-post .entry-content .excerpt p, .single-video .entry-content .excerpt p{
	color: var(--NERO, #010101);
	leading-trim: both;
	text-edge: cap;

	font-family: "Circular Std";
	font-size: var(--XL, 36px);
	font-style: normal;
	font-weight: 900;
	line-height: normal;
	text-transform: uppercase;
	margin: 0;
	line-height: 1em;
}

.single-post .entry-content .postContainer{
	color: #444;
}

.single-video .entry-content .postContainer{
	color: var(--BIANCO, #FEFEFE);
}

.single-post .entry-content .postContainer p, .single-video .entry-content .postContainer p{
	font-family: Inter;
	font-size: var(--M, 18px);
	font-style: normal;
	font-weight: 400;
	line-height: 120%;

	padding-top: 30px;
    padding-bottom: 30px;
    margin: 0;

	max-width: 630px;
	margin-left: auto;
	margin-right: auto;
}

.single-post .entry-content .postContainer .wp-block-image, .single-video .entry-content .postContainer .wp-block-image{
	padding: 0;
    margin: 0;

	max-width: 630px;
	margin-left: auto;
	margin-right: auto;
}

.single-post .entry-content .postContainer .wp-block-image img, .single-video .entry-content .postContainer .wp-block-image img{
	border-radius: 5px;
}

.single-post .entry-content .postContainer .wp-block-image .wp-element-caption, .single-video .entry-content .postContainer .wp-block-image .wp-element-caption{
	margin-bottom: 0;
	margin-top: 10px;
	color: var(--GRIGIO, #444);

	/* Carattere piccolo */
	font-family: Inter;
	font-size: var(--XS, 14px);
	font-style: normal;
	font-weight: 400;
	line-height: 120%;
}

.single-video .entry-content .postContainer .wp-block-image .wp-element-caption{
	color: var(--BIANCO, #FEFEFE);
}

.single-post .entry-content .postContainer .wp-block-separator, .single-video .entry-content .postContainer .wp-block-separator{
	margin: 0;
	padding-top: 30px;
	padding-bottom: 30px;
	border: none;
	display: flex;
	background: none;

	max-width: 630px;
	margin-left: auto;
	margin-right: auto;
}

.single-post .entry-content .postContainer .wp-block-separator:before, 
.single-video .entry-content .postContainer .wp-block-separator:before{
	content: "";
	height: 1px;
	width: 100%;
	background: var(--GRIGIO-CHIARO, #999);
}

.single-post .entry-content .postContainer .wp-block-quote,
.single-video .entry-content .postContainer .wp-block-quote{
	margin-top: 30px;
	margin-bottom: 30px;
	margin-left: 0;
	margin-right: 0;
	padding-left: 30px;
	padding-right: 30px;
	border-radius: 30px;
	border-right: 2px solid var(--GRIGIO-CHIARO, #999);
	border-left: 2px solid var(--GRIGIO-CHIARO, #999);

	max-width: 630px;
	margin-left: auto;
	margin-right: auto;
}

.single-post .entry-content .postContainer .wp-block-quote p,
.single-video .entry-content .postContainer .wp-block-quote p{
	color: var(--NERO, #010101);
	leading-trim: both;
	text-edge: cap;
	font-family: Inter;
	font-size: var(--L, 24px);
	font-style: normal;
	font-weight: 700;
	line-height: 120%;
}


.single-video .entry-content .postContainer .wp-block-quote p{
	color: var(--BIANCO, #fefefe);
}

.single-post .entry-content .postContainer .wp-block-quote em,
.single-video .entry-content .postContainer .wp-block-quote em{
	color: var(--GRIGIO, #444);

	/* Dettaglio */
	font-family: "Circular Std";
	font-size: var(--S, 16px);
	font-style: normal;
	font-weight: 900;
	line-height: 110%; /* 17.6px */
	text-transform: uppercase;
}

.single-post .entry-content .postContainer h2,
.single-video .entry-content .postContainer h2{
	margin: 0;
	padding-top: 30px;
	padding-bottom: 30px;

	color: var(--NERO, #010101);
	leading-trim: both;
	text-edge: cap;

	max-width: 630px;
	margin-left: auto;
	margin-right: auto;

	font-family: "Circular Std";
	font-size: var(--L, 24px);
	font-style: normal;
	font-weight: 900;
	line-height: 110%; /* 26.4px */
	text-transform: uppercase;
}

.single-video .entry-content .postContainer h2{
	color: var(--BIANCO, #FEFEFE);
}

.single-post .entry-content .postContainer .wp-block-list,
.single-video .entry-content .postContainer .wp-block-list{
	margin: 0;
	list-style-type: none;
	padding: 0;

	max-width: 630px;
	margin-left: auto;
	margin-right: auto;
	font-size: 18px;
}

.single-post .entry-content .postContainer .wp-block-list li,
.single-video .entry-content .postContainer .wp-block-list li{
	padding-top: 30px;
	padding-bottom: 30px;

	color: var(--GRIGIO, #444);
	leading-trim: both;
	text-edge: cap;


	/* P */
	font-family: Inter;
	font-size: var(--M, 18px);
	font-style: normal;
	font-weight: 400;
	line-height: 120%;

	display: flex;
	flex-direction: row;
	gap: 30px;
}

.single-post .entry-content .postContainer .wp-block-list li::before,
.single-video .entry-content .postContainer .wp-block-list li::before{
	content: "";
	width: 5px;
	height: 5px;
	aspect-ratio: 1;
	background: #999;
	border-radius: 5px;
	margin-top: 4px;
}

.single-video .entry-content .postContainer .wp-block-list li{
	color: #fff;
}

.single-video .entry-content .postContainer .wp-block-list li::before{
	background: #fff;
}

/**
* Slider galleria in text
*/

/* Contenitore principale della galleria (serve come riferimento di posizione) */
.wp-block-gallery.galleria-carosello {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    scroll-behavior: smooth;
    gap: 15px;
    -webkit-overflow-scrolling: touch;
	padding-left: 60px;
	padding-right: 60px;
	margin-top: 30px;
	margin-bottom: 30px;
}
.wp-block-gallery.galleria-carosello::-webkit-scrollbar {
    display: none; /* Nasconde la barra di scorrimento nativa */
}

/* Slide interne */
.wp-block-gallery.galleria-carosello .wp-block-image {
    flex: 0 0 fit-content !important;
    max-width: 80% !important;
    /* scroll-snap-align: center !important; */
    margin: 0 !important;
}

@media (min-width: 768px) {
    .wp-block-gallery.galleria-carosello .wp-block-image {
        flex: 0 0 fit-content !important;
        max-width: 31% !important;
        /* scroll-snap-align: start !important; */
    }
}

.wp-block-gallery.galleria-carosello .wp-block-image img {
    width: fit-content !important;
    height: 250px !important;
    object-fit: cover !important;
    border-radius: 8px;
}

/* STILE DEI PULSANTI DI NAVIGAZIONE */
.carosello-nav-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    width: 630px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 50px;
    border-bottom: 2px solid var(--GRIGIO-CHIARO, #999);
    height: 45px;
}

.btn-carosello {
    background: transparent;
    color: #ffffff;
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-carosello.next{
	background: url('img/icons/arrow_r_b.svg');
	background-size: auto 17px;
	background-position: center;
	background-repeat: no-repeat;
    padding: 15px 10px;
}

.btn-carosello.prev{
	background: url('img/icons/arrow_l_b.svg');
	background-size: auto 17px;
	background-position: center;
	background-repeat: no-repeat;
    padding: 15px 10px;
}

/* Video */
.single-video article{
	width: 100%;
	border-radius: 0;
	height: unset;
}

.single-video article.video .entry-header::before{
	display: none;
}

.single-video .videoCoverContainer{
	background: linear-gradient(180deg, #1E4388 0%, rgba(30, 67, 136, 0.00) 100%), #010101;
	padding: 60px;
}

.single-video .videoCoverContainer iframe{
	width: 100%;
	aspect-ratio: 16/9;
	border-radius: 15px;
}

.single-video .entry-content{
	background: #000;
	padding: 60px;
	margin: 0;
}

 .single-video .entry-content .excerpt p{
	color: var(--BIANCO, #FEFEFE);
 }

 .single-video .btn-carosello.next{
	background: url('img/icons/arrow_r_w.svg') !important;
	background-size: auto 17px !important;
	background-position: center !important;
	background-repeat: no-repeat !important;
    padding: 15px 10px !important;
}

.single-video .btn-carosello.prev{
	background: url('img/icons/arrow_l_w.svg') !important;
	background-size: auto 17px !important;
	background-position: center !important;
	background-repeat: no-repeat !important;
    padding: 15px 10px !important;
}

/*
*	Gallery
*/

.single-gallery .entry-header{
	background: linear-gradient(0deg, rgba(30, 67, 136, 0.00) 0%, #1E4388 100%), #010101 !important;	
}

.gallery.type-gallery{
	display: unset !important;
}

.single-gallery .entry-content{
	margin: 0;
	background: var(--NERO, #000);
}

.single-gallery .gallery-grid{
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	gap: 5px;
	padding: 5px;
	margin-left: auto;
	margin-right: auto;
	max-width: 1441px;
}

.single-gallery .gallery-grid .gallery-item{
	width: 354px;
	height: 199px;
	background-size: cover !important;
	background-position: center !important;
	border-radius: 5px;
	cursor: pointer;
	transition: all ease-in-out .3s;
}

.single-gallery .gallery-grid .gallery-item:hover{
	transform: scale(1.1);
}

.single-gallery .gallery-grid .grid-item-container{
	width: 354px;
	height: 199px;
	border-radius: 5px;
	overflow: hidden;
	position: relative;
	cursor: pointer;
	transition: opacity ease-in-out .3s;
}

.single-gallery .gallery-grid .grid-item-container:before{
	content:"";
	position: absolute;
	left: 0;
	right: 0;
	background: rgba(0, 0, 0, 0.2);
	width: 354px;
	height: 199px;
	opacity: 0;
	transition: opacity ease-in-out .3s;
}

.single-gallery .gallery-grid .grid-item-container:hover:before {
	opacity: 1;
}

/*
*	Lightbox
*/

.ic-lightbox{
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.92);
	opacity: 0;
	visibility: hidden;
	transition: opacity .3s ease-in-out;
}

.ic-lightbox.is-active{
	opacity: 1;
	visibility: visible;
}

.ic-lightbox .ic-lightbox-inner{
	position: relative;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.ic-lightbox img{
	max-width: 90vw;
	max-height: 85vh;
	object-fit: contain;
	border-radius: 5px;
	opacity: 0;
	transform: scale(.96);
	transition: opacity .25s ease-in-out, transform .25s ease-in-out;
}

.ic-lightbox img.is-loaded{
	opacity: 1;
	transform: scale(1);
}

.ic-lightbox-close,
.ic-lightbox-prev,
.ic-lightbox-next{
	position: absolute;
	background: rgba(255, 255, 255, 0.1);
	border: none;
	color: #fff;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	transition: background .2s ease-in-out;
}

.ic-lightbox-close:hover,
.ic-lightbox-prev:hover,
.ic-lightbox-next:hover{
	background: rgba(255, 255, 255, 0.25);
}

.ic-lightbox-close{
	top: 20px;
	right: 20px;
	width: 44px;
	height: 44px;
	font-size: 22px;
}

.ic-lightbox-prev,
.ic-lightbox-next{
	top: 50%;
	transform: translateY(-50%);
	width: 54px;
	height: 54px;
	font-size: 26px;
}

.ic-lightbox-prev{ left: 20px; }
.ic-lightbox-next{ right: 20px; }

.ic-lightbox-counter{
	position: absolute;
	bottom: 24px;
	left: 50%;
	transform: translateX(-50%);
	color: #fff;
	font-size: 14px;
	letter-spacing: .5px;
	opacity: .8;
}

@media (max-width: 768px){
	.ic-lightbox-prev,
	.ic-lightbox-next{
		width: 42px;
		height: 42px;
		font-size: 20px;
	}
	.ic-lightbox-prev{ left: 10px; }
	.ic-lightbox-next{ right: 10px; }
	.ic-lightbox-close{
		top: 10px;
		right: 10px;
	}
}

/**
*	Pagina squadra
**/
.page-template-template-squadra header .headerContainer{
	padding: 60px;
	background-size: cover !important;
	height: 100%;
	background-position: center !important;
	height: 380px;
	position: relative;
	z-index: 1;
}

.page-template-template-squadra header .headerContent{
	display: flex;
	flex-direction: column;
	gap: 30px;
	align-items: center;
    justify-content: center;
	z-index: 1;
	position: relative;
	height: 100%;
}

.page-template-template-squadra header .headerContent h1{
	overflow: hidden;
	color: var(--BIANCO, #FEFEFE);
	text-align: center;
	leading-trim: both;
	text-edge: cap;
	text-overflow: ellipsis;


	/* H1 + */
	font-family: "Circular Std";
	font-size: var(--4XL, 84px);
	font-style: normal;
	font-weight: 900;
	line-height: 110%; /* 92.4px */
	text-transform: uppercase;
	margin: 0;
}

.page-template-template-squadra header .headerContent h2{
	overflow: hidden;
	color: var(--BIANCO, #FEFEFE);
	text-align: center;
	leading-trim: both;
	text-edge: cap;
	text-overflow: ellipsis;


	/* H4 */
	font-family: "Circular Std";
	font-size: var(--L, 24px);
	font-style: normal;
	font-weight: 900;
	line-height: 110%; /* 26.4px */
	text-transform: uppercase;


	margin: 0;
}

.page-template-template-squadra header .headerContainer::after{
	content: "";
	width: 100%;
	position: absolute;
	bottom: 0;
	left: 0;
	background: linear-gradient(180deg, rgba(30, 67, 136, 0.00) 0%, #1E4388 100%), linear-gradient(0deg, rgba(0, 0, 0, 0.20) 0%, rgba(0, 0, 0, 0.20) 100%);
	height: 380px;
	z-index: 0;
}

.page-template-template-squadra .pageNews{
	padding-top: 60px;
	padding-bottom: 60px;
	background: var(--IMPERIA-CALCIO);
}

.page-template-template-squadra .postContainer{
	background: var(--NERO, #000);
	padding-top: 60px;
	padding-bottom: 60px;
}

.page-template-template-squadra .entry-content{
	margin: 0;
}

.page-template-template-squadra .newsHeader{
	padding-left: 60px;
	padding-right: 60px;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;

	margin-bottom: 30px;
}

.page-template-template-squadra .newsHeader h3{
	color: var(--BIANCO, #FEFEFE);
	leading-trim: both;
	text-edge: cap;


	/* H2 */
	font-family: "Circular Std";
	font-size: var(--2XL, 56px);
	font-style: normal;
	font-weight: 900;
	line-height: 110%; /* 61.6px */
	text-transform: uppercase;
	margin: 0;
}

.page-template-template-squadra .newsHeader .pulsantiSliderNews{
	display: flex;
}

.page-template-template-squadra  article.card-recents .video-post-thumbnail{
	z-index: 0;
}

.figurina{
	display: flex;
	/* width: 300px; */
	width: 100%;
	/* height: 450px; */
	flex-direction: column;
	justify-content: space-between;
	align-items: flex-start;
	aspect-ratio: 2/3;

	border-radius: 30px;
	border: 2px solid var(--IMPERIA-CALCIO, #1E4388);
	position: relative;
	padding: 0;
	margin-left: auto !important;
    margin-right: auto !important;
}

.figurina .figurinaInfo{
	position: absolute;
	left: 0;
	top: 0;

	width: 100%;
	/* height: 450px; */
	aspect-ratio: 300 / 452;
}

.figurina .figurinaInfo h3{
	margin: 0;
	overflow: hidden;
	color: var(--BIANCO, #FEFEFE);
	text-align: center;
	leading-trim: both;
	text-edge: cap;
	text-overflow: ellipsis;
	font-family: "Circular Std";
	font-size: var(--XS, 14px);
	font-style: normal;
	font-weight: 900;
	line-height: 1em;
	text-transform: uppercase;
	border-bottom: 2px solid var(--IMPERIA-CALCIO, #1E4388);
	padding: 15px;;
}

.bloccoFigurine .wp-block-group__inner-container{
	flex-direction: column;
	gap: 30px;
	display: flex;
}

.figurina .figurinaInfo .dettagliFigurina .wp-block-group__inner-container{
	display: block;
}

.figurina .figurinaInfo .dettagliFigurina{
	padding: 90px 30px 30px 30px;
	position: absolute;
    bottom: 0;
    width: 100%;
	background: var(--SFUMATURA-BLU, linear-gradient(180deg, rgba(30, 67, 136, 0.00) 0%, #1E4388 100%));
}

.figurina .figurinaInfo .dettagliFigurina .numero{
	overflow: hidden;
	color: var(--bianco-50, rgba(254, 254, 254, 0.50));
	leading-trim: both;
	text-edge: cap;
	text-overflow: ellipsis;

	font-family: "Circular Std";
	font-size: var(--2XL, 56px);
	font-style: normal;
	font-weight: 900;
	line-height: 110%;
	text-transform: uppercase;
	margin: 0;
	margin-bottom: 15px;
}

.figurina .figurinaInfo .dettagliFigurina .nome{
	overflow: hidden;
	color: var(--BIANCO, #FEFEFE);
	text-overflow: ellipsis;

	font-family: "Circular Std";
	font-size: var(--S, 16px);
	font-style: normal;
	font-weight: 900;
	line-height: 110%; 
	text-transform: uppercase;
	margin: 0;
}


.figurina .figurinaInfo .dettagliFigurina .cognome{
	overflow: hidden;
	color: var(--BIANCO, #FEFEFE);
	leading-trim: both;
	text-edge: cap;
	text-overflow: ellipsis;

	font-family: "Circular Std";
	font-size: var(--XL, 36px);
	font-style: normal;
	font-weight: 900;
	line-height: normal;
	text-transform: uppercase;
	margin: 0;
}

.bloccoFigurine{
	padding-top: 30px;
	padding-bottom: 30px;
}

.figurineRow{
	display: grid !important;
	/* Crea colonne automatiche grandi almeno 300px 
		che si spartiscono equamente lo spazio rimanente (1fr) */
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	
	padding-left: 60px;
	padding-right: 60px;
	
	gap: 30px; 
}

/* Main menu */

.menu-menu-1-container .sub-menu{
	background: var(--IMPERIA-CALCIO);
    position: absolute;
    left: 0 !important;
    display: flex;
    flex-direction: column;
    width: 100%;
	transition: all .3s ease-in-out;
	max-height: 0;
	overflow: hidden;
	padding-left: 60px;
	padding-right: 60px;
}

.main-navigation li{
	position: unset;
}

.menu-menu-1-container .menu-item-has-children:hover .sub-menu{
	max-height: 450px;
	height: 450px;
	padding: 60px;
}

.menu-menu-1-container .menu-item-has-children:has(.sub-menu:hover){
	background: var(--IMPERIA-CALCIO);
}

.menu-menu-1-container .sub-menu li{
	max-width: 50%;
}


.site-header .menuContainer .main-navigation .sub-menu .menu-item a{
	padding-left: 0;
	padding-right: 0;
	padding-top: 15px;
	padding-bottom: 15px;
	text-align: start;
	width: fit-content;
	font-size: 18px;
}

.site-header .menuContainer .main-navigation .sub-menu h2{
	color: var(--BIANCO, #FEFEFE);
	leading-trim: both;
	text-edge: cap;

	font-family: "Circular Std";
	font-size: var(--2XL, 56px);
	font-style: normal;
	font-weight: 900;
	line-height: 110%; /* 61.6px */
	text-transform: uppercase;
	margin-top: 0;
	margin-bottom: 60px;
}

.site-header .menuContainer .main-navigation .sub-menu::after{
	position: absolute;
    content: "";
    width: calc(50% - 15px);
    top: 15px;
    height: calc(100% - 30px);
    right: 15px;
	background-size: cover;
	background-repeat: no-repeat;
}

.stagione-menu .sub-menu::after{
	background: url('img/menu-image/stagione.png');
}

.squadre-menu .sub-menu::after{
	background: url('img/menu-image/squadre.png');
}

.club-menu .sub-menu::after{
	background: url('img/menu-image/club.png');
}

#hamburger-menu{
	margin: 0;
}

.menu-hamburger{
    width: 100%;
    max-width: 562px;
	position: absolute;
	left: 0;
	background: var(--IMPERIA-CALCIO);
	z-index: 11;
	max-height: 0px;
	overflow: hidden;
	transition: all ease-in-out .3s;
	box-shadow: 0 3px 30px rgba(0, 0, 0, 0.2);
}

.menu-hamburger.active{
	max-height: 1500px;
}

.menu-hamburger .social-menu{
	padding: 30px;
	border-top: 1px solid rgba(254, 254, 254, 0.25);
}

.menu-hamburger .menu-commerce{
	border-top: 1px solid rgba(254, 254, 254, 0.25);
}

.menu-hamburger .menu-commerce ul{
	margin: 0;
	list-style: none;
	padding: 0;
}

.menu-hamburger .menu-commerce ul li a{
	padding: 30px;
    display: flex;
    flex-direction: row;
    gap: 15px;
    text-decoration: none;
    text-transform: uppercase;
    color: var(--BIANCO, #FEFEFE);
    text-align: center;
    leading-trim: both;
    text-edge: cap;
    font-family: "Circular Std";
    font-size: var(--L, 24px);
    font-style: normal;
    font-weight: 900;
    line-height: 1em;
    text-transform: uppercase;
    align-items: center;
}

.menu-hamburger .menu-commerce ul li.store a:before{
	content: "";
	width: 25px;
	height: 25px;
	background: url(img/icons/cart.svg);
	background-position: center;
	background-repeat: no-repeat;
}

.menu-hamburger .menu-commerce ul li.tickets a:before{
	content: "";
	width: 25px;
	height: 25px;
	background: url(img/icons/ticket.svg);
	background-position: center;
	background-repeat: no-repeat;
}

.menu-hamburger ul#hamburger-menu{
	padding: 0;
	list-style: none;
}

.menu-hamburger ul#hamburger-menu .menu-item a{
	width: 100%;
	padding: 30px;
	display: flex;

	color: var(--BIANCO, #FEFEFE);
	text-align: center;
	leading-trim: both;
	text-edge: cap;


	/* H4 */
	font-family: "Circular Std";
	font-size: var(--L, 24px);
	font-style: normal;
	font-weight: 900;
	line-height: 110%; /* 26.4px */
	text-transform: uppercase;

	text-decoration: none;
	align-items: center;
}

.menu-hamburger ul .menu-item{
	transition: all ease-in-out .3s;
}

.menu-hamburger ul .menu-item:hover{
	background: #18366d;
}

.menu-hamburger ul .menu-item:hover > a:after{
	border-bottom-color: var(--GIALLO) !important;
}

.menu-hamburger ul .sub-menu{
	background: linear-gradient(180deg, #1E4388 0%, rgba(30, 67, 136, 0.00) 100%), linear-gradient(0deg, rgba(1, 1, 1, 0.25) 0%, rgba(1, 1, 1, 0.25) 100%), #1E4388;
	padding: 0;
	/* margin: 0 0 15px 0; */
	margin: 0;
	list-style: none;
	max-height: 0;
	overflow: hidden;
}

.menu-hamburger ul .sub-menu .menu-item{
	background: none;
}

#hamburger-menu .menu-item-has-children > a{
	display: flex;
	justify-content: space-between;
	padding: 15px 30px !important;
	border-top: 1px solid transparent;
	transition: all .3s ease-in-out;
}

#hamburger-menu .menu-item-has-children > a:after{
	content: "";
	width: 45px;
	height: 45px;
	padding: 15px;
	border-radius: 50px;
	border-bottom: 2px solid var(--bianco-50, rgba(254, 254, 254, 0.50));
	border-top: solid 2px transparent;
	background: url('img/icons/chevron.svg');
	background-position: center;
	background-repeat: no-repeat;
	transition: all ease-in-out .3s;
}

#hamburger-menu .menu-item-has-children.open{
	border-top: 1px solid var(--bianco-25, rgba(254, 254, 254, 0.25));
	background: none;
}

#hamburger-menu .menu-item-has-children.open > a{
	color: #8EA0C3 !important;
}

#hamburger-menu .menu-item-has-children.open > a:after{
	border: solid 2px var(--BIANCO) !important;
	background: url('img/icons/close.svg');
	background-position: center;
	background-repeat: no-repeat;
}

#hamburger-menu .menu-item-has-children .sub-menu{
	transition: all ease-in-out .3s;
}

#hamburger-menu .menu-item-has-children.open .sub-menu{
	max-height: 500px;
}

.hamburgerButton img{
	position: relative;
	z-index: 1;
}

.hamburgerButton.active:after{
	background: #1E4388;
	content: "";
	width: 90px;
	height: 90px;
	position: absolute;
	z-index: 0;
	top: 0;
	left: 0;
}

#hamburger-menu .menu-item-has-children.open .sub-menu .menu-item a{
	transition: all ease-in-out .3s;
}

#hamburger-menu .menu-item-has-children.open .sub-menu .menu-item:hover a{
	opacity: .5;
}

.hamburgerIcon{
	width: 30px;
	height: 22px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	z-index: 1;
    position: relative;
}

.hamburgerIcon .line1, .hamburgerIcon .line2, .hamburgerIcon .line3{
	height: 2px;
	background: var(--BIANCO);
	width: 30px;
} 

.hamburgerIcon .line2{
	width: 20px;
}

.hamburgerIcon .line1 {
    transition: transform .3s linear;
}

.hamburgerIcon .line2 {
    transition: width .3s linear;
}

.hamburgerIcon .line3 {
    transition: transform .3s linear;
}

/* stato attivo */
.hamburgerButton.active .hamburgerIcon .line1 {
    transform: rotate(45deg) translateY(10px) translateX(4px);
}

.hamburgerButton.active .hamburgerIcon .line2 {
    width: 0;
}

.hamburgerButton.active .hamburgerIcon .line3 {
    transform: rotate(-45deg) translateY(-10px) translateX(4px);
}

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

.page .pageHeader{
	border-bottom-left-radius: 90px;
	border-bottom-right-radius: 90px;
	padding: 60px;
	height: 382px;
}

.page .pageHeader::after{
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	height: 100%;
	width: 100%;
	background:  linear-gradient(180deg, rgba(30, 67, 136, 0.00) 0%, #1E4388 100%), linear-gradient(0deg, rgba(0, 0, 0, 0.20) 0%, rgba(0, 0, 0, 0.20) 100%);
	z-index: 0;
}

.page .pageHeader h1, .page .pageHeader h2, .page .pageHeader p{
	margin: 0;
	color: var(--BIANCO);
}

.page .pageHeader p{
	text-align: center;
	leading-trim: both;
	text-edge: cap;
	text-overflow: ellipsis;

	/* H4 */
	font-family: "Circular Std";
	font-size: var(--L, 24px);
	font-style: normal;
	font-weight: 900;
	line-height: 110%; /* 26.4px */
	text-transform: uppercase;
}

.page .pageHeader h2, .page .pageHeader h1{
	font-family: "Circular Std";
	font-size: var(--4XL, 84px);
	font-style: normal;
	font-weight: 900;
	line-height: 110%; /* 92.4px */
	text-transform: uppercase;
}

.page .wp-block-cover__inner-container{
	display: flex;
	flex-direction: column;
	gap: 30px;
	z-index: 1;
}

.page .pageContent{
	padding-top: 60px;
	padding-bottom: 60px;
}

.page .pageContent p{
	margin-top: 30px;
	margin-bottom: 30px;
	max-width: 630px;
	margin-left: auto;
	margin-right: auto;

	font-family: "Inter";
	font-size: var(--M, 18px);
	font-style: normal;
	font-weight: 400;
	line-height: 120%;
}

.page .pageContent .cardGroup{
	padding: 60px;
	display: flex;
	flex-direction: row;
	gap: 15px;
}

.page .pageContent .cardGroup .cardContent{
	border-radius: 30px;
	border: 1px solid #DDD;
	border-bottom: 3px solid #DDD;
	background: var(--BIANCO, #FEFEFE);
	padding: 30px;
}


.page .pageContent .cardGroup .cardContent .cardHeader{
	margin-bottom: 30px;
}

.page .pageContent .cardGroup .cardContent h3{
	color: var(--NERO, #010101);
	leading-trim: both;
	text-edge: cap;

	font-family: "Circular Std";
	font-size: var(--2XL, 56px);
	font-style: normal;
	font-weight: 900;
	line-height: 110%; /* 61.6px */
	text-transform: uppercase;
	margin: 0;
}

.page .pageContent .cardGroup .cardContent h2{
	color: var(--NERO, #010101);
	leading-trim: both;
	text-edge: cap;

	font-family: "Circular Std";
	font-size: var(--L, 24px);
	font-style: normal;
	font-weight: 900;
	line-height: 110%; /* 26.4px */
	text-transform: uppercase;
	margin: 0;
}

.page .pageContent .cardGroup .cardContent p{
	margin: 0;
	color: var(--NERO, #010101);
	leading-trim: both;
	text-edge: cap;

	font-family: "Inter";
	font-size: var(--M, 18px);
	font-style: normal;
	font-weight: 400;
	line-height: 120%;
}

.page .pageContent .doubleContent{
	padding: 60px;
	display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
    align-content: stretch;
    gap: 60px;
}

.page .pageContent .doubleContent .cardGroup {
    display: flex;
    flex-direction: column;
    gap: 15px;
	padding: 0;
}

.page .pageContent .doubleContent .wp-block-group{
	flex: 1;
}

.page .pageContent .doubleContent p{
	max-width: unset;

	color: var(--GRIGIO, #444);
	leading-trim: both;
	text-edge: cap;

	font-family: "Inter";
	font-size: var(--M, 18px);
	font-style: normal;
	font-weight: 400;
	line-height: 120%;
}

.page .pageContent .fullContent{
	padding: 60px;
}

.page .pageContent .doubleContent h2, .page .page-content .fullContent h2, .page .pageContent .fullContent h2{
	color: var(--GRIGIO, #444);
	leading-trim: both;
	text-edge: cap;


	/* H3 */
	font-family: "Circular Std";
	font-size: var(--XL, 36px);
	font-style: normal;
	font-weight: 900;
	line-height: normal;
	text-transform: uppercase;
}

.page .pageContent .fullContent p{
	max-width: unset;
}

.page .pageContent .wp-block-accordion{
	display: flex;
    flex-direction: column;
    gap: 5px;
}

.page .pageContent .wp-block-accordion .wp-block-accordion-item{
	border-radius: 15px;
	border-top: 1px solid #DDD;
	border-right: 1px solid #DDD;
	border-bottom: 2px solid #DDD;
	border-left: 1px solid #DDD;
	
	padding: 30px 30px 30px 90px;
	
	/* Aggiunta transizione fluida */
    transition: all 0.3s ease-in-out;
}

.page .pageContent .wp-block-accordion .wp-block-accordion-item button{
	color: var(--NERO, #010101);
	leading-trim: both;
	text-edge: cap;


	/* H4 */
	font-family: "Circular Std";
	font-size: var(--L, 24px);
	font-style: normal;
	font-weight: 900;
	line-height: 110%; /* 26.4px */
	text-transform: uppercase;
}

.wp-block-accordion-heading__toggle-title{	
	/* Aggiunta transizione fluida */
    transition: all 0.3s ease-in-out;
}

.wp-block-accordion-heading__toggle:hover .wp-block-accordion-heading__toggle-title, .wp-block-accordion-heading__toggle:hover .wp-block-accordion-heading__toggle-icon {
    text-decoration: none;
	opacity: .5;
}

.wp-block-accordion-heading{
	margin: 0;
}

.page .pageContent .wp-block-accordion .wp-block-accordion-item p{
	margin: 0;
}

.page .pageContent .wp-block-accordion-panel{
	padding-top: 0;
}

.page .pageContent .wp-block-accordion .wp-block-accordion-item.is-open .wp-block-accordion-panel{
	padding-top: 40px;
}

.wp-block-accordion-heading__toggle-icon{
	display: flex;
	width: 45px;
	height: 45px;
	padding: 15px;
	justify-content: center;
	align-items: center;
	gap: 10px;

	border-radius: 50px;
	border-bottom: 2px solid var(--GRIGIO-CHIARO, #999);
	font-size: 0;
	position: relative;
	padding: 15px;
}

.wp-block-accordion-heading__toggle-icon::after{
	content: "";
	background: url('img/icons/accordion.svg');
	width: 15px;
	height: 15px;
	position: absolute;
	left: 15px;
	top: 15px;
    background-size: cover;
}

/* Rendi il pannello animabile usando CSS Grid (trucco moderno per transizioni fluide) */
.wp-block-accordion-item .wp-block-accordion-panel {
    display: grid !important; /* Forza il display a grid per evitare il display: none istantaneo */
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s ease-out, opacity 0.4s ease-out;
    opacity: 0;
    visibility: hidden;
}

/* Quando l'accordion ha la classe di apertura di WordPress */
.wp-block-accordion-item.is-open .wp-block-accordion-panel {
    grid-template-rows: 1fr;
    opacity: 1;
    visibility: visible;
}

/* Applica la transizione al contenuto interno */
.wp-block-accordion-panel > * {
    overflow: hidden;
}

.card-type-video footer:before{
	content: "";
	width: 30px;
	height: 30px;
	background: url('img/icons/videoIcon.svg');
	position: absolute;
    top: -15px;
}

.card-type-gallery footer:before{
	content: "";
	width: 30px;
	height: 30px;
	background: url('img/icons/galleryIcon.svg');
	position: absolute;
    top: -15px;
}

 .classifica-template{
	background: #000;
 }

 table{
	margin-bottom: 0;
 }

.ic-classifica-risultato{
	padding: 60px;
}

.ic-classifica-risultato h2{
	margin: 0;
	font-family: "Circular Std";
	font-size: var(--XL, 36px);
	font-style: normal;
	font-weight: 900;
	line-height: normal;
	text-transform: uppercase;
	color: var(--BIANCO);
}

.ic-classifica-tabella{
	margin-top: 10px;
}

.ic-classifica-tabella-intestazione{
	padding: 15px 30px;
	border-radius: 15px;
	background: var(--ANTRACITE,#444);
	border-bottom: 1px solid var(--ANTRACITE,#444);

	color: var(--BIANCO, #FEFEFE);
	text-align: center;
	leading-trim: both;
	text-edge: cap;


	/* P */
	font-family: "Inter";
	font-size: var(--M, 18px);
	font-style: normal;
	font-weight: 400;
	line-height: 120%; 
	text-transform: uppercase;

	display: flex;

	justify-content: space-between
}

.ic-classifica-tabella-content{
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.ic-classifica-tabella-content .row-classifica{
	display: flex;	
}

.ic-classifica-tabella .pos-team{
	display: flex;
	flex-direction: row;
	gap: 15px;
    align-items: center;
}

.ic-classifica-tabella .stats{
	display: flex;
	flex-direction: row;
	gap: 30px;
    align-items: center;

	color: var(--BIANCO, #FEFEFE);
	text-align: center;
	leading-trim: both;
	text-edge: cap;


	/* P */
	font-family: Inter;
	font-size: var(--M, 18px);
	font-style: normal;
	font-weight: 400;
	line-height: 120%; 
}

.ic-classifica-tabella .stats div{
	min-width: 24px;
}

.row-classifica{
	display: flex;
	padding: 15px 30px;
	justify-content: space-between;

	border-radius: 60px;
	border-bottom: 2px solid var(--ANTRACITE, #444);
	background: var(--NERO, #010101);
	color: var(--BIANCO, #FEFEFE);
}

.row-classifica.imperia, .row-classifica.imperia-calcio {
	border-radius: 60px;
	border-bottom: 1px solid var(--ANTRACITE, #444);
	background: var(--IMPERIA-CALCIO, #1E4388);
}

.row-classifica .col-pos{
	text-align: center;
	leading-trim: both;
	text-edge: cap;


	/* P BOLD */
	font-family: "Circular Std";
	font-size: var(--M, 18px);
	font-style: normal;
	font-weight: 900;
	line-height: 120%; 

	margin-right: 15px;
}

.col-squadra{
	text-align: center;
	leading-trim: both;
	text-edge: cap;


	/* P BOLD */
	font-family: "Circular Std";
	font-size: var(--M, 18px);
	font-style: normal;
	font-weight: 900;
	line-height: 120%; 

	display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
}

.col-squadra img{
	width: 45px;
	height: 45px;
}

.ic-classifica-filtri{
	padding: 60px 60px 0 60px;
	display: flex;
	gap: 30px;
}

.classifica-template .filtro-gruppo{
	display: flex;
    height: 45px;
    padding: 10px 15px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 50px;
    border-bottom: 2px solid var(--bianco-50, rgba(254, 254, 254, 0.50));
}


.filtro-gruppo select{
	background: none;
    border: none;

	color: var(--BIANCO, #FEFEFE);

	/* Dettaglio */
	font-family: "Circular Std";
	font-size: var(--S, 16px);
	font-style: normal;
	font-weight: 900;
	line-height: 110%; /* 17.6px */
	text-transform: uppercase;
}

.filtro-gruppo select option{
	color: #000;
}



.post-video-container .video-wrapper iframe {
    opacity: 0;
    transition: opacity 0.5s ease;
}
.post-video-container .video-wrapper iframe.loaded {
    opacity: 1;
}


.single-partite .griglia-ultimi-articoli{
	padding-left: 60px;
	padding-right: 60px;
}


select:focus {
  outline: none;
  box-shadow: none; /* Alcuni browser o framework (es. Bootstrap) usano box-shadow */
}


#Storia h2{
	color: var(--BIANCO, #FEFEFE);
	leading-trim: both;
	text-edge: cap;


	/* H4 */
	font-family: "Circular Std";
	font-size: var(--L, 24px);
	font-style: normal;
	font-weight: 900;
	line-height: 110%; /* 26.4px */
	text-transform: uppercase;
	padding: 30px 0;
	margin: 0;
}


#Storia h1{
	overflow: hidden;
	color: var(--BIANCO, #FEFEFE);

	/* H1 + */
	font-family: "Circular Std";
	font-size: var(--4XL, 84px);
	font-style: normal;
	font-weight: 900;
	line-height: 110%; /* 92.4px */
	text-transform: uppercase;
	margin: 0;
	padding-top: 30px;
	padding-bottom: 30px;
}

#Storia p{
	margin: 0;
	padding: 30px 0;
}

#Storia .firstBlock{
	padding-top: 60px;
	padding-bottom: 60px;
}
#Storia .middleCover{
	position: relative;
}

#Storia .middleCover::after{
	content: "";
	width: 100%;
	height: 120px;
	background: linear-gradient(180deg, rgba(1, 1, 1, 0.00) 68.75%, #010101 100%);
	position: absolute;
	left: 0;
	bottom: 0;
}

#Storia .btn-carosello.prev{
	background: url(img/icons/arrow_l_w.svg);
	background-size: auto 17px;
    background-position: center;
    background-repeat: no-repeat;
    padding: 15px 10px;
}

#Storia .btn-carosello.next{
	background: url(img/icons/arrow_r_w.svg);
	background-size: auto 17px;
    background-position: center;
    background-repeat: no-repeat;
    padding: 15px 10px;
}

.type-partite header{
	margin-bottom: 60px;
}

/**
*	Mobile
*/
@media (max-width: 1024px) {
	
	#Storia figure.wp-block-gallery.has-nested-images{
		padding-left: 15px;
		padding-right: 15px;
	}

	#Storia .firstBlock{
		padding-top: 30px;
		padding-bottom: 30px;
	}

	#Storia h2, #Storia p{
		padding: 15px 0;
	}

	#Storia h1{
		font-size: 54px;
	}

	.site-header .header-sponsor .wp-block-columns .wp-block-column{
		flex-basis: fit-content !important;
		padding-top: 5px;
		padding-bottom: 5px;
	}

	.site-header .header-sponsor .wp-block-columns{
		flex-direction: row;
	}

	.menuContainer #site-navigation{
		padding-top: 15px;
		padding-bottom: 15px;
	}

	.site-branding .custom-logo{
		max-height: 45px;
	}

	.slider-news-btn, .slider-partite-btn{
		display: none;
	}

	.controlContainer {
		max-width: 100vw;
		overflow-x: scroll;
	}

	.pageSection.geometric{
		overflow-x: hidden;
	}

	.home-page-template .hero article .contentHero, .news-page-template .hero article .contentHero{
		padding: 30px;
	}

	.home-page-template .hero article .contentHero h2{
		font-size: var(--XL, 24px);
	}

	.home-page-template .hero article .post-thumbnail{
		height: 100%;
		width: auto;
	}

	.home-page-template .hero article .post-thumbnail img{
		max-width: none !important;
		max-height: 100% !important;
		width: auto;
		/* position: absolute;
  		left: 50%;
  		top: 50%;
		transform: translateX(-50%); */
	}

	.home-page-template .card-video-autoplay .post-video-container{
		transform: scale(2.5);
		width: 100%;
	}

	.home-page-template .hero article{
		display: flex;
		justify-content: center;
		height: calc(100vh - 175px) !important;
	}

	.pageSection.geometric{
		background-size: auto;
	}

	.itemRow{
		display: flex !important;
    	flex-direction: row;
    	justify-content: flex-start !important;
		overflow-x: scroll;
		padding-left: 40px;
		padding-right: 40px;
	}

	.itemRow .itemSquadra{
		/* height: 550px; */
		height: 500px;
	}

	/* Risultati */

	.type-partite header{
		padding: 30px;
	}

	.goals{
		overflow: scroll;
    	justify-content: flex-start;
	}

	.type-partite header .header-content .partita-header-top .serie{
		font-size: 14px;
	}

	.type-partite header .header-content .partita-header-top .partita-giorno{
		font-size: 24px;
	}

	.containerFormazioni{
		flex-direction: column;
		gap: 15px;
		padding-left: 15px;
		padding-right: 15px;
	}

	.containerFormazioni .formazione{
		width: unset;
		padding-left: 15px;
        padding-right: 15px;
	}

	.formazioneSquadra{
		font-size: 20px;
	}

	.schemaSquadra{
		font-size: 14px;
	}

	.formazioneDivider{
		margin-top: 30px;
		font-size: 14px;
	}

	.giocatoreFormazione .dettaglio{
		font-size: 16px;
	}

	.giocatoreFormazione .dettaglio span{
		font-size: 16px;
	}

	.giocatoreFormazione .ruolo{
		font-size: 16px;
	}

	.griglia-ultimi-articoli{
		padding-left: 15px !important;
		padding-right: 15px !important;
	}

	.archive-partite-grid{
		padding-left: 15px;
		padding-right: 15px;
	}

	.partita-card-inner{
		flex-direction: column;
	}

	.partita-card-inner .partita-card-details .partita-card-header{
		display: flex;
		flex-direction: row-reverse;
		gap: 5px;
		color: var(--BIANCO, #FEFEFE);
		font-family: "Circular Std";
		font-style: normal;
		font-weight: 900;
		text-transform: uppercase;
		justify-content: space-between;
		width: 100%;
	}

	.partita-card-inner .partita-card-details .partita-card-header .partita-giorno{
		font-size: 24px;
	}

	.partita-card-inner .partita-card-details .partita-card-header .serie{
		font-size: 14px;
	}

	.partita-card-inner .partita-card-details, .partita-card-inner{
		gap: 15px;
	}


	.partita-card-inner .partita-card-details{
		max-width: 100%;
	}

	.partita-card-inner .partita-card-details .partita-card-location{
		align-items: center;
		margin-left: auto;
		margin-right: auto;
	}

	.partita-card-inner .partita-card-details .partita-card-location{
		font-size: 14px;
	}

	.partita-card-inner .partita-card-squadre .squadra-nome, .partita-card-inner .partita-card-squadre .risultato-vs{
		font-size: 14px;
	}

	.partita-card-inner .partita-card-squadre{
		max-width: 285px;
		gap: 15px;
    	margin-left: auto;
    	margin-right: auto;
	}

	.partita-card-inner .partita-card-squadre .squadra{
		flex: 1;
	}

	.partita-card-inner .partita-card-azioni{
		margin-left: auto;
		margin-right: auto;
		width: fit-content;
	}

	.archive-partite-filtri{
		width: max-content;
		padding-left: 30px;
		padding-right: 30px;
	}

	.archive-partite-filtri-container{
		width: 100vw;
		overflow-x: scroll;
	}

	.archive-partite-header{
		padding: 30px;
		border-bottom-left-radius: 60px;
		border-bottom-right-radius: 60px;
	}

	.archive-partite-header h1{
		font-size: 45px;
		text-align: center;
	}

	.archive-partite-header h2{
		font-size: 18px;
	}

	.archive-partite-header h3{
		font-size: 18px;
	}

	.archive-partite-header{
		background-size: cover;
	}

	.page-template-template-risultati .archive-partite-filtri{
		width: 100vw;
		overflow-x: scroll;
	}

	.page-template-template-risultati  .archive-partite-filtri .archive-partite-gruppo-filtri{
		padding: 0;
		width: max-content;
	}

	.partita-giocata .squadra{
		position: absolute;
		top: 0;
	}

	.partita-giocata .partita-risultato{
		margin-left: auto;
		margin-right: auto;
		margin-top: 80px;
	}

	.partita-giocata .risultato{
		width:	285px;
		justify-content: center;
	}

	.partita-giocata .squadra img{
		height: 60px;
	}

	.partita-giocata .squadra.squadra-avversario{
		width: 50%;
		left: 50%;
	}

	
	.partita-giocata .squadra.squadra-imperia{
		width: 50%;
	}

	.partita-giocata .risultato .risultato-punti .squadra-nome{
		font-size: 14px;
	}

	.partita-giocata .risultato .risultato-punti .punti{
		font-size: 56px;
	}

	.partita-giocata .risultato .risultato-punti:first-child{
		padding-right: 7px;
	}
	
	.partita-giocata .risultato .risultato-punti:last-child{
		padding-left: 7px;
	}

	.partita-giocata .risultato .risultato-punti{
		max-width: unset;
	}



	.partita-header-content{
		position: relative;
		width: 100%;
	}

	.partita-header-content .squadra{
		position: absolute;
	}

	.partita-header-content .risultato{
		margin-top: 75px;
		width: 100%;
	}

	.partita-header-content .squadra{
		width: 50%;
	}

	.partita-header-content .squadra.squadra-avversario{
		margin-left: 50%;
	}

	.header-content.trasferta .squadra.squadra-avversario{
		margin-left: 0%;
        left: 0;
	}

	.partita-header-content .risultato .risultato-punti, .partita-header-content .risultato .risultato-punti{
		max-width: unset;
	}

	.partita-header-content .squadra img{
		height: 60px;
	}

	.ic-classifica-risultato{
		padding: 30px 15px;
        max-width: 100vw;
        overflow-x: scroll;
		position: relative;
	}

	.ic-classifica-tabella{
		width: max-content;
	}

	.ic-classifica-filtri{
		padding: 30px 15px 0 15px;
		display: flex;
		gap: 30px;
	}

	.ic-classifica-wrapper{
		position: relative;
	}

	.ic-classifica-wrapper::after{
		width: 90px;
		height: 100%;
		position: absolute;
		content: "";
		background: linear-gradient(90deg, rgba(1, 1, 1, 0.00) 0%, #010101 100%);
		top: 0;
        right: 0;
		pointer-events: none;
	}

	.news-page-template header.entry-header, .news-page-template .catContainer{
		padding-left: 15px;
		padding-right: 15px;
		padding-top: 30px;
		padding-bottom: 30px;
	}

	.news-page-template .catContainer{
		overflow-x: scroll;
	}

	.news-page-template .allNewsSection .postGrid, .category.archive .allNewsSection .postGrid{
		padding: 30px 15px;
	}

	.news-page-template .allNewsSection .postGrid .genericPost, .category.archive .allNewsSection .postGrid .genericPost{
		width: calc(100vw - 30px);
	}

	.news-page-template .hero{
		padding: 0;
	}

	.latestNewsSection{
		padding-top: 60px;
	}

	.latestNewsSection .griglia-ultimi-articoli, .videoSection .griglia-ultimi-articoli{
		padding-left: 0;
		padding-right: 0;
	}

	.slider-spacer{
		/* min-width: 15px; */
		min-width: 0; 
	}

	.news-page-template .hero-list{
		padding: 0;
	}

	.news-page-template .prevSide, .news-page-template .nextSide{
		background: none;
		bottom: -30px;
        height: fit-content;
        top: auto;
		padding: 0 15px;
	}

	.news-page-template .hero{
		overflow: visible;
	}	

	.news-page-template .hero article{
		border-radius: 0;
		max-width: 100vw;
	}

	.news-page-template .hero .hero-list{
		gap: 15px;
	}

	.news-page-template .hero .hero-list .post-thumbnail{
		height: 100%;
	}

	.news-page-template .hero .hero-list .post-thumbnail img{
		height: 100%;
    	width: auto;
		max-width: unset;
		left: 50%;
        transform: translateX(-50%);
        position: absolute;
	}

	.news-page-template .prevSide{
		left: auto;
		right: 90px;
	}

	.news-page-template .post-video-container iframe{
		transform: scale(3.1);
	}

	.news-page-template .hero article .contentHero h2{
		font-size: 20px;
	}

	.news-page-template .hero article .contentHero .txtHero .dataHero{
		font-size: 14px;
	}

	.single-post header.entry-header{
		padding: 15px;
	}

	.shareButton span{
		display: none;
	}

	.shareButton{
		aspect-ratio: 1;
        height: 58px;
        width: 58px;
        padding: 15px;
	}

	.single-post header.entry-header{
		position: relative;
		display: flex;
        flex-direction: column-reverse;
		gap: 0;
	}

	.single-post header.entry-header .headerContent{
		width: 100%;
	}

	.single-post header.entry-header .headerContent h1{
		font-size: 24px;
	}

	.single-post header.entry-header .headerButtons{
		display: flex;
		justify-content: flex-end;
	}

	.imgCoverContainer{
		border-bottom-left-radius: 45px;
    	border-bottom-right-radius: 45px;
	}

	.carosello-nav-buttons{
		width: auto;
		margin-left: 15px;
		margin-right: 15px;
	}

	.single-post .entry-content .postContainer p, .single-video .entry-content .postContainer p{
		padding-left: 15px;
		padding-right: 15px;
	}

	.single-post .entry-content .postContainer .wp-block-quote, .single-video .entry-content .postContainer .wp-block-quote{
		margin-left: 15px;
		margin-right: 15px;
	}

	.wp-block-gallery.galleria-carosello{
		padding-left: 0;
		padding-right: 0;
	}

	.single-post .entry-content .postContainer h2, .single-post .entry-content .postContainer .wp-block-list{
		padding-left: 15px;
		padding-right: 15px;
	}

	.single-post .entry-content .postContainer .wp-block-image .wp-element-caption{
		margin-left: 15px;
		margin-right: 15px;
	}

	/*Squadra*/

	.figurineRow{
		padding-left: 15px;
		padding-right: 15px;
		gap: 15px;
		display: flex !important;
		flex-direction: row;
	}

	.figurina{
		aspect-ratio: 300/450;
		width: calc(50vw - (45px / 2 ));
		margin-left: 0 !important;
		min-height: unset;
		height: auto;
	}

	.figurina .figurinaInfo{
		aspect-ratio: 300/450;
		width: calc(50vw - (45px / 2 ));
		height: auto;
	}

	.figurina img{
		height: auto !important;
	}

	.figurina .figurinaInfo .dettagliFigurina{
		padding: 15px 15px 15px 15px;
	}

	.figurina .figurinaInfo h3{
		font-size: 12px;
	}

	.figurina .figurinaInfo .dettagliFigurina .numero{
		font-size: 40px;
	}

	.figurina .figurinaInfo .dettagliFigurina .nome{
		font-size: 14px;
	}

	.figurina .figurinaInfo .dettagliFigurina .cognome{
		font-size: 24px;
	}

	.page-template-template-squadra .newsHeader{
		padding-left: 15px;
		padding-right: 15px;
	}

	.page-template-template-squadra header .headerContent h2{
		font-size: 18px;
	}

	.page-template-template-squadra header .headerContent h1{
		font-size: 45px;
	}

	.sponsorContainer .wp-block-group__inner-container{
		animation: scorrimentoSponsor 8s linear infinite alternate;
	}

	.page .pageHeader{
		border-bottom-left-radius: 45px;
    	border-bottom-right-radius: 45px;
		padding: 15px
	}

	.page .pageHeader p{
		font-size: 18px;
	}

	.page .pageHeader h2, .page .pageHeader h1{
		font-size: 45px;
	}

	.page .pageContent{
		padding-left: 15px;
		padding-right: 15px;
	}

	.page .pageContent .doubleContent{
		padding-top: 15px;
		padding-bottom: 15px;
		padding-left: 0;
		padding-right: 0;
		flex-direction: column;
		gap: 30px;
	}

	.page .pageContent .cardGroup{
		padding-left: 0;
		padding-right: 0;
		padding-top: 30px;
        padding-bottom: 30px;
	}

	.page .pageContent .fullContent{
		padding-left: 0;
		padding-right: 0;
		padding-top: 30px;
		padding-bottom: 30px;
	}

	.page .pageContent .wp-block-accordion .wp-block-accordion-item{
		padding: 15px;
	}

	.single-gallery header.entry-header, .single-video header.entry-header{
		padding: 15px;
		flex-direction: column-reverse;
		gap: 0;
	}

	.single-gallery header.entry-header .headerContent h1{
		font-size: 24px;
	}

	.single-gallery header.entry-header .headerButtons, .single-video header.entry-header .headerButtons{
		display: flex;
    	justify-content: flex-end;
	}

	.single-gallery .gallery-grid .grid-item-container, .single-gallery .gallery-grid .gallery-item{
		width: 100%;
		aspect-ratio: 354/199;
	}

	.single-video header.entry-header .headerContent .category{
		font-size: 12px;
	}

	.single-video header.entry-header .headerContent h1{
		font-size: 24px;
	}

	.single-video .videoCoverContainer{
		padding: 0;
		display: flex;
	}

	.single-video .videoCoverContainer iframe{
		border-radius: 0;
	}

	.single-video header.entry-header{
		padding-bottom: 30px;
	}

	.single-video .entry-content{
		padding: 0;
	}

	.single-video .entry-content .postContainer .wp-block-image .wp-element-caption{
		padding-left: 15px;
	}

	.single-video .entry-content .postContainer h2{
		padding-left: 15px;
		padding-right: 15px;		
	}

	.single-video .entry-content .postContainer .wp-block-list{
		padding-left: 15px;
        padding-right: 15px;
	}

	.single-partite .griglia-ultimi-articoli{
		padding-left: 15px !important;
		padding-right: 15px !important;
	}

	.footer-bottom-legals{
		padding-left: 15px;
		padding-right: 15px;
	}

	.filtri-partite{
		padding-bottom: 8px;
	}

	.itemSquadra h3 {
		font-size: 32px;
	}

	.pageSection h2::before, .type-partite h2::before, .squadra-template .postContainer h2::before {
		width: 30px;
	}

	.single-post .entry-content .postContainer p, .single-video .entry-content .postContainer p{
		padding-top: 15px;
		padding-bottom: 15px;
	}

	.single-post .entry-content{
		padding-top: 30px;
		padding-bottom: 30px;
	}

	.single-video .videoCoverContainer{
		padding-bottom: 30px;	
	}

	.home-page-template .hero{
		width: 100%;
		overflow-x: hidden;
		height: calc(100vh - 175px);
	}

	.home-page-template .hero article .contentHero{
		height: calc(100vh - 175px);
	} 

	
	.type-partite header{
		margin-bottom: 60px;
	}

}
