/* =============================================================================
   SAVONLINNAN OOPPERAJUHLAT - KAUSIVÄRIT 2027
   Lähde: visuaalinen_ilme_27.pdf (viralliset HEX-arvot) + Etusivu.jpg / Teossivu.jpg
   Pohja: custom-overrides-2025.css. Selektorit ennallaan - vain väriarvot vaihdettu.

   KAUSIVÄRIT
     #5c8ed7   Tyyni taivaansininen
     #def0f4   Kepeä vaaleansininen
     #fa8a2e   Kirkas oranssi
     #f0d4e0   Pehmeä vaaleanpunainen
     #a40c37   Syvä punainen

   VIRALLISET VÄRIPARIT (tausta -> teksti) ja niiden kontrastit
     #a40c37 -> #f0d4e0    5.66:1   OK
     #def0f4 -> #a40c37    6.65:1   OK
     #fa8a2e -> #a40c37    3.25:1   vain iso/lihavoitu teksti
     #5c8ed7 -> #f0d4e0    2.41:1   ei riitä tekstille
     #f0d4e0 -> #fa8a2e    1.74:1   ei riitä tekstille

   MUUTTUMATTOMAT (brändi/neutraalit, eivät ole kausivärejä)
     #ECEBE3 kerma  ·  #4b4b4b footer/body  ·  #cdcbbd, #C9C8C0 teemasivun napit

   SVG-GRAFIIKAT - tehty, tiedostot kansiossa svg-2027/
     balls-2027.svg              #7d8655 -> #f0d4e0  (pallorivi, mockupista varmistettu)
     side-waves-right-2027.svg   #C4B2D0 -> #def0f4
     side-waves-left-2027.svg    #C4B2D0 -> #def0f4
   VIE NÄMÄ teeman kansioon dist/images/ ENNEN kuin otat tämän CSS:n käyttöön -
   polut osoittavat jo uusiin nimiin, muuten pallorivi katoaa.

   EI MUUTETTU - eivät sisällä kausivärejä vaan brändineutraalit sävyt:
     waves-top.svg / waves-left.svg   #ecebe3 kerma (sama kuin sisältötausta)
     waves-small.svg                  #e0dfd4 vaalea beige
     icon-arrow-down.svg              musta viivagrafiikka
   ============================================================================= */

/* A @font-face {
    font-family: 'Boogy_Brut_Poster_WEB-White_Italic';
    src: url('../fonts/Boogy_Brut_Poster_WEB-White_Italic.eot'),
         url('../fonts/Boogy_Brut_Poster_WEB-White_Italic.eot?#iefix') format('embedded-opentype'),
         url('../fonts/Boogy_Brut_Poster_WEB-White_Italic.woff') format('woff'),
         url('../fonts/Boogy_Brut_Poster_WEB-White_Italic.woff2') format('woff2');
}

@font-face {
    font-family: 'Boogy_Brut_Poster_WEB-White_Wild';
    src: url('../fonts/Boogy_Brut_Poster_WEB-White_Wild.eot'),
         url('../fonts/Boogy_Brut_Poster_WEB-White_Wild.eot?#iefix') format('embedded-opentype'),
         url('../fonts/Boogy_Brut_Poster_WEB-White_Wild.woff') format('woff'),
         url('../fonts/Boogy_Brut_Poster_WEB-White_Wild.woff2') format('woff2');
} */

@font-face {
    font-family: 'Canela Regular';
    src: url('../dist/fonts/Canela-Regular.woff') format('woff'),
         url('../dist/fonts/Canela-Regular.woff2') format('woff2');
}

@font-face {
    font-family: 'Canela Medium';
    src: url('../dist/fonts/Canela-Medium.woff') format('woff'),
         url('../dist/fonts/Canela-Medium.woff2') format('woff2');
}

h1.hero-title {
    /* font-family: 'Boogy_Brut_Poster_WEB-White_Italic',Canela,Styrene,Lato,Arial,sans-serif !important; */
    font-family: 'Canela Regular', Styrene, Lato, Arial, sans-serif !important;
    /* text-transform: none !important; */
    font-weight: 400 !important;
    color: #ECEBE3;
    letter-spacing: 3px;
    line-height: 1.1;
}


.hero-slider.slick-initialized .slick-slide .slide, .hero-slider.slick-initialized .slick-slide>div,
.hero-slider.slider .slide {
	/* height: 80vh; */
    min-height: calc(100vh - 79px);
    /* max-height: 100vh; */
}

.hero .hero-slider .hero-slide .hero-title { font-size: 35px; }
@media screen and (min-width: 768px) {
    .hero .hero-slider .hero-slide .hero-title {
        font-size: 75px;
        line-height: 1.2;
    }
}
@media (max-width: 768px) {
    .hero .hero-slider .hero-slide video {
        height: 125%;
        width: auto;
    }
}
@media (max-width: 400px) { 
    .hero .hero-slider .hero-slide .hero-title {
        hyphens: auto;
    }
}


/** Buttons */
#content .gform_wrapper .gform_footer input.button, .button, .content-single .entry-footer .tags-links a, .popup .gform_wrapper .gform_footer input.button, a.button, 
.search-form .form-fields button,
.event-showtimes .event-schedule .event .buy,
#send { 
    background-color: #fa8a2e; /* 2027 kirkas oranssi (oli #c9774f) */
    color: #fff;
} 

#content .gform_wrapper .gform_footer input.button:hover, .button:hover, .content-single .entry-footer .tags-links a:hover, .popup .gform_wrapper 
.gform_footer input.button:hover, a.button:hover, .search-form .form-fields button:hover, .event-showtimes .event-schedule .event .buy:hover, #content 
.gform_wrapper .gform_footer input.on-dark.button:hover, .content-single .entry-footer .tags-links a.on-dark:hover, .popup .gform_wrapper .gform_footer 
input.on-dark.button:hover, a.button.on-dark:hover, #send:focus, #send:hover {
    background-color: #a40c37; /* 2027 syvä punainen (oli #7d8655) */
    color: #fff;
}

.promo-50-50.block .promo-50-50-button {
    background-color: #fa8a2e; /* 2027 kirkas oranssi */
    color: #fff;
}
.promo-50-50.block .promo-50-50-button:hover {
    /* opacity: .8; */
    background-color: #a40c37; /* 2027 syvä punainen */
}

.button.secondary {
    background-color: #5c8ed7; /* 2027 taivaansininen - teossivun "Osta liput" (oli #971B2F) */
    color: #fff;
}
.button.secondary:hover {
    background: #a40c37; /* 2027 syvä punainen (oli #3F2A56) */
}

.dg-showmore-button { 
    background-color: #fa8a2e !important; /* 2027 oranssi (oli #7d8655) */
    color: #fff !important;
}
.dg-showmore-button:hover, .dg-showmore-button:active {
    background-color: #a40c37 !important; /* 2027 syvä punainen */
    color: #fff !important;
}

.primary-menu li.current-menu-ancestor>a, .primary-menu li.current-menu-item>a, .primary-menu li.current-page-ancestor>a, .primary-menu li.current_page_parent>a, .language-switcher .languages .active a, .primary-menu a:hover {
    color: #fa8a2e; /* 2027 oranssi - valikon aktiivinen/hover */
}
a { color: #a40c37;} /* 2027 syvä punainen - leipätekstilinkit (kontrasti 7.8:1) */
.menu-toggle, .content-card .content-container .entry-title, .content-single .entry-header .parent-page, .page-header .parent-page, .options a, .selected-recommendations .recommendation-wrapper .title {
    color: #000;
}

.post-list-item a:hover .entry-date, .post-list-item a:hover .entry-title {
    color: #a40c37; /* 2027 syvä punainen */
}

#content .gform_wrapper .gform_footer input.alt.button, .button.alt, .content-single .entry-footer .tags-links a, .popup .gform_wrapper .gform_footer input.alt.button, a.button.alt {
    border: 2px solid #fa8a2e; /* 2027 oranssi */
    background-color: #fa8a2e; /* 2027 oranssi */
    color: #fff;
}

#content .gform_wrapper .gform_footer input.alt.button:hover, .button.alt:hover, .content-single .entry-footer .tags-links a:hover, .popup .gform_wrapper .gform_footer input.alt.button:hover, a.button.alt:hover {
    background-color: #a40c37; /* 2027 syvä punainen */
    border-color: #a40c37;
    color: #fff;
    /* opacity: .8; */
}

.site-footer {
    background-color: #4b4b4b;
}

.hero .hero-slider .hero-slide {
    background-color: #ECEBE3;
}

@media (min-width: 1024px) {
    .side-waves-right {
        background: url(../dist/images/side-waves-right-2027.svg) no-repeat 100% 0;
    }
}

@media (min-width: 1024px) {
    .side-waves-left {
        background: url(../dist/images/side-waves-left-2027.svg) no-repeat 0 0;
    }
}

.search-toggle {
    color: #000000;
}
.site-footer {
    background-color: #4b4b4b;
}
body {
    background-color: #4b4b4b;
}

.site-footer .footer-right-col .footer-menu-wrapper .footer-menu .menu-item a {
    color: #fff;
}

html[lang="fi"] body.home > #content > section:nth-last-of-type(2),
html[lang="en-US"] body.home > #content > section:nth-last-of-type(2) {
    /* background-color: #4b4b4b !important; */
    background-color: #f0d4e0 !important; /* 2027 pehmeä vaaleanpunainen - Jäsenyys-sektio (oli tumma #9d342d) */
}
html[lang="fi"] body.home > #content > section:nth-last-of-type(2) .promo-50-50-button,
html[lang="en-US"] body.home > #content > section:nth-last-of-type(2) .promo-50-50-button { 
    background-color: #a40c37 !important; /* 2027 syvä punainen - "Liity nyt" */
    color: #f0d4e0 !important; /* virallinen väripari punainen->pinkki (5.66:1) */
}
html[lang="fi"] body.home > #content > section:nth-last-of-type(2) h3.title,
html[lang="en-US"] body.home > #content > section:nth-last-of-type(2) h3.title { 
    color: #000 !important; /* tausta vaihtui vaaleaksi -> otsikko musta */
}
html[lang="fi"] body.home > #content > section:nth-last-of-type(2) p {
    color: #000; /* tausta vaihtui vaaleaksi -> leipäteksti musta */
}


/*
html[lang="en-US"] body.home > #content > section:nth-last-of-type(2) {
    background-color: #4b4b4b !important;
}
*/
/*html[lang="en-US"] body.home > #content > section:nth-last-of-type(2) .promo-50-50-button { 
    background-color: #C4B2D0 !important;
    color: #000 !important;
}*/
/*
html[lang="en-US"] body.home > #content > section:nth-last-of-type(2) h3.title { 
    color: #C4B2D0 !important;
}
    */
html[lang="en-US"] body.home > #content > section:nth-last-of-type(2) p {
    color: #000; /* tausta vaihtui vaaleaksi -> leipäteksti musta */
}
html[lang="fi"] .selected-recommendations {
    background-color: #ecebe3;
}
.table-info .info-table:after,
.event-plot:after {
    background: url(../dist/images/balls-2027.svg) no-repeat 50%;
}
.event-plot {
    margin-top: 100px;
    width: 800px;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}
.content-video + .event-plot {
    margin-top: 0;
}
.event-plot:after {
    content: "";
    display: block;
    background: url(../dist/images/balls-2027.svg) no-repeat 50%;
    background-size: contain;
    max-width: 492px;
    width: 100%;
    height: 14px;
    margin: 70px auto 125px;
}

.recommendations-nav .rec-nav li a:hover {
    background-color: #def0f4; /* 2027 kepeä vaaleansininen (oli #e7be8b) */
    color: #000;
}
.promo-full .promo-full-button {
    background-color: #5c8ed7; /* 2027 taivaansininen (oli #7d8655) */
    color: #fff;
}
.promo-full .promo-full-button:hover {
    background-color: #a40c37; /* 2027 syvä punainen */
    color: #fff;
}

/*
.content-single .promo-full .promo-full-button, .content-single .promo-full a.promo-full-button {
    background-color: #e7be8b !important;
    color: #000 !important;
}
    */
.selected-artists .artist .artist-image .curtain {
    background-image: linear-gradient(180deg,#BCA136,#003f3f); /* EI MUUTETA - jää ennalleen (Antti 7.8.2026) */
}
#content .gform_wrapper .ginput_container_select:after, .popup .gform_wrapper .ginput_container_select:after, .select:after {
    color: #a40c37; /* 2027 syvä punainen */
}
/* .dg-showmore-button:hover, .dg-showmore-button:active {
    background-color: #881910 !important;
    color: #000 !important;
} */

.event-showtimes .event-schedule .event .buy {
    background-color: #5c8ed7; /* 2027 taivaansininen - teossivun Osta-napit */
    color: #fff;
}
.event-showtimes .event-schedule .event .buy:hover,
.event-showtimes .event-schedule .event .buy:focus {
    background-color: #a40c37; /* 2027 syvä punainen */
    color: #fff;
}


/*
@media (min-width: 1024px) {
    html[lang="en-US"] .primary-menu a {
        max-width: 140px;
    }
}
*/
#content .gform_wrapper .gform_footer input.on-dark.button, .button.on-dark, .content-single .entry-footer .tags-links a.on-dark, .popup .gform_wrapper .gform_footer input.on-dark.button, a.button.on-dark {
    border: 2px solid #f0d4e0; /* 2027 pehmeä vaaleanpunainen */
    background-color: #f0d4e0; /* 2027 pehmeä vaaleanpunainen - footerin Lähetä */
    color: #000;
    border-radius: 0;
}

#content .gform_wrapper .gform_footer input.on-dark.button:hover,
#content .gform_wrapper .gform_footer input.on-dark.button:focus,
.button.on-dark:hover,
.button.on-dark:focus,
.content-single .entry-footer .tags-links a.on-dark:hover,
.content-single .entry-footer .tags-links a.on-dark:focus,
.popup .gform_wrapper .gform_footer input.on-dark.button:hover,
.popup .gform_wrapper .gform_footer input.on-dark.button:focus,
a.button.on-dark:hover,
a.button.on-dark:focus {
    border-color: #def0f4; /* 2027 kepeä vaaleansininen - teksti pysyy mustana (17.9:1) */
    background-color: #def0f4;
}

.site-footer .footer-feedback-wrapper .footer-form-field {
    color: #160D45;
    background-color: #ffffff;
    border-radius: 0;
}


.dg-accordion .dg-accordion__item .dg-accordion__caption:hover,
.dg-accordion .dg-accordion__item .dg-accordion__title:hover {
    color: #a40c37; /* 2027 syvä punainen (oli #C4B2D0) */
}
.hero-button.button {
    background-color: #5c8ed7; /* 2027 taivaansininen - hero-nappi (oli #f2bea5) */
    color: #fff !important; /* tausta vaihtui tummaksi -> teksti valkoinen */
}
.hero-button.button:hover {
    background-color: #5c8ed7; /* 2027 taivaansininen */
    opacity: .8 !important;
}
.primary-menu a { background: transparent !important; }


/* video popuppi 23.1.2024 */
.video-popup {
  position: relative;
  background: #FFF;
  padding: 35px;
  width: auto;
  max-width: 800px;
  margin: 20px auto;
}

/* Kumppanilista etusivulla */
.partners-list {
    margin-bottom: 1rem;
}
.partners-list .partner-item  {
	height: 120px;
	width: 155px;
}
.partners-list.partner-text-format .partner-item {
    height: auto;
    width: auto;
    font-family: Styrene, Lato, Arial, sans-serif;
    font-size: 20px;
    font-weight: 600;
}

a.partner {
    width: 100%;
    height: 100%;
    align-items: center;
    display: flex;
}
.partners-list .partner-item img {
	object-fit: contain;
    height: 100%;
    width: 100%;
}


.video-list .content-card .post-thumbnail {
	padding-bottom: 56%;
}

.video-list .content-card .post-thumbnail img {
    position: absolute; 
	top: 50%; left: 50%; 
	width: 100%; 
	height: 100%; 
	object-fit: cover;
	transform: translate(-50%, -50%);
}


span.dg-laskuri {
    display: block;
    width: 180px;
	background-color: #a40c37; /* 2027 syvä punainen (oli #BCA136) */
    clear: both;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.5rem;
    font-weight: bold;
    border-radius: 20px;
    text-align: center;
    color: white;
}
span.dg-laskuri.align-left {
	margin-left: 0;
}
span.dg-laskuri.align-right {
	margin-right: 0;
}



/* muutin campaign-newsletter-trigger tilalle divin hover-buttons, tarvis useemman linkin siihe T 21.5.2024 */
.hover-buttons {position:fixed;bottom:9px;right:50px;z-index:100;}
.hover-buttons a {
    font-weight: 600;
    background-color: #a40c37; /* 2027 syvä punainen - kelluvat napit oik. alh. */
    color:#fff;
    padding:10px 2em;
    transition:0s
}
.hover-buttons a:hover{
    background-color: #5c8ed7; /* 2027 taivaansininen */
    border-color: #5c8ed7;
    color:#fff
}




#content .gform_wrapper .gform_footer .content-single .promo-full input.promo-full-button, #content .gform_wrapper .gform_footer input.alt-b.button, .button.alt-b, .content-single .entry-footer .tags-links a.alt-b, .content-single .promo-full #content .gform_wrapper .gform_footer input.promo-full-button, .content-single .promo-full .popup .gform_wrapper .gform_footer input.promo-full-button, .content-single .promo-full .promo-full-button, .content-single .promo-full a.promo-full-button, .popup .gform_wrapper .gform_footer .content-single .promo-full input.promo-full-button, .popup .gform_wrapper .gform_footer input.alt-b.button, a.button.alt-b {
    background-color: #a40c37; /* 2027 syvä punainen (oli #971B2F) */
    color: #fff;
}

@media (max-width: 600px) {
  .hover-buttons {
    position: fixed;
    bottom: 0;
    right: 0;
    z-index: 100;
    left: 0;
    /* Erottaa nappipalkin iOS-Safarin tyokalupalkista, joka varittyy sivun
       alareunan varin mukaan ja sulautuu muuten samaan syvaan punaiseen.
       Tumma punainen (#a40c37 -15 % L) lukee reunana; lapikuultava valkoinen
       muuttuisi vaaleanpunaiseksi sumuksi (#c4617d). Vahvempi: #450517. */
    border-bottom: 1px solid #5d071f;
  }
  .hover-buttons a {
    width: calc(50% - 2px);
    display: inline-block;
    text-align: center;
  }
}
body.admin-bar #masthead {
	top: 32px;
}

.primary-menu .sub-menu a {
	text-align: left;
}

@media (max-width: 600px) {
	.campaign-newsletter-trigger {
		left: 0;
		right: 0;
		text-align: center;

	}
	.cky-btn-revisit-wrapper.cky-revisit-bottom-left {
		left: 13px;
		bottom: 45px;
	}
}


.content-card .post-thumbnail img {
    height: auto;
    max-width: auto;
    object-fit: cover;
    object-position: center;
}


.promo-45-55 {
    margin-bottom: 50px;
}

@media (min-width: 768px) {
    .promo-45-55 {
        margin-bottom: 100px;
    }
    .promo-45-55 + .promo-45-55 {
        margin-top: -50px;
    }
}


.promo-45-55 .content-col {
    display: flex;
    flex-direction: row;
    align-items: center;
    background-color: #ECEBE3;
}
.promo-45-55 .img-col {
    position: relative;
}
.promo-45-55 .promo-img {
    box-shadow: none;
}
.promo-45-55 .img-col::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background-image: url('../dist/images/waves-top.svg');
    background-repeat: repeat-x;
    background-position: bottom;
    background-size: 400px;
    z-index: 1;
}
@media (min-width: 1024px) {
    .promo-45-55 .img-col::before {
        transform: none;
        content: '';
        position: absolute;
        top: 0;
        bottom: auto;
        left: auto;
        right: 0;
        width: 50px;
        height: 100%;
        background-image: url('../dist/images/waves-left.svg');
        background-repeat: repeat-y;
        background-position: left;
        background-size: 200px;

    }
    .promo-45-55 .img-col img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .promo-45-55.right .img-col::before {
        right: auto;
        left: 0;
        transform: rotate(180deg);
    }
}

.promo-45-55.right {
    flex-direction: row-reverse;
}


.promo-45-55 .content-wrapper {
    padding: 25px;
}

@media (min-width: 768px) {
    .promo-45-55 .content-wrapper {
        padding: 55px;
    }
}

body.page-template-page-teemasivu .content-card .post-thumbnail,
body.post-template-page-teemasivu .content-card .post-thumbnail {
    padding-bottom: 60%;
}
body.page-template-page-teemasivu .content-card .post-thumbnail img,
body.post-template-page-teemasivu .content-card .post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

body.page-template-page-teemasivu .content-card .content-container,
body.post-template-page-teemasivu .content-card .content-container {
    padding: 30px;
}

body.page-template-page-teemasivu .button,
body.page-template-page-teemasivu .button.alt,
body.page-template-page-teemasivu .promo-45-55.block .promo-button,
body.post-template-page-teemasivu .button,
body.post-template-page-teemasivu .button.alt,
body.post-template-page-teemasivu .promo-45-55.block .promo-button {
    padding: 12.5px 12.5px 12.5px;
    color: #000000;
    background-color: #ECEBE3;
    border: 2px solid #ECEBE3;
    font-family: Lato, Arial, sans-serif;

    box-shadow: none;
    font-weight: 600;
    line-height: 1.2;

}

body.page-template-page-teemasivu .button.alt,
body.post-template-page-teemasivu .button.alt {
    background-color: #5c8ed7; /* 2027 taivaansininen */
    border: 2px solid #5c8ed7; /* 2027 taivaansininen */
    color: #fff;
}

body.page-template-page-teemasivu .promo-45-55.block .promo-button,
body.post-template-page-teemasivu .promo-45-55.block .promo-button {
    background-color: #cdcbbd;
}

body.page-template-page-teemasivu .button:not(.alt):after, 
body.page-template-page-teemasivu .promo-45-55.block .promo-button::after,
body.post-template-page-teemasivu .button:not(.alt):after,
body.post-template-page-teemasivu .promo-45-55.block .promo-button::after {
    content: '';
    display: inline-block;
    width: 12px;
    height: 12px;
    vertical-align: middle;
    margin-left: 15px;
    transform: rotate(-90deg);

    background-image: url('../dist/images/icon-arrow-down.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;    
}

body.page-template-page-teemasivu .button:hover,
body.page-template-page-teemasivu .button:focus,
body.page-template-page-teemasivu .button.alt:hover, 
body.page-template-page-teemasivu .button.alt:focus,
body.post-template-page-teemasivu .button:hover,
body.post-template-page-teemasivu .button:focus,
body.post-template-page-teemasivu .button.alt:hover,
body.post-template-page-teemasivu .button.alt:focus {
    color: #000000;
    background-color: #C9C8C0;
    border: 2px solid #C9C8C0;
}

body.page-template-page-teemasivu .button.link,
body.post-template-page-teemasivu .button.link {
    display: inline-block;
    padding: 0;
    margin: 0;
    background-color: transparent;
    color: #000;
    font-weight: 700;
    border: 0;
    width: auto;
    min-width: auto;
    max-width: auto;
}

body.page-template-page-teemasivu .button.link.active,
body.post-template-page-teemasivu .button.link.active {
 text-decoration: underline !important;
}

body.page-template-page-teemasivu .button.link:after,
body.post-template-page-teemasivu .button.link:after {
    display: none;  
}

body.page-template-page-teemasivu .promo-45-55 > .container > .row,
body.post-template-page-teemasivu .promo-45-55 > .container > .row {
    min-height: 450px;
}

body.page-template-page-teemasivu .widget-title,
body.post-template-page-teemasivu .widget-title {
    font-family: 'Canela Regular', Styrene, Lato, Arial, sans-serif;
    text-transform: none;
}
body.page-template-page-teemasivu .widget-title:after,
body.post-template-page-teemasivu .widget-title:after,
body.page-template-page-teemasivu .lead:after,
body.post-template-page-teemasivu .lead:after {
    content: '';
    display: block;
    width: 200px;
    height: 20px;
    margin-top: 10px;
    margin-bottom: 20px;
    background-image: url('../dist/images/waves-small.svg');
    background-repeat: no-repeat;
    background-size: 100px;
}

body.page-template-page-teemasivu .lead:after,
body.post-template-page-teemasivu .lead:after {
    margin-top: 50px;
}

body.page-template-page-teemasivu ul.widget-list,
body.post-template-page-teemasivu ul.widget-list {
    padding: 0;
    margin: 0;
}
body.page-template-page-teemasivu ul.widget-list li,
body.post-template-page-teemasivu ul.widget-list li {
    margin-bottom: 25px;
}
body.page-template-page-teemasivu ul.widget-list li, 
body.page-template-page-teemasivu ul.widget-list li a,
body.post-template-page-teemasivu ul.widget-list li,
body.post-template-page-teemasivu ul.widget-list li a {
    color: #000;
    font-weight: 600;
}
body.page-template-page-teemasivu .content-card .content-container .entry-excerpt,
body.post-template-page-teemasivu .content-card .content-container .entry-excerpt {
    font-size: 1rem;
    line-height: 1.5;
}

body.page-template-page-teemasivu .sidebar .widget,
body.post-template-page-teemasivu .sidebar .widget {
    margin-bottom: 50px;
}

@media (min-width: 1024px) {
    body.page-template-page-teemasivu .sidebar .widget,
    body.post-template-page-teemasivu .sidebar .widget {
        margin-bottom: 75px;
    }
}

body.page-template-page-teemasivu .sidebar .widget .meta,
body.post-template-page-teemasivu .sidebar .widget .meta {
    margin-top: 10px;
    font-size: .8rem;
    font-weight: 400;
    color: #343434;
}

body.page-template-page-teemasivu .selected-content,
body.post-template-page-teemasivu .selected-content {
    padding-top: 0;
    padding-bottom: 0;
    margin-bottom: 50px;
}

@media (min-width: 768px) {
    body.page-template-page-teemasivu .selected-content,
    body.post-template-page-teemasivu .selected-content {
        margin-bottom: 100px;
    }
}

@media (min-width: 1024px) {
    body.page-template-page-teemasivu .slider-images .image-slider,
    body.post-template-page-teemasivu .slider-images .image-slider {
        margin-right: 0;
        margin-left: 0;
    }
}

body.page-template-page-teemasivu h1.hero-title,
body.post-template-page-teemasivu h1.hero-title {
    color: #fff;
}

body.page-template-page-teemasivu .hero .hero-slider .hero-slide .hero-content-wrapper,
body.post-template-page-teemasivu .hero .hero-slider .hero-slide .hero-content-wrapper {
    justify-content: flex-end;
    padding-bottom: 150px;
}

.hero .hero-slider .hero-slide .curtain {
    opacity: .3;
}

body.page-template-page-teemasivu ul.content-sub-menu li a:hover,
body.post-template-page-teemasivu ul.content-sub-menu li a:hover {
    opacity: .5;
}

body.post-template-page-teemasivu .slider-images .image-slide {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
}
body.post-template-page-teemasivu .slider-images .slick-prev:before,
body.post-template-page-teemasivu .slider-images .slick-next:before {
    display: none !important;
}

body.post-template-page-teemasivu .wysiwyg-module .entry-content,
body.page-template-page-teemasivu .wysiwyg-module .entry-content {
    max-width: 100%;
}

@media (min-width: 1200px) {
    body.post-template-page-teemasivu .wysiwyg-module .entry-content,
    body.page-template-page-teemasivu .wysiwyg-module .entry-content {
        max-width: 90%;
    }
}

.hero .hero-slider .hero-slide .hero-content-wrapper {
    max-width: 1200px;
}

body.post-template-page-teemasivu .block-kuva figure,
body.page-template-page-teemasivu .block-kuva figure {
    /*
    width: 100%;
    max-width: 100%;
    */
}



.hero .hero-slider .hero-slide .hero-content-wrapper {
    z-index: 3;
}

.hero .hero-slider .hero-slide .dg-video-holder {
    position: absolute;
    z-index: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.hero .hero-slider .hero-slide .dg-video-holder video {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    object-position: top center;
}

.event-hero .hero-image,
body.single-event  .hero .hero-slider .slick-slide,
body.single-event  .hero .hero-slider .slick-slide .hero-slide {
    height: 46.786vw;
    max-height: 786px;
    min-height: auto;
}

.button.top-navigation-button.tickets-button-header {
    background-color: #fa8a2e; /* 2027 kirkas oranssi - yläpalkin Osta liput (oli #7d8655) */
    border: 0 !important;
    font-family: Styrene, Lato, Arial, sans-serif;
    font-weight: 500;
    line-height: 1.2;
}
.button.top-navigation-button.tickets-button-header:hover {
    background-color: #a40c37; /* 2027 syvä punainen */
}
.button.top-navigation-button.tickets-button-header::after {
    display: none !important; 
}

.site-footer .footer-contacts-wrapper a {
    color: #f0d4e0; /* 2027 pehmeä vaaleanpunainen - footerin yhteystietolinkit */
}

/* =============================================================================
   YLIAJOT custom.css:ÄÄN
   Kausivärejä oli myös teeman custom.css:ssä, ei pelkästään tässä override-
   tiedostossa. Nämä neljä sääntöä ovat custom.css:n OMIA selektoreita - ei uusia
   valitsimia, vain sama sääntö uudella arvolla. custom.css ladataan ennen tätä
   tiedostoa, joten sama selektori voittaa myöhempänä.
   Havaittu 7.8.2026 selaimesta: teossivulla osionavi ja tietotaulukon otsikot
   jäivät vanhaan väriin #9d342d.
   ============================================================================= */

/* Teossivun osionavi: JUONI / KUVAGALLERIA / TEKIJÄT / ROOLEISSA / VINKIT */
.sub-navigation > ul > li > a {
    background-color: #5c8ed7; /* 2027 taivaansininen (custom.css rivi 242: #9d342d) */
}
.sub-navigation > ul > li > a:hover {
    background-color: #a40c37; /* 2027 syvä punainen (custom.css rivi 256: #7d8655) */
}

/* Teossivun tietotaulukon otsikot: KENELLE / KIELI / KESTO / LIPUT / ENSI-ILTA */
ul.dg-key-value-info-list .dg-key-value-info-title {
    color: #5c8ed7; /* 2027 taivaansininen (custom.css rivi 414: #9d342d) */
}

/* Pudotusvalikko - ei esiintynyt etusivulla eikä teossivulla, ei voitu varmistaa selaimesta */
.dropdown-wrapper select {
    background: #5c8ed7; /* 2027 taivaansininen (custom.css rivi 450: #7d8655) */
}


/* =============================================================================
   SAAVUTETTAVUUSKORJAUKSET - poista kommentti jos halutaan käyttöön

   Mockupin mukainen valkoinen teksti oranssilla napilla on kontrastiltaan
   2.40:1, mikä alittaa myös ison tekstin 3:1-rajan. Musta teksti oranssilla
   on 8.74:1 ja säilyttää saman ilmeen. Sininen nappi valkoisella tekstillä
   on 3.33:1 eli riittää vain isolle/lihavoidulle tekstille.

   Tämä lohko noudattaa samoja selektoreita kuin yllä - ei uusia.

#content .gform_wrapper .gform_footer input.button, .button, .content-single .entry-footer .tags-links a, .popup .gform_wrapper .gform_footer input.button, a.button,
.search-form .form-fields button,
#send {
    color: #000;
}
#content .gform_wrapper .gform_footer input.alt.button, .button.alt, .popup .gform_wrapper .gform_footer input.alt.button, a.button.alt {
    color: #000;
}
.dg-showmore-button {
    color: #000 !important;
}
.button.top-navigation-button.tickets-button-header {
    color: #000;
}
============================================================================= */
