/*
Theme Name: Hello Biz Child
Template: hello-biz
Version: 1.13
Description: Pro Estore Oy:n Hello Biz -lapsiteema.
*/
/* =========================================================
   PRO ESTORE / PÄÄVALIKON LATAUSSIIRTYMÄN ESTO
   Widget: elementor-element-7572bd12
   ========================================================= */

@media (min-width: 1025px) {

	/* Valikkowidgetille vakaa tila jo ennen fonttien latautumista */
	.elementor-element-7572bd12 {
		flex: 0 0 672px !important;
		width: 672px !important;
		min-width: 672px !important;
		max-width: 672px !important;
		margin: 0 !important;
	}

	.elementor-element-7572bd12 > .elementor-widget-container,
	.elementor-element-7572bd12 .ekit-wid-con,
	.elementor-element-7572bd12 .elementskit-menu-container {
		width: 100% !important;
		min-width: 0 !important;
		margin: 0 !important;
		padding: 0 !important;
	}

	#menu-ylavalikko,
	#menu-paavalikko_en {
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
		flex-wrap: nowrap !important;
		width: 100% !important;
		height: 70px !important;
		margin: 0 !important;
		padding: 0 !important;
	}

	#menu-ylavalikko > li,
	#menu-paavalikko_en > li {
		position: relative;
		display: flex;
		align-items: center;
		flex: 0 0 auto;
		flex-direction: row;
		flex-wrap: nowrap;
		height: 70px;
		min-height: 0;
		margin: 0;
		padding: 0;
	}

	#menu-ylavalikko > li > a.ekit-menu-nav-link,
	#menu-paavalikko_en > li > a.ekit-menu-nav-link {
		position: relative;
		display: flex;
		align-items: center;
		height: 70px;
		margin: 0;
		padding: 0 12px;

		color: var(--proestore-text);
		background-color: transparent;

		font-family: "Manrope", Arial, Helvetica, sans-serif;
		font-size: 16px;
		font-style: normal;
		font-weight: 700;
		font-synthesis: none;
		line-height: 27.2px;
		letter-spacing: normal;
		text-align: left;
		text-decoration: none;
		text-transform: none;
		white-space: nowrap;

		border: 0;
		box-shadow: none;
		transform: none;
		cursor: pointer;

		transition: color 0.4s ease;
	}

	/* Hover ja focus: primary */
	#menu-ylavalikko > li > a.ekit-menu-nav-link:hover,
	#menu-ylavalikko > li > a.ekit-menu-nav-link:focus,
	#menu-paavalikko_en > li > a.ekit-menu-nav-link:hover,
	#menu-paavalikko_en > li > a.ekit-menu-nav-link:focus {
		color: var(--proestore-primary);
		font-size: 16px;
		font-weight: 700;
		transform: none;
	}

	/* Aktiivinen linkki: vaalea sininen */
	#menu-ylavalikko > li.current-menu-item > a.ekit-menu-nav-link,
	#menu-ylavalikko > li.current_page_item > a.ekit-menu-nav-link,
	#menu-ylavalikko > li > a.ekit-menu-nav-link.active,
	#menu-paavalikko_en > li.current-menu-item > a.ekit-menu-nav-link,
	#menu-paavalikko_en > li.current_page_item > a.ekit-menu-nav-link,
	#menu-paavalikko_en > li > a.ekit-menu-nav-link.active {
		color: var(--proestore-primary-light);
		font-family: "Manrope", Arial, Helvetica, sans-serif;
		font-size: 16px;
		font-weight: 700;
	}

	/* Aktiivinen linkki säilyy vaaleansinisenä hoverissa */
	#menu-ylavalikko > li.current-menu-item > a.ekit-menu-nav-link:hover,
	#menu-ylavalikko > li.current_page_item > a.ekit-menu-nav-link:hover,
	#menu-ylavalikko > li > a.ekit-menu-nav-link.active:hover,
	#menu-paavalikko_en > li.current-menu-item > a.ekit-menu-nav-link:hover,
	#menu-paavalikko_en > li.current_page_item > a.ekit-menu-nav-link:hover,
	#menu-paavalikko_en > li > a.ekit-menu-nav-link.active:hover {
		color: var(--proestore-primary-light);
	}
}

/* =========================================================
   PRO ESTORE / HEADERIN LOGON VAKAA PYSTYSIJAINTI
   ========================================================= */

.elementor-element-6a3131cf a {
	display: block !important;
	line-height: 0 !important;
}

.elementor-element-6a3131cf img {
	display: block !important;
}

/* =========================================================
   PRO ESTORE / YLÄPALKKITEKSTIN LATAUSSIIRTYMÄN ESTO
   ========================================================= */

.elementor-element-485dafa3,
.elementor-element-485dafa3 .elementor-widget-container,
.elementor-element-485dafa3 .elementor-icon-list-items,
.elementor-element-485dafa3 .elementor-icon-list-item,
.elementor-element-485dafa3 .elementor-icon-list-text {
	display: block !important;
}

.elementor-element-485dafa3 .elementor-icon-list-items,
.elementor-element-485dafa3 .elementor-icon-list-item {
	margin: 0 !important;
	padding: 0 !important;
}

.elementor-element-485dafa3 .elementor-icon-list-text {
	white-space: nowrap;
}

/* =========================================================
   1. PRO ESTORE / ETUSIVUN KORTIT
   Container: elementor-element-47170689 / kortit
   ========================================================= */

/* Korttien väli */
.elementor-element-47170689.kortit {
  gap: 30px !important;
  align-items: stretch !important;
}

/* Yksittäinen kortti */
.elementor-element-47170689.kortit
> .elementor-widget-image-box {
  position: relative;
  height: 100%;
  margin: 0 !important;
  overflow: hidden;
  background-color: #ffffff;
  border: 1px solid rgba(13, 94, 154, 0.12);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(13, 94, 154, 0.10);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

/* Kortin sisäinen rakenne */
.elementor-element-47170689.kortit
.elementor-image-box-wrapper {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
}

/* =========================================================
   KORTTIEN KUVAT / KIINTEÄ KORKEUS 300 PX
   ========================================================= */

/* Kuvan näkyvä alue */
.elementor-element-47170689.kortit
> .elementor-widget-image-box
figure.elementor-image-box-img {
  position: relative !important;
  display: block !important;
  flex: 0 0 300px !important;
  flex-shrink: 0 !important;
  width: 100% !important;
  height: 300px !important;
  min-height: 300px !important;
  max-height: 300px !important;
  block-size: 300px !important;
  min-block-size: 300px !important;
  max-block-size: 300px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  aspect-ratio: auto !important;
  background-color: #f5f7fa;
}

/* Kuvalinkki täyttää koko kuva-alueen */
.elementor-element-47170689.kortit
> .elementor-widget-image-box
figure.elementor-image-box-img > a {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Kuva täyttää koko 300 px korkean alueen */
.elementor-element-47170689.kortit
> .elementor-widget-image-box
figure.elementor-image-box-img img {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 100% !important;
  min-height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center !important;
  aspect-ratio: auto !important;
  border-radius: 0 !important;
  transition: transform 0.45s ease;
}

/* Tekstialue */
.elementor-element-47170689.kortit
.elementor-image-box-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 26px 28px 30px;
  text-align: left;
}

/* Otsikko */
.elementor-element-47170689.kortit
.elementor-image-box-title {
  margin: 0 0 12px;
  font-family: "Manrope", Arial, Helvetica, sans-serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.25;
}

.elementor-element-47170689.kortit
.elementor-image-box-title a {
  color: #0d5e9a;
  text-decoration: none;
  transition: color 0.25s ease;
}

/* Kuvausteksti */
.elementor-element-47170689.kortit
.elementor-image-box-description {
  margin: 0;
  color: #4a4a4a;
  font-family: "Inter", Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
}

/* Hover */
.elementor-element-47170689.kortit
> .elementor-widget-image-box:hover {
  transform: translateY(-6px);
  border-color: rgba(13, 94, 154, 0.28);
  box-shadow: 0 18px 44px rgba(13, 94, 154, 0.16);
}

.elementor-element-47170689.kortit
> .elementor-widget-image-box:hover
figure.elementor-image-box-img img {
  transform: scale(1.045);
}

.elementor-element-47170689.kortit
> .elementor-widget-image-box:hover
.elementor-image-box-title a {
  color: #084e82;
}

/* Näppäimistökohdistus */
.elementor-element-47170689.kortit a:focus-visible {
  outline: 3px solid rgba(13, 94, 154, 0.35);
  outline-offset: 3px;
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1024px) {

  .elementor-element-47170689.kortit {
    gap: 24px !important;
  }

  .elementor-element-47170689.kortit
  .elementor-image-box-content {
    padding: 24px;
  }
}

/* =========================================================
   MOBIILI
   ========================================================= */

@media (max-width: 767px) {

  .elementor-element-47170689.kortit {
    gap: 20px !important;
  }

  .elementor-element-47170689.kortit
  .elementor-image-box-content {
    padding: 22px 22px 26px;
  }

  .elementor-element-47170689.kortit
  .elementor-image-box-title {
    font-size: 22px;
  }

  .elementor-element-47170689.kortit
  > .elementor-widget-image-box:hover {
    transform: none;
  }
}
/* =========================================================
   2. PRO ESTORE / AJANKOHTAISTA-KORTIT
   Elementor CSS ID: ajankohtaista-kortit

   Muutetaan vain:
   - korttien sama korkeus
   - 20 px kulmanpyöristys
   - reunaviiva
   - varjo
   - 300 px kuva-alue
   - hover
   ========================================================= */

/* Korttirivi */
#ajankohtaista-kortit
#post-items--1720a51f {
  align-items: stretch !important;
}

/* Korttisarakkeet venyvät saman korkuisiksi */
#ajankohtaista-kortit
#post-items--1720a51f
> .ekit-col-4 {
  display: flex !important;
  align-items: stretch !important;
}

/* Varsinainen kortti */
#ajankohtaista-kortit
#post-items--1720a51f
> .ekit-col-4
> div {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  overflow: hidden !important;
  background-color: #ffffff !important;
  border: 1px solid rgba(13, 94, 154, 0.12) !important;
  border-radius: 20px !important;
  box-shadow: 0 10px 30px rgba(13, 94, 154, 0.10) !important;
  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease !important;
}

/* Kuva-alue */
#ajankohtaista-kortit
#post-items--1720a51f
> .ekit-col-4
> div
> .elementskit-entry-header {
  position: relative !important;
  display: block !important;
  flex: 0 0 300px !important;
  width: 100% !important;
  height: 300px !important;
  min-height: 300px !important;
  max-height: 300px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  background-color: #f5f7fa !important;
}

/* Kuvalinkki */
#ajankohtaista-kortit
#post-items--1720a51f
.elementskit-entry-header
> a {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

/* Kuva */
#ajankohtaista-kortit
#post-items--1720a51f
.elementskit-entry-header
> a
> img {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 100% !important;
  min-height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  object-fit: cover !important;
  object-position: center !important;
  border-radius: 0 !important;
  transition: transform 0.45s ease !important;
}

/* Sisältö venyy kortin loppuosaan */
#ajankohtaista-kortit
#post-items--1720a51f
.elementskit-post-body {
  display: flex !important;
  flex: 1 1 auto !important;
  flex-direction: column !important;
  width: 100% !important;
}

/* Painike kortin alaosaan */
#ajankohtaista-kortit
#post-items--1720a51f
.btn-wraper {
  margin-top: auto !important;
}

/* Hover */
#ajankohtaista-kortit
#post-items--1720a51f
> .ekit-col-4
> div:hover {
  transform: translateY(-6px) !important;
  border-color: rgba(13, 94, 154, 0.28) !important;
  box-shadow: 0 18px 44px rgba(13, 94, 154, 0.16) !important;
}

#ajankohtaista-kortit
#post-items--1720a51f
> .ekit-col-4
> div:hover
.elementskit-entry-header
img {
  transform: scale(1.045) !important;
}

/* Mobiilissa ei kortin nostoa */
@media (max-width: 767px) {

  #ajankohtaista-kortit
  #post-items--1720a51f
  > .ekit-col-4
  > div:hover {
    transform: none !important;
  }
}
/* =========================================================
   3. PRO ESTORE / TAVALLISET SIVUT
   Template: page.php
   Sisällön maksimileveys: 1200 px
   ========================================================= */

.proestore-page-main {
  width: 100%;
  margin: 0;
  padding: 0;
}

/* =========================================================
   ARTIKKELIKUVA JA SIVUN OTSIKKO
   Otsikko kuvan vasemmassa alakulmassa
   ========================================================= */

.proestore-page-hero {
  width: 100%;
  margin: 0;
  padding: 0;
}

.proestore-page-featured-image {
  position: relative;
  width: 100%;
  height: 600px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-color: #f5f7fa;
}

/* Artikkelikuva */
.proestore-page-featured-image__image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  object-fit: cover;
  object-position: center;
}

/* Kevyt liukuväri otsikon luettavuutta varten */
.proestore-page-featured-image__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.68) 0%,
      rgba(255, 255, 255, 0.18) 24%,
      rgba(255, 255, 255, 0) 52%
    );
  pointer-events: none;
}

/* Otsikon sijainti 1200 px sisältölinjassa */
.proestore-page-hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  width: min(100% - 60px, 1200px);
  height: 100%;
  margin-right: auto;
  margin-left: auto;
  padding-bottom: 44px;
}

/* Kuvan päällä näkyvä sivun otsikko */
.proestore-page-hero__title {
  max-width: 900px;
  margin: 0;
  padding: 4px 0 4px 22px;
  background: transparent;
  border: 0;
  border-left: 4px solid var(--proestore-primary);
  border-radius: 0;
  box-shadow: none;
  color: var(--proestore-primary);
  font-family: var(--proestore-font-heading);
  font-size: 40px;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-shadow: none;
}

/* =========================================================
   SIVUN OTSIKKO ILMAN ARTIKKELIKUVAA
   ========================================================= */

.proestore-page-header {
  margin: 0 0 40px;
  padding: 0;
}

.proestore-page-title {
  margin: 0;
  padding-left: 22px;
  border-left: 4px solid var(--proestore-primary);
  color: var(--proestore-primary);
  font-family: var(--proestore-font-heading);
  font-size: 40px;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1024px) {

  .proestore-page-featured-image {
    height: 500px;
  }

  .proestore-page-hero__inner {
    width: min(100% - 48px, 1200px);
    padding-bottom: 36px;
  }

  .proestore-page-hero__title {
    max-width: 760px;
    padding: 4px 0 4px 20px;
    border-left-width: 4px;
    font-size: 36px;
  }

  .proestore-page-title {
    padding-left: 20px;
    border-left-width: 4px;
    font-size: 36px;
  }
}

/* =========================================================
   MOBIILI
   ========================================================= */

@media (max-width: 767px) {

  .proestore-page-featured-image {
    height: 360px;
  }

  .proestore-page-featured-image__overlay {
    background:
      linear-gradient(
        0deg,
        rgba(255, 255, 255, 0.72) 0%,
        rgba(255, 255, 255, 0.16) 38%,
        rgba(255, 255, 255, 0) 68%
      );
  }

  .proestore-page-hero__inner {
    width: calc(100% - 40px);
    padding-bottom: 24px;
  }

  .proestore-page-hero__title {
    max-width: 100%;
    padding: 3px 0 3px 16px;
    border-left-width: 3px;
    font-size: 30px;
    line-height: 1.2;
  }

  .proestore-page-title {
    padding-left: 16px;
    border-left-width: 3px;
    font-size: 30px;
    line-height: 1.2;
  }
}

/* =========================================================
   SIVUN SISÄLTÖALUE
   ========================================================= */

.proestore-page-article {
  width: 100%;
  margin: 0;
  padding: 0;
}

.proestore-page-container {
  width: min(100% - 60px, 1200px);
  margin-right: auto;
  margin-left: auto;
  padding-top: 80px;
  padding-bottom: 100px;
}

/* Varsinainen sisältö */
.proestore-page-content {
  width: 100%;
}

.proestore-page-content::after {
  display: table;
  clear: both;
  content: "";
}

/* Sisältökuvat eivät ylitä sisältöaluetta */
.proestore-page-content img {
  max-width: 100%;
  height: auto;
}

/* Ensimmäisen elementin ylämarginaali pois */
.proestore-page-content > :first-child {
  margin-top: 0;
}

/* Viimeisen elementin alamarginaali pois */
.proestore-page-content > :last-child {
  margin-bottom: 0;
}

/* WordPressin sivutuksen linkit */
.proestore-page-content .page-links {
  margin-top: 40px;
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1024px) {

  .proestore-page-featured-image,
  .proestore-page-featured-image__image {
    height: 500px;
    min-height: 500px;
    max-height: 500px;
  }

  .proestore-page-container {
    width: min(100% - 48px, 1200px);
    padding-top: 60px;
    padding-bottom: 80px;
  }

  .proestore-page-header {
    margin-bottom: 32px;
  }
}

/* =========================================================
   MOBIILI
   ========================================================= */

@media (max-width: 767px) {

  .proestore-page-featured-image,
  .proestore-page-featured-image__image {
    height: 360px;
    min-height: 360px;
    max-height: 360px;
  }

  .proestore-page-container {
    width: calc(100% - 40px);
    padding-top: 45px;
    padding-bottom: 60px;
  }

  .proestore-page-header {
    margin-bottom: 26px;
  }
}

/* =========================================================
   ETUSIVU / ELEMENTOR-SISÄLTÖ KOKO SIVUN LEVEYDELLE

   Etusivulla page.php:n 1200 px sisältörajaus poistetaan.
   Elementor määrittää itse alueiden boxed- ja full width
   -leveydet.
   ========================================================= */

body.home .proestore-page-container,
body.front-page .proestore-page-container {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

body.home .proestore-page-content,
body.front-page .proestore-page-content {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

body.home .proestore-page-content > .elementor,
body.front-page .proestore-page-content > .elementor {
  width: 100%;
  max-width: none;
  margin: 0;
}

body.home .proestore-page-content .e-con.e-parent,
body.front-page .proestore-page-content .e-con.e-parent {
  max-width: none;
}

/* =========================================================
   4. PRO ESTORE / YLEINEN TYPOGRAFIA JA GUTENBERG-LOHKOT

   Otsikot: Manrope
   Leipäteksti: Inter
   Pääväri: #0D5E9A
   Tumma sininen: #084E82
   Teksti: #4A4A4A
   Sisällön maksimileveys: 1200 px
   ========================================================= */

:root {
  --proestore-primary: #0d5e9a;
  --proestore-primary-dark: #084e82;
  --proestore-primary-light: #3479b2;
  --proestore-text: #4a4a4a;
  --proestore-heading: #111111;
  --proestore-muted: #6b7280;
  --proestore-background: #fafafa;
  --proestore-white: #ffffff;
  --proestore-border: rgba(13, 94, 154, 0.12);
  --proestore-shadow: 0 10px 30px rgba(13, 94, 154, 0.10);

  --proestore-font-heading: "Manrope", Arial, Helvetica, sans-serif;
  --proestore-font-body: "Inter", Arial, Helvetica, sans-serif;

  --proestore-content-width: 1200px;
}

/* =========================================================
   PERUSTYPOGRAFIA
   ========================================================= */

body {
  color: var(--proestore-text);
  font-family: var(--proestore-font-body);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Tavallisen WordPress-sisällön tekstielementit */
.proestore-page-content,
.entry-content,
.wp-block-post-content,
.elementor-widget-theme-post-content {
  color: var(--proestore-text);
  font-family: var(--proestore-font-body);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.7;
}

/* Kappaletekstit */
.proestore-page-content p,
.entry-content p,
.wp-block-post-content p,
.elementor-widget-theme-post-content p {
  margin-top: 0;
  margin-bottom: 1.4em;
  color: var(--proestore-text);
  font-family: var(--proestore-font-body);
  font-size: inherit;
  font-weight: 400;
  line-height: 1.7;
}

/* =========================================================
   OTSIKOT
   ========================================================= */

.proestore-page-content h1,
.proestore-page-content h2,
.proestore-page-content h3,
.proestore-page-content h4,
.proestore-page-content h5,
.proestore-page-content h6,
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6,
.wp-block-post-content h1,
.wp-block-post-content h2,
.wp-block-post-content h3,
.wp-block-post-content h4,
.wp-block-post-content h5,
.wp-block-post-content h6,
.elementor-widget-theme-post-content h1,
.elementor-widget-theme-post-content h2,
.elementor-widget-theme-post-content h3,
.elementor-widget-theme-post-content h4,
.elementor-widget-theme-post-content h5,
.elementor-widget-theme-post-content h6 {
  margin-top: 1.5em;
  margin-bottom: 0.65em;
  color: var(--proestore-heading);
  font-family: var(--proestore-font-heading);
  font-style: normal;
  letter-spacing: -0.02em;
  text-transform: none;
}

/* H1 */
.proestore-page-content h1,
.entry-content h1,
.wp-block-post-content h1,
.elementor-widget-theme-post-content h1 {
  font-size: clamp(40px, 4vw, 56px);
  font-weight: 700;
  line-height: 1.12;
}

/* H2 */
.proestore-page-content h2,
.entry-content h2,
.wp-block-post-content h2,
.elementor-widget-theme-post-content h2 {
  font-size: clamp(32px, 3vw, 42px);
  font-weight: 700;
  line-height: 1.18;
}

/* H3 */
.proestore-page-content h3,
.entry-content h3,
.wp-block-post-content h3,
.elementor-widget-theme-post-content h3 {
  font-size: clamp(26px, 2.4vw, 32px);
  font-weight: 600;
  line-height: 1.25;
}

/* H4 */
.proestore-page-content h4,
.entry-content h4,
.wp-block-post-content h4,
.elementor-widget-theme-post-content h4 {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.3;
}

/* H5 */
.proestore-page-content h5,
.entry-content h5,
.wp-block-post-content h5,
.elementor-widget-theme-post-content h5 {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.35;
}

/* H6 */
.proestore-page-content h6,
.entry-content h6,
.wp-block-post-content h6,
.elementor-widget-theme-post-content h6 {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0;
}

/* Ensimmäisen sisältöelementin ylämarginaali pois */
.proestore-page-content > :first-child,
.entry-content > :first-child,
.wp-block-post-content > :first-child {
  margin-top: 0;
}

/* =========================================================
   LINKIT
   ========================================================= */

.proestore-page-content a,
.entry-content a,
.wp-block-post-content a,
.elementor-widget-theme-post-content a {
  color: var(--proestore-primary);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition:
    color 0.25s ease,
    text-decoration-color 0.25s ease;
}

.proestore-page-content a:hover,
.proestore-page-content a:focus,
.entry-content a:hover,
.entry-content a:focus,
.wp-block-post-content a:hover,
.wp-block-post-content a:focus,
.elementor-widget-theme-post-content a:hover,
.elementor-widget-theme-post-content a:focus {
  color: var(--proestore-primary-dark);
  text-decoration-color: var(--proestore-primary-dark);
}

.proestore-page-content a:focus-visible,
.entry-content a:focus-visible,
.wp-block-post-content a:focus-visible {
  outline: 3px solid rgba(13, 94, 154, 0.30);
  outline-offset: 3px;
}

/* =========================================================
   LUETTELOT
   ========================================================= */

.proestore-page-content ul,
.proestore-page-content ol,
.entry-content ul,
.entry-content ol,
.wp-block-post-content ul,
.wp-block-post-content ol {
  margin-top: 0;
  margin-bottom: 1.5em;
  padding-left: 1.5em;
}

.proestore-page-content li,
.entry-content li,
.wp-block-post-content li {
  margin-bottom: 0.5em;
  padding-left: 0.2em;
}

.proestore-page-content li::marker,
.entry-content li::marker,
.wp-block-post-content li::marker {
  color: var(--proestore-primary);
  font-weight: 600;
}

.proestore-page-content ul ul,
.proestore-page-content ol ol,
.proestore-page-content ul ol,
.proestore-page-content ol ul,
.entry-content ul ul,
.entry-content ol ol,
.entry-content ul ol,
.entry-content ol ul,
.wp-block-post-content ul ul,
.wp-block-post-content ol ol,
.wp-block-post-content ul ol,
.wp-block-post-content ol ul {
  margin-top: 0.5em;
  margin-bottom: 0;
}

/* =========================================================
   LAINAUKSET
   ========================================================= */

.proestore-page-content blockquote,
.entry-content blockquote,
.wp-block-post-content blockquote,
.wp-block-quote {
  position: relative;
  margin: 36px 0;
  padding: 26px 70px 26px 32px;
  background-color: #f7f9fb;
  border: 1px solid rgba(13, 94, 154, 0.10);
  border-left: 5px solid #0d5e9a;
  border-radius: 0 20px 20px 0;
  box-shadow: none;
  color: #333333;
  font-family: "Inter", Arial, Helvetica, sans-serif;
  font-size: 18px;
  font-style: italic;
  font-weight: 400;
  line-height: 1.6;
}

/* Koristeellinen lainausmerkki */
.proestore-page-content blockquote::before,
.entry-content blockquote::before,
.wp-block-post-content blockquote::before,
.wp-block-quote::before {
  position: absolute;
  top: 10px;
  right: 22px;
  display: block;
  color: rgba(13, 94, 154, 0.14);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 74px;
  font-style: normal;
  font-weight: 700;
  line-height: 1;
  content: "”";
  pointer-events: none;
}

/* Lainauksen teksti */
.proestore-page-content blockquote p,
.entry-content blockquote p,
.wp-block-post-content blockquote p,
.wp-block-quote p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: inherit;
  font: inherit;
}

/* Mahdollinen lähde */
.proestore-page-content blockquote cite,
.entry-content blockquote cite,
.wp-block-post-content blockquote cite,
.wp-block-quote cite {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 14px;
  color: #4a4a4a;
  font-family: "Inter", Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 1.5;
}

@media (max-width: 767px) {

  .proestore-page-content blockquote,
  .entry-content blockquote,
  .wp-block-post-content blockquote,
  .wp-block-quote {
    margin: 28px 0;
    padding: 22px 52px 22px 24px;
    border-left-width: 4px;
    border-radius: 0 16px 16px 0;
    font-size: 17px;
    line-height: 1.6;
  }

  .proestore-page-content blockquote::before,
  .entry-content blockquote::before,
  .wp-block-post-content blockquote::before,
  .wp-block-quote::before {
    top: 9px;
    right: 14px;
    font-size: 58px;
  }
}
/* =========================================================
   KUVAT JA KUVATEKSTIT
   ========================================================= */

.proestore-page-content img,
.entry-content img,
.wp-block-post-content img {
  max-width: 100%;
  height: auto;
}

.proestore-page-content figure,
.entry-content figure,
.wp-block-post-content figure {
  margin-top: 2em;
  margin-bottom: 2em;
}

.proestore-page-content figcaption,
.entry-content figcaption,
.wp-block-post-content figcaption,
.wp-element-caption {
  margin-top: 10px;
  color: var(--proestore-muted);
  font-family: var(--proestore-font-body);
  font-size: 14px;
  line-height: 1.5;
  text-align: left;
}

.proestore-page-content .wp-block-image img,
.entry-content .wp-block-image img,
.wp-block-post-content .wp-block-image img {
  border-radius: 20px;
}

/* Täysleveät ja leveät Gutenberg-lohkot */
.proestore-page-content .alignwide,
.entry-content .alignwide,
.wp-block-post-content .alignwide {
  width: 100%;
  max-width: var(--proestore-content-width);
}

.proestore-page-content .alignfull,
.entry-content .alignfull,
.wp-block-post-content .alignfull {
  width: 100vw;
  max-width: 100vw;
  margin-right: calc(50% - 50vw);
  margin-left: calc(50% - 50vw);
}

/* =========================================================
   EROTIN
   ========================================================= */

.proestore-page-content hr,
.entry-content hr,
.wp-block-post-content hr,
.wp-block-separator {
  width: 100%;
  height: 1px;
  margin: 50px 0;
  padding: 0;
  background-color: var(--proestore-border);
  border: 0;
}

/* =========================================================
   TAULUKOT
   ========================================================= */

.proestore-page-content .wp-block-table,
.entry-content .wp-block-table,
.wp-block-post-content .wp-block-table {
  margin: 2em 0;
  overflow-x: auto;
}

.proestore-page-content table,
.entry-content table,
.wp-block-post-content table {
  width: 100%;
  border-spacing: 0;
  border-collapse: collapse;
  background-color: var(--proestore-white);
  border: 1px solid var(--proestore-border);
}

.proestore-page-content th,
.entry-content th,
.wp-block-post-content th {
  padding: 16px 18px;
  background-color: var(--proestore-primary);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--proestore-white);
  font-family: var(--proestore-font-heading);
  font-weight: 600;
  line-height: 1.4;
  text-align: left;
}

.proestore-page-content td,
.entry-content td,
.wp-block-post-content td {
  padding: 16px 18px;
  border: 1px solid var(--proestore-border);
  color: var(--proestore-text);
  vertical-align: top;
}

.proestore-page-content tbody tr:nth-child(even),
.entry-content tbody tr:nth-child(even),
.wp-block-post-content tbody tr:nth-child(even) {
  background-color: var(--proestore-background);
}

/* =========================================================
   GUTENBERG-PAINIKKEET
   ========================================================= */

.proestore-page-content .wp-block-button__link,
.entry-content .wp-block-button__link,
.wp-block-post-content .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 45px;
  padding: 15px 30px;
  background-color: var(--proestore-primary);
  border: 0;
  border-radius: 50px;
  color: var(--proestore-white);
  font-family: var(--proestore-font-body);
  font-size: 15px;
  font-weight: 400;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  transition:
    background-color 0.4s ease,
    color 0.4s ease,
    transform 0.4s ease;
}

.proestore-page-content .wp-block-button__link:hover,
.proestore-page-content .wp-block-button__link:focus,
.entry-content .wp-block-button__link:hover,
.entry-content .wp-block-button__link:focus,
.wp-block-post-content .wp-block-button__link:hover,
.wp-block-post-content .wp-block-button__link:focus {
  background-color: var(--proestore-primary-dark);
  color: var(--proestore-white);
  text-decoration: none;
  transform: translateY(-2px);
}

/* Gutenberg outline-painike */
.proestore-page-content .wp-block-button.is-style-outline .wp-block-button__link,
.entry-content .wp-block-button.is-style-outline .wp-block-button__link,
.wp-block-post-content .wp-block-button.is-style-outline .wp-block-button__link {
  background-color: transparent;
  border: 2px solid var(--proestore-primary);
  color: var(--proestore-primary);
}

.proestore-page-content .wp-block-button.is-style-outline .wp-block-button__link:hover,
.entry-content .wp-block-button.is-style-outline .wp-block-button__link:hover,
.wp-block-post-content .wp-block-button.is-style-outline .wp-block-button__link:hover {
  background-color: var(--proestore-primary);
  border-color: var(--proestore-primary);
  color: var(--proestore-white);
}

/* =========================================================
   RYHMÄT, SARAKKEET JA KANSI-LOHKOT
   ========================================================= */

.proestore-page-content .wp-block-group,
.entry-content .wp-block-group,
.wp-block-post-content .wp-block-group {
  box-sizing: border-box;
}

.proestore-page-content .wp-block-columns,
.entry-content .wp-block-columns,
.wp-block-post-content .wp-block-columns {
  gap: 30px;
  margin-top: 2em;
  margin-bottom: 2em;
}

.proestore-page-content .wp-block-cover,
.entry-content .wp-block-cover,
.wp-block-post-content .wp-block-cover {
  overflow: hidden;
  border-radius: 20px;
}

.proestore-page-content .wp-block-cover p,
.entry-content .wp-block-cover p,
.wp-block-post-content .wp-block-cover p {
  color: inherit;
}

/* =========================================================
   MEDIA JA UPOTUKSET
   ========================================================= */

.proestore-page-content iframe,
.proestore-page-content video,
.entry-content iframe,
.entry-content video,
.wp-block-post-content iframe,
.wp-block-post-content video {
  max-width: 100%;
}

.proestore-page-content .wp-block-embed,
.entry-content .wp-block-embed,
.wp-block-post-content .wp-block-embed {
  margin-top: 2em;
  margin-bottom: 2em;
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1024px) {

  body,
  .proestore-page-content,
  .entry-content,
  .wp-block-post-content,
  .elementor-widget-theme-post-content {
    font-size: 17px;
  }

  .proestore-page-content h4,
  .entry-content h4,
  .wp-block-post-content h4,
  .elementor-widget-theme-post-content h4 {
    font-size: 22px;
  }

  .proestore-page-content .wp-block-columns,
  .entry-content .wp-block-columns,
  .wp-block-post-content .wp-block-columns {
    gap: 24px;
  }
}

/* =========================================================
   MOBIILI
   ========================================================= */

@media (max-width: 767px) {

  body,
  .proestore-page-content,
  .entry-content,
  .wp-block-post-content,
  .elementor-widget-theme-post-content {
    font-size: 16px;
    line-height: 1.65;
  }

  .proestore-page-content h1,
  .entry-content h1,
  .wp-block-post-content h1,
  .elementor-widget-theme-post-content h1 {
    font-size: 38px;
  }

  .proestore-page-content h2,
  .entry-content h2,
  .wp-block-post-content h2,
  .elementor-widget-theme-post-content h2 {
    font-size: 30px;
  }

  .proestore-page-content h3,
  .entry-content h3,
  .wp-block-post-content h3,
  .elementor-widget-theme-post-content h3 {
    font-size: 25px;
  }

  .proestore-page-content h4,
  .entry-content h4,
  .wp-block-post-content h4,
  .elementor-widget-theme-post-content h4 {
    font-size: 21px;
  }

  .proestore-page-content h5,
  .entry-content h5,
  .wp-block-post-content h5,
  .elementor-widget-theme-post-content h5 {
    font-size: 18px;
  }

  .proestore-page-content h6,
  .entry-content h6,
  .wp-block-post-content h6,
  .elementor-widget-theme-post-content h6 {
    font-size: 16px;
  }

  .proestore-page-content blockquote,
  .entry-content blockquote,
  .wp-block-post-content blockquote,
  .wp-block-quote {
    padding: 20px;
    font-size: 18px;
  }

  .proestore-page-content .wp-block-columns,
  .entry-content .wp-block-columns,
  .wp-block-post-content .wp-block-columns {
    gap: 20px;
  }

  .proestore-page-content th,
  .proestore-page-content td,
  .entry-content th,
  .entry-content td,
  .wp-block-post-content th,
  .wp-block-post-content td {
    padding: 12px 14px;
  }

  .proestore-page-content .wp-block-button__link,
  .entry-content .wp-block-button__link,
  .wp-block-post-content .wp-block-button__link {
    min-height: 44px;
    padding: 14px 26px;
  }
}
/* =========================================================
   PRO ESTORE / MOBIILIVALIKON HAMBURGER JA SULKEMISKUVAKE
   Widget: elementor-element-7572bd12
   Breakpoint: 1024 px
   Ei taustaa, reunusta eikä pyöreää painiketta
   ========================================================= */

@media (max-width: 1024px) {

  /* =======================================================
     HAMBURGER
     ======================================================= */

  .elementor-element-7572bd12
  .elementskit-menu-hamburger {
    display: inline-flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    min-height: 42px !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    cursor: pointer !important;
    transform: none !important;
    transition: opacity 0.25s ease !important;
  }

  .elementor-element-7572bd12
  .elementskit-menu-hamburger
  .elementskit-menu-hamburger-icon {
    display: block !important;
    width: 26px !important;
    height: 2px !important;
    min-height: 2px !important;
    margin: 3px 0 !important;
    padding: 0 !important;
    background-color: #0d5e9a !important;
    border: 0 !important;
    border-radius: 2px !important;
    opacity: 1 !important;
    transform: none !important;
    transition: background-color 0.25s ease !important;
  }

  .elementor-element-7572bd12
  .elementskit-menu-hamburger:hover,
  .elementor-element-7572bd12
  .elementskit-menu-hamburger:focus {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    opacity: 0.75;
    transform: none !important;
  }

  .elementor-element-7572bd12
  .elementskit-menu-hamburger:hover
  .elementskit-menu-hamburger-icon,
  .elementor-element-7572bd12
  .elementskit-menu-hamburger:focus
  .elementskit-menu-hamburger-icon {
    background-color: #084e82 !important;
  }

  .elementor-element-7572bd12
  .elementskit-menu-hamburger:focus-visible {
    outline: 2px solid rgba(13, 94, 154, 0.35) !important;
    outline-offset: 3px !important;
  }

  /* =======================================================
     SULKEMISKUVAKE
     ======================================================= */

  .elementor-element-7572bd12
  .elementskit-menu-close {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    min-height: 42px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    color: transparent !important;
    font-size: 0 !important;
    line-height: 0 !important;
    text-indent: -9999px !important;
    cursor: pointer !important;
    transform: none !important;
    transition: opacity 0.25s ease !important;
  }

  .elementor-element-7572bd12
  .elementskit-menu-close::before,
  .elementor-element-7572bd12
  .elementskit-menu-close::after {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    display: block !important;
    width: 26px !important;
    height: 2px !important;
    margin: 0 !important;
    padding: 0 !important;
    background-color: #0d5e9a !important;
    border: 0 !important;
    border-radius: 2px !important;
    content: "" !important;
    transition: background-color 0.25s ease !important;
  }

  .elementor-element-7572bd12
  .elementskit-menu-close::before {
    transform: translate(-50%, -50%) rotate(45deg) !important;
  }

  .elementor-element-7572bd12
  .elementskit-menu-close::after {
    transform: translate(-50%, -50%) rotate(-45deg) !important;
  }

  .elementor-element-7572bd12
  .elementskit-menu-close:hover,
  .elementor-element-7572bd12
  .elementskit-menu-close:focus {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    opacity: 0.75;
    transform: none !important;
  }

  .elementor-element-7572bd12
  .elementskit-menu-close:hover::before,
  .elementor-element-7572bd12
  .elementskit-menu-close:hover::after,
  .elementor-element-7572bd12
  .elementskit-menu-close:focus::before,
  .elementor-element-7572bd12
  .elementskit-menu-close:focus::after {
    background-color: #084e82 !important;
  }

  .elementor-element-7572bd12
  .elementskit-menu-close:focus-visible {
    outline: 2px solid rgba(13, 94, 154, 0.35) !important;
    outline-offset: 3px !important;
  }
}
/* =========================================================
   PRO ESTORE / SIVUSTA AVAUTUVA MOBIILIVALIKKO
   Widget: elementor-element-7572bd12
   Breakpoint: 1024 px

   - valikko alkaa ylhäältä
   - sulkemispainike näkyy oikeassa yläkulmassa
   - ei keskitystä pystysuunnassa
   - valikko avautuu oikealta
   ========================================================= */

@media (max-width: 1024px) {

  /* =======================================================
     VALIKKOPANEELI
     ======================================================= */

  .elementor-element-7572bd12
  .elementskit-menu-container {
    position: fixed !important;
    top: 0 !important;
    right: -100% !important;
    bottom: auto !important;
    left: auto !important;

    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;

    width: min(88vw, 420px) !important;
    max-width: 420px !important;
    height: 100dvh !important;
    min-height: 100vh !important;

    margin: 0 !important;
    padding: 0 !important;

    overflow-x: hidden !important;
    overflow-y: auto !important;

    background-color: #ffffff !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: -18px 0 50px rgba(13, 94, 154, 0.16) !important;

    opacity: 1 !important;
    visibility: hidden !important;
    transform: none !important;

    z-index: 999999 !important;

    transition:
      right 0.35s ease,
      visibility 0.35s ease !important;
  }

  /* Avoin paneeli */
  .elementor-element-7572bd12
  .elementskit-menu-container.active,
  .elementor-element-7572bd12
  .elementskit-menu-container.elementskit-menu-container-active,
  .elementor-element-7572bd12
  .elementskit-menu-container.show {
    right: 0 !important;
    visibility: visible !important;
  }

  /* =======================================================
     YLÄOSA / LOGO JA SULKEMISPAINIKE
     ======================================================= */

  .elementor-element-7572bd12
  .elementskit-nav-identity-panel {
    position: relative !important;
    top: 0 !important;
    right: auto !important;
    bottom: auto !important;
    left: 0 !important;

    order: -1 !important;

    display: flex !important;
    flex: 0 0 88px !important;
    align-items: center !important;
    justify-content: space-between !important;

    width: 100% !important;
    min-height: 88px !important;

    margin: 0 !important;
    padding: 18px 22px !important;

    background-color: #ffffff !important;
    border-bottom: 1px solid rgba(13, 94, 154, 0.12) !important;

    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;

    z-index: 10 !important;
  }

  /* Logo */
  .elementor-element-7572bd12
  .elementskit-nav-logo {
    display: inline-flex !important;
    align-items: center !important;

    width: auto !important;
    max-width: 180px !important;
    height: auto !important;

    margin: 0 !important;
    padding: 0 !important;
  }

  .elementor-element-7572bd12
  .elementskit-nav-logo img {
    display: block !important;
    width: auto !important;
    max-width: 180px !important;
    height: auto !important;
    max-height: 52px !important;
    margin: 0 !important;
    object-fit: contain !important;
  }

  /* =======================================================
     SULKEMISPAINIKE
     ======================================================= */

  .elementor-element-7572bd12
  .elementskit-nav-identity-panel
  .elementskit-menu-close {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;

    display: inline-flex !important;
    flex: 0 0 42px !important;
    align-items: center !important;
    justify-content: center !important;

    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    min-height: 42px !important;

    margin: 0 0 0 18px !important;
    padding: 0 !important;

    overflow: visible !important;

    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;

    color: transparent !important;
    font-size: 0 !important;
    line-height: 0 !important;
    text-indent: -9999px !important;

    opacity: 1 !important;
    visibility: visible !important;

    cursor: pointer !important;
    transform: none !important;

    z-index: 20 !important;
  }

  /* Sulkemisristi */
  .elementor-element-7572bd12
  .elementskit-menu-close::before,
  .elementor-element-7572bd12
  .elementskit-menu-close::after {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;

    display: block !important;

    width: 26px !important;
    height: 2px !important;

    margin: 0 !important;
    padding: 0 !important;

    background-color: #0d5e9a !important;
    border: 0 !important;
    border-radius: 2px !important;

    opacity: 1 !important;

    content: "" !important;
  }

  .elementor-element-7572bd12
  .elementskit-menu-close::before {
    transform: translate(-50%, -50%) rotate(45deg) !important;
  }

  .elementor-element-7572bd12
  .elementskit-menu-close::after {
    transform: translate(-50%, -50%) rotate(-45deg) !important;
  }

  .elementor-element-7572bd12
  .elementskit-menu-close:hover::before,
  .elementor-element-7572bd12
  .elementskit-menu-close:hover::after,
  .elementor-element-7572bd12
  .elementskit-menu-close:focus::before,
  .elementor-element-7572bd12
  .elementskit-menu-close:focus::after {
    background-color: #084e82 !important;
  }

  /* =======================================================
     VALIKKOLISTA ALKAA HETI YLÄOSAN JÄLKEEN
     ======================================================= */

  .elementor-element-7572bd12
  .elementskit-navbar-nav {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;

    display: flex !important;
    flex: 0 0 auto !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;

    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;

    margin: 0 !important;
    padding: 10px 24px 34px !important;

    background-color: #ffffff !important;

    transform: none !important;
  }

  /* Poistetaan mahdollinen ElementsKitin keskitys */
  .elementor-element-7572bd12
  .elementskit-menu-container
  > .elementskit-navbar-nav,
  .elementor-element-7572bd12
  .elementskit-menu-container
  .elementskit-navbar-nav {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    transform: none !important;
  }

  /* Valikkokohta */
  .elementor-element-7572bd12
  .elementskit-navbar-nav
  > li {
    position: relative !important;
    display: block !important;

    width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    background: transparent !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(13, 94, 154, 0.10) !important;
  }

  .elementor-element-7572bd12
  .elementskit-navbar-nav
  > li:last-child {
    border-bottom: 0 !important;
  }

  /* Päälinkit */
  .elementor-element-7572bd12
  .elementskit-navbar-nav
  > li
  > a.ekit-menu-nav-link {
    position: relative !important;

    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;

    width: 100% !important;
    min-height: 58px !important;

    margin: 0 !important;
    padding: 16px 4px !important;

    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;

    color: #111111 !important;

    font-family: "Inter", Arial, Helvetica, sans-serif !important;
    font-size: 18px !important;
    font-weight: 500 !important;
    line-height: 1.35 !important;

    text-align: left !important;
    text-decoration: none !important;

    transition:
      color 0.25s ease,
      padding-left 0.25s ease !important;
  }

  .elementor-element-7572bd12
  .elementskit-navbar-nav
  > li
  > a.ekit-menu-nav-link:hover,
  .elementor-element-7572bd12
  .elementskit-navbar-nav
  > li
  > a.ekit-menu-nav-link:focus {
    padding-left: 10px !important;
    background: transparent !important;
    color: #0d5e9a !important;
  }

  /* Aktiivinen sivu */
  .elementor-element-7572bd12
  .elementskit-navbar-nav
  > li.current-menu-item
  > a.ekit-menu-nav-link,
  .elementor-element-7572bd12
  .elementskit-navbar-nav
  > li.current_page_item
  > a.ekit-menu-nav-link,
  .elementor-element-7572bd12
  .elementskit-navbar-nav
  > li.active
  > a.ekit-menu-nav-link,
  .elementor-element-7572bd12
  .elementskit-navbar-nav
  > li
  > a.ekit-menu-nav-link.active {
    padding-left: 14px !important;
    color: #0d5e9a !important;
    font-weight: 600 !important;
  }

  .elementor-element-7572bd12
  .elementskit-navbar-nav
  > li.current-menu-item
  > a.ekit-menu-nav-link::before,
  .elementor-element-7572bd12
  .elementskit-navbar-nav
  > li.current_page_item
  > a.ekit-menu-nav-link::before,
  .elementor-element-7572bd12
  .elementskit-navbar-nav
  > li.active
  > a.ekit-menu-nav-link::before,
  .elementor-element-7572bd12
  .elementskit-navbar-nav
  > li
  > a.ekit-menu-nav-link.active::before {
    position: absolute !important;
    top: 50% !important;
    left: 0 !important;

    width: 3px !important;
    height: 28px !important;

    background-color: #0d5e9a !important;
    border-radius: 3px !important;

    content: "" !important;
    transform: translateY(-50%) !important;
  }

  /* Kielilinkki */
  .elementor-element-7572bd12
  .elementskit-navbar-nav
  > li.lang-item {
    margin-top: 18px !important;
    border-top: 1px solid rgba(13, 94, 154, 0.12) !important;
    border-bottom: 0 !important;
  }

  .elementor-element-7572bd12
  .elementskit-navbar-nav
  > li.lang-item
  > a.ekit-menu-nav-link {
    min-height: 50px !important;
    color: #0d5e9a !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
  }

  /* =======================================================
     OVERLAY
     ======================================================= */

  .elementor-element-7572bd12
  .elementskit-menu-overlay {
    position: fixed !important;
    inset: 0 !important;

    width: 100% !important;
    height: 100dvh !important;

    margin: 0 !important;
    padding: 0 !important;

    background-color: rgba(8, 30, 48, 0.55) !important;

    opacity: 0 !important;
    visibility: hidden !important;

    z-index: 999998 !important;

    transition:
      opacity 0.35s ease,
      visibility 0.35s ease !important;
  }

  .elementor-element-7572bd12
  .elementskit-menu-overlay.active,
  .elementor-element-7572bd12
  .elementskit-menu-overlay.elementskit-menu-overlay-active,
  .elementor-element-7572bd12
  .elementskit-menu-overlay.show {
    opacity: 1 !important;
    visibility: visible !important;
  }
}

/* =========================================================
   PIENI MOBIILI
   ========================================================= */

@media (max-width: 480px) {

  .elementor-element-7572bd12
  .elementskit-menu-container {
    width: 92vw !important;
  }

  .elementor-element-7572bd12
  .elementskit-nav-identity-panel {
    min-height: 78px !important;
    flex-basis: 78px !important;
    padding: 14px 18px !important;
  }

  .elementor-element-7572bd12
  .elementskit-nav-logo,
  .elementor-element-7572bd12
  .elementskit-nav-logo img {
    max-width: 155px !important;
  }

  .elementor-element-7572bd12
  .elementskit-navbar-nav {
    padding: 6px 20px 30px !important;
  }

  .elementor-element-7572bd12
  .elementskit-navbar-nav
  > li
  > a.ekit-menu-nav-link {
    min-height: 54px !important;
    padding-top: 14px !important;
    padding-bottom: 14px !important;
    font-size: 17px !important;
  }
}
/* =========================================================
   5. PRO ESTORE / AJANKOHTAISTA-SIVU
   Template: page-ajankohtaista.php
   ========================================================= */

.proestore-news-container {
  width: min(100% - 60px, 1200px);
}

.proestore-news-intro {
  max-width: 900px;
  margin-bottom: 50px;
}

/* =========================================================
   AJANKOHTAISTA-GRID
   ========================================================= */

.proestore-news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  align-items: stretch;
}

/* Yksittäinen kortti */
.proestore-news-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background-color: #ffffff;
  border: 1px solid rgba(13, 94, 154, 0.12);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(13, 94, 154, 0.10);
  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

/* =========================================================
   KORTIN KUVA / 300 PX
   ========================================================= */

.proestore-news-card__image-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.proestore-news-card__image {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
  background-color: #f5f7fa;
}

.proestore-news-card__image-element {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
  transition: transform 0.45s ease;
}

/* Kuvattoman artikkelin kuva-alue */
.proestore-news-card__placeholder {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      135deg,
      rgba(13, 94, 154, 0.08),
      rgba(52, 121, 178, 0.02)
    );
}

/* =========================================================
   KORTIN SISÄLTÖ
   ========================================================= */

.proestore-news-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 28px;
}

.proestore-news-card__date {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: #6b7280;
  font-family: var(--proestore-font-body);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
}

.proestore-news-card__date-icon {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  color: var(--proestore-primary);
}

.proestore-news-card__title {
  margin: 0 0 16px;
  color: #111111;
  font-family: var(--proestore-font-heading);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.015em;
}

.proestore-news-card__title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s ease;
}

.proestore-news-card__excerpt {
  margin-bottom: 24px;
  color: var(--proestore-text);
  font-family: var(--proestore-font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
}

.proestore-news-card__excerpt p {
  margin: 0;
  color: inherit;
  font: inherit;
}

.proestore-news-card__footer {
  margin-top: auto;
}

/* Lue lisää -painike */
.proestore-news-card__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 45px;
  padding: 15px 30px;
  background-color: var(--proestore-primary);
  border: 0;
  border-radius: 50px;
  color: #ffffff;
  font-family: var(--proestore-font-body);
  font-size: 15px;
  font-weight: 400;
  line-height: 1;
  text-decoration: none;
  transition:
    background-color 0.35s ease,
    color 0.35s ease;
}

.proestore-news-card__button:hover,
.proestore-news-card__button:focus {
  background-color: var(--proestore-primary-dark);
  color: #ffffff;
  text-decoration: none;
}

/* Kortin hover */
.proestore-news-card:hover {
  transform: translateY(-6px);
  border-color: rgba(13, 94, 154, 0.28);
  box-shadow: 0 18px 44px rgba(13, 94, 154, 0.16);
}

.proestore-news-card:hover .proestore-news-card__image-element {
  transform: scale(1.045);
}

.proestore-news-card:hover .proestore-news-card__title a {
  color: var(--proestore-primary);
}

/* =========================================================
   SIVUTUS
   ========================================================= */

.proestore-news-pagination {
  margin-top: 60px;
}

.proestore-news-pagination .page-numbers {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.proestore-news-pagination .page-numbers li {
  margin: 0;
  padding: 0;
}

.proestore-news-pagination a.page-numbers,
.proestore-news-pagination span.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 10px 14px;
  background-color: #ffffff;
  border: 1px solid rgba(13, 94, 154, 0.16);
  border-radius: 50px;
  color: var(--proestore-primary);
  font-family: var(--proestore-font-body);
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  transition:
    background-color 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease;
}

.proestore-news-pagination a.page-numbers:hover,
.proestore-news-pagination a.page-numbers:focus,
.proestore-news-pagination span.page-numbers.current {
  background-color: var(--proestore-primary);
  border-color: var(--proestore-primary);
  color: #ffffff;
}

.proestore-news-empty {
  padding: 40px;
  background-color: #f7f9fb;
  border-left: 4px solid var(--proestore-primary);
}

.proestore-news-empty p {
  margin: 0;
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1024px) {

  .proestore-news-container {
    width: min(100% - 48px, 1200px);
  }

  .proestore-news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  .proestore-news-card__body {
    padding: 24px;
  }
}

/* =========================================================
   MOBIILI
   ========================================================= */

@media (max-width: 767px) {

  .proestore-news-container {
    width: calc(100% - 40px);
  }

  .proestore-news-intro {
    margin-bottom: 36px;
  }

  .proestore-news-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .proestore-news-card__image {
    height: 260px;
  }

  .proestore-news-card__body {
    padding: 22px;
  }

  .proestore-news-card__title {
    font-size: 22px;
  }

  .proestore-news-card:hover {
    transform: none;
  }

  .proestore-news-pagination {
    margin-top: 44px;
  }

  .proestore-news-pagination .page-numbers {
    gap: 6px;
  }

  .proestore-news-pagination .prev,
  .proestore-news-pagination .next {
    width: 100%;
  }
}
/* =========================================================
   6. PRO ESTORE / YKSITTÄINEN ARTIKKELI
   Template: single.php
   ========================================================= */

.proestore-single-main {
  width: 100%;
  margin: 0;
  padding: 0;
}

/* =========================================================
   ARTIKKELIN HERO
   ========================================================= */

.proestore-single-hero {
  width: 100%;
  margin: 0;
  padding: 0;
}

.proestore-single-featured-image {
  position: relative;
  width: 100%;
  height: 600px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-color: #f5f7fa;
}

.proestore-single-featured-image__image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  object-fit: cover;
  object-position: center;
}

/* Kevyt vaalea liukuväri otsikon kohdalle */
.proestore-single-featured-image__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.78) 0%,
      rgba(255, 255, 255, 0.28) 28%,
      rgba(255, 255, 255, 0) 58%
    );
  pointer-events: none;
}

/* Otsikko samalla 1200 px sisältölinjalla */
.proestore-single-hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  width: min(100% - 60px, 1200px);
  height: 100%;
  margin-right: auto;
  margin-left: auto;
  padding-bottom: 44px;
}

.proestore-single-hero__content {
  max-width: 1050px;
  padding-left: 22px;
  border-left: 4px solid var(--proestore-primary);
}

/* Päivämäärä */
.proestore-single-hero__date {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--proestore-primary);
  font-family: var(--proestore-font-body);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
}

.proestore-single-hero__date-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

/* Artikkelin otsikko */
.proestore-single-hero__title {
  max-width: 1000px;
  margin: 0;
  color: var(--proestore-primary);
  font-family: var(--proestore-font-heading);
  font-size: 40px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  text-shadow: none;
}

/* =========================================================
   ARTIKKELIN SISÄLTÖ
   ========================================================= */

.proestore-single-article {
  width: 100%;
  margin: 0;
  padding: 0;
}

.proestore-single-container {
  width: min(100% - 60px, 1200px);
  margin-right: auto;
  margin-left: auto;
  padding-top: 80px;
  padding-bottom: 100px;
}

/*
 * Varsinainen lukupalsta pidetään muuta sisältöaluetta
 * kapeampana, jotta pitkät tekstirivit ovat helppolukuisia.
 */
.proestore-single-content {
  width: 100%;
  max-width: 920px;
  margin-right: auto;
  margin-left: auto;
  color: var(--proestore-text);
  font-family: var(--proestore-font-body);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.75;
}

.proestore-single-content::after {
  display: table;
  clear: both;
  content: "";
}

/* Kappaleet */
.proestore-single-content p {
  margin-top: 0;
  margin-bottom: 1.5em;
  color: inherit;
  font: inherit;
}

/* Otsikot artikkelisisällössä */
.proestore-single-content h2,
.proestore-single-content h3,
.proestore-single-content h4,
.proestore-single-content h5,
.proestore-single-content h6 {
  color: var(--proestore-heading);
  font-family: var(--proestore-font-heading);
}

.proestore-single-content h2 {
  margin-top: 1.6em;
  margin-bottom: 0.7em;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
}

.proestore-single-content h3 {
  margin-top: 1.5em;
  margin-bottom: 0.65em;
  font-size: 29px;
  font-weight: 600;
  line-height: 1.25;
}

.proestore-single-content h4 {
  margin-top: 1.4em;
  margin-bottom: 0.6em;
  font-size: 23px;
  font-weight: 600;
  line-height: 1.3;
}

/* Linkit */
.proestore-single-content a {
  color: var(--proestore-primary);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.25s ease;
}

.proestore-single-content a:hover,
.proestore-single-content a:focus {
  color: var(--proestore-primary-dark);
}

/* Luettelot */
.proestore-single-content ul,
.proestore-single-content ol {
  margin-top: 0;
  margin-bottom: 1.5em;
  padding-left: 1.5em;
}

.proestore-single-content li {
  margin-bottom: 0.5em;
}

.proestore-single-content li::marker {
  color: var(--proestore-primary);
}

/* Artikkelisisällön kuvat */
.proestore-single-content figure {
  margin: 42px 0;
}

.proestore-single-content img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 20px;
}

.proestore-single-content figcaption {
  margin-top: 10px;
  color: var(--proestore-muted);
  font-size: 14px;
  line-height: 1.5;
}

/* Leveä kuva lukupalstan ulkopuolelle */
.proestore-single-content .alignwide {
  width: min(1200px, calc(100vw - 60px));
  max-width: none;
  margin-right: 50%;
  margin-left: 50%;
  transform: translateX(-50%);
}

/* =========================================================
   ARTIKKELI ILMAN ARTIKKELIKUVAA
   ========================================================= */

.proestore-single-header {
  max-width: 1050px;
  margin: 0 auto 54px;
  padding-left: 22px;
  border-left: 4px solid var(--proestore-primary);
}

.proestore-single-header__date {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--proestore-primary);
  font-family: var(--proestore-font-body);
  font-size: 15px;
  font-weight: 500;
}

.proestore-single-header__date-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.proestore-single-title {
  margin: 0;
  color: var(--proestore-primary);
  font-family: var(--proestore-font-heading);
  font-size: 40px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

/* =========================================================
   ARTIKKELIN ALAREUNA
   ========================================================= */

.proestore-single-footer {
  width: 100%;
  max-width: 920px;
  margin: 60px auto 0;
  padding-top: 30px;
  border-top: 1px solid var(--proestore-border);
}

.proestore-single-back {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--proestore-primary);
  font-family: var(--proestore-font-body);
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  transition:
    color 0.25s ease,
    gap 0.25s ease;
}

.proestore-single-back:hover,
.proestore-single-back:focus {
  gap: 13px;
  color: var(--proestore-primary-dark);
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1024px) {

  .proestore-single-featured-image {
    height: 500px;
  }

  .proestore-single-hero__inner {
    width: min(100% - 48px, 1200px);
    padding-bottom: 36px;
  }

  .proestore-single-hero__content,
  .proestore-single-header {
    padding-left: 20px;
    border-left-width: 4px;
  }

  .proestore-single-hero__title,
  .proestore-single-title {
    font-size: 36px;
  }

  .proestore-single-container {
    width: min(100% - 48px, 1200px);
    padding-top: 60px;
    padding-bottom: 80px;
  }

  .proestore-single-content {
    font-size: 17px;
  }
}

/* =========================================================
   MOBIILI
   ========================================================= */

@media (max-width: 767px) {

  .proestore-single-featured-image {
    height: 380px;
  }

  .proestore-single-featured-image__overlay {
    background:
      linear-gradient(
        0deg,
        rgba(255, 255, 255, 0.84) 0%,
        rgba(255, 255, 255, 0.30) 42%,
        rgba(255, 255, 255, 0) 72%
      );
  }

  .proestore-single-hero__inner {
    width: calc(100% - 40px);
    padding-bottom: 24px;
  }

  .proestore-single-hero__content,
  .proestore-single-header {
    padding-left: 16px;
    border-left-width: 3px;
  }

  .proestore-single-hero__title,
  .proestore-single-title {
    font-size: 30px;
    line-height: 1.2;
  }

  .proestore-single-hero__date,
  .proestore-single-header__date {
    margin-bottom: 9px;
    font-size: 14px;
  }

  .proestore-single-container {
    width: calc(100% - 40px);
    padding-top: 45px;
    padding-bottom: 60px;
  }

  .proestore-single-content {
    font-size: 16px;
    line-height: 1.7;
  }

  .proestore-single-content h2 {
    font-size: 30px;
  }

  .proestore-single-content h3 {
    font-size: 25px;
  }

  .proestore-single-content h4 {
    font-size: 21px;
  }

  .proestore-single-content figure {
    margin: 32px 0;
  }

  .proestore-single-content .alignwide {
    width: calc(100vw - 40px);
  }

  .proestore-single-header {
    margin-bottom: 40px;
  }

  .proestore-single-footer {
    margin-top: 44px;
  }
}
/* =========================================================
   PRO ESTORE / SOSIAALISEN MEDIAN KUVAKKEET
   Widget: elementor-element-4a56ba49
   Kuvakkeet aina valkoisina, hoverissa vain pieni zoom
   ========================================================= */

.elementor-element-4a56ba49
.ekit_social_media
li
a {
  color: #ffffff !important;
  fill: #ffffff !important;
  transition:
    transform 0.25s ease,
    opacity 0.25s ease !important;
}

.elementor-element-4a56ba49
.ekit_social_media
li
a svg,
.elementor-element-4a56ba49
.ekit_social_media
li
a svg path {
  color: #ffffff !important;
  fill: #ffffff !important;
  stroke: #ffffff !important;
}

/* Hoverissa väri ei muutu */
.elementor-element-4a56ba49
.ekit_social_media
li
a:hover,
.elementor-element-4a56ba49
.ekit_social_media
li
a:focus {
  color: #ffffff !important;
  fill: #ffffff !important;
  transform: scale(1.08);
}

.elementor-element-4a56ba49
.ekit_social_media
li
a:hover svg,
.elementor-element-4a56ba49
.ekit_social_media
li
a:hover svg path,
.elementor-element-4a56ba49
.ekit_social_media
li
a:focus svg,
.elementor-element-4a56ba49
.ekit_social_media
li
a:focus svg path {
  color: #ffffff !important;
  fill: #ffffff !important;
  stroke: #ffffff !important;
}

/* Näppäimistökohdistus ilman värin vaihtumista */
.elementor-element-4a56ba49
.ekit_social_media
li
a:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.55) !important;
  outline-offset: 4px !important;
}
/* =========================================================
   PRO ESTORE / SUOMEN- JA ENGLANNINKIELISEN PÄÄVALIKON FONTIT
   ========================================================= */

#menu-ylavalikko > li > a.ekit-menu-nav-link,
#menu-paavalikko_en > li > a.ekit-menu-nav-link {
	font-size: 16px !important;
}
/* =========================================================
   PRO ESTORE / 404-SIVU
   ========================================================= */

.proestore-404-main {
	overflow: hidden;
}

.proestore-404 {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 680px;
	padding: 100px 30px;
	background:
		linear-gradient(
			135deg,
			rgba(13, 94, 154, 0.08) 0%,
			rgba(255, 255, 255, 0) 55%
		),
		#ffffff;
	isolation: isolate;
}

.proestore-404__container {
	position: relative;
	z-index: 2;
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
}

.proestore-404__content {
	width: 100%;
	max-width: 760px;
	margin: 0 auto;
	text-align: center;
}

.proestore-404__eyebrow {
	margin: 0 0 18px;
	color: #0d5e9a;
	font-family: "Inter", Arial, Helvetica, sans-serif;
	font-size: 17px;
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.proestore-404__title {
	margin: 0 0 24px;
	color: #084e82;
	font-family: "Manrope", Arial, Helvetica, sans-serif;
	font-size: 40px;
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -0.025em;
}

.proestore-404__description {
	max-width: 680px;
	margin: 0 auto 34px;
	color: #2a2a2a;
	font-family: "Inter", Arial, Helvetica, sans-serif;
	font-size: 18px;
	font-weight: 400;
	line-height: 1.7;
}

.proestore-404__description p {
	margin: 0 0 8px;
}

.proestore-404__description p:last-child {
	margin-bottom: 0;
}

.proestore-404__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 16px;
	margin-bottom: 52px;
}

.proestore-404__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	min-height: 52px;
	padding: 15px 30px;
	border: 2px solid #0d5e9a;
	border-radius: 50px;
	background-color: #0d5e9a;
	color: #ffffff;
	font-family: "Inter", Arial, Helvetica, sans-serif;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.2;
	text-decoration: none;
	transition:
		background-color 0.25s ease,
		border-color 0.25s ease,
		transform 0.25s ease;
}

.proestore-404__button:hover,
.proestore-404__button:focus-visible {
	border-color: #084e82;
	background-color: #084e82;
	color: #ffffff;
	transform: translateY(-2px);
}

.proestore-404__button:focus-visible {
	outline: 3px solid rgba(52, 121, 178, 0.35);
	outline-offset: 4px;
}

.proestore-404__button-icon {
	width: 20px;
	height: 20px;
	flex: 0 0 auto;
	transition: transform 0.25s ease;
}

.proestore-404__button:hover .proestore-404__button-icon,
.proestore-404__button:focus-visible .proestore-404__button-icon {
	transform: translateX(4px);
}

.proestore-404__search {
	max-width: 620px;
	margin: 0 auto;
	padding-top: 32px;
	border-top: 1px solid rgba(13, 94, 154, 0.18);
}

.proestore-404__search-title {
	margin: 0 0 18px;
	color: #084e82;
	font-family: "Manrope", Arial, Helvetica, sans-serif;
	font-size: 24px;
	font-weight: 600;
	line-height: 1.3;
}

.proestore-404__search-form {
	display: flex;
	align-items: stretch;
	justify-content: center;
	gap: 12px;
	width: 100%;
}

.proestore-404__search-field {
	width: 100%;
	min-width: 0;
	min-height: 52px;
	padding: 13px 20px;
	border: 1px solid rgba(13, 94, 154, 0.32);
	border-radius: 50px;
	background-color: #ffffff;
	color: #2a2a2a;
	font-family: "Inter", Arial, Helvetica, sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.4;
	transition:
		border-color 0.25s ease,
		box-shadow 0.25s ease;
}

.proestore-404__search-field::placeholder {
	color: #6c7882;
	opacity: 1;
}

.proestore-404__search-field:focus {
	border-color: #0d5e9a;
	outline: none;
	box-shadow: 0 0 0 3px rgba(13, 94, 154, 0.14);
}

.proestore-404__search-button {
	flex: 0 0 auto;
	min-height: 52px;
	padding: 15px 30px;
	border: 2px solid #0d5e9a;
	border-radius: 50px;
	background-color: #0d5e9a;
	color: #ffffff;
	font-family: "Inter", Arial, Helvetica, sans-serif;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.2;
	cursor: pointer;
	transition:
		background-color 0.25s ease,
		border-color 0.25s ease,
		transform 0.25s ease;
}

.proestore-404__search-button:hover,
.proestore-404__search-button:focus-visible {
	border-color: #084e82;
	background-color: #084e82;
	color: #ffffff;
	transform: translateY(-2px);
}

.proestore-404__search-button:focus-visible {
	outline: 3px solid rgba(52, 121, 178, 0.35);
	outline-offset: 4px;
}

.proestore-404__background {
	position: absolute;
	z-index: 1;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	pointer-events: none;
	user-select: none;
}

.proestore-404__number {
	display: block;
	color: rgba(13, 94, 154, 0.045);
	font-family: "Manrope", Arial, Helvetica, sans-serif;
	font-size: clamp(240px, 31vw, 520px);
	font-weight: 800;
	line-height: 0.8;
	letter-spacing: -0.08em;
	white-space: nowrap;
}

/* =========================================================
   PRO ESTORE / 404-SIVU / TABLET
   ========================================================= */

@media (max-width: 1024px) {

	.proestore-404 {
		min-height: 620px;
		padding: 90px 30px;
	}

	.proestore-404__content {
		max-width: 680px;
	}

	.proestore-404__title {
		font-size: 40px;
	}

	.proestore-404__number {
		font-size: clamp(220px, 42vw, 420px);
	}

}

/* =========================================================
   PRO ESTORE / 404-SIVU / MOBIILI
   ========================================================= */

@media (max-width: 767px) {

	.proestore-404 {
		align-items: flex-start;
		min-height: 0;
		padding: 70px 20px;
	}

	.proestore-404__content {
		margin: 0 auto;
		text-align: center;
	}

	.proestore-404__eyebrow {
		margin-bottom: 14px;
		font-size: 15px;
	}

	.proestore-404__title {
		margin-bottom: 20px;
		font-size: 40px;
		line-height: 1.12;
	}

	.proestore-404__description {
		margin-bottom: 28px;
		font-size: 17px;
		line-height: 1.65;
	}

	.proestore-404__actions {
		margin-bottom: 42px;
	}

	.proestore-404__button {
		width: 100%;
	}

	.proestore-404__search {
		padding-top: 28px;
	}

	.proestore-404__search-title {
		font-size: 22px;
	}

	.proestore-404__search-form {
		flex-direction: column;
	}

	.proestore-404__search-button {
		width: 100%;
	}

	.proestore-404__background {
		top: 120px;
		left: 50%;
		transform: translateX(-50%);
	}

	.proestore-404__number {
		font-size: 180px;
	}

}
/* =========================================================
   PRO ESTORE / HEADERIN JA MOBIILIVALIKON KERROSTUSKORJAUS

   Korjaa tilanteen, jossa hamburger näkyy mutta sivupaneeli
   ei avaudu tai jää tavallisen sivun sisällön alle.
   ========================================================= */

/* Header aina sivun varsinaisen sisällön yläpuolelle */
.elementor-location-header,
header.elementor-location-header,
.elementor-location-header > .elementor-element,
.elementor-location-header .e-con,
.elementor-location-header .elementor-container {
	position: relative;
	z-index: 100000 !important;
}

/* Sivun sisältö pidetään headeria alemmassa kerroksessa */
.proestore-page-main,
.proestore-page-hero,
.proestore-page-featured-image,
.proestore-page-article,
.proestore-page-container,
.proestore-single-main,
.proestore-single-hero,
.proestore-single-featured-image,
.proestore-single-article {
	position: relative;
	z-index: 1;
}

/* Kuvan ja liukuvärin ei pidä ottaa vastaan klikkauksia */
.proestore-page-featured-image__image,
.proestore-page-featured-image__overlay,
.proestore-single-featured-image__image,
.proestore-single-featured-image__overlay {
	pointer-events: none !important;
}

@media (max-width: 1024px) {

	/* Valikkowidget nostetaan muiden header-elementtien päälle */
	.elementor-element-7572bd12,
	.elementor-element-7572bd12 > .elementor-widget-container,
	.elementor-element-7572bd12 .ekit-wid-con {
		position: relative !important;
		z-index: 100001 !important;
	}

	/* Hamburgerin on varmasti vastaanotettava klikkaukset */
	.elementor-element-7572bd12
	.elementskit-menu-hamburger {
		position: relative !important;
		z-index: 100002 !important;
		pointer-events: auto !important;
	}

	/* Sivupaneeli */
	.elementor-element-7572bd12
	.elementskit-menu-container {
		z-index: 1000002 !important;
		pointer-events: auto !important;
	}

	/* Tumma tausta valikon alla */
	.elementor-element-7572bd12
	.elementskit-menu-overlay {
		z-index: 1000001 !important;
		pointer-events: none !important;
	}

	/* Overlay vastaanottaa klikkauksen vain avoimena */
	.elementor-element-7572bd12
	.elementskit-menu-overlay.active,
	.elementor-element-7572bd12
	.elementskit-menu-overlay.elementskit-menu-overlay-active,
	.elementor-element-7572bd12
	.elementskit-menu-overlay.show {
		pointer-events: auto !important;
	}
}