/*
Theme Name: Yellow
Theme URI: 
Author: FraFish
Author URI: 
Description: 
Requires at least: 6.9
Tested up to: 6.9
Requires PHP: 5.7
Version: 
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: yellow
Tags: 
*/


:where(.wp-site-blocks) > * {
  margin-block-start: 0;
}

.wp-block-navigation-item a {
  padding: 5px 10px;
  border-radius: 15px;  
  transition: background 0.3s;
}
.wp-block-navigation-item a:hover,
.wp-block-navigation-item.current-menu-item a {
  background-color: var(--wp--preset--color--pale-pink) !important;
  color: white !important;
}

h1:not(.b-y) > strong,
h2 > strong {
    color: var(--wp--preset--color--pale-pink) !important;
}

.button.wp-block-post-excerpt > .wp-block-post-excerpt__more-text > a {
	text-decoration: none;
  border: 1px solid black;
  cursor: pointer;
  border-radius: 10px;
  padding-top: var(--wp--preset--spacing--20);
  padding-right: var(--wp--preset--spacing--40);
  padding-bottom: var(--wp--preset--spacing--20);
  padding-left: var(--wp--preset--spacing--40);
  background-color: white;
  color: black;
	font-weight: 600;
}

.img-block img {
	display: block;
}
.img-33 img,
.img-33 svg {
	width: 33px;
}

.wp-block-buttons .wp-block-button__link {
  min-width: 200px;
}
.button.wp-block-post-excerpt > .wp-block-post-excerpt__more-text > a:after,
.wp-element-button:after {
    content: '';
    display: inline-block;
    width: 15px;
    height: 15px;
    background-image: url("/wp-content/uploads/2026/06/btn-arrow.svg");
    background-size: contain;
    background-repeat: no-repeat;
    margin-left: 15px;
    margin-bottom: -2px;
}
.has-white-color.wp-element-button:after {
    background-image: url("/wp-content/uploads/2026/06/btn-arrow-white.svg");
}

.btn-call > .wp-element-button {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
}
.btn-call > .wp-element-button:after {
    background-image: url("/wp-content/uploads/2026/06/btn-call.svg");
    margin-left: 0;
  height: 20px;
  width: 30px;
  margin-top: 2px;
}


.list-dot-black.wp-block-list { list-style: none }
.list-dot-black.wp-block-list li {
    position: relative;
}
.list-dot-black.wp-block-list li:before {
    content: '';
    display: inline-block;
    width: 40px;
  height: 20px;
  position: absolute;
  right: 100%;
  top: 2px;
    background-image: url("/wp-content/uploads/2026/06/list-item.svg");
    background-size: contain;
    background-repeat: no-repeat;
}

.wp-block-form-input__input {
    border-width: 0;
  border-bottom-width: 1px;
}



/* ==========================================================================
   Leaflet MarkerCluster Styles & SVG Icons (Casa Gialla)
   ========================================================================== */
.marker-cluster {
	background-clip: padding-box;
	border-radius: 50%;
	cursor: pointer;
	text-align: center;
	box-sizing: border-box;
	transition: transform 0.2s ease, filter 0.2s ease;
}

.marker-cluster:hover {
	transform: scale(1.1);
	filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.35));
	z-index: 10000 !important;
}

.marker-cluster div {
	width: 30px;
	height: 30px;
	margin-left: 5px;
	margin-top: 5px;
	text-align: center;
	border-radius: 50%;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-size: 13px;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.marker-cluster span {
	line-height: 1;
	display: block;
	z-index: 2;
}

/* Small Cluster (< 10) - Brand Yellow with SVG House Badge */
.marker-cluster-small {
	background-color: rgba(252, 185, 0, 0.45);
	box-shadow: 0 0 0 5px rgba(252, 185, 0, 0.25);
}

.marker-cluster-small div {
	background-color: #fcb900;
	color: #1e1e1e;
	border: 2px solid #ffffff;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24' fill='%231e1e1e' opacity='0.15'%3E%3Cpath d='M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center 3px;
	background-size: 16px 16px;
}

/* Medium Cluster (10-99) - Warm Orange */
.marker-cluster-medium {
	background-color: rgba(255, 105, 0, 0.45);
	box-shadow: 0 0 0 5px rgba(255, 105, 0, 0.25);
}

.marker-cluster-medium div {
	background-color: #ff6900;
	color: #ffffff;
	border: 2px solid #ffffff;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24' fill='%23ffffff' opacity='0.18'%3E%3Cpath d='M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center 3px;
	background-size: 16px 16px;
}

/* Large Cluster (100+) - Red */
.marker-cluster-large {
	background-color: rgba(207, 46, 46, 0.45);
	box-shadow: 0 0 0 5px rgba(207, 46, 46, 0.25);
}

.marker-cluster-large div {
	background-color: #cf2e2e;
	color: #ffffff;
	border: 2px solid #ffffff;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24' fill='%23ffffff' opacity='0.2'%3E%3Cpath d='M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center 3px;
	background-size: 16px 16px;
}