/*
Theme Name: WP Movies
Theme URI: 
Author: 
Author URI: 
Description: Check your movies backlog.
Requires at least: 5.8
Tested up to: 5.9
Requires PHP: 5.7
Version: 0.0.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Template: 
Text Domain: wpmovies
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, rtl-language-support, theme-options, threaded-comments, translation-ready, wide-blocks
*/

a:where(:not(.wp-element-button)) {
	text-decoration: none;
}

.wp-block-query-pagination-numbers a,
footer a {
	text-decoration: underline;
}

.wp-block-group.movie-image-container {
	position: relative;
}

.wp-block-group.movie-image-container .wp-block-wpmovies-movie-like-icon {
	position: absolute;
	top: 0px;
	left: 15px;
	margin-top: 0.5rem;
}

.wp-block-query .wp-block-post-featured-image {
	filter: brightness(1);
}

.wp-block-query .wp-block-post-featured-image:hover,
.wpmovies-page-button-parent:hover {
	filter: brightness(0.9);
	transition: filter 0.1s ease-in-out;
}

/* Search page styles */
.search .wp-block-post.type-movies:hover {
	background-color: #252525;
}

.search .wp-block-post.type-movies .wp-block-columns {
	margin-bottom: 0;
}

header > div.wp-block-group {
	border-bottom: 1px solid rgba(255, 255, 255, 0.05);
	backdrop-filter: blur(25px);
	-webkit-backdrop-filter: blur(25px);
	position: fixed;
	z-index: 999;
	margin: 0 auto;
	width: 100vw;
	left: 0;
	right: 0;
	top: var(--wp-admin--admin-bar--height, 0);
}

.wpmovies-page-button-parent {
	cursor: pointer;
	display: flex;
	align-items: center;
	margin: auto;
	width: 240px;
	height: 48px;
	border-radius: 3px;
	color: var(--wp--preset--color--black);
	background: var(--wp--preset--color--white);
	font-size: var(--wp--preset--font-size--medium);
	line-height: 24px;
	font-weight: 600;
}

.wpmovies-page-button-child {
	margin: auto;
	display: flex;
	align-items: center;
}

.wpmovies-page-button-child svg {
	margin-right: 14px;
}

.wpmovies-liked > svg > path {
	stroke-width: 0;
	fill: #dc3e3e;
}

@media screen and (max-width: 900px) {
	.page-numbers {
		padding: 20px;
		font-size: 18px;
	}
}
