@charset "utf-8";
/* CSS Document */

/* ============================
	DESIGN TOKENS
   ============================ */

:root {
	/* Brand */
	--c-primary:      #29235C; /* blu-indaco: testo, titoli, logo, bottoni primari */
	--c-accent:       #FDC300; /* giallo: icone, badge, pulsanti circolari evidenza */
	--c-topbar:       #3E5456; /* verde-petrolio scuro: barra superiore */

	/* Neutri / superfici */
	--c-bg:           #F8F8F8; /* sfondo body */
	--c-surface:      #FFFFFF; /* card, header, sezioni chiare */
	--c-band:         #B6C6D7; /* azzurro-grigio: fascia dietro l'hero, blocchi sezione */
	--c-card-alt:     #F2F2F2; /* grigio chiarissimo per card secondarie */

	/* Testo */
	--c-text:         #29235C;
	--c-text-muted:   #545454;
	--c-on-dark:      #FFFFFF;
	--c-teal-text:    #3E5456;

	/* Font / pesi (sostituto con licenza di FRoSTASans, stesse regole grafiche) */
	--font: "PT Sans Narrow";
	--wNormal: 400;
	--wBold: 700;

	/* Spaziature */
	--sp-20: 0.44rem;
	--sp-30: 0.67rem;
	--sp-40: 1rem;
	--sp-50: 1.5rem;
	--sp-60: 2.25rem;
	--sp-70: 3.38rem;
	--sp-80: 5.06rem;

	/* Raggi */
	--radius-card: 8px;
	--radius-btn: 0px;
	--radius-round: 50%;

	/* Retrocompatibilità con markup esistente */
	--c1: var(--c-on-dark);
	--c2: var(--c-primary);
	--c3: var(--c-bg);
	--c4: var(--c-accent);
}

body {
	font-family: var(--font), system-ui, sans-serif;
	font-weight: var(--wNormal);
	font-style: normal;
	font-size: 18px;
	line-height: 26px;
	letter-spacing: 0.3px;
	color: var(--c-text);
	background: var(--c-bg);
}

.letter-space {
    letter-spacing: 8px;
}

.wNormal {
	font-weight: var(--wNormal);
}

.shadow {
	box-shadow: 0 6px 18px rgba(41, 35, 92, .08);
}

.wBold {
	font-weight: var(--wBold);
}

.c4 {
	color: var(--c-accent);
}

.c2 {
	color: var(--c-primary);
}

h1, h2, h3, h4, p, a, b {
	font-family: var(--font), system-ui, sans-serif;
	font-style: normal;
	color: var(--c-text);
}

/* Titoli: peso 400, aspetto sottile (mai bold) */
h1, h2 {
	font-size: 48px;
	line-height: 48px;
	font-weight: var(--wNormal);
}

h3 {
	font-size: 28px;
	line-height: 34px;
	font-weight: var(--wNormal);
}

/* Guardia di coerenza: neutralizza utility Bootstrap che romperebbero la scala tipografica
   (display-*, fw-bold, letter-space, <b>/<strong>) se riapplicate per errore su un titolo */
h1.display-1, h1.display-2, h1.display-3, h1.display-4, h1.display-5, h1.display-6,
h2.display-1, h2.display-2, h2.display-3, h2.display-4, h2.display-5, h2.display-6 {
	font-size: 48px;
	line-height: 48px;
	font-weight: var(--wNormal);
}

h3.display-1, h3.display-2, h3.display-3, h3.display-4, h3.display-5, h3.display-6 {
	font-size: 28px;
	line-height: 34px;
	font-weight: var(--wNormal);
}

h1.fw-bold, h2.fw-bold, h3.fw-bold,
h1 b, h1 strong, h2 b, h2 strong, h3 b, h3 strong {
	font-weight: var(--wNormal);
}

h1.letter-space, h2.letter-space, h3.letter-space {
	letter-spacing: normal;
}

p {
  	font-weight: var(--wNormal);
	font-size: 18px;
	line-height: 26px;
	letter-spacing: 0.3px;
}

.overline {
	display: block;
	font-size: 13px;
	letter-spacing: 0.66px;
	text-transform: uppercase;
	font-weight: var(--wNormal);
	color: var(--c-text);
	margin-bottom: .5rem;
}

a {
  	text-decoration: underline;
	color: var(--c-primary);
}

a:hover, a:focus, a:active {
	color: var(--c-primary);
}

.list {
	margin-bottom: 1rem;
	padding-left: 1rem;
}

.no-list-style {
	list-style-type: none;
	padding-left: 0px;
}

.nascosto {
	height: 0px;
	overflow: hidden !important;
}

.skip-to-main-content-link {
	position: absolute;
	left: -9999px;
	z-index: 999;
	padding: 1em;
	background-color: var(--c-primary);
	color: var(--c-on-dark) !important;
	opacity: 0;
}

.skip-to-main-content-link:focus {
	left: 50%;
	transform: translateX(-50%);
	opacity: 1;
}

.py-6 {
	padding-top: 7rem;
	padding-bottom: 10rem;
}

.icon-text {
	font-size: 7rem;
	color: var(--c-primary);
}

/* ============================
	BOTTONI
   ============================ */

.button {
	color: var(--c-on-dark);
	background: var(--c-primary);
	border: 1px solid var(--c-primary);
	font-family: var(--font), system-ui, sans-serif;
	font-weight: var(--wNormal);
	font-size: 1rem;
	letter-spacing: .6px;
	text-transform: uppercase;
	padding: 15px 20px;
	width: max-content;
	text-decoration: none;
	border-radius: var(--radius-btn);
	cursor: pointer;
	transition: .2s;
}

.button:hover {
	color: var(--c-primary);
	background: var(--c-on-dark);
	border: 1px solid var(--c-primary);
}

.button--secondary {
	color: var(--c-primary);
	background: var(--c-on-dark);
	border: 1px solid var(--c-primary);
}

.button--secondary:hover {
	color: var(--c-on-dark);
	background: var(--c-primary);
}

#ocr.button,
.button.partecipa {
	font-size: .9rem;
}

/* Pulsanti circolari (freccia / icone) */
.btn-circle {
	width: 40px;
	height: 40px;
	min-width: 40px;
	border-radius: var(--radius-round);
	display: grid;
	place-items: center;
	text-decoration: none;
	border: none;
	cursor: pointer;
}

.btn-circle--dark {
	background: var(--c-primary);
	color: var(--c-on-dark);
}

.btn-circle--yellow {
	background: var(--c-accent);
	color: var(--c-primary);
}

/* Link "freccia in cerchio" */
.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: .75rem;
	text-decoration: none;
	color: var(--c-primary);
}

.link-arrow .btn-circle {
	width: 36px;
	height: 36px;
	min-width: 36px;
	background: transparent;
	border: 1px solid var(--c-band);
	color: var(--c-primary);
}

.link-arrow span {
	text-transform: uppercase;
	letter-spacing: 1px;
	font-size: 13px;
}

.link-arrow:hover .btn-circle {
	background: var(--c-band);
}

/* ============================
	CARD
   ============================ */

.card {
	background: var(--c-surface);
	border-radius: var(--radius-card);
	padding: 2rem;
	box-shadow: 0 6px 18px rgba(41, 35, 92, .08);
}

.card__icon {
	width: 56px;
	height: 56px;
	border-radius: var(--radius-round);
	background: var(--c-accent);
	display: grid;
	place-items: center;
	color: var(--c-primary);
	font-size: 1.5rem;
	margin-bottom: 1rem;
}

.card__icon--dark {
	background: var(--c-primary);
	color: var(--c-on-dark);
}

/* Card generica ex "glass" (login, form) */
.glass {
	background: var(--c-surface);
	border-radius: var(--radius-card);
	box-shadow: 0 6px 18px rgba(41, 35, 92, .08);
	border: 1px solid var(--c-card-alt);
}

/* ============================
	TOP BAR
   ============================ */

#topbar {
	background: var(--c-topbar);
	color: var(--c-on-dark);
	font-size: 13px;
}

#topbar a {
	color: var(--c-on-dark);
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 1px;
	padding: .6rem .75rem;
	display: inline-block;
}

#topbar a:hover {
	text-decoration: underline;
}

@media (max-width: 991px) {
	#topbar {
		display: none;
	}
}

/* ============================
	BANNER / FASCIA PAGINE INTERNE
   ============================ */

.ink {
	background: url('../img/sfondo_carta.jpg') center center / cover no-repeat;
	width: 100%;
}

/* ============================
	HOME - HERO
   ============================ */

.hero {
	position: relative;
	background: var(--c-bg);
	overflow: hidden;
}

.hero__band {
	position: absolute;
	inset: 0;
	background: var(--c-band);
	z-index: 0;
}

.section-band {
	background: var(--c-band);
}

/* Divisore elegante tra sezioni (es. promozioni attive/terminate) */
.section-divider {
	position: relative;
	height: 1px;
	max-width: 1140px;
	margin: 2rem auto;
	background: rgba(41, 35, 92, .15);
}

.section-divider::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	width: 10px;
	height: 10px;
	border-radius: var(--radius-round);
	background: var(--c-accent);
	transform: translate(-50%, -50%);
}

.hero__media {
	position: relative;
	z-index: 1;
}

.hero__media img,
.hero__placeholder {
	border-radius: var(--radius-card);
}

.hero__placeholder {
	width: 100%;
	aspect-ratio: 4/3;
	background: var(--c-surface);
	display: grid;
	place-items: center;
	color: var(--c-band);
}

/* ============================
	HOME - CARD SEZIONI
   ============================ */

.section-card {
	background: var(--c-surface);
	border-radius: var(--radius-card);
	padding: 2.5rem;
	box-shadow: 0 6px 18px rgba(41, 35, 92, .08);
	height: 100%;
}

.input-arrow {
	position: relative;
}

.input-arrow input {
	border: 1px solid var(--c-band);
	border-radius: 4px;
	padding: .75rem 3rem .75rem 1rem;
	width: 100%;
	font-family: var(--font), system-ui, sans-serif;
}

.input-arrow input:focus {
	outline: none;
	border-color: var(--c-primary);
}

.input-arrow .btn-circle {
	position: absolute;
	right: 4px;
	top: 50%;
	transform: translateY(-50%);
	width: 34px;
	height: 34px;
	min-width: 34px;
}

/* ============================
	PROMOZIONI (card contenuti dinamici)
   ============================ */

.promo-card {
	background: var(--c-surface);
	border-radius: var(--radius-card);
	box-shadow: 0 6px 18px rgba(41, 35, 92, .08);
	overflow: hidden;
	height: 100%;
}

.promo-card__body {
	padding: 1.5rem;
}

.promo-card .banner img {
	display: block;
	width: 100%;
}

/* Promozioni terminate: card in sola lettura, senza pulsanti/link,
   compressa a 500px con pulsante di espansione in sovraimpressione */
.terminata {
	filter: grayscale(80%);
	position: relative;
	max-height: 500px;
	overflow: hidden;
	transition: max-height .3s ease;
}

.terminata.is-expanded {
	max-height: 3000px;
}

.terminata .promo-card__body {
	padding-bottom: 4rem;
}

.terminata::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 6rem;
	background: linear-gradient(to bottom, rgba(255, 255, 255, 0), var(--c-surface) 75%);
	pointer-events: none;
}

.terminata.is-expanded::after {
	display: none;
}

.terminata__toggle {
	position: absolute;
	left: 50%;
	bottom: 1rem;
	transform: translateX(-50%);
	z-index: 2;
}

@media (max-width: 991px) {
	.button.partecipa {
		font-size: .85rem;
		padding: 10px 16px;
	}
}

/* ============================
	PULSANTI FLOTTANTI
   ============================ */

.floating-actions {
	position: fixed;
	right: 1.25rem;
	bottom: 1.25rem;
	display: flex;
	flex-direction: column;
	gap: .75rem;
	z-index: 1030;
}

.floating-actions .btn-circle {
	width: 52px;
	height: 52px;
	min-width: 52px;
	font-size: 1.25rem;
	box-shadow: 0 6px 18px rgba(41, 35, 92, .25);
}

/* ============================
	MENU / HEADER
   ============================ */

#menu {
	background-color: var(--c-surface);
	position: sticky;
	top: 0;
	z-index: 1020;
}

#menu .container-fluid {
	background-color: var(--c-surface);
	min-height: 103px;
	display: flex;
	align-items: center;
	border-bottom: 1px solid var(--c-card-alt);
}

#logo {
	max-height: 55px;
	width: auto;
}

@media (min-width: 992px) {
	#menu_list {
		position: absolute;
		left: 50%;
		top: 50%;
		transform: translate(-50%, -50%);
	}
}

#attiva_menu {
	max-width: 30px;
	margin:10px 25px;
	cursor: pointer;
}

.bi-list {
  	font-size: 2rem;
  	color: var(--c-primary);
}

#menu_list li {
	list-style-type: none;
	padding-left: 2%;
	padding-right: 2%;
}

#menu_list li a {
	display: block;
	text-align: center;
	text-decoration: none;
	padding: 5px 10px;
	color: var(--c-primary);
	font-family: var(--font), system-ui, sans-serif;
	font-weight: var(--wNormal);
	font-size: 15px;
	letter-spacing: 1px;
	text-transform: uppercase;
    border-bottom: 2px solid transparent;
}

@media (max-width: 991px) {
	#menu_list li {
		float: none;
	}
	#menu_list li a {
		text-align: right;
    	font-size: 15px;
	}
	#menu_list.menu_top {
		display: flex !important;
		position: absolute;
		top: 103px;
		right: 0;
		background: var(--c-surface);
		box-shadow: 0 6px 18px rgba(41, 35, 92, .12);
		padding: 1rem 1.5rem !important;
		width: 100%;
	}
}

#menu_list li a:hover, #menu_list li a.active {
	text-decoration: none !important;
	font-weight: var(--wBold);
	color: var(--c-primary);
    border-bottom: 2px solid var(--c-accent);
}

li.d-lg-inline-block {
	font-size: 1.4rem;
	color: var(--c-primary);
}

/* ============================
	FORM
   ============================ */

#errore,
#errore_ocr {
	color: #ac182d;
	font-weight: var(--wBold);
	text-align: center;
	font-size: 24px;
}

label, input, select {
  	color: var(--c-primary);
	font-size: 1.1rem;
}

p.col-1 {
	width: 1%;
}

.form-group {
	margin-bottom: 15px;
}

.form-control, .form-select {
	border-radius: 4px;
	border: 1px solid var(--c-band);
}

.form-control:focus, .form-select:focus {
	border-color: var(--c-primary);
	box-shadow: 0 0 0 .2rem rgba(41, 35, 92, .15);
}

.bi-info-circle-fill {
	color: var(--c-primary);
	-webkit-text-stroke: 1px var(--c-on-dark);
}

.bi-info-circle-fill:hover {
	color: var(--c-on-dark);
	-webkit-text-stroke: 1px var(--c-primary);
}

/* ============================
	FOOTER
   ============================ */

footer {
	background: var(--c-card-alt);
}

footer #logo-footer {
	max-height: 60px;
	width: auto;
}

footer p {
	color: var(--c-primary);
	font-family: var(--font), system-ui, sans-serif;
	font-weight: var(--wNormal);
	font-style: normal;
	text-align: center;
}

footer b, footer a {
	color: var(--c-primary);
}

footer p a {
	color: var(--c-primary);
	text-decoration: underline;
	font-weight: var(--wNormal);
	text-transform: uppercase;
	font-size: 13px;
	letter-spacing: .6px;
}

footer a:hover,
footer a:active,
footer a:focus {
	color: var(--c-accent);
}

.social {
	fill: var(--c-primary);
	stroke: var(--c-primary);
	width: 25px;
	height: 25px;
}

.social:hover,
.social:active,
.social:focus {
	fill: var(--c-accent);
	stroke: var(--c-primary);
}

.social-link {
	text-decoration: none !important;
}

@media(max-width:576px) {
	.mail_info {
		word-break: break-all;
	}
}

/* ============================
	COOKIE
   ============================ */

#cookie-policy-content > h3, #privacy-cookie-content > h3 {
	font-size: 3rem;
}

#cookie-bar {
  padding: 15px;
  background: var(--c-topbar);
  color: #fff;
  font-family: var(--font), system-ui, sans-serif;
  z-index: 1040;
  position: fixed;
  bottom: 0px;
  width: 100%;
	font-size: 0.8em;
}

/* ============================
	STORICO PARTECIPAZIONI (profilo)
   ============================ */

.storico-table {
	--bs-table-color: var(--c-text);
	--bs-table-bg: transparent;
	border-color: var(--c-band);
}

.storico-table thead th {
	background: var(--c-primary);
	color: var(--c-on-dark);
	font-weight: var(--wBold);
	text-transform: uppercase;
	border: 0;
	padding: var(--sp-30) var(--sp-40);
}

.storico-table tbody td {
	padding: var(--sp-30) var(--sp-40);
}

.storico-table tbody tr:nth-child(even) td {
	background: var(--c-card-alt);
}

.storico-img {
	width: 160px;
}

.storico-img img {
	border-radius: var(--radius-card);
}

@media(max-width:576px) {
	.storico-img {
		width: 100px;
	}
}

/* ============================
	BANNER TOP (pagine interne)
   ============================ */

.overline--banner {
	font-size: 26px;
	letter-spacing: 1.32px;
	margin-bottom: 1rem;
}

.banner-top__logo {
	max-height: 180px;
	max-width: 100%;
	width: auto;
}


/* =====================================================================
	PROGETTO 2026_0421 - "Dì sì al gusto, vinci con GoloSì"
	Estensioni specifiche del concorso, costruite sui token del portale
   ===================================================================== */

main {
	background: var(--c-surface);
}

/* Voci menu su una riga (es. icona + "Profilo") */
#menu_list li a {
	white-space: nowrap;
}

/* ============================
	HOME - HERO CONCORSO (solo immagine)
   ============================ */

.hero-promo {
	position: relative;
	background: var(--c-band);
	margin-bottom: 2.5rem; /* spazio per il pulsante a cavallo */
}

.hero-promo picture,
.hero-promo img {
	display: block;
	width: 100%;
}

.hero-promo img {
	height: auto;
	/* ombra leggera per staccare l'immagine dallo sfondo bianco */
	box-shadow: 0 8px 20px -6px rgba(41, 35, 92, .25);
}

/* Immagini del banner pagine interne */
.ink img {
	max-width: 100%;
	height: auto;
	border: 3px solid var(--c-surface);
	box-shadow: 0 6px 18px rgba(41, 35, 92, .18);
	transition: box-shadow .4s ease;
}

.ink img:hover {
	box-shadow: 0 14px 34px rgba(41, 35, 92, .4);
}

@media (prefers-reduced-motion: reduce) {
	.ink img {
		transition: none;
	}
}

/* Pulsante a cavallo del bordo inferiore, centrato orizzontalmente */
.hero-promo__cta {
	position: absolute;
	left: 50%;
	bottom: 0;
	transform: translate(-50%, 50%);
	z-index: 2;
}

/* CTA principale: stesso stile .button del portale, in evidenza */
.button--cta {
	display: inline-block;
	font-size: 1.15rem;
	letter-spacing: 1.5px;
	padding: 18px 56px;
	box-shadow: 0 6px 18px rgba(41, 35, 92, .25);
}

.button--cta:hover {
	box-shadow: 0 6px 18px rgba(41, 35, 92, .12);
}

/* ============================
	HOME - INTRO CONCORSO
   ============================ */

.intro-promo {
	max-width: 760px;
	margin: 0 auto;
}

.intro-promo .lead-promo {
	font-size: 22px;
	line-height: 30px;
}

/* ============================
	HOME - CARD MECCANICA (step)
   ============================ */

.step-card {
	background: var(--c-surface);
	border-radius: var(--radius-card);
	box-shadow: 0 6px 18px rgba(41, 35, 92, .08);
	overflow: hidden;
	height: 100%;
	display: flex;
	flex-direction: column;
}

.step-card__media {
	position: relative;
	aspect-ratio: 3 / 2;
	background: var(--c-band);
	overflow: hidden;
	/* ombra leggera verso il body della card: segna dove finisce l'immagine */
	box-shadow: 0 6px 14px -4px rgba(41, 35, 92, .2);
}

.step-card__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Numero tra immagine e body */
.step-card__number {
	position: relative;
	z-index: 1;
	width: 54px;
	height: 54px;
	min-width: 54px;
	margin: -27px auto 0;
	border-radius: var(--radius-round);
	background: var(--c-accent);
	color: var(--c-primary);
	border: 4px solid var(--c-surface);
	display: grid;
	place-items: center;
	font-size: 24px;
	line-height: 1;
	font-weight: var(--wBold);
}

.step-card__body {
	padding: 1rem 1.5rem 2rem;
	text-align: center;
	flex-grow: 1;
}

.step-card__body h3 {
	margin-bottom: .75rem;
}

.step-card__body p {
	margin-bottom: 0;
}

.nota-legale {
	font-size: 14px;
	line-height: 20px;
	color: var(--c-text-muted);
}

/* ============================
	PAGINE INTERNE (form, esiti)
   ============================ */

.page-card {
	background: var(--c-surface);
	border-radius: var(--radius-card);
	box-shadow: 0 6px 18px rgba(41, 35, 92, .08);
	border: 1px solid var(--c-card-alt);
	padding: 2rem 1rem;
}

@media (min-width: 992px) {
	.page-card {
		padding: 3rem;
	}
}

/* Il banner .ink è seguito da un contenuto che risale sul banner */
.page-overlap {
	margin-top: -6rem;
	position: relative;
	z-index: 1;
}

.form-section-title {
	font-size: 28px;
	line-height: 34px;
	text-align: center;
	margin-bottom: 1.5rem;
}

.form-control, .form-select {
	min-height: 45px;
	color: var(--c-primary);
}

label[for=reg], label[for=tratt_dati], label[for=ricez_info_1_si], label[for=ricez_info_2_si] {
	display: block;
}

label a {
	color: inherit;
	text-decoration: underline;
}

small, .small {
	color: var(--c-text-muted);
}

.form-check-input:checked {
	background-color: var(--c-primary);
	border-color: var(--c-primary);
}

.bi-info-circle {
	color: var(--c-primary);
	cursor: pointer;
}

/* ============================
	CARD DATI UTENTE (da sessione)
   ============================ */

.profile-card {
	max-width: 960px;
	margin: 0 auto;
	background: var(--c-surface);
	border: 1px solid var(--c-card-alt);
	border-radius: var(--radius-card);
	box-shadow: 0 6px 18px rgba(41, 35, 92, .08);
	overflow: hidden;
}

.profile-card__head {
	position: relative;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 1.25rem;
	padding: 1.75rem 2rem;
	background: var(--c-band);
	overflow: hidden;
}

/* Cerchi decorativi: richiamo al sole giallo del logo */
.profile-card__head::before,
.profile-card__head::after {
	content: "";
	position: absolute;
	border-radius: var(--radius-round);
	pointer-events: none;
}

.profile-card__head::before {
	width: 180px;
	height: 180px;
	right: -50px;
	top: -90px;
	background: var(--c-accent);
	opacity: .35;
}

.profile-card__head::after {
	width: 90px;
	height: 90px;
	right: 90px;
	bottom: -55px;
	background: var(--c-surface);
	opacity: .35;
}

.profile-card__avatar {
	position: relative;
	z-index: 1;
	width: 72px;
	height: 72px;
	min-width: 72px;
	border-radius: var(--radius-round);
	background: var(--c-primary);
	color: var(--c-on-dark);
	border: 4px solid var(--c-accent);
	display: grid;
	place-items: center;
	font-size: 28px;
	font-weight: var(--wBold);
	letter-spacing: 1px;
}

.profile-card__id {
	position: relative;
	z-index: 1;
	min-width: 0;
}

h2.profile-card__name {
	font-size: 32px;
	line-height: 36px;
	margin: 0;
	overflow-wrap: anywhere;
}

.profile-card__badge {
	position: relative;
	z-index: 1;
	margin-left: auto;
	background: var(--c-surface);
	color: var(--c-primary);
	border-radius: 999px;
	padding: .35rem .9rem;
	font-size: 13px;
	letter-spacing: .66px;
	text-transform: uppercase;
	white-space: nowrap;
}

.profile-card__badge .bi {
	color: var(--c-teal-text);
}

.profile-card__list {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem 2rem;
	padding: 2rem;
	margin: 0;
}

@media (min-width: 768px) {
	.profile-card__list {
		grid-template-columns: 1fr 1fr;
	}
}

.profile-card__item {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
	min-width: 0;
}

.profile-card__icon {
	width: 44px;
	height: 44px;
	min-width: 44px;
	border-radius: var(--radius-round);
	background: rgba(182, 198, 215, .35);
	color: var(--c-primary);
	display: grid;
	place-items: center;
	font-size: 1.15rem;
	transition: background .2s;
}

.profile-card__item:hover .profile-card__icon {
	background: var(--c-accent);
}

.profile-card__item dt {
	font-size: 13px;
	letter-spacing: .66px;
	text-transform: uppercase;
	font-weight: var(--wNormal);
	color: var(--c-text-muted);
	margin-bottom: .15rem;
}

.profile-card__item dd {
	font-size: 20px;
	line-height: 26px;
	color: var(--c-primary);
	margin: 0;
	overflow-wrap: anywhere;
}

.profile-card__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 1rem;
	padding: 1.25rem 2rem;
	background: var(--c-card-alt);
	border-top: 1px solid rgba(41, 35, 92, .08);
}

.profile-card__foot p {
	font-size: 16px;
	line-height: 22px;
	color: var(--c-text-muted);
}

@media (max-width: 575px) {
	.profile-card__head,
	.profile-card__list,
	.profile-card__foot {
		padding-left: 1.25rem;
		padding-right: 1.25rem;
	}

	.profile-card__badge {
		margin-left: 0;
	}

	.profile-card__foot {
		justify-content: center;
		text-align: center;
	}
}

/* ============================
	CARD ESTRAZIONE FINALE (pagina grazie)
   ============================ */

.draw-card {
	position: relative;
	background: var(--c-band);
	border-radius: var(--radius-card);
	padding: 2rem;
	overflow: hidden;
}

/* Cerchio decorativo giallo, come nella card dati utente */
.draw-card::before {
	content: "";
	position: absolute;
	width: 200px;
	height: 200px;
	right: -70px;
	top: -100px;
	border-radius: var(--radius-round);
	background: var(--c-accent);
	opacity: .35;
	pointer-events: none;
}

.draw-card > * {
	position: relative;
}

.draw-card__head {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-bottom: 1.25rem;
}

h2.draw-card__title {
	font-size: 32px;
	line-height: 36px;
	margin: 0;
}

.draw-card strong,
.draw-card b {
	font-weight: var(--wBold);
}

.draw-card__facts {
	list-style: none;
	padding: 0;
	margin: 0 0 1.5rem;
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
}

@media (min-width: 768px) {
	.draw-card__facts {
		grid-template-columns: 1fr 1fr;
	}
}

.draw-card__facts li {
	display: flex;
	align-items: flex-start;
	gap: .85rem;
	background: var(--c-surface);
	border-radius: var(--radius-card);
	padding: 1rem;
	font-size: 16px;
	line-height: 22px;
	box-shadow: 0 6px 18px rgba(41, 35, 92, .08);
}

.draw-card__icon {
	width: 40px;
	height: 40px;
	min-width: 40px;
	border-radius: var(--radius-round);
	background: rgba(182, 198, 215, .45);
	color: var(--c-primary);
	display: grid;
	place-items: center;
	font-size: 1.1rem;
}

.draw-card .small {
	color: var(--c-primary);
}

@media (max-width: 575px) {
	.draw-card {
		padding: 1.5rem 1.25rem;
	}

	h2.draw-card__title {
		font-size: 26px;
		line-height: 30px;
	}
}

/* Evidenza tempi (pagina grazie) */
.badge-time {
	display: inline-block;
	background: var(--c-accent);
	color: var(--c-primary);
	padding: 0 .5rem;
	font-weight: var(--wBold);
}

.esito-icon {
	width: 80px;
	height: 80px;
	font-size: 2.25rem;
	margin: 0 auto 1.5rem;
}

/* Modal */
.modal-content {
	border-radius: var(--radius-card);
	border: 0;
}

.modal-body {
	background-color: var(--c-surface);
}

/* OCR loading */
#ocr_loading, #ocr_loading > .modal-dialog, #ocr_loading > .modal-dialog > .modal-content, #ocr_loading > .modal-dialog > .modal-content > .modal-body {
	background-color: transparent !important;
}

/* ============================
	FOOTER - nota legale concorso
   ============================ */

.footer-legal {
	border-bottom: 1px solid rgba(41, 35, 92, .15);
}

footer .footer-legal p {
	font-size: 14px;
	line-height: 20px;
}

footer .footer-legal a {
	text-transform: none;
	font-size: inherit;
	letter-spacing: normal;
}

footer .footer-links a {
	text-transform: uppercase;
	font-size: 13px;
	letter-spacing: .6px;
	padding: .25rem .75rem;
}

/* ============================
	COOKIE BAR
   ============================ */

.cc-window {
	font-size: .85rem !important;
	line-height: 1.2em !important;
}

/* ============================
	RESPONSIVE
   ============================ */

@media (max-width: 767px) {
	h1, h2 {
		font-size: 36px;
		line-height: 40px;
	}

	.button--cta {
		font-size: 1rem;
		padding: 14px 40px;
	}

	.page-overlap {
		margin-top: -4rem;
	}

	.cc-window {
		font-size: .75rem !important;
		line-height: 1.1em !important;
	}
}
