/*
Theme Name: Vivarium Mundi
Author: Giuseppe Scaffidi
Version: 1.0
Description: Custom magazine theme converted from HTML layout.
*/

.wpp-list li {
	display: flex;
	align-items: center;
	gap: 15px;
	margin-bottom: 20px;
}

.wpp-list li::before {
	content: counter(popular);
	counter-increment: popular;
	font-size: 32px;
	font-style: italic;
	font-weight: bold;
	color: rgba(86, 134, 134, 0.3);
	font-family: "Newsreader", serif;
}

.wpp-list {
	counter-reset: popular;
	list-style: none;
	padding: 0;
}

.wpp-list a {
	font-family: "Newsreader", serif;
	font-size: 16px;
	line-height: 1.2;
}

.custom-logo-link {
	display: flex;
	justify-content: center;
	margin-bottom: 20px;
}

.custom-logo {
	max-height: 80px;
	width: auto;
}

.hero-card {
	height: 420px;
	overflow: hidden;
	border-radius: 12px;
}

.hero-card img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}


/* mobile */
@media (max-width:768px) {
	.guide-grid {
		flex-direction: column;
	}
}

.sidebar ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

aside li {
	list-style: none;
}

.sidebar {
	display: flex;
	flex-direction: column;
	gap: 30px;
}

.social-icons {
	display: flex;
	justify-content: center;
	gap: 15px;
	margin-top: 15px;
}

.social-icons a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	background: #f2f2f2;
	border-radius: 50%;
	color: #2f4f4f;
	text-decoration: none;
	transition: all .2s;
}

.social-icons a:hover {
	background: #568686;
	color: #fff;
}



.mondo-terrari {
	margin-top: 60px;
}

.terrari-item {
	display: flex;
	gap: 30px;
	margin-bottom: 40px;
	align-items: center;
}

.terrari-image img {
	width: 260px;
	height: 160px;
	object-fit: cover;
	border-radius: 10px;
}

.terrari-content {
	flex: 1;
}

.terrari-cat {
	font-size: 11px;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: #6c8a8a;
	font-weight: 600;
}

.terrari-content h3 {
	font-size: 22px;
	margin: 6px 0 10px 0;
}

.terrari-content p {
	font-size: 14px;
	color: #666;
	margin-bottom: 10px;
}

.read-more {
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 1px;
	font-weight: 600;
	color: #2f4f4f;
}

/* desktop */
.hero-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

@media (max-width:768px) {
	.hero-grid {
		display: flex;
		overflow-x: auto;
		gap: 16px;
		padding: 0 16px;
		scroll-snap-type: x mandatory;
	}

	.hero-grid>div {
		flex: 0 0 calc(100% - 32px);
		scroll-snap-align: start;
	}

	.hero-grid::-webkit-scrollbar {
		display: none;
	}
}


/* lista widget */
.wpp-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

/* singolo post */
.wpp-list li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 12px 0;
	border-bottom: 1px solid #eee;
}

/* numero grande */
.wpp-list li::before {
	counter-increment: popular;
	content: counter(popular, decimal-leading-zero);
	font-size: 34px;
	font-weight: 700;
	font-style: italic;
	color: #cfd6d6;
	font-family: "Newsreader", serif;
}

/* reset counter */
.wpp-list {
	counter-reset: popular;
}

/* titolo */
.wpp-post-title {
	display: block;
	font-size: 15px;
	line-height: 1.4;
	margin-bottom: 4px;
}

/* views */
.wpp-meta {
	display: block;
	font-size: 11px;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: #888;
}

/* Typography hierarchy */

h1 {
	font-size: 2.5rem;
	font-weight: 700;
	line-height: 1.2;
	margin-bottom: 1rem;
}

h2 {
	font-size: 2rem;
	font-weight: 600;
	line-height: 1.3;
	margin-bottom: 0.8rem;
}

h3 {
	font-size: 1.6rem;
	font-weight: 600;
	line-height: 1.4;
	margin-bottom: 0.6rem;
}

h4 {
	font-size: 1.3rem;
	font-weight: 600;
}

p {
	line-height: 1.7;
	margin-bottom: 1rem;
}

.wp-block-heading {
	font-family: inherit;
	font-weight: 700;
}

.wp-block-heading h1 {
	font-size: 2.5rem;
}

.wp-block-heading h2 {
	font-size: 2rem;
}

.wp-block-heading h3 {
	font-size: 1.6rem;
}
.vm-amazon-card{
	display:flex;
	gap:20px;
	border:1px solid #e5e7eb;
	border-radius:12px;
	padding:16px;
	margin:24px 0;
}

.vm-amazon-image img{
	width:120px;
}

.vm-amazon-price{
	font-weight:bold;
	margin:6px 0;
}

.wp-block-heading {
  @apply font-bold;
}

.article-content .has-medium-font-size{
	font-size:16px !important;
}