/*
 Theme Name:   Blask Custom
 Description:  Customizations to the Blask Theme
 Author:       nirodaonline
 Template:     blask
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  blaskcustom
*/


/**
  CONTENTS:
    - Home page 
    - General
    - Image Gallery 
    - Image Caroussel
**/


/* Home page */

.single .hentry, .hentry.portfolio-entry {
    margin: 0 0 1em;
}

.hentry {
    max-width: none;
}

@media screen and (min-width:1025px) {
	.portfolio-wrapper .portfolio-entry {
		width: calc(50% - 1em);
	}
}

@media screen and (min-width:1260px) {
	.portfolio-wrapper .portfolio-entry {
		width: calc(33.3333333% - 1em);
    }
}

@media screen and (min-width:1440px) {
	.portfolio-wrapper .portfolio-entry {
		width: calc(33.3333333% - 1em);
	}
}


/* General */

.comment-navigation, .posts-navigation, .post-navigation{
    max-width: 100%;
}

.entry-content, .entry-summary{
    width: 100%;
}
.wp-block-button__link{
    padding-top: 0;
    padding-bottom: 0;
}
.main-navigation li:first-child {
    border-top: none;
}



/* Image Gallery */

.wp-block-gallery .blocks-gallery-item, .wp-block-jetpack-tiled-gallery .tiled-gallery__item {
    max-height: 60vh;
}


/* Image Caroussel */

.jp-carousel-wrap .jp-carousel-info, .jp-carousel-wrap .jp-carousel-next-button, .jp-carousel-wrap .jp-carousel-previous-button, .jp-carousel-wrap .jp-carousel-slide:not(.selected) {
    display: none !important;
}

.jp-carousel-wrap .jp-carousel{
    inset: 40px 30px !important;
}

.jp-carousel-wrap .jp-carousel-slide.selected{
    height: 100% !important;
    width: 100% !important;
    top: auto !important;
    display: flex !important;
    justify-content: center;
    align-items: center;
}

.jp-carousel-wrap .jp-carousel-slide.selected img{
    width: auto !important;
    height: auto !important;
}