/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */
.post #post-thumbnail .wp-post-image{
	max-height: 100%;
	-o-object-fit: contain;
	object-fit: contain;
	width:100%
}
@media(max-width:991px){
	.post #post-thumbnail .wp-post-image{
		max-height:400px
	}
}
@media(max-width:575px){
	.post #post-thumbnail .wp-post-image{
		max-height:300px
	}
}

.post-info{
	border: 1px solid #dcdcdc;
	border-width: 1px 0;
	padding: 20px 0;
	margin: 50px 0;
	font-weight: 400;
	font-size: 16px;
	font-family: Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif;
}
.post-info strong,
.post-info a{
	font-weight: 600;
}
.post-info p{
	margin-bottom: .25em;
}
.post-info p:last-child{
	margin-bottom: 0;
}

#photo-viewer #photo-skeleton{
	max-width: 800px;
	margin: 50px auto;
	display: none;
	padding: 10px;
}
#photo-viewer .htmx-request#photo-skeleton{
	display: block;
}

.skeleton {
  background-color: #e2e2e2;
  border-radius: 4px;
  width: 100%;
  height: 1em;
  position: relative;
  overflow: hidden;
}

.skeleton::after {
  content: "";
  position: absolute;
  top: 0;
  left: -150px;
  height: 100%;
  width: 150px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  animation: loading 1.2s infinite;
}

@keyframes loading {
  100% {
    left: 100%;
  }
}

/**
 * Core styles: block-supports
 */
.wp-block-gallery.wp-block-gallery-1 {
	--wp--style--unstable-gallery-gap: var( --wp--style--gallery-gap-default, var( --gallery-block--gutter-size, var( --wp--style--block-gap, 0.5em ) ) );
	gap: var( --wp--style--gallery-gap-default, var( --gallery-block--gutter-size, var( --wp--style--block-gap, 0.5em ) ) );
}
