/*
	Theme Name: Theme Base
	Theme URI: 
	Author:  Veronika Udod
	Author URI: 
	Version: 2.0
	Description: 
	Tags: 
	Licence: GPL v2 or later
	License URI: http://www.gnu.org/licenses/gpl-2.0.html
	Text Domain: ecoffset.it
*/

:root{
	--blue: #101010;
	--grey: #8F8F8F;
	--white: #ffffff;
}

body, html{
	margin: 0;
	padding: 0;
	overflow-x: hidden;
	background-color: var(--white);
}

*{
	font-family: "Montserrat", sans-serif;
}

h1{
	font-size: 82px;
	letter-spacing: -1px;
	text-shadow: 0px 4px 8px rgba(0, 0, 0, 0.25);
	font-weight: 300;
}

h2{
	font-size: 92px;
	letter-spacing: -1px;
	font-weight: 300;
}

h3{
	font-size: 56px;
	letter-spacing: -1px;
	text-shadow: 0px 4px 8px rgba(0, 0, 0, 0.25);
	font-weight: 300;
}

h4{
	font-size: 28px;
	font-weight: 300;
	letter-spacing: -1px;
}

p{
	font-size: 16px;
}

.max-w-1360{
	max-width: 1360px;
	margin: 0 auto;
}

.btn-blue a{
	background: var(--blue);
	border-radius: 50px;
	padding: 18px 36px;
	border: 2px solid var(--blue);
	transition: 0.5s;	
}

.btn-blue a:hover{
	background: var(--white);
	color: var(--blue);
	border: 2px solid var(--blue);	
}

.btn-blue-a{
	background: var(--blue);
	border-radius: 50px;
	padding: 12px 26px;
	color: var(--white);
	text-decoration: none;
	border: 2px solid var(--blue);
	transition: 0.5s;
}

.btn-blue-a:hover{
	background: var(--white);
	color: var(--blue);
	border: 2px solid var(--blue);
}

.btn-white a{
	background: var(--white);
	border-radius: 9px;
	padding: 18px 46px;
	color: var(--blue);
}

.btn-white-a{
	background: var(--white);
	border-radius: 9px;
	padding: 18px 46px;
	color: var(--blue);
	text-decoration: none;
}


/* NAVBAR*/
.main-menu-header {
    display: flex;
    list-style: none;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-bottom: 0;
}
.menu-menu-principale-container a {
	color: #8F8F8F;
}
.menu-menu-principale-container a:hover, .menu-menu-principale-container .current_page_item a {
	color: #1C2E4A;
}

.navbar-toggler.menu-hamburger {
	padding: 0;
	border: unset;
	outline: 0;
	box-shadow: unset;
}
.main-menu-header li a {
	text-decoration: none;
	color: var(--grey);
	transition: 0.3s;
	font-size: 14px;
}

.main-menu-header li a:hover {
	color: var(--blue);
}

.navbar-site{
	padding-top: 30px;
	padding-bottom: 30px;
}

.navbar-site img{
	max-width: 40px;
}

.swiper-problematiche-widget .slide-button{
	transition: 0.5s;
}

.swiper-problematiche-widget .slide-button:hover{
	background: var(--blue);
	color: var(--white);
}

/* CONTACT FORM */
/*********CONTACT US************/
.contact-us-form .form-control {
    padding: 16px;
    border-radius: 10px;
	color: var(--white);
 	resize: none;
	background-color: #EBE7E7;
	border: 0;
}

.contact-us-form .form-control::placeholder {
	color: var(--grey);
}

.contact-us-form .btn-submit .form-control {
   	background: transparent;
	border: 1px solid var(--green);
	color: var(--white);
}

.contact-us-form p{
	margin-bottom: 24px;
}

.contact-us-form .wpcf7-acceptance input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 14px;
    height: 14px;
    min-height: 14px;
    border: 1px solid var(--white);
    display: inline-block;
    position: relative;
    background-color: transparent;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

.contact-us-form .wpcf7-acceptance span{
    color: var(--grey);
	font-size: 14px;
}

.contact-us-form .wpcf7-acceptance input[type="checkbox"]:checked {
    background-color: var(--white);
}

.wpcf7 form.sent .wpcf7-response-output {
    border-color: transparent;
	color: var(--grey);
}

.wpcf7 .wpcf7-response-output {
    color: var(--white);
}

.contact-us-form .submit-form-btn{
	background: var(--blue);
	color: var(--white);
	line-height: 1;
    padding-bottom: 20px;
    padding-left: 40px;
    padding-right: 40px;
}

/* FOOTER */
footer{
	padding-top: 85px;
	padding-bottom: 85px;
	border-top: 1px solid var(--blue);
}

footer .social-footer{
	gap: 24px;
}

footer .social-footer img{
	width: 24px;
}

footer a{
	color: var(--blue);
}

.main-menu-footer{
	padding-top: 50px;
	display: flex;
	list-style: none;
	justify-content: center;
	gap: 60px;
}

.main-menu-footer a{
	transition: 0.3s;
}

.main-menu-footer a:hover{
	color: var(--grey);
}

.policy-align{
	text-align: end;
}

/* FOOTER MOBILE */
@media only screen and (max-width: 768px){
	.first-row-footer{
		justify-content: center;
		text-align: center;
	}
	
	.policy-align{
		text-align: center;
		padding-top: 26px;
	}
	
	.main-menu-footer{
		display: none;
	}
}

@media only screen and (max-width: 767px) {
	h1{
		font-size: 52px;
	}

h2{
	font-size: 45px;
	letter-spacing: -1px;
	font-weight: 300;
}

h3{
	font-size: 36px;
	letter-spacing: -1px;
	text-shadow: 0px 4px 8px rgba(0, 0, 0, 0.25);
	font-weight: 300;
}

h4{
	font-size: 28px;
	font-weight: 300;
	letter-spacing: -1px;
}
.menu-menu-principale-container li {
	padding-bottom: 1rem;
}
}

/* SINGLE ARTICLE */
/* ============
   SINGLE POST
   ============ */

.single-article {
  font-family: system-ui, sans-serif;
  color: #222;
  line-height: 1.6;
}

/* Kicker */
.page-kicker {
  margin: 2rem auto 1rem;
  text-transform: uppercase;
  font-size: 0.85rem;
  font-weight: 600;
  color: #888;
}

/* Breadcrumb */
.breadcrumb {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 1.5rem;
}
.breadcrumb a {
  color: #555;
  text-decoration: none;
}
.breadcrumb a:hover {
  text-decoration: underline;
}

/* Hero */
.post-hero {
  margin: 0 auto 2rem;
  text-align: center;
}
.post-hero img.hero-img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

/* Header */
.post-header {
  margin: 0 auto 1.5rem;
  max-width: 720px;
  text-align: left;
}
.post-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.post-subtitle {
  font-size: 1.1rem;
  color: #555;
}

/* Meta row */
.post-meta {
  margin: 1.5rem auto;
  padding: 1rem 0;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  font-size: 0.9rem;
  max-width: 900px;
}
.post-meta .meta-left {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  align-items: center;
}
.post-meta .cat-pill {
  background: #222;
  color: #fff;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  font-size: 0.75rem;
  text-decoration: none;
}
.post-meta .cat-pill:hover {
  background: #444;
}
.post-meta .meta-share {
  display: flex;
  gap: 0.5rem;
}
.post-meta .share-link {
  font-size: 0.8rem;
  text-decoration: none;
  color: #0073aa;
}
.post-meta .share-link:hover {
  text-decoration: underline;
}

/* Content */
.post-content {
  margin: 2rem auto;
  max-width: 720px;
}
.post-content h2, 
.post-content h3 {
  margin-top: 2rem;
  font-weight: 600;
}
.post-content p {
  margin-bottom: 1rem;
}

/* Credits / Fonti */
.post-credits {
  margin: 3rem auto;
  padding: 2rem;
  background: #f9f9f9;
  border-radius: 8px;
  max-width: 720px;
}
.post-credits .section-title {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  font-weight: 600;
}
.post-credits .credits-content {
  font-size: 0.95rem;
  color: #444;
}

/* Related posts */
.related-posts {
  margin: 3rem auto;
  max-width: 1100px;
}
.related-posts .related-head {
  margin-bottom: 1.5rem;
}
.related-posts h2 {
  font-size: 1.4rem;
  font-weight: 600;
}
.related-posts .related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.related-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.related-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.related-meta {
  font-size: 0.8rem;
  color: #666;
  margin: 0.5rem 1rem;
}
.related-title {
  font-size: 1rem;
  font-weight: 600;
  margin: 0.5rem 1rem 1rem;
}
.related-title a {
  text-decoration: none;
  color: #222;
}
.related-title a:hover {
  text-decoration: underline;
}
.thumb-placeholder {
  background: #f0f0f0;
  width: 100%;
  height: 180px;
}

/* Comments */
.post-comments {
  margin: 3rem auto;
  max-width: 720px;
}

/* Prev/Next */
.post-nav {
  margin: 2rem auto;
  max-width: 720px;
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
	padding-top: 24px;
	padding-bottom: 24px;
}
.post-nav a {
  text-decoration: none;
  color: #0073aa;
}
.post-nav a:hover {
  text-decoration: underline;
}

/* Containers */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/*SINGLE BLOG ARTICLES */


.post-hero-wrapper {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 452px; /* adjust height */
  display: flex;
  align-items: end;
  justify-content: flex-start;
  border-radius: 25px;
}

.post-hero-wrapper::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.6); /* dark overlay */
  border-radius: 25px;
}

.post-hero-content {
  position: relative;
  z-index: 1;
	max-width: 1156px;
	padding: 40px;
}

.post-hero-title {
    color: #fff;
    font-size: 55px;
    font-weight: 600;
    line-height: 110%;
	max-width: 80%;
}
.post-info-block {
	text-align: center; 
	margin: 2rem auto;
	padding: 2rem 1rem;
	border-top: 1px solid;
	border-bottom: 1px solid;
}
.post-share-section {
	margin-top: 3rem;
  border-top: 1px solid #000;
  border-bottom: 1px solid #000;
  padding: 1rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.social-icons {
	display: flex;
	justify-content: ;
	gap: 26px;

}
/* Responsive tweaks */
@media (max-width: 768px) {
  .post-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  .post-meta .meta-share {
    margin-top: 0.5rem;
  }
	
  .post-hero-title {
	  font-size: 40px;
	  font-weight: 600;
	  max-width: 100%;
	}
	
	.post-hero-content {
	  padding: 40px 10px;
	}	
	
	.social-icons {
		gap: 6px;
	}
}

.latest-title a{
	color: var(--blue);
}

.nav-next a, .nav-previous a{
	color: var(--blue);
}


.category-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr; /* sx grande, dx colonna */
  gap: 24px;
  align-items: start;
}

.cat-feature { /* la card grande a sinistra */
  height: 100%;
}

.cat-rail {    /* colonna destra con 3 card impilate */
  display: grid;
  grid-auto-rows: auto;
  gap: 16px;
}

@media (max-width: 900px) {
  .category-grid { grid-template-columns: 1fr; }
  .cat-rail { margin-top: 16px; }
}

#jarallax-container-0{
	border-radius: 25px;
}
