/*
Theme Name: ORAT
Theme URI: https://orat.it
Author: Pragmind
Author URI: https://pragmind.net
Description: Tema custom ORAT
Version: 1.0.0
Text Domain: orat
*/

.service-key-point-box--bg {
	position: relative;
	overflow: hidden;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	border-radius: 30px;
	padding: 50px;
}

.service-key-point-box--bg::before {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(7, 25, 45, 0.72);
	z-index: 1;
}

.service-key-point-box--bg>* {
	position: relative;
	z-index: 2;
}

.service-key-point-box--bg .service-key-point-title-box h2,
.service-key-point-box--bg .service-key-point-title-box p,
.service-key-point-box--bg .service-key-point-list ul li {
	color: #fff;
}

.service-key-point-box--bg .service-key-point-list ul li::marker {
	color: var(--accent-color);
}


.cf7-privacy-check .wpcf7-acceptance,
.cf7-privacy-check .wpcf7-list-item {
	display: block !important;
	margin: 0 !important;
}

.cf7-privacy-check .wpcf7-list-item-label {
	display: inline !important;
}

.cf7-privacy-check input[type="checkbox"] {
	appearance: checkbox !important;
	-webkit-appearance: checkbox !important;
	-moz-appearance: checkbox !important;
	opacity: 1 !important;
	visibility: visible !important;
	display: inline-block !important;
	position: static !important;
	width: 18px !important;
	height: 18px !important;
	margin: 2px 10px 0 0 !important;
	accent-color: #b50103;
	vertical-align: top;
}

.cf7-privacy-check label {
	display: flex !important;
	align-items: flex-start !important;
	gap: 10px;
	cursor: pointer;
}

.cf7-privacy-check a {
	text-decoration: underline;
}

/************************************/
/*** 404 Page                      ***/
/************************************/

.page-not-found-section {
	padding: 100px 0;
}

.page-not-found-content {
	padding-right: 30px;
}

.page-not-found-btn {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin-top: 30px;
}

.page-not-found-btn .btn-highlighted {
	background: var(--accent-color);
	color: var(--primary-color);
}

.page-not-found-search {
	margin-top: 30px;
}

.search-form-404-group,
.search-form-main-group {
	display: flex;
	align-items: center;
	gap: 15px;
}

.search-form-404-group input,
.search-form-main-group input {
	width: 100%;
	height: 60px;
	border: 1px solid #d9d9d9;
	border-radius: 12px;
	padding: 0 20px;
	outline: none;
}

.page-not-found-links {
	margin-top: 30px;
}

.page-not-found-links ul {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 12px 24px;
}

.page-not-found-links ul li a {
	color: var(--primary-color);
	font-weight: 600;
}

.page-not-found-image {
	display: flex;
	justify-content: center;
}

.page-not-found-card {
	background: #f8f8f8;
	border-radius: 30px;
	padding: 60px 40px;
	text-align: center;
	width: 100%;
	max-width: 520px;
}

.page-not-found-card h2 {
	font-size: 120px;
	line-height: 1;
	margin-bottom: 10px;
	color: var(--accent-color);
}

.page-not-found-card p {
	font-size: 22px;
	font-weight: 700;
	margin-bottom: 25px;
}

.page-not-found-card img {
	width: 60px;
	height: 60px;
	object-fit: contain;
}

/************************************/
/*** Search Page                   ***/
/************************************/

.page-search-results {
	padding: 100px 0;
}

.search-top-form {
	margin-bottom: 40px;
}

.search-result-item {
	height: 100%;
	background: #ffffff;
	border: 1px solid #e8e8e8;
	border-radius: 24px;
	padding: 30px;
	display: flex;
	flex-direction: column;
	gap: 24px;
	margin-bottom: 30px;
}

.search-result-type {
	display: inline-block;
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--accent-color);
	margin-bottom: 12px;
}

.search-result-content h3 {
	margin-bottom: 15px;
}

.search-result-content h3 a {
	color: var(--primary-color);
}

.search-result-content p {
	margin-bottom: 20px;
}

.search-result-image img {
	width: 100%;
	height: 240px;
	object-fit: cover;
	border-radius: 18px;
}

.search-pagination {
	margin-top: 20px;
	text-align: center;
}

.search-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 46px;
	height: 46px;
	padding: 0 14px;
	margin: 0 6px;
	border-radius: 50px;
	background: #f3f3f3;
	color: var(--primary-color);
	font-weight: 700;
	text-decoration: none;
}

.search-pagination .page-numbers.current,
.search-pagination .page-numbers:hover {
	background: var(--accent-color);
	color: var(--primary-color);
}

.search-no-results {
	text-align: center;
	background: #f8f8f8;
	border-radius: 30px;
	padding: 60px 30px;
}

.search-no-results h3 {
	margin-bottom: 15px;
}

.search-no-results-links {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 16px;
	margin-top: 30px;
}

.search-no-results-links .btn-highlighted {
	background: var(--accent-color);
	color: var(--primary-color);
}

@media only screen and (max-width: 991px) {

	.page-not-found-section,
	.page-search-results {
		padding: 70px 0;
	}

	.page-not-found-content {
		padding-right: 0;
		margin-bottom: 40px;
	}
}

@media only screen and (max-width: 767px) {

	.search-form-404-group,
	.search-form-main-group {
		flex-direction: column;
		align-items: stretch;
	}

	.page-not-found-card h2 {
		font-size: 80px;
	}
}

/************************************/
/*** Header Search                 ***/
/************************************/

.orat-header-search {
	position: relative;
	display: flex;
	align-items: center;
	margin-left: 16px;
}

.orat-header-search-toggle {
	width: 48px;
	height: 48px;
	border: 1px solid rgba(255, 255, 255, 0.15);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.08);
	color: #ffffff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.3s ease;
	padding: 0;
}

.orat-header-search-toggle:hover {
	background: var(--accent-color);
	color: var(--primary-color);
	border-color: var(--accent-color);
}

.orat-header-search-dropdown {
	position: absolute;
	top: calc(100% + 14px);
	right: 0;
	width: 340px;
	background: #ffffff;
	border-radius: 18px;
	padding: 16px;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.14);
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: all 0.3s ease;
	z-index: 999;
}

.orat-header-search.active .orat-header-search-dropdown {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.orat-header-search-form {
	display: flex;
	align-items: center;
	gap: 10px;
}

.orat-header-search-form input[type="search"] {
	width: 100%;
	height: 52px;
	border: 1px solid #dcdcdc;
	border-radius: 12px;
	padding: 0 16px;
	outline: none;
	color: var(--primary-color);
	background: #fff;
}

.orat-header-search-form button {
	height: 52px;
	border: none;
	border-radius: 12px;
	padding: 0 18px;
	background: var(--accent-color);
	color: var(--primary-color);
	font-weight: 700;
	white-space: nowrap;
}

@media only screen and (max-width: 991px) {
	.orat-header-search {
		margin-left: 10px;
	}

	.orat-header-search-dropdown {
		right: -40px;
		width: 300px;
	}
}

@media only screen and (max-width: 575px) {
	.orat-header-search-toggle {
		width: 42px;
		height: 42px;
	}

	.orat-header-search-dropdown {
		width: 260px;
		right: -20px;
		padding: 12px;
	}

	.orat-header-search-form {
		flex-direction: column;
		align-items: stretch;
	}
}

.page-search-results {
	padding: 100px 0;
}

.search-top-form {
	margin-bottom: 40px;
}

.search-form-main-group {
	display: flex;
	align-items: center;
	gap: 15px;
}

.search-form-main-group input {
	width: 100%;
	height: 60px;
	border: 1px solid #dcdcdc;
	border-radius: 12px;
	padding: 0 16px;
	outline: none;
}

.search-result-item {
	height: 100%;
	background: #fff;
	border: 1px solid #e8e8e8;
	border-radius: 24px;
	padding: 30px;
	display: flex;
	flex-direction: column;
	gap: 20px;
	margin-bottom: 30px;
}

.search-result-type {
	display: inline-block;
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--accent-color);
	margin-bottom: 12px;
}

.search-result-content h3 {
	margin-bottom: 15px;
}

.search-result-content h3 a {
	color: var(--primary-color);
}

.search-result-image img {
	width: 100%;
	height: 240px;
	object-fit: cover;
	border-radius: 18px;
}

.search-pagination {
	margin-top: 20px;
	text-align: center;
}

.search-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 46px;
	height: 46px;
	padding: 0 14px;
	margin: 0 6px;
	border-radius: 50px;
	background: #f3f3f3;
	color: var(--primary-color);
	font-weight: 700;
	text-decoration: none;
}

.search-pagination .page-numbers.current,
.search-pagination .page-numbers:hover {
	background: var(--accent-color);
	color: var(--primary-color);
}

.search-no-results {
	text-align: center;
	background: #f8f8f8;
	border-radius: 30px;
	padding: 60px 30px;
}

.search-no-results h3 {
	margin-bottom: 15px;
}

.search-no-results-links {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 16px;
	margin-top: 30px;
}

.search-no-results-links .btn-highlighted {
	background: var(--accent-color);
	color: var(--primary-color);
}

@media only screen and (max-width: 767px) {
	.search-form-main-group {
		flex-direction: column;
		align-items: stretch;
	}
}

.search-result-content {
	display: flex;
	flex-direction: column;
	flex: 1;
}

.search-result-btn {
	margin-top: auto;
}








/* nuove modifiche search */
.page-search-results {
	padding: 90px 0 100px;
	background: #f5f7fb;
}

.search-top-form {
	margin-bottom: 40px;
}

.search-form-main-group {
	display: flex;
	gap: 12px;
	align-items: center;
}

.search-form-main .search-field {
	width: 100%;
	height: 56px;
	padding: 0 18px;
	border: 1px solid rgba(5, 46, 68, 0.15);
	border-radius: 10px;
	background: #fff;
	color: #052e44;
}

.search-results-list {
	row-gap: 30px;
}

.search-result-item,
.search-no-results {
	height: 100%;
	padding: 0px;
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 10px 35px rgba(5, 46, 68, 0.06);
}

.search-no-results {
	text-align: center;
}

.search-no-results h3 {
	margin-bottom: 12px;
	color: #052e44;
}

.search-no-results-links {
	display: flex;
	justify-content: center;
	gap: 12px;
	margin-top: 24px;
	flex-wrap: wrap;
}

.search-result-type {
	display: inline-block;
	margin-bottom: 10px;
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	color: #f4d84f;
}

.search-result-content h3 {
	margin-bottom: 15px;
}

.search-result-content h3 a {
	color: #052e44;
}

.search-result-content p {
	margin-bottom: 22px;
}

body.search .page-search-results-simple{
	padding: 80px 0 100px;
}

body.search .search-top-form{
	margin-bottom: 40px;
}

body.search .search-form-main-group{
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 12px;
	background: #fff;
	border: 1px solid #e5e5e5;
	border-radius: 18px;
}

body.search .search-form-main-group .search-field{
	width: 100%;
	height: 58px;
	border: none;
	background: transparent;
	padding: 0 18px;
	outline: none;
}

body.search .search-results-list > [class*="col-"]{
	margin-bottom: 30px;
}

body.search .search-result-item{
	width: 100%;
	height: 100%;
	background: #fff;
	border: 1px solid #ececec;
	border-radius: 22px;
	padding: 24px;
	box-shadow: 0 8px 24px rgba(0,0,0,0.03);
}

body.search .search-result-image{
	margin-bottom: 20px;
	border-radius: 16px;
	overflow: hidden;
}

body.search .search-result-image img{
	width: 100%;
	height: 230px;
	object-fit: cover;
	display: block;
}

body.search .search-result-type{
	display: inline-block;
	margin-bottom: 12px;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--accent-color);
}

body.search .search-result-content h3{
	margin: 0 0 14px;
	font-size: 26px;
	line-height: 1.25;
}

body.search .search-result-content h3 a{
	color: var(--primary-color);
	text-decoration: none;
}

body.search .search-result-content p{
	margin: 0;
	color: #6e6e6e;
	line-height: 1.7;
}

body.search .search-result-item--no-image{
	padding: 32px;
	min-height: 240px;
}

body.search .search-pagination{
	margin-top: 20px;
	text-align: center;
}

body.search .search-pagination .page-numbers{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 46px;
	height: 46px;
	padding: 0 14px;
	margin: 0 6px;
	border-radius: 50px;
	background: #f3f3f3;
	color: var(--primary-color);
	text-decoration: none;
	font-weight: 700;
}

body.search .search-pagination .page-numbers.current,
body.search .search-pagination .page-numbers:hover{
	background: var(--accent-color);
	color: #fff;
}

body.search .search-no-results{
	text-align: center;
	background: #f8f8f8;
	border-radius: 28px;
	padding: 50px 32px;
}

body.search .search-no-results h3{
	margin-bottom: 14px;
}

body.search .search-no-results p{
	margin: 0;
	color: #6e6e6e;
	line-height: 1.8;
}

@media only screen and (max-width: 767px){
	body.search .page-search-results-simple{
		padding: 55px 0 75px;
	}

	body.search .search-form-main-group{
		flex-direction: column;
		align-items: stretch;
	}

	body.search .search-result-content h3{
		font-size: 22px;
	}

	body.search .search-result-image img{
		height: 210px;
	}
}

.footer-copyright-text a{
	color: var(--accent-color) !important;
	text-decoration: none;
	font-weight: 600;
}

.footer-copyright-text a:hover{
	color: var(--accent-color) !important;
	text-decoration: underline;
	opacity: 0.9;
}

/************************************/
/*** HEADER MOBILE TOOLS          ***/
/************************************/

@media only screen and (max-width: 991px){

	.header-mobile-tools{
		display: flex;
		align-items: center;
		justify-content: flex-end;
		gap: 10px;
		flex-wrap: nowrap;
		margin-left: auto;
	}

	.header-mobile-tools > *{
		flex: 0 0 auto;
	}

	/* bottone / icone mobile */
	.header-mobile-tools .btn-default,
	.header-mobile-tools .orat-header-search-toggle,
	.header-mobile-tools .wpml-ls-item-toggle,
	.header-mobile-tools .trp-language-switcher > div{
		height: 42px;
		min-height: 42px;
		border-radius: 12px;
	}

	/* pulsante richiesta info */
	.header-mobile-tools .btn-default{
		padding: 0 16px;
		font-size: 13px;
		line-height: 1;
		white-space: nowrap;
		display: inline-flex;
		align-items: center;
		justify-content: center;
	}

	/* lente ricerca */
	.header-mobile-tools .orat-header-search{
		margin-left: 0;
		display: flex;
		align-items: center;
	}

	.header-mobile-tools .orat-header-search-toggle{
		width: 42px;
		height: 42px;
		padding: 0;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		border-radius: 12px;
	}

	.header-mobile-tools .orat-header-search-toggle svg{
		width: 18px;
		height: 18px;
	}

	.header-mobile-tools .orat-header-search-dropdown{
		top: calc(100% + 10px);
		right: 0;
		width: 260px;
		padding: 12px;
		border-radius: 16px;
	}

	.header-mobile-tools .orat-header-search-form{
		display: flex;
		flex-direction: column;
		gap: 10px;
	}

	.header-mobile-tools .orat-header-search-form input[type="search"]{
		height: 48px;
		border-radius: 12px;
		padding: 0 14px;
		font-size: 14px;
	}

	.header-mobile-tools .orat-header-search-form button{
		height: 46px;
		border-radius: 12px;
		font-size: 14px;
		padding: 0 16px;
	}

	/* lingue / bandiere */
	.header-mobile-tools .wpml-ls,
	.header-mobile-tools .trp-language-switcher{
		margin: 0;
	}

	.header-mobile-tools .wpml-ls-current-language > a,
	.header-mobile-tools .wpml-ls-item-toggle{
		height: 42px;
		padding: 0 10px;
		border-radius: 12px;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		line-height: 1;
	}

	.header-mobile-tools .wpml-ls-flag{
		width: 22px;
		height: auto;
		border-radius: 3px;
	}

	/* se hai il menu hamburger vicino */
	.header-mobile-tools + .responsive-menu,
	.header-mobile-tools + .mobile-nav-toggle{
		margin-left: 10px;
	}
}

@media only screen and (max-width: 767px){

	.header-mobile-tools{
		gap: 8px;
	}

	/* su schermi più piccoli nasconde il testo del bottone se vuoi */
	.header-mobile-tools .btn-default{
		padding: 0 12px;
		font-size: 12px;
		min-width: auto;
	}

	.header-mobile-tools .btn-default span{
		display: none;
	}

	.header-mobile-tools .orat-header-search-dropdown{
		width: 240px;
		right: -5px;
	}

	.header-mobile-tools .wpml-ls-current-language > a,
	.header-mobile-tools .wpml-ls-item-toggle,
	.header-mobile-tools .orat-header-search-toggle{
		width: 40px;
		height: 40px;
		min-height: 40px;
		padding: 0;
	}
}

@media only screen and (max-width: 991px){
	.header-logo img,
	.site-logo img,
	.navbar-brand img{
		max-height: 56px;
		width: auto;
	}
}

@media only screen and (max-width: 767px){
	.header-logo img,
	.site-logo img,
	.navbar-brand img{
		max-height: 50px;
		width: auto;
	}
}

@media only screen and (max-width: 575px){
	.header-logo img,
	.site-logo img,
	.navbar-brand img{
		max-height: 46px;
		width: auto;
	}
}