/* Voicehere Image Video Widget Styles */

.vh-mask-container {
	position: relative;
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.vh-image-mask {
	/* Responsive by default, specific sizes injected via Elementor controls */
	width: 100%;
	height: 100%;
	transition: transform 0.3s ease;
	position: relative;
}

.vh-main-media {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.vh-video-wrapper {
	width: 100%;
	height: 100%;
}

.vh-play-btn-overlay {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 64px;
	height: 64px;
	background-color: rgba(45, 45, 48, 0.85);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	font-size: 22px;
	z-index: 10;
	transition: all 0.2s ease;
	pointer-events: none;
	opacity: 0; /* Hidden by default */
}

.vh-play-icon {
	margin-left: 4px; /* Optically centers the play triangle */
}

.vh-pause-icon {
	margin-left: 0;
}

.vh-video-wrapper:hover .vh-play-btn-overlay {
	opacity: 1; /* Shows when video is hovered */
	background-color: rgba(45, 45, 48, 1);
}

/* Cities Grid Widget Styles */
.vh-cities-grid-wrapper {
    width: 100%;
}

.vh-cities-grid-container {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 30px;
    margin-bottom: 30px;
    transition: opacity 0.3s ease;
}

@media (min-width: 768px) {
    .vh-cities-grid-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .vh-cities-grid-container {
        grid-template-columns: repeat(4, 1fr);
    }
}

.vh-city-card {
    display: flex;
    flex-direction: column;
    gap: 15px;
    text-decoration: none;
}

.vh-city-card-image {
    width: 100%;
    aspect-ratio: 1/1;
    background-size: cover;
    background-position: center;
    border-radius: 16px;
    background-color: #eee;
}

.vh-city-card-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.vh-city-flag {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.vh-city-text {
    display: flex;
    flex-direction: column;
}

a.vh-city-card  {
    text-decoration: none !important;
}

.vh-city-name {
    font-size: 18px;
    font-weight: 600;
    color: #111;
    line-height: 1.2;
}

.vh-city-country {
    font-size: 13px;
    text-transform: uppercase;
    color: #555;
    font-weight: 500;
    margin-top: 2px;
    line-height: 1.2;
}

/* Grid Pagination */
.vh-grid-pagination {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.vh-grid-pagination button {
    background: transparent;
    border: none;
    cursor: pointer;
    color: #111;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

.vh-grid-pagination button.disabled {
    opacity: 0.2;
    cursor: not-allowed;
    pointer-events: none;
}
