/*
Theme Name: Giornalisti Pugliesi 2026 • Template by Converpress
Theme URI: https://www.converpress.it/
Author: Converpress
Author URI: https://www.converpress.it/
Version: 1.0.2
Text Domain: giornalistipugliesi
*/

:root {
	--gp-size-content-width: 75rem;
	--gp-size-content-padding: 1.25rem;

	--gp-size-navbar-height: 2.25rem;
	--gp-size-categorybar-height: 1.25rem;

	--gp-size-ad-primary-width: 336px;
	--gp-size-ad-secondary-width: 200px;

	--gp-size-sticky-header-height: 4rem;

	--font-size-h1: 2.5rem;
	--font-size-h2: 2.125rem;
	--font-size-h2-smaller: 1.375rem;
	--font-size-h3: 1.5rem;
	--font-size-tagline: 1.5rem;
	--font-size-p: 1.25rem;
	--font-size-input: 0.875rem;
	--font-size-btn: 1rem;
	--font-size-navbar: 0.75rem;
	--font-size-small: 0.875rem;
	--font-size-extrasmall: 0.625rem;
	--font-size-large: var(--font-size-h2);
	--font-size-extralarge: 3.75rem;
	--font-size-category: 0.75rem;
}

::selection {
	background-color: var(--color-btn-1-bg);
	color: var(--color-btn-1-fg);
}

html, body {
	margin: 0;
	padding: 0;
	color: var(--color-fg);
	background-color: var(--color-bg);
	font-family: 'merriweather';
	font-size: 16px;
	font-weight: 300;
	line-height: 1.5;
	text-rendering: optimizeLegibility;
}

html {
	background-color: var(--color-bg);
}

p {
	margin-top: 0px;
	margin-bottom: 1rem;
	font-size: var(--font-size-p);
	font-weight: 350;
}

div {
	color: var(--color-fg);
}

ul, li {
	margin: 0;
	font-size: var(--font-size-p);
}

p + ul {
	margin-top: -1.5rem;
}

nav ul, nav li {
	line-height: inherit;
	margin: 0;
}

p:not(.tagline):last-child {
	margin-bottom: 0;
}

h1 {
	font-weight: 600;
	font-size: var(--font-size-h1);
	margin: 0;
	font-family: 'playfair-display';
}

h2 {
	font-weight: 600;
	font-size: var(--font-size-h2);
	margin-bottom: 2rem;
	margin-top: 0rem;
	line-height: 1.1;
	font-family: 'playfair-display';
}

h2.smaller-h2 {
	font-size: var(--font-size-h2-smaller);
}

h3 {
	font-weight: 600;
	font-size: var(--font-size-h3);
	margin-bottom: 1rem;
	font-family: 'playfair-display';
}

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

h3:first-child:last-child {
	margin-bottom: 0;
	margin-top: 1rem;
}

h2:first-child:last-child {
	margin-top: 0;
	margin-bottom: 0;
}

strong {
	font-weight: 700;
}

a {
	color: var(--color-fg);
	transition: 0.2s color;
}

article a {
	text-decoration: underline;
	transition: 0.2s color;
}

a:hover {
	text-decoration: underline;
	color: var(--color-btn-1-bg-hover);
}

[id] {
	scroll-margin-top: 2rem;
}

input[type=text] {
	background-color: transparent;
}

.textwidget p {
	margin-bottom: 0px;
}

.nowrap {
	white-space: nowrap;
}

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

.text-align-right {
	text-align: right;
}

.uppercase {
	text-transform: uppercase;
}

.condensed {}

.regular {
	font-weight: 400;
}

.gp-icon {
	width: fit-content;
}

.gp-icon-fontawesome {
	font-family: 'fontawesome';
}

.gp-icon-gp {
	font-family: 'gp-icons';
}

.gp-icon-insidecircle {
	background-color: var(--color-bg);
	color: var(--color-fg);
	padding: 0.125rem;
	height: 1.25rem;
	aspect-ratio: 1;
	border-radius: 2rem;
	text-align: center;
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.gp-size-content-width {
	max-width: var(--gp-size-content-width);
	width: 100%;
}

.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;
	width: 1px;
	word-wrap: normal !important;
}

.gp-visible-on-mobile {
	display: none !important;
}

.gp-visible-on-tablet {
	display: none !important;
}

.gp-verticalline {
	border-left: 1px solid var(--color-fg);
	margin: 0 0.5rem;
}

.gp-img-heightastext {
	height: 1em;
	vertical-align: middle;
}

/* #region Layout Root. This is the main part of the content, without the things that are outside */

#gp-layout-root {
	position: relative;
	background-color: var(--color-bg);
	max-width: var(--gp-size-content-width);
	width: 100%;
	padding: var(--gp-size-content-padding);
	margin-left: auto;
	margin-right: auto;
	z-index: 100;
	box-sizing: border-box;
}

/* #endregion */

/* #region Main Header */

#gp-header {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	margin-bottom: 1rem;
}

#gp-header #gp-header-logo {
	width: 100%;
	height: 10rem;
	box-sizing: border-box;
	display: flex;
	justify-content: space-between;
	flex-direction: row;
	align-items: center;
	justify-content: left;
}

#gp-header #gp-header-logo > img {
	height: 100%;
	width: 16rem;
	object-fit: contain;
	object-position: center;
	filter: var(--filter-logo);
}

.gp-bordertop {
	border-top: 1px solid var(--color-border-1);
}

.gp-borderbottom {
	border-bottom: 1px solid var(--color-border-1);
}

.gp-borderbottom + .gp-bordertop {
	border-top: 0px solid transparent;
}

#gp-header-main {
	justify-content: space-between;
	padding: 0rem 1rem;
	gap: var(--gp-size-content-padding);
}

.gp-header-manchette {
	width: 336px;
	max-width: 320px;
	height: 100px;
	max-height: 100px;
}

.gp-header-manchette-e {
	margin: 0;
	box-sizing: border-box;
}

.gp-header-manchette-o {
	margin: 0;
	box-sizing: border-box;
}

/* #endregion */

/* #region Sticky Header */

.gp-header-sticky {
	display: flex;
	background-color: var(--color-bg-overlay);
	backdrop-filter: blur(10px);
	height: var(--gp-size-sticky-header-height);
	z-index: 1100;
}

.gp-topbar {
	top: 0;
	position: fixed;
	width: 100%;
	height: fit-content;
	min-height: var(--gp-size-sticky-header-height);
}

.gp-topbar .gp-topbar-content {
	top: 0;
	left: 0;
	right: 0;
	display: grid;
	grid-template-areas: "a b d";
	grid-template-columns: min-content 1fr min-content;
}

.gp-topbar .gp-topbar-hamburger {
	grid-area: a;
}

.gp-topbar .gp-topbar-hamburger .gp-btn-hamburger {
	height: var(--gp-size-sticky-header-height);
	line-height: var(--gp-size-sticky-header-height);
	aspect-ratio: 1 / 1;
	text-align: center;
	cursor: pointer;
	transition: 0.2s background-color;
	font-size: 2rem;
}

.gp-topbar .gp-topbar-logo {
	grid-area: b;
	height: var(--gp-size-sticky-header-height);
	width: auto;
	filter: brightness(100);
	padding: 0.75rem;
	box-sizing: border-box;
}

.gp-topbar .gp-topbar-logo img {
	height: 100%;
}

.gp-topbar .gp-topbar-widgetn {
	display: none;
	grid-area: c;
	padding: 0.75rem;
	background-color: var(--color-bg);
}

.gp-topbar .gp-topbar-widgetn:not(:has(*)) {
	padding: 0;
}

.gp-topbar .gp-topbar-widgete {
	grid-area: d;
}

.gp-topbar .gp-btn-hamburger:hover {
	background-color: var(--color-btn-1-bg-hover);
}

.gp-datetime {
	font-size: 0.875rem;
	font-weight: 500;
}

/* #endregion */

/* #region Mobile Menu */

#gp-splitview {
	background-color: #00000001;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1000;
}

#gp-splitview-pane {
	display: flex;
	flex-direction: column;
	position: fixed;
	left: 0;
	top: 0;
	bottom: 0;
	width: 20rem;
	background-color: var(--color-bg-overlay);
	backdrop-filter: blur(10px);
	padding: 1rem;
	box-sizing: border-box;
	overflow-y: auto;
	overflow-x: hidden;
}

/* #endregion */

/* #region Social Menu  */

.gp-menu-social {
	list-style: none;
	width: 100%;
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: inherit;
	margin: 0;
	padding: 0.5rem;
	padding-left: 0rem;
	gap: 0.75rem;
	font-size: 1rem;
}

.gp-menu-social a {
	text-decoration: none;
}

/* #endregion */

/* #region Download app button  */

.gp-getapp a {
	font-weight: 500;
	line-height: 1;
	text-decoration: none;
}

/* #endregion */

/* #region Nav */

#gp-menu-primary {
	margin-bottom: 1rem;
	background: var(--color-bg);
}

#gp-menu-primary .gp-btn-hamburger {
	height: var(--gp-size-navbar-height);
	text-align: center;
}

.gp-nav ul, .gp-nav li {
	margin: 0;
	padding: 0;
	list-style: none;
}

.gp-nav li a {
	text-decoration: none;
}

.gp-nav-header-main {
	display: flex;
	flex: 1;
	width: 100%;
	font-size: 0.75rem;
	font-weight: 400;
	margin: 0 auto;
}

.gp-nav-header-main ul {
	margin: 0;
	padding: 0;
	gap: 1px;
	display: flex;
	flex-wrap: nowrap;
	justify-content: left;
	width: 100%;
}

.gp-nav-header-main ul li a {
	display: inline-flex;
	flex-direction: column;
	justify-content: center;
	position: relative;
	height: var(--gp-size-navbar-height);
	width: 100%;
	padding: 0rem 0.5rem;
	box-sizing: border-box;
	background-color: transparent;
	color: var(--color-fg);
	transition: background-color 0.2s, color 0.2s;
	font-weight: 400;
	font-size: 1.125rem;
	text-align: center;
}

.gp-nav-header-main ul li.current-menu-item > a,
.gp-nav-header-main ul li.current-menu-ancestor > a,
.gp-nav-header-main ul li.current-post-item > a,
.gp-nav-header-main ul li.current-post-ancestor > a,
.gp-nav-header-main ul li.current-post-parent > a,
.gp-nav-header-main ul li > a:hover {
	background-color: var(--color-btn-1-bg-hover);
	color: var(--color-btn-1-fg-hover);
}

.gp-nav-header-main ul li.current-menu-item > a:after,
.gp-nav-header-main ul li.current-menu-ancestor > a:after,
.gp-nav-header-main ul li.current-post-item > a:after,
.gp-nav-header-main ul li.current-post-ancestor > a:after,
.gp-nav-header-main ul li.current-post-parent > a:after {
	content: ' ';
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 0;
	height: 0;
	border-left: 0.375rem solid transparent;
	border-right: 0.375rem solid transparent;
	border-bottom: 0.375rem solid var(--color-btn-1-fg);
}

.gp-nav-full {

	padding: 0.5rem 0rem;
}

.gp-nav-full > ul::after {
	content: "";
	flex: auto;
	width: 100%;
}

.gp-nav-full > ul {
	display: grid;
	grid-template-columns: repeat(auto-fill, calc((var(--gp-size-content-width) - (2.5rem + 4rem)) / 5));
	grid-gap: 1rem;
	justify-content: space-between;
}

.gp-nav-full > ul.menu > li {
	display: flex;
	flex-wrap: wrap;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.25rem;
}

.gp-nav-full > ul.menu > li > a {
	font-weight: 500;
	position: relative;
}

.gp-nav-full > ul.menu > li > ul.sub-menu {
	display: flex;
	flex-wrap: wrap;
	flex-direction: column;
	font-weight: 400;
}

.gp-nav-full > ul.menu > li.current-menu-item > a,
.gp-nav-full > ul.menu > li.current-menu-ancestor > a,
.gp-nav-full > ul.menu > li.current-post-item > a,
.gp-nav-full > ul.menu > li.current-post-ancestor > a,
.gp-nav-full > ul.menu > li.current-post-parent > a {
	background-color: var(--color-btn-1-bg);
	color: var(--color-btn-1-fg-hover);
	padding: 0.125rem 0.75rem;
}

.gp-nav-full > ul.menu > li.current-menu-item > a:after,
.gp-nav-full > ul.menu > li.current-menu-ancestor > a:after,
.gp-nav-full > ul.menu > li.current-post-item > a:after,
.gp-nav-full > ul.menu > li.current-post-ancestor > a:after,
.gp-nav-full > ul.menu > li.current-post-parent > a:after {
	content: ' ';
	position: absolute;
	top: 50%;
	left: 0;
	transform: translateY(-50%);
	width: 0;
	height: 0;
	border-top: 0.375rem solid transparent;
	border-bottom: 0.375rem solid transparent;
	border-left: 0.375rem solid var(--color-btn-1-fg-hover);
}

.gp-nav-full > ul.menu > li > ul.sub-menu > li.current-menu-item > a,
.gp-nav-full > ul.menu > li > ul.sub-menu > li.current-menu-ancestor > a,
.gp-nav-full > ul.menu > li > ul.sub-menu > li.current-post-item > a,
.gp-nav-full > ul.menu > li > ul.sub-menu > li.current-post-ancestor > a,
.gp-nav-full > ul.menu > li > ul.sub-menu > li.current-post-parent > a {
	font-weight: 700;
}

/* #endregion */

/* #region Widget */

.gp-widget {
	width: 100%;
	background-color: var(--color-bg);
	color: var(--color-fg);
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	padding: 0.625rem;
}

.gp-topbar .gp-widget {
	background-color: transparent;
}

.gp-widget .image {
	width: 100%;
	max-width: 100%;
}

.gp-widget .gp-widget-header {
	display: inline-flex;
	flex-wrap: nowrap;

	line-height: var(--gp-size-categorybar-height);
	height: var(--gp-size-categorybar-height);
	width: fit-content;
	padding: 0.5rem 1rem;
	margin-bottom: 0.625rem;
	left: -0.625rem;
	position: relative;

	text-align: left;
	text-transform: uppercase;
	font-weight: 600;

	background-color: var(--color-btn-1-bg);
	color: var(--color-btn-1-fg);
}

.gp-widget-title {
	background-color: var(--color-btn-1-bg);
	color: var(--color-btn-1-fg);
	padding: 0rem 0.75rem;
}

.gp-widget:not([class*="cp-theme-"]) {
	padding: 0rem;
}

.gp-widget:not([class*="cp-theme-"]) .gp-widget-header {
	left: -0rem;
	margin-bottom: 0.5rem;
}

.gp-widget img {
	display: block;
	max-width: 100%;
}

/* #endregion */

/* #region Layout */

.gp-layout-content {
	display: flex;
	flex-direction: column;
	flex: 1;
	gap: 1.25rem;
}

.gp-layout-section {
	display: flex;
	flex-direction: row;
	gap: 1.25rem;
}

.gp-layout-section.gp-layout-lessgap,
.gp-layout-content.gp-layout-lessgap {
	gap: 0.25rem;
}

.gp-layout-sidebar {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

.gp-layout-sidebar:empty {
	display: none;
}

.gp-layout-content-aside {
	gap: 1.25rem;
}

.gp-layout-content-aside-primary {
	width: var(--gp-size-ad-primary-width);
	max-width: var(--gp-size-ad-primary-width);
}

.gp-layout-content-aside-secondary {
	width: var(--gp-size-ad-secondary-width);
	max-width: var(--gp-size-ad-secondary-width);
}

.gp-layout-content-aside-article {
	width: 3.5rem;
	max-width: 3.5rem;
	border-right: 1px solid black;
	margin-right: 0.75rem;
	margin-left: -0.375rem;
	position: sticky;
	top: calc(var(--gp-size-sticky-header-height) + 1rem);
	align-self: flex-start;
}

/* #endregion */

/* #region Featured image */

.gp-featuredimage {
	aspect-ratio: 16/9;
	width: 100%;
	object-position: center;
	object-fit: cover;
	overflow: hidden;
}

.gp-featuredimage img {
	width: 100%;
	height: 100%;
	object-position: center;
	object-fit: cover;
}

/* #endregion */

/* #region Copyright Disclaimer */

.gp-copyrightdisclaimer {
	font-size: var(--font-size-small);
	border-top: 1px solid black;
	border-bottom: 1px solid black;
	opacity: 0.8;
	padding: 0.5rem 0rem;
	margin-top: 1rem;
}

/* #endregion */

/* #region Article Card */

.gp-article-card {
	width: 100%;
	gap: 0.25rem;
	position: relative;
	word-break: break-word;
}

.gp-article-card .gp-article-card-title-area {
	margin: 0.5rem 0rem;
	margin-top: 0;
}

.gp-article-card h2 {
	margin-bottom: 0px;
}

.gp-article-card .gp-article-summary {
	font-size: 1.25rem;
}

.gp-article-card-excerpt {
	margin-bottom: 0;
}

.gp-article-card a {
	text-decoration: none;
}

.gp-article-card-small h2 {
	font-size: var(--font-size-h2-smaller);
}

.gp-article-card-small .gp-article-card-excerpt {
	font-size: 1rem;
	line-height: 1.4;
}

.gp-article-card-readmore {
	color: var(--color-accent-1-alt);
	font-weight: 300;
	font-style: italic;
	font-size: 0.875rem;
}

.gp-article-card-readmore::before {
	content: " ";
	display: inline;
}

/* #endregion */

/* #region Article Header */

.gp-article-header {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	justify-content: stretch;
	gap: 0.25rem;
	width: 100%;
}

.gp-article-title {
	margin-bottom: 0;
}

.gp-article-summary {
	font-size: var(--font-size-h3);
	font-weight: 500;
	margin-bottom: 1rem;
}

main h1 {
	/* margin-top: 1rem; */
	margin-bottom: 1rem;
	line-height: 1;
}

/* #endregion */

/* #region Category */

.gp-category-bar {

	display: flex;
	flex-wrap: wrap;
	flex-direction: row;
	align-items: stretch;
	justify-content: stretch;
	border-bottom: 1px solid var(--color-border-2);
	font-size: 0.75rem;
	text-transform: uppercase;
	font-weight: 400;
	gap: 0.25rem;
}

.gp-category-path {
	display: flex;
	flex-direction: row-reverse;
	flex-wrap: nowrap;
}

.gp-category-path::after {
	content: '';
	background-color: var(--color-fg);
	height: var(--gp-size-categorybar-height);
	aspect-ratio: 1 / 1;
	flex: 0 0 auto;
}

.gp-category {
	padding: 0rem 0.75rem;
	height: var(--gp-size-categorybar-height);
	line-height: var(--gp-size-categorybar-height);
	box-sizing: border-box;
	display: inline-block;
	background: var(--color-btn-1-bg);
	color: var(--color-btn-1-fg);
	font-size: var(--font-size-category);
	font-weight: 500;
}

.gp-category-secondary {
	background: var(--color-btn-2-bg);
	color: var(--color-btn-2-fg);
}

/* #endregion */

/* #region Article */

.gp-article {
	word-break: break-word;
}

.gp-article ul {
	margin-top: 0px;
	margin-bottom: 1rem;
}

.gp-article li {
	font-weight: 350;
}

/* #endregion */

/* #region Article Info */

.gp-article-info {
	font-size: 0.75rem;
	margin-bottom: 0.25rem;
}

.gp-article-info-lastupdate {
	font-size: 1rem;
	display: inline-flex;
	flex-wrap: wrap;
	opacity: 0.8;
	column-gap: 0.5rem;
}

.gp-article-info-lastupdatedate,
.gp-article-info-lastupdatetime,
.gp-article-info-author {
	white-space: nowrap;
}


/* #endregion */

/* #region Sidebar Ad Frame */

#gp-sidebar-frame {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	width: 100%;
	height: 100%;
}

#gp-sidebar-frame img {
	width: 1920px;
	height: auto;
	object-position: center top;
	position: absolute;
	left: 50%;
	top: 0;
	transform: translateX(-50%);
}

.gp-sidebar-footer-top {
	padding: 1.25rem;
	border: 0px;
	border-top: 1px solid black;
	background: var(--color-bg);
}

.gp-sidebar-footer-top:not(:has(*)) {
	display: none;
}

.gp-sidebar-footer-top .gp-widget {
	width: fit-content;
	margin: auto;
}

.gp-sidebar-header-under-menu {
	border: 1px solid black;
	border-top: 0px;
	background: var(--color-bg);
	box-sizing: border-box;
	margin-top: -1rem;
	margin-bottom: 1rem;
}

.gp-sidebar-header-under-menu:not(:has(*)) {
	display: none;
}

.gp-sidebar-articlelist-between {
	box-sizing: border-box;
}

/* #endregion */

/* #region Tag speciali */

.gp-tag-live {
	text-transform: uppercase;
	background-color: var(--color-btn-1-bg);
	color: var(--color-btn-1-fg);
	width: fit-content;
	font-weight: 700;
	padding: 0rem 1rem;
	padding-left: 1.5rem;
	padding-right: 0.5rem;
	overflow: hidden;
	white-space: nowrap;
	position: relative;
	margin-bottom: 0.25rem;
}

.gp-tag-live::before {
	content: '';
	display: block;
	height: calc(100% - 1rem);
	aspect-ratio: 1;
	background: var(--color-btn-1-fg);
	position: absolute;
	left: 0;
	margin: 0.5rem;
	border-radius: 100%;
	animation-name: fax-animation-live-pulse;
	animation-duration: 2s;
	animation-iteration-count: infinite;
}

@keyframes fax-animation-live-pulse {
	0% {
		box-shadow: 0px 0px 0px 0px #ffffff88;
	}

	100% {
		box-shadow: 0px 0px 0px 50px #ffffff00;
	}
}

/* #endregion */


/* #region Button */

.gp-btn {
	background-color: var(--color-btn-1-bg);
	color: var(--color-btn-1-fg);
	cursor: pointer;
	transition: 0.2s background-color, 0.2s color;
	padding: 0.125rem 0.5rem;
	font-size: 1rem;
	font-weight: 500;
	box-sizing: border-box;
}

.gp-btn:hover,
.gp-btn.gp-btn-icon:hover {
	background-color: var(--color-btn-1-bg-hover);
	color: var(--color-btn-1-fg-hover);
}

.gp-btn.gp-btn-secondary {
	background-color: var(--color-btn-2-bg);
	color: var(--color-btn-2-fg);
}

.gp-btn.gp-btn-secondary:hover {
	background-color: var(--color-btn-2-bg-hover);
	color: var(--color-btn-2-fg-hover);
}

.gp-btn.gp-btn-link,
.gp-btn.gp-btn-icon {
	background-color: transparent;
	color: var(--color-fg);
}

.gp-btn.gp-btn-link:hover {
	background-color: transparent;
	color: var(--color-btn-1-bg-hover);
}

.gp-btn.gp-btn-secondary.gp-btn-link:hover {
	background-color: transparent;
	color: var(--color-btn-1-bg-hover);
}

.gp-btn.gp-btn-decorated {
	color: var(--color-btn-1-bg);
}

.gp-btn.gp-btn-decorated::before {
	background-color: var(--color-fg);
}

.gp-btn-disabled {
	pointer-events: none;
	opacity: 0.4;
	cursor: default;
}

.gp-btn-bg-transparent {
	background-color: transparent;
}

.gp-btn-fg-transparent {
	color: var(--color-fg);
}

.gp-btn-square {
	aspect-ratio: 1;
	display: inline-flex;
	justify-content: center;
	align-items: center;
}

.gp-btn.gp-icon {
	padding: 0.5rem;
	aspect-ratio: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.gp-btn-hamburger {
	font-family: 'gp-icons';
	font-size: 1.5rem;
	width: 3rem;
	height: 3rem;
	font-weight: 100;
}

/* #endregion */

/* #region Footer */

footer {
	display: block;
	min-height: 10rem;
	padding-bottom: 5rem;
	padding-top: 2rem;
	width: 100%;
	box-sizing: border-box;
	clear: both;
}

footer .gp-logo {
	height: 2rem;
	margin: auto;
	margin-bottom: 0.5rem;
}

#gp-header-footer {
	border-top: 1px solid var(--color-border-1);
	border-bottom: 1px solid var(--color-border-1);
	padding: 1rem 0rem;
}

.gp-footer-company {
	padding-top: 1rem;
	text-align: center;
}

/* #endregion */

/* #region Fax Flex */

.gp-flex {
	display: flex;
}

.gp-flex-directioncolumn {
	flex-direction: column;
}

.gp-flex-wrap {
	flex-wrap: wrap;
}

.gp-flex-item-takespace {
	flex: 1;
}

.gp-flex-justify-center {
	justify-content: center;
}

.gp-flex-justify-right {
	justify-content: right;
}

.gp-flex-rowalign-center {
	align-items: center;
}

.gp-flex-rowalign-right {
	align-items: right;
}

/* #endregion */

/* #region Search form */

.gp-search {
	display: flex;
	flex-direction: row;
	width: 100%;
	align-items: center;
	gap: 0.25rem;
}

.gp-search input[type=text] {
	border: none;
	font-size: 0.75rem;
	padding: 0 0.25rem;
}

.gp-search input[type=text]::placeholder {

	opacity: 0.6;
}

/* #endregion */

/* #region Contact form */

input:not([type=button]), textarea, select {
	border: 1px solid var(--color-border-2);
	width: 100%;
	font-size: var(--font-size-input);
	padding: 0.5rem;
	font-family: 'playfair-display';
	box-sizing: border-box;
}

input:not([type=button] [type=checkbox]), select {
	height: 2.5rem;
}

input[type=submit]:disabled {
	opacity: 0.4;
}

input[type=submit] {
	padding: 0.5rem 2rem;
	background-color: var(--color-btn-1-bg);
	color: var(--color-btn-1-fg);

	border: none;
	cursor: pointer;
}

.wpcf7-checkbox label {
	display: flex;
	flex-direction: row;
	align-items: center;
	font-size: var(--font-size-small);
}

.wpcf7-checkbox input[type=checkbox],
.wpcf7-acceptance input[type=checkbox] {
	flex: 0;
	margin: 0px;
	zoom: 1.5;
}

.wpcf7-acceptance label {
	display: inline-flex;
	align-items: center;
}

.wpcf7-checkbox .wpcf7-list-item-label,
.wpcf7-acceptance .wpcf7-list-item-label {
	flex: 1;
	margin-left: 0.75rem;
	margin-right: 0.75rem;
}

.wpcf7-spinner {
	position: absolute;
	margin: 0;
	margin-top: 0.5rem;
	right: 0;
}

.wpcf7-list-item {
	margin-left: 0rem;
}

/* #endregion */

/* #region Pagination */

.nav-links {
	text-align: center;
	font-size: 1rem;
	display: flex;
	justify-content: left;
	gap: 0.25rem;
}

.nav-links .prev,
.nav-links .next,
.nav-links .page-numbers {
	min-width: 1rem;
	height: 2rem;
	aspect-ratio: 1;
	line-height: 2rem;
	display: inline-block;
	padding: 0rem 0.25rem;
	transition: 0.2s background-color, 0.2s color;
	box-sizing: border-box;
}

.nav-links a {
	text-decoration: none;
}

.nav-links .prev,
.nav-links .next {
	font-family: 'gp-icons';
}

.nav-links .page-numbers:not(.current, .dots):hover {
	background-color: var(--color-btn-1-fg);
	color: var(--color-btn-1-bg);
}

.nav-links .current {
	background-color: var(--color-btn-1-bg);
	color: var(--color-btn-1-fg);
}

.nav-links .dots {
	cursor: default;
}

/* #endregion */

/* #region Supporto Query Wrangler */

.gp-article .query-unformatted {
	margin-top: 2rem;
}

.query-unformatted {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.query-pager.pager-numbers {
	display: flex;
	justify-content: left;
	gap: 0.25rem;
	font-size: 1rem;
	text-align: center;
}

.query-pager.pager-numbers .page-numbers,
.query-pager.pager-numbers .next,
.query-pager.pager-numbers .prev {
	min-width: 1rem;
	height: 2rem;
	line-height: 2rem;
	display: inline-block;
	padding: 0 0.25rem;
	text-decoration: none;
	color: inherit;
	position: relative;
}

.query-pager.pager-numbers .prev,
.query-pager.pager-numbers .next {
	color: transparent;
	text-indent: -9999px;
	overflow: hidden;
	white-space: nowrap;
}

.query-pager.pager-numbers .prev::before {
	content: "◁";
	font-family: 'gp-icons';
	color: var(--color-fg);
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	text-indent: 0;
	transition: 0.2s background-color, 0.2s color;
}

.query-pager.pager-numbers .next::after {
	content: "▷";
	font-family: 'gp-icons';
	color: var(--color-fg);
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	text-indent: 0;
	transition: 0.2s background-color, 0.2s color;
}

.query-pager.pager-numbers .page-numbers:not(.current):not(.dots):hover,
.query-pager.pager-numbers .next:hover::after,
.query-pager.pager-numbers .prev:hover::before {
	background-color: var(--color-btn-1-bg);
	color: var(--color-btn-1-fg);
	cursor: pointer;
}

.query-pager.pager-numbers .current {
	background-color: var(--color-btn-1-bg);
	color: var(--color-btn-1-fg);
	pointer-events: none;
	cursor: default;
}

.query-pager.pager-numbers .dots {
	cursor: default;
}

/* #endregion */

/* #region iFrame e embed vari */

iframe {
	width: 100%;
	aspect-ratio: 16 / 9;
	border: 0px solid transparent;
}

.wp-video {
	margin: auto;
}

/* #endregion */

/* #region Tratto nella pagina App */

.gp-page-app-stroke {
	position: relative;
}

.gp-page-app-stroke:after {
	position: absolute;
	bottom: -0.6rem;
	left: -0.9rem;
	width: 6.7rem;
	height: 0.7rem;
	background-image: url(./assets/images/page-app/stroke.svg);
	content: ' ';
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
	pointer-events: none;
}

/* #endregion */

/* #region ReCaptcha */

.grecaptcha-badge {
	visibility: collapse;
}

/* #endregion */

/* #region Integration with the Latest Posts Widget by Converpress */

.article .widget_cp_latest_posts_widget {
	margin: auto -1rem;
}

/* #endregion */

/* #region Shortcode cp-inline-icon */

.cp-inline-icon {
	font-family: 'converpress-glyphs-iag';
	font-style: normal;
}

/* #endregion */

/* #region Spinner */

.gp-spinner {
	aspect-ratio: 1;
	border-radius: 50%;
	position: relative;
	box-sizing: border-box;
	overflow: hidden;
	mask-image: radial-gradient(circle, rgba(0, 0, 0, 0) 60%, black 60%);
	animation: fax-animation-spinner-outer 0.75s linear 0s infinite normal, fax-animation-spinner-inner 3s ease-in-out 0s infinite normal;
	background: conic-gradient(var(--color-fg) 0deg var(--gp-spinner-angle), transparent var(--gp-spinner-angle) 360deg);
}

@property --gp-spinner-angle {
	syntax: "<angle>";
	inherits: false;
	initial-value: 45deg;
}

@keyframes fax-animation-spinner-inner {
	0% {
		--gp-spinner-angle: 45deg;
	}

	35% {
		--gp-spinner-angle: 270deg;
	}

	100% {
		--gp-spinner-angle: 45deg;
	}
}

@keyframes fax-animation-spinner-outer {
	from {
		transform: rotate(360deg);
	}

	to {
		transform: rotate(0deg);
	}
}

/* #endregion */

/* #region AdRotate [Sperimentale] */

.gp-widget.adrotate_widgets .g {
	width: var(--gp-size-ad-primary-width);
}

.gp-widget.adrotate_widgets,
.gp-widget.widget_cp-dynamic-adrotate .a-single,
.gp-widget.widget_cp-dynamic-adrotate .g {
	gap: 1.25rem;
	flex-direction: row;
	justify-content: center;
	flex-wrap: wrap;
	position: relative;
	display: flex;
	overflow: visible;
}

.gp-widget.widget_cp-dynamic-adrotate .g .g-col {
	position: relative;
}

.gp-widget.adrotate_widgets:before,
.gp-widget.widget_cp-dynamic-adrotate .a-single:before,
.gp-widget.widget_cp-dynamic-adrotate .g .g-col:before {
	content: 'Adv';
	font-size: 0.75rem;
	opacity: 0.75;
	position: absolute;
	top: -0.75rem;
	width: 100%;
	text-align: center;
	line-height: 1;
}

/* #endregion */

/* #region Fax Video */

.gp-mediaplayer {
	position: relative;
	overflow: hidden;
}

.gp-mediaplayer .gp-mediaplayer-video {
	width: 100%;
	height: 100%;
}

.gp-mediaplayer .gp-mediaplayer-controls {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	gap: 0rem;
	padding: 0.5rem;
	box-sizing: border-box;
	background: linear-gradient(to bottom, #00000000 10%, #00000088 100%);
	text-shadow: 0px 4px 10px #00000033;
}

.gp-mediaplayer .gp-mediaplayer-controls .gp-mediaplayer-volume {
	width: 4rem;
}

.gp-mediaplayer .gp-mediaplayer-controls .gp-mediaplayer-controls-progressbar {
	margin-top: 0rem;
	position: relative;
}

.gp-slider {
	width: 100%;
	padding: 0.5rem 0rem;
	margin: 0rem 0.5rem;
	position: relative;
	height: 0.25rem;
}

.gp-slider::after {
	content: '';
	background-color: #FFFFFF33;
	position: absolute;
	left: 0rem;
	right: 0rem;
	height: 0.25rem;
	box-sizing: border-box;
}

.gp-slider .gp-slider-fill {
	background-color: var(--color-accent-1-alt);
	position: absolute;
	left: 0;
	height: 0.25rem;
	pointer-events: none;
}

.gp-slider .gp-slider-fill:after {
	content: ' ';
	position: absolute;
	width: 0.5rem;
	height: 0.5rem;
	background-color: var(--color-accent-1-alt);
	opacity: 0.8;
	right: 0;
	border-radius: 100%;
	transform-origin: center;
	transform: translateX(50%) translateY(-25%);
}

.gp-mediaplayer-controls-volume {
	width: 3rem;
}

.gp-mediaplayer .gp-mediaplayer-poster {
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	right: 0;
	background-color: var(--color-bg-overlay);
	cursor: pointer;
	z-index: 40;
}

.gp-mediaplayer .gp-mediaplayer-poster img {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.gp-mediaplayer .gp-mediaplayer-intro {
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	right: 0;
	cursor: pointer;
	z-index: 50;
	pointer-events: none;
}

.gp-mediaplayer .gp-mediaplayer-intro .gp-mediaplayer-intro-play {
	position: absolute;
	width: calc(100% - 1rem);
	bottom: 0;
	background-color: var(--color-btn-1-bg);
	color: var(--color-btn-1-fg);
	margin: 0.5rem;
	padding: 0.25rem 0.5rem;
	box-sizing: border-box;
	font-weight: 400;
	font-size: 1rem;
}

.gp-mediaplayer .gp-mediaplayer-intro .gp-mediaplayer-intro-play .gp-icon {
	font-size: 0.875rem;
}

.gp-mediaplayer .gp-mediaplayer-intro .gp-mediaplayer-intro-loading {
	width: 10%;
	aspect-ratio: 1;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.gp-mediaplayer .gp-mediaplayer-controls .gp-mediaplayer-playelapsedtime,
.gp-mediaplayer .gp-mediaplayer-controls .gp-mediaplayer-playduration {
	font-size: 0.875rem;
}

.gp-mediaplayer .gp-mediaplayer-controls .gp-mediaplayer-playduration {
	margin-right: 0.5rem;
}

/* #endregion */

/* #region Ad-specific CSS */

.gp-sidebar-header-under-menu .gp-widget,
.gp-sidebar-articlelist-between .gp-widget,
.gp-sidebar-article-before .gp-widget {
	padding: 1.25rem;
	justify-content: center;
	align-items: center;
}

/* #endregion */

/* #region Fax Popup */

#gp-popup-modal-main {
	position: fixed;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	z-index: 2000;
	background-color: var(--color-bg-overlay);
	overflow: hidden;
	backdrop-filter: blur(10px);
}

#gp-popup-overlay-main {
	position: fixed;
	right: 0;
	bottom: 1rem;
	width: var(--gp-size-ad-primary-width);
	aspect-ratio: 16 / 9;
	z-index: 1900;
	padding: 1.25rem;
	background: var(--color-bg-overlay);
	backdrop-filter: blur(10px);
	max-height: 33vh;
}

.gp-popup {
	box-sizing: border-box;
}

.gp-popup.gp-popup-modal .gp-popup-content {
	background: transparent;
	position: absolute;
	inset: 0;
	margin: auto;
	max-width: min(calc(100vw - 8rem), 87.5rem);
	max-height: min(calc(100vh - 8rem), calc(87.5rem / 16 * 9));
	aspect-ratio: 16 / 9;
}

.gp-popup .gp-popup-close {
	position: absolute;
	left: calc(100% - 2rem);
	top: -2rem;
	width: 2rem;
	height: 2rem;
	font-size: 0.75rem;
	background: transparent;
	cursor: pointer;
	color: var(--color-btn-1-fg);
	background: var(--color-btn-1-bg);
}

.gp-popup .gp-popup-close::before {
	content: '❌';
	display: inline-flex;
	align-items: center;
	justify-content: center;
	position: absolute;
	width: 100%;
	height: 100%;
}

/* #endregion */

/* #region App page */

.page-id-34173 article {
	text-align: center;
	color: #444;
	font-size: 1.125rem;
	margin: auto;
	font-weight: 100;
	max-width: 65rem;
}

.page-id-34173 .gp-page-app-grid-111 {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
}

/* #endregion */

/* #region Widget Recent Entries */


.widget_recent_entries ul,
.widget_links ul,
.widget_pages ul {
	margin: 0;
	padding-left: 1.5rem;
	list-style-type: square;
}

.widget_recent_entries ul li a,
.widget_links ul li a,
.widget_pages ul li a {
	text-decoration: none;
}

/* #endregion */

/**/