/*
Theme Name: happyluke
Author: Jomarv
Author URI: 
Theme URI: 
Tags: full-site-editing, editor-style, block-styles, block-patterns
Text Domain: happyluke
Requires at least: 5.9
Requires PHP: 7.4
Tested up to: 5.9
Version: 1.0.18

License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

All files, unless otherwise stated, are released under the GNU General Public
License version 2.0 (http://www.gnu.org/licenses/gpl-2.0.html)

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned
with others.
*/

/* Styles intended only for the front.*/
html {
	scroll-behavior: smooth;
}

@media screen and (prefers-reduced-motion: reduce) {

	html {
		scroll-behavior: auto;
	}
}

body {
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
}

/*
Sticky button is experimental, only use it on the front for screens above 782px width.
*/
@media screen and (min-width: 782px) {

	.is-style-happyluke-sticky .wp-block-navigation__responsive-container-open {
		position: fixed;
		top: 2em;
		right: 2em;
	}

	/* Move the sticky position down to adjust for the WordPress admin bar */
	.admin-bar .is-style-happyluke-sticky .wp-block-navigation__responsive-container-open {
		top: calc(2em + 32px);
	}
}

/*
 * Increase horizontal padding on smaller screens.
 * Temporary solution to avoid text content
 * running up to the edge of the browser window,
 * making the text difficult to read.
*/
@media ( max-width: 1024px ) {

	main > :not(.alignfull),
	main .wp-block-query > :not(.alignfull),
	main .entry-content > :not(.alignfull):not(ul):not(ol),
	main .entry-content .wp-block-columns.alignfull p {
		padding-left: var(--wp--custom--h-spacing);
		padding-right: var(--wp--custom--h-spacing);
	}

}

.slick-active .wp-block-cover__background {
    opacity: 0.2!important
}

.slick-dots {
	list-style-type: none;
	bottom: 0!important;
}

.slick-dots button {
	color: rgba(0, 0, 0, 0%)!important;
	border: 0!important;
    box-shadow: none!important;
	background: none!important;
    padding: 0!important;
}

.slick-dots li button:before{
	background: rgba(255, 255, 255, 0.7)!important;
	content: " "!important;
	border-radius: 30px;
}

.slick-dots button:hover {
	background: none!important;
	color: rgba(0, 0, 0, 0%)!important;
	border: 0!important;
    box-shadow: none!important;
    padding: 0!important;
}

.slick-dots li.slick-active button:before, .slick-dots button:hover{
	background: #fb0!important;
	content: " "!important;
	border-radius: 30px!important;
}

.slider-group {
	background: #1d2327!important;
}

.slick-dotted.slick-slider {
	margin-bottom: 0!important;
	background: #1d2327!important;
}

.slick-slide .wp-block-cover {
	padding: 0!important;
}

.hl-slider-content {
	text-align: center;
	background: rgb(0 0 0 / 42%);
	margin: 0!important;
	padding-top: 10px!important;
    padding-bottom: 10px!important;
}


/* 
Footer
*/
.hl-footer-style {
	border-top: 1px solid rgba(255, 255, 255, 0.2)!important;
	border-bottom: 1px solid rgba(255, 255, 255, 0.2)!important;
}

.hl-footer-style-center {
	border-left: 1px solid rgba(255, 255, 255, 0.2)!important;
	border-right: 1px solid rgba(255, 255, 255, 0.2)!important;
}

.hl-footer-style-spacer {
	padding-left: 1.3rem!important;
	padding-right: 1.3rem!important;
}

.hl-footer-content {
	padding-top: 1.3rem!important;
	padding-bottom: 1.3rem!important;
}

.hl-footer-head {
	padding-top: 2rem!important;
	padding-bottom: 2rem!important;
}

@media ( max-width: 1236px ) {

	main > :not(.alignfull),
	main .wp-block-query > :not(.alignfull),
	main .entry-content > :not(.alignfull):not(ul):not(ol),
	main .entry-content .wp-block-columns.alignfull p,
	.hl-footer-head, .hl-footer-content {
		padding-left: var(--wp--custom--h-spacing);
		padding-right: var(--wp--custom--h-spacing);
	}

	.wp-block-cb-slide {
		padding-left: 0!important;
		padding-right: 0!important;
	}

}

@media ( max-width: 780px ) {
	.hl-footer-head {
		text-align: center;
		padding-left: 1.3rem!important;
		padding-right: 1.3rem!important;
	}
	.hl-footer-content {
		padding-left: 1.3rem!important;
		padding-right: 1.3rem!important;

	}
	.hl-footer-style-center {
		border-left: 1px solid rgba(255, 255, 255, 0)!important;
		border-right: 1px solid rgba(255, 255, 255, 0)!important;
	}	
	.wp-block-social-links {
		justify-content: center!important;
	}
}

/* 
Header
*/
.hl-gtranslate-icons {
	text-align: right;
	padding-top: 1.7rem;
}

.hl-flag a img {
	width: 26px!important;
	height: 16px!important;
}

/* 
Media post box
*/
ul.hl-featured-post li {
	background: #424242;
	box-shadow: 0px 0px 11px rgba(0, 0, 0, 0.7);
	border-radius: 16px;
	overflow:hidden;
	transition: all .2s ease-in-out;
}

ul.hl-featured-post li:hover {
	transform: scale(1.05);
}

ul.hl-featured-post li .wp-block-post-featured-image {
	margin-top: 0;
	margin-bottom: 0.7rem;
}

ul.hl-featured-post li .wp-block-post-title {
	font-size: 1.2rem;
	line-height: 1.3rem;
	margin-top: 0.3rem;
    margin-bottom: 0.3rem;
}

ul.hl-featured-post li .wp-block-post-excerpt {
	font-size: 0.9rem;
	line-height: 1.2rem;
}

ul.hl-featured-post li .wp-block-post-title, ul.hl-featured-post li .wp-block-post-excerpt, ul.hl-featured-post li .wp-block-post-date {
	color: #A7A7A7;
	padding-left: 0.8rem;
	padding-right: 0.8rem;
}

.hl-accordion {
	color: #fff;
	margin-top: 2rem!important;
}

.hl-accordion .aab__accordion_container {
	border-color: rgba(255, 255, 255, 0)!important;
	margin-bottom: 0!important;
}

.hl-accordion .aab__accordion_container .aab__accordion_title {
	color: #fff!important;
	font-size: 1.5rem;
}

.hl-accordion .aab__accordion_container .aab__accordion_icon {
	border: 2px solid #FC3BB4!important;
	color: #FC3BB4!important;
}

.hl-accordion .aab__accordion_container .aab__accordion_head {
	border-color: rgba(255, 255, 255, 0)!important;
	border-top: 2px solid #FC3BB4!important;
	color: #fff!important;
}
.hl-accordion .aab__accordion_container .aab__accordion_body {
	border-color: rgba(255, 255, 255, 0)!important;
}

.hl-accordion .aab__accordion_body p {
	margin-top: 0!important;
}

.slick-list{
	padding: 0px 15%;
}

.wp-block-cb-carousel .slick-slide {
	margin: 1.7rem 0.8rem;
	margin-bottom: 3rem;
    border-radius: 1.5rem;
	padding: 0;
}

.wp-block-cover, .wp-block-cover-image {
	min-height: 17rem;
}

.hl-gtranslate-icons figure {
	margin-inline: 8px!important;		
}

@media ( max-width: 1472px ) {
	.slick-list{
		padding: 0px 5%;
	}
}

@media ( max-width: 950px ) {
	.wp-block-cover, .wp-block-cover-image {
		min-height: 12rem;
	}	
}

@media ( max-width: 780px ) {
	.header-logo, .hl-header-wrapper {
		justify-content: center!important;
		gap: 0!important;
	}
	.hl-gtranslate-icons {
		padding-top: 0;
		padding-bottom: 4px;
		text-align: center;
	}
	.hl-gtranslate-icons figure {
		display: inline-block!important;
		line-height: 16px;
		align-items: center;
		float: none!important;
		margin-inline: 8px!important;		
	}
	.slick-list{
		padding: 0px;
	}
}

@media ( max-width: 600px ) {
	.wp-block-cover, .wp-block-cover-image {
		min-height: 9rem;
	}	
	.hl-slider-content {
		font-size: 21px!important;
	}
}

@media ( max-width: 400px ) {
	.wp-block-cover, .wp-block-cover-image {
		min-height: 7rem;
	}
	.wp-block-cb-carousel .slick-slide {
		margin: 0;
		margin-bottom: 3rem;
		border-radius: 0;
		padding: 0;
	}	
}

h2 {
	text-shadow: 0 0.2rem 0.3rem rgb(0 0 0 / 20%);
}

.hl-banner-rec-bg {
    background-image: url(assets/images/banner-rec.svg);
    background-size: cover;
}