/***
 Theme Name: Athena
 Theme URI: http://demos.alithemes.com/html/athena
 Description: Minimal Blog HTML Template
 Author: alithemes.com
 Author URI: http://alithemes.com
 Version: 1.1
 License: GNU General Public License v2 or later
 License URI: http://www.gnu.org/licenses/gpl-2.0.html
==============================
TABLE CONTENT
	Include Third Party CSS Library
 	Import Google Fonts 
	GENERAL
	HEADER
	Offcanvas Sidebar
	Search form
	Main header
	Mega menu
	Header layouts
	Page layouts
	Pagination
	Breadcrumb
	CATEGORY PAGES
	SINGLE POST
	Author box
	comment
	Post share social
	WP STYPE
	Custom amine
***/

/* Import third party CSS library */
@import url(vendor/bootstrap.min.css);
@import url(vendor/slick.css);
@import url(vendor/slicknav.css);
@import url(vendor/animate.min.css);
@import url(vendor/nice-select.css);
/* @import url(vendor/perfect-scrollbar.css); */
@import url(vendor/athena-icons.css);

/*Google fonts
	font-family: 'Karla', sans-serif;
    font-family: 'Crimson Text', serif;
*/
@import url('https://fonts.googleapis.com/css2?family=Karla:wght@200;300;400;500;600;700&family=Crimson+Text:ital,wght@0,400;0,600;1,400&display=swap');

:root {
	--font-primary: 'Karla', sans-serif;
	--font-secondary: 'Karla', sans-serif;
	/* --font-secondary: 'Crimson Text', serif; */
	--color-mode: "light";
	--color-primary: #7D2D64;
	--color-secondary: #384883;
	/* --color-secondary: #D92B3A; */
	--color-success: #09815C;
	--color-danger: #e3363e;
	--color-warning: #e38836;
	--color-info: #4da7d4;
	--color-light: #f8f9f9;
	--color-grey: #4d4d4d;
	--color-dark: #1f1f1f;
	--color-black: #000000;
	--color-muted: #918f94;
	--color-white: #FFFFFF;
	--color-lighter: #f6f6f6;
	--primary-border-color: #eeeeee;
	--secondary-border-color: #f0f8ff;
	--mutted-border-color: #eaecee;
	--box-shadow-normal: 0 10px 10px rgba(0, 0, 0, 0.08);
	--box-shadow-hover: 0 4px 60px 0 rgba(0, 0, 0, 0.2);
	--button-shadow-color-normal: hsla(0, 0%, 42.4%, 0.2);
	--button-shadow-color-hover: hsla(0, 0%, 42.4%, 0.3);
}

/*Bootstrap color customize*/
.text-primary {
	color: var(--color-primary) !important;
}

.text-secondary {
	color: var(--color-secondary) !important;
}

.text-success {
	color: var(--color-success) !important;
}

.text-danger {
	color: var(--color-danger) !important;
}

.text-warning {
	color: var(--color-warning) !important;
}

.text-info {
	color: var(--color-info) !important;
}

.text-light {
	color: var(--color-light) !important;
}

.text-dark {
	color: var(--color-dark) !important;
}

.text-black {
	color: var(--color-black) !important;
}

.text-grey {
	color: var(--color-grey) !important;
}

.text-muted,
.text-muted a {
	color: var(--color-muted) !important;
}

.text-white {
	color: var(--color-white) !important;
}

.bg-primary {
	background-color: var(--color-primary) !important;
}

.bg-secondary {
	background-color: var(--color-secondary) !important;
}

.bg-success {
	background-color: var(--color-success) !important;
}

.bg-danger {
	background-color: var(--color-danger) !important;
}

.bg-warning {
	background-color: var(--color-warning) !important;
}

.bg-info {
	background-color: var(--color-info) !important;
}

.bg-light {
	background-color: var(--color-light) !important;
}

.bg-lighter {
	background-color: var(--color-lighter) !important;
}

.bg-grey {
	background-color: var(--color-grey) !important;
}

.bg-dark {
	background-color: var(--color-dark) !important;
}

.bg-black {
	background-color: var(--color-black) !important;
}

.bg-white {
	background-color: var(--color-white) !important;
}

.btn-primary {
	background-color: var(--color-primary);
	border-color: var(--color-primary);
}

.btn-secondary {
	background-color: var(--color-secondary);
	border-color: var(--color-secondary);
}

.btn-success {
	background-color: var(--color-success);
	border-color: var(--color-success);
}

.btn-danger {
	background-color: var(--color-danger);
	border-color: var(--color-danger);
}

.btn-warning {
	background-color: var(--color-warning);
	border-color: var(--color-warning);
}

.btn-info {
	background-color: var(--color-info);
	border-color: var(--color-info);
}

.btn-outline-primary {
	color: var(--color-dark);
	background-color: transparent;
	background-image: none;
	border-color: var(--color-dark);
}

.btn-outline-primary:hover {
	background-color: var(--color-dark);
	border-color: var(--color-dark);
}

.btn-outline-white {
	color: var(--color-white);
	background-color: transparent;
	background-image: none;
	border-color: var(--color-white);
}

.btn-outline-white:hover {
	background-color: var(--color-white);
	border-color: var(--color-dark);
	color: var(--color-dark);
}

.border-radius-0 {
	border-radius: 0 !important;
}

.form-control:focus {
	outline: none;
	border-color: var(--mutted-border-color);
}

a.bg-primary:focus,
a.bg-primary:hover,
button.bg-primary:focus,
button.bg-primary:hover {
	background-color: var(--color-danger) !important;
}

.border-radius-3 {
	border-radius: 3px;
}

.border-radius-5 {
	border-radius: 5px;
}

.border-radius-10 {
	border-radius: 10px;
}

.container-larger {
	margin-left: auto;
	margin-right: auto;
	padding-right: 15px;
	padding-left: 15px;
}

.bg-1 {
	background: #ece1e1;
}

.bg-2 {
	background: #e7f7ec;
}

.bg-3 {
	background: #e8f2fb;
}

/* GENERAL */
body {
	font-family: var(--font-primary);
	font-weight: normal;
	font-style: normal;
	color: var(--color-black)
}

h1,
h2,
h3,
h4,
h5,
h6,
.font-heading,
.font-primary,
.btn,
.post-title {
	font-style: normal;
	font-weight: 500;
	text-transform: none;
	font-family: var(--font-primary);
}

.entry-wraper p,
.entry-page-wraper p {
	font-family: var(--font-secondary);
	font-size: 19px
}

.entry-wraper p a {
	font-weight: normal;
	text-decoration: none;
	font-style: italic;
	border-bottom: 2px solid var(--mutted-border-color);
}

.entry-wraper sup a {
	border: 0;
	color: var(--color-primary)
}

.font-secondary {
	font-family: var(--font-secondary)
}

p {
	margin-bottom: 1.2em;
	font-weight: 400
}

.img {
	max-width: 100%;
	-webkit-transition: all .3s ease-out 0s;
	-moz-transition: all .3s ease-out 0s;
	-ms-transition: all .3s ease-out 0s;
	-o-transition: all .3s ease-out 0s;
	transition: all .3s ease-out 0s
}

.img-circle {
	border-radius: 50%;
}

.overflow-hidden {
	overflow: hidden
}

.clear {
	clear: both
}

/* a,
.button { */
/* -webkit-transition: all .3s ease-out 0s;
	-moz-transition: all .3s ease-out 0s;
	-ms-transition: all .3s ease-out 0s;
	-o-transition: all .3s ease-out 0s;
	transition: all .3s ease-out 0s */
/* } */

*:focus {
	text-decoration: none;
	outline: none
}

a {
	color: var(--color-dark);
}

a:hover {
	/* color: var(--color-primary); */
	color: var(--color-dark);
}

.post-meta a:hover {
	text-decoration: none !important;
}

a.social-icon:hover {
	color: var(--color-primary);
	-webkit-transition: all .3s ease-out 0s;
	-moz-transition: all .3s ease-out 0s;
	-ms-transition: all .3s ease-out 0s;
	-o-transition: all .3s ease-out 0s;
	transition: all .3s ease-out 0s
}


a:focus,
a:hover {
	text-decoration: underline
}

.transition-02s,
.transition-02s:hover {
	-webkit-transition: all .3s ease-out 0s;
	-moz-transition: all .3s ease-out 0s;
	-ms-transition: all .3s ease-out 0s;
	-o-transition: all .3s ease-out 0s;
	transition: all .3s ease-out 0s;
}

*:focus,
select:focus,
.custom-select:focus,
button:focus,
textarea:focus,
textarea.form-control:focus,
input.form-control:focus,
input[type=text]:focus,
input[type=password]:focus,
input[type=email]:focus,
input[type=number]:focus,
[type=text].form-control:focus,
[type=password].form-control:focus,
[type=email].form-control:focus,
[type=tel].form-control:focus,
[contenteditable].form-control:focus {
	outline: none !important;
	box-shadow: none;
}

input:focus::-moz-placeholder {
	opacity: 0;
	-webkit-transition: .4s;
	-o-transition: .4s;
	transition: .4s
}

h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a {
	color: inherit
}

ul {
	margin: 0px;
	padding: 0px
}

li {
	list-style: none
}

hr {
	border-bottom: 1px solid #eceff8;
	border-top: 0 none;
	margin: 30px 0;
	padding: 0
}

img,
image,
video {
	max-width: 100%;
}

ul {
	padding: 0;
	margin: 0;
}

figure {
	position: relative;
}

::placeholder {
	color: #838383
}

.section-padding {
	padding-top: 120px;
	padding-bottom: 120px
}

.font-x-small {
	font-size: 10px;
}

.font-small {
	font-size: 12px;
}

.font-medium {
	font-size: 14px;
}

.font-large {
	font-size: 20px;
}

.font-weight-thin {
	font-weight: 300;
}

.font-weight-normal {
	font-weight: 400;
}

.font-weight-bold {
	font-weight: 700;
}

.font-weight-ultra {
	font-weight: 900;
}

.has-top-border,
.separator {
	border-top: 1px solid rgb(225, 225, 255);
}

.btn.focus,
.btn:focus {
	outline: 0;
	box-shadow: none
}

#scrollUp {
	right: 31px;
	bottom: 18px;
	font-size: 22px;
}

.img-link {
	display: block;
	width: 100%;
	height: 100%;
	position: absolute;
	z-index: 1;
}

.font-weight-900 {
	font-weight: 900
}

.has-border {
	border: 1px solid var(--mutted-border-color)
}

/*sticky*/
.sticky-bar {
	left: 0;
	margin: auto;
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 1008;
	-webkit-animation: 300ms ease-in-out 0s normal none 1 running fadeInDown;
	animation: 300ms ease-in-out 0s normal none 1 running fadeInDown;
	background: #fff;
}

.sticky-bar .divider-2 {
	display: none
}

.preloader {
	position: fixed;
	top: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100vh;
	background-color: #fff;
	z-index: 999999;
	-webkit-transition: .6s;
	-o-transition: .6s;
	transition: .6s;
}

.circle {
	margin: 40px auto;
	position: relative;
	width: 12px;
	height: 12px;
	background-color: var(--color-secondary);
	box-shadow: -20px 0px 0px var(--color-secondary);
	border-radius: 50%;
	-webkit-animation: circle_classic 1s ease-in-out infinite alternate;
	-moz-animation: circle_classic 1s ease-in-out infinite alternate;
	animation: circle_classic 1s ease-in-out infinite alternate;
}

@-webkit-keyframes circle_classic {
	0% {
		opacity: 0.1;
		-webkit-transform: rotate(0deg) scale(0.5);
	}

	100% {
		opacity: 1;
		-webkit-transform: rotate(360deg) scale(1.2);
	}
}

@-moz-keyframes circle_classic {
	0% {
		opacity: 0.1;
		-moz-transform: rotate(0deg) scale(0.5);
	}

	100% {
		opacity: 1;
		-moz-transform: rotate(360deg) scale(1.2);
	}
}

@keyframes circle_classic {
	0% {
		opacity: 0.1;
		transform: rotate(0deg) scale(0.5);
	}

	100% {
		opacity: 1;
		transform: rotate(360deg) scale(1.2);
	}
}

.hide {
	opacity: 0;
	transition-delay: 0.5s;
	pointer-events: none;
}

.text-limit-2-row {
	overflow: hidden !important;
	display: -webkit-box !important;
	-webkit-line-clamp: 2 !important;
	-webkit-box-orient: vertical;
}

.text-limit-3-row {
	overflow: hidden !important;
	display: -webkit-box !important;
	-webkit-line-clamp: 3 !important;
	-webkit-box-orient: vertical;
}

.scroll-progress {
	height: 2px;
	width: 0px;
	z-index: 9999999;
	position: fixed;
	top: 0;
}

/*cursor*/
#off-canvas-toggle,
.user-account,
.subscribe,
.search-close,
button.slick-arrow,
.off-canvas-close,
.search-button,
button.search-icon,
.single-more-articles-close,
.search-btn {
	cursor: pointer;
}

/*Header*/
.header-logo h1 {
	font-size: 3rem;
	font-weight: normal;
	line-height: 1;
	margin: 0;
	padding: 0;
}

.header-logo h1 a,
.header-logo h1 a:hover {
	color: #000;
}

.header-logo .tagline {
	font-size: 10px;
	opacity: 0.82;
	letter-spacing: 0.5px;
	margin: 0;
}

.header-style-1 {
	border-bottom: 1px solid var(--primary-border-color);
	/* height:85px; */
}

.header-bottom{
	padding: 10px 0;
}

/*Offcanvas Sidebar*/
#off-canvas-toggle span {
	position: relative;
	width: 29px;
	background: none;
	height: 1px;
	display: inherit;
}

#off-canvas-toggle span::before,
#off-canvas-toggle span::after {
	background: var(--color-dark);
	display: inherit;
	height: 1px;
}

#off-canvas-toggle span::before,
#off-canvas-toggle span::after {
	content: "";
	left: 0;
	position: absolute;
	right: 0;
}

#off-canvas-toggle span::before {
	top: -10px;
	width: 100%;
}

#off-canvas-toggle span::after {
	top: 0;
	width: 100%;
}

#off-canvas-toggle p {
	display: inline;
	font-size: 12px;
	margin: 0 0 0 5px;
}

.off-canvas-close {
	background: none;
	border: 0;
	width: 30px;
	height: 30px;
	position: absolute;
	top: 30px;
	left: 50px;
}

.off-canvas-close i {
	color: #fff;
}

.off-canvas-close i::before {
	font-size: 22px;
}

.off-canvas-toggle-cover {
	text-align: right;
}



#sidebar-wrapper {
	background: var(--color-dark);
	height: 100%;
	left: 0;
	overflow-y: auto;
	overflow-x: hidden;
	position: fixed;
	width: 0;
	z-index: 1009;
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
	-o-transition: all 0.3s ease;
	transition: all 0.3s ease;
	top: 0;
}

#sidebar-wrapper.position-right {
	right: 0;
	left: unset;
}

.canvas-opened #sidebar-wrapper {
	width: 380px;
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
	-o-transition: all 0.3s ease;
	transition: all 0.3s ease;
}

.canvas-opened #off-canvas-toggle span {
	background: none;
}

.canvas-opened #off-canvas-toggle span::after {
	top: -4px;
	width: 29px;
	transform: rotate(-45deg);
}

.canvas-opened #off-canvas-toggle span::before {
	top: -4px;
	width: 29px;
	transform: rotate(45deg);
}

.sidebar-inner {
	padding: 120px 50px 50px 50px;
	display: table;
	height: 100%;
}

#sidebar-wrapper a {
	color: var(--color-white);
}

#sidebar-wrapper a:hover {
	color: var(--color-primary);
}

#sidebar-wrapper .sidebar-widget {
	margin-bottom: 60px;
}

.dark-mark {
	opacity: 0;
	visibility: hidden;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 1003;
	width: 100%;
	height: 100%;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	-webkit-tap-highlight-color: transparent;
	-webkit-transition: visibility 0s linear .3s, opacity .3s ease, -webkit-transform .3s ease;
	/* transition: visibility 0s linear .3s,opacity .3s ease,-webkit-transform .3s ease; */
	/* transition: visibility 0s linear .3s,transform .3s ease,opacity .3s ease; */
	transition: visibility 0s linear .3s, transform .3s ease, opacity .3s ease, -webkit-transform .3s ease;
}

.open-search-form .dark-mark {
	background-color: var(--color-dark);
}

.canvas-opened .dark-mark,
.open-search-form .dark-mark {
	opacity: 1;
	visibility: visible;
	-webkit-transition: opacity .3s ease, -webkit-transform .3s ease;
	transition: opacity .3s ease, -webkit-transform .3s ease;
	transition: transform .3s ease, opacity .3s ease;
	transition: transform .3s ease, opacity .3s ease, -webkit-transform .3s ease;
}

/*Search form*/
body.open-search-form {
	overflow: hidden;
}

.main-search-form.main-search-form {
	background: #fff;
	height: 100%;
	right: 0;
	overflow-y: auto;
	overflow-x: hidden;
	position: fixed;
	width: 0;
	z-index: 1009;
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
	-o-transition: all 0.3s ease;
	transition: all 0.3s ease;
	top: 0;
	border-left: 1px solid #eee;
}

.open-search-form .main-search-form {
	width: 50%;
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
	-o-transition: all 0.3s ease;
	transition: all 0.3s ease;
}

.search-text-bg {
	font-size: 80px;
	opacity: 0.1;
}

.main-search-form-cover {
	max-width: 800px;
}

.search-header {
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: var(--color-muted);
	font-style: italic;
}

.search-header .form-control {
	border-width: 0;
	padding-left: 0
}

.btn.btn-search {
	font-weight: normal
}

.search-header input[type="text"] {
	font-size: 18px;
}

.search-header .custom-select {
	border: 0;
	border-radius: 0;
	height: 48px;
	background-color: #f5f5f5;
}

.search-header .nice-select {
	-ms-flex-preferred-size: 110px !important;
	flex-basis: 110px !important;
	-webkit-box-flex: 0 !important;
	-ms-flex-positive: 0 !important;
	flex-grow: 0 !important;
	margin-left: 0 !important;
}

.search-header button {
	border-radius: 0;
	padding-left: 15px;
	padding-right: 15px;
}

.main-content {
	/* z-index: 1; */
	position: relative;
}

/*Main header*/
/* .main-header ul > li a{line-height:65px;} */
/* .main-header li.menu-item-has-children a{position:relative;} */
/* .main-header li.menu-item-has-children > a::after{content: "";width:5px;height:5px;position:absolute;background:none;border-radius:50%;border:1px solid var(--color-primary);top:-3px;right:-5px;} */
/* .main-header li.menu-item-has-children > a::after{width:5px;height:5px;position:absolute;background:none;border-radius:50%;border:1px solid var(--color-primary);top:-3px;right:-5px;} */

.main-header .main-menu ul.sub-menu {
	text-align: left;
	position: absolute;
	min-width: 190px;
	background: #fff;
	left: 0;
	top: 130%;
	visibility: hidden;
	opacity: 0;
	padding: 25px;
	-webkit-transition: all .3s ease-out 0s;
	-moz-transition: all .3s ease-out 0s;
	-ms-transition: all .3s ease-out 0s;
	-o-transition: all .3s ease-out 0s;
	transition: all .3s ease-out 0s;
	z-index: 9999;
	border: 1px solid #eee;
	border-radius: 0;
}

.main-header ul>li:hover>ul.sub-menu {
	visibility: visible;
	opacity: 1;
	top: 120%;
}

.main-header ul ul.sub-menu {
	display: block;
	padding-left: 15px;
}

.main-header ul ul.sub-menu>li {
	padding: 10px 0;
}

.main-header ul ul.sub-menu>li>a {
	font-weight: 400;
	line-height: 1
}

.main-header ul ul.sub-menu>li>a:hover {
	text-decoration: none;
	/* padding-left: 0.5rem; */
	color: var(--color-muted);
}

.header-logo,
.header-social-network,
.search-icon {
	position: relative;
}

/* Mega menu */
.main-menu {
	list-style-type: none;
	margin: 0;
	height: 100%;
	align-items: center;
}

.main-menu>li {
	height: 100%;
	position: relative;
	display: inline-block;
	padding: 0 20px;
	text-transform: uppercase;
}

.main-menu > li:first-child.current-item {
    z-index: 10;
}

.main-menu > li.current-item > a {
    position: relative; /* Necessario per ancorare gli elementi */
	/* transform:  rotate(-1.5deg); */
	color: var(--color-primary);
	font-weight: 700;

}

/* --- CONFIGURAZIONE COMUNE per America/Asia/ecc --- */
/* 1. LA CORNICE ESTERNA (Spessa) - Usa ::after come facevi tu */
.main-menu > li:not(:first-child).current-item > a::after {
    content: "";
    position: absolute;
    top: 50%; left: 50%;
	color: var(--color-primary);
    
    /* Dimensioni larghe */
    width: calc(100% + 22px);
    height: calc(100% + 10px);
    
    /* Stile: Linea SPESSA (3px solid) */
    border: 3px solid var(--color-primary); 
    border-radius: 12px;
    
    /* Rotazione e Filtro */
    /* transform: translate(-50%, -50%) rotate(-1.5deg); */
    transform: translate(-50%, -50%);

    filter: url(#dry-ink-filter);
    
    z-index: -1;
    opacity: 0.8;
    pointer-events: none;
}

/* 2. LA CORNICE INTERNA (Sottile) - Aggiungiamo ::before */
.main-menu > li:not(:first-child).current-item > a::before {
    content: "";
    position: absolute;
    top: 50%; left: 50%;
	color: var(--color-primary);
    
    /* Dimensioni leggermente più piccole per creare lo spazio */
    width: calc(100% + 12px);
    height: calc(100%);
    
    /* Stile: Linea SOTTILE (1px solid) */
    border: 1px solid var(--color-primary);
    border-radius: 8px; /* Raggio un po' più piccolo */
    
    /* Stessa rotazione per allinearli */
    /* transform: translate(-50%, -50%) rotate(-1.5deg); */
	transform: translate(-50%, -50%);
    filter: url(#dry-ink-filter);
    
    z-index: -1;
    opacity: 0.8;
    pointer-events: none;
}

/* Timbro Rotondo SOLO per la Home */
/* 1. GRUPPO ESTERNO (Cerchio Spesso + Cerchio Sottile) */
.main-menu > li:first-child.current-item > a::after {
    content: "";
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%) ;
	 /* transform: translate(-50%, -50%) rotate(-5deg); */
    
    /* Dimensione: Leggermente più grande per armonizzare */
    /* width: 70px; 
    height: 70px; */
	width: 0px; 
    height: 0px;
    
    /* A) CERCHIO ESTERNO: Spessore ridotto a 2px (più elegante) */
    /* border: 1.5px solid var(--color-primary);  */
	border: 0px solid var(--color-primary); 
    border-radius: 50%;

	/* outline: 3px solid var(--color-primary);  */
    /* outline-offset: 3px; */
    
    /* B) CERCHIO DI MEZZO: Sottilissimo e più vicino all'esterno */
    /* inset 0 0 0 3px transparent = spazio vuoto di 3px */
    /* inset 0 0 0 4px ...         = linea di 1px */
    /* box-shadow: inset 0 0 0 8px transparent, inset 0 0 0 0px var(--color-primary); */


    /* Effetti */
    filter: url(#dry-ink-filter);
    z-index: -1;
    opacity: 0.9;
    pointer-events: none;
}

/* 2. CERCHIO INTERNO (Il più vicino al testo) */
.main-menu > li:first-child.current-item > a::before {
    content: "";
    position: absolute;
    top: 50%; left: 50%;
    /* transform: translate(-50%, -50%) rotate(-5deg); */
	transform: translate(-50%, -50%);
    
    /* Dimensione: Aumentata a 44px (era 36px) per dare aria al testo */
    width: 44px; 
    height: 44px;
    
    /* Spessore: 1.5px per essere visibile ma non pesante */
    /* border: 1px solid var(--color-primary); */
	border: 0px solid var(--color-primary);
    border-radius: 50%;
    
    /* IL TAGLIO PERFETTO: */
    /* Regolato per lasciare spazio esatto alla scritta HOME */
    -webkit-mask-image: linear-gradient(to bottom, black 20%, transparent 32%, transparent 80%, black 8%);
    mask-image: linear-gradient(to bottom, black 20%, transparent 32%, transparent 80%, black 8%);
    
    /* Effetti */
    filter: url(#dry-ink-filter);
    z-index: -1;
    opacity: 0.9;
    pointer-events: none;
}

.main-menu>li.current-item > a::before {
    content: none;
}

.main-menu>li.current-item > a::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 49%;
    transform: translate(-50%, -50%) rotate(-1.5deg); /* Added tiny tilt */
    width: calc(100% + 20px);
    height: calc(100% + 6px);
    border: 4px double var(--color-primary); /* Double line border */
    border-radius: 12px; /* Rounded corners */
	filter: url(#dry-ink-filter);
    z-index: -1;
    opacity: 0.8;
    pointer-events: none;
    background: transparent;
	box-shadow: 0 0 2px rgba(90, 74, 66, 0.4);
}

.main-menu>li:first-child {
	padding-left: 0;
}

.main-menu>li.mega-menu-item {
	position: static;
}

.main-menu>li>a {
	color: var(--color-dark);
	text-transform: uppercase;
	text-decoration: none;
	letter-spacing: 0.15em;

	display: inline-block;
	padding: 10px 0px;
	position: relative;
}

.main-menu>li>a:hover {
    color: var(--color-primary);
    /* transform:  rotate(-1.5deg); */
}

/* .main-menu>li>a:after {
	content: none;
} */

.sub-mega-menu {
	flex-wrap: wrap;
	position: absolute;
	top: unset;
	left: 0;
	width: 100%;
	transform: scaleY(0);
	height: 0px;
}

.mega-menu-item.open .sub-mega-menu {
	transition: transform 0.3s ease-in-out;
	height: auto;
	transform: scaleY(1);
	transform-origin: top;
	z-index: 999;
}

.sub-mega-menu .nav {
	width: 180px;
	padding: 30px 0 0 30px;
}

.sub-mega-menu .tab-content {
	width: calc(100% - 180px);
}

.sub-mega-menu .nav-pills .nav-link {
	font-size: 12px;
	line-height: 1.8;
	color: #222;
	border-radius: 30px;
	padding: 5px 20px;
	text-align: left;
	border-radius: 50px;
}

.sub-mega-menu .nav-pills .nav-link.active,
.sub-mega-menu .show>.nav-pills .nav-link {
	color: #fff;
	background-color: #7f8991;
}

.sub-mega-menu .tab-content .tab-pane {
	padding: 25px 50px 35px 30px;
}

.main-header .main-nav ul li .sub-mega-menu.sub-menu-list {
	padding: 20px 0;
	line-height: 35px;
	background: #fff;
	margin-top: 2px;
	box-shadow: 0px 40px 40px 0px rgba(0, 0, 0, 0.05);
	-moz-box-shadow: 0px 40px 40px 0px rgba(0, 0, 0, 0.05);
	-webkit-box-shadow: 0px 40px 40px 0px rgba(0, 0, 0, 0.05);
	-o-box-shadow: 0px 40px 40px 0px rgba(0, 0, 0, 0.05);
	-ms-box-shadow: 0px 40px 40px 0px rgba(0, 0, 0, 0.05);
}

.main-header .main-nav ul li .sub-mega-menu.sub-menu-list a {
	line-height: 35px;
	font-weight: 500;
}

.main-header .main-nav ul li.mega-menu-item .tab-content a {
	padding: 0;
	text-transform: none;
}

.header-sticky.sticky-bar.sticky .header-flex {
	justify-content: space-between
}

.header-sticky.sticky-bar.sticky .header-btn .get-btn {
	padding: 20px 20px
}

.header-area .slicknav_btn {
	top: -51px;
	right: 17px
}

.slicknav_menu .slicknav_nav a:hover {
	background: transparent;
}

.slicknav_menu {
	background: transparent;
}

.mobile_menu {
	position: fixed;
	right: 0px;
	width: 100%;
	z-index: 999;
}

.header-top {
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: var(--mutted-border-color);
    background-color: #fafafa;
    padding: 6px 0;
}

.header-social-follow {
    display: flex;
    align-items: center;
}

.header-social-follow .follow-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-right: 12px;
    color: var(--color-grey);
    font-weight: 600;
}

.header-social-follow .social-icon {
    color: var(--color-dark);
    font-size: 14px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #eee;
}

.header-social-follow .social-icon:hover {
    color: #fff;
    background: var(--color-primary);
    border-color: var(--color-primary);
    box-shadow: 0 3px 8px rgba(193, 53, 132, 0.2);
}

.header-top-right {
	display: flex;
	justify-content: flex-end;
	align-items: center;
}

.header-tools {
	padding: 15px 0;
}

.vertical-divider {
	width: 1px;
	height: 20px;
	background-color: var(--color-dark);
}

.header-style-1 .divider-2 {
	margin-top: -2px;
}

.main-header.header-style-1 h1.logo {
	font-weight: 900;
	font-size: 40px;
	line-height: 65px;
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
}

.main-header.header-style-1 .mobile_menu li.menu-item-has-children>a::after {
	content: none;
}

.header-style-2 .header-divider {
	background: var(--primary-border-color);
	height: 1px;
}

.header-style-2.sticky-bar .header-logo {
	display: none !important;
}



/* footer.fixed-footer {
	position: fixed;
	bottom: 0;
	left: 0;
	z-index: -1;
	width: 100%;
	min-height: 200px;
} */

body {
	min-height: 100vh;
	position: relative;
}

#footer {
	/* position: absolute; */
	bottom: 0;
	width: 100%;
}

/*Breadcrumb*/
.breadcrumb {
	font-size: 0.875rem;
	background: none;
}

.breadcrumb span {
	position: relative;
	text-align: center;
	padding: 0 10px;
}

/* .breadcrumb span::before{content:"\f100";display:inline-block;font-family:athenaicon;} */
.breadcrumb span.no-arrow::before {
	content: none;
}

/*SINGLE POST*/
.entry-meta .author-avatar {
	float: left;
	margin: -3px 15px 0 0;
}

.entry-meta .author-avatar img {
	height: 40px;
	width: 40px;
	border: 2px solid #fff;
}

.entry-meta span {
	position: relative;
}

.entry-header .entry-title {
	font-size: 3.2em;
}

.entry-wraper .excerpt p,
.entry-page-wraper .excerpt p,
.single-excerpt p {
	font-size: 1.2em;
	font-style: italic;
	color: rgba(0, 0, 0, 0.65);
}

.dropcap p:first-child::first-letter {
	font-size: 4em;
	float: left;
	margin-top: .15em;
	margin-right: 0.15em;
	line-height: 1;
}

.dropcap blockquote p:first-child::first-letter {
	font-size: inherit;
	margin: 0;
	line-height: inherit;
	float: none;
}

.entry-main-content h1,
.entry-main-content h2,
.entry-main-content h3,
.entry-main-content h4,
.entry-main-content h5,
.entry-main-content h6 {
	font-weight: 700;
}

.entry-wraper {
	position: relative;
}

.entry-left-col {
	position: absolute;
	left: -20%;
	height: 200vh;
	z-index: 2;
	top: 3rem;
	bottom: 0;
}

.social-sticky {
	position: -webkit-sticky;
	position: sticky;
	top: 70px;
}

.social-sticky a {
	display: block;
	color: rgba(0, 0, 0, .54);
	border-radius: 50%;
	border: 1px solid rgba(0, 0, 0, .34);
	width: 30px;
	height: 30px;
	text-align: center;
	line-height: 30px;
	margin-bottom: 0.5rem;
	font-size: 13px;
}

.single-tools {
	display: table;
	float: right;
	background: #f5f5f5;
	padding: 7px 15px;
	border-radius: 2px;
}

.overflow-hidden {
	overflow: hidden;
}

.single-social-share {
	max-width: 500px;
	margin: 0 auto;
}

.single-social-share p {
	font-family: var(--font-primary);
	font-size: 18px;
}

.single-social-share a {
	width: 35px;
	display: block;
	height: 35px;
	text-align: center;
	line-height: 37px;
	font-size: 12px;
	border-radius: 50%;
	background-color: #eee;
}

.single-thumnail .arrow-cover i {
	color: #fff;
}

.single-excerpt p {
	line-height: 1.5;
}

.entry-main-content {
	font-size: 1.2em;
}

.entry-main-content p {
	line-height: 1.45;
}

.entry-main-content h2 {
	line-height: 1.25;
	margin-top: 30px;
	margin-bottom: 28px;
	font-size: 1.5rem;
}

.entry-main-content figure {
	margin-bottom: 30px;
	margin-top: 30px;
}

.entry-bottom .tags a {
	display: inline-block;
	font-weight: normal;
	text-decoration: none;
	margin-top: 2px;
	margin-bottom: 2px;
	margin-right: 5px;
	border-radius: 2px;
	font-size: 14px;
	text-transform: capitalize;
	font-style: italic;
	border-bottom: 1px solid rgb(225, 225, 225);
}

.related-posts .img-hover-slide {
	min-height: 200px;
}

blockquote {
	position: relative;
	border-left: 0;
	padding: 0px 70px;
	font-weight: 400;
	margin-bottom: 1.5rem;
	font-style: italic;
}

blockquote::before {
	content: "\f112";
	top: 50%;
	left: 0;
	position: absolute;
	font-family: athenaicon;
	font-size: 40px;
	transform: translateY(-50%);
}

.entry-main-content blockquote p {
	font-size: 1.2em;
	color: rgba(0, 0, 0, 0.65);
}

blockquote p:last-child,
blockquote ul:last-child,
blockquote ol:last-child {
	margin-bottom: 0;
}

.btn-play-video {
	color: #fff;
	border: 1px solid #fff;
	width: 50px;
	height: 40px;
	display: inline-block;
	border-radius: 5px;
	text-align: center;
	line-height: 40px;
	font-size: 20px;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 9;
	background: rgba(0, 0, 0, 0.5);
}

.entry-header-style-2 {
	position: relative;
	background-color: #f6f8fa;
	background-position: center;
	background-size: cover;
	text-align: center;
	min-height: 500px
}

.entry-header-content {
	position: relative;
	z-index: 3
}

.search-form-404 {
	max-width: 500px;
	margin: 0 auto;
}

/*Author box*/
.bt-1 {
	border-top: 1px solid;
}

.border-color-1 {
	border-color: rgb(225, 225, 225);
}

.author-bio {
	margin-bottom: 40px;
	text-align: left;
	display: flex;
	border-bottom: 1px solid rgb(225, 225, 225);
	padding-bottom: 40px;
}

.author-bio .author-image img {
	border-radius: 50%;
	width: 90px;
	height: 90px;
}

.author-bio .author-image {
	flex-grow: 0;
	flex-shrink: 0;
	overflow: hidden;
	width: 90px;
	height: 90px;
	margin-right: 40px;
}

.author-bio .author-info {
	flex-grow: 1;
}

.author-bio h3 {
	font-size: 22px;
	margin-bottom: 10px;
}

.author-bio h5 {
	font-size: 12px;
	text-transform: uppercase;
	margin-bottom: 0;
	font-weight: 500;
	color: var(--color-black);
}

.author-bio .author-description {
	margin-top: 15px;
	margin-bottom: 15px;
}

.author-bio .author-bio-link {
	display: inline-block;
	font-weight: normal;
	text-decoration: none;
	margin-right: 20px;
	text-transform: capitalize;
	border-bottom: 1px solid rgb(225, 225, 225);
	color: #666;
	font-size: 14px;
}

.author-bio .author-social {
	display: inline-block;
}

.author-bio .author-social-icons {
	margin: 0;
	padding: 0;
	list-style: none;
}

.author-bio .author-social-icons li {
	display: inline-block;
}

.author-bio .author-social-icons li:first-child a {
	margin-left: 0;
}

.author-bio .author-social-icons li a {
	text-align: center;
	font-size: 16px;
	margin-left: -1px;
	padding-top: 0;
	display: block;
	margin-left: 20px;
}

.author-bio .author-social-icons li a i {
	font-size: 14px;
}

.author .author-bio {
	margin: 0;
	padding: 50px;
	border: 0;
	background: #f4f5f9;
	border-radius: 5px;
}

.archive-header .author-bio img.avatar {
	max-width: 100px
}

.archive-header .author-bio {
	border: 0;
}

/*comment*/
.comments-area {
	background: transparent;
	margin-top: 50px;
}

.comments-area h4 {
	margin-bottom: 35px;
	color: #2a2a2a;
	font-size: 18px;
}

.comments-area h5 {
	font-size: 16px;
	margin-bottom: 0px;
}

.comments-area a {
	color: #2a2a2a;
}

.comments-area .comment-list {
	padding-bottom: 48px;
}

.comments-area .comment-list:last-child {
	padding-bottom: 0px;
}

.comments-area .comment-list.left-padding {
	padding-left: 25px;
}

.comments-area .thumb {
	margin-right: 20px;
}

.comments-area .thumb img {
	width: 70px;
	border-radius: 50%;
}

.comments-area .date {
	font-size: 14px;
	color: #999999;
	margin-bottom: 0;
	margin-left: 20px;
}

.comments-area .comment {
	margin-bottom: 10px;
}

.comments-area .btn-reply {
	background-color: transparent;
	color: #888888;
	font-size: 14px;
	display: block;
	font-weight: 400;
	border-bottom: 1px solid rgb(225, 225, 225);
	font-style: italic;
}

.comment-form {
	padding-top: 45px;
	margin-top: 50px;
	margin-bottom: 20px;
}

.comment-form .form-group {
	margin-bottom: 30px;
}

.comment-form h4 {
	margin-bottom: 40px;
	font-size: 18px;
	line-height: 22px;
	color: #2a2a2a;
}

.comment-form .name {
	padding-left: 0px;
}

.form-control {
	border: 1px solid rgb(225, 225, 225);
	border-radius: 0px;
	height: 48px;
	padding-left: 18px;
	font-size: 14px;
	background: transparent;
	background: #fff
}

.btn {
	border-radius: 0
}

textarea.form-control {
	border-radius: 0
}

.form-control:focus {
	outline: 0;
	box-shadow: none;
}

.form-control::placeholder {
	font-weight: 300;
	color: #999999;
}

.form-control::placeholder {
	color: #777777;
}

.custom_select {
	position: relative;
	width: 100%;
}

.custom_select .nice-select {
	width: 100%;
	margin-bottom: 1rem;
}

.nice-select .list {
	width: 100%;
}

.comment-form textarea {
	padding-top: 18px;
	border-radius: 0;
	height: 100% !important;
	background: #fff
}

.comment-form::-webkit-input-placeholder {
	/* Chrome/Opera/Safari */
	font-size: 13px;
	color: #777;
}

.comment-form::-moz-placeholder {
	/* Firefox 19+ */
	font-size: 13px;
	color: #777;
}

.comment-form:-ms-input-placeholder {
	/* IE 10+ */
	font-size: 13px;
	color: #777;
}

.comment-form:-moz-placeholder {
	/* Firefox 18- */
	font-size: 13px;
	color: #777;
}

.button {
	display: inline-block;
	border: 1px solid transparent;
	font-size: 14px;
	font-weight: 500;
	padding: 12px 24px;
	border-radius: 0;
	color: #fff;
	border: 1px solid var(--color-dark);
	text-transform: uppercase;
	background: var(--color-dark);
	cursor: pointer;
	transition: all 300ms linear 0s;
}

.button:hover {
	background: var(--color-primary);
	border: 1px solid var(--color-primary);
	text-decoration: none;
	color: white;
}

.single-comment.depth-2 {
	margin-left: 50px;
}

/*BONUS: WORDPRESS STYPE*/
.wp-block-separator {
	border-top: 1px solid #f4f5f9;
	margin-top: 20px;
	margin-bottom: 20px;
	margin-left: auto;
	margin-right: auto;
}

.wp-block-image,
.wp-block-embed,
.wp-block-gallery {
	margin-bottom: 30px;
}

.alignwide {
	margin-left: 50%;
	-webkit-transform: translateX(-50%);
	-ms-transform: translateX(-50%);
	transform: translateX(-50%);
	width: 100%;
}

.blocks-gallery-grid,
.wp-block-gallery {
	display: flex;
	flex-wrap: wrap;
	list-style-type: none;
	padding: 0;
	margin: 0;
}

.blocks-gallery-grid,
.wp-block-gallery {
	display: flex;
	flex-wrap: wrap;
	list-style-type: none;
	padding: 0;
	margin: 0;
}

.blocks-gallery-grid.columns-3 .blocks-gallery-image,
.blocks-gallery-grid.columns-3 .blocks-gallery-item,
.wp-block-gallery.columns-3 .blocks-gallery-image,
.wp-block-gallery.columns-3 .blocks-gallery-item {
	width: calc((100% - 32px)/3);
	margin-right: 16px;
}

.blocks-gallery-grid.columns-3 .blocks-gallery-image:nth-of-type(3n),
.blocks-gallery-grid.columns-3 .blocks-gallery-item:nth-of-type(3n),
.wp-block-gallery.columns-3 .blocks-gallery-image:nth-of-type(3n),
.wp-block-gallery.columns-3 .blocks-gallery-item:nth-of-type(3n) {
	margin-right: 0;
}

.blocks-gallery-grid.is-cropped .blocks-gallery-image a,
.blocks-gallery-grid.is-cropped .blocks-gallery-image img,
.blocks-gallery-grid.is-cropped .blocks-gallery-item a,
.blocks-gallery-grid.is-cropped .blocks-gallery-item img,
.wp-block-gallery.is-cropped .blocks-gallery-image a,
.wp-block-gallery.is-cropped .blocks-gallery-image img,
.wp-block-gallery.is-cropped .blocks-gallery-item a,
.wp-block-gallery.is-cropped .blocks-gallery-item img {
	height: 100%;
	flex: 1;
	-o-object-fit: cover;
	object-fit: cover;
}

.wp-block-separator.is-style-dots {
	border: none;
	width: auto;
}

.wp-block-separator.is-style-dots {
	background: none !important;
	border: none;
	text-align: center;
	max-width: none;
	line-height: 1;
	height: auto;
}

.wp-block-separator.is-style-dots::before {
	content: "\00b7 \00b7 \00b7";
	color: currentColor;
	font-size: 20px;
	letter-spacing: 2em;
	padding-left: 2em;
	font-family: serif;
}

.wp-block-separator.is-style-dots {
	text-align: center;
	line-height: 1;
}

.wp-block-quote.is-large,
.wp-block-quote.is-style-large {
	padding-left: 50px;
	padding-right: 50px;
	padding-top: 50px;
	padding-bottom: 50px;
	margin-top: 40px;
	margin-bottom: 40px;
}

.wp-block-quote.is-large,
.wp-block-quote.is-style-large {
	margin: 0 0 16px;
	padding: 30px;
	background: #f4f5f9;
	border-radius: 5px;
}

.wp-block-quote.is-large p,
.wp-block-quote.is-style-large p {
	font-size: 30px;
	line-height: 1.3;
	font-style: normal;
}

.wp-block-image {
	margin-bottom: 30px;
}

.entry-main-content figure.alignleft {
	margin-right: 30px;
	margin-top: 20px;
	display: table;
}

.wp-block-image .alignleft {
	float: left;
	margin-right: 1em;
}

.wp-block-image .aligncenter>figcaption,
.wp-block-image .alignleft>figcaption,
.wp-block-image .alignright>figcaption,
.wp-block-image.is-resized>figcaption {
	display: table-caption;
	width: 100%;
	margin: 10px 0;
	caption-side: bottom
}

.wp-block-image figcaption {
	color: #6a6a6a;
	z-index: 1;
	bottom: 0;
	right: 0;
	line-height: 1.5;
	margin-bottom: 0;
	margin-top: 15px;
	text-align: center;
	font-family: var(--font-secondary);
	font-size: 0.875em;
	font-style: italic;
}

.tooltip-inner {
	font-size: 0.7em;
}

table {
	width: 100%;
	margin-bottom: 1.5rem;
	color: #212529;
	border-collapse: collapse;
}

table p {
	margin-bottom: 0;
}

.entry-main-content table td,
.entry-main-content table th,
.comment-content table td,
.comment-content table th {
	padding: 0.5em 1em;
	border: 1px solid #e6e6e6;
}

.entry-main-content dd,
.single-comment dd {
	margin: 0 0 1.65em;
}

.entry-main-content ul {
	list-style: disc;
}

.entry-main-content ul li,
.comment-content ul li {
	list-style: disc inside;
	line-height: 2;
}


.entry-main-content ul li.blocks-gallery-item {
	list-style: none;
}

.entry-main-content li>ul,
.entry-main-content li>ol,
.comment-content li>ul,
.comment-content li>ol {
	padding-left: 2rem;
}

.entry-main-content ol {
	padding-left: 0;
}

ol li {
	list-style: decimal inside;
	width: 100%;
	line-height: 2;
}

pre {
	border: 1px solid #eee;
	font-size: 1em;
	line-height: 1.8;
	margin: 15px 0;
	max-width: 100%;
	overflow: auto;
	padding: 1.75em;
	white-space: pre;
	white-space: pre-wrap;
	word-wrap: break-word;
	background: #fff;
	border-radius: 15px;
}

@keyframes shadow-pulse {
	0% {
		box-shadow: 0 0 0 0px rgba(88, 108, 218, 0.8);
	}

	100% {
		box-shadow: 0 0 0 5px rgba(0, 0, 0, 0);
	}
}

@keyframes shadow-pulse-big {
	0% {
		box-shadow: 0 0 0 0px rgba(88, 108, 218, 0.1);
	}

	100% {
		box-shadow: 0 0 0 20px rgba(0, 0, 0, 0);
	}
}

/* Index Page Styles */
.img-square {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

/* Map Styles */
.map-section-container {
    position: relative;
}
.map-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 55%; /* Aspect ratio for map */
    border-radius: 8px;
    overflow: hidden;
}
.world-map-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.region-marker {
    position: absolute;
    transform: translate(-50%, -50%);
    z-index: 10;
    cursor: pointer;
}
.map-dot {
    width: 12px;
    height: 12px;
    background-color: var(--color-primary);
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 0 0 2px rgba(125, 45, 100, 0.3);
    transition: all 0.3s ease;
}
.map-polaroid {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    padding: 3px 3px 10px 3px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    width: 60px;
    transition: all 0.3s ease;
    z-index: 5;
}
.map-polaroid img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    display: block;
    background: #eee;
}
.region-marker:hover .map-dot {
    transform: scale(1.2);
}
.region-marker:hover .map-polaroid {
    transform: translateX(-50%) rotate(0deg) scale(1.2);
    z-index: 20;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
.planning-box {
    margin-top: 30px;
    padding: 20px;
    background: #fff;
    border-left: 4px solid var(--color-primary);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.planning-label {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888;
    margin-bottom: 5px;
}
.planning-dest {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-dark);
}
/* Region Modal */
.region-modal {
    display: none;
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(3px);
}
.region-modal.open {
    display: flex;
}
.region-modal-content {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    max-width: 700px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
}
.region-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    cursor: pointer;
    font-size: 20px;
    color: #888;
}
.country-list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 10px;
    margin-top: 20px;
}
.country-item {
    padding: 8px;
    background: #f8f9fa;
    border-radius: 4px;
    text-align: center;
    text-decoration: none;
    color: var(--color-dark);
    transition: background 0.2s;
}
.country-item:hover {
    background: #e9ecef;
    /* color: var(--color-primary); */
	text-decoration: none;
}


/* Search bar */

.header-search-bar {
    position: relative;
    width: 220px;
    margin-left: 20px;
}

.header-search-bar input {
	width: 100%;
	height: 40px;
    background-color: #f4f5f9;
    border: 1px solid transparent;
    border-radius: 50px;
    padding: 0 15px 0 45px;
    font-size: 14px;
    color: var(--color-dark);
    cursor: pointer;
    transition: all 0.3s ease;
}

.header-search-bar input:hover,
.header-search-bar input:focus {
    background-color: #fff;
    border-color: #eee;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.header-search-bar .search-icon {
	position: absolute;
	left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 14px;
    pointer-events: none;
	z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}



@media only screen and (max-width: 991px) {
    .header-search-bar {
        display: none;
    }
}
/* end Search bar */

/* Instagram */
#instagram-img-1 {
	background: url('/assets/imgs/instagram/01.webp');
	background-size: contain;
	background-repeat: no-repeat;

	min-width: 100%;
	height: auto;
	content: "";
	display: block;
}

#instagram-img-2 {
	background: url('/assets/imgs/instagram/02.webp');
	background-size: contain;
	background-repeat: no-repeat;

	min-width: 100%;
	height: auto;
	content: "";
	display: block;
}

#instagram-img-3 {
	background: url('/assets/imgs/instagram/03.webp');
	background-size: contain;
	background-repeat: no-repeat;

	min-width: 100%;
	height: auto;
	content: "";
	display: block;
}

#instagram-img-4 {
	background: url('/assets/imgs/instagram/04.webp');
	background-size: contain;
	background-repeat: no-repeat;

	min-width: 100%;
	height: auto;
	content: "";
	display: block;
}

#instagram-img-5 {
	background: url('/assets/imgs/instagram/05.webp');
	background-size: contain;
	background-repeat: no-repeat;

	min-width: 100%;
	height: auto;
	content: "";
	display: block;
}

#instagram-img-6 {
	background: url('/assets/imgs/instagram/06.webp');
	background-size: contain;
	background-repeat: no-repeat;

	min-width: 100%;
	height: auto;
	content: "";
	display: block;
}

.instagram-img {
	padding-top: 100%;
	margin-bottom: 10px !important;

	-webkit-filter: brightness(100%);
	-moz-filter: brightness(100%);
	-o-filter: brightness(100%);
	-ms-filter: brightness(100%);
	filter: brightness(100%);
}

.instagram-img:hover {
	-webkit-filter: brightness(70%);
	-moz-filter: brightness(70%);
	-o-filter: brightness(70%);
	-ms-filter: brightness(70%);
	filter: brightness(70%);
}

.instagram-a-link {
	padding: 0;
	margin-left: 5px !important;
	margin-right: 5px !important;
}

.instagram-row {
	padding-left: 19px;
	padding-right: 43px;
	flex-wrap: unset;
}
@media (max-width:960px) {
	.instagram-row {
		margin-right: -24px;
		margin-left: -24px;
		padding-right: 19px;
	}
}
/* end instagram */


/* Polaroid style on continents page */
.polaroid-container {
	position: absolute;
	bottom: 12%;
	margin-left: auto;
	margin-right: auto;
	left: 0;
	right: 0;
	text-align: center;
}

.polaroid-text {
	font-size: 18px !important;
	font-weight: 300 !important;
}

.polaroid:hover {
	transform: scale(1.12);
}
/* End polaroid style on continents page */