/*
Theme Name:		 Stuttg'Arte
Theme URI:		 https://cfjlab.fr
Description:	 Radar is a child theme of WP media Twentyfive
Author:			 X
Author URI:		 https://cfjlab.fr
Template:		 twentytwentyfive
Version:		 1.0.0
Text Domain:	 stuttgarte
*/


/*
 * Config
 */
body {
  margin: 0;
  padding: 0;
  --header-height: 220px;
  --image-height: calc(100vh - var(--header-height));
}


/*.wp-block-template-part:has(>.is-position-sticky) {
	--wp-admin--admin-bar--position-offset: var( --wp-admin--admin-bar--height, 0px );
	position: sticky;
	top: calc( 0px + var( --wp-admin--admin-bar--position-offset, 0px ) );
	z-index: 10;
}*/

* {
    overflow-wrap: break-word;
}


/* ----- decoration ----- */
.acat {
  position: absolute;
  margin-top: -30px;
  padding-left: 10px;
}
.acat a {
  color: var(--wp--preset--color--base);
  text-transform: uppercase;
  background-color: var(--wp--preset--color--accent-4);
  padding: 2px 5px 1px 5px;
  display: inline-block;
  text-decoration: none;
  font-size: 10px;
}


/* ----- page article ----- */
.seul .vignette {
  position: relative;
}
.seul .vignette .parallax {
  /*aspect-ratio: 16 / 9;*/
  height: calc(100vh - var(--header-height));
}
.seul .vignette .parallax figure {
  /*position: fixed;*/
  position: absolute;
  width: 100%;
  z-index: -10;
  height: calc(100vh - var(--header-height));
}
.seul .vignette .parallax figure img {
  aspect-ratio: initial;
  height: calc(100vh - var(--header-height));
}
.seul .vignette .over {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  color: var(--wp--preset--color--base);
  z-index: 20;
}
.seul .vignette .over .ccfic {
  font-style: italic;
}
.seul .vignette .wp-block-post-featured-image__overlay {
  height: var(--image-height);
}
@media (min-width: 695px) {
  .seul .vignette .over .cut {
    max-width: calc(var(--wp--style--global--content-size) + 200px);
    transform: translateX(100px);
  }
}
@media (max-width: 1200px) {
    .seul .vignette .over > div {
      padding: 0px var(--wp--preset--spacing--40);
    }
}
@media (max-width: 800px) {
    /*.seul .vignette .parallax {
      height: var(--image-height);
    }
    .seul .vignette .parallax figure img {
      height: var(--image-height);
    }
    .seul .vignette .over > div{
      padding: 0px var(--wp--preset--spacing--40);
    }*/
    /*.seul .vignette .over .wp-block-post-excerpt__excerpt {
      font-size: 14px;
    }
    .seul .vignette .over h2 {
      font-size: 25px;
    }
    .seul .vignette .over .legende {
      display: none;
    }*/
}

/* ----- author icon ----- */
.seul .icononly .wp-block-post-author__content {
  display: none;
}
.seul .icononly .wp-block-post-author__avatar {
  margin-right: 1rem;
}
.seul .icononly .wp-block-post-author__avatar img {
  border-radius: 50%;
}


/* ----- sticky collapsing header ----- */
header.stg-sticky-header {
  position: sticky;
  top: 0;
  z-index: 1200;
  overflow-anchor: none;
}

header.stg-sticky-header .stg-header-row {
  row-gap: 0;
}

header.stg-sticky-header .stg-header-top-part {
  max-height: var(--stg-top-max-height, 400px);
  opacity: 1;
  overflow: hidden;
  transform: translateY(0);
  transition: max-height 240ms ease, opacity 180ms ease, transform 240ms ease;
  will-change: max-height, transform, opacity;
  margin-bottom: 0 !important;
}

header.stg-sticky-header.stg-collapsed .stg-header-top-part {
  max-height: 0;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
}

header.stg-sticky-header .stg-header-menu-wrap {
  position: relative;
  z-index: 2;
}


/* ----- gutenslider ----- */
.wp-block-eedee-block-gutenslider.content-change .slide-content {
    position: absolute !important;
    bottom: 0;
    margin: 0;
    padding: 0 !important;
    color: var(--wp--preset--color--contrast);
    font-size: var(--wp--preset--font-size--small);
    line-height: 1.4;
    height: 40px;
    overflow: hidden;
    padding-top: 7px !important;
    background-color: var(--wp--preset--color--base);
    display: block !important;
    width: 100% !important;
    text-align: left !important;
}
.wp-block-eedee-block-gutenslider.content-change .slide-content p {
    color: var(--wp--preset--color--accent-6)  !important;
    font-size: var(--wp--preset--font-size--small)  !important;
    line-height: 1.4  !important;
    text-align: left !important;
    font-weight: 400;
    font-style: italic;
}
.wp-block-eedee-block-gutenslider.gs-frontend.gs-finished-layout:not(.adaptive-height) .swiper-slide {
    padding-bottom: 47px
}

.wp-block-eedee-block-gutenslider.dot-position-bottom .eedee-gutenslider-pagination {
    bottom: 50px !important;
}



/* ----- quotes ----- */
.wp-block-pullquote {
  text-align: left;
  padding-left: 0;
}
.wp-block-pullquote blockquote {
  background-image : url(quote.svg);
  background-size: 50px;
  background-repeat: no-repeat;
  background-position: 0 0;
  padding-left: 65px;
}
.wp-block-pullquote blockquote p {
  /*font-weight: 600;*/
}
.wp-block-pullquote blockquote cite {

}
@media (min-width: 695px) {
  .wp-block-pullquote {
    max-width: calc(var(--wp--style--global--content-size) + 200px);
    transform: translateX(100px);
    padding-left: 0;
  }
  .wp-block-pullquote blockquote {
    background-size: 77px;
    padding-left: 95px;
  }
}