/*
 * Giocoresponsabile — main stylesheet.
 * Values come from the live Elementor site (kit 142 + homepage 195) so pages look the same without Elementor.
 * Breakpoints follow Elementor: tablet ≤ 1024px, mobile ≤ 767px.
 *
 *  1. Base
 *  2. Header (e-mail bar, logo, menu, contact)
 *  3. Press bar
 *  4. Footer
 *  5. Converted Elementor content (.gr-builder)
 *  6. Article layout (.pm-*) and "Page with Banner" (.page-*)
 *  7. Components: byline, button format, table of contents, archive cards
 *  8. Plugin content tweaks (from Customizer CSS)
 */

/* ==========================================================================
   1. Base
   ========================================================================== */

:root {
	--gr-blue: #0189bb;
	--gr-pink: #ea5064;
	--gr-red: #d73502;
	--gr-dark: #080a14;
	--gr-heading: #222222;
	--gr-text: #323335;
	--gr-link: #0566ff;
	--gr-link-hover: #e8485b;
	--gr-gutter: 10px;
	--gr-icon-color: #6ec1e4;
}

body {
	color: var(--gr-text);
	background: #fff;
}

a {
	color: var(--gr-link);
}

a:hover,
a:active {
	color: var(--gr-link-hover);
}

/* Kit typography */
p {
	margin-block: 0 2px;
}

h1,
h2,
h3,
h5 {
	color: #000;
}

h4 {
	color: #000;
}

h6 {
	color: #3f3f3f;
}

h1 {
	font-family: Roboto, sans-serif;
	font-size: 30px;
	font-weight: 600;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link:focus {
	position: fixed !important;
	top: 8px;
	left: 8px;
	z-index: 100000;
	width: auto;
	height: auto;
	padding: 12px 20px;
	clip: auto;
	color: #fff;
	background: var(--gr-dark);
}

@media (max-width: 1024px) {
	p {
		margin-block-end: 25px;
	}
}

/*
 * Kit styles. Elementor printed these as ".elementor-kit-142 …" on every page, so they outranked
 * plain element rules inside page content (quizzes, calculators, HTML blocks). Same specificity here.
 */
.gr-kit {
	color: var(--gr-text);
	background-color: #fff;
}

.gr-kit a {
	color: var(--gr-link);
}

.gr-kit a:hover {
	color: var(--gr-link-hover);
}

.gr-kit p {
	margin-block-end: 2px;
}

.gr-kit h1 {
	color: #000;
	font-family: Roboto, sans-serif;
	font-size: 30px;
	font-weight: 600;
}

.gr-kit :is(h2, h3, h5) {
	color: #000;
}

.gr-kit h6 {
	color: #3f3f3f;
}

.gr-kit button:where(:not(.site-nav__toggle, .site-nav__sub-toggle, .footer-toggle)),
.gr-kit input[type="button"],
.gr-kit input[type="submit"] {
	padding: 29px 54px;
	color: #fff;
	font-family: "Nunito Sans", sans-serif;
	font-size: 0.813em;
	font-weight: 800;
	line-height: 1em;
	letter-spacing: 3.9px;
	text-transform: uppercase;
	background-color: #30a5f1;
	border: 0 solid;
	border-radius: 0;
}

.gr-kit button:where(:not(.site-nav__toggle, .site-nav__sub-toggle, .footer-toggle)):is(:hover, :focus),
.gr-kit input[type="button"]:is(:hover, :focus),
.gr-kit input[type="submit"]:is(:hover, :focus) {
	color: #fff;
	background-color: #fc6d00;
}

.gr-kit label {
	color: #000;
	font-family: "Nunito Sans", sans-serif;
	font-size: 1.125em;
	font-weight: 400;
	line-height: 1em;
	letter-spacing: 0;
	text-transform: none;
}

.gr-kit input:not([type="button"]):not([type="submit"]),
.gr-kit textarea {
	color: #9f9f9f;
	font-family: "Nunito Sans", sans-serif;
	font-size: 1.125em;
	font-weight: 400;
	line-height: 1em;
	letter-spacing: 0;
	text-transform: capitalize;
	background-color: #fff;
	border-radius: 0;
	transition: 0.3ms;
}

.gr-kit input:focus:not([type="button"]):not([type="submit"]),
.gr-kit textarea:focus {
	color: #000;
}

@media (max-width: 1024px) {
	.gr-kit p {
		margin-block-end: 25px;
	}

	.gr-kit button:where(:not(.site-nav__toggle, .site-nav__sub-toggle, .footer-toggle)),
	.gr-kit input[type="button"],
	.gr-kit input[type="submit"] {
		padding: 23px 42px;
	}
}

@media (max-width: 767px) {
	.gr-kit button:where(:not(.site-nav__toggle, .site-nav__sub-toggle, .footer-toggle)),
	.gr-kit input[type="button"],
	.gr-kit input[type="submit"] {
		padding: 20px 30px;
	}
}

/* ==========================================================================
   2. Header
   ========================================================================== */

.site-header {
	position: relative;
	z-index: 50;
	background: #fff;
}

/* E-mail bar */
.site-topbar {
	position: relative;
	z-index: 2;
	background: var(--gr-blue);
	border-bottom: 1px solid rgba(221, 221, 221, 0.26);
}

.site-topbar__in {
	display: flex;
	justify-content: center;
	max-width: 1170px;
	margin: 0 auto;
	padding: 10px;
}

.site-topbar .site-topbar__mail,
.site-topbar .site-topbar__mail:hover {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	color: #fff;
	line-height: 24px;
}

.site-topbar__icon {
	display: inline-flex;
	width: 14px;
	height: 14px;
}

.site-topbar__icon svg {
	width: 100%;
	height: 100%;
	fill: currentColor;
}

/* Logo + menu + contact */
.site-masthead__in {
	display: flex;
	align-items: center;
	max-width: 1225px;
	margin: 0 auto;
}

.site-logo {
	flex: 0 0 22.902%;
	padding: 10px;
	line-height: 0;
}

.site-logo__img {
	display: block;
	width: 190px;
	max-width: 100%;
	height: auto;
}

.site-nav {
	flex: 0 0 68.638%;
	min-width: 0;
}

.site-header .site-contact {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	gap: 16px;
	margin-left: 10px;
	padding: 10px;
	color: var(--gr-heading);
	font-family: Manrope, sans-serif;
	text-decoration: none;
}

.site-contact__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	padding: 9px;
	color: #fff;
	background: var(--gr-pink);
	transition: background 0.3s, color 0.3s;
}

.site-contact__icon svg {
	width: 100%;
	height: 100%;
	fill: currentColor;
}

.site-contact:hover .site-contact__icon {
	color: var(--gr-pink);
	background: #fff;
	box-shadow: inset 0 0 0 1px var(--gr-pink);
}

.site-contact__text {
	display: flex;
	flex-direction: column;
}

.site-contact__title {
	color: var(--gr-heading);
	font-size: 18px;
	font-weight: 800;
	line-height: 1;
}

.site-contact__sub {
	color: var(--gr-pink);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.5;
}

/* Main menu (desktop) */
.site-nav__toggle {
	display: none;
}

.site-nav__menu,
.site-nav__menu ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-nav__menu {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
}

.site-nav__menu li {
	position: relative;
}

.site-nav__menu a {
	display: flex;
	align-items: center;
	color: #7a7a7a;
	font-family: Roboto, sans-serif;
	font-size: 12px;
	font-weight: 500;
	line-height: 20px;
	text-decoration: none;
	transition: color 0.3s, background-color 0.3s;
}

.site-nav__menu > li > a {
	position: relative;
	padding: 13px 20px;
}

/* Underline pointer */
.site-nav__menu > li > a::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	height: 3px;
	background: var(--gr-blue);
	opacity: 0;
	transition: opacity 0.3s;
}

.site-nav__menu > li > a:hover,
.site-nav__menu > li:focus-within > a,
.site-nav__menu > .current-menu-item > a,
.site-nav__menu > .current-menu-ancestor > a,
.site-nav__menu > .current-menu-parent > a {
	color: var(--gr-blue);
}

.site-nav__menu > li > a:hover::after,
.site-nav__menu > .current-menu-item > a::after,
.site-nav__menu > .current-menu-ancestor > a::after,
.site-nav__menu > .current-menu-parent > a::after {
	opacity: 1;
}

/* Dropdown indicator */
.site-nav__menu .menu-item-has-children > a::before {
	content: "";
	order: 2;
	width: 8px;
	height: 12px;
	margin-left: 10px;
	background: currentColor;
	-webkit-mask: var(--gr-i-caret-down) center / contain no-repeat;
	mask: var(--gr-i-caret-down) center / contain no-repeat;
}

/* "Chiedi aiuto" heart */
.site-nav__menu .gr-menu-icon > a::before {
	content: "";
	width: 11px;
	height: 11px;
	margin-right: 6px;
	background: currentColor;
	-webkit-mask: var(--gr-i-heart) center / contain no-repeat;
	mask: var(--gr-i-heart) center / contain no-repeat;
}

/* Sub-menus */
.site-nav__menu .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 100;
	width: 12em;
	background: #fff;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
	visibility: hidden;
	opacity: 0;
	transform: translateY(6px);
	transition: opacity 0.2s, transform 0.2s, visibility 0s 0.2s;
}

.site-nav__menu .sub-menu .sub-menu {
	top: 0;
	left: 100%;
}

.site-nav__menu li:hover > .sub-menu,
.site-nav__menu li:focus-within > .sub-menu {
	visibility: visible;
	opacity: 1;
	transform: none;
	transition-delay: 0s;
}

.site-nav__menu .sub-menu a {
	padding: 13px 20px;
	color: #494c4f;
	line-height: 20px;
	border-left: 8px solid transparent;
}

.site-nav__menu .sub-menu a:hover,
.site-nav__menu .sub-menu .current-menu-item > a {
	color: #fff;
	background: var(--gr-blue);
}

/* Header ≤ 1024px: hamburger + full-width dropdown */
@media (max-width: 1024px) {
	.site-masthead__in {
		flex-wrap: wrap;
		padding: 10px 0 10px 10px;
	}

	.site-logo {
		flex: 1 1 auto;
		padding: 0 10px;
	}

	.site-contact {
		order: 2;
		padding: 10px 16px;
	}

	.site-contact__title {
		font-size: 21px;
	}

	.site-nav {
		display: contents;
	}

	.site-nav__toggle {
		display: inline-flex;
		order: 3;
		align-items: center;
		justify-content: center;
		width: 44px;
		height: 44px;
		margin: 0 10px 0 auto;
		padding: 10px;
		color: #494c4f;
		background: rgba(0, 0, 0, 0.05);
		border: 0;
		border-radius: 3px;
	}

	.site-nav__toggle:hover,
	.site-nav__toggle:focus {
		color: var(--gr-blue);
		background: rgba(0, 0, 0, 0.08);
	}

	.site-nav__toggle svg {
		width: 22px;
		height: 22px;
		fill: currentColor;
	}

	.site-nav__toggle-close,
	.site-nav__toggle[aria-expanded="true"] .site-nav__toggle-open {
		display: none;
	}

	.site-nav__toggle[aria-expanded="true"] .site-nav__toggle-close {
		display: inline-flex;
	}

	.site-nav__menu {
		display: none;
		flex: 0 0 100%;
		flex-direction: column;
		align-items: stretch;
		order: 4;
		margin: 10px 0 -10px -10px;
		background: #fff;
		border-top: 1px solid #eee;
	}

	.site-nav.is-open .site-nav__menu {
		display: flex;
	}

	.site-nav__menu > li > a {
		padding: 13px 20px;
	}

	.site-nav__menu > li > a::after {
		display: none;
	}

	.site-nav__menu .sub-menu,
	.site-nav__menu .sub-menu .sub-menu {
		position: static;
		display: none;
		width: auto;
		box-shadow: none;
		visibility: visible;
		opacity: 1;
		transform: none;
		transition: none;
	}

	.site-nav__menu li.is-open > .sub-menu {
		display: block;
	}

	.site-nav__menu .sub-menu a {
		padding-left: 40px;
	}

	.site-nav__menu .menu-item-has-children > a::before {
		display: none;
	}

	.site-nav__sub-toggle {
		position: absolute;
		top: 0;
		right: 0;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 46px;
		height: 46px;
		padding: 0;
		color: #7a7a7a;
		background: transparent;
		border: 0;
		border-radius: 0;
	}

	.site-nav__sub-toggle::before {
		content: "";
		width: 10px;
		height: 14px;
		background: currentColor;
		-webkit-mask: var(--gr-i-caret-down) center / contain no-repeat;
		mask: var(--gr-i-caret-down) center / contain no-repeat;
		transition: transform 0.2s;
	}

	.site-nav__sub-toggle:hover,
	.site-nav__sub-toggle:focus {
		color: var(--gr-blue);
		background: transparent;
	}

	li.is-open > .site-nav__sub-toggle::before {
		transform: rotate(180deg);
	}
}

@media (min-width: 1025px) {
	.site-nav__sub-toggle {
		display: none;
	}
}

@media (max-width: 767px) {
	/* Phones: logo + menu only, as on the live site. */
	.site-topbar,
	.site-header .site-contact {
		display: none;
	}

	.site-masthead__in {
		padding: 10px 5px;
	}

	.site-logo {
		flex-basis: 40%;
	}

	.site-contact {
		gap: 8px;
		margin-left: 0;
		padding: 6px;
	}

	.site-contact__icon {
		width: 28px;
		height: 28px;
		padding: 7px;
	}

	.site-contact__title {
		font-size: 16px;
	}

	.site-contact__sub {
		font-size: 13px;
	}
}

/* ==========================================================================
   3. Press bar ("Ne hanno parlato")
   ========================================================================== */

.gr-bar {
	background: #f3f5f7;
	border-top: 1px solid #e6e9ed;
	border-bottom: 1px solid #e6e9ed;
	color: #555;
	font-size: 0.8em;
}

.gr-bar__in {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: center;
	gap: 0.6em;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0.35em 1em;
	overflow: hidden;
}

.gr-bar__label {
	flex: 0 0 auto;
	white-space: nowrap;
}

.gr-bar__list {
	display: flex;
	flex: 0 1 auto;
	align-items: center;
	gap: 0.15em;
	margin: 0;
	padding: 0;
	overflow: hidden;
	list-style: none;
}

.gr-bar__list li {
	flex: 0 0 auto;
	margin: 0;
}

.gr-bar__list a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 6px;
	transition: background 0.15s;
}

.gr-bar__list a:hover,
.gr-bar__list a:focus-visible {
	background: #fff;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.gr-bar__list a:focus-visible {
	outline: 2px solid #0d6635;
	outline-offset: 1px;
}

.gr-bar__list img {
	width: 18px;
	height: 18px;
	object-fit: contain;
	border-radius: 3px;
}

.gr-bar .gr-bar__more {
	flex: 0 0 auto;
	color: #0d6635;
	font-weight: 600;
	white-space: nowrap;
	text-decoration: none;
}

.gr-bar .gr-bar__more:hover {
	color: #0d6635;
	text-decoration: underline;
}

@media (max-width: 600px) {
	.gr-bar__label {
		display: none;
	}

	.gr-bar__list li:nth-child(n+7) {
		display: none;
	}
}

/* ==========================================================================
   4. Footer
   ========================================================================== */

.site-footer {
	position: relative;
	padding: 120px 0 20px;
	color: #fff;
	font-family: "Nunito Sans", sans-serif;
	font-size: 16px;
	line-height: 1.5;
	background-color: var(--gr-dark);
	isolation: isolate;
}

/* 5% background photo */
.site-footer::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: var(--gr-footer-photo, none) center / cover no-repeat;
	opacity: 0.05;
}

.site-footer__shape {
	position: absolute;
	top: -1px;
	left: 0;
	width: 100%;
	overflow: hidden;
	line-height: 0;
	pointer-events: none;
	transform: scaleY(-1);
}

.site-footer__shape svg {
	position: relative;
	left: 50%;
	display: block;
	width: calc(100% + 1.3px);
	height: 70px;
	transform: translateX(-50%);
}

.site-footer__shape path {
	fill: #fff;
}

.site-footer__in {
	max-width: 1170px;
	margin: 0 auto;
	padding: 0 10px;
}

.site-footer__cols {
	display: flex;
	margin-top: 60px;
}

.site-footer__col {
	padding: 0;
}

.site-footer__col--about {
	flex: 0 0 30%;
	padding-right: 40px;
}

.site-footer__col--links {
	flex: 0 0 20%;
}

.site-footer__col--adm {
	flex: 0 0 30%;
}

.site-footer__logo {
	display: inline-block;
	margin-bottom: 10px;
	line-height: 0;
}

.site-footer__logo-img {
	width: 190px;
	height: auto;
}

.site-footer__col--about p {
	margin: 0 0 15px;
	color: #fff;
}

/* "Gioca senza esagerare" badge, right under the text. */
.site-footer__badge {
	display: block;
	width: 190px;
	max-width: 100%;
	height: auto;
}

.site-footer .site-footer__title {
	margin: 0 0 20px;
	color: #fff;
	font-family: "Roboto Slab", serif;
	font-size: 16px;
	font-weight: 600;
	line-height: 1;
}

/* Second column starts one row lower (Elementor spacer)… */
.site-footer__col--links-2 {
	padding-top: 70px;
}

/* …unless "move to footer" items open the column (the old script hid the spacer then). */
.site-footer__col--links-2.has-moved {
	padding-top: 0;
}

.footer-links,
.footer-links__sub {
	margin: 0;
	padding: 0;
	list-style: none;
}

.footer-links__item {
	position: relative;
	display: flex;
	align-items: center;
	padding-left: 24px;
}

.footer-links__item:not(:first-child),
.footer-links__panel + .footer-links__item {
	margin-top: 5px;
}

.footer-links__item:not(:last-child) {
	padding-bottom: 5px;
}

.footer-links__item::before {
	content: "";
	position: absolute;
	top: calc(50% - 7px);
	left: 0;
	width: 14px;
	height: 14px;
	background: var(--gr-pink);
	-webkit-mask: var(--gr-i-chevron-right) center / contain no-repeat;
	mask: var(--gr-i-chevron-right) center / contain no-repeat;
}

.footer-links__item:not(:last-child)::before {
	top: calc(50% - 9.5px);
}

.footer-links a {
	color: #fff;
	text-decoration: none;
	transition: color 0.3s;
}

.footer-links a:hover {
	color: #d5d5d5;
}

/* "Casino Non AAMS" + toggle */
.footer-toggle {
	all: unset;
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	margin-left: 6px;
	border-radius: 4px;
	cursor: pointer;
	transition: background-color 0.2s;
}

.footer-toggle:hover {
	background: rgba(255, 255, 255, 0.08);
}

.footer-toggle:focus-visible {
	outline: 2px solid var(--gr-link-hover);
	outline-offset: 2px;
}

.footer-toggle__plus {
	position: relative;
	display: block;
	width: 10px;
	height: 10px;
}

.footer-toggle__plus::before,
.footer-toggle__plus::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	background: var(--gr-link-hover);
	transition: transform 0.25s ease;
}

.footer-toggle__plus::before {
	width: 10px;
	height: 2px;
	transform: translate(-50%, -50%);
}

.footer-toggle__plus::after {
	width: 2px;
	height: 10px;
	transform: translate(-50%, -50%);
}

.footer-toggle[aria-expanded="true"] .footer-toggle__plus::after {
	transform: translate(-50%, -50%) scaleY(0);
}

.footer-links__panel-in {
	display: grid;
	grid-template-rows: 0fr;
	transition: grid-template-rows 0.3s ease;
}

.footer-links__panel.is-open .footer-links__panel-in {
	grid-template-rows: 1fr;
}

.footer-links__sub {
	margin: 0 0 0 6px;
	padding: 0 0 0 14px;
	overflow: hidden;
	visibility: hidden;
	border-left: 2px solid rgba(232, 71, 95, 0.6);
	transition: visibility 0s 0.3s;
}

.footer-links__panel.is-open .footer-links__sub {
	visibility: visible;
	transition-delay: 0s;
}

.footer-links__sub li:first-child {
	margin-top: 10px;
}

.footer-links__sub li:last-child {
	margin-bottom: 10px;
}

.footer-links__sub a {
	display: block;
	padding: 4px 0;
	color: rgba(255, 255, 255, 0.75);
	font-size: 14px;
	line-height: 1.4;
}

.footer-links__sub a:hover {
	color: #fff;
}

.site-footer__adm {
	display: inline-block;
	line-height: 0;
}

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

.site-footer__bottom {
	margin: 80px 0 0;
	padding-top: 20px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	text-align: right;
}

.site-footer__bottom p {
	margin: 0;
	color: #fff;
}

.site-footer__bottom a {
	color: #fff;
	font-weight: 700;
	text-decoration: underline;
}

@media (max-width: 1024px) {
	.site-footer {
		padding: 130px 0 20px;
	}

	.site-footer__cols {
		flex-wrap: wrap;
	}

	.site-footer__col--about {
		flex-basis: 40%;
		padding-right: 10px;
	}

	.site-footer__col--links {
		flex-basis: 30%;
	}

	.site-footer__col--adm {
		flex-basis: 100%;
		padding-top: 40px;
	}

	.site-footer__bottom {
		margin-top: 60px;
	}
}

@media (max-width: 767px) {
	.site-footer {
		padding: 130px 0 20px;
	}

	.site-footer__in {
		padding: 0 15px;
	}

	.site-footer__cols {
		display: block;
		margin-top: 40px;
	}

	.site-footer__col {
		margin-top: 20px;
		padding: 0;
	}

	.site-footer__col--links-2 {
		padding-top: 0;
	}

	.site-footer__logo-img {
		width: 75%;
		max-width: 190px;
	}

	.site-footer__col--about p {
		margin-bottom: 0;
	}

	.site-footer__col--links:not(.site-footer__col--links-2) {
		margin-top: 50px;
	}

	.site-footer__col--adm {
		margin-top: 40px;
		padding-top: 0;
		text-align: center;
	}

	.site-footer__bottom {
		margin: 40px 0 0;
		text-align: center;
	}
}

/* ==========================================================================
   5. Converted Elementor content
   ========================================================================== */

/* Sections stack edge to edge like Elementor sections. */
.gr-builder > * {
	margin-block: 0;
}

.gr-builder {
	overflow-x: clip;
}

.gr-section,
.gr-inner-section {
	position: relative;
}

.gr-builder > .gr-section {
	padding-inline: var(--gr-gutter);
}

/* Section with a photo (core/cover): no minimum height, no default padding. */
.wp-block-cover.gr-section {
	min-height: 0;
	padding: 0 var(--gr-gutter);
	align-items: stretch;
}

.wp-block-cover.gr-section > .wp-block-cover__inner-container {
	position: relative;
	z-index: 1;
	width: 100%;
	color: inherit;
}

/* Elementor triangle-asymmetrical dividers (negative), white */
.gr-shape-bottom::after,
.gr-shape-top::before {
	content: "";
	position: absolute;
	left: 0;
	z-index: 2;
	width: 100%;
	height: 70px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 100' preserveAspectRatio='none'%3E%3Cpath fill='%23fff' d='M737.9,94.7L0,0v100h1000V0L737.9,94.7z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
	pointer-events: none;
}

.gr-shape-bottom::after {
	bottom: -1px;
}

.gr-shape-top::before {
	top: -1px;
	transform: scaleY(-1);
}

/* Columns: Elementor stacks them at 767px. */
.gr-columns.wp-block-columns {
	margin-block: 0;
}

@media (min-width: 768px) and (max-width: 781px) {
	.gr-columns.wp-block-columns {
		flex-wrap: nowrap !important;
	}

	.gr-columns.wp-block-columns > .wp-block-column {
		flex-basis: 0 !important;
		flex-grow: 1;
	}

	.gr-columns.wp-block-columns > .wp-block-column[style*="flex-basis"] {
		flex-grow: 0;
	}
}

/* Headings: Elementor's .elementor-heading-title */
.gr-heading {
	line-height: 1;
	margin-block-end: 0;
}

/* Text editor widget: kit paragraph spacing inside, 20px between widgets outside. */
.gr-text > * {
	margin-block-start: 0;
}

.gr-text > .wp-block-spacer {
	margin-block: 0;
}

.gr-text > p {
	margin-block-end: 2px;
}

.gr-text > :is(h1, h2, h3, h4, h5, h6) {
	margin-block: 0.5rem 1rem;
}

.gr-text > :is(ul, ol) {
	margin-block: 0 0.9rem;
}

.gr-text > blockquote {
	margin: 1em 40px;
}

.gr-text > .wp-block-table,
.gr-text > figure {
	margin-block: 0 15px;
}

.gr-text > :last-child {
	margin-block-end: 0;
}

.gr-text.has-text-align-center,
.gr-text.has-text-align-right,
.gr-text.has-text-align-justify {
	text-align: inherit;
}

.gr-text.has-text-align-center > * {
	text-align: center;
}

.gr-text.has-text-align-right > * {
	text-align: right;
}

.gr-text.has-text-align-justify > * {
	text-align: justify;
}

.gr-text .wp-block-table table {
	margin-block-end: 0;
}

@media (max-width: 1024px) {
	.gr-text > p {
		margin-block-end: 25px;
	}
}

/* Images */
.gr-image {
	margin-block-end: 0;
	line-height: 0;
}

.gr-image img {
	vertical-align: middle;
}

.gr-image.gr-align-right {
	margin-left: auto;
	text-align: right;
}

.gr-image figcaption {
	line-height: 1.4;
}

/* Icon list */
.gr-icon-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.gr-icon-list > li {
	position: relative;
	padding-left: 19px;
}

.gr-icon-list > li::before {
	content: "";
	position: absolute;
	top: calc(0.75em - 7px);
	left: 0;
	width: 14px;
	height: 14px;
	background: var(--gr-icon-color);
	-webkit-mask: var(--gr-icon, var(--gr-i-chevron-right)) center / contain no-repeat;
	mask: var(--gr-icon, var(--gr-i-chevron-right)) center / contain no-repeat;
}

.gr-icon-list a {
	color: inherit;
	text-decoration: none;
	transition: color 0.3s;
}

.gr-icon-list a:hover {
	color: var(--gr-link-hover);
}

.gr-icon-list.is-inline {
	display: flex;
	flex-wrap: wrap;
	column-gap: var(--gr-list-gap, 8px);
}

/* Spacing between items (Elementor "space between"): .gr-gap-N */
.gr-icon-list:not(.is-inline) > li:not(:first-child) { margin-top: calc(var(--gr-list-gap, 0px) / 2); }
.gr-icon-list:not(.is-inline) > li:not(:last-child) { padding-bottom: calc(var(--gr-list-gap, 0px) / 2); }
.gr-gap-0 { --gr-list-gap: 0px; }
.gr-gap-2 { --gr-list-gap: 2px; }
.gr-gap-4 { --gr-list-gap: 4px; }
.gr-gap-5 { --gr-list-gap: 5px; }
.gr-gap-6 { --gr-list-gap: 6px; }
.gr-gap-8 { --gr-list-gap: 8px; }
.gr-gap-10 { --gr-list-gap: 10px; }
.gr-gap-12 { --gr-list-gap: 12px; }
.gr-gap-15 { --gr-list-gap: 15px; }
.gr-gap-16 { --gr-list-gap: 16px; }
.gr-gap-20 { --gr-list-gap: 20px; }
.gr-gap-25 { --gr-list-gap: 25px; }
.gr-gap-28 { --gr-list-gap: 28px; }
.gr-gap-30 { --gr-list-gap: 30px; }

/* Icon colours (.gr-ic-xxxxxx) */
.gr-ic-d73502 { --gr-icon-color: #d73502; }
.gr-ic-ea5064 { --gr-icon-color: #ea5064; }
.gr-ic-ffffff { --gr-icon-color: #ffffff; }
.gr-ic-3a88b7 { --gr-icon-color: #3a88b7; }
.gr-ic-e8485b { --gr-icon-color: #e8485b; }
.gr-ic-6ec1e4 { --gr-icon-color: #6ec1e4; }
.gr-ic-0189bb { --gr-icon-color: #0189bb; }
.gr-ic-222222 { --gr-icon-color: #222222; }

/* "Elenco con frecce" block style (for new content) */
.is-style-gr-chevron {
	--gr-icon: var(--gr-i-chevron-right);
	--gr-icon-color: var(--gr-red);
	padding: 0;
	list-style: none;
}

.is-style-gr-chevron > li {
	position: relative;
	padding-left: 19px;
}

.is-style-gr-chevron > li::before {
	content: "";
	position: absolute;
	top: calc(0.75em - 7px);
	left: 0;
	width: 14px;
	height: 14px;
	background: var(--gr-icon-color);
	-webkit-mask: var(--gr-icon) center / contain no-repeat;
	mask: var(--gr-icon) center / contain no-repeat;
}

/* Icon box */
.gr-icon-box {
	position: relative;
}

.gr-icon-box::before {
	content: "";
	display: block;
	width: 32px;
	height: 32px;
	margin: 0 0 15px;
	background: var(--gr-icon-color);
	-webkit-mask: var(--gr-icon, var(--gr-i-circle)) center / contain no-repeat;
	mask: var(--gr-icon, var(--gr-i-circle)) center / contain no-repeat;
}

.gr-icon-box.has-text-align-center::before {
	margin-inline: auto;
}

.gr-icon-box > * {
	margin-block: 0;
}

.gr-icon-box__title {
	margin-block-end: 15px;
	line-height: 1;
}

/* Counter */
.gr-counter__number {
	color: var(--gr-icon-color);
	font-size: 69px;
	font-weight: 600;
	line-height: 1;
}

.gr-counter__title {
	color: #7a7a7a;
	font-size: 19px;
	line-height: 2.5;
}

/* Divider */
.gr-divider {
	border: 0;
	border-top: 1px solid #000;
	opacity: 1;
}

/* Responsive visibility (Elementor "Hide on …") */
@media (min-width: 1025px) {
	.gr-hide-desktop {
		display: none !important;
	}
}

@media (min-width: 768px) and (max-width: 1024px) {
	.gr-hide-tablet {
		display: none !important;
	}
}

@media (max-width: 767px) {
	.gr-hide-mobile {
		display: none !important;
	}
}

@media (max-width: 767px) {
	.gr-heading[style*="font-size:59px"],
	.gr-heading[style*="font-size:50px"] {
		font-size: 36px !important;
	}
}

/* ==========================================================================
   6. Article layout and "Page with Banner"
   ========================================================================== */

/* Article layout */
.pm-page-wrapper {
	max-width: 960px;
	margin: 2rem auto;
	padding: 0 1.5rem;
}

.pm-breadcrumbs {
	margin-bottom: 1.5rem;
	padding: 0.5rem 0;
	color: #666;
	font-size: 0.875rem;
	border-bottom: 1px solid #e5e5e5;
}

.pm-breadcrumbs a {
	text-decoration: none;
}

.pm-breadcrumbs a:hover {
	text-decoration: underline;
}

.pm-breadcrumbs .sep {
	margin: 0 0.4rem;
	color: #999;
}

.pm-breadcrumbs .current {
	color: #333;
	font-weight: 500;
}

.pm-page-header {
	margin-bottom: 2rem;
}

.pm-page-title {
	margin: 0.5rem 0 10px;
}

.pm-page-content {
	line-height: 1.75;
}

.pm-page-content > * {
	max-width: 100%;
}

.pm-page-content :where(figure) {
	margin-inline: 0;
}

/* Page with Banner */
.page-banner {
	position: relative;
	margin: 0;
	padding: 100px 0 120px;
	background-image: var(--page-banner-bg);
	background-position: 0 25%;
	background-repeat: no-repeat;
	background-size: cover;
}

.page-banner__overlay {
	position: absolute;
	inset: 0;
	background-color: #080a14;
	opacity: 0.7;
}

.page-banner__shape {
	position: absolute;
	bottom: -1px;
	left: 0;
	width: 100%;
	overflow: hidden;
	line-height: 0;
	direction: ltr;
	pointer-events: none;
}

.page-banner__shape svg {
	position: relative;
	left: 50%;
	display: block;
	width: calc(100% + 1.3px);
	height: 70px;
	transform: translateX(-50%);
}

.page-banner__shape path {
	fill: #fff;
}

.page-content {
	padding: 50px 0 40px;
	background-color: #fff;
}

.page-content__inner {
	max-width: 800px;
	margin: 0 auto;
	padding: 0 10px;
}

.page-content .page-content__title {
	margin: 0 0 20px;
	color: var(--gr-heading);
	font-family: "Roboto Slab", serif;
	font-size: 59px;
	font-weight: 400;
	line-height: 1;
}

.page-content__body {
	color: #252627;
	font-size: 16px;
	line-height: 1.5;
}

.page-content__body > * {
	margin-top: 20px;
	margin-bottom: 20px;
}

.page-content__body > *:last-child {
	margin-bottom: 0;
}

.page-content__body p {
	margin-top: 0;
	margin-bottom: 20px !important;
}

.page-content__body b,
.page-content__body strong {
	font-weight: 700;
}

.page-content__body a {
	color: var(--gr-link);
}

.page-content__body a:hover,
.page-content__body a:focus {
	color: var(--gr-link-hover);
}

.page-content__body ul,
.page-content__body ol {
	padding-left: 40px;
}

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

.page-content__body h2,
.page-content__body h3,
.page-content__body h4 {
	margin-top: 20px;
	margin-bottom: 20px;
	color: var(--gr-heading);
	font-family: "Roboto Slab", serif;
	font-weight: 400;
	line-height: 1;
}

.page-content__body h2 {
	font-size: 39px;
}

.page-content__body h3 {
	font-size: 29px;
}

.page-content__body h4 {
	font-size: 19px;
}

.page-content__body .wp-block-table {
	margin: 0 0 20px;
	overflow-x: auto;
}

.page-content__body table {
	width: 100%;
	margin: 0 0 20px;
	border-collapse: collapse;
	border-spacing: 0;
	font-size: 0.9em;
	line-height: 1.5;
}

.page-content__body .wp-block-table table {
	margin-bottom: 0;
}

.page-content__body th,
.page-content__body td {
	padding: 15px;
	border: 1px solid rgba(128, 128, 128, 0.5);
	line-height: 1.5;
	vertical-align: top;
}

.page-content__body th {
	font-weight: 700;
	text-align: center;
}

.page-content__body td {
	text-align: left;
}

.page-content__body .wp-block-table thead {
	border-bottom: 0;
}

.page-content__body .wp-block-table tfoot {
	border-top: 0;
}

.page-content__body tbody > tr:nth-child(odd) > td,
.page-content__body tbody > tr:nth-child(odd) > th {
	background-color: rgba(128, 128, 128, 0.07);
}

.page-content__body tbody > tr:hover > td,
.page-content__body tbody > tr:hover > th {
	background-color: rgba(128, 128, 128, 0.1);
}

.page-content__body th p,
.page-content__body td p {
	margin: 0;
}

.page-content__body .wp-block-table figcaption {
	margin-top: 8px;
	color: #54595f;
	font-size: 0.875em;
}

/* Converted Elementor content inside the banner layout keeps its own rhythm. */
.page-content__body > .gr-section {
	margin-block: 0;
	padding-inline: 0;
}

.page-content__body .gr-section .gr-heading {
	margin-top: 0;
	margin-bottom: 0;
	line-height: 1;
}

@media (max-width: 1024px) {
	.page-banner {
		background-position: 0 0;
	}

	.page-content {
		padding: 80px 0;
	}

	.page-content__inner {
		padding: 0 20px;
	}
}

@media (max-width: 767px) {
	.page-banner {
		padding: 30% 0 18%;
	}

	.page-content {
		padding: 50px 0;
	}

	.page-content__inner {
		padding: 0 15px;
	}

	.page-content .page-content__title {
		font-size: 40px;
	}
}

/* ==========================================================================
   7. Components
   ========================================================================== */

/* Author byline */
.page-byline {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 30px;
	padding-bottom: 20px;
	color: #54595f;
	font-size: 14px;
	line-height: 1.4;
	border-bottom: 1px solid #e6e6e6;
}

.page-byline__avatar {
	flex: 0 0 44px;
	line-height: 0;
}

.page-byline__img {
	width: 44px;
	height: 44px;
	object-fit: cover;
	border-radius: 50%;
}

.page-byline__text {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.page-byline__author a {
	color: var(--gr-link);
	font-weight: 700;
	text-decoration: none;
}

.page-byline__author a:hover,
.page-byline__author a:focus {
	color: var(--gr-link-hover);
}

/* "Pulsante" inline button format */
a > .gr-btn,
.gr-btn > a,
.gr-btn:not(:has(a)) {
	display: inline-block;
	box-sizing: border-box;
	min-width: 180px;
	max-width: 100%;
	padding: 16px 24px;
	color: #fff !important;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
	font-size: 0.88rem;
	font-weight: 700;
	line-height: 1.5;
	letter-spacing: normal;
	text-align: center;
	text-decoration: none;
	text-transform: none;
	background-image: linear-gradient(180deg, #329f40 0%, #078116 100%);
	border: 0;
	border-radius: 10px;
	box-shadow: 0 2px 8px rgba(31, 166, 60, 0.12);
	transition: background 0.2s, box-shadow 0.2s;
}

a:has(> .gr-btn) {
	text-decoration: none;
}

a:hover > .gr-btn,
a:focus > .gr-btn,
.gr-btn > a:hover,
.gr-btn > a:focus {
	color: #fff !important;
	background-image: linear-gradient(90deg, #17912f 0%, #27b33a 100%);
	box-shadow: 0 4px 16px rgba(31, 166, 60, 0.18);
}

.gr-btn:has(> a) {
	display: inline-block;
}

td .gr-btn,
th .gr-btn {
	vertical-align: middle;
}

@media (max-width: 767px) {
	a > .gr-btn,
	.gr-btn > a,
	.gr-btn:not(:has(a)) {
		min-width: 0;
		padding: 12px 18px;
	}
}

/* Archives (same look as Hello Elementor's list) */
.gr-archive {
	max-width: 1140px;
	margin: 0 auto;
	padding: 0 10px 40px;
}

.gr-archive .gr-archive__title {
	margin: 0.5rem 0 1rem;
	font-size: 2rem;
	font-weight: 500;
	line-height: 1.2;
}

.gr-archive__item p {
	margin-block-end: 0.9rem;
}

/* Blog page "Nostri articoli" (was the Elementor Posts widget): 3-column grid */
.gr-kit .gr-posts.wp-block-latest-posts {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 35px 30px;
	padding: 0;
}

.gr-posts.wp-block-latest-posts li {
	margin: 0;
}

.gr-posts .wp-block-latest-posts__featured-image {
	display: none;
}

.gr-posts .wp-block-latest-posts__post-title {
	display: block;
	color: #222;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.3;
}

.gr-posts .wp-block-latest-posts__post-date {
	color: #adadad;
	font-size: 12px;
}

.gr-posts .wp-block-latest-posts__post-excerpt {
	margin-top: 13px;
	color: #777;
	font-size: 13px;
}

@media (max-width: 1024px) {
	.gr-kit .gr-posts.wp-block-latest-posts {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 767px) {
	.gr-kit .gr-posts.wp-block-latest-posts {
		grid-template-columns: 1fr;
	}
}

/* Archive cards */
.gr-archive__list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 30px;
}

.gr-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background: #fff;
	border: 1px solid #e6e9ed;
	border-radius: 8px;
}

.gr-card__image img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

.gr-card__body {
	padding: 16px 20px 20px;
}

.gr-card .gr-card__title {
	margin: 0 0 6px;
	font-family: "Roboto Slab", serif;
	font-size: 20px;
	font-weight: 400;
	line-height: 1.25;
}

.gr-card__title a {
	color: var(--gr-heading);
	text-decoration: none;
}

.gr-card__title a:hover {
	color: var(--gr-link-hover);
}

.gr-card .gr-card__meta {
	margin: 0 0 10px;
	color: #7a7a7a;
	font-size: 13px;
}

.gr-card .gr-card__excerpt {
	margin: 0;
	font-size: 15px;
}

.navigation.pagination {
	margin-top: 40px;
	text-align: center;
}

.nav-links .page-numbers {
	display: inline-block;
	min-width: 36px;
	padding: 6px 10px;
	border: 1px solid #e6e9ed;
	border-radius: 4px;
}

.nav-links .page-numbers.current {
	color: #fff;
	background: var(--gr-blue);
	border-color: var(--gr-blue);
}

/* ==========================================================================
   8. Plugin content (was Customizer → Additional CSS)
   ========================================================================== */

@media (min-width: 900px) {
	[data-toplist-label] {
		margin-right: -40px;
		margin-left: -40px;
	}
}

.casino-toplist-container tbody > tr > td,
.casino-toplist-container tbody > tr > th {
	background: none !important;
}

.casino-toplist-container .payment-delay {
	background: #f6f9ff !important;
}
