.elementor-kit-1659{--e-global-color-primary:#C32B27;--e-global-color-secondary:#F4F4F4;--e-global-color-text:#8C8C8C;--e-global-color-accent:#991111;--e-global-color-06719f9:#FFFFFF;--e-global-color-4fcf2d0:#333333;--e-global-color-2fc67b9:#CE5A53;--e-global-color-b66b334:#F7F7F7F7;--e-global-color-5cebedd:#33A1A6;--e-global-color-5862d0d:#CA4E1C;--e-global-color-bf7b6b1:#1C1C1C;--e-global-typography-primary-font-family:"IBM Plex Sans";--e-global-typography-primary-font-size:30px;--e-global-typography-primary-font-weight:600;--e-global-typography-secondary-font-family:"Asap";--e-global-typography-secondary-font-weight:400;--e-global-typography-text-font-family:"IBM Plex Sans";--e-global-typography-text-font-weight:400;--e-global-typography-text-line-height:1.5px;--e-global-typography-accent-font-family:"Asap";--e-global-typography-accent-font-weight:500;background-color:var( --e-global-color-secondary );color:var( --e-global-color-4fcf2d0 );}.elementor-kit-1659 button,.elementor-kit-1659 input[type="button"],.elementor-kit-1659 input[type="submit"],.elementor-kit-1659 .elementor-button{background-color:var( --e-global-color-primary );color:var( --e-global-color-06719f9 );}.elementor-kit-1659 button:hover,.elementor-kit-1659 button:focus,.elementor-kit-1659 input[type="button"]:hover,.elementor-kit-1659 input[type="button"]:focus,.elementor-kit-1659 input[type="submit"]:hover,.elementor-kit-1659 input[type="submit"]:focus,.elementor-kit-1659 .elementor-button:hover,.elementor-kit-1659 .elementor-button:focus{background-color:var( --e-global-color-accent );color:var( --e-global-color-06719f9 );}.elementor-kit-1659 e-page-transition{background-color:#991111;}.elementor-kit-1659 a{color:var( --e-global-color-06719f9 );}.elementor-kit-1659 a:hover{color:var( --e-global-color-4fcf2d0 );}.elementor-kit-1659 h1{color:var( --e-global-color-primary );}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1140px;}.e-con{--container-max-width:1140px;}.elementor-widget:not(:last-child){margin-block-end:20px;}.elementor-element{--widgets-spacing:20px 20px;--widgets-spacing-row:20px;--widgets-spacing-column:20px;}{}h1.entry-title{display:var(--page-title-display);}@media(max-width:1024px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:1024px;}.e-con{--container-max-width:1024px;}}@media(max-width:767px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:767px;}.e-con{--container-max-width:767px;}}/* Start custom CSS *//* Tee kuvasta aina saman korkuinen ja rajaa se nätisti */
.joukkue-kortti-kuva img{
  width: 100%;
  height: 140px;       /* sama kuin Image Containerin min-height */
  object-fit: cover;
  display: block;
}

/* Otsikko max 2 riviä -> ei venytä korttia loputtomiin */
.joukkue-kortti-otsikko{
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.elementor-widget-text-editor a {
    color: #c40000 !important;   /* MiPK punainen */
}

.elementor-widget-text-editor a:hover {
    color: #8f0000 !important;   /* tummempi hover */
}
/* HEADER päävalikko - normaali */
.elementor-location-header .elementor-nav-menu a {
    color: #ffffff !important;
}

/* Hover */
.elementor-location-header .elementor-nav-menu a:hover {
    color: #f2f2f2 !important;
}

/* Aktiivinen sivu */
.elementor-location-header .elementor-nav-menu .current-menu-item > a,
.elementor-location-header .elementor-nav-menu .current_page_item > a {
    color: #ffffff !important;
}
/* Dropdown linkit */
.elementor-location-header .elementor-nav-menu .sub-menu a {
    color: #000000 !important; /* jos dropdown tausta on vaalea */
}

/* Dropdown hover */
.elementor-location-header .elementor-nav-menu .sub-menu a:hover {
    color: #c40000 !important;
}/* End custom CSS */