/*
 Theme Name: InOrkland
 Theme URI: 
 Description: Child theme for the Twenty Twenty-Three theme
 Author: Allsidig Design & Exigo
 Author URI: https://www.alldesign.no
 Template: twentytwentythree
 Version: 1.1.0
*/

footer .wp-block-columns:last-child div {
  margin-top: -2rem;
}

.home h1 {
  display: none;
}

.home main,
.single-post main {
  margin-top: 0 !important;
}

.home header,
.single-post header {
  padding-top: 3.3rem;
  position: absolute;
  width: 100%;
  z-index: 1;
}

.home header {
  color: white;
}

.home header .wp-block-site-title a {
  color: white;
}

.home .wp-block-exigo-video-block {
  margin-top: -2rem;
  padding: 0;
}

.home .wp-site-blocks,
.single-post .wp-site-blocks {
  padding-top: 0;
}

.wp-block-exigo-post-header-block-wrapper {
  margin-top: -2rem;
  padding-top: 8rem;
}

.wp-block-exigo-post-header-block .wp-block-post-featured-image {
  margin-left: 2rem;
  margin-right: 2rem;
  display: flex;
  justify-content: center;
}

.wp-block-exigo-post-header-block .wp-block-post-featured-image img {
  max-width: 1200px;
}

.wp-block-exigo-caption-scroll-block .caption-scroll-block-caption span {
  line-height: 2;
  padding: 0.5rem;
}

/* Core zeroes the bottom margin of a flow layout's last child, which collapses the scroll distance of the last caption */
.wp-block-exigo-caption-scroll-block .wp-block-group > :last-child {
  margin-block-end: 40vh;
}

.wp-block-exigo-wave-block {
  padding: 0 !important;
}

.wp-block-exigo-featured-post-block a.wp-block-read-more:hover,
.wp-block-button.is-style-outline a:hover {
  background-color: var(--wp--preset--color--primary) !important;
  border-color: var(--wp--preset--color--primary) !important;
  color: var(--wp--preset--color--base) !important;
}

.wp-block-group.has-background,
.wp-block-columns.has-background {
  margin-top: 0;
  margin-bottom: 0;
}

.wp-block-image a img,
.wp-block-post-featured-image a img {
  object-fit: cover;
  max-width: none;
  /* !important: featured images carry an inline width:100% that would otherwise win */
  width: calc(100% + 30px) !important;
  clip-path: inset(15px);
  transition: clip-path 0.3s;
  margin-left: -15px;
}

.wp-block-image a:hover > img,
.wp-block-post-featured-image a:hover > img {
  clip-path: inset(0);
}

.wp-block-post-title i {
  font-size: 16px;
  vertical-align: middle;
}

.wp-block-exigo-video-block.cmplz-blocked-content-container {
	box-shadow: none;
  background-position: center center;
  background-size: cover;
  height: 100vh;
  height: 100dvh;
}