/*
Theme Name: No Way Back Theme
Theme URI: 
Author: David Turner
Author URI: 
Description: No way back. WP Custom Theme
Requires at least: 6.7
Tested up to: 6.7
Requires PHP: 5.7
Version:  
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Template: twentytwentyfive
Text Domain: nwb-theme 
Tags: 
*/
/* Variables */
:root {
  --header-height: 7rem;
  --z-index-header: 100;
  --adminbar-offset: 0px;
  --bg-col: var(--wp--preset--color--base);
}

body {
  /*--wp--style--root--padding-right: var(--wp--preset--spacing--70);
	--wp--style--root--padding-left: var(--wp--preset--spacing--70);*/
}

body.admin-bar {
  --adminbar-offset: 32px;
}

body :where(p) {
  color: var(--text-col);
}

.wp-block-site-logo img[src$="svg"] {
  width: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}

header.wp-block-template-part {
  position: sticky;
  top: var(--adminbar-offset);
  left: 0;
  right: 0;
  z-index: var(--z-index-header);
  min-height: var(--header-height);
}

:is(.wp-block-post-title, .wp-block-query-title, .wp-block-heading) {
  color: var(--text-col) !important;
}

:is(.wp-block-post-title, .wp-block-query-title, .wp-block-heading) strong {
  color: var(--wp--preset--color--base);
  display: inline-block;
  position: relative;
  z-index: 10;
  --stripe-rotate: 0.75deg;
}

:is(.wp-block-post-title, .wp-block-query-title, .wp-block-heading) strong::before {
  content: '';
  background: var(--wp--preset--color--accent-1);
  position: absolute;
  top: 0.04em;
  right: -0.15em;
  bottom: 0em;
  left: -0.15em;
  display: block;
  z-index: -1;
  -webkit-transform: rotate(var(--stripe-rotate, 0.75deg));
          transform: rotate(var(--stripe-rotate, 0.75deg));
}

:is(.wp-block-post-title, .wp-block-query-title, .wp-block-heading) strong:nth-last-of-type(1) {
  --stripe-rotate:0.8deg;
}

:is(.wp-block-post-title, .wp-block-query-title, .wp-block-heading) strong:nth-last-of-type(2) {
  --stripe-rotate:-0.75deg;
}

:is(.wp-block-post-title, .wp-block-query-title, .wp-block-heading) strong:nth-last-of-type(3) {
  --stripe-rotate:0.7deg;
}

:is(.wp-block-post-title, .wp-block-query-title, .wp-block-heading) strong:nth-last-of-type(4) {
  --stripe-rotate:-0.85deg;
}

:is(.wp-block-post-title, .wp-block-query-title, .wp-block-heading):is(h2) strong:nth-last-of-type(4) {
  --stripe-rotate:0.8deg;
}

:is(.wp-block-post-title, .wp-block-query-title, .wp-block-heading):is(h2) strong:nth-last-of-type(1) {
  --stripe-rotate:-0.75deg;
}

:is(.wp-block-post-title, .wp-block-query-title, .wp-block-heading):is(h2) strong:nth-last-of-type(2) {
  --stripe-rotate:0.7deg;
}

:is(.wp-block-post-title, .wp-block-query-title, .wp-block-heading):is(h2) strong:nth-last-of-type(3) {
  --stripe-rotate:-0.85deg;
}

:is(.wp-block-post-title, .wp-block-query-title, .wp-block-heading):has(+ p) {
  margin-bottom: 0.5em;
}

.wp-block-embed :is(lite-vimeo, lite-youtube) > :is(.lty-playbtn, .ltv-playbtn) {
  background-color: transparent;
  font-size: 1.2em;
}

.wp-block-embed :is(lite-vimeo, lite-youtube) > :is(.lty-playbtn, .ltv-playbtn)::before {
  border-width: 1em 0 1em 1.8em;
}

.wp-block-embed :is(lite-vimeo, lite-youtube) > :is(.lty-playbtn, .ltv-playbtn) ~ :is(.lty-playbtn, .ltv-playbtn) {
  pointer-events: none;
  display: none;
}

.wp-block-embed :is(lite-vimeo, lite-youtube)::after {
  content: '';
  display: block;
  background-color: var(--bg-col);
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  opacity: 0.6;
  pointer-events: none;
  -webkit-transition: opacity 0.2s;
  transition: opacity 0.2s;
}

.wp-block-embed :is(lite-vimeo, lite-youtube)[class*="activated"]::after {
  opacity: 0;
}

.entry-content > .wp-block-cover.alignfull:first-child {
  --wp--preset--font-size--xx-large: calc(var(--wp--preset--font-size--x-large) * 1.5);
  /*> .wp-block-cover__inner-container {

		position: static;

		> .wp-block-embed.is-type-video{
			position: absolute;
			left: 0;
			right: 0;
			bottom: 0;
			top: 0;
			max-width: 100%;
			max-height: 100%;
		}

	}*/
}

.entry-content > .wp-block-cover.alignfull:first-child[style*="min-height:100vh"] {
  margin-top: var(--header-height);
  max-height: calc(100vh - var(--header-height));
}

.entry-content > .wp-block-cover.alignfull:first-child .wp-block-cover__inner-container .wp-block-group p {
  max-width: 500px;
}

aside#moove_gdpr_cookie_info_bar.gdpr_infobar_postion_top {
  margin-top: var(--adminbar-offset);
}

aside#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container {
  width: var(--wp--style--global--content-size);
  margin: 0 auto;
  padding: var(--wp--preset--spacing--40) 0;
  max-width: calc(100% - var(--wp--style--root--padding-left) - var(--wp--style--root--padding-right));
}

aside#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-cookie-notice p {
  font-size: var(--wp--preset--font-size--small);
  line-height: inherit;
  margin: 0 0 0.5em;
}

aside#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-cookie-notice p:first-child {
  font-size: var(--wp--preset--font-size--medium);
}

aside#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-cookie-notice p:last-child {
  margin-bottom: 0;
}

aside#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-cookie-notice p a {
  font-weight: bold;
}

aside#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-button-holder {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: flex-end;
}

aside#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-button-holder button.mgbutton {
  font-size: var(--wp--preset--font-size--small);
  font-weight: 700;
  text-transform: uppercase;
  padding: var(--wp--preset--spacing--20) var(--wp--preset--spacing--30);
  color: var(--wp--preset--color--base);
}
