/**
 * Add any custom CSS here.
 *
 * This file will be loaded after all theme stylesheets.
 */


/*===============================
=            Yleiset            =
===============================*/
h1, h2, h3, h4, h5 {

}
p, a, td, li {

}

/*==============================
=            Header            =
==============================*/

/* HEADER NAV */


/*==============================
=           Footer             =
==============================*/




/*===============================
=            Etusivu            =
===============================*/
 

/*===============================
=            Single event       =
===============================*/




/*===============================
=            Single post        =
===============================*/



/* MEDIA QUERYT */
@media screen and (max-width: 768px) {

}

/* MEDIA QUERYT */
@media screen and (max-width: 600px) {
    .front_title_text h2{
        line-height:28px !important;
    }

}



/* Esiintyjät single-sivu */
.esiintyja_keikat_wrapper {
    display:none;
}
.esiintyja_keikat_wrapper:has(.gig_calendar) {
    display:flex;
}


.esittely_lue_lisaa {
    height:200px;
    overflow:hidden;
    position:relative;
    margin-bottom:32px !important;
}
.esittely_lue_lisaa:after {
    content:'';
    position:absolute;
    bottom:0;
    left:0;
    right:0;
    height:100px;
    background:linear-gradient(rgba(255,255,255,0),rgba(255,255,255,1));
}
.esittely_lue_lisaa_linkki {
    cursor: pointer;
    transition: 0.3s;
}
.esittely_lue_lisaa_linkki:hover .elementor-heading-title {
    color: #A60400 !important;
}
.esittely_lue_lisaa_linkki .elementor-heading-title:after {
    content: url('/wp-content/uploads/punainen_nuoli_alas.svg');
    padding-left: 10px;
}
.esittely_lue_lisaa_linkki:hover .elementor-heading-title:after {
    content: url('/wp-content/uploads/tumma_nuoli_alas.svg');
}
.esittely_lue_lisaa.active {
    height:auto;
}
.esittely_lue_lisaa.active:after {
    display:none;
}

.bio_toggle_wrap {
    display:none;
}
.bio_toggle_wrap:has(.bio_toggle_content > div > p, .bio_toggle_content > div > em, .bio_toggle_content > div > img, .bio_toggle_content > div > i, .bio_toggle_content > div > blockquote) {
    display:block;
}
.bio_toggle_icon i:before {
    margin-top:3px;
}
.bio_toggle_icon .elementor-icon {
    cursor: pointer;
    transition: all 0.3s ease-in-out;       
}
.bio_toggle_content {
    display:none;
}
.bio_toggle_content.active {
    display:block;
}
.bio_toggle_icon .elementor-icon.active {
    transform: rotate(90deg);    
}

.yt_embed {
    width:49%;
    margin-bottom:2%;
}
.yt_videot_wrapper .elementor-shortcode {
    display:flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    
}
.bio_gallery_wrap {
    display:flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap:1%
}
.bio_gallery_img {
    width:32%;
    margin-bottom:0.4%;
}

.bio_gallery_img .image-description {
    font-size:12px;
    line-height: 18px;
    margin:2px 0 0 0;
}
.videot_wrap {
    display:none;
}
.videot_wrap:has(.yt_embed) {
    display:block;
}
.kuvat_wrap {
    display:none;
    scroll-margin-top:105px;
}
@media all and (max-width:757px){
    .kuvat_wrap {
        scroll-margin-top:85px;
    }
}
.kuvat_wrap:has(.bio_gallery_wrap) {
    display:block;
}
.artikkelit_wrap {
    display:none;
}
.artikkelit_wrap:has(.elementor-post) {
    display:block;
}
.kiertue_artikkelit_wrap {
    display:none;
}
.kiertue_artikkelit_wrap:has(.post) {
    display:block;
}
.konsertit_wrap {
    display: none;
}
.konsertit_wrap:has(.konsertit_listaus) {
    display:block;
}
.spotify_wrap {
    display:none;
}
.spotify_wrap:has(iframe) {
    display:block;
}
.spotify_wrap iframe {
    width:365px;
}
@media all and (max-width:1023px) {
    .spotify_wrap iframe {
        width:767px;
    }
}

.some_links_wrapper {
    display:flex;
    flex-direction: column;
    flex-wrap: no-wrap;
    justify-content: center;
    align-items: center;
    gap:12px;
}
.some_block a {
    color:#474747;
    border:1px solid #474747;
    border-radius: 15px;
    padding:4px 16px;
    font-size:16px;
    text-decoration: none !important;
    transition: 0.3s;
}
.some_block a:hover {
    color: #A60400;
    border-color: #A60400;
}
.some_block i {
    margin-right:10px;
}

/* Frontin mustepilvet */
.home .page-content {
    overflow: hidden;
}
.front_title_text {
    position:relative;
}
.front_title_text:after {
    content: '';
    position: absolute;
    width: 862px;
    height: 542px;
    top: -51px;
    right: -837px;
    background: url('/wp-content/uploads/muste2-1.webp');
    transform: rotate(342deg);
    z-index: -1;
}
.front_keikat_title {
    position:relative;
}
.front_keikat_title:before {
    content: '';
    position: absolute;
    width: 862px;
    height: 542px;
    top: -525px;
    left: -620px;
    background: url('/wp-content/uploads/muste2-1.webp');
    transform: rotate(181deg);
    z-index: -1;
}
.front_myynti_cta h2 {
    position:relative;
}
.front_myynti_cta h2:before {
    content: '';
    position: absolute;
    width: 862px;
    height: 542px;
    top: -185px;
    left: 199px;
    background: url('/wp-content/uploads/muste2-1.webp');
    transform: rotate(325deg);
    z-index: -1;
}

/* Single artikkeli */
.single_post_title, .single_feature_image {
    position:relative;
}
.single_post_title:after {
    content: '';
    position: absolute;
    width: 862px;
    height: 542px;
    top: -29px;
    right: -870px;
    background: url('/wp-content/uploads/muste2-1.webp');
    transform: rotate(333deg);
}
.single_post_title:before {
    content: '';
    position: absolute;
    width: 862px;
    height: 542px;
    top: 549px;
    left: -631px;
    background: url('/wp-content/uploads/muste2-1.webp');
    transform: rotate(20deg);
}
.single_feature_image:after {
    content: '';
    position: absolute;
    width: 862px;
    height: 542px;
    top: 1052px;
    right: -757px;
    background: url('/wp-content/uploads/muste2-1.webp');
    transform: rotate(301deg);
}

/* Gutenberg sisältö */ 
.page-id-11887 #content > div {
    margin:3em 0;
}
.wp-block-image {
    margin:2em 0;
}

/* Kiertue-sivu */
.kiertue_artikkelit_wrap .post {
    margin-bottom:35px;
}
.kiertue_artikkelit_wrap .post .keikat_title {
    font-family: "expressway", Sans-serif;
    font-size: 21px;
    font-weight: 600;
    line-height: 25px;
    text-decoration:underline;
    color: var( --e-global-color-secondary )
}
.kiertue_artikkelit_wrap .post:hover a {
    color:#A60400 !important
}
.kiertue_artikkelit_wrap .post .keikat_posts_lue_lisaa {
    font-family: "expressway", Sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none !important;
    line-height: 17px;
    color: #000;
    top: 8px;
    position: relative;
}