/* ============================================================
   VacationPlaces — Homepage Styles
   ============================================================ */

/* ---------- Hero ---------- */
.vp-hero .wp-block-cover {
	position: relative;
}

.vp-hero .wp-block-cover__image-background {
	object-position: center 60%;
}

/* ---------- Section spacing ---------- */
.vp-section {
	position: relative;
}

/* ---------- Hub category grid ---------- */
.vp-hub-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.vp-hub-card:hover {
	box-shadow: 0 4px 20px rgba(47, 65, 86, 0.1);
	transform: translateY(-2px);
}

.vp-hub-card--ghost {
	min-height: 180px;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* ---------- Coming Soon cards ---------- */
.vp-coming-card {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.vp-coming-card__img {
	min-height: 120px;
}

.vp-tag {
	display: inline-block;
	white-space: nowrap;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	border: 1px solid var(--vp-mist);
	border-radius: 999px;
	padding: 2px 10px;
}

.vp-coming-cta {
	display: inline-block;
	font-size: 13px;
	font-weight: 700;
	color: var(--vp-mist) !important;
	border: 1.5px dashed var(--vp-mist);
	border-radius: 6px;
	padding: 8px 14px;
	opacity: 0.5;
	cursor: default;
}

/* ---------- News section ---------- */
.vp-news .vp-news-card:last-child {
	border-bottom: none !important;
}

.vp-news-card .wp-block-post-featured-image {
	flex-shrink: 0;
}

.vp-news-card .wp-block-post-featured-image img {
	width: 90px;
	height: 70px;
	object-fit: cover;
	border-radius: 4px;
}

.vp-news-card .wp-block-post-title a {
	color: var(--vp-beige) !important;
	text-decoration: none;
	font-size: 16px;
	font-weight: 800;
	line-height: 1.3;
}

.vp-news-card .wp-block-post-title a:hover {
	color: var(--vp-mist) !important;
}

/* ---------- Instagram grid ---------- */
.vp-instagram__grid {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 10px;
}

.vp-instagram__placeholder {
	aspect-ratio: 1;
	background: var(--vp-beige);
	border: 1px solid #e8e0d8;
	border-radius: 4px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--vp-mist);
	font-family: 'Inter', sans-serif;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.05em;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.vp-instagram__grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 768px) {
	.vp-hero .wp-block-cover {
		min-height: 420px !important;
	}

	.vp-instagram__grid {
		grid-template-columns: repeat(3, 1fr);
	}


}

@media (max-width: 480px) {
	.vp-instagram__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}
